skysight-inc/HackerNews huggingface dataset:
Back in the old days, we had this thing called "demo version". Companies would release a fraction of their product for free, which was enough for players to evaluate whether the full game is worth buying.

I know there's a fraction of people who won't pay for games at all, no matter what. But there's also a fraction of people who will, and currently the companies in the mobile space are not even willing to take money from the latter in pursuit of monetizing the former (through ads, or tricking into payments).

Related, Steam is a living proof that a lot of people are willing to pay for games if the platform cuts out all the bullshit and makes the experience seamless.

> Note that it was free games that breached to demographics of people who never expected to like games.

I'll concede that point; casuals are a good example of that. Still, that's why I included point 3) at the end of my previous comment. There's a place for free content, but it must not be seen as a vehicle for monetization with ads. Leave making free games for people who do it for fun, or for their portfolio - or resurrect the concept of demo versions. Especially in case of causals, there won't be a shortage of content. App store operators could fix this situation by fiat. It would hurt their bottom-line a bit, but it would benefit humanity greatly.
I wouldn't worry about that until much much larger animal models. Besides, it's just the visual system.

I don't know where there's a moral limit. Several millions of neurons? A billion?
The Simplest Way to Drastically Improve Your Life: More Sleep
Helium anecdotally shown to disrupt most processors in iPhones / Apple Watches
The only issue with the GC is the implementation could get some improvements.

Mesa/Cedar, Oberon and its variants, Modula-3, Sing# and System C# might have fallen, but we still have Swift, Go, .NET Native/C# 7.3, Kotlin/Native, Nim, Crystal and Chapel, besides D.

Not all hope is lost for those of us that belive on system languages with GC support.
Ask HN: What are the largest Open Source React apps?
I've been working in a React app that is growing really fast. More than libraries, what worries me the most is file structure.

I found an old reddit link (2 ya) showing some examples, but only Calypso (from WP) is a good example. The others are small and old.
https://www.reddit.com/r/reactjs/comments/496db2/large_open_source_reactredux_projects/

Do you have any recommendations on file structure or links to large repos?
I suppose if you require "open source" to only be composed of "close-knit passionate communities driven by individuals" who coalesce around some particular anti-progressive ideology and the cult of personality of a BDFL, then... still probably not.

Because as you mention, these trends seem to apply to "professionally managed communities that value scalable stability," which is itself a legitimate concern for some projects and not antithetical to open source as a concept, and an outlier in regards to open source as a whole.

It's like the oft-cited argument that "the internet" is becoming corporate and centralized because out of the billions upon billions of sites on the web two or three are really popular... it's a failure to see the forest for the trees.
That’s not unpopular, just unpractical.

Crayons for instance don’t help kids test their knowledge of letters or numbers or full words, and I’m not sure Lego brings that much over Minecraft for instance.

I visited my grand parents and they have an attic of single purpose toys. We live in a 5x smaller home yet get the kid to play with a lot of different mechanics and check things.

It’s just a lot more difficult to set bounds, but I am not sure it’s really worse. Kids 20 years ago would steal matches and perhaps accidentaly burn the house, our kids will take sneaky looks at passwords and perhaps buy dozen of toys on amazon.
What made you choose Lua instead of say, embedding Python into nginx? I can think of a few good reasons like embeddability, code size, simplicity but it would be interesting to hear your take on this.
> Can someone explain me, why a shorter duration of yellow light causes more accidents?

The purpose of an amber/yellow light is to give drivers a transitionary stage.

Consider the limiting case, that a light goes from green to red with no intermediate period.

Drivers will not be able to avoid running red lights. They'll approach the junction at 30mph, the light will change just before they reach it, and they'll go through.

Now you've normalised running red lights. Drivers can't stop if they're 5m from the red (at 30mph), but what about 30m? 50m? 100m? There's no clear cutoff.

So either you make the all-red cycle really quite long, or accidents increase.
Travel blog in Hacker News?
What if there's no paid alternative, because everyone realized that adware and dark patterns are more profitable?

Such is the case every time I see someone say "vote with our wallets". Customers don't get to vote with their wallets, because they can only choose from what's available, not from the space of all imaginable software.
I honestly like the concept of YouTube kids, but is there a way to disable the ads for it? I don't have kids. But I see ads for it constantly. You would think google would target their own ads for their services a little better.
How to adapt to constantly changing consumer's habits
any good contact in India or Asia Pacific?
Wait, that doesn't make any sense. If the see-through bins solved a problem, why would they be removed when a different problem appears? They're independent problems, removing the bins when they're not involved in the new kind of attacks seems just random.
I justed wanted to say hi because I'm totally in the same boat.
Since I was 12 I've been watching this and my fears have been confirmed.

I also wanted to say that changing individual behavior isn't going to fix it by much.
The fuel I don't burn, others will burn it instead.

The only way to fix this is 1) technology to make C02 emissions less profitable than green tech and 2) policy.

As a technologist, I try to focus on 1).
Ask HN: What are some useful pre-commit hooks?
I just discovered that [black](https://github.com/ambv/black) can be set up as a git pre-commit hook.

What are some other hooks that people have found useful?
Cool, I'm with you there.
Part of being a solution that aims to make secure messaging usable for everyone is that the UX needs to be there.

By way of analogy: In every HN thread about Firefox there are dozens of comments by people who say that they just couldn't use Firefox because page loads are so awfully slow.

Consider that for a second: HN readers are willing to give their entire browsing history to Google in return for at the very worst a few dozen microseconds of load time saved.

The equivalent here is, that for non telephone number identifiers you have to create a whole UI for actually adding/discovering people. That's the equivalent of the few microseconds. You can argue that it's not a big deal, but it's exactly the type of friction in the ecosystem that hinders adoption ("I already have your phone number, why do I need another number to contact you? Know what, I'll just send you an SMS.").

And it's exactly the type of UI/UX problem that prevented encrypted email adoption ("Download a new program and some sort of key for you? I'll just send you an email directly, I'll figure this out later...").
It doesn't generate code, it "just" allows you to load and save fields by checking the tables structures. You still need to add code manually for relationships and some specific features.

Regarding the attributes you listed, looks to me like those are very CRUD-oriented. Many fields don't have a direct representation in the UI at all...
Fair points overall, except:

> The stack-based C API is not comfortable to use.

What is so uncomfortable about it? I think it's absolutely fantastic. There's nothing you can't do with it, and if you really want a heavyweight "magic" binding library you can do that on top of it. But you'll find even then you occasionally need to fall back to the "raw" API.
It still is, and C as well.

Trying to write portable C99, C11, C++11, C++14, C++17 code can be an interesting experience depending on which compilers are available.
Learn how to dance in 4 seconds
This is mostly about tuning for performance for SEO - its amazing in 2018 that sites are delivered with unoptimized images - its not rocket science to use Photoshop or run all the images through a cli based tool.
No offence but apart from HN I wonder what community takes libertarians seriously? In fact from my experience they are mostly non-existent outside of the US, so much that libertarians are a staple of the American culture for me.
I'm going to have to be that guy and say, did you try googling it?

Here's one guide: https://hackernoon.com/compiling-rust-to-webassembly-guide-4...
Of course there are people in Lucky Plaza and Mustafa on Sundays: there are on the order of 250,000 maids in Singapore, and around 1.6 million foreign workers total.

My argument is not that all Singaporeans are monsters, or that all foreign workers are oppressed, but that simply that the system as it is today has very few protections against the abuse of its most vulnerable, and the OP's claim that "all Singaporeans love it" is pretty darn starry-eyed.
In my team, we have started using these rules to address the code review lag-time:

* While you are waiting for code review, review someone else's code

* Aim for reviewing two CR:s per CR you submit.

This has helped us both keep on top of the CR queue and to have something that is not too distracting to do while waiting for review.
One based indexing isn't just about getting used to it, it makes lots of things a nightmare. Like index-math that involves the modulo operator, which will result in zero values, which are invalid for 1-based indexing. Or turning a 2D or 3D index into a 1D index, which now requires completely unnecessary additions or subtractions of 1s. And other index magic that I frequently need for computer graphics and number crunching.
I have received a few downvotes. Please note I was answering the above question that a relicense is absolutely required for compatibility with the Apache v2 license because of the patent provision that is incompatible with the GPL v2. This is the position of the Free Software Foundation. The GPL v3 has a patent provision and explicit compatibility with the Apache v2 license to end any ambiguities.
Would really love to hear how they plan to contain the hate and harassment, to stop the fake news. And then how they will scale that solution when the number of users start to increase.

Human community managers are great but their numbers will also have to increase as amount of users increases as well.

This is why I have so much respect for @dang and his colleagues for managing HN.
My Acorn Electron wasn't "a good fit for younger children" either. God forbid they start to learn how a computer actually works instead of watching hours of ads.
10x JavaScript on Azure Functions with Rust and WASM
Alarm as China eases 25-year ban on rhino and tiger parts
I think more sites, particularly forums and social media sites, should allow for "anonymous by default" engagement and autokilling threads. I like that I can just show up, participate and leave and not have to sell my soul for the privilege.

Other than that... meh. The memes, piss-taking and toxicity make them all but worthless for anyone who wants to have an intelligent conversation.
The thing is, my free time isn't infinite, and python is already everywhere on the PC (I only use Linux), so I really appreciate the fact, that I have to learn only one language for both PC and embedded.
Micropython runs very well on modern microcontrollers, and you can use many of the libraries from PyPi.
Also, there's a bunch of hardware drivers, which saves a lot of time.
In the end, it's all about conserving knowledge.
What's the best method of doing complicated things once, and then provide them to others in an easy and convenient way.
I think, that currently the reusability of python code is very high, and enables a lot of people to write custom programs, that otherwise wouldn't have been able to do it.
The friction of Python is just low.
It's easy to learn, runs nearly everywhere, and you don't have to use advanced features, if you don't want to.
It's still deceptive.

German contract law has the notion of "unexpected clauses", especially for terms of services. Certain ToS clauses have been invalidated by courts even if the customer agrees to the contract that includes those ToS, because the clauses have been deemed "too unexpected". The basic idea is that people should not be expected to read the entire ToS before agreeing to them.

To me, this is sort of the same: When I visit github.com, my mental model says that GitHub will know about this and be able to run scripts in my browser. However, it would be "unexpected" in this sense, and therefore IMO deceptive, that visiting github.com causes my browser to run code from google.com.
The biggest problem for me is that in order to use it, I have to buy into their respective ecosystems.

I actually don't want an ecosystem or an oculus account or a vr storefront, I just want a monitor for my face. If I can't have that without the nonsense, I guess I'll just wait until they go bankrupt and sell all the patent IP.
> The scientists can research whatever they want as long as they keep producing.

How is that different from (publication pressure in) academia?
Heh, reminds me of an alarm clock app I had in the very early days of Android where the "snooze" button and the ad would periodically swap places, meaning that in my half asleep state I'd be hitting the ad half the time. I'm not surprised that this kind of behaviour is still allowed, I'm sure it's highly lucrative. Also very hard to police.
If it's a small project, then a quick email to the maintainer or a GitHub issue asking how to get involved would be great. More often than not the maintainers would gladly help you.

If it's a large project then the above would be slightly annoying. The maintainers would more than likely have some sort of process for contributors to get involved in their CONTRIBUTING.md file. If not, then creating that file is a great place to get started!

Also, you could just go direct and submit a PR. But only do this if you know that it's within the scope of the project. Adding an enterprise feature to a small project isn't going to go down well.

I used to be quite scared of contributing because I didn't know if my contribution was good enough. But I quickly learnt that the maintainers do it for the love of the project and anyone contributing is like them showing love for the project too!

Other than that, enjoy it. Don't fret the small stuff! Happy contributing!
Appyling AI to insurance documents, omni:us raises its first Series A funding
How to Setup Shopify Payments for Your Store
> It's almost impossible to find good apps that aren't full of ads, dark UX patterns, in-app purchases, etc etc.

Fixed that for you...
X11 Docker: Run GUI applications and desktops in docker. Focus on security
A single-page app is almost always worse than a multi-page app
Sdns – Lightweight, fast recursive dns server with dnssec support
> Putin is not known for playing chess. He is known for judo, horse riding and many sports, not chess

I think it's the image Putin wants to project, as a man of action, not an intellectual.
why do I feel like this is some kind of viral article made up in co-operation with kitsplit?
The biggest issue C has is that there's no good answer to the second big question.

No matter how you slice and dice C, its highest abstractions are functions, structs and pointers and all of them can fail catastrophically at each and every point of use.

One can't even add two numbers or read from a variable in C without the possibility of triggering undefined behaviour. And there's nothing that will rescue you from that possibility except paying attention, which is something us humans can be pretty bad at.

When using C, one is setting themselves up for failure, which already hints at the answer to the first big question - no. Go, Rust and C++ can do everything C does in a safer way.
Those ads were policed properly, unlike some of the sexual / gambling / alcohol / otherwise unsuitable content I've seen advertised in kids' apps.
Although PGP/GPG as end user applications didn't go anywhere, the functionality is widely used.

Every time I get Fedora updates they're GPG signed, if you compromise a mirror and shove crap there it isn't signed and so the system will just try a different mirror. If you try compromising the metadata, that's signed too.

Instead of my bazillion of web site passwords being "in the Clown" as seems to be the popular style these days, or in some fool's hand-built database, they're in Donenfeld's password store, which uses GPG to encrypt text files with passwords in them.
Please stop criticising people for charging money for their work. You don't do that to a doctor you visit, you don't do that to a taxi driver, why do you do that to a fellow programmer?
> So far this 3 year old speaks like a 5 year old, understands 3 languages, and can read 3-4 letter words, has friends and creative mind when drawing stuff.

Pretty much every parent says something like this about their child
That's a valid point, but it doesn't mean the absence of a fair trial is something that should be ignored, and it's quite reasonable to demand a fair trial in a situation where one has been denied to you.
> Your real choices are: "fast and buggy" vs "slow and correct".

It's not a binary choice, it's a dial. And anyway, after more than 30 years of programming experience, I can tell you that I can write mostly correct code by applying diligently the pyramid of tests. In my experience, code reviews catch very few bugs that weren't revealed by testing, if any.

Much more than correctness, I find them useful to verify and improve the readability and maintainability of code - which are important goals, but as always the cost needs to be measured against time and cost constraints. Depending on the project, being twice as slow to accomodate the reviewer can or can't make sense. What I'm looking for is more of a 80/20 solution: can I be 20% slower, and still get 80% of the benefits of code reviews?
Mate you need to get some professional help.
Signal rolls out a new privacy feature(sealed sender)
Please don't bring social justice activism to this. Even if white, straight, christian, cisgendered males get harassed 10x less than everyone else, the baseline level of physical safety in the western world (particularly outside US) is so great that this distinction doesn't matter to the point I was trying to make.
Some have suggested covering the notch, as another test you could try watching your movie with the notch un-covered but with your room lights up a bit - so you reduce contrast from bright screen to dark background and let your pupils close somewhat.
As far as I know, there are a few of these already in existence.

IMO, the two main challenges are subscribing to content and discovering new content, the icing on the cake is interaction.

Atom/RSS already "fixed" the issue of subscribing to a blog.

Board like HN and reddit have now "fixed" the issue of discovery (to an extent).

Disqus, reddit, HN all provide interaction methods - the key would be reducing them to one feed so you could comment to all formats and reply seamlessly.
I love cooking and I love programming (as a career and a hobby) and I love doing many other physical things. That's my anecdata for what it's worth.
Sounds like Shenzhen signboards during the previous mayor era. Something akin these lines:

"Punishment for public defecation: first prosecution - struggle session; second prosecution - reeducation through labour; third prosecution - jail"

Or hilarious tablets in the metro back in days: "Beware of the gap, you will loose your footing and break your face if you stumble", and the famous "Decapitation hazard" - on escalators
But how will they get the 15 years of web development experience required for their first internship if they don’t start young?
The solution my wife and I came up with was to just not have kids. It's depressing to admit, but we're genuinely that disillusioned with the state of the world (we're in our mid-30s FWIW).
That is exactly what it is!

In the real plane you get exponential growth: the rate of change is equal to the current value.

In the Argand plane you get a curling action due to the quadrature effect of the imaginary unit. The rate of change at each point is the tangent, and the result is therefore a circle.

Lie infinitesimal displacements capture this nicely, and also render the generic case which is a similarity transformation, e.g. rotation through two half reflections, e^(-w/2) * x * e^(w/2) like those found in quaternions and Clifford algebras.
I wish they would give some numbers and methods here.
Frankly, I don't know why most people have chosen to use POST requests instead of PUT. Browsers and servers usually support both PUT and HTTP authentication, and when used over HTTPS it should be quite safe.
Austerity Is Over, Britain Says, Despite Brexit Uncertainty
Interesting - thanks! Curious - reasons for Mcafee and MalwareBytes? Is the MS anti virus suite (whatever its called these days) not sufficient?
Then the companies found out that releasing demos lowers sales and stopped doing them. Hype and pre-orders and social pressure of "you are not gamer if you don't buy it" earn more. Steam does not have games for me on it or they are hard to find. Disappointment that made me stop buying happened there.

Steam is example of platform that serves one tastes group well predominantly clustered in one demographic. There is nothing wrong with that, obviously, but you can't extrapolate the lesson more widely. Not sure how now, but steam used to be hostile to anything causual or too much tablet like.

I don't understand why games must not be vehicle for ad monetization. I understand need for some regulation, bit later claim, I don't get at all. Why there won't be shortage of content for causuals? There was such shortage for years.

And I don't see benefit for humanity either. However this all develops, the whole topic is largely inconsequential.
I have taxi drivers start these conversations far too often, usually several times a week.
C is a weird language, in the job market. It's at the core of all our electronic infrastructure, it's important to learn it if you want to be a serious developer, yet nowadays you can hardly find a job that is "pure C".

So, in universities, you have either students who don't see the point, because they'll do java or PHP or JS at their daily jobs, or students who get a little too excited by it, almost specialize in it, and can hardly find a job that fulfills their excitment.
I think it has been sold, but only to the extent and the legislature itself has been. Which is still a worrying amount.
There was this https://lolcommits.github.io/ project that captures your photo everytime you commit your code.

Of course, most people use pre-commit hooks for code linting/formatting nowadays. You can check the project called Husky if you're using Node.js in your projects.
Python the language is great. What sets me off somewhat is the "ecosystem" and culture around it. Pip, virtual environments, the fanaticism about some PEPs; oh God I hate these things.
Thanks for pointing this out! It's fixed now
Which boils down to that there must be a police worth squeling to.
Bottled water is free in hotels in Japan, so no...
This in turn reminds me of a Dostoyevski story where a guy thinks he can make an amazing speech of 15 minutes that will convince everybody. I don't think this is how reality works