HNHacker News
TopNewBestAskShowJobs

dhsysusbsjsi

782 karma · joined October 28, 2019

submissionscomments
dhsysusbsjsi··on Singapore govt dating app uses Gale-Shapley stable marriage algorithm
The problem with this will be something like my preference would be a person who makes home a peaceful place. This isn’t something that can be put on preferences. As if a potential partner is going to tick yes to “incessant nagging” so I can avoid them.
dhsysusbsjsi··on Jev in 25 Lines of Python
I didn't know that - I revoke my OP if true!
dhsysusbsjsi··on Jev in 25 Lines of Python
Whilst I do like reading these things for technical know how, I can sympathise with the creator of jev who now presumably has to apply an order of magnitude effort to explain why the 100 smaller things done better than this add up to a much better product.
dhsysusbsjsi··on AI Agent Has Root
I give my agent passwordless sudo and run it directly on prod, deploying directly to prod. I’m not trolling this is exactly what I do. YOLO.
dhsysusbsjsi··on Flying Around the World in under 80 Days
Ha! It’s also going to be funny when he discovers going over India requires parallel diplomatic clearance by his embassy and if he misses the slot, bye bye record. Repeat problem for multiple countries along the route.
dhsysusbsjsi··on Cloudflare threatens Italy exit over €14M fine
They tried a variant of this in Australia for a short period of time before realising IP blocking accidentally takes down thousands of legitimate businesses on shared hosting.

https://www.abc.net.au/news/2013-05-17/concern-over-asic-int...

They didn’t repeal the law but instead worked out better ways of using the existing powers after a review.

https://www.infrastructure.gov.au/sites/default/files/austra...

dhsysusbsjsi··on Kaitai Struct: declarative binary format parsing language
This would be great for most projects as Swift for example is abandoned & 6+ years since last commit.
dhsysusbsjsi··on Play snake in the URL address bar
reading the source it looks like for some browsers that rate limit url updates, it has to use a different way that nukes your back button ability.
dhsysusbsjsi··on Calling Their Bluff
UK now charges £16 for Australians.
dhsysusbsjsi··on Occurences of swearing in the Linux kernel source code over time
As an Australian I’m disappointed in the lack of the key word ‘cunt’ in the graph. Unless perhaps it’s zero.
dhsysusbsjsi··on Binary Wordle
I guessed 00000 and won first go!
dhsysusbsjsi··on Cell Phone OPSEC for Border Crossings
If you have a modern iPhone and don’t want the crazy hacks, a very very simple but effective tip is to power off your iPhone when exiting the aircraft. When the device powers up it is in “before first unlock” mode and is severely restricted in what it can do. The attack surface area is significantly reduced. They’re not going to burn one of their $100,000 per install exploits on your BFU phone the same way they do with a full physical access unlocked paid exploit.

Also lockdown mode to reduce attack surface area.

dhsysusbsjsi··on I'm the Canadian who was detained by ICE for two weeks
I've already made the decision not to go to the US again for the foreseeable future.
dhsysusbsjsi··on Stupid Smart Pointers in C
and stack protection cookies
dhsysusbsjsi··on Apple is open sourcing Swift Build
Scooby doo meme

<Open source contributor> “let’s see who you really are”. <pulls off mask>. Apple employee.

dhsysusbsjsi··on Ask HN: Have you ever taken a career break or gap year to hack?
Yes and it was one of the best years of my life. I made more money from submitting vulnerability assessments than my day job. I’m structuring my life to do this again.

You get a little lonely as you don’t get the social fix from hanging out with work folk.

Overall the health benefits are immense. Both mental and physical as you have more time to look after yourself.

The success comes in the form of creating a void for opportunities to present themselves. I ended up doing things I never thought I’d do. Some were fun nothing burgers, and others were financially successful. The important thing is I got all my daily chores done first and only coded if I was “bored”. Coding/hacking came last.

dhsysusbsjsi··on A better approach to gravity: how we made EGM2008 faster
Excuse my ignorance but how big of a lookup table would you need to achieve the same outcome ?
dhsysusbsjsi··on Ancient Egyptian Stone-Drilling (1983)
Ben from UncharteredX has a good video on these drill samples, but does not buy into the mainstream acceptance of how they were made. In fact the granite core samples show continuous grooves and you can calculator the pressure per turn the mechanism was under, and it’s not really able to be done easily.

https://youtu.be/KFuf-gBuuno

dhsysusbsjsi··on Compressing chess moves for fun and profit
What I haven’t seen discussed here much is optimising for developer maintenance. I think the author’s solution is great for this; it’s easy to understand and each move has a bit pattern. Easy to debug. Somebody taking over in the future will understand this compression.

If on the other hand you can squeeze another 10% storage from Huffman encoded inverse tree lookup tables that only neckbeards understand, you’re limiting your pool of people able to do maintenance on this system in the future when the author is long gone.

dhsysusbsjsi··on Pilots hide mental health problems so they don't lose their licenses
Easy - make mental health non-reportable to the aviation authorities. Instead, the shrink can report if they think there is an issue to public safety, as they would currently do for patients at risk of harming the public.

The problem is people think that any 'solution' to this problem needs to be perfect. "What if we never find out this guy was a problem" comes up. No. You just need to make the next system net _better_. Don't delay forward progress because the next step isn't "perfect".

dhsysusbsjsi··on The Madness in our Methods: Crash of GW9525 and our broken aeromedical system
Great article, but unfortunately the lying is entrenched culturally. The regulator is so distrusted it can never change.

For example in Australia I’ve heard multiple cases of somebody proactively seeking counselling for help dealing with temporarily stressful situations such as divorce, then being grounded at work, and the regulator (CASA) denying medical clearances. This increases the stress.

Every time some senior person proclaims “it’s okay this time - report your illnesses”, it never is, and we go around this circle again and again. I will personally never report my medical history accurately to the regulator.

dhsysusbsjsi··on 90k Miles on My Tesla Model 3 – Maintenance Costs Higher Than Expected
I own a Model3 LR and an ICE. The Tesla is significantly more costly with insurance & tyres. It has also had a bunch of teething problems like broken camera, charging micro (stopping all charging). Fixed under warranty. 20,000km in 2 years.

My ICE has basically had no issues in 7 years (77,000 km) except the cost of oil change once a year. But recently it developed a rattle, which I had investigated, resulting in a $2,000 invoice just to investigate (at one point it wouldn't start at the garage, and they just kept throwing parts at it to get it working again). Now it's got a rattle and won't sell. It will cost more than it's worth to pull the engine apart to find the problem (probably timing chain).

Both are going to have issues. Overall though, for me, I'm more sensitive to time. So I'm scrapping the ICE for a ModelY.

dhsysusbsjsi··on A runner who leads every pack and then vanishes
I’m 92kg +/-, 187cm. Run 2x a week 6.5km like clockwork, plus extra fitness 2-3x a week. So heavy guy. I do about one 1/2 marathon a year and train up to 15km. Heart sits at 180-185 by the end. The 18km is definitely a hump where it’s not aerobic fitness but feels like need to push through a mental wall. I don’t think I have the physique for a full marathon without proper preparation but may try next year.
dhsysusbsjsi··on A runner who leads every pack and then vanishes
Stop eating carbs about 2 months before. I did this and went from a 2:06 to 1:58 with minimal training. My body carried several kg less weight and felt like it could consume its own fat energy more efficiently and I didn’t get the 2/3 slump.

I also started last, ran down the 2hr pace guy, then tried to stay 100m ahead of him. It felt primal being chased down by somebody and kept the mind sharp.

dhsysusbsjsi··on Float Compression 3: Filters
For comparison how TimescaleDB does it:

https://www.timescale.com/blog/time-series-compression-algor...

dhsysusbsjsi··on Companies use drip pricing to overcharge consumers
Also in Australia I believe it is illegal to do drip pricing. For example Airlines need to advertise the entire price up-front. It includes all of the hidden fees. The only "extra" at the end is 1% or so if you pay via Credit-Card, however there are free Direct-Transfer options (e.g. POLI), so I think that is fair.
dhsysusbsjsi··on Companies use drip pricing to overcharge consumers
It's called the Supermarket Scanning Code of Conduct. If it scans wrong, you get the first one free, and the rest at the proper price. It's designed to keep the ACCC off their back.

I used to do it all the time - it's great when they stuff up prices on expensive items like Razors. One time I went back every day and got a free pack and ended up with several years worth of (free) expensive razors in surplus!

Usually the manager needs to come because the basic checkout person doesn't know about it.

dhsysusbsjsi··on The Art of Money Getting or Golden Rules for Making Money by P. T. Barnum (1880)
I read this as the customer was rude to the Usher (perhaps due to his station?), and the Usher was rude, but the owner basically told the employee he had to put up with the insult because the customer is entitled to because they paid, and may also bring future business. I think there's a line in the sand (which will vary person to person) where inappropriate unprovoked rude behaviour should not be tolerated by customers. That's all. My line is around unprovoked verbal abuse, where I'll give the customer a serve to protect the employee. Obviously if it's a common theme around a particular employee, perhaps they are the issue !!
dhsysusbsjsi··on The Art of Money Getting or Golden Rules for Making Money by P. T. Barnum (1880)
This is great and remarkably similar to my personal philosophies on spending and work. For example avoiding unproductive debt, spending below means, vocation you enjoy, etc.

I do disagree with the bit about accepting rude customers. I will happily forfeit business of a rude customer. This is especially true if your employees are high value and you don’t want them subject to abuse (feel valued), and I hypothesise that in fact genuinely rude customers aren’t as listened to by friends as they think in their own mind.

dhsysusbsjsi··on Hyundai Head Unit Hacking
> Turns out there is a convenient setuid binary called “amossu” in the stock firmware

Understatement of the year!

Page 1 of 6Next →