skysight-inc/HackerNews huggingface dataset:
The ensemble average is the expected value, and the expected value is positive.

For a bet of $X, the expected value is: (1.5 * X) * 0.5 + (0.6 * X) * 0.5 => 1.05 * X. The ensemble average per round is positive (1.05) and over multiple rounds smoothly tends to infinity with the number of bets. (Definition here: https://en.wikipedia.org/wiki/Expected_value).

The time average for any specific person betting in this game is 0.95 * X (for the reasons you mention) and tends to zero with the number of bets.

So let's go through a few specifics of your comment:

> He actually picked bad numbers. That is a losing bet even on average.

The point of this article is that "on average" is trickier than people tend to assume. There are different ways of taking averages. If you do the expected value calculation and get a positive number, you might (as other comments have said explicitly) expect that a participant repeatedly engaging such a bet would have his wealth trend toward infinity. But, they are wrong (as shown in the article).

> This happens to not show after only 100 trials just because some tiny number of people get really lucky and draw up the ensemble average, but if you keep going, somewhere between 200 and 500 trials, the ensemble average pretty quickly drops below the starting average wealth and stays there, asymptotically approaching 0.

The ensemble average is positive and monotonically increases w/ the number of rounds of betting.
It doesn't matter if they create new coins, they may use some bags that are already there that changes nothing at all. If it pays a dev it will be sold so the dev was paid by previously printed coins and the circulation supply will be inflated.

>The research does bring value because people can like the idea of receiving something that came from the fruits of scientific work.

Thats a nice fairy tale but no, the research adds absolutely no value to the token.
Anytime those images/videos are shared you are victimizing the abused.

Disagree? I would love to see enablers/apologists put some skin in the game (pun intended) and start posting some of their favorite images of them getting abused. Let's see some of that philosophy in action!
Civil people don't care, and would wish the person success in their business endeavor.

You're civil, aren't you? Or were we just caught thinking with that side of the brain again?

Contrary to popular belief, there are in general perfectly reasonable people out there to talk business with in transit.
Firstly don’t do something like open it in notepad. 1GB text files are not exactly difficult to work with once you use a proper text editor or parsing tools.
That's false. The GPL allows for running a service with a closed source fork.

It's the AGPL that prohibits this, which is why I consider the AGPL nonfree.
Is there an alternative to ufile?

I've tried three different browsers and none can get the download to work. It's possible I'm blocking some tracking domain at the router-level that's integral to the download functioning.

Edit: Turns out I was blocking Google's captcha.
Requires cookies and ads, so you can use this: https://archive.is/MsaBP
Oh interesting! I didn't have any idea.

I think running Linux on a Cortex-A is entirely normal, FWIW.
sure, some of it is wishy-washy, but i've made adjustments based on it (no caffeine after 11:30am), and my health has dramatically improved.

now i'm dreaming every night AND waking up with programming solutions because of it.
You should expect some pushback on your pull requests, particularly early on. It’s a good opportunity to learn, and a good sign that your team cares about code quality and continuous improvement.

You mention bugs specifically, for which I think the best remedies are good unit tests and careful consideration of edge cases (which often go hand in hand). Other smaller issues such as deviation from framework conventions and performance problems can be helped by getting to know your languages, frameworks and database better, which comes with time. More generally, there are lots of good resources out there to help you improve the readability and structure of your code - Clean Code by Robert Martin (particularly the earlier chapters) and Sandi Metz’s books and talks are both good starting points. Issues with your general approach to solving problems are harder to address, but reviewing others’ code, learning about design patterns and pair programming can all help here.

In terms of actionable advice, I’d encourage you to briefly discuss your intended approach to a problem with a colleague before starting work: this can help expose issues in advance. Even better, pair program on the implementation with another engineer. Just pairing on the review can also help to reduce the back and forth and get code shipped faster.
I think many somewhat mathy DSLs can benefit from it.

For example, there’s boost Spirit, a library to write parsers. You describe a grammar in something that looks a lot like a EBNF grammar (https://www.boost.org/doc/libs/1_67_0/libs/spirit/doc/html/s...)
It’s not about being comfortable, but about the million ways your shell script will fail. A file has a space in the name? Good chance your script failed. No file founs? Same. Multiple files found after expansion? Same.
Oh wow, I didn't realise it was so bad.
> Writing easily understood and simple code, code easily maintained and extended by corporate employees, and fast code don't always line up.

Am I misinterpreting your comment, or did you just list 3 distinct items?

1. easily understood and simple code

2. code easily maintained and extended by corporate employees

3. fast code.

In my experience, points (1) and (2) are one and the same. No tension at all. Easily understood and simple code is easily maintained and extended, by anyone.

When I write code, I never try to cater to some junior idiot. I write for myself, 6 months later. Yet people who see my code often compliment how easy to read, use, and extend it is. Junior and experts alike.
You're confusing managed C++ with C++/CLI. The latter tries to introduce additional constructs to C++, so that it can partake in the CLR object model - and there you get all those limitations like no multiple inheritance. But you can, in fact, compile any random C++ code to IL - just run cl.exe with /clr:pure. The only thing that doesn't work in that case is setjmp/longjmp; everything else is available.

If you want to see it for yourself, take some .cpp file, and compile it with cl.exe /clr:pure /O2 /FAs. The latter switch will dump the IL assembly into the corresponding .asm file. Or you can inspect the output with ILSpy etc. You'll see that it compiles native C++ types down to CLR structs with no fields, but with explicitly set size (via StructLayout.Explicit); and then uses pointer arithmetic to access field values.
I second the recommendation of Gelman’s blog. He’s written a lot more about this particular case since then. Here’s a more recent article on the topic, for instance: https://statmodeling.stat.columbia.edu/2020/10/07/alexey-guz...
I definitely know real people (especially highschoolers or college students) who put fictional jobs in their profile. Also common is using some fake name, like that of a fictional character.
You really don’t need to sous vide it for 36 hours it’s a waste of time and money.

Depending on the size 5-6 hours in a sous vide is more than enough and it’s much better if you simply roast or braise it.

I used to sous vide everything then I’ve learned to cook better and I sous vide as a mostly pointless exercise for most food perpetration other than reheating.
SpaceX facility planned next to Tesla factory outside Austin, sources say
My 2008 Subaru Outback 2.5XT (JDM model) has camera-based adaptive cruise control, lane departure warning, lead vehicle start warning ("stop looking at your phone"), and pre-collision braking. Also AWD, 265 HP turbo engine. I bought it for NZ$10k (US$6000) in May last year, with 87000 km. https://pbs.twimg.com/media/EnuwXA6VcAAH9MJ.jpg
I do not fully understand indeed, but I really appreciate both of your replies as it gives a different perspective that I did not consider.
Not at once*.

You can spread it out over time. Banks would rather you did it in person so they can do the paperwork fpr large cash transactions once instead of 41 times.
I mean ... one can hope, right? :)
Also, searching for their Adsense publisher id reveals some other sites they own: peoplesearchnow.com, fastbackgroundcheck.com, smartbackgroundchecks.com

Those sites have new and different PO Boxes in other cities, etc.
I wouldn’t have shared the tale if I hadn’t.
I'm not sure that the second option is a very pythonic way to do it, but that's subjective of course. I'd imagine the original commenter views using a lot of ifs and elifs as the pythonic way to do it
IMHO market pressures, focus on profit, lack of care for quality by the developers as well as management, and so forth are all why software is basically shit these days.

> Perhaps the solution to making software jewels less rare is to make it easier for software engineers to make jewels by creating more sophisticated developer tools, so that way the quick-and-dirty approach just so happens to align with "the right thing."

That would go a long, long way, but culturally we would need to embrace quality over profits and I don't see that happening any time soon.

I do believe we will make some gains in the tooling due to open source/collaborative work a lot of us do for fun. Granted, without the cultural shift, it'll be a slow, gradual change.
US analyst pleads guilty to leaking defence info to reporter
I feel like the real question here is what will the semantics of a programming language with dependent types look like without enforcing of GADTs all the way, and whether it will work. That is, thanks to GADTs functional languages with dependent types -- in a sense -- make traditional runtime look like static since the type is non-constant while the checking is static (meaning, dependent operations over a variable returns a variable with redefined type, not possible now in Rust). This seems to be the main difference for now, as Rust the type is constant. Yet, this might very well be enough for practical usefulness -- with GADTs all the way you can reason about nice properties such as termination (sometimes) and certain mathematical interest such as generalisations of programming, but this is likely uninteresting for most. Rust might very well apply the same kind of golden middle road to dependent types as it did for linearity via affine types. Will be interesting how this evolves further!
Except we don't. Where's my single-core 100GHz processor?

Improvements still happen, but not always in the same way. If you implemented an application in 2003 assuming we'd have such a processor you'd be very disappointed. Counting on exponential improvements to continue is risky bet.
This is one of those ideas that seems nice in theory but in practice would just lead to so many subtle problems especially if it happened automatically.

Lots of programs create temporary files by changing the extension temporarily but if the kernel were attempting to intercept and change the internal data you could never guarantee the state of your file data. Not to mention potentially renaming an extension to an automatically handled extension and having that data irrevocably altered without you even realizing it.

Then of course there's the fact that there are usually lots of options associated with converting a file. Jpg needs visual compression levels, mp3 needs bitrates, etc.
How is it slower/matter at all? Goddamn bash calls an external process in if branches, so if a bash script is enough for a given process, than running python inside a vm inside a vm inside a vm will be still fast enough. Scripting doesn’t require performance.
I believe so.

I had the same thing, with a rent to own furniture place, 27 years ago.

I moved from one side of the country to the other, to open a new corporate office, but the move was hasty. 2 weeks from decision to hitting the road.

I just packed up everything, not thinking about the TV I rented-to-own. When it came time to pay, I had also switched banks, so I called them.

After I explained that I moved, and wanted to setup a new debit-from-account, the woman on the other end lambasted me, on and on, explaining breach of contract, that I stole the TV, I'm a thief, this sort of thing. Obviously my mistake for not reading the contract, and they were local only, so they had the same sort of geo-only clause, but at the same time I called them! No late payments, completely current, yet they unloaded on me like I was 6 months late and had planned some sort of elaborate theft.

Fed up with the abuse, I asked her to just get over it, and tell me where to send new payments. Nope, I was apparently a thief, an ass, a liar, on and on again.

I cut that short, asked again how to send payment, or do they not want anything? Again the yelling. I shouted goodbye and hung up.

I had given her my new address and phone number yet never heard from them again.

With these sorts in this industry, I am not surprised they just towed.
https://doc.rust-lang.org/nightly/unstable-book/language-fea...

This should provide interesting reading -- it's a discussion on unsized local variables, e.g. VLA's on the stack.
My favorite Red Green quote is “now, this is only temporary … unless it works.”
> Every one of them will eventually be leaked.

Equifax has more at stake than most. And they've been hacked. Repeatedly. The government has been hacked. Yahoo was COMPLETELY owned. I mean, if someone would put together a list, it would make for shocking reading. It's become so common, that we go, "Oh no! Anyway."
Revision is a Demoscene event [1][2] that is being livestreamed (instead of onsite) due to Covid. Not long after beginning the stream, they got banned by Twitch for unknown reasons, and are now instead streaming from media.ccc.de [3] because CCC thankfully saved the day.

[1]: https://2021.revision-party.net/start

[2]: https://en.wikipedia.org/wiki/Revision_(demoparty)

[3]: https://streaming.media.ccc.de/revision/revision_passthrough
A bunch of custom stuff around industry and open standards, from camera to mixer to transcoder to CDN to browser code.

https://c3voc.de/wiki/docu:overview
This is so incredibly sad, and I feel so helpless that this is slipping through our fingers. I fear I’ll never get a chance to see a coral reef in real life, and it looks almost certain that my children won’t. Is there anything we can do as individuals to help? I tried looking into conservation efforts but it seems like any amount of money we could hope to donate isn’t going to make a drop of difference to sea temperature change. Coral reefs aren’t like tigers or pandas, they’re just too delicate and complex to survive in any human made environment.
Ubiquiti's router offerings are rather poor, VPNs can't roll over to WAN2 automatically, redundant tunnels are hard to configure, IPv6 support is a mess, asking Ubiquiti for support gets you an unhelpful chat that redirects you to help articles you've already read.

Other players in this space have had these capabilities for over a decade, and you can call to get help. Ubiquiti might be inexpensive, but its still more than double the price of Grandstream's SoHo/SMB router and access point offerings while offering equivalent support and features.

Really neither of these offerings are good outside the SoHo and single location business space. I wish for OpenWRT, OPNsense or WatchGuard's configurability wrapped in a single interface that lets you see the router, switches and access points performance live while letting you alter their settings, without seriously kneecapped router capabilities.
It is not their car. The car is a collateral. There is a difference.

Also, they don't "set" the rules. The rules are set in a contract and contract is bilateral.
On the other hand, if you just got a haircut, then they know that you’ll be looking for another one in a set amount of time (based on your hairstyle, which they also know from photos), and they could advertise hairsalons to you then.

I’m not sure their algorithm is this refined, but it’s not impossible.
That last fully FOSS DSub build does still work with my Airsonic server, yeah. Sorry my wording implied otherwise. It’s just out of date compared to the version you’d find on Google Play is all, but my phone is old too so I don’t mind :)
They say "don't read the comments," but taking that advice would have led me to miss https://www.youtube.com/watch?v=MUw3s4evhTE . That is a 7 minute video of science comedy that had me laughing out loud at several points, and its punchline is directly relevant to the question at hand here.
I think this is a reason a lot of people live in New York...
My 2008 Outback 2.5XT has Eyesight adaptive cruise control including automatic breaking! Cost me US$6k a year ago with 55000 miles. Thirteen years old!
Right there with you!

I get it, languages have to grow or fix mistakes. I read about Python long before I attempted to program in it and even I (not a language designer or that special) knew that their handling of division as being integer division as a default was a long-term problem that would eventually be changed one way or another. And so it was.

I absolutely agree on the walrus operator. It's too terse and while on its own it only makes two steps into one, it's not used alone, making each line of code with it that much harder to unpack.

I don't know enough about pattern matching but my feeling is that we got along without it so far ...
It depends on the base type - you can get the traditional unsigned integer wraparound behavior, too. But Ada is very explicit about this, to the point of referring to them as "modulo types", and defining them using the mod keyword instead of range:

type Unsigned_32 is mod 2**32;
There's no need to ignorantly speculate when you can read about what she wants. She wants people of similar wealth to be taxed equally.
You can learn more about her ideas at
https://www.theguardian.com/news/2021/apr/03/raise-my-taxes-...
> Your special forces still use Land Rovers on operations!

I'm not Australian!
I personally believe sleep research is at the same stage as the food pyramid was in the 80s.

As someone who is also currently doing sleep trials for our start-up (https://soundmind.co), I can understand why. Clinical sleep trials are time consuming and expensive. Try getting a volunteer to sleep in a lab for more than a few nights, then try to get thousands of people doing that, like you would in a drug trial, also try to factor in all the things that person would have done that day which would affect their sleep, as well as factoring in what their sleep was like the previous 3 or more nights, and how that would affect on going sleep.

When I read Why We Sleep, I remember thinking that the conclusions Dr Walker was arriving at seemed wrong much of the time, and seemed sensationalist. At the same time, I've seen him interviewed where he walks back things like the link between circadian rhythm and blue-light.

I'm not sure if the expectation is that he writes a rebuttal to his own work, or a living document about how the science has changed?

I think we need to look at the emerging field and understand that sleep is still something we don't understand well, and that much of the research is still a moving target.
> Does that make you a scrooge mcduck wealth hoarder? No.

My first guess was that "scrooge mcduck wealth hoarding" made you a scrooge mcduck wealth hoarder, but good to see you're ruling out the strawmen early.
Build enough PV to generate 24 hours worth of power for the reactor in daylight hours, and store the excess in batteries to power the reactor overnight.
The problem is that there are both some inaccuracies with the takedown, the book is still factually inaccurate in dangerous ways even though it is accurate in others, and ultimately neither source gives a satisfactory conclusion to the question of how you should approach sleep issues.

There is something about the Why We Sleep controversy that is uniquely frustrating to me, having dealt with sleep problems for years. If I hadn't read HN then I probably would have read that book for far longer than I did. What about the people that might not read HN and still aren't aware of the tangible harms it can cause? It currently has a 4.4 out of 5 on Goodreads and pages of written five-star reviews, proving the utter uselessness of such a metric for topics like health.

It seems the solution is research from a variety of different sources. That worked pretty well for actually sorting out my sleep issues, because I was more careful. But the thing is, time is finite. In the programming realm we can't always do the same militant validation for the thousands of microdependencies a single npm project can pull in. The amount of available information is exploding, and much of it is becoming obsoleted constantly. There has to be a line drawn somewhere. And when we decide to trust the creator as being an "expert" as a compromise, we will inevitably encounter sources like these.
What do climate change denialists think about stories like this?

Do they

A) Think it's a complete lie/exaggeraiton, and the Barrier Reef will be fine?

B) Think it's happening but not because of human activity (a massive die off across thousands of kilometers is totally natural, dude)

C) Agree that it's caused by humans, but that it's too late to do anything about (probably true), but that also it's not worth taking action on the REST of our emissions even though it could help prevent extinctions and irreversible ecosystem changes in areas we haven't even discussed yet.

D) Agree that it's caused by humans, but trying to do anything will destroy the economy, and the livelyhood of people that depend on it, so it's not worth doing

E) Agree that it's caused by humans, and renewable energy is cheap enough now that the economy will be fine, but trying to do anything about it will cause a reduction in corporate profits for a couple of companies, so it's not worth doing.

As recently as 10 years ago it feels like most conservatives were in Category A

Looking at the statements of most right-wing politicians, it seems that we are approaching critical mass of entry into group D.

How do people live with themselves knowing the mental gymnastics they are doing to remain "right" and never admit their thinking was flawed in any way shape or form...
> Is putting a method on a class called 'method overloading'?

It most certainly is.. _if_ the method you are adding has the name of a functionality that is either inherently part of its spec or effectively so if by community conventions.

e.g. when you make a method with signature `boolean equals(Object other)` in java, it is literally, as in the very spec itself calls it this, 'overloading'.

The term is appropriate. `*` is commonly understood to be some sort of numeric operation with the properties that it is reflective, commutative, etc. If you decide to add a definition for a class you're writing, the term 'overloading' is entirely appropriate.
I Asked 100 People What They Learned from Lockdown
Reputation, yes, however this is no longer reality IMHO. Think of all those posts about how the keyboard sucks on macbooks, think of the posts complaining about Apple's quality in general over the past couple years. It may be a somewhat recent change, but Apple does not produce good quality any more. Apple is useful, but a bit janky these days.
Do You Need Money Now? 6 Safe Ways to Get Fast Funds – MoneyLion
Yes, trains can only run at night when it's also windy. I'm not sure how you arrive at the conclusion that solar powered trains can only run at night, short of willful misinterpretation.