HNHacker News
TopNewBestAskShowJobs

0des

4,899 karma · joined May 18, 2021

building a thing
submissionscomments
0des··on Bun: Fast JavaScript runtime, transpiler, and NPM client written in Zig
someone demonstrated a while back how based on user agent you could serve innocuous code for a browser checking the code first, and then a different malicious payload for curl.

thanks to dementiapatien below for the link https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-b...

0des··on Daniel J. Bernstein
> djb2

> this algorithm (k=33) was first reported by dan bernstein many years ago in comp.lang.c. another version of this algorithm (now favored by bernstein) uses xor: hash(i) = hash(i - 1) * 33 ^ str[i]; the magic of number 33 (why it works better than many other constants, prime or not) has never been adequately explained.

    unsigned long
    hash(unsigned char *str)
    {
        unsigned long hash = 5381;
        int c;

        while (c = *str++)
            hash = ((hash << 5) + hash) + c; /* hash * 33 + c */

        return hash;
    }
source: http://www.cse.yorku.ca/~oz/hash.html
0des··on PulseAudio and Systemd Creator, Lennart Poettering, Reportedly Leaves Red Hat
sysvinit did nothing wrong.
0des··on Billion-record stolen Chinese database for sale on breach forum
Good lookin out, thanks for the link
0des··on The Swerve
> “Long before we go over the cliff, we’ll have figured out how to put wings on this bus.”

Sounds like something a PM would say in a roundabout fashion

0des··on Robotic surgery turns surgical trainees into spectators
barber chirurgeons
0des··on NIST announces first PQC algoritms to be standardized
should really be higher up.
0des··on Experience: I was in a Scientology jazz band (2021)
How disappointing
0des··on My quest for the perfect window manager (2004)
welcome to plan9, there is cake and napalm at the table by the door.
0des··on Ask HN: How to sell an open-source software company?
When a service is being shopped around to prospective new owners, eventually user data leaves the custody of those I originally entrusted it to. I'm voicing my opinion on signals that indicate to me it is time to go, and that to me, this is one of those signals
0des··on Full-office tech jobs pay 1.9x less than full-remote
I think it's more likely that a job with full-remote is more "with the times" and more likely to pay a commensurate wage than the legacy corps that require butts in desks to do Teams meetings all day.
0des··on Ask HN: How to sell an open-source software company?
If I knew a service or company I used were doing this, I'd take what data I can and delete my account. Good things rarely happen in a transition. I'm not saying it's right, I'm just saying what me, the user, has been trained to do for my safety.
0des··on My quest for the perfect window manager (2004)
The older I get, the more I get the urge to return to monke, and just use tmux. Maybe on friday I go all out and boot up a GUI with some type of nifty nature wallpapers showing through my terminals.

FVWM is completely legit as well, albeit a little heavy when compared to TWM or my favorite Rio, with Acme of course. Heavy is relative in this sense, I've run FVWM on reprogrammed childrens toys with the processing power of a warm potato.

0des··on Ask HN: I want a modern 2-way pager with clamshell keyboard. Does this exist?
If you don't mind me asking, what models are these pagers and what service is it through? I looked for a few plans and only found a single company that seemed to remain active. They offered prepaid plans for up to two years.
0des··on Ask HN: What are good Raspberry Pi alternatives that are in stock?
Thanks for the response. I'm not getting my hopes up but I am optimistic that surely someone has tried to enter this niche form factor solely given to how well it sells for the pi folks.
0des··on Ask HN: What are good Raspberry Pi alternatives that are in stock?
Thanks, I'll pick one up. Hopefully that have a pi-zero competitive model as well. I'm hoping to prototype something that I want to fit in a pocket
0des··on Ask HN: I want a modern 2-way pager with clamshell keyboard. Does this exist?
Thank you, I found your contact info and will reach out soon.

I came up with some ideas to put together something resembling option 2. My main focus is not having the ability to accept a phone call or voicemail, or rich media; privacy is a plus, but to be honest that was not my motivation. The desire for modern customary encryption mentioned in the post above was because iirc the old pager networks were more easily snooped than modern SMS. As long as the experience is compatible with an on par with SMS, I'm happy.

If I had a magic wand: ideally, this would operate just like a dumb phone, but without the ability to make calls, take pictures, browse the net, anything of that sort. I just want to activate the display, see a list of SMS messages or contacts, and respond to them. Wifi interfaces and all that would diminish the experience for me.

I'm thinking if I wanted to put this together for fun, it'd be most likely to happen in a pocket size (hopefully without JNCO jeans) by using a small raspberry pi, small e-ink module, some type of mobile radio like an LTE shield w/ sim if that exists, and maybe for the first iteration a chopped up tiny keyboard. Slap it all together between a few layers of acrylic and it could work.

Alas, currently blocked and limited to pen and paper by the lack of raspberry pi stock available.

0des··on Ask HN: I want a modern 2-way pager with clamshell keyboard. Does this exist?
Thank you. The stage I'm at right now is something in this realm. I'm seeing people who are able to send/recv SMS via raspberry pi zero + cell radio, so I'm currently looking at my options.
0des··on Ask HN: I want a modern 2-way pager with clamshell keyboard. Does this exist?
What texting-only phones are you able to find? I'm having a hard time forming a potent search query for those. I keep getting support threads for people who have phones that can text but have a broken calling feature.

2-way pagers worked for SMS, that's essentially what I'm looking for, but on modern hardware, meaning I'd rather it be rechargeable through a port than have a AA battery slot, maybe a microsd slot for my contacts and messages.

The existing 2-way pagers work over conventional networks as well as radio networks that relay SMS and email through a gateway, which is why I specified that I was not concerned which method, I just prefer that it does SMS, perhaps natively.

The recipient, as with 2-ways, can use any method or hardware of SMS to send/reply.

0des··on Aphex Twin – Polynomial C
Cheers :)
0des··on What's the deal with all those weird wrong-number texts?
Beachy Amish, it's fine.
0des··on Strawberry Pop-Tart Blow-Torches (1994)
Alright, so the gauntlet has been thrown. Who's going to take one for the team?
0des··on Google loses two execs: one for Messaging and Workspace, another for Payments
As many messaging concepts as Google owns and has owned over time, I'd imagine this is not the only messaging exec on the payroll. Could anybody from G comment one way or the other?
0des··on What's the deal with all those weird wrong-number texts?
No worries. It takes all kinds. Who knows, maybe you re-examine the culture and find some things you'd like to take home to your community.
0des··on How much health insurers pay for almost everything is about to go public
> "not starting any new wars" can be perceived as bowing to foreign nations

This is an interesting take on peace in the middle east.

0des··on “The joy of sharing has been driven from me“
How long until they realize they left all this proprietary software open to the public https://github.com/dropbox
0des··on How much health insurers pay for almost everything is about to go public
I appreciated the right to trying life saving treatment even if it isn't officially approved or completed trials yet.
0des··on What's the deal with all those weird wrong-number texts?
I respectfully disagree. The postal service is held to a standard of service by a USO - Universal Service Obligation. [0]

This means it is an org mandated to accept your request for service at a reasonable price regardless of your location of residence. There is an important distinction between that, and being mandated to receive mail service. That is not a stipulation of being alive in USA.

[0] - https://www.uspsoig.gov/blog/postal-service-and-its-obligati...

0des··on What's the deal with all those weird wrong-number texts?
> But the Amish do receive mail and use phones.

I am assuming you don't mean to generalize to the degree that is being conveyed at first glance in your explainer comment.

Amish people are not a monolith. As a culture it is quite a spectrum, from Beachy to Swartzentruber.

0des··on What's the deal with all those weird wrong-number texts?
> I'm pretty sure you are mandated to have mail in the US, or rather the mails are mandated to deliver to you. IIRC it's constitutional.

You'd be incorrect. Ask your postmaster.

Page 1 of 34Next →