HNHacker News
TopNewBestAskShowJobs

erinaceousjones

584 karma · joined November 5, 2015

submissionscomments
erinaceousjones··on setBigTimeout
I think it's more likely that it's just "undefined behaviour" and up to the implementers of the JavaScript engines. Given that modern browsers do limit and throttle how much you can do with setTimeout in some situations (try to use setTimeout on a page after you've switched to a VR context! More than like 120hz and it'll just.... Not run the timeout anymore, from experience with Chrome).

The browser devs have decided it's acceptable to change the behaviour of setTimeout in some situations.

https://developer.chrome.com/blog/timer-throttling-in-chrome...

erinaceousjones··on Why Gov.uk's Exit this Page component doesn't use the Escape key
> Overall, I'd say telling people to use private windows and teaching then Ctrl+W is probably better.

Yes, you should do that as well as understand that, for things like this, where you're providing information for vulnerable people across an entire population, your people are going to span a huge range of technical literacy and you will not be able to reach all of them in time. Give them the big red escape button with the special "dial 999" style memorable key combo as well as teach them everything else. But triage and do the "this solution works for the broadest number of people the quickest" thing first - the big red button.

erinaceousjones··on Reading texts on paper versus computer screen: Effects on reading comprehension [pdf] (2012)
> we've known for a long time that taking notes increases recall to a degree that likely dwarfs this screen vs paper thing

Bit of anecdata that agrees with you here - a few years back I bought a decent colour e-ink android tablet (Onyx Boox). My intent was that I was going to totally use it for reading through journal papers without needing to print them out, regular ebook reading, etc etc.

The VAST MAJORITY of what I have used it for, to date, is the note taking app. Like, not notes scribbled over whatever I'm reading.. just notes.

The act of doodling notes in meetings and training and classes and when problem-solving definitely aids my [lack of] working memory and I definitely see how making notes improves comprehension.

I bought a book replacement and it became a notepad replacement :)

I too have found myself preferring a good solid actual book when it comes to reading, too. Ebooks just miss something tactile. I suppose that highlights when reading becomes an activity with intent, as opposed to something you feel you have to do.

erinaceousjones··on WiFi suspended at big UK train stations after 'cybersecurity incident'
Teenagers are inherently reckless, but arguably can have lots of technical experience/knowledge by the time they're 17. If you've been messing with computers as a hobby and a passion since you were 11, you already have ~6 years of self directed experience, and a bunch of free time outside of school (and if you're a smart kid, inside of school too, winging classes and skipping homework).

Where teens fall down is their own overconfidence / arrogance / hubris / doing things impulsively, or generally just not considering (or possibly even comprehending) the full impact or risk of stuff they are doing. Like, understanding the technical side really well, but with a severely impaired frontal lobe.

So I feel it's a bit of a disservice to say it's "kids doing easy hacks". Without extra context we don't know what exploits they used or what they discovered. Could've been something easy and well known, could've discovered something novel.

I think the 17yo in question was indeed arrogant and I don't agree with their politics and I think it's unfortunate they've been indoctrinated by the right wing, but I would argue that they're probably pretty technically competent and motivated and I hope later on in life it serves them well and they make a whitehat career out of it.

erinaceousjones··on Defend against vampires with 10 gbps network encryption
What mitigations did you disable, specific ones you know wouldn't be a risk to what the machines were doing (mostly network, mostly kernel space)..?

Like, by disabling the mitigations does that leave the servers slightly more open to someone nefarious finding a way to use some kind of timing attack to get some knowledge of your wireguard keys?

(Genuine question as someone with very little knowledge on both wireguard and *bleed CPU flaws)

erinaceousjones··on Be a thermostat, not a thermometer (2023)
> there might be a good reason some one is angry

Yes! And sometimes it benefits you both to _lean in to that_! Perhaps you feel the same way! So "choosing to be a thermostat" does not need to be a choice you make in every situation or no situation. It's very dependent on context. Sometimes I WANT people to match my energy, it's affirming or comforting. Sometimes I will benefit from either being the thermostat or the... thermostatted...

I absolutely disagree that this is "manipulation tactics". I can see how the sausage is made and still appreciate how they're approaching the situation. It indicates to me that this person is interested in exploring and working on their own emotional intelligence, and are using things they've learned to help problem-solve.

Regarding "weird vibe in room" - my take on the article is not that "being thermostat" is NOT a means to "remove vibe I don't like". "Weird vibe" is indicative that something is wrong and there could be a problem there worth challenging or solving. It doesn't have to come from a place of "toxic positivity" or self-centered "I only want good vibes" thinking. "Weird vibe" can still be there and I think part of growing emotional intelligence is learning you can only do so much and sometimes allowing "weird vibe" is healthy -- and learning to not let it affect you if it's not something you rationally are affected by (ie. someone else's mood due personal reasons).

> Try being thermostat to someone who is on meth or someone who is drunk.There are many reasons someone is raising he temperature in a room.

As a volunteer first aider who's done "night time economy" shifts alongside paramedics - this is absolutely something that is done and is quite helpful. There is a certain degree of patience and customer-service-voice that generally many intoxicated people are receptive to. Doing what you can to de-escalate and calm them down has better (generally, quicker) outcomes for their treatment. If you can calmly convince someone who has hoofed a dangerous amount of cocaine along with their 10 shots of vodka that night and has presented to you aggressive and frightened due to chest pains to sit down in the back of the ambulance, you don't have to deal with them aggressively flailing about the place whilst you hook them up to an ECG. Matching their energy and yelling at them is probably the last thing you wanna do there (even though they ARE fuckin' annoying... never let them know that, if you want to go home ~on time~ only an hour after your shift ends ;))

erinaceousjones··on Pixhell Attack: Leaking Info from Air-Gap Computers via 'Singing Pixels'
You can broadcast FM radio over short distances by doing PWM over GPIO pins, so that does not suprise me!

I used this for switching radio controlled power outlets which had 433mhz receivers. [2]

[1] https://github.com/markondej/fm_transmitter?tab=readme-ov-fi...

[2] https://github.com/F5OEO/rpitx

erinaceousjones··on State of S3 – Your Laptop is no Laptop anymore – a personal Rant
Thing is.... My gigantic desktop computer has thermal cutoffs, it will shut down if the CPU gets too hot. I remember desktop PCs having that for ages. I've had overheating laptops do the same. Are laptop manufacturers just getting lazy and skimping on failsafe hardware temperature cut-offs!?? Like, as a hardware manufacturer I would always add that factor-of-5 "the software side WILL fuck up" safety measures. How is the HARDWARE allowing software to let it melt itself in this day and age!?
erinaceousjones··on Extreme Pi Boot Optimization
Might've been the case with "spinning rust" (hard drives) but solid state storage can have lower access and read times -- no need to wait for a disk to spin up or move read heads to the right position on a platter etc
erinaceousjones··on Show HN: Wat – Deep inspection of Python objects
Yes, the big warning disclaimer in that part of the docs is definitely required here.

That idea of exec'ing arbitrary obfuscated (compressed) shell code that's easy to copy-paste into a python shell is very helpful, mind.

I've had to debug issues in production with silently hanging I/O threads and my only access is via `kubectl exec`.

This wat tool and that "insta-load" idea pairs nicely with pyrasite for that very useful !!!DO NOT DO THIS, YOUR CONTAINERS SHOULD BE LOCKED DOWN SO YOU CANNOT DO THIS!!! step of copying gdb and the pyrasite library into a running container when all you have is a python shell to play with.

(This almost feels like an exploit, running shellcode after getting RCE :))

https://pypi.org/project/pyrasite/

erinaceousjones··on Jailbreaking RabbitOS
> If you want better interchange you should be pushing it to be included along b64 at the language level not trying to get every dev to include extra dependencies at either side of the exchange.

Oh, absolutely. JavaScript Object Notation became a defacto standard purely because js could parse it natively. Then `json` was adopted as part of the standard python libraries, within PHP, etc... Once upon a time, even stuff like base64 encoding/decoding required someone to write the code for it. Agreed, it requires pushing to get useful stuff into "batteries included" stdlibs.

We're using JavaScript Object Notation because.... Isn't the name quite telling? :-)

erinaceousjones··on CrowdStrike Update: Windows Bluescreen and Boot Loops
Local area networks air gapped from the internet don't need to be air gapped from each other. You could have nodes in each network responsible for transmitting specific data to the other networks.. like, all the healthcare data you need. All other traffic, including windows updates? Blocked. Using IP still a risk? Use something else. As long as you can get bytes across a wire, you can still share data over long distances.

In my eyes, there is a technical solution therr that keeps friction low for hospital staff: network stuff, on an internet, but not The Internet...

Edit: I've since been reading the other many many comment threads on this HN post which show the reasons why so much stuff in healthcare is connected to each other via good old internet, and I can see there's way more nuance and technicality I am not privy to which makes "just connect LANs together!" less useful. I wasn't appreciating just how much of medicine is telemedicine.

erinaceousjones··on Jailbreaking RabbitOS
We have much more compact and widespread generally available formats out there with libraries for many languages. Want unbounded JSON but more compact? msgpack or bson. Want stuff more efficiently packed based on the message structure? Use protobuf.

Yes, there is a little more effort needed for the engineers there. But ya know, if the inputs and outputs of a thing are actually DOCUMENTED and the schemas are available, it's not some massive reverse engineering feat :P

(Okay, maybe you're stuck doing something in a niche environment where handy protocol/format libraries aren't available to you; MATLAB for Microcontrollers or something. But if you're there, you're probably having fun dealing with all the nuances of implementing an efficient and safe recursive unicode text serialiser/serialiser for a format line JSON anyway :P)

Also if you're going the fairly standard route of "web API over HTTP", the protocols give us way more options readily available for much more efficient streaming of binary data.

It's not "wasting time" to teach devs that there are better ways of doing stuff. base64 encoding mp3s into JSON strings strikes me as "junior dev given 2 weeks to quickly implement something without somebody there to review and suggest alternative ways of doing stuff".

erinaceousjones··on Extraverted People Talk More Abstractly, Introverts Are More Concrete (2012)
Sample size of 40 people, all from the same company and same workplace. Whilst results are interesting, I'm not a big fan of that press release making it "new research has found" when it could do with a few dozen study reproductions at larger and more diverse scales followed by a meta-analysis. 40 people is a tiny amount to eke any statistical significance from.
erinaceousjones··on How to waste bandwidth, battery power, and annoy sysadmins
Ah, fair point. I'm on a pixel 6, so I have a privileged perspective that like 90% of smartphone browser users don't have because fairly new and fast SoC with a good amount of memory. I hadn't considered how much a difference that makes, because conceptually in my head "it's just webpages!" like we're still in the early 2000's
erinaceousjones··on How to waste bandwidth, battery power, and annoy sysadmins
My experience with Firefox Nightly for ~1 year below. Ironically, the nightly sounds more consistently stable than the current release build then!:

* Never had this tabs problem

* I can see about:config

* Bookmarks are fine and there's no mention of Pocket. Bookmarks show up ON the homepage, but yeah not being able to set a bookmark / any URL AS a homepage is a bit of an annoying feature lack

* URL completion works as I expect it to, although it does bug me how it strips the protocol from the URL so I have to manually type in `http://` for plaintext sites even when I've visited them before; depending on who you ask that is considered a "security feature" but kinda annoying. Other than that, I start typing in a URL and it shows me suggestions from my history followed by option to use my preferred search engine to search it.

All in all, I've not really felt FF (even nightly) be particularly different or unstable to using chrome.

Second comment I've made in this thread where I'm replying (ever so helpfully) "Huh, but it works for me" so I'll stop now :-). I promise the Mozilla Foundation aren't bribing nor blackmailing me.

erinaceousjones··on How to waste bandwidth, battery power, and annoy sysadmins
Not ever had Firefox for android be slow and buggy for myself! I've been using it in place of chrome on my phone for a good year. Honestly everyone keeps talking about how FF is "slow and buggy" and it has NEVER given me issue :/ why is my subjective experience so different to your subjective experience?

Meanwhile chrome/chromium is the one which is most likely to cause me GPU driver crashes, but that's because I use it for fun VR and "let's see how big I can make textures" experiments. Generally it manages a higher frame rate than FF in that context with stability as tradeoff.

erinaceousjones··on Engineering for Slow Internet
WhatsApp is (or was) using XMPP for the chat part too, right?

When I was IT person on a research ship, WhatsApp was a nice easy one to get working with our "50+ people sharing two 256kbps uplinks" internet. Big part of that was being able to QoS prioritise the XMPP traffic which WhatsApp was a big part of.

Not having to come up with filters for HTTPS for IP ranges belonging to general-use CDNs that managed to hit the right blocks used by that app, was a definite boon. That, and the fact XMPP was nice and lightweight.

As far as I know google cloud messaging (GCN? GCM? firebase? Play notifications? Notifications by Google? Google Play Android Notifications Service?) also did/does use XMPP, so we often had the bizarre and infuriating very fast notifications _where sometimes the content was in the notification_ but when you clicked on it, other apps would fail to load it due to the congestion and latency and hardcoded timeouts TFA mentions.. argh.

But WhatsApp pretty much always worked, as long as the ship had an active WAN connection.... And that kept us all happy, because we could reach our families.

erinaceousjones··on 3M executives convinced a scientist forever chemicals in human blood were safe
Context from the article I feel is necessary, here. She was pretty haunted by how it might be affecting her kids too. That's one of those "do I really want to go down this dark path" things, something which would've taken such a toll on her that she decided not to go there, now she had to focus on raising a family...

> But first, she decided to have one last blood sample tested for PFOS: her own. The results showed one of the lowest readings she’d seen in human blood. Immediately, she thought of the rats that had passed the chemical on to their pups.

> Hansen told me that, for the next 19 years, she avoided the subject of fluorochemicals with the same intensity with which she had once pursued it. She focused on raising her kids

She WAS meticulous in her research for YEARS, but ultimately held too much unquestioning trust in the company line that PFOS was safe. She got worn down and burned out... Which is pretty understandable.

At one point TFA quotes her asking her husband to walk her through the car park after work lest she be threatened by other 3M employees who now saw her as some kind of traitor, so at one time she was pretty worried about being victim of a Boeing-Type Incident.

If you want people to remain scientific, you gotta foster a culture in which it is safe to do so, and the impact of the findings matches its significance.

erinaceousjones··on The failure of the Domino's 30-minute delivery guarantee
Why are they "double apping", though? Is it perhaps because they are trying to scrape a liveable wage from a flawed gig economy....
erinaceousjones··on Why can't my mom email me?
> The only non-theoretical use of a PGP encryption key [that would use keys published on a keyserver] is email.

I use this on some repos https://github.com/AGWA/git-crypt

And occasionally to encrypt files, or receive encrypted files.

These are practical things which are non-theoretical.

> Using multiple keys don't offer added security or secrecy.

Depends on how careful you are or want to be, with your private key. My house key isn't the same as my car key isn't the same as my bike key.

> This is nothing like data harvesting

Alright fair, bad example. What I was grumbling about was more the lack of any clear communication that you've been auto-opted-in to a feature on protonmail, with no user interface signal indicating so, leading to confusion for a couple months like in TFA. I definitely wasn't casting shade on the opengpg keyserver, nor protonmail. It's the "hey! I didn't check a box for this, and it's not mentioned anywhere in the protonmail docs" hidden functionality which could do with some clarification.

I'm a forgetful creature. If I intentionally put my key on a keyserver, because I'm playing around and learning about PGP, will I make the connection between it and protonmail a few months down the line if I move my email account to them? Unlikely.

It's a nice automated feature. Protonmail-to-protonmail e2e encryption makes a lot of sense. I just think protonmail-to-non-protonmail e2e needs a tooltip in the UI, and the option to opt out, potentially with the ability to opt out for specific email addresses. I wouldn't at all assume it would be on by default even IF I've been actively using PGP in my email clients, because it's something you usually have to manually set up yourself, very explicitly. That, and 99.9% of emails are plaintext.

Anyhoo, one thing I forgot which kind of negates the "what if I have multiple encryption keys tied to my email" is the fact that the opengpg keyserver does tie 1 email address to 1 key so you can't publish multiple encryption keys, fair enough. Git-crypt and file encryption, I set my associated email address to use +tags eg me+git@email.com, so as far as protonmail etc are concerned there's only one key per logical email address.

erinaceousjones··on Why can't my mom email me?
Yes, but how many other things can you think of other than email which you would share your encryption public keys for? Honestly email would be at the bottom of applications I would think of, even when registering keys with a key server.

If you have a bunch for different use cases (or like, levels of security/secrecy/revoking-this-will-be-a-nightmare), which you've set your one email address as recipient for, which of those is "default"?

The keyserver and protonmail also are entirely separate. I wouldn't expect the two entities to be communicating with each other if I hadn't opted in. It feels weird, like when private companies harvest your data without asking.

erinaceousjones··on -2000 Lines of Code (2007)
You speak in absolutes. What works for me, works for me :)
erinaceousjones··on Pack: A new container format for compressed files
I think generally it's a mobile layout issue. On Firefox for Android, scrolling the page still triggers a click/mouseup/focus event I guess - when you let go of your finger, it toggles the state of the "Note" -> "Pack" section, so it tends to hide itself as you're reading it!

Would just remove that "accordion" functionality completely or make it always expanded on mobile breakpoints or whatever. Or just move that entire "About pack" section to be on the main page "below the fold" as the first thing people are going to want to do is find out *what it is* :)

erinaceousjones··on -2000 Lines of Code (2007)
heh, I note your recent comment history is you being salty about everything you deem "cargo cult agile", and people patiently responding to that.

Yes, having a chat between the team for fifteen minutes every day is in fact quite useful, believe it or not.

We're not talking about hour long waterfall-y management progress review meetings here.

erinaceousjones··on Visiting Scarfolk, the most spectacular dystopia of the 1970s (2016)
And yet, thanks to all the scaremongering stigma about ADHD meds back in the nineties and noughties, it can be really difficult to actually get those meds. Here in the UK we're going through a supply shortage. I hear a lot of neurodivergent people in the US reporting having to jump through hoops to keep their prescriptions when they change jobs or doctors and the new one decides on a whim that they don't need their meds because "too many people on them, diet meth™ bad".

Thousand percent agree that school age kids shouldn't be mass prescribed meds as a form of behavioural control and generally the entire school system and job market are built to be a total nightmare for neurodivergent folk (well, everyone really), and environmental change is better than making it the responsibility of every individual to medicate away the trauma.

But can we please make the distinction between that and adults who have the agency to choose to be on the "ever so addictive SPEED" (which we are always forgetting to take and need to set alarms on our phones to take) and find them effective for navigating our neocapitalist societies where stimulant meds are required to kick our executive function into drive enough that we don't get fired from every job and die, thanks.

/slightly unhinged grumbling

erinaceousjones··on Sea Kit
As someone who works in oceanography: it's very sad that the first and very animated comment thread about these USVs is to do with naval warfare. Like, goddamn, it's ALWAYS "ooooo how do we apply this to naval warfare!!!"

Just let me strap a multibeam and some deep water towed chemical sensors to it and leave me in peace.

erinaceousjones··on Ask HN: Slow thinkers, how do you compensate for your lack of quick-wittedness?
This is quite a dismissive stance, and I understand the context behind it: IQ was devised to measure broad population academic performance for schoolkids and has big flaws in how it measures that.

But it still has merit as another psychological test battery you can do to determine areas in which you may struggle to process information.

My working memory sucks [compared to the standard for my age range and demographic]. I've had access to stuff like RBANS (Repeatable Battery for the Assessment of Neuropsychological Status), through psychologist friends working in memory clinics. IQ tests correlate that finding, and are much more readily available (ie. free and not locked behind institutional firewalls).

Sure, the most thorough IQ tests are paywalled, but as a concept it's readily available online, though tests will yield you huge variation in scores.

We can choose not to treat IQ as a tool to compare ourselves to other people, but rather as a tool to identify our own strengths and weaknesses within different areas of the test. Ignore the single score at end of test, think on what felt hard, and performance in the score breakdown.

I would love to see more (better designed, statically rigorous) neuropsychological assessments become open and free to access. It would definitely have helped me growing up as an unknown AuDHD kid, to understand I really wasn't "a bright kid just making excuses for things I don't want to do".

erinaceousjones··on Stress reduction techniques for high stress operations (2023)
My job as a software dev is usually pretty cushy office job.

Then sometimes I get involved in seagoing expeditions or trials as part of it, and it changes a lot. Still very much a day job. I am not (that much of) a trained mariner. Definitely become witness to (and involved in) high-pressure situations, like "we have to winch this big yellow thing onto the deck, but it's too close to the aft and we can't reach it with the grappling hooks, it's dangerously close to getting sucked into the propellers, please please figure out how to fix the networking so we can send the CHANGE_HEADING command to get it to drift to a safe grappling distance".

It definitely does wonders for honing your Calm Problem Solving mode.

erinaceousjones··on JSON Resume
Ooh, the curse of the dual purpose words / purposeful lack of accents in domain names! I thought this was going to be a proposal for some kind of clever new JSON streaming protocol that does something better which I don't know about than "line delimited JSON".

json-career or json-jobspec might be less ambiguous for those of us that refer to resumés as CVs etc. (Just my 2£ ;))

← PreviousPage 2 of 6Next →