skysight-inc/HackerNews huggingface dataset:
Much isn't said enough about modern fertility rates and how they are shrinking rapidly.

https://www.gapminder.org/tools/?from=world#$state$marker$ax...
The article makes it quite clear that the project is aimed at jump-starting India's industry. To achieve their goal, their first step was a relatively low-complexity project conducted by an inexperienced team.

Although their PR effort is outlandish, I'm pretty sure they are aware of the limits of this sort of project.
> "creators ... should be able to get rich"

Personally I don't think economic systems are necessarily better for the creation of rich people. I know it's a minority opinion, but I feel like it leads to lottery type winner-take-all situations where a few popular creators have absurd amounts of money, and the long tail don't have enough to get by. If you had commie programmers all paid a similar fair wage from the government you could generate plenty of good free software and reward effort rather than some mix of luck and skill.
Thank you. I was impressed of going backwards to the 60's reading nonsense like this. OP has unpopular opinion and knows it, but apparently still does not understand why it is sexist and degrading.
A bit pedantic, but migrations are provided by Ecto [1], not by Phoenix. You don't need Phoenix to use Ecto.

https://hexdocs.pm/ecto/Ecto.html
This is why I don't get why companies--tech giants in particular--kowtow to China in the hopes of getting access to the Chinese market. It will never happen. At least, it won't be open access. You'll have to play by Chinese rules (ie integration with the Great Firewall, storing data in China, probably integration with social credit and so on). Worse, there might be (basically forced) "IP transfer". Even after all that, the government will make sure that you don't dominate any market. There'll be a Chinese version for that.

There is absolutely zero point in trying to mollify the Chinese government.
This might be useful as a teaching aid. You can run some code and then get the line-by-line breakdown for newbie programmers.
Why? There's still a lot of opportunity for advancement in this area.
They do this based on decades of near unanimous feedback and in many cases anger so cardholders do not have to change all their billing setups just to block txns to new merchants going forward.
William Gibson had something like this in one of his later books. Spook Country maybe? As I recall it was simply called the Ugly Shirt.
We've always had a "make-it-difficult" approach. And as you pointed out, it's worked out really well for us. If you are using america's success as an example, then you are really arguing for highly limited immigration policy. The idea that america welcomed immigrants with open arms is historically false. As a matter of fact, for much of US history, we've highly limited or even banned immigration. From Benjamin Franklin ( on his anti-german immigration ) to the immigration bans in the 1800s ( mostly anti-irish and anti-chinese and much of 1900s ( quotas banning almost all immigration ).

Your idea of giving every international college graduate citizenship sounds nice, but when we have a major underemployment problem in the US of college graduates, more graduates is going to cause further problems.

https://www.forbes.com/sites/prestoncooper2/2018/06/08/under...

I know we are that immigration is what caused america's greatness. But things are a lot more complicated than that. We became the largest economy and the greatest military power under extensive immigration bans.

For example, the The Johnson-Reed Act of 1924 banned almost all immigration for much of the 20th century.

https://history.state.gov/milestones/1921-1936/immigration-a...

I am for legal and vetted immigration but you are painting a false picture of the history of america and the reason for america's success.

Also, china, japan, south korea, etc became wealthy nations little to no immigration. So the immigration and economic success argument is a lot more complex than people think.
It's not just uber, think of all the utility companies and quarterly/annual billers who you put on your card to get rewards points. Who even knows how to change those, or which ones to change? Will you go through a year of statements?

There are lots of ways to make this better, but it exists because the consumer complaints when banks didn't do this outweighed the few who wish to have payment vehicles actually expire.

Banks could do a better job of listing the recurring billers, companies could do a better job of making it easier for you to update payment info (en masse), and networks could stop hiding behind issuers and big TV ads and provide direct-to-consumer controls even for banks that don't choose to offer them.

Disclosure: at the time of this comment, I work for a bank.
Most people miss the real value of such projects. They serve two important purposes: First: they are intended to build a local pool of expertise and capability around semiconductor design and fabrication within the country. Second: although the chip itself is laughably underpowered compared to a modern ARM or Intel processor, it has one characteristic that makes it very interesting to the Indian government: they know exactly what is in the chip. No Intel Management Engine crap. No hardware backdoors. This could be a serious point in favour of the processor, if it is used in SCADA applications in sensitive industrial manufacturing processes.
...or exist in history, but their position changed because it was politically unpopular.

Sierra Club 1989: "Immigration to the United States should be no greater than that which will permit achievement of population stabilization in the United States...since it is the fact of increasing numbers that affects population growth and ultimately, the quality of the environment."

Through the 90s and 2000s, there have been heated (and close) votes on immigration policy.

https://cis.org/Sussis/Brief-Chronology-Sierra-Clubs-Retreat...
Are Seoul prices depressed due to the inevibility of instant destruction if a new Korean War starts up?
>And if you encourage immigration as the solution to shrinkage you end up with rising racism and other reactionary trends to these changing demographics.

Not to mention the fact that you’re instantly lifting all those people from a third-world carbon footprint to a first-world one. I’m surprised more people in the “the world is overpopulated/global warming will kill us all” camp don’t seem to be too concerned about that.
Save Page State: A chrome extension to save the state of a page for analysis
> But this ignores how productivity has been and will continue to rise thanks to machines.

While true for most of recorded, human history; that kind of assumption combined with hard limits like physics make your second point a more likely outcome. Unless you're suggesting humanity will re-engineer itself into a more sustainable form.

EDIT: forced typo
I saw one of those airliners during my last trip to LV. Sometimes when you drive on Flamingo you can get a glimpse of them.
yeah, the Russians went this way too, ... , anybody heard anything else than one or two press releases ?
Does anyone know the license for SPARC-V8?

I would imagine it would be important to use an open ISA for such a strategic project.
Why Are There No Mosquitoes at Disney World? (2018)
> Notably nothing else requires this

Common in the oil industry: https://www.google.com/search?hl=en&q=oil%20field%20cleanup%...
There is no way to actually save money. You perform work for others in exchange for IOUs that you hope to exchange for someone else's work later. If at a later point there are not enough people to do new work, you can't exchange your money(==IOUs) for goods anymore.
They already built up. Greater Sydney is 8/10 of the size of Greater Tokyo with 1/8 of the people
Carl Hewitt Explains the Essence of the Actor Model of Computation
I'd suggest ignoring humourless prigs and keeping the profanity.
Faster input events with Facebook’s first browser API contribution
Categorizing OpenBSD Bugs
Ask HN: What is the ratio of gunk/glue/smelly code?
what is the ratio of gunk/glue/smelly code
in your day job to compared to a similar size open source project.

Note:
> if you work at FAAANG please ignore.
> restrict your answer to maybe a percentage and some text adding some context not more than a few lines.
> i understand that code quality can change based on many many factors none of which i am concerned about. this is just a poll/pulse.
> you genes will die along with you

I get it, this is why I haven't already had a vasectomy, but
your genes are nothing special, just a sample of the alleles in the population.

I'm much more concerned about producing ideas that will outlive me and spreading those.
Newton died a virgin yet he profoundly influenced the world.

Similar with cultures, ancient greeks are long gone but their culture shaped the world.
Similar principle to my project https://github.com/Quiark/overlog which has some more interactive data exploration.
> You see rather than blindly spraying insecticides over the entirety of the property, which is twice the size of Manhattan, Disney instead uses various methods to carefully track where and when to spray. The program maintains over 60 traps across the area of Walt Disney World.

> They’ll then bring those traps, filled with mosquitoes, back to a lab where the mosquitoes are frozen to death and analyzed. The team looks at everything from what kind of species they are, to their concentration, to how old they are and how many of them were ready to lay eggs. By looking at all this data for all of these traps, Disney is able to paint themselves a picture of what parts of the property need the most attention when it comes to eliminating the bugs.
If we do not address this issue then the world's future is likely poor

Can you show your work with regards to this statement? With respect to supply & demand, with fewer people around, wouldn't wages have to be higher? Land cheaper?
Sure. As long as we remember the insults, lies and corruption as well. It's too easy to just forget bad past behavior just because suddenly they behave humanly.
There was a movie (The Captain?) released about that guy within the last year.
How you lay out a case study decides whether anyone reads it
Everything you say is accurate, but, grad students have to start somewhere. If they can make a 65nm version that runs at say 500Mhz, that would be better. Remember that "real work" was done on desktops on a Sparcv8 chip that ran at 75Mhz or less.
Did you mean this video?

https://youtu.be/hULhZqhw9yU
Oh hey, Hacker News! Just wanted to say I've been really pleased with how this project has been received, wasn't expecting it to blow up this much! My Github issues list is going crazy right now! :-D

It's been a side project of mine for quite a while as I was learning Electron and C/GBDK at the same time so don't judge me too harshly on the code hehe.

It's early days for the project so not quite decided how I want to expand it out just yet, maybe to more genres, maybe to allow more JRPG functionality. What ever I end up doing though I want to make sure it's as simple as possible for beginners to make something as easy as possible!
Why don't you mention China? I've lost track of the amount of cynical comments regarding their initial projects, and now China relies on the output of those research powers to supply their HPC centers.

Hell, this blend of cynicism was also directed at ARM's offering.
I think the point is to minimize externalities (negative or positive) that folks might face due to things that are outside of their control. Striving for a homogenous monoculture sounds a) incredibly boring and b) not something we are really capable of with our present biological wiring. There seems to be a strong affinity for tribes within the human animal. Look at gangs, you have people that are typically of similar socioeconomic background, similar cultures and in many cases similar or identical race and yet they find excuses to kill each other indiscriminantly.
Yet on a lovely day like we’ve had this weekend, London parks will be a horrendous sea of flesh, like beaches in Benidorm (or Brighton)
I kind of thought this post would languish in the new queue. My heart and mind are warmed by the conscientious people here.
Elevator pitch:

- combination of staff paper and college-ruled lines

- perforated to easily tear out pages

- three-hole punched

- decent quality paper, binding, cover material

You'll find that there's surprisingly nothing like it on Amazon! My inspiration was those cheap Mead spiral notebooks - incredibly functional.
Three Rules for Writing Better Case Studies
> There is something wrong with rich modern secular society here or anywhere (it happens to all societies right now whether they are European, Japanese, Chinese, etc) in that it currently leads to sub replacement reproduction. This is the next global issue as it will lead to instability in modern rich societies in that they are not sustainable.

It turns out it's not very rational to live, and if you do choose to live, it's not very rational to have kids (and spend a huge chunk of your money on them) when you already have a retirement program to take care of you in your old age.
Automatic Reminders Using AI/NLP: Link Reminders, a Slack App
I don’t think there is any public API for this: you probably have to be in the MFI program to send data through the Lightning port.
Thorny issue of human rights for robots
Interesting link, but I think you misunderstand my question. There are both automated and manual queues at most EU airports (the airport where I live doesn't have automated queues which I must say is quite annoying) but when departing Shengen, you have to show your passport to verify your identity - either to a facial recognition machine or to a human.

That's not what happens at US airports presently, and from the article it doesn't read like they're going to start doing that. It reads like they're going to put cameras up and search a database of photos collected from passports on entry, which I must say makes zero sense. Why not check the person presented against the document they are carrying?
It's really not that hard, but it's important to remember that while these tools do guarantee no undefined behavior, they may require either adding annotations or changing the program a bit. Their goal is to guarantee lack of UB not for free, but at a cost that's drastically lower than a rewrite in a safe language, something they deliver on quite well.

So, for example, suppose you have a higher order function that takes a function returning a pointer, calls it, and dereferences its return value. For simplicity, let's assume we only care about NULL dereferencing and not other kinds of invalid memory, but the idea is the same. You then have two options: either you annotate the argument to require that it cannot return NULL -- in which case the tool would attempt to prove that any function passed as an argument satisfies this (possibly with the help of further annotations) -- or you add a runtime check, in which case the automatic proof is simple.
Gorillas who enjoy posing for a selfie
I'm sure the Black Chamber has uses for a secret airline.
How to Build a Product in Public
The only issue I have ever had with Zoom is that sometimes dial-in audio users have terrible audio quality and drop outs. I was never able to get their support to resolve it.
A lot of farmers have a surprising amount of medical knowledge. It is common for farmers to do a lot of simple medical procedures on their animals. Large farmers in the US already have ultrasound machines for their cows - they don't need to know everything about how to read them to know signs that mean call in help (thus saving a lot of money)
Why do you say that is unfortunate?
I'm more interested in the lower, "average" (random input), sequential and empty set bounds as they tend get close, in certain instances (e.g. large memory space required, only efficient on ordered data etc), to the upper bound. If your algorithm for function is O(n^2) in theory but has an lower average bound of O(N log N) which almost always is used on your input data, it might be a good thing to sanitize the input and use it anyways (looking at you quicksort).
Perhaps something like AdaBoost could find matches using a weak classifier on hundreds of low-resolution images (a few seconds of video) at different angles, assuming you can put together a similar data set for training... basically trading spatial information content for temporal.
> I consider the "signing up can be done on the web, but canceling requires a human" to be a dark pattern.

And illegal in California as of last year. Hopefully them forcing companies to allow online cancellations will mean it's available for the rest of us too.

https://www.cnet.com/news/companies-must-let-customers-cance...
With MorphNet, Google Helps You Build Faster and Smaller Neural Networks
Freshly brewed coffee is exactly one of the many, many things you can buy at Japanese convenience stores, which are franchises open 24/7, at walking distance from any inhabited neighborhood.

Also comparable to Italian coffee shops or "bars" (different meaning from standard English usage) which are also found at walking distance from any inhabited neighborhood. But not open 24/7, because of cultural and regulatory differences.
Would it be "piercing the corporate veil" to accept payments before incorporating, then moving everything to separate accounts afterwards?
Checkout mathbox. Mathbox is pure and simply genius.
https://github.com/unconed/mathbox
I know it comes across as very sexist, but let me try to explain my own problem a bit further.

You could say I have a split view on things. I grew up in the western world with all of it's values. I greatly appreciate individuals being equal, etc. I myself am a father very involved with my kids, I take parental leave, and my wife has a career.

I work in the tech field with the majority of men, but still a lot of great women. Some women I worked with preferred to be in an all male team (this is Europe, not US).

So yes, I greatly value women having the same chances, being able to do anything they want, etc.

But then there is this other side, where I see that our culture is dying. We have certain values, but are not producing enough kids. And now we import people that seem to have an "attitude that belongs in the dark ages", as you called it. But why do we import them? Because they have enough kids.

So maybe I expressed myself wrong, and the real question is: How can our western values survive, when we don't have enough kids to pass these values to?
Sometimes but not always, especially on large unfamiliar code bases.
Really I have seen the "unfair to the source country" arguement against immigration several times and it has never failed to look like a bizzare pretext because the true reasons would be unacceptable to say out loud. The source countries already fail to use their potential.

States are not people. They have no rights - rights are for people and they have no right to them.
You could say the exact same thing about hydroelectric.

Also, people aren't idiots. If something sounds insane it's probably because you don't understand the situation and incentives well enough, not because it's actually insane.
> Do you think it was counterproductive to hide OS-specific file handles, CRT level of caching, and many other things CRT does behind these opaque FILE* object pointers?

To answer that question for parent, no, he obviously doesn't think so. And yes, streams are basically OOP (they are implemented using "method dispatch"). Streams are one of the few successful abstractions out there.

And when I say "successful" I mostly mean "necessary". Because they're leaky. Consider fseek(3), ftell(3), fileno(3), fflush(3), fclose(3), fsync(2), posix_fadvise(2), isatty(2), fcntl(2), ioctl(2) and many more. All operations that are not supported for all streams, but necessary for some (like file system files, network connections, terminals devices...). Essentially when you use any of these you concede to break the abstraction.

It's incredibly hard to handle these streams correctly, and the vast majority of programs are faulty in that they don't handle most error conditions correctly. In some cases, it isn't even possible to handle errors through the API! See close(2)

So again, not saying we shouldn't have a stream abstraction. But abstractions come at a huge price, and therefore it's incredibly misguided to make every program a layering of thousands of pseudo-isolated objects that bring their own bug-prone abstractions and idiosyncrasies.
It doesn't prevent American companies from handing over all of their tech IP to China (the one that wasn't already stolen) and attempt to do their bidding at every step.

So it's win-win for China -- there's another (American firm) sucker born every minute looking to "enter the huge Chinese market", and the Chinese gov is taking full advantage of that (ultimately) hopeless dream.
As a very mediocre ruby programmer, is there an equivalent in ruby to this? If you have a little pattern that is more clever than 'puts' everywhere, please share, it would be well received by at least one person out there. Thanks!
And when would do something similar, the are going to try to retaliate in another way...
Lots of googling,and then emailing stores with my specifications until I found a place that responded and could do it within my budget and with quality.

If you're not fussy about some of the notebook features (eg, the specific kind of binding, or rounded corners) then you can do custom books at your local UPS Store, office max, etc. You'd save money and time by prototyping that way, wish I'd done more of that.
> That's not true, you can always have a "send_message(string id)". Few people do it because you lose static type safety. And some languages, like C# and Scala, have dynamic types that allows for the "method_missing" protocol and such features are very unpopular.

That is the difference. If every class in C++ had only one method - send_message and each object is an independent thread, you will get how Erlang works. That is how you would do the actor model in C++.

Inheritance, Polymorphism is emphasised in Java, C++ and C#, whereas Functional programmers emphasise function objects / lambdas / Command Pattern where you just have one method - calling the function. Infact having just method you no longer need Polymorphism / Interfaces.
Swift on Linux is great! I use it for a ton of projects, both standalone as well as for microservices development. Aside from cryptographic operations (provided by CommonCrypto on the Mac) I haven't really encountered any scenarios where it can't get the job done. And, for those, I could theoretically make use of OpenSSL (if I felt like going through that exercise).
It seems to be previous generation tech though
It's tautological to state that for a fixed number of nodes, mutliplication is constant time.

Off course it is. The n is fixed.

Also as a side note, n^2 is not the lowest order algorithm for multiplication.
Show HN: An Automatic Drawing AI in Python
Spent fuel is a small portion of the waste generated.

Even equipment used to decommission a nuclear reactor becomes contaminated. It’s not that dangerous for very long, but safe disposal is still expensive.
I disagree that you can't do this in the US. Considering the UES in New York, just as an example, studio apartments are certainly cheaper than 1 bedroom apartments, which are cheaper than 2 bedroom apartments. Several people splitting a 2 bedroom living space will work out to be cheaper than a studio per person as well.

Also, the US is a big place with different local laws. Be careful about generalizing something across the whole country, because after a few Google searches, I couldn't find any Federal Laws about this.
The github readme points to a tutorial here: https://talkingphysics.wordpress.com/2019/01/08/getting-star...
It always bugs me that, with Absinthe, you have to define Ecto schema and GraphQL schema separately, when most of the time, they are very similar. Can Absinthe somehow figure out from Ecto?