Live data from Hacker News

Show HN: Redbean – Single-file distributable web server

justine.lol

241–250 of 264 posts

Re: Show HN: Redbean – Single-file distributable web server

#241
post #180

Earlier quoted context omitted.

Isn't it a legitimate question? We have special protection for under represented groups. So when the dominant group starts taking the identity of underrepresented groups and coopting their protections, they are no longer protected. The two things are at odds with each other.

I'll engage. I think your comments are clearly bigoted, and I'll tell you why. What you do with that is up to you. > Hmm, somehow I knew Justine is a 'transwoman' by this feat. Lucky guess I suppose... You use scare quotes around "transwoman". Why is that? Is that a concept you believe is not real somehow? You are guessing that something technically impressive was achieved by a trans woman. Why is that? Are women not…

It's empirically the case that men are much more technically inclined than women these days. I think that is due to a combination of reasons, not some sort of inherent inferiority of females. Not do I think people who undergo modification of their genitalia should be singled out for condemnation. You are reading into what I wrote. I am pointing a basic dilemma resulting from the fact that men who undergo genetalia surgery do not suddenly lose the attributes that these days allow males to excel over females in certain domains. In which case there is still a power imbalance, and those on whom the benefit lies now can circumvent the protections erected for those needing special attention. Seems like a clear problem to me. The irony is the noble inclinations that motivate special attention for females may make people blind to when the allowances are being exploited by males.

Re: Show HN: Redbean – Single-file distributable web server

#242
post #236

I keep getting segfaults in running the executable, only after zip ... I know this is x86_64, and have an am64 system. Does this only run on intel and arm architectures? Does this use the same exploit in memory that spectre used for intel processors?

I'm unaware of an architecture named am64, so I assume you mean amd64, in which case that _is_ x86_64. Same ISA, different name.

Re: Show HN: Redbean – Single-file distributable web server

#243
post #13

I really like your view of the world, that programs should be portable, tiny, and just work. The slamming of so much functionality into a zip file is inspiring. Would it be possible to do something similar with Free Pascal, allowing the recreation of something like Turbo Pascal, except really, really portable .com output?

Author here. Absolutely. I used to love Turbo Pascal and Delphi when I was younger. If Free Pascal uses GNU LD.BFD or LLVM LLD when it links programs, then all you'd need to do is is configure it to use cosmopolitan.a when linking system call functions like read(), write(), etc. See https://github.com/jart/cosmopolitan Another option is if Free Pascal wants to write all the system call support from scratch, then doin…

Hey, question... Is an LD_PRELOAD version of cosmopolitan possible?

Re: Show HN: Redbean – Single-file distributable web server

#244

Earlier quoted context omitted.

Can someone explain this to me like I'm a 31 year old?

I've been programming since before you were born... and this is the most impressive hacking feat I've ever seen. A single executable, that doubles as a valid ZIP file, that you can put a complete website into, also doubles as a valid executable on Windows, Mac, Linux. The build infrastructure is a complete reworking of C to make it far more portable than even K&R thought possible. I probably wouldn't have believed it…

Multi OS/arch executables exists for decades. They were called fat-binaries[0]. Old trick is new again.

[0]: https://en.wikipedia.org/wiki/Fat_binary

https://en.wikipedia.org/wiki/Universal_binary

Re: Show HN: Redbean – Single-file distributable web server

#245
post #200
post #27

Earlier quoted context omitted.

Since I can't upvote your Show HN twice, I'll upvote this comment. I learned something interesting tonight from your websites. Thanks! chibicc is a really fun idea! If I was in college, I would take a compiler course from you. Taken from your README: "chibicc is developed as the reference implementation for a book I'm currently writing about the C compiler and the low-level programming. The book covers the vast topic…

chibicc is actually written by Rui Ueyama. Github: https://github.com/rui314/chibicc Previous HN: https://news.ycombinator.com/item?id=24676851

I see. My mistake. So jart is trying to turn it into a APE? I learn something new with every comment.

So I would edit my comment to say: I'd love to take a compiler course from Rui, and a systems course from jart.

Re: Show HN: Redbean – Single-file distributable web server

#247
post #27
post #13

Earlier quoted context omitted.

Author here. Absolutely. I used to love Turbo Pascal and Delphi when I was younger. If Free Pascal uses GNU LD.BFD or LLVM LLD when it links programs, then all you'd need to do is is configure it to use cosmopolitan.a when linking system call functions like read(), write(), etc. See https://github.com/jart/cosmopolitan Another option is if Free Pascal wants to write all the system call support from scratch, then doin…

Since I can't upvote your Show HN twice, I'll upvote this comment. I learned something interesting tonight from your websites. Thanks! chibicc is a really fun idea! If I was in college, I would take a compiler course from you. Taken from your README: "chibicc is developed as the reference implementation for a book I'm currently writing about the C compiler and the low-level programming. The book covers the vast topic…

Edit: as pointed out by xearl, I accidentally copied the README from github user https://github.com/rui314 and attributed it incorrectly to jart.

That's what I get for browsing HN on my phone late at night.

Re: Show HN: Redbean – Single-file distributable web server

#248
post #149

Hmm, somehow I knew Justine is a 'transwoman' by this feat. Lucky guess I suppose... Question: if all the high achieving women in tech end up being 'transwomen', is that a step forward or backward for women in tech? Will 'transwomen' be able to take advantage of hiring privileges given to normal women? If so, won't this effectively shut normal women out of tech even more? I think trans/self identifying people should…

You have a long history of taking HN threads into ideological flamewar and we've asked you to stop many times. The slack we cut users may be large, but it is finite, and this was the last bit. I've banned this account.

If you don't want to be banned, you're welcome to email hn@ycombinator.com and give us reason to believe that you'll follow the rules in the future. I know you know where they are, but in case anyone is curious, they're here: https://news.ycombinator.com/newsguidelines.html.

Re: Show HN: Redbean – Single-file distributable web server

#249
post #180

Earlier quoted context omitted.

Isn't it a legitimate question? We have special protection for under represented groups. So when the dominant group starts taking the identity of underrepresented groups and coopting their protections, they are no longer protected. The two things are at odds with each other.

I'll engage. I think your comments are clearly bigoted, and I'll tell you why. What you do with that is up to you. > Hmm, somehow I knew Justine is a 'transwoman' by this feat. Lucky guess I suppose... You use scare quotes around "transwoman". Why is that? Is that a concept you believe is not real somehow? You are guessing that something technically impressive was achieved by a trans woman. Why is that? Are women not…

"Don't feed egregious comments by replying; flag them instead."

https://news.ycombinator.com/newsguidelines.html

https://news.ycombinator.com/newsfaq.html#cflag

If you don't have karma to flag (it takes 31 or more), you can always email us at hn@ycombinator.com.

Re: Show HN: Redbean – Single-file distributable web server

#250
post #173
post #149

Hmm, somehow I knew Justine is a 'transwoman' by this feat. Lucky guess I suppose... Question: if all the high achieving women in tech end up being 'transwomen', is that a step forward or backward for women in tech? Will 'transwomen' be able to take advantage of hiring privileges given to normal women? If so, won't this effectively shut normal women out of tech even more? I think trans/self identifying people should…

Sincerely: what the fuck is wrong with you?

Please don't respond to a bad comment by breaking the site guidelines yourself. That only makes the thread even worse. If you wouldn't mind reviewing https://news.ycombinator.com/newsguidelines.html and sticking to the rules when posting here, we'd be grateful. Note that they include:

"Don't feed egregious comments by replying; flag them instead."

Post reply on HN