skysight-inc/HackerNews huggingface dataset:
Errors are highly domain specific. When I worked in finance, I would have very much agreed with your description. But then, the code I wrote was fairly trivial, the challenge was communicating with the users and sometimes getting the users to understand what they were asking for wasn't what they wanted.

I, the same developer, spent a good hour recently trying to iron out the bugs in a piece of code that concatenated two integers bit-wise and calculated the offset point. That is, given two integers whose bits are

00000000,00000000,00000000,0PPPPPPP
00000000,000000QQ,QQQQQQQQ,QQQQQQQQ

The code should produce the shortest an array of bytes that looked like

ZZZZZZZZ,0000000P,PPPPPPQQ,QQQQQQQQ,QQQQQQQQ

Where Z in this case would be 18, the offset of P's bits. This is finicky in a way I've never encountered while I worked in finance. It's not exorbitantly difficult, but there are just a lot of potential logic errors to make.

The code, ultimately, looked like this (it's Java hence the extra awkward bit twiddling)

int pw = bitWidth(p);
int qw = bitWidth(q);
int pwr = (pw%8);

int totalSize = (pw + qw)/8 + (((pw+qw)%8)>0?1:0);

byte[] data = new byte[totalSize + 1];
int b = data.length - 1;
while (p > 0) {
data[b]=(byte)(p&0xFF);
p = p >>> 8;
if (p != 0) {
b--;
}
}

if (pwr != 0) {
while (q > 0) {
data[b--] |= ((byte) ((q << (pwr)) & 0xFF));
q = q >>> (8-pwr);
data[b] |= (byte) (q & 0xFF);
q = q >>> pwr;
}
}
else {
while (q > 0) {
data[--b] |= (byte)(q&0xFF);
q = q >>> 8;
}
}
data[0] = (byte) pw;

return data;

It's like 40 lines of code. It shouldn't be that hard. Yet it is. Bit-twiddling is error prone and hard to reason about and, dunno, maybe pwr isn't a great variable name, but the code really doesn't get particularly expressive even if you change it to pWidthRemainder or whatever. It's still basically a bunch of cthulhu fhtagn as far as I'm concerned.
"If we ignore the most valuable thing about Bitcoin its actually useless."

Bravo.
I’m unsure, unless the author is of especially high renown.

If there was two dozen “What life will be like in 100 years” articles published per year in decently sized newspapers we will have 240 such articles to choose from this decade. Surely we would only see the most accurate of these predictions, and that is survival bias.

Of course, maybe there was not a large variance between predictions, or everyone is accurate to a similar level of degree. In that case some other method of selecting which old predictions we read will be at play, perhaps based on which publications were better archived or random chance.
Store apps, or just web apps in general.

> you can still get the app version of windows desktop software.

Not really - you get app versions of portable software, which may be entirely rewritten from a similarly-named desktop app, but they're not the desktop app. It is as you say a separate version that requires separate maintenance.

What you can't do is take a 1996-era Windows app and run it on a smartphone without a complete rewrite. Surprisingly, you could do this with Windows CE for handhelds, like the Compaq Pocket PC which ran ordinary MFC apps with minor tweaks and a recompile.

Microsoft had one last go at desktop/phone unification with UWP, and that lost in the market.
>Also please don't make comments on me assuming I'm parroting, that would be nice :)

I did not said you specifically but I doubt you have years of experience in PHP and Java but let me know How what was the better alternative back then? Writing webpackes in C or some proprietary language with a paid compiler? Was there something much better and for some reason people used PHp because was cool and were tons of "write in PHP zelots"?

From my memory the LAMP stack was free and was easy to start with, Java was much more productive then the alternatives and it had good tools, books and documentation. I can't think at any good alternative except the late C# but Microsoft was to incompetent to do the right thing and kept it proprietary and Windows only for a long time.
Python is a generally easier language.

name = Input("What is your name ?")
print("Hi ",name)

That's a working Python program. To do the same in Java requires a ton of boiler plate. I don't think there's a person alive who can write a Java program which compiles from memory alone.

I hope I never have to work another job with Java again, most of it's not even the language but the tooling.

I was at a shop where we had to use Eclipse. Such a horrible IDE, it's apart of why I left.
I was fascinated to read about the predictions of communal-living skyscrapers with their own management, etc. Eerily similar to the Hab Blocks of Mega City 1

I then came to horrifying realisation that 1977 (when Judge Dredd first appeared) is only 55 years after the article, and now 45 years behind us(!!!). More or less halfway. Totally reasonable for them to have read this article, and still been far enough away from now to assume that this will still happen. This could easily have been the inspiration for Blocks.
Loved the poetic tone in the writing (1992). A lot less try than today’s writing. What caused writing tone to shift over the century?
> And look where that got us: the federal reserve printed trillions of dollars in 2020 to prop up the stock market.

They didn't print money to prop up the stock market, first of all, that was a side-effect.

A massive shock to the economy - remember COVID? - caused people to go home and stop working - to save money instead of spending it - and broke down supply chains. Without intervention this would have led to a deflationary spiral where merchants tried to lower the prices to incentivize spending, but of course this would mean they had less money to pay employees, which in turn meant employees couldn't afford goods - and so on. [1] All of the worst periods in world history were deflationary.

So the money supply was increased via QE swaps (which by the way, just swap assets on the books at banks with reserves to collateralize loans) and lower interest rates. This allowed folks to go back to work and allowed the economy to resume functioning.

Money isn't printed and handed out. Money enters the system via lending. All the money that was created will blink out of existence as the loans it was issued against are repaid. The Fed can reduce the supply if the supply itself is causing prices to go up - but it is not. The Fed has the tools to reduce supply just as it has the tools to increase the supply.

A lot of excess liquidity went into assets, but as interest rates go up, it'll come right back out and blink out of existence. So what?

The Federal Reserve literally saved the economy.

Explain to me how this is bad in any way?

This feels a lot like people complaining bitterly about the 2008 bailouts - which by the way were loans not grants, and have been repaid netting the US government over $100B in profits. [2]

Maybe, just maybe, the Fed isn't a scam?

[1] https://www.investopedia.com/terms/d/deflationary-spiral.asp

[2] https://projects.propublica.org/bailout/
> They will have rebelled against long hours; the chances are that in 2022 few people will work more than seven hours a day, if as much.

honestly, with remote work, seven hours a day seems about right. A lot of that isn't even lost productivity, it's cutting back on the general time overhead of working in an office.

I don't think that Americans are so prosperous that we've become less enterprising due to class immobility. but we do seem to be getting more efficient with our time
Yet that is not what was stated. The risk of pregnancy is not zero. If we really want to get into it, abortions are not 100% effective either. So yeah, extremely unlikely, but still a possibility that one has a child.
Transforming Suffering and Happiness
I may have seen too many murder mystery TV shows, but I can't help imagine bodies being found crushed beneath the lowered bed or inside a closed pocket office. What safety mechanisms are there to prevent accidents like this?
Jetbrains’ IDEs do more things by an order of magnitude than a vscode full-of-plugins, so it is not a fair comparison.
Socket | Remote | Full-time | JavaScript/TypeScript | Stanford, CA

Socket is working on a new approach to supply chain security by auditing every package on npm to detect suspicious changes – added install scripts, network usage, etc. – to block supply chain attacks before PRs are merged.

Our tech stack includes:

- Node.js

- TypeScript

- React

- Postgres

- Redis

Open positions: Backend engineer, Frontend engineer, designer, Head of Community

Send an email to feross@socket.dev if you’re interested.
New York Governor Announces $200 Mil Marijuana Fund to Promote Industry Equity
I don't think they are brushing off hard problems. The problem is that:

1. Some of those problems are being solved.
2. Some of those problems exist in other socially-accepted technologies and we've learned to deal with it.
3. People have trouble thinking abstractly and don't think deeply enough about their criticisms.

I'll briefly try to address your points:

- Stablecoins are going to be the answer here. In the future I think people will take out micro-loans in stablecoins with their bitcoin/ethereum/etc as collateral. Daily purchases will be in stablecoins. Confirmation times are actively being worked on, namely single-slot finality in ethereum.

- This is being worked on. Ethereum is actively testing their new proof-of-stake algorithm as we speak with the goal of a full release in the next 3-6 months. Bitcoin is another story but I think it's a mistake to lump all cryptocurrencies together.

- Criminal enablement. This exists but is vastly overblown. It turns out that transactions being public is risky for criminals.

- Email has phishing scams. Phones have scams. Internet popups have scams. Any open technology is going to have scams. I suspect this will improve as we develop a social framework to educate people. How many times have you hear warnings about phishing? We can do the same with crypto.

- This is being worked on. You don't need a GPU for proof-of-stake.

- This is being worked on via UX and technology. Smart wallets for example allow people to recover their funds if they lose their keys.
This happened to my grandparents. My grandmother was a kind of hypochondriac who had been claiming she was on the verge of death for 30 years. But she wasn't without health problems -- overweight, diabetic, smoker. But she kept going, nevertheless. Then my grandfather died, and she followed about a year later. I really can't help but think he was keeping her going at the end.
Slack Stinks (RIP Quill)
Are you confident that self driving cars will not work even in 2034 or 2044 ?
Winter war was successful in a sense that it moved Soviet-Finnish border away from Leningrad. A few months later when Germany attacked USSR and Finland joined it, that extra space saved Leningrad (now St. Petersburg) from total destruction.
Do you gave source for that? cause there are too many old widows for me to believe the couples often die around the same time.

And I did not noticed this pattern in cemetery either.
What Makes Group Decisions Go Wrong. and Right
Raspberry Pi Boot to BASIC
C# is an excellent contrast. It has always moved quicker than java (not hard), but that has left some features that in retrospect seem half baked. For example they needed some sort of function reference thing, so we had 'delegates', but then later we got lambdas with LINQ. And although LINQ has a lot of good parts, I'm not sure the expression bit was a good idea even people familiar with SQL linked it.

And reified generics are nice for c#, but a right pain if you want to implement another language on the CLR which isn't very c#-ish.

More recently I'm still not sure why, in a language with an extensive runtime and its own VM, they went with async / await rather than fibers or continuations like go and java. It was probably simpler to implement initially, of course.

Even slow moving java shows that bad decisions have a cost down the road even if the features are unused: there can be monitors on any object to support synchronisation, serialisation similarly lurks around internally.
Thank you, yes that’s pretty much it. Except instead of “consent modals must be legal” I’d say “consent modals must be *established practice*”.

There is in fact case law which interprets the legislation and says explicit consent is required[1] but of course it doesn’t mandate modals.

However it does note[2] that

> That decision is unaffected by whether or not the *information stored or accessed on the user’s equipment is personal data*. EU law aims to protect the user from any interference with his or her private life, in particular, from the risk that hidden identifiers and other similar devices enter those users’ terminal equipment without their knowledge.

This sets a fairly high bar for getting consent for any identifier-laden cookie. So I can understand why people choose to use modals as a risk-reduction approach, and why it has become accepted practice. If you do end up in court, it’s reasonable to expect courts to consider established practice is while formulating their judgement.

However, I do fundamentally disagree with the notion that explicit consent at the time of first visit is a good model for ordinary internet users. It was a good first effort but regulators need to do better, and strengthen ways for users to effectively pre-set their consent preferences in advance, think ‘Do Not Track’ but with teeth.

[1] https://curia.europa.eu/juris/liste.jsf?num=C-673/17

[2] https://curia.europa.eu/jcms/upload/docs/application/pdf/201...
Not with epinephrine, because it's out-of-patent. For clarity, I very much dislike the patent system.
As someone who has/had social anxiety, talk to your doctor. I was put on an SSRI (citalopram) and it changed my life.
I have this problem on my 2006 Civic. I wondered if it was a GPS week rollover issue. Week numbers are 10 bits and roll over every 1024 weeks[0]. Jan 2nd, 2022 was the start of week 143 on the 2019 epoch. They may have programmed it such that "for week numbers 143-1023, assume the 1999 epoch is used; for week numbers 0-142, assume the 2019 epoch was used." Without having the clock "remember" the latest year it has seen from GPS (e.g. by writing into EEPROM), it would to be limited to 19.6 years of useful life. It's a matter of choosing which epoch they wanted to associate groups of week numbers with.

There's something more to it though, since if it was using the wrong epoch, the date would be off but the time would still be correct. Week 143 on the 1999 epoch would be May-ish 2002 but the observed behavior is that the clocks are all stuck around 4:00 on Jan 1, 2002 (and shown as a Sunday, when it was actually a Tuesday). Since the 1999 epoch started on Aug 22, 1999, I am wondering if that's another piece to the puzzle and why they suggest it will auto-correct in August.

It's an interesting problem and I'm curious about the root cause, but in reality this will just be the push I need to get a newer radio that can do CarPlay/Android Auto.

[0] https://en.wikipedia.org/wiki/GPS_week_number_rollover
completely disagree. This manager did the world a service.
> Java was one of the first language specifications to be written by adults (maybe Common Lisp was the first, but it drives Common Lisp fans crazy to compare Common Lisp to Java, Python, etc.)

I think ALGOL was first, in the ALGOL 60 Report (https://en.m.wikipedia.org/wiki/ALGOL_60#History). COBOL may have had a good spec around that time, too.

There were older languages with specifications, but those specifications were looser, with languages partly defined by their prime implementation.
I've had "senior engineers" and engineering directors submit PRs that just flat out don't work. Like, I ran a minimum working example and it just... didn't work. I swear to God, some people are actually professionally negligent at this point.
You lose the developers, you lose the platform. That's what Bill Gates was thinking.

Microsoft was "lucky" that:

1. JVM was too slow to run desktop apps on machines even in the early 2000s

2. Web and Javascript became so important that it reduced the impact of losing out on Java

3. Linux killed Sun Microsystems.

Still, so much server infrastructure runs on Linux+JVM stacks that you could argue that it was a major reason Microsoft failed to gain dominance outside their desktop stronghold. Years later, their biggest existential threat in the form of Android was basically a modified Linux+JVM stack.

People may think Bill was over-pessimistic, but looking back, their failure to kill off potential competitors like Java was one of the reasons Microsoft stagnated post-2000s.
“Me and all my friends are alcoholic” is a bit ambiguous.
Nobody said alienating anyone. "You need a new group of friends" doesn't mean OP can't still be friends with the people he already knows. But if they want to do things that their current friend group just isn't interested in (Having fun without alcohol), then he needs to find new people to do that with.
I drive an older Toyota car, the clock only shows hours and minutes. I wonder who decided it was necessary or helpful to start including calendar dates in a car clock display.
Sure, but do you really write loops as (int counter = 0; counter < maxloop; counter++ { printline numberArray[counter] } ? Because that's kind of bonkers.
This doesn’t check out. Most people working for someone else will retire with funds to cover their living. A large number of people can retire decades early because of how much money they earn. In the US, even if you’re not saving after tax money for retirement, you would have social security (compulsory), 401(k)s, and pensions all of which are investment vehicles under the hood.

Most people in the US have a 401(k) which makes them owners.
> seems to use a persons name in conversation far more often than English

Actually, calling the other one by their name + san/chan/kun is the most common way. Using "anata" (= you) can even be considered rude under certain circumstances. My wife never calls me "anata". Also, pronouns are often omitted if it is clear who is being meant (a bit like in Italian).
Paid plans either enable or give you longer version history 6 months minimum, some businesses bump that up to 1-2 years (it goes to 10 years with dropbox).

Same with google. Paid plans you can make sure a copy of all sent messages is kept, set retention rules etc. So if folks use email for all their approval / business flows that can be helpful (ie, some orgs CEO might send an email say I approve - go ahead and sign it on big deals rather than shuffling paper or doing a proper e-signature. If so, you might want to keep an archive org level of your email flows
It's hard to tell when nostalgia is real or not, and basically any comparison to the past can be dismissed as nostalgia, or it could be true but one thing strikes me as clear cut is that there was a lot less stress around. Personally I'd swap out abundance over stress at any time.
none of my Android phones died in last 11 years of using them

though i used to upgrade after 1.5-2 years, current phone holds record, soon 4 years of use without any lag or anything probably attributed to not updating system, which would bring me no benefits and using clean lineage ROM, also not fan of crap apps
The primary purposes of central banking are to privatize seigniorage[1] revenue and increase bankers' ability to control politicians. The former is achieved through the Primary Dealer system and the latter should be self-explanatory. Needless to say, since most spending is electronic transactions, the seigniorage revenue is very nearly the entire face value of the created instrument.

It's a blatantly undemocratic power grab, effectively allowing a consortium of private banks to limit Congress's power of the purse. Or at least that was the theory. As we're seeing now, that one putative upside is nonexistent and the Fed is happy to cooperate with Treasury to spend trillions a year. The rentier class appears to be consoling itself with massive asset inflation, while still banking the seigniorage.

The United States could just as easily once again fund all of its spending by creating new U.S. Notes[2] (perhaps without the public debt clause) and then control inflation by extinguishing those liabilities through taxation.

[1] https://www.investopedia.com/terms/s/seigniorage.asp

[2] https://en.wikipedia.org/wiki/United_States_Note
Yes Kazakhstan is critical to buffer Russia from NATO influence in checks notes the People's Republic of China.
The Russian military have been in the Crimea since back when there were British red coats stationed in New York City. If remaining where they have been for centuries is an invasion.

Can't imagine Americans ever saying the US invaded South Vietnam when it's various puppet Saigon governments asked for fraternal assistance.
> You need a new group of friends, firstly.

This is really good advice. You'll never be able to give up a bad habit or an addiction so long as the people around you are caught up in the same thing.

For years I was unable to quit smoking, in part because the folks I hung out with and the people I dated were all smokers. I moved to a different city, started hanging out with non smokers and was able to quit in a few months.
> Desktop apps are still C++ and some newer apps are Javascript(Electron).

Just a nit, but .NET is used for significantly windows desktop apps than C++. I otherwise agree very much with your comment.
I rarely run into client side programs being better (or even interesting) due to java/jvm. Eclipse was quite a clusterf.. (at least when I left that side in 2008). Note that I'm not anti Java. I just think its course was fluctuating across time and "success" is really a strange term. The rare times people were happy about Java was the advanced JIT.
> Kotlin is OK but isn't sufficiently better than Java to be worth using when any Kotlin dev is going to have to know Java and Java-Kotlin mapping pretty well to use libraries.

One of the big benefits of Kotlin is that if you know Java, you pretty much already know Kotlin, too. A good Java dev can get spun up on the basics in a day or two.

> Both Scala and Kotlin are sufficiently similiar to Java to provide no real benefit.

Kotlin provides a ton of ergonomic features that I absolutely adore. Named parameters and default parameter values alone save me tens or hundreds of lines of code.

I think of Kotlin as what would happen if a Java developer looked at Javascript and asked "okay, but what if this didn't suck?"
I hope that my life or preservation of the environment does not depend on the software you are working on being correct.

In fields where that is the case, methods for ensuring correctness are important.
" why the freedoms you mention are the result primarily of central banking and not social and technological change?"

I didn't mean to imply that.

Most of those things didn't come from Central Banking.

That said, modern finance has 'enabled everything' just like having a highly literate education 'enables everything' as well.
If she says no, then it doesn't get developed.

That's not how the world works. When she says no, they just find someone else.

That they don't have leverage over the decision-making process seems like a cop out.

No one said they have "no" leverage. Just that those at the executive level have infinitely more.
The move to server-based experiences made the Mac competitive and made iOS wildly useful despite not bundling jvm.

I think what most helped it was that it was the common language against early commercially-supported app servers from big vendors.

BSD started as a Pascal compiler for Unix and enabled a community of researchers to work with a common language on machines more accessible than those from DEC.

Bill was right that consumer-oriented products with server-side software had Java as the wind at their backs.