HNHacker News
TopNewBestAskShowJobs

sempron64

721 karma · joined October 10, 2017

submissionscomments
sempron64··on Google Web Environment Integrity Is the New Microsoft Trusted Computing
I think the pushback against Voter ID laws is ridiculous, but not allowing the disenfranchised to use a computer is ridiculously dystopian.
sempron64··on No-more-secrets: recreate the decryption effect seen in the 1992 movie Sneakers
A lot of pain comes from OS apis which are not supported in the standard library, like graphics, audio, and media. These inevitably need libraries and frameworks to work cross-platform.
sempron64··on We are wasting up to 20% of our time on computer problems, says study
Particularly regarding parsing: Here's an excerpt from an interview with Anders Hjelsberg I heard recently. He's the creator of the Turbo Pascal compiler and later on of the creators of C#.

https://www.aarthiandsriram.com/p/our-dream-conversation-and...

``` Turbo Pascal 2 and Hash Tables

Sriram: I think there is some, we're going to talk later about things like GitHub co-pilot, we're dealing with different kinds of code reuse, but I do think there's a little bit of romance in the, for example, I idol you and folks like John Carmack. John Carmack noodling away and trying to make sure every instruction and memory access is aligned on some cash line. The amazing thing is, even today, if you look at AI at the heart of it, you have matrix multiplication and doing things with floating point numbers. Some of these things really tend to matter, which on the theme of optimization, tell us a story of Turbo Pascal 2 and you discovering hash tables because it's legendary.

Anders: [laughs] It is a funny story. You have to remember here that I am self-taught in the art of writing compilers. Now, I have since discovered and read a lot of the literature, but at the time, I was just coding away and doing it the best way I knew how. When you create a compiler, one of the things you have to create is simple tables, or they're not necessarily tables. They could be linked list, they could be whatever, but you have to look up names. When you're trying to compile a code that tries to assign one to X, well, you have to figure out where is X? What memory address have I associated with X? You have to look it up the declaration of X.

In Turbo Pascal 1.0, the first version of Turbo Pascal, all of the variable declarations were just kept on a linked list because that much I knew, but of course, searching linked lists is not particularly efficient when they get large. For really large functions, that would just take an awfully long time. Then, well, maybe you could try first go by first letter, and then have 26 linked lists or whatever, and that could help a little bit. Then I remember reading the literature about these things called hash tables actually in this book by Niklaus Wirth, Algorithms +, what is it? Yes, Algorithms + Data Structures = Programs.

A great book. He explains hash tables and I go, "Oh my God, that's amazing. I got to go try this." I went and implemented it and boom, the compiler went twice as fast. There's Turbo Pascal version 2.0.

[laughter]

Aarthi: Awesome.

Anders: There's a good reason to sell upgrades. ```

Do you really need a proper parser to sell 1.0? A literal compiler project did not fail due to the lack of a "proper" parser (though it can be argued that the lookup table is after the parsing stage; obviously there was not a strong distinction in the Turbo Pascal implementation between tokenization and compilation).

sempron64··on We are wasting up to 20% of our time on computer problems, says study
I’d be very upset if my dishwasher broke every 5th time I used it. And in that scenario I’d much rather wash the dishes by hand.

Probably the same for my clothes vs. the washer.

If it takes 10 minutes to boot my computer, log into 10 SSOs with two factor, and install 57 updates, at what point do I start keeping graph paper and a desktop calculator to track my sales instead of using excel?

sempron64··on We are wasting up to 20% of our time on computer problems, says study
The problem with a careful but non-methodical approach is that it requires the programmer to correctly determine the stability value of their design. We often overestimate the importance of architecture on stability, or worse, architect something that is harder to maintain than the naive solution.

With buggy ship-it-now software you have a known bounded risk - bugs will occur in some cases but the software will ship and the bugs can be fixed because it’s simple.

With prematurely architected software the risk is unbounded - the project may get bogged down indefinitely in its own complexity without shipping.

The inverse extreme can also be a problem, of course A project that is maintained for a long time on the naive implementation will also become unmaintainable. However, this will be due to _known_ architecture problems encountered during maintenance. These problems can be addressed in a relatively bounded amount of time. They are also quantifiable and thus explainable to management.

sempron64··on Mineverse
krunker.io has done something really impressive in this space. I’d love to learn how their engine works and how it loads so fast.
sempron64··on Initiative to connect all European capitals through a high-speed train network
It’s not backwards, high speed rail was invented in the 60s with the shinkansen, about the same time as the modern airliner.
sempron64··on Reddit’s blackout protest is set to continue indefinitely
Who pays the moderators of all the major subreddits?
sempron64··on NYC Subwaysheds
There is no direct bridge or tunnel between Manhattan and Staten Island, only a ferry. Staten Island is connected to Brooklyn via the Verrazano Bridge.
sempron64··on Meta announces its Quest 3 VR headset
I wonder if the apple vr headset is just a way to get people to visit their stores and buy something else
sempron64··on Two men got jobs at Amazon just to steal copies of Zelda
I remember when I was a kid and someone's mom worked at a book store when Harry Potter came out...
sempron64··on Imagine a Renters' Utopia. It Might Look Like Vienna.
(Before you talk about homeowner’s associations restricting decoration: they are the problem, not the homes. I live somewhere without one)
sempron64··on Imagine a Renters' Utopia. It Might Look Like Vienna.
Having lived in an affordable apartment and a house I don’t understand how living in a rented box in a building which you have no right to significantly modify is less cookie-cutter than owning a home which you can renovate and decorate to your liking, inside and outside, have a garden, host guests, etc.
sempron64··on Waymo and Uber partner to bring autonomous driving technology to Uber
The notion of shutting down all improvements due to fear of induced demand is ridiculous. Let's also stop building sewage systems because of induced demand and all defecate on the ground. It will reduce water use and be good for the environment by enriching the soil.
sempron64··on Tunnel of Eupalinos
The first tunnel of this kind is of interest also https://en.m.wikipedia.org/wiki/Siloam_tunnel
sempron64··on A small number of companies are colluding to cheat H1B visa lottery, US says
I do! Do you know someone who's hiring?
sempron64··on New York to launch first major offshore wind farm in U.S., this year
New York is going backwards on climate by shutting nuclear generation.

https://www.nytimes.com/2021/04/12/nyregion/indian-point-pow...

For context, the South Fork wind farm in this article is slated to produce 130MW

Indian point produced 7GW.

https://en.wikipedia.org/wiki/Indian_Point_Energy_Center

https://en.wikipedia.org/wiki/South_Fork_Wind_Farm

sempron64··on AI is taking the jobs of Kenyans who write essays for U.S. college students
The question is how do you fix that situation?
sempron64··on MRI brain images become 64M times sharper
Is this enough to reconstruct the brain for simulation?
sempron64··on Samsung considers moving to Bing as default search engine
Anecdotally, their actual search results have sucked for me. For example, I searched for “narrowest cars with 6 or more seats”, and Bing’s results were terrible and irrelevant. The AI version gave me some acceptable results but very few. Google returned pages of relevant results from different years.
sempron64··on Ask HN: Where are laid off employees gathering?
Yes, I know talented engineers from several companies that were laid off simply due to being unlucky enough to have ended up on the “wrong” project
sempron64··on Bay 12 Games has made $7M from the Steam release of Dwarf Fortress
Apologies for the lack of clarity, I was addressing just this sentence in the parent

> That would require greater than 50% taxation, which isn’t realistic at all in the United States.

My point is that higher than 50% total taxation on a large single-year income (considering local and corporate taxes) is entirely possible in the United States, though it may be less in some states than other. I’m not saying that the estimate is correct as the Tarn Brothers don’t live in California. But if they took the income to a corporation, paid corporate income tax, and then took the whole income or a large part of it as dividends in a high tax state, then >50% is quite possible. On a pass-through entity, close to 50% is the standard and unavoidable in high tax states.

sempron64··on Bay 12 Games has made $7M from the Steam release of Dwarf Fortress
The top federal income tax bracket is 37% and the top California tax bracket is 12.2%. This is for income exceeding 500k. So disregarding local taxes and property taxes, in California most of this income would be taxed at 49.2%.
sempron64··on Firefighters forced to smash window of driverless Cruise taxi to stop it
What about a dangerous situation like a criminal trying to enter the vehicle where the right response is to avoid them and drive away?
sempron64··on U.S. economy expands at 2.9% annual rate in fourth quarter
I would say that “normal” people are doing very well compared to last year as labor demand and wage rises at the low end are high, energy prices and food prices have come down, and housing is crashing in many areas.

The upper middle class (i.e most software professionals on this site) and tech billionaires are having a shit year as tech stocks crash and weigh on the market. Don’t discount that you’re in an info bubble. The worst info bubbles are ones that affect the journalism industry and extremely online communities like the ones frequented by software engineers.

sempron64··on Google to reduce workforce by 12k
ChromeOS was a game-changer too.
sempron64··on Binance caught commingling funds between US and international exchanges
Classic case of the pot calling the kettle black re: the Binance/FTX feud
sempron64··on The end of AM radio in your car?
All this requires to be true is that basically all Americans who are in a car weekly turn on the radio when driving, which is very believable. Some people also still have a radio in the kitchen of course.
sempron64··on China state CCTV avoids crowd close ups at the World Cup
It’s hard to say it’s a failed policy when we have no evidence against the null hypothesis, which is global nuclear war.
sempron64··on GPUs are headed in the wrong direction
Good opportunity for Intel.
← PreviousPage 2 of 9Next →