leetcode seems to agree with your definition [0]. the meme isn't to say that inverting a binary tree is particularly difficult - anyone familiar with coding challenges and trees could trivially produce a solution. the meme is more pointing out how ludicrous it is that senior/staff/principal interviews can hinge on these types of problems, despite the engineer proving their proficiency by doing something like running DOOM in typescript types or writing homebrew [1]. [0] leetcode.com/problems/invert-binary-tre…... [1] x.com/mxcl/status/608682016205344768
By year
2020
Ideas that Hacker News readers were still recommending in 2020.
Counts show how many picks Hacker News readers cited in each year, not when the post was written.
From the Hacker News thread
From the Hacker News thread
twitter.com/naval/status/10021034977251… > Seek wealth, not money or status. Wealth is having assets that earn while you sleep. Money is how we transfer time and wealth. Status is your place in the social hierarchy. twitter.com/naval/status/10021036273878… > Ignore people playing status games. They gain status by attacking people playing wealth creation games. From @naval’s Twitter thread “how to get rich (without getting lucky)” twitter.com/naval/status/10021033606468… My note: wealth is options; options are freedom, and buying your time back. Only play status games if you’re playing for fun, but don’t confuse it with success and freedom.
From the Hacker News thread
I like that this story references the #deleteUber tag on Twitter because it helps organize the timeline of events going on at Uber. There was another twitter thread on here recently about the chaotic and disastrous (though successful) Swift rewrite they did which happened during the same time frame. twitter.com/StanTwinB/status/1336890442… During those time frames is also when all of the execs were quitting or being fired, along with their internal harassment problems. It feels like Uber has really succeeded in spite of itself.
From the Hacker News thread
Every time something comes up, this is how I explain it to people: "Why Enterprise Software Sucks" x.com/random_walker/status/118263558960…...
From the Hacker News thread
Some of that isn't the text editors fault. With the C64 the keystroke may be on the screen before it out of the USB stack on a modern computer. That is even before you start to consider the latency in the video stack. As John Carmack once noted: "I can send an IP packet to Europe faster than I can send a pixel to the screen. How f’d up is that?" -- twitter.com/id_aa_carmack/status/193480…
From the Hacker News thread
This is my life motto. Progressive exploration, codifying, use your codified workflows. > for each desired change, make the change easy (warning: this may be hard), then make the easy change - Kent Beck x.com/KentBeck/status/250733358307500032
From the Hacker News thread
@quantian1 correctly determined that this was an ammonium nitrate blast by analyzing the footage: twitter.com/quantian1/status/1290695231… CHEMISTRY FACT: Explosives have characteristic "detonation velocities" at which shockwaves expand. Smartphone video records at 30 FPS, so the adjacent frames here suggest the front expands at ~100 m/(1/30 sec), or 3,000 m/sec. Consistent with ammonium nitrate, not black powder. This was confirmed a few hours later: twitter.com/BBCBreaking/status/12907585… Lebanese president blames 2,750 tonnes of ammonium nitrate left in warehouse unchecked for six years for devastating Beirut blast EDIT: By the way, one of my friends was almost killed by the explosion. Thankfully they're ok. But they said: twitter.com/cyrilzakka/status/129076621… This was terrifying to experience. Hospitals are being overrun with injured people. We need blood donations and disaster relief. Help however you can. As a US citizen, is there any way I can help directly? Is there any organization that ships blood donations directly to a disaster site? I suppose that would be very difficult, so the answer is probably no; it's frustrating not being able to assist.
From the Hacker News thread
FFmpeg is a part of Chromium and Chrome. That's it for "company of any significance would ever use it" statement. chromium.googlesource.com/chromium/thir…... Also: All the giant companies used ffmpeg (2020) twitter.com/ID_AA_Carmack/status/125853…
From the Hacker News thread
I opened the video. Saw that it is edited (It does not show the entire meeting from the beginning to the end unedited. He puts clips of himself in the middle. He does his signature "ask for donations" thing. Etc). Given literally the entirety of his work history, I know it is going to be misleading if not an outright lie. So I spent 1 minute realizing it won't be worth my 30 minutes and closed the tab. And if you are going to argue that this is not enough to refuse to believe the video and I should present more concrete evidence, I will refer you to the bullshit asymmetry principle: twitter.com/ziobrando/status/2896350607…...
From the Hacker News thread
> There is a huge blindspot, I've noticed, where people mistake familiarity for ease of use (and other qualities too). The "legacy" Windows design isn't just so beloved because of familiarity, but because it actually provides visual cues to users [1], and the backstory on how it was designed is also interesting [2]. I know that there was an even more detailed article floating around here on HN but I can't find it offhand. [1] twitter.com/tuomassalo/status/978717292… [2] socket3.wordpress.com/2018/02/03/design…...
From the Hacker News thread
One thing I learned from using Little Snitch is that a lot of Apple apps are seemingly immune from these types of firewalls, due to Apple shenanigans around k-ext signing etc [0]. Ref also [1]: > In Big Sur Apple decided to exempt many of its apps from being routed thru the frameworks they now require 3rd-party firewalls to use (LuLu, Little Snitch, etc.) > Q: Could this be (ab)used by malware to also bypass such firewalls? > A: Apparently yes, and trivially so [0] x.com/patrickwardle/status/131843792949… [1] x.com/patrickwardle/status/132772649620…
From the Hacker News thread
Dan Luu talks a bit about this here: twitter.com/danluu/status/1115707741102…
From the Hacker News thread
More directly and earlier, and, amusingly, a reply to tptacek is: twitter.com/veorq/status/83487298844506… The line of thinking is more fully (if less sha2-specifically) covered in Aumasson's 'Too much crypto' paper, which has also had HN discussions.
From the Hacker News thread
I find this tweet about how Google approaches web standards illuminating. To quote: > 1. design a flawed API (it's fine! APIs are hard) > 2. ship it in the most-used browser, despite objections > 3. get cross-browser working group to fix the API > 4. oops, too late, that would break the web twitter.com/Rich_Harris/status/12204127…
From the Hacker News thread
The biggest difference is that the class based components are an older iteration of the API into React, one that lies closer with how React internally works (or worked), but one that is not necessarily useful for writing correctly working components. Say you have a component that renders some data it fetches from the backend, and it received the ID via a prop. In a class based component you might be inclined to write the fetching logic in the componentDidMount or maybe the constructor. However, if you change the ID you feed the component, the component will update instead of being recreated. In the naive class based version it won't refetch the data, and won't behave correctly. With useEffect hooks you don't really care anymore, you can reason about side effects in the same declarative way. You express the fact that fetching new data is a dependency of the prop changing, which holds true both on first render and later on update. The hooks API fixed a handful of these 'mistakes' that were still present in the class based API. I agree that the syntax might look awkward at first, but the hooks API is much better thought out than the class based one. (Some anecdata: almost any component that I rewrote in hooks-style has been halved in number of lines of code, the concepts have been much less spread out over the file. See this tweet for an example: twitter.com/threepointone/status/105659…)
From the Hacker News thread
Yeah, but in truth you might never need Suspense when using Svelte. Reacts needs Suspense because it's quite slow and bloated in comparison. See this video Rich Harris made when comparing a visualization use case: twitter.com/Rich_Harris/status/12008075…
From the Hacker News thread
I'm sure there are other reasons, but three understandable reasons I've seen: 1) The lack of e2e encryption despite trying to market themselves as having secure video chat. 2) news.ycombinator.com/item?id=22749805 (comment in this thread - they literally phish you) 3) twitter.com/c1truz_/status/124473767293… abusing the traditional installation process on OSX EDIT: OK (2) may be a real system prompt - twitter.com/DigitalResist0r/status/1245…...? I didn't see anyone else in the twitter thread claim that it was using a real system dialog, so I'd still say it was poor practice of them to have such a shady looking system dialog.
From the Hacker News thread
What you wrote about C versus C++ is largely untrue. C++ is not faster than C, even when “using library functions which use void pointers”. There is nothing about a void pointer that prevents inlining in either C or C++. There is also no “optimized on actual types” for C++ and not C, since everything is compiled into a low level intermediate language in the compiler (typically three-address code). All of the C++ types are absent at that point. The low level intermediate representation is then what receives optimization. For example, GCC will outright inline both bsearch() and the provided comparator in cases where it can see the definition of the comparator, such that there are no function calls done to either bsearch() or the comparator. C compilers will do this for a number of standard library functions and even will do it for non-library functions in the same file since they will inline small functions if allowed to do inlining. When the functions are not in the same file, you need LTO to get the inlining, but the same applies to C++. That said, I have never seen assembly output from a C++ compiler for C++ using C++ specific language features that was more succinct than equivalent C. I am sure it happens, but the C++ language is just full of bloat. C++ templates usually result in more code than less, since the compiler must work much harder to optimize the result and opportunities are often lost. It is also incredibly easy for overhead to be hiding in the abstractions, especially if you have a thread safe class used in a single threaded context as part of a larger multithreaded program. The compiler will not optimize the thread safety overhead away. You might not believe that C++ language features add bloat, so I will leave you with this tidbit: twitter.com/TimSweeneyEpic/status/12230…... Tim Sweeney’s team had C++ code that not only did not use exceptions, but explicitly opted out of them with noexcept. They got a 15% performance boost from turning off exceptions in the compiler, for no apparent reason. C, not having exceptions, does not have this phantom overhead.
From the Hacker News thread
Randall Munroe, the xkcd guy, has some fun takes on these Google fact-box mistakes: twitter.com/xkcd/status/133352996707912…
From the Hacker News thread
The reorg of GM by the Obama administration does not tick all the boxes [1], but is the most recent example that would come to mind of government support via BK management and recapitalization. The administration did this to save jobs and the manufacturing supply chain [2]. Capital is made up, management is fungible, manufacturing supply chains and systems are the hard part (which is why, after incredibly aggressive financialization, Boeing is having to acquire Spirit AeroSystems, which had previously been spun out for cost savings...which went to management comp and shareholders). If you are optimizing for a specific outcome, it is important to understand the malleability and limits of the components that make the whole. Even Elon recognized this during Model 3 production hell [3]. I suppose we must always learn the hard way for the lesson to be of value. If management is the problem (and it is very clear Boeing management is the problem), it must be replaced so that the people who do the actual building can build. This is no different than the tech culture of "employ great people and get out of their way." [1] en.wikipedia.org/wiki/General_Motors_Ch…... [2] obamawhitehouse.archives.gov/economy/jo…... [3] x.com/elonmusk/status/984882630947753984 ("Yes, excessive automation at Tesla was a mistake. To be precise, my mistake. Humans are underrated.")
From the Hacker News thread
Incorrect. Apple's original presentations on Arm Macs suggested that booting other operating systems would be supported, and recently this has been confirmed by two of the engineers who worked on it. twitter.com/NikolajSchlej/status/133979… twitter.com/XenoKovah/status/1339914714… Although you cannot turn off secure boot on Arm Macs, Apple has deliberately provided a path by which you can prove that you really want to chainload to a user provided bootloader not signed by Apple. From there, obviously, it will be possible to load the kernel of another operating system, such as Linux.
From the Hacker News thread
There are plenty of commonly-touched surfaces when people spend a long time in the same space: door handles, elevator buttons, countertops, buffet utensils, gym equipment, money... I don't think the hand-washing is epidemiology theater, in part based on this thread: twitter.com/PalliThordarson/status/1236…...
From the Hacker News thread
hunt and peck is probably an exaggeration but typing speed is not the bottleneck for programming twitter.com/id_aa_carmack/status/130265…
From the Hacker News thread
I think thewhitetulip has GvR's blessing[0]. It makes sense, though: There should be one-- and preferably only one --obvious way to do it. Although that way may not be obvious at first unless you're Dutch. The guy's handle is thewhitetulip, which is the most Dutch thing I can think of. [0]: twitter.com/gvanrossum/status/112670605…
From the Hacker News thread
The PinePhone in its current iteration is unfortunately unusable. It's a shame because while I do wholeheartedly believe in the mission of the project it's simply just not quite there yet. Nevertheless, a much better alternative in the meantime is to do what Edward Snowden did: twitter.com/snowden/status/117543072273…....
From the Hacker News thread
You're not the only one who thinks this way: twitter.com/ID_AA_Carmack/status/121099…
From the Hacker News thread
Im pretty sure its this now. twitter.com/matthew_d_green/status/1341…...
From the Hacker News thread
Good explanation of why a milder more contagious variant is bad news : twitter.com/AdamJKucharski/status/13435…...
From the Hacker News thread
NSA put (effective) backdoor in Dual_EC_DRBG: schneier.com/blog/archives/2007/11/the…... Thread by someone directly involved on why the ISO rejected NSA ciphers in the past (hint: they refused to justify design decisions, lied, and attacked the credibility of people who had put out actually-secure crypto): twitter.com/TomerAshur/status/988696306… Either they're too incompetent to be trusted or are bad actors and should be treated as such.
From the Hacker News thread
You can sign your own kernel: twitter.com/never_released/status/13263…...
From the Hacker News thread
I have to say that I'm happy that Ethereum does not do on-chain governance for this very reason. It more or less follows the IETF principle of "rough consensus". [0] As far as smart contracts are concerned; they're hardly "contracts", but you probably already knew that. Even Vitalik Buterin regrets calling them that way [1]. [0]: en.wikipedia.org/wiki/Rough_consensus [1]: twitter.com/VitalikButerin/status/10511…...
From the Hacker News thread
An open source project for external customers (i.e. us) operated by a bunch of unpaid volunteers will never really be able to compete with an application with paid developers, invested users, and the supporting departments. I'm not saying that open source projects can't get better, that they can't be good, but they will never be as good. For a corollary: twitter.com/patio11/status/936629310785…
From the Hacker News thread
This is a nice thread on the subject: twitter.com/nataliexdean/status/1310613…?...
From the Hacker News thread
The quote tweets are very good: twitter.com/search?q=https%3A%2F%2Ftwit…...
From the Hacker News thread
Good summary. One of the issues I find with Rails is that the 'old-way' of views, partials and a sprinkling of React is INSANELY productive. I've been trying hard to justify getting into Stimulus properly. DHH is on a four-month sabbatical at the moment and my hope is that he's working on open-sourcing the framework behind hey.com, which Basecamp are calling 'new magic'[0] There's something coming around object-oriented view components and client-size JS. I'm just not quite sure the perfect recipe has been found yet. twitter.com/dhh/status/1275901955995385…
From the Hacker News thread
I think it's intresting to read about the guy who made yolo. Take a look at his website and later, his thoughts about the monster he may have created. x.com/pjreddie/status/12305247703508172… pjreddie.com/darknet/yolo/ medium.com/@graham.wallington/the-evolu…...
From the Hacker News thread
Hey everyone! Thread author here. Happy to see so many people taking an interest in beautiful scientific communication! If anyone has other examples of beautiful typography or graphing/figures throughout history, I'd love to see them! I've been replying to the original thread on twitter with some favorites: twitter.com/iraphas13/status/1262489387…...
From the Hacker News thread
"Why is day of the month 1-indexed but the month is 0-indexed in C?" This Twitter thread from November 2020[1] and its HackerNews discussion[2] seem relevant. 1: twitter.com/hillelogram/status/13292284… 2: news.ycombinator.com/item?id=25195287
From the Hacker News thread
Following that link, I also came across twitter.com/hintjens/status/78325424205… "I'm choosing euthanasia etd 1pm." @12:35 PM · Oct 4, 2016 From Wikipedia: Pieter Hintjens (3 December 1962 – 4 October 2016) was a Belgian software developer It's his choice, and I support it if that's what he really wanted, but it's still really creepy to see.
From the Hacker News thread
> Why Sex Is Mostly Binary but Gender Is a Spectrum I’m not going to quote problematic points expressed in the introduction, but I want to provide additional context for “mostly binary”, which is somewhat misleading. Biological sex characteristics are also a spectrum, but with most people falling close to one of two points on that spectrum. It’s fairly commonly known that a small but significant portion of the population is intersex, having prominent characteristics from “both” sexes. While this is often explained as anomalous, it’s only by degree. I hope saying this is enough to encourage anyone reading my comment to not take my word for it, but to read this biologist’s Twitter thread[1] explaining in much greater detail than I could do justice, or rolled up by Thread Reader[2] for convenience as it’s lengthy. I know this isn’t a popular format here, but even being familiar with the concept I found the thread very illuminating when I read it around the time it was posted and it’s a common reverence I use when this topic comes up. [1]: twitter.com/sciencevet2/status/10352460…... [2]: threadreaderapp.com/thread/103524603050…
From the Hacker News thread
The percent of the world's population living in absolute poverty has fallen from 94% in 1820 to less than 10% today.[1] That's the greatest miracle in human history. [1] twitter.com/BillGates/status/1086662632…
From the Hacker News thread
John Carmack, who did some small amount of work on the code, had a short rebuttal of the "Lockdown Skeptics" attack on the Imperial College code that probably mirrors the feelings of some of us here: mobile.twitter.com/id_aa_carmack/status…...
From the Hacker News thread
This shows the circles without the inner circles: twitter.com/i/status/1331542934056001536 And this with stabilized rotation: twitter.com/spacecatmeowart/status/1331…... Super cool effect! This is the type of magic trick that becomes cooler as you learn more about it.
From the Hacker News thread
His twitter feed is pretty interesting. He's a damn wizard. twitter.com/MStrehovsky/status/12145425…
From the Hacker News thread
To save people some time, here’s the tweet: twitter.com/quinetweet/status/130995104… In essence, the approach was: * Find out what the tweet id is of a recent tweet * Find out what a tweet is shortly after * Estimate the rate of new tweets appearing * Publish a tweet with a reference to a tweet with a now+guess id The write up is well done and interesting but a little long winded.
From the Hacker News thread
The HAP bit doesn't do what you think it does: twitter.com/rootkovska/status/938458875…
From the Hacker News thread
Well done: twitter.com/oren_cass/status/1230505794… The guy identified the 4 big government backed monopolies, all with government backed debt, which all now eat a majority of income. We've known since 1776 that the way prices come down is competition. You should know that it's illegal to open a hospital or college without government permission. It's illegal to build a building. It's so bad that in order to open a hospital in most states, any nearby hospital can protest you license application merely for being close to another hospital. Who in their right mind would give an 18 year old $100k for college? Nobody. That's why the government backs it and you can't default on it. Who backs your mortgage? The government. It goes on and on and on. There is no mystery here AT ALL if you studied economics. The answer is very simple, allow competition. Now to lay back and drown in the downvotes :-)
From the Hacker News thread
Moxie Marlinspike has an interesting analysis on this: twitter.com/moxie/status/12487073156262…
From the Hacker News thread
Well said. I especially appreciate the distinction you're making between balancing liberty with liberty-destroying ideology. This is the kind of difficult nuance that I rarely see in these discussions. One one side there's the free speech absolutists, whose arguments tend to ignore the fact that unmoderated propaganda, and hate speech tends to be more addictive, and spread ignorance faster then fact-checking can fix it. The consequences of this sort of callous attitude are literally genocide[1]. On the other hand, there's the 'cancel-culture mobs' (for lack of a better term) which are now censoring regular speech that disagrees, or appears to disagrees, or isn't sufficiently subservient to their opinions. Just yesterday I was sadly reading this depressing thread where Yann LeCun was run off twitter[2] for explaining how bias (in the social science sense) can be traced back to various steps in the ML pipeline (in this case, mainly a feature of the dataset itself, but also the choice of errors, bias vs variance, etc). The inability to admit nuance is the only thing I can think both these groups share, and maybe what needs to be emphasized more. [1] nytimes.com/2018/11/06/technology/myanm…... [2] twitter.com/ylecun/status/1274782757907…
From the Hacker News thread
Because the number of positive cases is rising faster than the increase in testing. Also, make sure to split out the data per state/region. The decline from NYC for example made up a huge amount of the decline. Otherwise you run into Simpson's Paradox. Miles Beckett did a decent Twitter thread on the topic: twitter.com/mbeckett/status/12787506521…
From the Hacker News thread
In general it is is not true that Argon2 should be recommended over bcrypt. Even even some of the people on the experts panel for the PHC (where Argon2 won) won’t recommend Argon2 over Bcrypt: twitter.com/TerahashCorp/status/1155129… Looks like for the typical case (~200ms calculating the hash) bcrypt beats argon2. I guess that’s what I understand from those discussions, I’m not an expert by any means. It is related with cache hardness: twitter.com/Sc00bzT/status/114996367506…
From the Hacker News thread
Fun fact about Costco. More than 100% of its profits come from membership fees. The actual selling of goods loses a small amount of money. See this super interesting twitter thread: twitter.com/investing_city/status/11799…...
From the Hacker News thread
We should take the man at his word: twitter.com/patio11/status/124155331102… > I am materially wrong about the most consequential thing I've had to have a view on in 15 years. You should probably degrade your estimate of my ability to think through complex problems.
From the Hacker News thread
Thank you! It's quite apt isn't it? I'm a really big fan of his and have a print of his Tetrahedral Planetoid on my wall! Although the self-drawing hands are probably more apt for this even more Escher themed one that I've since been made aware of from the author in the comments here: twitter.com/mauritscorneIis/status/1266…...
From the Hacker News thread
I remember this discussion coming up at least once before. AFAIR the argument was that many people had problems interpreting the test strips (not waiting long enough, mixing the results up). So they built a more foolproof way of reading the strips, which then tells you exactly what's up in simple words. Edit: Turns out there's a response in this thread that says the same and in better words. [1] Man I hate twitter UI. [1]: twitter.com/RealSexyCyborg/status/13017…...
From the Hacker News thread
For those interested in Venus, I'd recommend trying to keep up with Don Mitchell's stream of stuff on Twitter. This thread where he produces updated imagery from the Soviet Venus landing is great [1]. He's also seemingly made a bunch of progress on his upcoming book [2]. He used to post everything to his website at mentallandscape.com, and it's still up for useful history / structure, but all his work for the past decade seems to be solely on Twitter (until the book happens!). [1] twitter.com/DonaldM38768041/status/1234…... [2] twitter.com/DonaldM38768041/status/1248…...
From the Hacker News thread
Here’s one example of a successful launch with almost no followers: twitter.com/dvassallo/status/1260964674…...
From the Hacker News thread
Yep, I came to the same conclusion twitter.com/jaffathecake/status/1296423…
From the Hacker News thread
Edit: I Googled it and it was Michael Siebel that helped them get into YC. You can debate what "walked in" means but I think it's safe to say the story of Airbnb getting into YC is one of Winning Friends and Influencing People rather than any brilliant ideas or work they did on their actual startup, which is precisely what the blog post is saying. Edit2: just saw on Twitter that @paulg posted the email that got Airbnb an interview. It's hard to imagine a stronger attempt at walking them in than they received. They got very special treatment from friends with connections. mobile.twitter.com/paulg/status/1337011…