skysight-inc/HackerNews huggingface dataset:
I said it before: we need Copilot flash fill. Infer what the user wants the output to be from patterns and labels, so they can enter a few examples and then “extend” and automatically do the equivalent of a complex formula. e.g.

Formal | Informal
Lane, Thomas | Tommy Lane
Brooks, Sarah | Sarah Brooks
Yun, Christopher |
Doe, Kaitlyn |
Styles, Chris |
…

Automating something like this is extremely hard with an algorithm and extremely easy with ML. Even better, many people who use spreadsheets aren’t very familiar with coding and software, so they do things manually even in cases where the formula is simple.
Well, I don't see a common sense explanation as to why the rate of increase should decrease either. We could also say, "Eventually, the rate of increase will go down anyway, in the absence of any action from the fed."
Sounds like a great way to help share knowledge about a particular bit of code.

I can even imagine something like take the top 3 authors of code changed or removed by the PR and if they aren't already the author or reviewer CC them. That way you can pull in some people with context.
As someone who uses Chime, I’m working on switching to other banks. It’s a nice starter digital bank but their savings rate has lagged most other banks and I’m not sure what killer features they have that SoFi/Ally/etc. don’t also offer now.

Best wishes to those affected, I’m sure there’s a lot of talent that won’t have trouble finding something new.
A look at a relevant systems engineering standard such as IEEE 1220 and related literature (see e.g. https://www.quora.com/Which-one-is-a-good-book-to-learn-Syst...) is recommended. The field and its methods are well defined and even standardized.
Assuming the conference is still as big without sponsorship, maybe nothing.

But if the conference is smaller or doesn't exist because it can't afford to...
> It won't, because the current inflation is supplyside-driven, not expectations-driven. But if we transition to an expectations-driven inflation regime, that's really bad, because it would require much more severe action to bring under control. The Fed is doing this as a preventive measure to keep expectations-driven inflation from taking hold. It sucks, but it's being done to prevent more pain later.

We have differing definition of common sense.
There are ~100,000 flights per day. Who cares?
If I crash with a gun in my waistband, is it a "gun-involved" crash? I mean I'm sure someone has crashed because they were fiddling with a gun in their waistband.
They interrupted the initiative for revenue loss.
I think Rust is not particularly FP because it encourages using loops instead of recursion and “let mut” is quite idiomatic in my understanding. Those two characteristics are more relevant than the type system. For example, Scheme and Clojure don’t have type classes but are clearly FP because recursion and immutability are idiomatic.

In Rust, even though it is true that .map, .fold, .filter, and .zip exist, first of all they also exist in Python, and second, they need to be sandwiched between .iter and .collect unless one is working with iterators which makes the code noisier and pushes the needle toward loops.

The influence of OCaml and Haskell is clear though, and it makes the language more pleasant to use.
You got issues man.
You have forgotten that all of those cows will already be killed, with a profit.
There are some key things here that maybe weren't clearly stated in my writeup.

Firstly, the old codebase is TS namespaces, which compile down to IIFEs that push properties onto objects. Each file that declares that namespace is its own IIFE, and so every access to other files incurs the overhead of a property access.

With modules, tooling like esbuild, rollup, can now actually see those dependencies (now they are standard ES module imports) and optimize access to them. In this PR's case, the main boost comes from scope hoisting.

For example, in one file, we may declare the helper `isIdentifier`. In namespaces, we would write `isIdentifier` in another file, but this would at emit time turn into `ts.isIdentifier`, which is slower. Now, we import that helper, and then esbuild (or rollup) can see that exact symbol. All of the helpers get pulled to the top of the output bundle, and calls to those helpers are direct.

That's why modules gives us a boost. There's also more (modules means we can use tooling to tree shake the output, and smaller bundles are faster to load), but the hoisting is the big thing.
Show HN: ZeroMock, a mocking framework for concrete classes (.NET 6)
ZeroMock is a mocking framework with syntax inspired by moq, for .NET 6

It supports mocking concrete classes, with no configuration/profiler required.

The goal is to reduce writing boilerplate interfaces just to make classes testable.

It does not support mocking interfaces, since moq already provides that functionality.

I hope others may also find this library useful. I just released v0.0.1, it is currently in alpha stage. I would avoid using it in production scenarios for now.
Drag shows, i.e. drag queens. Popularized among hets by Ru-Paul's Drag Race, where "yas, queen!" is a frequent catchphrase.
When I see something is in a spreadsheet I immediately assume there are at least 3 things wrong with the data, 1 of which is obvious.
Believe it or not the most meaningful thing for people is being adequately compensated and having a work-life balance, not grinding away for some billionaire.

This shouldn't be normalized, even if some people are happy to oblige.
160k puts you in the top 1% of UK earners. With bonus that job is comfortably in that bracket. UK salaries are no where near US levels.

Edit: my point is that a top 1% salary seems about right relatively for a tech lead position.
It is just an arbitrary deadline. It doesn't matter whether it ships next week or the week after. In the big picture it is not going to make any difference.
You're right, it's been a while, but we actually issued a beta release for 2.1 today!
* Stockholm syndrome

https://en.wikipedia.org/wiki/Stockholm_syndrome
FWIW, the actual saying is that for the purposes of collection by enemies (like Facebook and Google or KGB and NSA), the only thing better than no data is bad data.
So you've moved the worry from losing/breaking your phone to losing/breaking your YubiKey?
Only a fool trusts China.
If six marijuana plants grown and consumed in someone's backyard are "interstate commerce", I'm quite sure the bottled beverages industry also is.

https://supreme.justia.com/cases/federal/us/545/1/
His success isn't all due to luck, he has genuine skills.

But his success isn't all due to skill, either. Someone with the same brain and no seed money from Daddy would have been far less successful.

> "We were very wealthy. We had so much money at times we couldn’t even close our safe,” [said Elon's father] adding that one person would have to hold the money in place with another closing the door. “And then there’d still be all these notes sticking out and we’d sort of pull them out and put them in our pockets.”
> There's no reason for a random stranger to need to call you

I get a lot of calls from people for whom my first introduction/interaction is a phone call. I make a lot of money and otherwise get a lot of value from some of these interactions. Some are completely bogus telemarketer calls, of course, but I find that being reachable is still valuable. I have learned how to filter out the most obvious telemarketers. I hope that my competitors ignore unsolicited calls.

(This depends on industry and role within an organization. Certainly people who never have to interact with strangers can screen calls. But don't assume this is true for everyone.)
This is not a good excuse to actively and knowingly make it worse
I didn't mean to say he wasn't involved at all, just that imho (which doesn't matter) most of these companies would be fine without him. He is a savvy business player, knows how to grab available resources as well as the spotlight. I don't see anyone heralding Bezos or a few other CEOs I could name to this level and he's quite a bit more successful.

Sidenote, all but a few of his twitter mentions of Shotwell are responses to mentions of her and it seems like he's injecting himself into the discussion.
Lots of women don’t want them.
I mean the kernel. But there's a lot of different ways to implement this functionality. The kernel already has a variety of crypto baked in, it's just a matter of deciding on the implementation, which doesn't have to be 100% in-kernel. The point is to offload the maintenance onto a team that is better staffed and has better development practices, and possibly also add additional functionality to existing syscalls.
Related, Adam Curtis just kicked out a new 6 part documentary, with even less narration than usual, Trauamzone, which covers Russia 1989-1999, covering some of this with found footage from the BBC. Painful & amazing.

> Traumazone sets out to chronicle the collapse of Communism in the former Soviet Union as it transitioned to a Wild West Capitalism that ran so rampant that it also ultimately brought about the collapse of the new Russia's democracy as oligarchs leeched the country dry and paved the way for
And China is just so trustworthy /s
That worked until my son was hit by a car, and my wife in her shock had no idea where her phone was. I’m still to this day guilty that I didn’t pick up the phone the first time it rang.

The truth is that this problem will kill the telephone system and honestly if this is how the telcos treat it, it deserves to die.
Ask HN: Do you like the #BuildInPublic culture?
Build in Public is quite popular these days. It also creates envy, jealousy and copy cats. What's HN's take on it?
Having read that blog post as well as others like [1], I'm not convinced Wolfram has the time to fulfill those bullet points in a fully engaged manner. He appears to be constantly working (or at least be available for calls and meetings) from waking up at 11am to going to bed at 3am, with a 2-hour dinner break.

I dunno, he's clearly not your average Joe. I also enjoy my work but it's more stressful than going for a walk or playing the guitar. At work there are expectations and deadlines, and I have to plan and manage my time, and update the right people when there are delays or scope changes etc etc. Going for a walk you can just be whatever you are in the moment, you don't have to do or be anything that's asked of you for a few hours.

[1] https://writings.stephenwolfram.com/2012/03/the-personal-ana...
I understand your point. Compilers and interpreters are traditionally written in C/C++, but we don't have to do the same than before.
One major bug in the virtual Zizek is the lack of sniffing, which completely ruined the believability for me. I do commend the author on getting 80% of the way there.
Yes ! FAANG hire thousands of developers to write C++, even though their tech interviews are language-agnostic.
> The Fed's tools are very blunt, and the only way it can reduce at-the-register prices for things like food and gas are indeed by hammering down aggregate demand, i.e. inducing a recession.

By some measures, it's not even succeeding in inducing a recession. Demand isn't even necessarily declining - you would need a common sense explanation why the rate of increase in demand doesn't sometimes fluctuate or go down anyway, in the absence of fed action.

The Fed's tools are extremely effective at taking a huge shit on bond prices. They have huge financial impacts. But you are not giving me a common sense explanation for how raising interest rates will reduce the prices of food and gas.
With stuff like TypedArrays pretty far. Where JS has problems is optimising in the face of the things you can do with the language and the current difficulty in multithreaded implementations.
What test would you have written that would have found the issue?
On this friendship example, I think already FP is showing you something useful about the way you are designing your model.

A friendship is really an edge in a graph. if you manage friendships by recording a collection of friend PersonId's on each person, you are modelling a graph by recording the same edge in two different places, and then hoping the programmer is diligent enough to never make a mistake and update the edge in one place but not the other. If you model the friendship graph as a collection of id pairs, not encapsulated inside a specific person structure, this invalid state is no longer possible.

I'm not sure what you are on about regarding making transitive updates - that idea is obviously not going to work on any moderately sized network. Imagine if Facebook tried to record all your transitive friendships on your account!

Sure immutability is non-intuitive, but it's really helpful! Like borrow checking in Rust, immutability helps eliminate an entire class of bugs. And immutable code is often much easier to reason about, you need to keep significantly less of the context in your head.
> Bloomberg spent a billion dollars of his own money trying to be president

The Clintons made around $100 million for being President. The Clinton Foundation is worth $300m, and is largely used to fund the Clintons. Obama is worth $70 million. Trump initially viewed his run for office as publicity stunt for his businesses. He was obviously surprised that he won.

Being President is very, very lucrative.

> FWIW Tesla literally did exist before he was involved

I know. And without Musk nobody would have ever heard of it.
And then proceeded to say that twitter(a free service) should pay him.
Tbf the quest pro does exactly that. You can wear it with glasses and it’s designed to let you multitask
Yes, but isn't the likehood of a reusable bottle polluting our environment (ocean, etc.) lower?
Row 15 includes the zip code 92105 in column A but the output is 92101. Similar for Row 5.
In my opinion, they are "freely choosing to talk about him" the same way people freely choose to buy a product after being exposed to advertisments for it.
Shame that people's irrational hatred of the US has prevented reasonable debate on this topic.
My main problem with Go is the error handling.
The article opens with the story of a person collecting rain water. It should be worth pointing out: This story is in N̶e̶w̶ ̶M̶e̶x̶i̶c̶o̶ Arizona, but not all states permit collection of rainwater. For example, in Colorado each house is permitted up to 110 gallons of rain-water collection, but beyond that rainwater collection is illegal because the rainwater is considered property of the state, not of whose land it falls on.

Edit: Changed "New Mexico" to "Arizona" in my comment.
My intuition is that all of the benefit you get being outside and walking is probably lost by strapping a laptop to yourself and being on calls the whole time. Call me old fashioned but I'm outside to look at the sea, hear the birds and be very definitely away from my tech.
the warm-up phase is the whole reason why esbuild and swc exists btw. and also the sample is basically a small hello world. any real project would do a little more and the jit would not optimize as much.

also 2x 300k is not really the way how multi-threading/concurrency/parallelism works... especially not golang, which should not be run with GOMAXPROCS=1....
> Civilized people get involved in a civilized way, that's just virtue signaling.

I don't agree. Your advice to "change the system from the inside" is unhelpful, if you don't happen to be on the inside.

It's not reasonable to demand that all political activity must be done by lawyers and politicians. Whether or not people trust them, they are not trustworthy.

Your assertion that direct action amounts to virtue-signalling is silly; people don't risk arrest and jail to signal their virtue. You can get seriously injured performing direct action.

I think you should take the actions of protesters a bit more seriously. And I think the article's author does the opposite, by painting them as tantrum-throwing toddlers.
Previously

https://news.ycombinator.com/item?id=14078852 - (April 10, 2017 — 413 points, 80 comments)
OpenAI will give roughly 10 AI startups $1M each and early access to its systems
Unless proved otherwise I always assumes that when employers say there's a shortage of any skilled labour they just mean they can't find someone cheap enough.
Scenario 2: 400k house, 20% down, 30yr/7% = 320k loan, $2129 payment. You save $20k cash, which covers your increase in payment for ~4 years. By then maybe you can refinance back to Scenario 0.
time to test gaming performance?
> C++ as a whole should be deprecated -- and no new projects should use C++ (unless for some very odd and specific reason).

It's quite a bit easier than Rust and no other popular language has its most important features (cross platform, interfaces with syscalls and other libraries easily, manual memory management possible, likely to be supported for a long time).
As with exercise, food journaling can have amazing benefits if you turn it into a habit.
> Cultural sensitivity warning labels should have been applied.

Not really. It's just flamebait. You recognize it as flamebait, or you wouldn't think that warning labels would be needed. Please eschew flamebait.
you're right. I deleted that sentence as it detracts from my point
You can export the vault (encrypted or not) to a cloud provider (like Google Drive). It's a manual process, but it's simple and quick. Besides, how often do you add new 2FA tokens anyway?
He might mean butcher shop as in being treated like a piece of meat to be handled as conveniently as possible, rather than consulted or even allowed to guide her own birthing experience. My wife had made similar remarks.
Anyone know of a good “getting started” guide for Amiga emulation? Trying to set one up to play this game, and having no luck so far.
These are peculiarities of type systems, not of functional or non-functional programming.
True color support is finally stable after all these years!
Good stuff. I have a question. How did you align the transcribed interview with the audio?
The problem isn’t that Elon Musk owns Twitter – it’s that you don’t
Investment banks aren't your typical consumer banks though - less red tape (because they're not consumer banks), less historical baggage (consumer banks have accounts that are sometimes well over a century old, which makes everything that touches account data incredibly sensitive as the data needs to be always consistent), and way more money available. There's a reason why a lot of advances in communication came from the needs of the investment banks, particularly specialized hedge funds / "quant banks".
SQL was explicitly designed to appeal to business people, and uses strictly familiar words and phrases. It was very explicitly designed (though I would say it has mostly failed) to read like pseudo-natural language.

SQL DBs and the precise semantics of SQL are somewhat based on relational algebra, but SQL syntax is definitely not. It's also not using set theoretic terms in general, with the exception of UNION and INTERSECT.
This is a solo executive pulling a stunt as some sort of generic message of solidarity, I guess?

https://twitter.com/esthercrawford/status/158770970548883046...
Counterpoint: I learned about Applicative, Functor and Monad by reading docs and tutorials, and I haven't the faintest idea about category theory.

These are the building blocks of Haskell. You learn them as you go, just as you learn what a "method" is when learning OOP. You don't need to know category theory.
Where is the evidence that China wants to collaborate with "us"? It seems like their standard playbook is to entice or force others to open their markets to them, but then refuse to reciprocate.

They are an isolationist authoritarian nation, with already-large and still-growing influence over world politics and economic matters. Perhaps what the West is doing right now to attempt to curb this is the wrong move, but I don't think the "fear-mongering" is unwarranted at all.
Origami-inspired mouse folds flat when not in use
Wait, we're talking about not flying somewhere due to the environmental impact. Are you now suggesting that we should not heat our homes due to same?
Oh, this is nothing new.

I remember in like 2007 or something, in the early days of Facebook, someone made a CLI interface to the FB API. And I wrote a random-timed daily cron job that ran a Bash script that checked "which of my FB friends have their birthday today", went through that list, selected a random greeting from like 15 different ones I'd put into an array, and posted this to the wall of person $i. Complete with a "blacklist" with names of close friends and family, where the script instead sent me an email reminder to write a manual, genuine post.

I used to have a golfed version of that script as my Slashdot signature.
> most languages don't have a corporate oss backer imo

Oh that's an interesting observation! Made me peek at the TIOBE index top 10:

1. Python - has a Foundation and is as "pure" OSS as I think something can be.

2. C - slow moving standards body

3. Java - there's a few players here but a fairly small number of corporations have outsized impact (Oracle being the most)

4. C++ - slow moving standards body

5. C# - Microsoft

6. Visual Basic - Microsoft

7. JavaScript - standards body but mostly controlled by a small number of megacorps and Mozilla

8. ASM - I guess corp owned? Hard to reason about this one.

9. PHP - Foundation (I think? I've been out of that world for decades and Zend defacto controlled it when I was in it that world)

10. SQL - slow moving standard with tons of vendor specific variation

So by rough count I think we have about 30% of the top 10 controlled by either 1 or a very small number of corporate backers. 30% controlled by standards bodies, 30% by Foundations, and ...what you count ASM as.

So I think it's fair to say governance by corporate backers is as popular a route for languages to take as any.

(To be clear I don't mean "slow" to be a pejorative when it comes to standards bodies. If it isn't clear from my OP, I'm a big fan of slow moving languages!)
Every TypeScript project I have worked on either:

1) enforces no extension, e.g. “utils/foo”, or

2) allows TS extensions, e.g. “utils/foo.ts”

I have never imported a TS file using a JS extension. Maybe your woes could be fixed with a configuration change?
If people think C++ is hard to learn and attracts opinionated people boy are they in for a surprise when they start using Rust.
The problem for PSVR2 is that the first one didn't really have any must-play games and the 2nd one's only game of note at launch is Horizon which is notorious for always releasing at the same time as some other action RPG that the mass market goes nuts for (Zelda and that Dark Souls game written by the Game of Thrones guy). It also doesn't help that there's no backward compatibility with PSVR1 games (that would allow devs to easily make cross-gen games and take advantage of the last gen VR install base), that the price is so high or that PS5s still aren't easy to buy. This feels like it could be another PSVR1 or PS Vita where Sony gets bored with it after it doesn't sell huge immediately and gives up.

Even as somebody whose game of the year for this year is Horizon 2, I'm unsure about paying $600 for a Horizon spinoff coming out at the same time as the Harry Potter RPG. I expect it to be sitting on the shelf for MSRP at your local Walmart, Target, GameStop or Best Buy on launch day and basically every day afterwards. The fact that I'm unsure whether or not I'll even bother preordering it or just wait until I'm ready to play Horizon is not a good sign.
Was anyone able to test if the Airtable implementation works as well as the twitter 'ad'?
> The predictions are freely available for anyone to use, as is the code underlying the model, says Rives.

Smart. If you might get cut, having all your work available to pick up from is a great idea.