News for hackers. Stuff that matters.

wchar_t

Re:Zig's new plan for asynchronous programs on Tuesday December 02, 2025 @09:06PM (#46129474)
There was this beautiful little time period where async/await was basically just that: resumable functions. I abused it to implement generators.
Do you happen to still have a link to this software?
Re:Collections: Why Archers Didn't Volley Fire on Sunday May 04, 2025 @09:43PM (#43891243)
Not plate, unless at very close range and at a very favorable angle. Mail, sure.
Re:E-ink is so Retropunk on Saturday August 26, 2023 @01:32PM (#37274925)
A traditional roguelike, in the line of TGGW/Cogmind/Nethack/Brogue/DCSS, would probably be nice. Not really a "slow strategy game", granted, but the fact that animations/colors aren't necessary makes it a good fit IMO
Re:E-ink is so Retropunk on Saturday August 26, 2023 @01:30PM (#37274912)
A FORTH gui would be an interesting project as well
Re:Zig Quirks on Monday March 27, 2023 @08:32AM (#35325837)
Nope, since Self is a declaration and not a field it won't take up memory.
Re:How to Make a Roguelike on Monday October 24, 2022 @06:53PM (#33323714)
The original article is here: https://www.gridsagegames.com/blog/2018/10/how-to-make-a-rog...

The author is the creator of the popular commercial roguelike, Cogmind.

Re:Lobsters on Sunday October 09, 2022 @01:04PM (#33143023)
I don't think this is the place to air out all the dirty laundry from the past two years, so I'll just say this: since the time I've joined the site (three years ago), I haven't seen a single ban that wasn't warranted, be it due to a single incident of flouting the site rules or a pattern of behavior.

It is true that the moderators are fairly strict regarding behavior that wouldn't be punished here (such as abusing flags to down vote), but I don't see that as a necessarily bad thing.

Regarding the thread you linked, I'll agree it was the admin's fault for writing the passive-aggressive banner that led to that (well-respected) user leaving.

Shelob is not a primordial being. She is one of the children of Ungoliant, who is herself a fallen Ainur.
Barrow-wights are Bombadil's servants? Ridiculous. Tolkien made it clear that they were the spawn of the Witch King, sent out to ensure that no men could settle in that particular area. This is reinforced by the fact that Bombadil himself destroys one of the wights while rescuing the hobbits.
Re:A mysterious cult that predates Stonehenge on Sunday July 10, 2022 @08:58PM (#32050984)
Imagine all the adult toys that would be dug up. Fertility cult or something.
Re:Notepad++ v8.4.3: Unhappy Users' Edition on Friday July 08, 2022 @08:33AM (#32026412)
I’m beginning to wonder whether the entire article and response was sarcasm
Re:Ask HN: Favourite open source game? on Thursday June 02, 2022 @08:44AM (#31594089)
Since we're talking about roguelikes, Brogue[0] is awesome as well.

[0]: https://github.com/tmewett/BrogueCE

Re:Unix command line conventions over time on Saturday May 07, 2022 @08:09AM (#31293887)
Indeed, I passionately hate programs where the order of the options and files/arguments matter just as much as the options themselves.
Re:Bits of advice I wish I had known on Thursday April 28, 2022 @09:49PM (#31200461)
I like to use forlater.email[0] for this.

[0]: https://forlater.email/

Re:Thoughts on Hare on Wednesday April 27, 2022 @03:43PM (#31184815)
(Author here.) Fair enough, I should have done my research on that. I had barely touched Myrddin, was just beginning to look into Zig, and hadn't heard of (or felt the need for) that feature in Rust at the time I wrote that post.
Re:Thoughts on Hare on Wednesday April 27, 2022 @03:42PM (#31184803)
It was public but unlisted, so you won't find it from the frontpage. (i.e., the same level of secrecy Hare's website had before the release.)
Re:Thoughts on Hare on Wednesday April 27, 2022 @03:39PM (#31184763)
(Author here.) Yeah fair enough, it's not really a complaint worth making. I was more just listing things I noticed in general than faulting Hare for it.
Re:The Hare programming language on Monday April 25, 2022 @09:30AM (#31154334)
Yes, it is indeed outdated, however some of the criticism/praise is still relevant. I'll see if I can take a second look at the language in the coming days.
Re:The Hare programming language on Monday April 25, 2022 @09:30AM (#31154322)
Author here.

Fair enough! Since writing that I've done a lot of Zig code, which has labeled loops, and I can say it's definitely made a lot of code clearer than it would be otherwise.

Older »