News for hackers. Stuff that matters.

occupy_paul_st

Re:The historical accuracy of medieval city-builder video games on Wednesday August 04, 2021 @02:27PM (#28064459)
Since a common critique of city sims is that they are not organic enough, it's exciting to see this case where the mechanics are TOO organic!
Clicked on this thinking it was some kind of crazy decentralized crypto algorithm... yeesh, I gotta spend less time on the blockchain!!
Re:An Update on the UMN Affair on Thursday April 29, 2021 @02:17PM (#26984497)
> Of the remaining four, one of them was an attempt to insert a bug that was, itself, buggy, so the patch was actually valid

Absolutely legendary

> They worked with 11 patients, all of who had obesity and type 2 diabetes and take an oral drug that helps control glucose levels, called metformin.

This is such a tiny and specific sample compared to the unqualified claim they make in the title. Unfortunately, this level of rigor seems to be par for the course in the world of nutrition.

Re:From First Principles: Why Scala? on Thursday February 11, 2021 @10:13AM (#26102255)
I actually haven't seen a language that can do everything that Scala can do, so in a lot of senses I agree with you!

The alternative is to use multiple different languages to fill different niches. In theory this sounds suboptimal but I think it might actually be easier to learn multiple simpler languages than it is to learn Scala.

BTW according to PYPL: Swift, Kotlin, TypeScript, and Rust are now more popular than Scala.

https://pypl.github.io/PYPL.html

Re:From First Principles: Why Scala? on Thursday February 11, 2021 @09:39AM (#26101891)
I definitely agree that many newer languages are strongly inspired by Scala, but I don't see a strong argument for why to choose Scala over one of a newer hybrid language. My own intuition is that these newer languages have had the benefit of being able to learn from Scala's mistakes. A lot of them have intentionally sacrificed some of the Scala's flexibility to be easier to learn and use.

I found Scala to be an extremely enlightening language: it taught me a lot about functional programming. But, the complex type system and the sacrifices needed to ensure Java compatibility entail many quirks that I find frustrating. I think it's actually a similar dynamic to what you mention: "retro-fitting these features onto an existing language never fits quite as nicely as a language that was designed with them from scratch."

BTW, I am a huge fan of your writing: the Principle of Least Power is a sacred programming text to me .

Re:OpenStreetMap PBF Perfomance Tricks on Tuesday August 06, 2019 @01:11PM (#20627225)
Yeah, fair. I'm only working with Boston-area data so I can pretty easily load a Massachusetts OSM file from memory. However, memory would definitely be an issue for processing the entire world.
Re:Show HN: The world's first decentralized cat name database on Wednesday February 24, 2016 @03:45PM (#11170104)
I might be misunderstanding your question, but the code that's part of the tutorial should run a webcoin node; does that make sense?