skysight-inc/HackerNews huggingface dataset:
this is your solution? for Elon to buy Google?
> claim the Khalistani are not Sikhs

you misunderstand - I did not say that.
No, it does not. Packages can compile using 1.22 and gain other benefits without opting into this change.
You're probably right. I rebalance my account 4 times/year. I'm thinking it may be best to have one "secure PC" that I do my balancing on, and even remove the passwords from my password manager.
One change could take India to the football World Cup
Oh, I love this story! :D Always fun to read whenever I stumble upon it.
Half don't care about privacy.

Branding a privacy app "as a privacy app" is a mistake. We need the next messenging app to be private by default AND better at making people popular and giving attention and securing relationships for the end user and all the rest of it..

The people who care about privacy are "trying to get away" and going to "get off the map". In the eyes of some average joes.

That's basically anti-marketing.
In this and other examples, getting deplatformed and losing your sources of income.
I was under the impression that the postscript in a pdf isn't a programming language. It is pre-executed so that only drawing primitives remain. But I could be wrong.
Or alternatively companies have to provide clear and explicit rules about what is permissible on their platform and if you feel you're wrongly censored or removed from the platform you should be able to take legal action.

I'm fine with YouTube not wanting to provide a platform for people who they feel are harmful, but they need to define that in an explicit way so that these decisions are not made arbitrarily.

I believe primary Brand's job for the last few years has been as a content creator. Given this I think it's reasonable to expect he should have some legal rights. Personally I don't see a huge amount of difference between an Uber gig worker and a YouTube content creator. Both should have some basic rights regardless of whether they're technically classed as "employees".
That statement is just one of a million in the "calculus does not exist" realm, and is not nearly as interesting as this article was.

EDIT: apologies for the tone; came off very snide on second read.
I suspect is going to be overturned at the Supreme Court.
Trudeau reported what CSIS - in conjunction with it's allies - has concluded.
100% deadly virus with 1 year delayed onset is very realistic way to do that.

Nuclear winter is perhaps harder to achieve but will do the job.

Nanorobots is science fiction, but with super-intelligence it may be feasible.

Virus is easier though.
seems to me a survival bias.
Notably a >3 year old email, at this point.

Nintendo is incredibly litigious & defensive. They're both loved, but one of the most carefully managed companies. Most of their platform is 1st party software.

Personally I can't think of a worse more dangerous acquisition for Microsoft. Microsoft was won a lot of trust over the last decade by participating nicely in the intertwingularizing world, by supporting devs and power users, by having a useful helpful web browser & web standards team, by having great open community around azure and wsl and others. Having an arm of their business suddenly operating in old world cut throat tight modes of operation like Nintendo would be a terrible look. And Nintendo wouldn't be Nintendo without that totalized control they've spent decades growing into.
Humanity will not be entirely wiped out by climate crisis though I feel sad for whatever humans are left.

Don’t confuse massive impact with total wipeout.
Ponds release more greenhouse gas than they store
Or just use htmx.org
Audience capture is a scary thing: https://gurwinder.substack.com/p/the-perils-of-audience-capt... (a particularly sad and grotesque example).

I think it's something we're all vulnerable too.

It's important to be aware of the incentives you're allowing yourself to operate under.

A little tangential maybe, but it reminds me of this book review I really liked: https://www.nytimes.com/2019/05/17/books/review/herman-wouk-...
> As an example, they keep voting Trudeau back into office.

That's more just an accident due to how Canada's electoral system happens to behave.

During the 2019 federal election, the Liberal Party received 33.12% of the votes, and got 157 seats in the House of Commons. The Conservative Party had more votes at 34.34%, but only got 121 seats.

A similar thing happened in 2021. The Liberal Party received 32.62% of the votes, and got 160 seats. The Conservative Party again had more votes at 33.74%, but only got 119 seats.

Even his 2015 majority government only received 39.47% of the vote.

1984 is the last time I can think of when a majority government in Canada actually received over 50% of the vote, and even then it was only 50.03%.

https://en.wikipedia.org/wiki/2019_Canadian_federal_election

https://en.wikipedia.org/wiki/2021_Canadian_federal_election

https://en.wikipedia.org/wiki/2015_Canadian_federal_election

https://en.wikipedia.org/wiki/1984_Canadian_federal_election
"You waited a few DAYS?" I interrupted, a tremor tinging my voice. "And
you couldn't send email this whole time?"

"We could send email. Just not more than--"

"--500 miles, yes," I finished for him, "I got that. But why didn't
you call earlier?"

"Well, we hadn't collected enough data to be sure of what was going on
until just now." Right. This is the chairman of *statistics*. "Anyway,
I asked one of the geostatisticians to look into it--"

"Geostatisticians..."

"--yes, and she's produced a map showing the radius within which we can
send email to be slightly more than 500 miles.

Pure gold. I love that the stats department put in such rigorous testing before submitting the ticket.
I typically develop in Python, C++, and Typescript, and recently had to implement some code in Go. So far I've found it a pretty unpleasant language to use. It feels pedantic when I don't need it to be, and yet I have to deal with `interface{}` all over the place. Simple things that would be a one-liner Python or TS (or even just an std::algorithm and a lambda in C++) feel like pulling teeth to me in Go.

I'd love to hear of any resources that can help me understand the Zen of Go, because so far I just don't get it.
And if you don’t moderate at all you get deluged under piles of crap, hate speech, spam, and bot-created garbage. Might as well not even try. In any sort of forum context, zero moderation makes it useless at least for most.
It's unintuitive to users of the language, but it's very intuitive from the perspective of those implementing the language. Everybody seems to make this mistake. Lua 5.0 (2003) made this mistake, but they fixed it in Lua 5.1 (2006). (Lua 5.0 was the first version with full lexical scoping.)
> You're already being mugged

A lot of phone thefts are quick pickpocketing/snatch-and-run, or snatch-off-a table, not some Hollywood "stick-em-up, give me everything you have" type of situation.

People target expensive phones, period.. but having fewer ways to turn those stolen phones into enough money to justify the risk means people will be less inclined to directly target them (especially when other brands' expensive flagship phones may be easier).

Similar concept in general physical security/theft deterrent, really.. put up a bigger challenge than others in your vicinity and you're less likely to be targeted.
As long as it's by invitation only, I won't be able to try it. I wonder how many other people are in my situation?
So avoid sites with ads?
Ah, thanks for the correction! That's right. But:

1. Did JS introduce this change after Go's creation? Yes. (And also after C#.)

2. Did arrow functions support precede let and const support? Yes.

Answering the second question and finding the versions with support and their release dates answers the first question.

Arrow functions let and const
Firefox 22 (2013) 44 (2016)
Chrome 45 (2015) 49 (2016)
Node.js 4 (2015) 6 (2016)
Safari 10 (2016) 10 (2016)

This places it nearly 10 years after the creation of Go. And with the exception of Safari, arrow functions were available for months to years prior to let and const.

This is somewhat weak evidence for the thesis though; these features were part of the same specification (ES6/ES2015), but to understand the origin of "let" we also need to look at the proliferation of alternative languages such as Coffeescript. A fuller history of the JavaScript feature, and maybe some of the TC39 meeting minutes, might help us understand the order of operations here.

(I'd be remiss not to observe that this is almost an accident of "let" as well, there's no intrinsic reason it must behave like this in a loop, and some browsers chose to make "var" behave like "let". Let and const were originally introduced, I believe, to implement lexical scoping, not to change loop variable hoisting.)
And yet it is a concentration risk that most founders choose.

Founder's investment to start bootstrapped is often opportunity cost of time (years of work instead of earning salary). Maybe some cash invested too.

Or with VC, after years of work a founder's biggest asset is the common shares that are worth $0 if company folds.
IIRC MariaDB was forked when Oracle acquired Sun not when Sun acquired MySQL.
I see a lot of interest in this field which is amazing! I have been working on this problem for a while and have made a lot of progress! If you are interested in building a general purpose code performance optimizer, I am hiring founding engineers. We are still in stealth so can't say too much but we already have great results on customers are already funded by some of the best investors of silicon valley. If you might be interested, pls reach out at misra.saurabh1@gmail.com
Speaking as the person Rob Pike handed the formal power to (8 years ago now), I don't think that change has much to do with it.

We've known about the problem for a long time. I have notes from the run up to Go 1 (circa 2011) where we considered making this change, but it didn't seem like a huge problem, and we were concerned about breaking old code, so on balance it didn't seem worth it.

Two things moved the needle on this particular change:

1. A few years ago David Chase took the time to make the change in the compiler and inventory what it broke in a large code base (Google's, but any code base would have worked for that purpose). Seeing that real-world data made it clear that the problem was more serious than we realized and needed to be addressed. That is, it made clear that the positive side of the balance was heavier than we thought it was back in 2011.

2. The design of Go modules added a go version line, which we can key the change off. That completely avoids breaking any old code. That zeroed out the negative side of the balance.
Go, designed between 2007 and 2009, certainly had the opportunity to look at their introduction in C# 2.0, released 2005, or its syntactic sugar added in C# 3.0, released 2007.
Your initial assumption is correct, and I don't want to belittle the climate crisis, but I doubt it will make the planet completely uninhabitable - WE STILL NEED TO TAKE ACTION.

My take:

As the planet gets more difficult to live on, people will live in less areas, many, many, manymanymanymanymany people will die. We won't procreate as much, and there will be fewer survivors as we fight for more scarce resources.

During this time, we'll have less impact on the environment. The planet will recovery as our influence on it decreases. Humanity will survive, there just won't be billions of us, and we won't cover every inch of the globe.

Honestly, that's probably alright. Why is more people automatically better.

But you're right. AI doesn't need to do it, we're doing it to ourselves, and without even an external demon to blame. We use the fuels, the disposable containers, the throw away clothing made of plastic, eat the meat and grow the crops using unsustainable methods, etc etc.

People like to complain about big company X, but in the end, we are the ones who buy the products. We have nobody else to blame but ourselves.
My number one is not having algebraic/sum/union types leading to needing zero-values. Which is more like a never idling foot gatling gun.
No virus will infect all humans. Coming up with a100% infectious virus is sci fi.

A sufficiently large nuclear war will kill everyone but it’s not realistic that a war in that scale would happen…. some would surivive somewhere.

Nanobots … I’m talking realistic.
Through neglect, passive sabotage, and active direction, our society degrades to the point that NO ONE can make clickbait content.
Did i read correctly, nfs v3?

IIRC the statelessness of nfs was largely considered a design mistake, and there usually are a large number of hacks to overcome the consequences.

So much so that nfsv4 moved to a stateful protocol…
As far as I know that’s only certain protected classes of people, in that you can’t discriminate in the basis of race, sex, religion, etc.
This is why security is not a "one size fits all" exercise. The first thing you must do is define your threat model.

The reason the Chinese government doesn't want to build their telecom system on Cisco hardware is the same exact reason the USG doesn't want to do the same with Huawei hardware. Because neither government is delusional enough to think that parts/service/updates wouldn't be immediately sanctioned in times of war.

The US and China are already sanctioning each other's tech. The risk of building critical infrastructure on it is obvious.
True but that still requires the would-be reader to take action, and likely read something printed on them
Well, not anymore but they used to. Now they just live in a house owned by Stanford that they have questionably used as leverage to cover bail money.
But did you know that one of the cases PDF is being considered (and, based on Internet rumors, is already being used) is as an interchange format for CAD drawings? Now it suddenly starts mattering.

Not really? It's considered as an interchange format, not as the interchange format. If you have CAD/CAM work for parts that need precision machining measured in tenths or less, you're not using machines that accept PDF to begin with.
> I'm not pro censorship, but I would like a way to not have to hear about Russell Brand at all. Is that possible?

Yes: don't watch his videos and don't read or watch news coverage about him.
Yeah definitely not. 95% of what he's talking about is true and correct, it's largely about the systemic corruption in politics. If you think none of that is real your education on US government stopped at Schoolhouse Rock.
not to mention that everyone here forgets to mention that the majority of submitted papers with suspected fraud came from countries with known issues with fraudulent science publishing. e.g. China.
The USA, for example, looked much better (although not perfect) at 6% zombie.
Show HN: I'm building a tool to generate YC applications with GPT-4
Hasn't cryoelectron microscopy pretty much taken over for protein structure determination?
> the algorithm steered

He steered. We should not remove his agency for the content he wrote, said, recorded, and uploaded.
One annoyance with floating point binary is when it happens to not line up so well with floating point decimal, for example

>>> 0.1 + 0.2
0.30000000000000004

which is still gonna round to 0.3, but ugh. Also, during aggregations, it's not nice how you get different answers depending on the order of operations when they shouldn't matter.
> ignores a multitude of services that became and still are incredible popular with little moderation

Please provide examples.

So we can compare them to the likes of Meta, Netflix, Spotify, Apple, Reddit etc.
With all respect, there’s not a lot of restaurants around here ) comparing to i.e. Hamburg. A couple of steak houses, some locals, 4-5 asian food and the Brunswik, which is always busy. There’s also Kiellinie, but it’s mostly a seasonal thing. Though there’s a lot of folks around sipping cocktails with ice in winter, crazy. Love this city.
All my best wishes to Michael Widenius (Monty) and David Axmark, I hope they make bank (again!), they deserve it!

After all of these years I trust them to do the right thing with the open source aspect.

I've never met a more competent and energetic technical "salesperson" than David. I got the impression he spent at least a decade travelling full time, evangelizing MySQL (sales) in the 90s/00s. Mad respect. This is what it took. It didn't happen by itself.
I write Go every day, and can count the number of times per year I have to involve an `interface{}` literal on one hand. Unless you're doing JSON wrong or working with an API that simply doesn't care about returning consistently structured data, I can't fathom why you'd be using it "all over the place."
24/7 365 "Breaking News" TV - AKA spin factories - complete with scrolling tickers and a combative talking head format (with programs that may or may not have actual trained journalists, but so-called experts at expressing their biased opinions) is the other huge driver.
This post was great—thanks for posting it!

Interestingly, the reason the old i := i trick works is not at all what I thought!

The trick, for reference:

for i := 0; i < 5; i++ {
i := i // the trick
go func() {
print(i)
}()
}

What I assumed happened:

- The escape analyzer sees that the new `i` is passed to a goroutine, so it is marked as escaping its lexical scope

- Because it's escaping its lexical scope, the allocator allocates it on the heap

- One heap allocation is done per loop iteration, and even though the new `i` is captured by reference, each goro holds a unique reference to a unique memory location

What actually happens:

- Go's compiler has heuristics to decide whether to capture by reference or by value. One component of the heuristic is that values that aren't updated after initialization are captured by value

- The new i is scoped to the for loop body, and is not updated by the for loop itself. Therefore it's identified as a value that isn't updated after initialization

- As a result, the Go compiler generates code that captures `i` by value instead of by reference. No heap allocations or anything like that are done.

I recognize that the latter behavior is better, but if anyone with intimate knowledge of Go knows why the former doesn't (also) happen (is that even how Go works?) I would love to find out!
In addition to the contracts, YT could easily say even the implication he may have done wrong is not good for their business to associate with. He needn't be convicted in a court of law for it to be bad business to continue to work with him.
I totally agree that you cant do a lot of AMQP stuff. As you noted, you can build some of it by managing state via transactional producers, etc - but you definitely cant do everything. The biggest gripe for me is actually dynamic "queue" creation, patterns for topics, etc. So I use an MQ for an MQ ;)

I'm just saying you can "dumb down" the client side on kafka by creating an abstraction layer (or one of the many higher level libs that already do that).
kragen posted a several of excellent comments highlighting the capabilities of GNU Units a couple of months back, these two in particular:

<https://news.ycombinator.com/item?id=36988917>

<https://news.ycombinator.com/item?id=36995046>

And Trey Harris's "500 mile email" story is what clued me on to GNU units and its capabilities.

Reminder: if you're on MacOS, or one of the BSDs, your default units is from BSD, not the GNU version, and is far less capable. GNU units can be installed on MacOS through Homebrew. The package is "gnu-units", the command is "gunits" once installed.

Edit: Corrected Homebrew package name.
> If people find these allegations credible—and most should

Why should most people find these allegations credible? I do not believe there is a police report, arrest, and let alone a trial. These are currently just allegations, their credibility has not been adjudicated.
It's a matter of whether someone is using HN as intended or not (as far as we can tell). For accounts that repeatedly go against the intended use of the site, we don't have much choice but to ban them, or else the site won't survive for its purpose. We do warn them first, often quite a few times and over a long period before banning—it depends on how much history the account has here. For accounts without much history, we sometimes ban straightaway, if the violation is egregious.

That doesn't seem excessively authoritarian to me and I don't see how we could do it differently without giving up on the site's mandate, which is not an option.
That's pretty well understood though, right? If love and fear are primary drivers of engagement and fear is a stronger emotion than love then steering viewers to view things that upset them is in the best interest of the company that earns its revenue from keeping them engaged.
Which is precisely why people should get regularly tested for STDs.
Isolated tribes that have never been conracted? Antarctic researchers?

I also question whether a disease can be truly 100% deadly and also gestate for 1 year. I believe, maybe erroneously, that these two features are incongruent. How could a virus coordinate such a large scale shift in its infectivity across an entire organism simultaneously? I doubt they have the ability to agree upon a date and time to lyse
Rapid moral change is the main driver, but internet platforms
may have accelerated that.
Yeah but by virtue of MS having already acquired AB, the FTC would be less likely to approve a Nintendo acquisition.
Most uses of unsigned are a code smell. People think unsigned means that something can't go negative. This isn't really true though. It CAN go negative, and then it silently wraps around and you then lose the ability to detect that it went negative.
What about black holes? Do non-rotating ones create perfect spheres?
It's annoying being one of the seemingly few people who sees through these techniques. I seldom voice support for a position because it does 'one thing' and WE NEED TO DO THE ONE THING NOW!!! Instead, as best as I can, I try to see the net effect on everything this proposition touches.

Even forget spending hours stewing over facts and data, there is just an instinct inside me that picks up that it is a ruse, a fallacy, a cynical ploy.

While that sounds like tooting my own horn, and I admit I've been taken in by some tricks before, it just isn't easy to stand by and watch. And even if you argue and make the case for online freedom, someone else just needs to come along and go, 'AH!, but what about the children!' and the masses are swayed.
I've seen kids eat the stuff.
They often take a share of the revenue from those attacks through iprn number or other fraud schemes
A small community of unofficial Apple technicians in Cuba
Not really related to the article but this reminded me of a beautiful quote I’ve had in my notes for many years:

"To travel a circle is to journey over the same ground time and time again. To travel a circle wisely is to journey over the same ground as it is for the first time. In this way, the ordinary becomes extraordinary, and the circle, a path to where you wish to be. And when you notice at last that the path has circled back into itself, you realize that where you wish to be is where you have already been ... and always were."
Based on current trends, there's not a lot of reason to think they will anytime soon. Advances are being made but we are still really far away.
The Sunday Times, the same prestigious news paper which consistently rejected HIV’s role in AIDS and partook in Phone Hacking - including (as alleged by him) the former Prime Minister Gordon Brown. [0] Not to mention The Times generally being a Tory sycophantic outlet, just behind the Telegraph.

Gosh, imagine if this story tarnished their pristine reputation and that of the paper’s owner, Rupert Murdoch.

[0] https://en.wikipedia.org/wiki/News_International_phone_hacki...
Please point to when Go has broken backwards compatibility.
Somehow, Go managed to not break old code and also fix the problem.

I think this is a good case of Python not fixing things, given that a fix exists that solves both problems.