skysight-inc/HackerNews huggingface dataset:
At the end of the day the audience have voted with their wallets - since 2011 (3 years after the introduction of the app store & 7 years ago) f2p revenue have surpassed "premium" game revenue & the situation has only gotten more and more in favor of f2p since then.

You will occasionally find someone online saying "I'd have bought it as a $10 premium game" but in reality trying to pay salaries with premium games is almost impossible.

Yes, there are the rare outliers like monument valley but there are orders of magnitude more people making a living working on f2p games.
Disponible Idée 2 à Découvrir:)
The thing is, you still can have both on the modern web. The web isn't all FAANG, and there's nothing stopping anyone from changing their browsing habits or not participating in social media if they want, or building sites the way they were built in the 90s.
Yeah sometimes I wonder about that career choice of mine. Software or actual engineering would have been cool.

>it really sounds to me like the supply of that capability is dangerously restricted

In some countries yes quite restricted, don't think dangerously so. Way more scared of them rubberstamping poor candidates. Plus auditing isn't particularly difficult to be honest.

>one of those things that's certainly necessary for the smooth functioning of civilization

Maybe. I'm not 100% convinced. I'll definitely take the job security though.
I don't think that will happen. Companies don't want to connect a hundred batteries of dubious quality to build grid storage. Recycling works so well that building new batteries is far more profitable.
That is very achievable :) stop blundering/hanging pieces and you are there. I myself since discovering lichess this year set myself the goal to go 1000 to 1500 lichess elo, which is approximately the same. It's May and I'm stuck at 1450. (Also mainly by stopping to blunder pieces)
Maybe The Bonus Army in 1932, though far less intensified in terms of casualties. Many labor movements and strikes in 19th and early 21th century also led to death of up to 100 by law enforcement, state troops or private guards hired by business owner. Most recent case I can think of is the Kent University Shooting in which national guard killed 4 students protesting Vietnam War. Some witnesses said these soliders was not self-defensing but deliberately shot at the crowd
Not who you asked, but I work for a large international company, a big 4 professional services firm. I wanted to install anaconda and Jupyter on my machine (data science is not a part of my 'official' job description, but I wanted to see how much of my data exploration workflow I could speed up or automate). I had to go up three separate hierarchy ladders to get sign off. First, my own team, then IT, then our risk and quality team (thanks to our audit practice and a few historical issues with whistleblowers and leaks, the risk guys are pretty much the final arbiter of... Everything)

After about 9 weeks of emails, meetings, and pitches, I finally got Anaconda up and running. A week later, I tried to upgrade the 3rd party packages.. No dice. Blocked by the corporate VPN. I'd need the sign off every time I wanted to `pip upgrade` anything

Needless to say, I do not bother anymore.
And backing out of it when running on pypy, as that does not deprecate python 2 compatibility...
missing 527 verso, for example.

Read this https://news.ycombinator.com/item?id=19947001
I don’t think they’re green threads - they’re full OS threads. They just have the GIL.
A React component can do arbitrary, computationally expensive, logic inside components. React gives you the ability to memoize that work. Without shouldComponentUpdate developers would need to hand roll a caching layer or stick computed values in a store.
Python already has fully shared state across multiprocesses: https://docs.python.org/3.7/library/multiprocessing.html#sha...
Take trust out of the equation. It's one entity that is optimised to extract money from you and your data, vs many companies doing the same.
XCOM2 is great. And Eurogamer is a good website. And I don't get paid by either.
In my part of Australia it's:
3: $3 553kJ
6: $5.95 1110kJ
10: $8.30 1840kJ
20: $13.35 3690kJ
24: $9.95 3690kJ 10:30AM - 12AM

Chicken bites (similar to popcorn chicken): 10 for $2 734kJ 10AM - 12AM
It’s just moving the issue to the family. Cremating a body basically became a privacy/security best practice I guess.
Age your gifts: think like a distillery in Scotland
> Video games have a main loop, take input, compute the next state, and then merely render the state to the screen. There is no point in manipulating the "UI". The data flow is very clear.

I always thought this is basically the MVC pattern. And it's obviously the only sane way to do things.

Edit: I don't mind the donwvotes, but am I wrong? The MVC pattern simply seems to mandate, at its core, the separation between the model, its graphical representation, and the input from the user. Input -> model -> view. So a game loop where the user input is gathered, the model is updated by calculating the next state, and the view is displayed seems to me an instance of MVC.
Learnings from 4500 Code Reviews
> Firstly pension funds are conservative in their estimates,

Not really.

https://davidgcrane.org/?page_id=702
lol, zero is even.
Transitive dependencies on Guava 19, 20, 21 can lead to runtime crashes if your dependencies differ in what guava versions they expected when they were compiled:

https://www.google.com/search?q=guava+nosuchmethoderror
The Mom Test: Learn If Your Business Is a Good Idea
What amazes me is how mobile games are almost all just the same game with different art and slightly different features but they almost always fall in to the category of loading bars that get longer as the game goes on and a second currency to skip the loading bars. They don't seem to have changed much at all since I had the original iPad.
I don't think it's just rumours. Microsoft, Apple and Red Hat have said that full mitigation requires disabling hyperthreading. While Intel don't recommend doing so, their justification for this is that most people don't actually need process protection anyway. They also note that "it’s important to understand that doing so does not alone provide protection against MDS", which is true - you need to disable hyperthreading and apply additional performance-sapping mitigations which require both microcode updates and operating system support. The hyperthreading-based variants seem to be a lot more powerful than the ones fixed by the other mitigations though.
> it was the declarative description of the rendered content

this is absolutely the 'revolution' that React brought front end centre - declarative UI's for the web. This is why people that enjoy working with react enjoy it so much, whether they know it or not.
I remember buying an iPad 1 and then buying a couple games. Back then you paid upfront and they were enjoyable.

Then everything became a free to play borefest so now I have almost no games on my mobile devices.

What's worse, I don't even try to discover mobile games worth playing any more. There probably are a few, especially on iOS, but the time needed to wade through the piles of free to play manure to find the occasional game where you pay upfront makes it simply not worth it.
Well written. From my memory I remember situations trying to isolate cascade of rerenderes in backbonejs caused by multiple isolated event handlers. Also state used to problems, before state management libraries existed. And actually messenger (built in) was first app that was written in react, because it was plagued by several bugs, like not showing/resetting unread message count correctly...
I'm not sure this is an entirely fair assessment.

Apple have gone to great lengths to use renewable energy and even managed to coerce some of their largest suppliers into doing the same. Their latest range of devices are built with increasing numbers of recycled materials. They generally have a good track record with recycling, even if not very repairable.

I would guess there are companies out there far worse for the environment than Apple.

[1] https://www.fastcompany.com/40554151/how-apple-got-to-100-re...
[2] https://www.theverge.com/2019/4/11/18305840/apple-foxconn-ts...
[3] https://www.cnet.com/news/apple-ups-the-recycled-materials-i...
Title was not click bait. This is pretty impressive.
The dashboard will be scratched up, the interior might start smelling, the tires may be worn out. The wipers may need to be replaced. At some point you're replacing everything.
It started much earlier than that.

https://en.wikipedia.org/wiki/Yangtze_Patrol

And people forget that some of the largest mass lynchings were against the chinese.

https://en.wikipedia.org/wiki/Chinese_massacre_of_1871

And the only anti-immigration bill to target a specific ethnic group was once again directed against the chinese.

https://en.wikipedia.org/wiki/Chinese_Exclusion_Act
My partner is into knitting and what has struck me about it is the highly variable semantics and syntax of knitting patterns. Seems to be few standards as to how to describe how something should be knitted.
And the companies I worked with repeatedly stated that they couldn't possibly switch away because their clients (often the government itself) was using a particular version of MS Office. This often meant we had to use several versions of MS Office, depending on who we were interacting with.

The company you work for is one of the enlightened few. Or maybe it's a tech company with an enlightened management?
> I'm an Arch user after all

Thanks for letting us know, couln't have guessed it.
This is awfully dismissive without sound reasoning, I think. It doesn't take long for anyone working with the old ways outlined above (for example, me five years ago) to see why React was in many ways a step forward, defining what we should expect of any new front-end libraries these days. Also, everything starts out as a cool hack/experiment at some point.

> it's one of those tools that tries to take away complexity by adding complexity on top

It's one of those tools that purposely abstracts unproductive, inefficient complexity that we were not aware of before into a higher-level one, forcing us to be more mindful of how we do things. A matter of tradeoffs, I would say, and there's gotta be a limit to how 'simple' one thing can be. Also, you're conflating React the library with the ecosystem around it.

On a sidenote, all the tooling and boilerplate React came hand-in-hand with was markedly a net positive for me. It was in picking up React, during my career, that I learned why tooling is important, picked up tools like Webpack and grunt, learned myself how to do CI/CD and other stuff.
Rebel Inc.: https://www.ndemiccreations.com/en/51-rebel-inc

It has a few in-app purchases, but they’re just to unlock various maps and characters if you’d prefer not to have to earn them by winning earlier stages first. There’s no grinding, no ads, no “diamonds”, none of the usual mobile-game BS.
Think of the ecological footprint! Let them starve.
That depends on interpretation of 'good' and 'strategy'.

Bloons Tower Defence 5 is fairly well known as something you can outright purchase, and complete without IAP. Unfortunately it still has them... And TD doesn't tend to be for beyond casual gamers. (What is good strategy?)

Shattered Pixel Dungeon is a fine rogue, without IAP. Nothing special, nothing terrible.

I found Enchanted Fortress somewhat addictive. No IAP. Somewhat simple premise, but decent execution.
It doesn't work, energy follows thought and it makes no sense to focus it on what you want to avoid. Take or leave.

That being said, the worst I ever saw was the in-house business nonsense I was paid to deal with as a Java consultant. The worst code isn't open source from my experience, subjecting it to public scrutiny would mean suicide for the companies involved.
I have, but thanks for the link :)
JS (or at least wasm) should be getting opt-in shared memory at some point. That seems like a pretty good way to do it to me.
> was typically done when the virtual DOM approach was introduced.

Don't care and I am guessing you didn't read the article. Ignorance of the DOM does not redefine what it is. This is just as true for jQuery stupidity as it is for React virtual DOM nonsense. Fortunately, the DOM is defined in a standard specification so there is a document of truth that you can go read.

> In short - the DOM was often used to store state. And this just isn't a very efficient approach.

Again, don't care. Other people's misuse and stupidity is their problem. That stupidity does not alter the technology specification.

If you really want to know what the DOM is I wrote a very brief summary with links to the specifications: https://prettydiff.com/2/guide/unrelated_dom.xhtml
There's something you overlook: Electric cars aren't so damned noisy. In a few years, lots of people will have experience with that and some of them will want to get the damned noisy traffic out of their neighbourhood.

Assuming that you want a diesel, do you still want it if you don't know whether you'll be permitted to drive that thing in the place where you want to go on vacation?
I can find e-Ups for 10000€ (new 26000€). A new battery will most likely cost 10000€ too.
Twitter ID exposure via error-based side-channel attack
Indeed it's odd. It sounds like "if you can spend 40k on a car then you're filthy rich and thus must be able to spend 40k plus a hefty tax". When put this way it appears to resonate with one of the common ways to see the world.
Failure to Launch Syndrome
Windows XP Gets a Rare Update Thanks to WannaCry-Like “Wormable” Vulnerability
EBPF Superpowers
For me it is Miniconda + a list of package requirements. Then you can just create an environment for each project and install new dependencies as you go.
> he thing that changed to make frontend development improve dramatically was hash based routing with ajax...

I think that what's changed is simply that people realized that it's way less messy to use the backend only as a data source (with ajax calls), and leave everything else to the frontend. The cognitive overhead of having the server producing html with some implicit state, then updating that state interactively, and then losing everything again by posting the whole page to the server, was simply unbearable.

When I started building web applications in 2004 I had some experience in writing desktop apps: I simply created a js library to create and destroy UI elements, and wrote "desktop" apps running in the browser.
I still do some old school JQuery manipulations, and a lot of what kills you on the performance front is also the repeated manipulations of the same set of elements in the same frame. Often, you go in and change an element. Only to have another piece of javascript change it again. Each of those modifications then require a complete relayout of the page, that's when it gets expensive.

You could say that we should just optimize our JQuery, and you'd be right. We just don't have structured way of figuring out everything that touches a "component". (What is a component anyway, when it's all adhoc).
Maybe just use kitdll instead of a full blown Tcl/Tk distro, to provide the dependency, that would shrink the size a lot.

http://kitcreator.rkeene.org/fossil/wiki?name=KitDLL
When I read 'crashed' I didn't expect a 100% increase in two months http://bitcointicker.co/stamp/btc/usd/24hr/

I guess they orchestrate one more (last) pump&dump hype cycle.
Very true, I actually envisioned something like a shell or a chromeOS-like shell to avoid having government workers learn command line and such.
Mirror,Mirror on the way, what is the vainest metric of them all?
Cellphones are important
So I understand that many people admitted to the murder. In South Africa, there was a specific admission to the murder by Craig Williamson, who is a ex-special agent. I don't think that here there is the same phenomenon by which multiple people admit to the murder in a delusional way.

This admission was done as part of the TRC (Truth and Reconciliation Commision). There is no reason here not to believe them. The only thing I can think of is delusions of grandeur, but like I say, I don't know of many TRC revelations being untrue.
people including journalists generally rarely grasp exponential change (nor sigmoidal).
You are wrong about serverless vendor lock-in
How to share your location on Google maps
Tell Me More, Nginx (2017)
Getting rid of the GIL would make the 2 to 3 transition look like kindergarten. There's lots and lots of Python code (and C extensions) that makes assumptions enabled by the GIL.

For starters:

If you get rid of CPython's atomic operations on lists and other simple objects, lots of Python code would need more locks than it needs now.

If, on the other hand, you wish to keep those operations atomic, without the GIL that means introducing fine-grained locks on specific objects, which would worsen even single-threaded performance. Imagine taking a pthread mutex each time you append an item to every list or store a number in every variable.
I feel like this could lead to very opinionated, non-constructive comments/flame, but if were to give you an example, I'd suggest taking a look at Wordpress eco-system. While Wordpress core's codebase has improved significantly over the years, some of the plugins haven't.

The top pick goes to WooCommerce, although an open source E-commerce solution on top of Wordpress, it has some terrible decisions under the hood.

The top pick would go to mixing presentational logic with business logic. For example, to render a table, instead of exposing an array of objects to allow the developer to loop through it as he/she sees fit, WooCommerce will force you to use a PHP function that renders a table for you and there's actually no way to modify the presentation logic if you wanted to.

It's a really fundamental programming paradigm that even top open source companies fail to adhere to.

Again, I'm not saying this to attack them or the maintainers behind the code, just my opinion of why I think it's bad quality code while respecting the fact that developers still do take time and effort for us to enjoy something with freedom and zero cost.
You just answered 3 questions I had pending in my head, love HN!
> Because our society believes in body autonomy, to the point that it won't use your body's organs to save other human beings, without your express consent.

> Your body is your property, and it takes a damn good reason for someone else to access your property, contrary to your will.

The way I see it, we're a guest on the planet, and after we are done for, there's a few things we leave behind: our direct ancestors (family), our indirect ancestors (mankind) and our planet as a whole (Earth with its inhabitants) many of whom are important for the planet's ecosystem. We should ensure that after we are done for, these living organisms survive and lead a happy and healthy life.

Now, I'm of the opinion that our justice system is relevant for society. It allows Earth's inhabitants to lead a happy and healthy life. This is particularly true for crimes such as murder/killing which have a deep impact on society. So if this heavy crime can be solved using the help of a deceased one, I'm all for that. Even if it involves force or naysayers.
> but I wonder how difficult it is.

Its not if you have some basic understanding how the code actually works.

> but I find it a bit hard to imagine doing an actual app with vanilla JS.

Try it. It will blow your mind how simple it is and how little overhead it requires.
The strangest thing is, the pay is inversely proportional to how hard the job is. If you spend all your working day picking up stuff until your back breaks, you can expect a minimum wage in some parts of the world. If you spend your day sitting in front of a computer tapping at a keyboard, you can expect - well, a lot of money, comparatively. Even more if you spend your day talking on the phone and meeting people.

It's topsy-turvy and the people at the high end of the wage scale have very well honed excuses: "but, I have specialised knowledge that I worked very hard to acquire" etc.

Well, I got specialised knowledge that it took me a long time and effort to acquire. It's still unfair that the people who make the stuff I eat, the stuff I wear, the stuff I use to acquire that specialised knowledge are paid a pittance and I can live comofortably off their backs, really.

The world is such an unfair place and the people who benefit from that the most aren't even aware of it.
The Rook and Ceph Survival Guide
https://github.com/mholt/caddy not only a mediocre code, but the guy behind it received lots of money from Mozilla as an innocent promising open source project author, then he made it as a paid product.
In other words, it's not a problem that it is emotionally-motivated, but that it relied solely on emotional intuition without considering second-...n-number consequences.
Why are most murders, rapes,and violent crimes committed by men?
Validating an idea for front end devs
>> 20% of the known reserves

how many of the lithium reserves are already being used?
You didn't read my question correctly.
Here you go https://github.com/progwml6/Natura/blob/1.7.10/src/main/java...

Tip: If you ever end up in a situation where you have to copy-paste code with minor changes then there is something that you are doing wrong. In this case using arrays and loops would be a much better solution.
Ask HN: If HN didn't exist, which other community would you default to?
We once built a CPU farm using own parts. It was stupid but you have to get the job done.

Unfortunately this meant that we later had to fight management really hard to pay for cloud services. We lost that battle.
> @Benjojo12 and I are building an encryption tool that will also support SSH keys as recipients, because everyone effectively already publishes their SSH public keys on GitHub.

Is this not already possible with tools like https://ssh-vault.com/ and (shameless plug) https://sshenc.sh/?

Those tools use the RSA keys to encrypt a symmetric key that is then used to encrypt the data, but the outcome is effectively the same. No?
I would guess this is partly because the modern front-end framework leaderboard is a zero-sum game: you can't possibly be sane to use two or more different frameworks for most of your day-to-day work. Maybe you have one for work and one for hobby development, but that's about it. I'd be torn to remember quirks of both React and Vue, for example.

And thus you see it in discussions that people feel the need to pull one down to put their preferred one on the top. We know what happens to a library without a critical mass of adopters: they lose contributors, which in turn reduces the rate of growth, and in turn, the quality of the library over time.

Which is kinda sad. A lot of work goes into these frameworks that I really respect. There's no logical rule that says these new ideas completely succeed their precedents. I wonder what needs to be done to get us over that JS fatigue.
The JIT is not overhead and it is in no way related to the DOM. The JIT is a compiler in a VM. The DOM is a standard data model living in memory.
https://www.crunchbase.com/organization/karma-crowdsourced-d...
It's up to the Americans. If they are fine with the way things are I'm not going to try to convince them.
There have been efforts to identify and locate "war criminals" of one side. No effort has been made to identify, locate and charge war criminals of the other side ( which has far more war criminals if we are being honest ).
> Things autoconf/cmake does: (...)

All these things are horrifying! The problem does not seem to be "bollocks" platforms, but bollocks programs. If you code really depends on a specific version of a standard library, shame on you.

Anyhow, the code in question here does not need more libraries than "hello.c", which is naturally portable to whatever platform without the humongous help of cmake.
It's hard to believe that any action by Boeing has furthered the investigation in this case.

Generally, I agree with you.