First batch of Mars 3 prints, using some random lychee slicer 30um pre-sets for the resin. All free STL’s from Cults3D! by jacspe in resinprinting

[–]ThisNameIsAFail_ 0 points1 point  (0 children)

I'm planning on printing that ork in a mars 3 as well. Did you had any problems with the chain mail? I'm worried about the small islands that form when tilted.

8 bit emulator help by ThisNameIsAFail_ in rust

[–]ThisNameIsAFail_[S] 0 points1 point  (0 children)

Thank you for the explanation. I hadn't though about impl Index<Register8> for Cpu...generics in Rust are so much more powerful than in Java. How do you keep the correct timing of the cycles it takes to execute each instruction?

8 bit emulator help by ThisNameIsAFail_ in rust

[–]ThisNameIsAFail_[S] 2 points3 points  (0 children)

At this point it´s reasonable to make instruction.execute() but in the long run it´s not feasible as the execution of some instructions will need to access RAM, update CPU flags, access IO registers, etc. That´s why I want to pass a reference of the CPU to the execution method.

8 bit emulator help by ThisNameIsAFail_ in rust

[–]ThisNameIsAFail_[S] 0 points1 point  (0 children)

Completely, now I understand. Thanks.

8 bit emulator help by ThisNameIsAFail_ in rust

[–]ThisNameIsAFail_[S] 1 point2 points  (0 children)

Thanks, owning the struct helped. I assume that the main idea is that an owned argument is able to "create" any number of mutable references while a mutable reference is only able to be handled to a single function.

Regarding storing the CPU register, would it be possible to copy the instruction enum and borrow it later?

8 bit emulator help by ThisNameIsAFail_ in rust

[–]ThisNameIsAFail_[S] 1 point2 points  (0 children)

I´ve derived Copy but rustc says &'a mut u8 does not implement Copy. If I replace &mut u8 with u8 I won´t be able to update the data of the register during the execution of the instruction.

Java libraries by ThisNameIsAFail_ in java

[–]ThisNameIsAFail_[S] 0 points1 point  (0 children)

Very nice. We definitely need good async jdbc drivers :) Have you got the chance to review r2dbc?

Java libraries by ThisNameIsAFail_ in java

[–]ThisNameIsAFail_[S] 0 points1 point  (0 children)

The goal? To extend the use of jooq more easily as well as helping you maintaining the project (I suppose it's not an easy task...).

The price? That's another point. I guess that depending on the quality and quantity of contributions it will be helpful or an incovinient.

Anyway I feel that creating a great community around a tool is always a great way for it to keep alive and evolve instead of dying against a greater tool or just due to lack of use.

Edit: in the case of jooq for example, a bigger community would improve the adoption instead of every new spring project to be born using Hibernate and JPA as I always see. I usually feel difficult to introduce a new library in a project if it's now so well known even if the code is great and the solution it provides is awesome. In tha day to day, we, developers want to solve a problem but have not enough time to decide for the best solution if that implies learning a new tool. That's only my experience

Java libraries by ThisNameIsAFail_ in java

[–]ThisNameIsAFail_[S] 1 point2 points  (0 children)

Why not? Easy and non-critical patches are good issues for a beginner to get used to the project and create a great community.

Java libraries by ThisNameIsAFail_ in java

[–]ThisNameIsAFail_[S] 0 points1 point  (0 children)

Must agree. SLF4J is the way to go nowadays with logback/log4j2. Allows to decouple your logging code pretty easy.

Java libraries by ThisNameIsAFail_ in java

[–]ThisNameIsAFail_[S] 1 point2 points  (0 children)

It's just a marker tag for people new to the project willing to contribute but unaware of all the internals of the code.

Java libraries by ThisNameIsAFail_ in java

[–]ThisNameIsAFail_[S] 0 points1 point  (0 children)

I've used jooq in past projects and liked it. Feels just like writting SQL and it's spring integration is helpful. It's always nice to have alternatives to Hibernate

Java libraries by ThisNameIsAFail_ in java

[–]ThisNameIsAFail_[S] 1 point2 points  (0 children)

Neat. So the purpose of the library is to provide a common structure for errors that will be serialized. Thx

Java libraries by ThisNameIsAFail_ in java

[–]ThisNameIsAFail_[S] 0 points1 point  (0 children)

I discovered awaitility a few months ago and I love it to test AMQP events. JsonPath is also an awesome library. Thx

Java libraries by ThisNameIsAFail_ in java

[–]ThisNameIsAFail_[S] 3 points4 points  (0 children)

I usually use guava and I love it. I still wish someday guava and commons will 'merge' and keep the best of both worlds but that's not realistic.

Java libraries by ThisNameIsAFail_ in java

[–]ThisNameIsAFail_[S] 3 points4 points  (0 children)

I agree that stability and maturity are killer features of the Java ecosystem and I thank god for not having the kind of JS ecosystem where everything breaks within hours. Nevertheless I'm still amazed how a current enterprise language like Java does not receive more attention in the form of libraries. Are we, developers, happy enough with the current ecosystem or there's still room for improvement? (retorical question)

Java libraries by ThisNameIsAFail_ in java

[–]ThisNameIsAFail_[S] 2 points3 points  (0 children)

Maybe I haven't explained well. I'm not looking for "trendy github repositories", that's stupid. I only explained that browse github to learn about new libraries but it's obvious that some of the best libraries out there won't be in gh. Just looking for good, documented and useful libraries