News for hackers. Stuff that matters.

aaws11

Re:The Worst Programmer I Know (2023) on Sunday March 23, 2025 @01:52PM (#43454523)
is there a threadreader equivalent for mastodon?
I manually compiled the tweets for readability:

https://pastebin.com/raw/dTGJS3Se

is there a threadreader equivalent for mastodon?

Re:The dark forest and the cozy web on Tuesday April 25, 2023 @02:05PM (#35704325)
The cozy web relies on "(human) protocol of everybody cutting-and-pasting bits of text, images, URLs, and screenshots across live streams", hopefully one day changing "from cut-and-paste to a personal blockchain of context-permissioned, addressable, searchable, interlinked clips"
Re:My Thoughts on OCaml on Tuesday April 25, 2023 @02:03PM (#35704302)
Almost all modern statically typed languages have closures, higher-order functions/methods, lazy streams, and combinators that run efficiently. Persistent/immutable data structures can be implemented even in C.

Also, OCaml has no tracking of side-effects (like in Haskell), and the language and the standard library have lots of features and functions with mutation, such as the array update syntax, mutable record fields, Hashtbl, and the regex module.

The only thing that makes OCaml more “functional” than e.g. Dart, Java, or Rust is that it supports tail calls. While having tail calls is important for functional programming, I would happily give up on tail calls if that means not having the problems listed above.

When you mix imperative and functional styles tail calls become less important. For example, I don’t have to implement a stream map function in Dart with a tail call to map the rest of the stream, I can just use a while or for loop.

In my opinion there is no reason to use OCaml in a new project in 2023.

Re:Custom Game Engines: A Small Study on Tuesday April 25, 2023 @02:01PM (#35704276)
Creating a custom engine is a big endeavour and not many are ready for that. I recognize Unity (and Unreal to less extent) have really democratized video game development. Lots of small-medium size companies can use Unity today to develop games quickly, and sometimes, with very low budgets! But, still, lots of big companies prefer to rely on their own custom technologies.
Re:Custom Game Engines: A Small Study on Tuesday April 25, 2023 @01:59PM (#35704242)
I feel that people today overestimate how difficult it is to create a game engine, or maybe they underestimate the other aspects of game development.

For clarity, I mean here a basic engine (for example, a custom engine for a 2D game), not a photorealistic and generic 3D game engine like Unity (that definitely is very difficult and probably not worth reinventing the wheel without a good reason).

Re:A look at Lucid’s next luxury EV, the Gravity SUV on Tuesday April 25, 2023 @01:57PM (#35704212)
I am glad to see the Gravity SUV moving forward so quickly in its development, as it builds upon everything this organization has achieved so far and moves forward the advancements of their in-house tech to make a luxury electric SUV like no one else.
Twitter has the advantage of huge entrenchment of many communities for a lot of use cases, and a lack of good competitors. I do not believe that a decentralized alternative is likely to take their place.
Re:Microsoft Edge is leaking the sites you visit to Bing on Tuesday April 25, 2023 @01:52PM (#35704142)
It’s probably a good idea to disable Edge’s follow creator feature until this privacy issue is fixed.
Re:Discord, or the Death of Lore on Tuesday March 07, 2023 @06:44AM (#35054257)
for whoever unable to access the article directly:

https://web.archive.org/web/20230306164958/http://ascii.text...

Re:Old Reddit Is Down on Tuesday February 21, 2023 @01:57PM (#34885274)
Seems like old.reddit.com is experiencing problems. Shows message:

> Our CDN was unable to reach our servers > Please check www.redditstatus.com if you consistently get this error.

However, according to the status page everything should be operational.

Re:How to make YouTube less distracting on Thursday February 02, 2023 @07:45AM (#34625768)
and someone stole the opportunity from you. BAM!
Re:How to make YouTube less distracting on Thursday February 02, 2023 @07:43AM (#34625758)
here's something I use (more simpler than installing those numerous extensions and bloating your browser) for making youtube less distracting and more productive: less addictive youtube: https://github.com/AlexisDrain/Less-Addictive-YouTube

and follow the uBlock origin instructions mentioned in this blog post: https://pawelurbanek.com/youtube-addiction-selfcontrol

Re:Take More Screenshots on Sunday January 29, 2023 @02:49AM (#34565859)
previous discussion:

sept 2022 https://news.ycombinator.com/item?id=32215277

do we have a threadreader for mastodon?
Re:Cruise the net faster with 2 wheels on Wednesday January 25, 2023 @07:49AM (#34517620)
that's a crazy thread right there
Re:Tail Call Optimization: The Musical on Sunday January 08, 2023 @07:22AM (#34298495)
previous discussion:

march 2021 https://news.ycombinator.com/item?id=26470532

Re:Ask HN: Did dang get hacked? on Saturday January 07, 2023 @03:49AM (#34286358)
then the question arises. are you a betting man?
Re:Ask HN: Did dang get hacked? on Saturday January 07, 2023 @03:48AM (#34286351)
maybe he's trying to code some kinda automation and running it on prod and the code is misbehaving.

Hope all is ok.

Older »