skysight-inc/HackerNews huggingface dataset:
In 1996-1998 as a teen I "made some websites" for local businesses. The one I made for my parents even had a search function (in PHP) in a CSV with their products (which were like 100). The CSV was generated by taking whatever Lotus Approach (their desktop DB) generated and transforming it with some custom Haskell code (I was a teen, what did I know). They clicked an icon to pull the data and another to run a FTP batch file.

Fast forward, I understand nothing of the website being developed in React for my startup. The othe technical cofounder does grok it, but I could not lend a hand and can barely even supervise the outside help we brought. I like to think of myself as well-versed in a generalist manner. I can hack a custom sparse matrix (with a very particular structure I was able to prove an iteration for) inversion algorithm, but I understand nothing about painting the background the correct shade of blue!
Looking up average software engineer salaries in Vancouver BC gets you numbers between 70 and 100k CAD.

That's about what I was making in a medium (~100k) midwestern city over a decade ago and less than the average software developer there makes now.

I'm pretty surprised by how big of a difference it is honestly. Even companies like Amazon and Microsoft in Vancouver were only averaging 100k CAD salaries. (Stock helps, but that would be an extremely low salary just a few hours away in Seattle)
Are you referring to the fact that WSL2 is technically a VM?

You're not wrong, but the point seems a bit pedantic—Microsoft is clearly investing a lot into making WSL2 feel native, and it runs acceptably fast.
Given the publication date of May 2008, isn't "JavaScript The good parts" deeply outdated at this point? Would you still give it to a beginner?
Well, the ULTRA HD vision sounds pretty cool. I once smoked some DMT laced reefer in high school 50 years ago and it was a nice short trip.
Understanding User Management in PgBouncer
Not sure that's the right approach. Admitting people who are most likely to succeed is credit-taking in the guise of teaching. To maximize college's benefit to society, I think you should admit people whose success would be most improved by college. It would be a bit counterintuitive though, you would mostly admit average applicants (because top ones will succeed anyway).
What is your basis for saying this? The UAE has the third highest oil production per capita in the world.
Isn't that weird - not a programmer but ... surely the only code they need to run on every page load is to add an event handler for forms to check if a login form has been focused? (At which point their add-on runs). What else are they doing?
I'd be satisfied with just being able to set a default browser at the very least.
By being a much more pleasant place to live.

I live in one of the less wealthy EU countries. Almost everybody have 26 days of paid leave a year here. If I'm sick it's additional paid leave. University education and healthcare is free. Retirement is handled as well (but you got to save something yourself additionally if you want quality time on retirement).

There's a combined year of paid maternity/paternity leave for each kid. Cities are clean and safe, police shoots like 100 bullets a year nationally and usually it's warning shots. There were no mass shootings, ever. Last time police killed someone without obvious explanation it was a huge scandal and it's still discussed 4 years later on national level.

I use a car once a month at most, usually I ride a bike or just walk everywhere. There's also public transport that's cheap, clean and dependable (not so great during the pandemic though). There's no social stigma associated with walking/biking or using public transport.

Property tax is almost nonexistent, if you work as a senior developer you can buy several flats in a big city, rent them, and live from that, if you wish.

You can buy a flat in a big city for about 5 years of average developer's salary. All the costs of living are set for people who earn less than 1/5th of what you earn. You have all the interesting countries right there, you can visit them by bike, car, train, or fly (if you are flexible with the date usually you can find 2-way flights for less than $100 between any 2 places in EU).

I mean it would be nice to have millions of USD but if I have to deal with the paperwork, no holidays to speak of, spend hours in traffic every day, and afterwards the only significant difference in quality of life is a few more 0s on my bank account - nah, I'll pass.

It would probably be different if I wanted to start a global business.
React is 8 years old. It's went through 3 major shifts: From react.CreateClass({}) style, to Class-based components, to now Hooks. In between, it's always embraced and tried to allow the community to adopt a more functional way of programming (Honestly, my personal take is embracing the classical-OO style is what made a lot of this "churny" feeling).

But honestly, that's not really that much in 8 years. I think what we are observing is the sheer popularity of React, and how much content is out there, that it feels like every week someone is picking up from some point in the timeline, and it all gets resurfaced and refreshed in people's minds. But those of us who have been here from the beginning would probably say all the improvements have been positive.

Really what has changed rapidly, especially in the past 2-3 years, is the underlying web technologies. I am finding that hard to keep up with.
Yes. The legal justification for affirmative action getting an exception to anti-discrimination laws is that a diverse student body improves the quality of eduaction for all students; so there is a compelling interest to discriminate.
Yeah, the tabs show the filename. I have mouse support turned off so I’ve never checked if you can click on them, but I would expect that to work. IIRC bookmarks are bound to M-Insert by default; it should be in the man page somewhere. Regular expressions work if you press M-R once invoking the find dialog. Nano’s pretty powerful!
"Acknowledge the past" would have been a controversial position in 1945, maybe in 1955, but definitely not in 1985.
Even Raspberry Pi has an integrated GPU. They feel slower because they're lower-frequency in-order chips, and while the chips themselves have multiple cores many applications don't use them properly - more specifically, they don't render the UI in a dedicated thread.
SpaceX Inches Closer to a $16B FCC Payday
I found this hypotheses in "The Blue Sense" (which gives other interesting related ideas) but it might have an even older origin. Nevertheless, it is an intriguing idea.
Resume driven development bad.
Service Decomposition Pattern
Show HN: Block trackers system-wide on Linux/Windows, a Pi-hole “to go” alt
Based on the article:
> Physicists have traced three of the four forces of nature..

and your comment:
> Imagine some kind of alien life form that arose and evolved in intergalactic space.. but they have never seen any sufficient concentrations of mass to notice gravity.

I am wondering is it possible that we also evolved in some "special" part of space in which we do not percive some other ("fifth") fundamental force of nature just like your 'intergalactic aliens' do not know about gravity?
> if you have an actively-developed macOS application today, you'll be able to produce an ARM version of it tomorrow (or, y'know, whenever Apple actually activates this capability) by ticking the right box in Xcode.

Will this also take care of existing low level optimizations? I can easily imagine Adobe and everyone in the sound/3D area to run custom specific x86 Assembler code in hot paths.
My original comment discussed the prospect of ARM becoming the leading architecture for the entire range of machines that at the moment tend to be x86 - that's laptops, desktops, workstations, and servers. For this to happen, ARM needs to be capable of dealing with intensive, CPU-heavy tasks like compilation. As the Torvalds quote in the linked article explains, ARM servers cannot become the norm without ARM desktops becoming the norm and vice-versa.
This is an excellent question--that should be answered by data. Is there a thresholding effect? It could be that say there's not much difference in a hundred points in the SAT. But, maybe GPAs actually are more predictive. I assume that rec letters are useless to first approximation unless the recommender writes something about the student that raises flags.
More specifically it's the lightest weight class in boxing. Lightweight is actually about bang in the middle of typical weight classes
> The politicization of a medicine has been one of the stupidest things I’ve ever seen in my lifetime.

Couldn't agree more.
It's insane that medical science gets turned into a partisan pissing match.
> It is stored in the geometry of spacetime

And because changing the relative position of objects changes the geometry and the conservation of energy and momentum exists, can't we say that we don't even have to think about the geometry as the "store", but that it's enough to know that it is a property of the whole system we observe and that when it changes the conservation is not violated?
> This point can imv be applied to many historical failings and their long lasting legacies.

Feels particularly resonant at this point in the United States. I've heard the argument before that slavery was abolished long ago, so it's time to move on. Unfortunately to the contrary: the effects are still with us. That doesn't mean us white folks have to assume personal guilt as if we held slaves ourselves, but we should be active in making amends.
I certainly do not begrudge the efforts that go into building the shuttle software the process they must follow to ensure their code remains at such a high level of quality. When you have essentially an unlimited budget you can achieve a lot with competent managers, staff, and a process that is well-defined and understood and, most importantly, enforced. I don't know the details here but I'd be willing to bet that the cost of developing and maintaining their code greatly exceeds that of the vast majority of successful software efforts on a per line of code basis.

It gets back to the old saying: Cheap, Fast, Better. Pick two.
It seems likely that kids and some adults will always have an irrational fear of the dark, since thousands of years ago nocturnal tigers used to eat our ancestors. The light/dark association is probably baked into our DNA due to this selective pressure; it's an unfortunate coincidence that similar words can be used to describe skin tone.
The contribution which oil makes to Dubai's economy has been in the single-digit percentages for many years.[0] While the UAE overall is known for oil output (though this chart[1] states that it is lower per capita then you suggested, at least for 2017), the UAE is an only loosely joined federation, and so the oil output of other emirates is not reflective of Dubai.

[0] https://www.bloomberg.com/opinion/articles/2018-01-14/dubai-...
[1] https://en.wikipedia.org/wiki/List_of_countries_by_oil_produ...
Almost every time it is better to invest in learning your framework well and learning patterns to work around framework's issues rather than learning a new framework.

First, it is naive to think the new framework does not have any problems. Marketing would like you to think everything is perfect but if that ever happened, why do we have new frameworks all the time?

Second, you will pay with decreased productivity while you are learning the new framework and you are not guaranteed to be more productive than with the old framework.

Third, due to decreased initial productivity, even if you potentially get more productive with new framework, it is going to take time to realize any benefits. If you are switching the framework too frequently you are cutting yourself off from the benefits.
>I suppose I'd be okay with a 30% fee if Apple didn't charge us $99 to maintain a developer account

Those two things aren't remotely equivalent. $100 for a dev account is peanuts. It's there to support the iOS dev ecosystem and isn't unreasonable. It should be a non-issue. 30% of app revenue, on the other hand, equates to thousands or millions of dollars depending on how popular your app is. That actually makes a material difference.
Netlify has a new home page
Close - from my quick skim here's my take

The RNA guide (sgRNA) is chemically caged here, so it has some molecular decorations that are removed with light. The sgRNA can't fully match the underlying DNA it's recognizing until those decorations have been removed with the laser, at which point Cas9 then cleaves the DNA strand.

Think of the sgRNA like a regex pattern. Cas9 is like the regex engine here (but instead of capturing a group, it cuts the sequence), and DNA is the search space. In this system, we essentially have a full match, and Cas9 is in position (having found the match) but it can't cleave yet, because the decorations are blocking the way. As soon as the decorations are removed by light, the sgRNA can move down into a full match, and Cas9 then cleaves.
A while back, I got tired of dealing with the mess of Gatsby, Next.js, and Vuepress, so I made my own static site generator in Python.

I don't want a GraphQL database for my static site. I just want something to template out my site's boilerplate, and I don't want to deal with Webpack speed, or lack thereof. One file, ~200 loc, and I understand all of it.

The tentatively named Zhi works fast enough for full rebuilds triggered by fswatch. It does one thing and does it well:

fswatch -0 -e .venv -e out . | xargs -0 zhi build

If there's interest in a simple, understandable Jinja-based static site generator, I can clean it up and release it: https://github.com/0az/zhi (empty repo).
Yes, I'm really relaxed about the $99 fee as it keeps a lot of half-baked software out of the store.

On the other hand the 30% fee would stop me putting my software in an app store. I know the usual argument is they will deliver extra customers however that argument seems dubious when there are 2 million other apps fighting for attention.
Selling People What They Want, Not What They Need
Yes, the VM approach won’t work if your underlying architecture changes. And it’s hard to make it fast if you’re emulating, as I know firsthand from working on this for iOS ;)
Show HN: Navim browses files on the terminal with minimal amount of keystrokes
This is really good. Not much else to say here, other than ‘thank you’.
I think the hypocrisy of this stands out in tech more than other industries, because people have got used to the idea of tech "making the world a better place" and being a force for good.

There are bright people making lots of money in other industries who would struggle to even pretend they are making the world a better place.

In fact, how many jobs are there where you can get reasonably high pay and status, and still feel like you are actually improving the world? Medicine springs to mind, the sustainable energy industry...some parts of the software industry...anything else?

Sadly it seems most of us need to sell at least a little bit of our soul to pay the rent.
It's probably not what OP meant but an apology is also no longer possible.

Assuming of course I can only apologize for something where I was somehow involved in the first place.
It's also about national defense, not just economy.

Republic of China is a big target of People's Republic of China. Sure, there shouldn't be a war, but in the worst case scenario, USA is kinda screwed by having all their chip manufacturing there. Notice that the new TSMC factory is with big emphasis on military contracts.
The RISC vs CISC discussion was important in the nineties but not anymore. There's absolutely nothing 'reduced' about modern ARM chips, and every Intel processor since the late 1990s has used significant RISC design elements.

In modern contexts, the RISC vs CISC discussion still gets brought a surprising amount. But it is simply not relevant anymore.

See also previous discussions on Apple SoCs: https://news.ycombinator.com/item?id=19327276
Used to be good, I used a lot in the past, nowadays I use vim for everything(even after I purchased jetbrain whole bundle for years).

Geany is not improved fast enough these days, e.g. debugger was broken, markdown support is not as good, etc. In the core, geany uses scintilla(which is what is used by Notepad++), its capability is restricted by whatever scintilla provides.
Some sites make you download the PDF instead of showing it in the browser. The new tab opens and closes immediately after fetching the URL, so you don't get to see the URL in the bar. If the browser is set to open files with known editors, it will be downloaded and opened (and I can't recall if the PDF is still in the download list in the browser).

Edit: I work with datasheets. The following link forces me to download the PDF: https://www.st.com/resource/en/datasheet/stm32f103rc.pdf

This does not: https://www.mouser.it/datasheet/2/389/stm32f103rg-1851026.pd...

Don't ask me why....
Interview talking about creativity with the VP Product at Dribbble
A perfect implementation that no payment service provider may compete against Apple pay, this ensuring the whole ecosystem can keep on gouging vendors with high fees? Seriously?
No, it wasn't missed. What happened was that doctors thought that steroids would suppress the immune system, and that is not what they wanted at the time. My wife is asthmatic, and she was warned not to use her daily inhaler because it was a steroid.

Now, the belief is that the cytokine storm is what we want to avoid, and by suppressing the immune system, we can avoid it. So the original conclusion was completely wrong, but that's what happens when you have a new virus. Everyone thought this was a respiratory disease, but now it's looking more like a blood disease.
Tax Impact of Leaving CA in WFH Era
Tax on your equity comp can be complex from a state perspective. Make sure you understand the implications of leaving CA and how many more years you may owe CA tax!

Note the residency complexity at the end, I highly recommend reading CA's 2019 residency guidelines to determine if your plans means CA will claim your out of state income as taxable to CA.

https://www.upstartwealth.com/blog/will-you-owe-ca-tax-after...
Let me make the argument against axios.

Even if you are happy, your users may not. Axios (btw still on version 0.x despite being one of the older javascript packages, means it can introduce breaking changes without any warning, think about that) adds 4.4kB (minified+gzipped) to your bundle. Do that a few times and you have hundreds of kB of additional code your users don't need to download (and execute!). If all you need to GET or POST, without any special needs, the w3c fetch function is definitely better for your users.
Cutting This Action Out of Your Life Will Make You Happier
Adding to what the other comments said, compilation from source to IR discards a lot of information, such as C preprocessor directives (which might take the form of "if x86" or "if ARM"). So, no.
Right. That's why we need to be outward looking and tap into US capital markets/ecosystems [1] -- and also beyond, into untapped ecosystems in growth markets like Southeast Asia (which has a very active VC/startup ecosystem, but most Canadians wouldn't know this). There are many parts of the world where we just don't have a presence because we like orderliness and like to focus on developed markets. [2]
We need to evolve to be more than just hewers of wood and drawers of water.

Global companies in smaller European countries didn't look domestically to grow -- they either have had to have an EU/global business model from day 1 or in the case of older companies, had to evolve in that direction. When you're small, you have no choice.

[1] If you look at YC lists in recent years there are usually a few Canadian companies in there.

[2] Most Canadians have an affinity to Europe because they think the setup similar to ours, but unfortunately Europe is heavy on regulations, not a growth market and not a good bet
Just say that your child identifies as [insert popular identitarian group of the day] and put them between a rock and a hard place. They'll either have to accept your kid anyway, or admit that their agenda is BS and watch the facade crumble.
Yeah, that's what I meant by "their engines are more fuel efficient at highway speeds" - fuel burn is minimized under highway conditions (90km/h as you say sounds about right) since air resistance isn't crazy yet but you're in top gear and so getting the maximum distance per engine swept volume.
I would like to join in with many of the statements in this thread describing a joint lack of understanding of the physical universe as well as a deep fascination with it. I certainly count myself among those ranks.

In watching way too many YouTube videos on quantum physics and gravity I began to create a model of how the universe works at the very small scale and after a while something occurred to me.

We know that the path of a photon can be bent if it passes near a black hole. The key being that spacetime is being somehow consumed by a black hole and the photon is being dragged towards it. Thus, its path appears bent. I thought that similar effects should happen with volumes of a lighter mass. Perhaps with the same mechanism.

Neutron stars would have a smaller effect on photons, and a more measurable effect on heavier particles and molecules. Neutron stars would also somehow 'consume' spacetime. Just at a lower rate. Thus heavier particles would escape.

So too with the earth. Only, in this case, the mass of the earth is small enough that molecules can escape all on their own.

So, what is gravity? Gravity in this model is the effect of spacetime being consumed. By analogy the spacetime is like standing under a shower. We are glued to the earth because we cannot gain enough purchase against the torrent of spacetime being consumed by the mass of the earth.

Which brings me to the second question. Well, this is where actually having some physics would be useful. But after many drunken bouts of thought, I'm convinced that this spacetime consumption is down to [color confinement](https://en.wikipedia.org/wiki/Color_confinement#QCD_string).

Anyway, enjoy. If nothing else, this should at least be useful for some sci-fi anti-gravity mechanism.
It does seem silly. Jet fuel is kerosene, which is also used in oil lamps. It's a lot less volatile than gasoline.
> It's not "aid"

I don't see that claim supported by the text:

https://www.reuters.com/article/us-usa-semiconductors/u-s-la...

"A bipartisan group of U.S. lawmakers on Wednesday introduced a bill to provide more than $22.8 billion in aid for semiconductor manufacturers, aiming to spur the construction of chip factories in America"

Do you have some quote to support your claim?
I think there’s a silver lining to all of this behavior in that it demonstrates that nothing really matters when it comes to determining if you’ll be successful in college.

Test scores don’t prove much except who had the resources, time, and motivation to study the most. You could replace the SAT and ACT with obscure movie trivia and you’d see roughly the same distribution of scores and it would have the same predictive power. The people who signal that they’re willing to put it a lot of time, money, and effort into their education do well… surprised pikachu.

There’s no such thing as qualified for college outside of a genuine desire and motivation to do it.

So I don’t see any sort of contradiction in colleges admitting people based on novelty, coolness, and straight-up effort.
ARM has always been a performance-per-watt powerhouse. The story goes the first processor was tested without a proper power connection and ran on the IO-pins.
Does that data set factor in inflation? I could't tell from write up.

If not, The 1997 number would be ~$2,200B, after adjusting. That would still only be a slight decline.
Hahaha that's genius, I'll give that a shot someday!