skysight-inc/HackerNews huggingface dataset:
I got my 2015's screen replaced because of Staingate so I get to have a shiny new screen and a computer that's actually usable without 23 dongles. I hope it doesn't die until an actually desirable MBP comes around.
I’ve never bought a bra but somehow they manage to sell a lot of them.
Boss Pays of Employee's Mortgage to Allow Him to Retire Early
In practice, it's enough to preempt at potentially-recursive function entry and loop backedges. A thread which doesn't recurse or loop has to come to an end pretty quickly, at which point the scheduler will get a go.
Memento. That one hit me right in the gut on a first viewing. Why don't we have more movies like this today? It's sad.
What you’re describe is in a similar vein to what is described in my blog post, and it’s often absolutely a good idea, but it isn’t quite the same as what the post is about. Something like NameType attaches a semantic label to the data, but it doesn’t actually make any illegal states representable… since there really aren’t any illegal states when it comes to names. (See, for example, https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-... .)

In other situations, the approach of using an abstract datatype like this can actually rule out some invalid states, and I allude to that in the penultimate section of the blog post where I talk about using abstract types to “fake” parsers from validation functions. However, even that is still different from the technique focused on in most of the post. To illustrate why, consider an encoding of the NonEmpty type from the blog post in Java using an abstract type:

public class NonEmpty<T> {
public final ImmutableList<T> list;

private NonEmpty(ImmutableList<T> list) {
this.list = list;
}

public static <T> Optional<NonEmpty<T>> fromList(List<T> list) {
return list.isEmpty()
? Optional.none()
: Optional.of(new NonEmpty<>(ImmutableList.copyOf(list)));
}

public T head() {
return list.get(0);
}
}

In this example, since the constructor is private, a NonEmpty<T> can only be created via the static fromList method. This certainly reduces the surface area for failure, but it doesn’t technically make illegal states unrepresentable, since a mistake in the implementation of the NonEmpty class itself could theoretically lead to its list field containing an empty list.

In contrast, the NonEmpty type described in the blog post is “correct by construction”—it genuinely makes the illegal state impossible. A translation of that type into Java syntax would look like this:

public class NonEmpty<T> {
public final T head;
public final ImmutableList<T> tail;

public NonEmpty(T head, ImmutableList<T> tail) {
this.head = head;
this.tail = tail;
}

public static <T> Optional<NonEmpty<T>> fromList(List<T> list) {
return list.isEmpty()
? Optional.none()
: Optional.of(new NonEmpty<>(list.get(0), ImmutableList.copyOf(list.subList(1, list.size()))));
}
}

This is a little less compelling than the Haskell version simply because of Java’s pervasive nullability and the fact that List is not an inductive type in Java so you don’t get the exhaustiveness checking, but the basic ideas are still the same. Because NonEmpty<T> is correct by construction, it doesn’t need to be an abstract type—its constructor is public—in order to enforce correctness.
OP here - it's just (somehow, repeatedly) surprising the magnitude to which you can be wrong, even when it's just you and there's no pressure from anyone else to get it done quickly and it's really just an honest guess.

I see this over and over again with people I know bootstrapping projects - the over optimism I think is just part of being a builder. Sometimes in startup circles there seems to be this meme of how you should 'throw together a prototype of the tech in a week' being the standard way to get going with an idea. In practice though, seems so impossible that you could get anything even useful shaped built in that amount of time. For me when I get down to work on something, even just plumbing together the vague structure of an app takes longer than a week full time.
Companies used to prefer having a pension for their retirement program because any excess returns on the pension fund would become profit. Many of the ill fated leveraged buyouts in the 1980s/1990s were PE firms raiding these "excessively" funded pensions. This, unfortunately, was around the time people generally stopped smoking and having heart attacks right after they stopped working. Also, people that have pensions live longer. This has led to underfunded legacy pensions.
How do i start a bank and get in on the action?
I've heard this before, but about England and only as something relatively rare: https://www.independent.co.uk/news/uk/home-news/smile-a-perf...
The style isn't as important unless it impacts the reviewer's ability to read and understand the code, or the maintainability of the code.
I was more wondering about the quality of care.
You might also find this to be of some use:

https://www.astrolog.org/astrolog.htm
On a per capita basis, it's as if everyone in the US lent $350 to the banks. (115B/327M)
20k * $1m does indeed equal $200b...but they are most definitely not the same thing.
One of the most important things I've learned over the years I've managed people is that processes and policies of any sort are two-edged swords. It's easy to add a policy, and to convince oneself of the advantage the policy will confer. What is very often ignored is the cost of a policy.

Every policy comes with an associated cost, and those costs can add up quickly. People always ask "what will this policy make better", but, just as important, is to ask, "what will this policy make worse".
> I’ve heard more excitement about Disney+ from family/friends than any other tech launch I can remember. Short of maybe the original iPhone, and maybe the Nintendo Switch. Techies and non-techies alike are counting down the days until it launches.

I am one of those people. I can’t wait to sign up for Disney streaming and ditch Netflix.

For me, Netflix is just full of filler with annoying ads touting a garbage Netflix series (I Land anybody)

At least with Disney, I know I will be getting a strong catalog (classic cartoons, Star Wars, Marvel)
> That is like artificial selection on steroids

No, it's not, because you are selecting on genotype rather than phenotype.

Embryo selection only works when there is a simple connection between genotype and phenotype (eg. what type of earlobes do you prefer). For complex traits like "intelligence", selecting based on genotype is not going to work. To much noise, too little signal.
Why Future Shock Hasn't Happened
That was probably true at some point but now there Emacs is a lot more widespread than AutoCAD.
Those famously stable cryptos sound perfect yeah.
Thanks for taking the time to reply. It really is a nice language!
Beyond post-install messages: NPM adds support for package funding
You say that individuals with power may do bad things and states with power do good things. Yes, that can happen. But also there may be individuals with power that do very good things and states with power that do very bad things.
> I was born in a Democracy. Democracy was forced upon me. I never gave my consent.

You were born without your consent too, therein lies the rub.
BTC halving is coming up...
Most definitely not high tech stocks.
Do you have sources regarding the "left's irrational opposition to nuclear power"?
Can Rust's async even work on an Arduino or any bare-metal system?
Gold? Doesn't generate any income though.
All but impossible? We got a model that predicts height startlingly well, usually to within a few centimeters, back in 2017:

https://infoproc.blogspot.com/2017/09/accurate-genomic-predi...
It’s all about moving the dial on public sentiment which is a prerequisite for actual legislation with teeth. The last (Australian) Prime Minister to actually implement real legislation with real effects was promptly burned at the stake by the usual suspects in the media and energy lobby (thanks Rupert).
> don't know how kanban it actually is, but that's what I call it

We also work with a Kanban-like methodology. Basically a pull system with a hard limit on WIP.
> Unexpectedly, on returning to the 2015 MBP, I didn’t suddenly go “omgomg the keyboard is amazing again”. The older style was never amazing compared to any good mechanical keyboard. I adapted to the new keyboard just fine, even though my hands never really were big enough for it to be truly comfortable. Yes, the older keyboard’s keys really are less of a stretch but it wasn’t that much of a hardship either way.

New keyboard’s really, really loud, but otherwise (stuck keys aside) agree, previous was only marginally better. Bigger difference if you go back to the generation before that—even more key travel, quite a bit nicer.
https://www.sears.com/stores.html
Is it?

Or is it just bad to pass unsanitized SQL queries? Because that’s the only issue I think. GraphQL seems effectively an input data sanitizer.
Interested in hearing these details
By when? It's easy to predict the destruction of the currency without setting a period.
IPD adjustment knobs are there, getting it correctly calibrated for your eyes is still not easy. It takes either a direct messiness with a ruler or a 5-10 minute calibration process in-headset.

And again, motion sickness is by far the least of your worries. My point was "don't just assume nausea is motion sickness". There are other defects that can cause nausea that are not adaptable.
I, on the other hand, came here to read about someone's penis and was disappointed.
I agree with your frustration about the green movement's knee-jerk rejection of nuclear power, but in NZ anti-nuclear policy was a very galvanising touchpoint for the environmental and anti-war movements, so there's a bit more context there. Nuclear-free and the Springbok protests are referenced constantly as progressive wins.
Why has this post been flagged?

This is an important issue, if it’s contentious then who is contending it? Am I missing something?
Righteous! Thanks for the info.
Certainly. But that sounds more extreme than "relative deprivation", that's a real deprivation of basic needs.
Expedia stock drops nearly 30% due to Google SEO changes
> For most people this is not a question at all, because they hardly have money.

I am asking the HN crowd, not most people.

My guess is, given how many seem to work in the valley, they do have a little more money than most people and therefore skin in this game.
Show HN: SideProjects v2.0 – A platform to share your side project
What are safe and unsafe strings supposed to mean? All strings seem like normal string to me, a "DELETE * FROM db" is no different from any other string until it's given to a SQL query.
How do you deal with people who take _any_ critique of their code as a personal affront? I'm working with one of such people right now, for the first time in my 25 years in the industry. I'm a consultant, and he's an FTE. I'm considerably more experienced and senior and management knows it. The guy's PRs have been sitting in the queue for over a month now because there's no way I'll let him submit his shit code to master, and he just won't clean it up. That's not how I phrased it in the review obviously. I explained how the code could be improved (and why it needs to be improved) and gave concrete suggestions, using the most diplomatic language I could come up with. I explained to his manager why the PR is stuck. His manager is conflict-averse, so he won't push the guy, knowing how easily he gets offended.

I mean ultimately, my contract ends in January, so I could just merge the PR and say "après moi, le déluge", but in case I encounter such people again in the future, what do people usually do?
'Into the Breach' Is About Abandoning the People You're Supposed to Protect
Lampert isn’t a genius in turnarounds. He’s a genius in the art of prolonging corporate death.
Highly recommend checkout out Dells XPS lines once you've had enough. I find them nicer to use than any MacBook I've had.
The world is awash in texts and papers on applied statistics. My notes were an introduction to provide a start on what is needed to read more in applied statistics.

For much of engineering, e.g., quality control, the statistical hypothesis testing I outlined is common.

There are now classic texts on hypothesis testing:

E. L. Lehmann,
Testing Statistical Hypotheses,
John Wiley, New York,
1959.

E. L. Lehmann,
Nonparametrics:
Statistical Methods Based on Ranks,
ISBN 0-8162-4994-6,
Holden-Day,
San Francisco,
1975.

Sidney Siegel,
Nonparametric Statistics for
the Behavioral Sciences,
McGraw-Hill, New York,
1956.

The last is also just hypothesis testing; apparently the book is still referenced.

From some statistical consultants inside GE, there is

Gerald J. Hahn and
Samuel S. Shapiro,
Statistical Models in Engineering,
John Wiley & Sons,
New York,
1967.

For machine learning, so far the approach appears to be cases of empirical curve fitting.

The linear case of versions of regression analysis remain of interest. There the matrix theory I outlined is central. And regression analysis goes way back, 100 or so years, and is awash in uses of statistical hypothesis tests for the regression (F-ratio), individual coefficients, (t-tests), and confidence intervals on predicted values.

For using probabilistic and statistical methods in the non-linear fitting, that is more advanced and likely an active field of research.

In my own work, I use and/or create new statistical methods when and as I need them. My current work has some original work in, really, applied probability that also can be considered statistics. And when I was doing AI at IBM, I created some new mathematical statistics hypothesis tests to improve on what we were doing in AI. Later I published the work. Parts of the machine learning community might call that paper a case of supervised learning, but the paper is theorems and proofs in applied probability that give results on false alarm rates and detection rates, that is, statistical hypothesis tests (both multi-dimensional and distribution-free). So, that paper can be regarded as relevant to machine learning, but the prerequisites are a ugrad pure math major, about two years of graduate pure math with measure theory and functional analysis, a course in what Leo Breiman called graduate probability, and some work in stochastic processes. At one point I use a classic result of S. Ulam that the French probabilist Le Cam called tightness -- there is a nice presentation in

Patrick Billingsley,
Convergence of Probability Measures,
John Wiley and Sons, New York, 1968.

The work was for anomaly detection in complex systems so could be regarded as for both engineering and machine learning. But I can't give all the background here.
Didn't downvote, but I do disagree. There is some kind of compulsive behavior, but I wouldn't describe it as addiction. I've used FB quite regularly and have never felt compelled to return when away from it, or even missed it remotely when I don't have time to check it or don't have signal. A couple weeks ago I uninstalled it and again there is no compulsion, no absence felt. I don't even check in on my iPad when I get home.

When I had it convenient to check, I would pop on during downtime, now it's just gone. I do check HN more often so maybe it's just a general social media itch.
This is not an equity investment, those 20,000 startups would need to return the money the next day.
If I ask to convert my EUR into USD, the US bank will hold more EUR, less USD. Less USD decreases my liquidity, which is what's on one end of the table in the repo market, no?
>> Many people think [massive wealth inequality] is a problem, or at least an undesirable situation.

> Why would they unless they are suffering at the bottom? How does it actually affect you?

You might want to spend some time thinking their alternate perspectives.

> Or is it just envy of those who have more?

Not any more than it being greed that's motivating you to take your positions.

It's generally not very enlightening to take personal swipes like you did there.

> If political power is created from economic power, then you're just transfering even more power to politicians by creating wealth taxes. It is concentrating it further.

This seems to be hinting at a kind of libertarian worldview that sees the government and politicians as some kind of unaccountable independent power. That's not the only way to think about government, and I'd argue that it's a pretty limited and ultimately unhelpful perspective.

A more democratic perspective is not so opposed to the people gaining more power through their elected representatives.
I sometimes get that urge, either because there are so many paintings that I can't possibly watch them all in detail in a single visit, so I snap a picture thinking I'll review them later (I usually don't), or I like a painting so much that I take a picture so that I'm able to watch it again later (I rarely do). I have a phone with a nice camera and pictures of painting you can find online are often of very poor quality.

On the other had there is that strange mental phenomenon that if I take a picture of something then I tend not to remember it very well. Something in my brain must decide that it does not need to store information that is available on hand. So I try not to do it too much.
The left in New Zealand literally banned all forms of nuclear energy, going as far as prohibiting essentially all US Navy vessels from entering its waters just in case they had fissile material on board.
how is that better than not needing to travel at all?
Well, first investment since the Yemenites shot clown prince Salman a second asshole.
Lower prices tend to increase demand, but there's no law that says how much in every instance.
I don’t know anyone who has stated they would not get it. I know 1 person who prepaid 1 year already. I got more excited when I found out the Pixar shorts like Piper will be on there. I see it as an “all you can eat” delight!
Skincare Tips:Transform Your Skin
OT: My favorite movie quote:

let lastHungarian = ‘go’

run()
Do keep in mind that VSCode is based on Electron (it's basicly running an entire webstack on your system, plus a chromium based renderer), so that means that it does require a good bit of resources to get running...

But on the good side, this means that its much more extensible, and (in theory, more capable) that other code editors, which it has proven itself to be.
Any evidence you could link me to not that there existed "irrational opposition to nuclear" from people with left politics but that this opposition had any significant affect on the viability of nuclear power?
I'm fine with users not editorializing the headline, instead opting to use the original title. This is so that no one can accuse the poster from editorializing it themself and allow dang or one of the HN mods be the one to change it.
So I guess you don't want to park your money at my place? Bummer.
Do these "loans" ever get paid back?
Доставка фруктов и овощей в Москве
As I’ve said elsewhere, public sentiment has to be so strongly in side that it can withstand a media onslaught from the energy lobby and friends. Without the public strongly on side, any real actions will be short lived. Australian PM Gillard was the proof of that pudding.
Hey all!

You may remember this from a little while ago. When I launched SideProjects v1.0 a few months ago, the goal was really just to help users increase the discoverability of their side projects whilst building a community simultaneously. I didn’t incline to do too much with it. It was fine as a link-sharing site, but as with all side projects, there was room for improvement.

Soon after launching, Donji, (who runs a podcast with Taher called My Side Project which is about people who took their side projects to the next level) reached out to me, and ever since we’ve been working on redesigning and rebuilding SideProjects. Now we’re a team of 3

We’ve been beta testing v2 publicly with our community for the past 2 weeks and today we’re finally excited to launch it!

Whats new in v2?

* Reposting! What we’ve learned from our community is that Side Projects are always able to be improved upon. We added a little thing that allows you to repost your side project every 7 days, so long as your side project has undergone significant updates.

* Discussion Module: With the podcast, we really want our community to be involved with everything we do. We’re currently using this module to source questions from the community to ask interviewees on our podcast. We’re also doing a 15-minute, fast-paced video interviews. More on that very soon!

* In an effort to increase post engagement, upon clicking on a project’s title, you will now be taken to the post itself instead of the actual product. Direct links to the project are now placed below the title. This change also addresses the URL encoding issue FireFox users had been encountering.

* Dark-Mode! Some people prefer dark-mode while others prefer light-mode. We finally added an option that lets you choose :)

* oAuth! You can currently login using GitHub, Google, Twitter. Let us know if you think we should add support for some other login services :).

* Newsletter sent out every Sunday containing a recap of some of the best side projects of that week.

tl;dr We rebuilt SideProjects and we’re building community-friendly tools for it.

Check it out! https://sideprojects.net

Sakun

P.S. We've also got a discord now :) https://discord.gg/RbF3RuS
I think we should be skeptical when it comes to Facebook coverage in the media, as quite a few stories have been pushing these false and speculative narratives, often including hearsay and personal subjective opinions to support claims rather than facts.

I mean, if you really believe Facebook is so bad, then do your job as a journalist and dig though the material yourself. Find the facts, and show us the exact facts that support your idea. Do not just speculate and make assumptions. However, you should really understand to leave out irrelevant off-hand comments made in "the heat" of a discussion. What is important is what a company is saying publicly, and that it matches up to what they are doing to a reasonable degree.

I am generally in favor of transparency, but it is not good to blindly and uncritically leak internal documents and discussions, just look at the whole pizzagate falseness. But, this is especially true when you know about the current media sentiment and same said material has just conspicuously been held by a company in conflict with Facebook.

Personally, I think the bikini app was deprived of decency, and it is amazing this app is not getting more criticism for what it did in the media. I think we can all agree the decision to remove access was necessary and a victory for users, as it is a step towards more privacy focused social media. The fact that the media will even touch the bikini story is ridiculous.

Those of us who grew up on the internet should be more objective.

Facebook is doing a much better job than their competitors (YouTube, Twitter. Etc.). The privacy controls are actually really good already, and I am sure we will only see them improve. We should give credit where credit is due!

I think, ultimately, this is about privacy and the information companies collect. People are in their right to be worried, but the media should still be more objective. For example, I wonder why no one cares about anonymization and increased transparency as solutions, something that rarely seems mentioned by the media. Companies do not invest in this for fun and giggles. More info here: https://policies.google.com/technologies/anonymization?hl=en

Making more technology open source, including anonymization technology, would probably help to increase trust.
"Galileo" can stand for a lot of things.
I wondered about that. Are there more programmers or Autocad users? You're probably right; Emacs is free and that counts for a lot.
"anti-nuclear" mean anti the weapons or anti the power?