News for hackers. Stuff that matters.

0des

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...

Re:Daniel J. Bernstein on Tuesday July 05, 2022 @04:59PM (#31993621)
> 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
sysvinit did nothing wrong.
Good lookin out, thanks for the link
Re:The Swerve on Tuesday July 05, 2022 @04:17PM (#31993154)
> “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

barber chirurgeons
Re:NIST announces first PQC algoritms to be standardized on Tuesday July 05, 2022 @01:59PM (#31991560)
should really be higher up.
Re:Experience: I was in a Scientology jazz band (2021) on Tuesday July 05, 2022 @10:57AM (#31988976)
How disappointing
Re:My quest for the perfect window manager (2004) on Tuesday July 05, 2022 @10:53AM (#31988922)
welcome to plan9, there is cake and napalm at the table by the door.
Re:Ask HN: How to sell an open-source software company? on Tuesday July 05, 2022 @10:45AM (#31988822)
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
Re:Full-office tech jobs pay 1.9x less than full-remote on Tuesday July 05, 2022 @10:43AM (#31988800)
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.
Re:Ask HN: How to sell an open-source software company? on Tuesday July 05, 2022 @08:46AM (#31987560)
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.
Re:My quest for the perfect window manager (2004) on Monday July 04, 2022 @11:25PM (#31983983)
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.

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.
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.
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
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.

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.
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.

Re:Aphex Twin – Polynomial C on Sunday July 03, 2022 @03:30PM (#31970290)
Cheers :)

Ask HN: I want a modern 2-way pager with clamshell keyboard. Does this exist?

No calls, no voicemail, no email, no bluetooth, no apps, no touch. I only want to send/receive SMS. I envision something like 2-way pagers used to work. Radio network or phone network is not as much of a big deal to me, as long as I can interface with SMS.What are my options? All of the pager service sites I found have broken pages and contacts, and their hardware costs 1996 money with AA...

( Read More... | 13 comments | 21 points | on HN )
Beachy Amish, it's fine.
Re:Strawberry Pop-Tart Blow-Torches (1994) on Friday July 01, 2022 @11:59PM (#31956101)
Alright, so the gauntlet has been thrown. Who's going to take one for the team?
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?
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.
> "not starting any new wars" can be perceived as bowing to foreign nations

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

Re:“The joy of sharing has been driven from me“ on Friday July 01, 2022 @04:12PM (#31952135)
How long until they realize they left all this proprietary software open to the public https://github.com/dropbox

Older »