skysight-inc/HackerNews huggingface dataset:
It shouldn't need to know implementation details, but it should need to know expected behaviour. The use of ICartDiscountStrategy and BulkPurchaseDiscountStrategy is an implementation detail, the high level requirement that buying 10 of something should be cheaper than 9 is just specified system behaviour and that is exactly what you should be testing for.

I would refer to these tests as "integration tests" although the language is poor here. Test a load of module together. This is beneficial in a number of ways: It tests whether modules are integrated together correctly - you can check that module A works and calls your fake of module B correctly, but you don't have a good way to check that your fake of module B matches module B behaviour properly (in practice it's usually when there are multiple modules involved that the problems occur). Unit tests only test stuff in isolation. It also means that you can refactor all that code, and as long as you don't change the top interface the tests will remain valid. If you move some responsibility around and change interfaces this can result in a lot of time consuming unit test changes, and that usually means that people don't actually structurally refactor as much as they should do.

Integration tests do not replace unit tests, they should just be taking a lot of the load. This at least is my interpretation of the well known "Write tests. Not too many. Mostly integration" tweet (https://twitter.com/rauchg/status/807626710350839808).
Drag is enough of an issue for the ISS that they actually rotate the solar panels to reduce drag when they're not in sunlight, which saves them ~1000kg of propellant per year.

https://en.wikipedia.org/wiki/Night_Glider_mode
The Simpsons is actually a pretty good counterexample. The first season is so-so, the show didn’t really hit its stride until seasons 3-8 according to IMDB ratings: https://i.redd.it/p0or3k2rv6dz.jpg

If The Simpsons was British, none of the best episodes would have been made.
> won't it mean that people actually get art worth their time?

It optimizes for local maxima, rather than taking the risks associated with finding larger global maxima.

Or, in other words: It creates lots and lots and lots of pretty-good stuff of particular types with broad appeal, rather than allowing diversification into some stuff that appeals very strongly to group A, some other stuff that appeals very strongly to group B, etc.

It makes the publishing/Netflix executives richer, but our culture poorer.
Still, girls need more social interactions than boys in general, as the mental issues are different.

According to other research boys are coping mentally better with COVID than girls.
There are some problems like this that I’ve ended up solving with a scrolling capture screenshot (ShareX on Windows) and the first fitting google result for an OCR service.
Show HN: Pirsch Analytics – upcoming privacy and developer friendly analytics
Tips for choosing long-term tools for long-term projects
When I first heard the home abuse story I shivered because I had a mere mild version as a late teenager. I literally trained for a marathon because that meant 2-4 hours/day away from the house.

The only good that came out of it was that I studied so freaking hard so I could get a job and move out.

There was no empathy for this demographic, but lots of empathy for 70+ year olds.
When Netflix comes out with a new show I won't watch it until it gets into a third season. Learned early on the investment of time doesn't pay off as they quickly pull the shows.

Unsure what the future holds for netflix as more and more IP silos are popping up and eventually they'll have to resort to their own programming in the USA to carry the load. Will that be enough versus other services having vast libraries?
With the level of lisp-hate out there, this approach might make this feature less likely to happen. It's quite a sound idea tho.
I am not American, what is considered "a tiny apartament", how many square meters are we talking about?
How many males do you know how genuienly like dancing?

You are picking a small population of males and generlizing to all of them. Most males have no interest in dancing.

Nothing wrong if you do, but most don't.
It really does amaze me they are not doing this. How you gain more subscribers is by maintaining a solid track record for Netflix originals now I typically hold off until I see that its past the 3rd season as a show.

If I cancel Netflix the only way I am going back is if they stop cancelling shows. Whats worse is Netflix will be full of a graveyard of shows never finished. If the last time a show has been updated is over two years back I dont click to watch.

Amazon had the better idea to plan for the long term not the short term. I hope Netflix takes a similar stand. Make your customers happy and eventually your shareholders will follow when the numbers work themselves to your favor.
To be fair, police already had the option to stop wasting their time on stupid college students, it's called discretion.
I feel like the SMS has the best sound from that era, but it might just be my nostalgia :)

"Escape in a Forest" from Ninja Gaiden on the SMS is my all time favorite: https://youtu.be/E3IWkLFfD6M but the whole OST is a masterpiece that does not get the credit it deserves.
That needs a list of empty cells, otherwise you need to retry and get the same issue as the map-wide regeneration.
Analytics for Developers
oh man they canceled it? This was one of my favorite covid finds!
Netflix is horrible. It's slowly turning back into broadcast TV. And this whole data-driven approach to everything is infuriating. Complain about how something works? Netflix says the data proves you wrong. How long did it take them to add an option to get rid of those automatic video previews that had users enraged? I would have canceled long ago if my wife didn't like watching all the Asian novelas they have on there.

I recall reading something from some Netflix analytics-obsessed pinhead about the automatic previews where they said they wanted it to behave more like regular TV where something is on as soon as you turn it on. Then they have it automatically play the next episode by default. I recently read about some other feature they were testing where it would just continuously play whatever their recommendation engine thinks you would like. Then you've got the more frequent churn of content.

Netflix today resembles a personalized stream of an old school premium cable channel like HBO. It's designed to help you quickly find something to watch and then send you down a rabbit hole with continuous content that autoplays as soon as the last video ends. On the one hand, I admire them for doing something different than every other streaming service that popped up after they invented the category. On the other hand, I just don't like the experience at all.
no.

reddit is owned by someone. it is censored periodically. it is monetized.

usenet was built up in a more grassroots peer-to-peer way.
> We could go and base things more off of Nordic nations

They're very much capitalist though.
Hello Hackers, we're working on a new product. A developer friendly analytics tool that respects the privacy of your website visitors. We will offer SDKs, an API, good documentation and more. The core is open-source and available on GitHub: https://github.com/pirsch-analytics/pirsch (we will probably change the license).

Please sign up for our upcoming beta if you're interested. We plan to launch the beta at the end of this year and it will be completely free.
I feel like Python is losing its way, its maintainers seem to feel the need to "compete" by implementing poor copies of other languages' syntax. The "walrus" assignment operators, the proposed pattern matching, now this...
I have been looking to move away from Spotify for a while now due to their lacklustre support for iOS devices. Is there a good comparison between Spotify, Apple Music and Amazon Prime Music somewhere, especially in terms of their coverage?
Well looking out my window that's because they're having a whale of a time and I I haven't the heart to blame them really. They're roaming the streets here like a herd of frisky wildebeest.
We've also concentrated obscene amounts of hard to extract elements near the surface of the earth.
I have a suspicion that the way game of thrones ended may have been an experiment to disrupt consumers attachment to release them onto new objects of desire. It didn't affect the studio or publisher that much, GOT simply vanished from culture.

Past obsessives moved to other newer things after a few days.

It's an incredibly curious thing and the opposite from the never ending marvel material that gets released.
I think you will have bullies in every situation. Had to deal with them in sports too.
Tidal energy never panned out, it was far too expensive and no one came close to commercial viability over the dozen years of experimentation.
Of course there is. $$$$
That syntax is ugly as sin and I can’t tell from the PEP exactly what the examples are doing which is rare. I hope this doesn’t pass or if it does, with major improvements.
Are you going to sell your car or buy a different make of car because of information contained in these reports specifically?
I disagree, it was sort of public
> It's also worth noting how many of the cancellations have been shows with women and people of color prominently behind the scenes or starring. "One Day at a Time," "Tuca and Bertie," "Glow," "I Am Not Okay with This," and "Everything Sucks" are just a few examples of canceled shows with both diverse characters and representation behind the lens.

Maybe that has something to do with it. There is a common meme "manga, anime, Netflix adaption". The first two show the main character looking as designed, and the last show a black woman. It ends up, if you optimize for showing every race and gender rather than entertainment, I can see why the show would be cancelled.
a) That's an interesting post, thanks!

b) It's crazy that the best option I've seen so far for HomeKit compatible power boards is to custom flash some noname Chinese brand.

I thought Apple was known for their slick, well-suported products!
Create moving windows that stay on top of other apps on Android
The problem is that the more Netflix cancels shows that way, the less people will want to follow a show because of that very policy. The law of diminishing returns. the same thing that has made people wary of using any Google product since Google doesn't think long term. I quit Netflix when they cancelled the excellent Daredevil show.
Honestly really struggling to justify paying for Netflix anymore, think there has been maybe one thing I enjoyed watching on it the past 4 months and I look through the listing every single day.

I also don't think the way they make shows is very smart, it's all optimized for trying to cause a binge watch in the realm of 10+ hours. I did watch the first 4 hours of that OA show and honestly the level of content felt about enough for a 90 minute movie just stretched out at a glacial pace and I just couldn't stand the navel gazing required to drag it out into a 10 hour long series.
I would add by a psychologist with admitted important lacks of knowledge:

From the paper abstract:

>Lack of knowledge on how the law was introduced, the degree of enforcement by the police, and behavioral changes in response to the law makes it difficult to attribute the lack of effect on bicycle crashes.
Just spitballing here, but the subscription model and streaming and the increasing competition is doing this to the industry. Providers will have to increase the velocity of their output to keep up. I will guess that each of these canceled series are being placed on the catalog shelf as the raw material for movies. Netflix may be playing the long game here, sacrificing viewer ill will in the present in order to build an IP catalog that will feed the pipeline for years to come.

Accordingly, since funds are limited and you can only produce n things concurrently, there is a certain sense in constantly churning out new IP.

I think this theory fits with the report in the article about creators getting 9 figure contracts as their series gets ‘cancelled’
Well while I'm not a professional in the topic in any way, I'd personally seen the benefits of walking in the cold (e.g. in winter where people were wearing many clothes on top of each other) with just a tshirt: it makes me feel much more alive, alert (in a good way, not in an anxious way), and much more immune to pretty much anything both physically and mentally.
Sorry. I read incomprehensible instead of incompressible.

Perhaps the far universe we perceive and will perceive is not there anymore. It doesn't have to. What we perceive is its light (or electromagnetic/gravitational waves). Objects far away could have been garbage-collected millions of years ago. You don't need to compute them anymore.

If the simulation has a limited time to run, then you can create and delete objects while playing with the speed of light to carry whatever information to us.

Edit: millions of years ago is not needed. They could have garbage-collected the objects as soon as they complete the time for duration of the simulation. Whatever it is, I would save this information as a template for future simulations.
I took a second to think about how I'd respond to a survey that asked these questions.

I'd lie. I don't want to get singled out for home abuse or bullies. There are people that have it worse. And having to talk to people that are powerless to remove bullies is a huge mental drain.
Has something changed? I'd always thought the cubic dependence of power generated on wind speed meant that the places people willingly live are often distinct from the places engineers site wind turbines.
>Until they killed the comments section

Excellent take.

The comments were filled with additional information and there was a community. I understand why they got rid of them due to creeping toxicity, but they didn't even try to improve it before killing it.
Funnily, they recommend Spotify as the best music streaming platform here:

https://freeyourmusic.com/en/blog/best-music-streaming-platf...
On the other hand I've heard stories about how Scala is used in some of these Spark positions and it sounds moderately disappointing.

For example: https://news.ycombinator.com/item?id=24483943
I've become a big fan of AppImages. I found a project on Github called AppImageInstaller which will create a Gnome/KDE integration shortcut for you and move the AppImage file to a "programs" directory of your choosing.

I usually just "Open with AppImageInstaller" when I download them, it pops up and asks if you want to run once or integrate. When you get a new version you can right-click the old one's shortcut/icon and AppImageInstaller's integration give you a "remove from system" type option.

I use Cura as an AppImage, FreeCAD, Lens (Kubernetes "IDE") Zettlr, and a few others as AppImages. It's really clean and convenient.

It really upsets me when I find tools I want only have snaps, because like any sane person, I kill snapd the second I install an Ubuntu system (Laptops) and I run Manjaro on my desktop so snapd isn't going anywhere near it.
Libsixel: Dec Terminal Graphics
The service in question from OP is not using Spotify's API so no license applied. It sounds like they're automating/scraping, which in the US at least, was just ruled legal.[1] Of course, that puts scraper and scrapee into a leapfrog contest.

As OP points out, the best defense against customers leaving is to actually listen to them and please them. In this area, while Spotify might have a giant catalog, they are blatantly tormenting users by removing obvious, simple, features demanded by the thousands of votes on their forum.

1. https://www.forbes.com/sites/emmawoollacott/2019/09/10/linke...
Outliers with high impact become news. This is one reason why people become more afraid for an airplane or terrorist than a car accident.

Recommended related material: the book Factfulness by Hans Rosling [1] and Terrorism and Counterterrorism: Comparing Theory and Practice by Universiteit Leiden [2].

[1] https://en.wikipedia.org/wiki/Factfulness%3A_Ten_Reasons_We%...

[2] https://www.coursera.org/learn/terrorism
Multiple windows isn't a power user feature and it isn't a differentiator for KDE.
There absolutely is a reason. Microsoft's reason. Scaring users away from independent software distribution means more people will use the Windows Store.
How long would one of those have to generate electricity to make up for its own construction? 10,000 tons of concrete and steel probably cause quite a lot of CO2 pollution to make.
Thanks to you, I no longer need to.
I've been wondering about the "economics" of long running serials for a while.

If you have a new series, all potential viewers are potential viewers. If you have a season 3, the only potential viewers are season 2 watchers. A genuinely huge show like breaking bad or GOT might break this dynamic, as people eventually catch up on old seasons and make the pool bigger. In normal circumstances though, new seasons have limited potential. They also have no upside. Season 4 is not going to be a blockbuster if 1-3 were average.

Maybe it makes sense to shoot single seasons, with multiple seasons being a rare circumstance thing. Just tell a story that fits in 6-12 hours.

Seems like it would be good for creativity, the opposite of cinema's recycling problem. Who says new shows are worse than new seasons. It even seems like a bolder choice to me. No guaranteed audience, but unlimited audience.
> Why do fakes need tests, but mocks don't?

because no new class or method is created with mocks, it's merely declarative, no new logic is created than needs to be tested. Fakes very much have logic since they are implementations of classes.

> Or do you have a rule in your company that every class needs a test? Maybe this rule is the problem.

No Fakes are, not the fact that every unit should be tested. Fakes are very much a unit, the fact that they are classes is irrelevant.

furthermore:

https://news.ycombinator.com/item?id=24774752

which demonstrates my point. I don't want to have to write tests for tests.
Are there any big differences between iOS and Android versions?
Real-time data show Covid-19's impact on global emissions
Crypto scammers piggybacking Trump’s Twitter, cloning Medium, stealing crypto
> There's always the issue of "where will we find people who know Scala?" of course. I can't tell if it matters; certainly, there are fewer people with that skill, but they are also competing for fewer jobs.

Didn't LinkedIn or some other large company using Scala start to migrate off of it for this sort of reason? I think it was a mix of that and difficulty training new employees to use it.
Ontological Arguments are fun: https://plato.stanford.edu/entries/ontological-arguments/

Why are we all Gnostics now, though?

Moot the arguments themselves for a second, and I’m interested in what their priors reveal about ourselves. The simulation hypotheses seem to assume that we’re likely to be in a situation like the nesting car battery universes from Rick and Morty, and it’s interesting to think a bit about what that valuation of ourselves says about how we see ourselves these days.
> The first season was an incomplete prequel story to Jim Henson's innovative 1982 film, and it's a shame that the story will go unfinished.

In this case I think it takes 2 to tango.

We don't know what happened but either Netflix bought a season with (presumably) a promise of a second season if succesful, or they bought two seasons, with payment in to installations, and decided to bail halfway through.

I think the first setup is the most likely and in that case the producers then decided to try and take the viewers hostage, by producing an unfinished story, in the hopes that the an outcry for more can help demand for a season 2.
It would probably be easy to write a bookmarklet that extracts your music into csv.

Then you can save it and upload it to wherever you like.

You probably would have to write a second little script to convert the csv into the format of the service you want to upload it to.
Well, for starters, they do not support Apple Watch, which is very problematic for me.
Thing is with a lot of American sitcoms is on a long enough timeline they just become soap operas.

UK Office is a concise and witty comedy idea expressed in the correct amount of time the idea deserves.

If you look at the later seasons of shows like US Office, Parks and Rec and similar shows, what you're watching has more in common with a soap opera than a sitcom. I feel I can almost count the exceptions to this on one hand.
Need this for Google play/youtube music.

Worst case I use OCR/mechanical turks in the future because I took screenshots.
> In Quantum Mechanics things travel as waves and interact as particles. Between interactions, everything is described by the Schrodinger Wave Function, which evolves to include every possible path. But at the point of an interaction the wave function must collapse to satisfy conservation rules.

That would make some sense if by interaction you mean "interaction with the macroscopic environment". When small-enough quantum systems (like two particles) interact there is no collapse and the evolution is unitary.

> This interaction is enough to 'collapse the wave function'. No 'observation' is required.

How do you distinguish the interactions that 'collapse the wave function' from those who do not?
Small kids are not as good as verbalizing what happens. Meaning, at the age when this all starts, they will not put it into words like this.

There is also strong cultural assumption that if coach is tough it is good. When kids are complaining, typically unable to explain exactly what the issue is, they are talked about as spoiled by helicopter parents or oversensitive moms.

So, even parents who eventually take their own kids away dont treat the whole thing as systematic abuse issue - they talked about it as personal preference of the kid.
Distri: Researching fast Linux package management (video from Arch Conf 2020)
More likely, it's your phrasing and typography that is causing downvotes rather than your ideology. Using capitals for emphasis violates the guidelines (https://news.ycombinator.com/newsguidelines.html), and for many people, starting with repeated this's pattern-matches to a low quality comment. You might ask yourself if your style is conducive to the message you are trying to convey.