andsmedeiros
Re:Ruby Core Takes Ownership of Rubygems and Bundler
on Friday October 17, 2025 @08:58AM (#45616241)
So Ruby Central will still be running rubygems.org?
Re:Ask HN: What are you working on? (April 2025)
on Wednesday April 30, 2025 @08:17AM (#43844146)
I am implementing a baremetal USB device stack in an embedded application and an having a really, really hard time.
The device in question is a decoder for sportive chronometry and uses lots of DSP for detecting and measuring when vehicles pass through the finish line.
Re:Tell HN: Burnout is bad to your brain, take care
on Friday September 06, 2024 @06:22PM (#41470142)
Depression is killing me. I'm losing this war.
Re:Tracking Illicit Brazilian Beef from the Amazon to Your Burger
on Thursday May 09, 2024 @08:01AM (#40307290)
There is no green meat. There is no ethical meat. There is no acceptable meat.
While we discuss this, Rio Grande do Sul, Brasil's southernmost state, has had more than 80% of its territory flooded; whole cities are completely destroyed. It is one of the most significant animal producer states in Brasil.
Re:Programming Is Mostly Thinking
on Sunday April 21, 2024 @11:01AM (#40106281)
I don't think the quote suggests that a programmer would mentally design a whole system before writing any code. As programmers, we are used to thinking in problems as steps needing resolution and that's exactly the 90% there.
When you're quickly prototyping to see what fits better as a solution to the problem you're facing, you must have already thought what are the requirements, what are the constraints, what would be a reasonable API given your use case. Poking around until you find a reasonable path forward means you have already defined which way is forwards.
Re:Reverse-engineering an encrypted IoT protocol
on Wednesday February 14, 2024 @01:52PM (#39373605)
This was very informative, thanks!
Re:Relativistic Spaceship
on Monday February 05, 2024 @04:00PM (#39267101)
Sweet
Re:There has never been a better time to game on Linux
on Friday January 12, 2024 @06:31PM (#38975620)
I have been playing exclusively on Linux for about 2 years and haven't thought of going back to MS yet
Re:There has never been a better time to game on Linux
on Friday January 12, 2024 @06:27PM (#38975585)
The downside of targeted ads, besides the targeted thing, is the ads thing.
Re:Wine 9.0 RC5 – Run Windows Applications on Linux, BSD, Solaris and ...
on Friday January 12, 2024 @06:15PM (#38975470)
I've used many times for small programs and such, even though I don't use any wine program on a regular basis.
However, I do play games on Proton all the time and everything mostly just works.
Re:Please ignore the deluge of complete nonsense about Q*
on Saturday November 25, 2023 @10:49AM (#38414225)
I was quite ready to hear some Qt rant
Re:The Big TDD Misunderstanding
on Sunday November 19, 2023 @08:20AM (#38332396)
TDD can be valuable but sometimes hindering. I find myself often with an incomplete idea of what I want and, thus, no clear API to start testing. Writing a quick prototype -- sometimes on godbolt or replit -- and then writing tests and production code will actually yield me a better productivity.
I usually test all of the public API of something and only it. Exported functions, classes, constants and whatever should be tested and properly documented. If writing tests for the public surface is not enough, most likely the underlying code is poorly written, probably lacking proper abstractions to expose the adequate state associated with a determined behaviour (e.g.: a class that does too much).
In the programming realm specifically, following a trend can be foolish and, at the same time, as a bigger community usually means better support, documentation and maintenance, clever. It is bad, but if it was better, it could be worse.
Life can be very paradoxal at times.
Re:A Dutch graphic artist reconstructed Tenochtitlan in 3D
on Sunday October 22, 2023 @09:21AM (#37975125)
It must have been such a beautiful city...
Re:C++ Papercuts
on Monday August 28, 2023 @09:37AM (#37293751)
I just don't use out parameters and avoid bare references altogether, const lvalue and rvalue references express idiomatically whether a parameter is to be copied or moved. Structured binding makes it trivial to consume returned tuples, so I don't find this a big issue.
Re:I Don't Use Exceptions in C++ Anymore
on Saturday August 19, 2023 @01:39PM (#37191148)
C++ is just too big nowadays to be fully useful, or even applicable to every environment. Specifically on exceptions, I wish there was a GCC flag to disable exceptions in the sense that any `throw` calls `std::terminate` and catch blocks are completely ignored.