HNHacker News
TopNewBestAskShowJobs

0xfaded

2,656 karma · joined August 16, 2011

submissionscomments
0xfaded··on Ask HN: Should there be new RPN calculators to replace the TI-84?
I'm a for-funsies pilot and I took my most recent exam with a physical EB-6, which is a circular slide rule of sorts. Of course the way people take these exams these days is to just to memorize all the questions. The FAA hasn't seriously updated the question bank in years and there are known wrong answers in the answer key.
0xfaded··on Do-nothing scripting: the key to gradual automation (2019)
My not-so-humble opinion is that this type of incremental encoding of process as scripts results in a system built around process rather than a system that eats process. I'm all for a catalog of scripts automating common tasks. The moment those scripts start getting called by production services you're creating a huge mountain of tech debt for whoever is unfortunate enough to unpick the web of spaghetti.

Further, because your human oriented process has now codified your system, changes to the system that's would be beneficial to a software system (i.e. dividing the system into components) are impossible. So incremental scale is achieved by stuffing more into the process, which then gets grafted onto the script monolith in a self protruding cycle.

0xfaded··on Ask HN: Are you unable to find employment?
> the sys design interview was about an obscure optimization problem that I specialized in for years - though I didn't let on that fact

Honestly I feel this situation is an invitation/opportunity to show your depth. I had a similar experience where I was asked to implement a box filter, which I did naively, and then asked to do it the clever way.

I remembered about Haar classifiers https://docs.opencv.org/3.4/db/d28/tutorial_cascade_classifi... which solve the same problem, and I was familiar with the OpenCV implementation. I mentioned this and started to write code, but at that point the interviewer was much more interested about why I knew about some obscure old-school opencv method than finishing the coding exercise.

0xfaded··on Ask HN: Programmers who don't use autocomplete/LSP, how do you do it?
I'm one of these, though I use a simple version of autocomplete which only suggests other strings currently loaded in my vim buffers (helps with RSI).

I liken it to spaced repetition. The first time I don't know where to find something I grep, after a few times I start to remember. I have a vim layout with 12 windows, so I have many views into the code and always have space to pull up more without losing context. I genuinely feel claustophobic with less.

> What do you do if you need to look up the definition/implementation

Sometimes I feel "jump to definition" trades immediacy in favor over natural exploration of the surrounding code. I work on a 10 year old mono-repo with 1000s of contributors. After two years I have a good feel for the basic layout, and would say I have a good mental map of the stuff that most affects me. During code review I'm often pointing people to existing implementations that they've just duplicated.

0xfaded··on 12 Coins in Verse: Genius solution of twelve balls and a scale problem
This puzzle is used to inrto entropy in "Information Theory, Inference, and Learning Algorithms".

Basically there are log2(12) + 1 bits or log2(24) of information (which ball and heavier or lighter). Any solution must reveal all information.

For example, a first weighing with an initial (4,4,4) split has three possible outcomes with equal probability (left, even, right), so reveals log2(3) bits. 3 independent weighings with equal outcomes would reveal 3*log2(3) bits, or log2(27). Of course the weighings cannot be independent since 27 > 24.

The trick is to design a scheme which reveals all 24 bits. With the static solutions this is trickier since all bits need to be revealed in all 27 possible outcomes, but if you work through them it should reveal why the solution works.

0xfaded··on Tesla in Seattle-area crash that killed motorcyclist was using FSD system
First I agree the driver shouldn't have been on their phone no matter what.

I think before passing judgement though, I would like to know how a human would have performed. Aviation investigations often recreate scenarios in a simulator and then have other pilots fly them. I'd imagine something similar could be done for cars.

FSD is pretty good at motorcycle detection and has the advantage of cameras looking in all directions.

0xfaded··on IRS collects milestone $1B in back taxes from high-wealth taxpayers
I think that chart is annualized debt payments plotted quarterly, i.e annual interest is ~1T.
0xfaded··on Panic at the Job Market
An African swallow or a European swallow?
0xfaded··on Decoding DME aircraft radio navigation system with the LimeSDR
Here is the authoritative video of an English radio engineer explaining how VOR works.

It truly is 60s level wizardry.

https://youtu.be/tZ2gG1v9Xg8

0xfaded··on Exploring biphasic programming: a new approach in language design
I'm going to hijack the mention of ML to share xbyaku, a c++ library presenting a DSL for assembling machine code at runtime (useful for JIT).

It's used by some of the pytorch back ends.

https://github.com/herumi/xbyak

Example use: https://github.com/oneapi-src/oneDNN/blob/main/src/cpu/aarch...

I learned about these through a blog post about speeding up pytorch on ARM: https://pytorch.org/blog/optimized-pytorch-w-graviton/

0xfaded··on Examining the Nintendo Switch (Tegra X1) Video Engine
I played breath of the wild during covid and was just blown away by it, both as a work of art as well as technical brilliance. Knowing the switch's limitations, it felt like a AAA demoscene. I only learned later that the Wii was also a release platform!!!
0xfaded··on AI firms mustn’t govern themselves, say ex-members of OpenAI’s board
That's pretty much the idea, that governments have a monopoly on the use of force. The last 80 years have been unusually peaceful by historical standards. My guess is that the crumbling of governments will lead to more human deaths.
0xfaded··on Dick Rutan, co-pilot of historic round-the-world flight, has died
I met Dick at the Voyager Restaurant in Mojave, and he was very friendly. At the time I had a Grumman Tiger, the same model he and Burt once owned. He made small talk about his fond memories of the plane, but honestly I was just a little too star struck. It was surreal talking to someone who had done so much being driven by an incredible passion for aviation.
0xfaded··on Ford Mustang Mach-E using BlueCruise at time of crash: NTSB
It's a fair point, and at least I think of myself as a fairly conservative driver.

I think it is the only time though that I've been faced with a stationary car suddenly appearing where I wouldn't expect one, and that's very different to the car in front needing to slam on the brakes with whom you can share some stopping distance.

fwiw 6 seconds at 45mph is 120 meters. That we can comfortably go that far in 6 seconds is a modern marvel, but it's also 20 car lengths.

0xfaded··on Ford Mustang Mach-E using BlueCruise at time of crash: NTSB
I had this happen with Teslas FSD about a year ago. A car missed a turn at a light because they didn't get into the turn lane early enough ... so they decided to make the turn from the "going straight" instead.

But the light changed before they made the turn and they became stuck in the middle of the intersection once they lost the protected left ...

So now they're sitting in the "going straight" lane where you wouldn't expect a stopped car. The car in front of me changes lanes without really slowing down, and the FSD prediction model didn't pick up that the stopped car was stopped. I can't really blame it, it took me half a second to figure it out as well and by that time I was hard on the brakes.

0xfaded··on Debt-related driver’s license suspensions in Ohio
The simple solution is to have the government pay out the child support and make the debt to the government.
0xfaded··on Don't fuck with paste
Omg I was being interviewed on coderpad today and something was eating my ctrl-c. So frustrating
0xfaded··on Dutch government in panic mode over keeping ASML in the country
Denmark does this, but only for a limited period (7 years I think). Part of it is competitiveness to make competing for top talent on par with lower tax countries. The other part is the temporary nature since higher earners are more likely to return to their home countries.
0xfaded··on Selfish reasons to want more humans
This argument is equating human perspectives of the world to physical realities.

Ancient populations certainly left their mask, Romans deforested Europe for the sake of glass making. But that is nothing compared to the resource extraction and ndustrial waste that support the world 9 billion people.

Willing it away with "the sky has always been falling" is denialism at best.

0xfaded··on California Dem call for $50 minimum wage
It really is difficult to compare apples to apple. But I think if the average person were to make an informed choice between a life with a job earning $22/h job in Denmark or the US, most would choose Denmark.

FWIW, I grew up in Australia, live in the Bay Area, and lived 4 years in Denmark. I have friends on both sides in that income bracket.

0xfaded··on California Dem call for $50 minimum wage
It's difficult to do apples to apples. Looks like $22/h with six weeks paid vacation was widely quoted in 2021. After social redistributions your probably in the ballpark of $40/h US equivalent.

For what is worth, looks like a big Mac meal is 99kr, ~$15

0xfaded··on California Dem call for $50 minimum wage
You can look to Scandinavia to answer this question.

Basically labor becomes vested in being part of high value activities. You will order your big mac from a touch screen and pick it up from the window when called. The burger meal will still cost $20, but not $50.

You also need the generous unemployment policy with (actual) retraining options. There's a common refrain "who has time to learn how to code?". The person who's union will provide 70% of their salary while pursuing a free education does. But that's done by agreement with the union, if the person would be better off training as a plumber, that will probably happen instead. Basically you need to remove the incentive for clinging onto unproductive jobs for the sake of jobs.

It's not a utopia though, don't get me started about the Danish job center which is basically state funded harassment.

0xfaded··on Getting into robotics as a software engineer
I work for a self driving doing mapping. There are definitely roles out there, more broadly look into other areas of state estimation.

It gets interesting when these systems need to be productionized and scaled. A strong software engineer who can speak the math is invaluable. My first year on the job was basically removing N^2 loops and making 3D visualizations.

0xfaded··on Too dangerous for C++
While we're at it, std::atomic<std::shared_ptr<T>>

https://en.cppreference.com/w/cpp/memory/shared_ptr/atomic2

0xfaded··on Cyclist hit by driverless Waymo car in San Francisco, police say
The fix is really quite simple, develop separate routes for cyclists and motor vehicles. Where those routes unavoidably cross have proper intersections. The person you are replying to is right, four-way-stops are a travesty, both for cyclists and cars.
0xfaded··on I Rent a Million-Dollar Home. Why can't I buy one?
My personal world view is that it is because housing has become financialized. In this situation the rent probably doesn't even cover the fixed ownership costs for the property (caveat: prop 13).

So why are investors clamoring over houses that have a negative rate of return? The speculation that the value will increase. We should do everything in our power to make real estate a non-appreciating asset. If that means government owned entities constructing social housing as needed, sign me up.

0xfaded··on Apple's bad faith 27% tax on web purchases
Their long term thinking includes leveraging bullying over their iMessage lock-in to ensure market capture of children.

I believe there are leaked emails floating around which pretty much irrefutablly confirm this.

0xfaded··on U.S. cities opt to ditch their off-street parking minimums
Unfortunately people will fight tooth and nail to maintain their existing expectations and will see public transit as a threat to their cars.

You have to take away cars (parking) first so that they start demanding public transportation.

0xfaded··on I want a city, not a museum
Since part of the reason people move to cities is for access to economic opportunity, perhaps it would be better to remove existing residents who do not meet the expected productivity bar and make way for the newcomers.

In seriousness though, I do not believe we should shelter existing residents (read homeowners) from the economics they impose on newcomers. Removing tax breaks (Prop 13) would go a long way.

0xfaded··on Housing wealth is meaningless, destructive and fundamentally changing society
The argument this article makes is that Australians as a whole are not richer thanks to higher home prices, which is natural if houses a viewed as non-productive capital.

Therefore "rich" can't be the problem to solve for, it's fairness and equality. Culturally "a fair go" used to be the equivalent of the American Dream, and I think it's fair to say both are dead to most of the unlanded classes.

I've also spent a lot of time in Japan, and in many ways culturally they at 10-20 years ahead. For many life became unfordable there for different reasons, and I buy into that this contributed to the plummeting birthrates.

Societies come under evolutionary pressure, just as life does. It's entirely possible that unsustainable societies will simply die a quiet death while others take over.

← PreviousPage 3 of 23Next →