skysight-inc/HackerNews huggingface dataset:
In addition to the new trendy languages, I suggest learning modern C++. Java is a good set if training wheels if you want to learn OO patterns.

C++’s template system is turing complete, which means its type language is too. That lets you move the vast majority of java runtime type errors to compile time.

Moving from Java to modern C++ is analogous to moving from spaghetti Python code to well-structured Java in my book.

Also, C++ is extremely well established.
The whole point was that we were supposed to be recycling, not using more fossil fuels to ship it all back overseas to be possibly just burned or buried anyways. And at best the recycled material is shipped yet again overseas back to us in the form of new products. The best thing that's come from all this is that we finally know what actually happens to all that 'recycled' material.
I don't agree with this sentence at all, "If there is a better way to judge the true financial prospects of a company we should be taxing them accordingly."

The main thing investors want are some measures that are reasonably forward looking, with the caveat that some of those forward-looking measures will of course be inaccurate when the future comes.

Taxes, on the other hand, should be mostly past looking, taking into account events that are fully settled and guaranteed.

If, as an investor, you're only examining trailing metrics, you're going to be a pretty horrible investor.
There is hope for being able to recycle most plastic: https://purecycletech.com/
I’ve read that! It’s excellent.
>If people are too poor to pay the fees, then add a sales tax on wastefully packaged products to subsidize disposal fees for low income earners

That just punishes the low income people again.

Taxes on goods disproportionately affect poor people because the tax is a larger portion of your purchasing power the lower your income is.

A rich person, or even a middle class person, isn’t going to be put out of their habits by a couple of cents.
So basically, recycling is a lie. Most stuff can’t really be recycled except at great cost. Who perpetuated this lie to begin with I wonder, was it just to get us to keep buying stuff?
This mindset is crucial. It doesn't make much to meet the bare minimum legal requirements of parenting. It takes a ton to produce thriving minds capable of excelling in the encroaching post-labor reality.

So many people treat parenthood as a checkmark on the mandatory itinerary of life and once they check it off they just "eat the cost" and pay to have the kids taken care of.

Both those parents, and the poor parents who cannot afford the state / capitalist solutions to child rearing, are being negligent. Kids need familial bonds and constant social contact with their kin group to thrive. You don't drop them at random daycares every day for eight hours starting at six months and produce healthy progeny.

Raising kids is at least a part time job for both parents. Not in monetary expenses, in time. Putting in less than that at any point before pubescence can be catastrophic to the growth of the child. But as a society, because that cost is for most people untenable, they still want to "fulfill their obligation" to past generations, and have kids they cannot adequately allocate time for and end up producing descendants who suffer throughout life for it.

It is an absolute real conversation that needs to be had, that the true cost of parenthood is astronomical in todays society, and that almost nobody is in a financial position to fulfill that obligation such that they aren't risking harm to the child. We haven't had an adequate availability of time on the part of both parents to raise their children since 80% of the population were agrarian farmers* and we have seen rampant expanse of mental illness and maladjustment to society for it ever since.

* of course said farmers were very rarely good parents. Using your kids as hard labor from a young age, using violence as a coercion tactic against them, treating them like property and an investment rather than people, not feeding their curiosity or inquisitiveness out of your own ignorance and simple mindedness taught by your parents. It was a real mess that compulsory public education in part did a lot to stop, but that doesn't preclude the availability of parents and family being so critical to the well-being of young minds while also being absent from contemporary society for the vast majority of children.
Twins That Are Neither Identical nor Fraternal
I think Erlang and possibly Elixir get about as close as you can get to having a rock solid reliable service in a dynamic language. Largely due to the pattern matching and the emphasis on coding the happy path and letting the non-happy path crash with a supervisor restarting it and logging the crashes for later analysis.

You will get a lot of milage out the Erlang ecosystem.
Border control should be based on facts not petty politics.

What problems does the US have with travelers from Croatia or Cyprus? Explain it and maybe they can fix it and we can move on.
Keep in mind that not everyone wants others to experience their country. If everybody went to Bhutan, it’d lose everything that makes it unique. If a country imposed a visa policy on other countries, most of the time, they do it based on some degree of reason (although some are definitely petty bullshit reasons).

And visas aren’t even really a hindrance for Americans going to Europe or most countries. They’ll be stamped off pretty much guaranteed, unless you’ve got major criminal convictions or reason to be suspicious (like planning a 6 month vacation with <$1000 in the bank). The real problem is paying for flight tickets, hotels, and actually getting vacation time.
Why should consumers pay those fees or taxes? Businesses ultimately cause the problem by producing disposable goods, and should bear the cost of disposing their goods, not consumers. Charge manufacturers per-product based on how much of a cost/environmental impact it is to dispose of that product (and packaging!). Something like a 1¢/gram of plastic produced, charged to manufacturers, could make it more painful to produce wasteful products like bottled water and Keurig cups.
If you look at the pollution reports at the sites in the Santa Monica Bay, it has gotten a lot cleaner in terms of bacteria (from storm drains) over the last 10-15 years. I don’t go often enough to comment on trash like that you mention, but the bacteria situation is much improved. (But I still don’t go after it rains...)
My mother, in her 80s, occasionally says they didn't need recycling when she was young because things were not disposable in the same way they are now. They were also pretty broke and so much more likely to "make do" than they were to buy something new. The lack of choice and diversity of goods back then probably also played a huge role in this. Not saying we should go back to that but we can learn from it.
Oh aren't you just the best L337 hax0rs! So cool!
I don't think you responded to anything I said. From the article: "He also showed cartoons deriding women campaigning for equality in science"

Doesn't that impair equality of opportunity?
Elixir is one of those languages that changes you. I realize its a ruby flavored wrapper on top of erlang but I don't care. Coming from an OOP/C based language background, it took me a while to get it. Implicit returns? Immutable data? Pipes?? No inheritance??? No for loops????? And all thats just if you use the phoenix framework which maps pretty analogously back to a standard web server flow. Once you start digging into Supervisors and umbrella projects, the top of your head will get blown clean off. It's a hell of a drug.

I am glad to hear there are more companies out there giving it a try. Any time I see a job posting for a company that uses it, I give them a hard look. It tells me that they are a) hiring people who are of a certain mindset (see the python paradox[0]) and b) they understand the competitive advantage that using a language like Elixir can bring to the table.

[0] http://paulgraham.com/pypar.html
Has there ever been made an effort with any other approach/arrangement, in modern times?

Any sources on this, anyone?
I think you answered your question with your first statement.
Funnily enough you've just surfaced an old memory of mine, we did the same thing.

I vaguely recall having to build a 486 out of a bunch of parts, install windows and get to the desktop.

Fun times
Dr Drew Pinsky (yes, not just a “loveline doctor”) was calling this out over a year ago. One of his children contracted typhus prior to the big outbreak last year, which led him to talk more about the issue.

https://drdrew.com/2018/dr-drew-warns-plague-threat-los-ange...
The parts about Grothendieck are interesting.
Phillip Wadler tried to add static typing to Erlang in the 90s. He could only make it work for a subset of the language.

IIRC message passing greatly complicates things.
Common Lisp currently isn’t so great for purely functional programming. The language has the equivalent of GOTO, imperative loops, mutable objects, etc. But work is being done to make it a better functional language.
as a US citizen from a 'shithole' country, I fully support it, lets all US/EU citizens experience what we all had to. Fill in a ton of papers, prove that you're a human too and get rejected.
Sounds exactly the first Model 3 reservations... sans securing the beta build of a car (which is a plus for some)

Maybe they just really want the car and can afford a deposit.
I don't see how you could possibly state that conclusively.

What leads you to believe most Java programmers would prefer Haskell or some flavor of Lisp? You're saying that people who spend time in both will prefer the latter, but it seems equally plausible that people wouldn't spend time in both because they don't like the latter.
What Is Eating My RAM Today? (Probably Slack and Chrome)
BTW, this is factually incorrect:

> Under fire for the widely perceived belief that females are underpaid for doing the same work as males, Google engaged in substantial data crunching and analysis to correct any inequities. It turns out they were underpaying their male employees.

I encourage you to reread the Google post.
Plus if you're using VMs you can manipulate it even further. For example, "lie" to the simulated OS about file-writes, and return files already on the visualized image.

Rules would have to be carefully written.
Just installed it and it's great - thanks for the heads-up.
When/how can a company assess that using a particular language is a "competitive advantage"? It seems that the competitive advantage is perhaps in hiring the people who are actually proficient in the language -- and the advantage arises when that language is one that has X, Y, Z paradigms and is designed for A, B, C use cases, and then is used appropriately.

> https://twitter.com/devoncestes/status/1104000439987683328
Ask HN: Cost of bootstrapping $1M company in 3 years?
If a person finds the right product market fit, what could be the cost of growing the company to a million dollar business in 3 years(I understand this varies depending on business but for a general idea)?
The garbage disposal problem, of which recycling is a subset, is due to a lack of back pressure in the consumption system.

From the perspective of production, disposal is an externality. From the perspective of the consumer, disposal is an annoyance that they typically don't have enough buyer power individually to push back on to producers.

Society has come up one workaround: social conscience, the green movement, so that shame can be used to attack brands, aggregating buying power to push back on producers. It doesn't work brilliantly with everyone - some people are allergic to the ritualistic, moralizing pseudo-religious aspects of the movement.

Politics has come up with another: WEEE: the EU Waste Electrical and Electronic Equipment Directive. This is an attempt to tax goods by incorporating the cost of disposal into the purchase price. While the green movement was necessary to provide political will, it's much better than a directly shaming approach - the closer the cost of disposal can be pushed to the producer, tightening the feedback loop, the more likely economic incentives will work.

Continuing to push the problem upstream into production is the long term answer. If you try and increase costs at point of disposal, consumers are simply incentivized to cheat, or pay people to cheat on their behalf. The whole exporting of rubbish to China wheeze was one big cheat. The costs have to be loaded at the point of purchase, and producers ultimately made responsible for costs of disposal.
I'm not sure what you mean by half close.

In my scenario at time N, the connection is idle -- both sides have received all data the other has sent, all requests have received a response.

If the server half-closes (through shutdown) and sends a FIN, simultaneously with the client sending a new request; that enables the server to read the request, but not respond to it, so I don't see how that is helpful?

The problem from the client side is it's sent a request, and seemingly in response the socket is closed. That could indicate the server crashed on the request, or the server closed the socket because it was idle. If you have a request that you know or suspect shouldn't be made more than once, you shouldn't retry it on a new connection. Assuming the tcp packets from the server, you can actually take a good guess at causality, because the ACK number and TCP Timestamp indicate if the server saw your last transmission, but that information isn't exposed through normal the normal socket API; you could maybe guess based on round trip time too, but it is nicer in http/2 (or other protocols), where there is an explicit close message.
No, that is not why. It's because the US has two policies, domestic and international, and the application of treaties on domestic law is up to the federal government to execute. If the Congress chooses not to do so, there isn't a domestic law broken and so the states aren't bound.

So actually, if they had separate sovereignty, the states would have to sign the treaties themselves and would potentially be more bound to them, not less.
But those costs will be passed onto whoever's buys their bulk products, who will then un turn pass the cost down to the end of the chain - consumers. It just makes everything cost more for end users still.
You should take Waymo's numbers with a healthy dose of skepticism. They are very selective about which disengagements they report. Here are the details from their 2017 letter to the DMV:

This report covers disengagements following the California DMV definition, which means “a deactivation of the autonomous mode when a failure of the autonomous technology is detected or when the safe operation of the vehicle requires that the autonomous vehicle test driver disengage the autonomous mode and take immediate manual control of the vehicle.” Section 227.46 of Article 3.7 (Autonomous Vehicles) of Title 13, Division 1, Chapter 1, California Code of Regulations.

Waymo has developed a robust process to collect, analyze and evaluate disengages for this report. We set disengagement thresholds conservatively for our public road testing. The vast majority of disengagements are not related to safety. Our test drivers routinely transition into and out of autonomous mode many times throughout the day, and the self-driving vehicle’s computer hands over control to the driver in many situations that do not involve a failure of the autonomous technology and do not require an immediate takeover of control by the driver.

To help evaluate the safety significance of disengagements, Waymo employs a powerful simulator program. In Waymo’s simulation, our team can “replay” each incident and predict the behavior of our self-driving car if the driver had not taken control of it, as well as the behavior and positions of other road users in the vicinity (such as pedestrians, cyclists, and other vehicles). Our engineers use this data to refine and improve the software to ensure the self-driving car performs safely.

https://www.dmv.ca.gov/portal/wcm/connect/42aff875-7ab1-4115...
After flying on parachutes it's pretty hard to land on a pre-determined place, and the smaller the place the higher chance of missing it. Falcon-9 first stages have more control authority, and even they sometime miss the landing zone if the wind is particularly unfavorable; but they are unmanned and the stakes are lower, in worst case they just won't land softly. Can't have that with manned capsules, so has to have parachutes, so is subjected to winds...
The people I've met who like Java are the kind of people who don't know any other programming language. In fact, I'm not sure I can think of a worse language than Java.

Moreover, when people say the like Java, what they really mean is that they like the JVM.
Or they're a way to put dibs on a spot in line to decide whether to buy the car, and the size of the deposit exists only to ensure that people are minimally serious.

In which case, there is some signal to be extracted from people's willingness to give Porche an interest-free loan on the deposit money.
> customers still want to pay $25-30 per hour

Even $10/hour is lot more than $5k/year for someone working full time. It seems the middlemen are gobbling up a lot of that!
"I was in a hipster coffee shop, and all the liberal young people were whispering about how much they actually love Haskell."
You can speedrun PC games. For video games, better hardware can speed up things like loading times (which also happens if you put an SSD in your PS4) and increase the framerate but the actual gameplay won't become faster beyond the threshold necessary to play the game smoothly.

This particular speedrun is much more tied to the hardware, but that's part of the fun for these people. It might make more sense if you compare it to something like car racing. Both the hardware and the person matter a lot to the outcome.
I am wondering if any cost-analysis studies have been done to assess the trade-off between lengthy end-of-life terminal care and the corresponding cost. Doctors seem to make such decisions all the time; but we may have at some point to discuss collectively how much of the public money involved in end-of-life terminal care (last two months, say) for elderly should be used instead for better care earlier in life.

In countries where such care is provided by private insurance and not the state, I am wondering why this trade-off is not given as a choice to the consumer. Many people might be OK to get smaller premiums and better coverage throughout their life by explicitly rejecting coverage of end-of-life care.
Quacks of Quedlinburg Deserves Its “Board Game of the Year” Win
For me, I can't let go of my JVM. Clojure is good though.
It’s an analogy as Hawaii is one of the 50 United States. The EU Schengen zone is similar to the US as there is free travel between countries within the zone.
"Art" with a capital "A" is much like religion: a pseudo-intellectual toy of possible conceptions and idealism. The big different between the fraud of Art and the fraud of religion is Art claims you can buy transcendence, whereas religion says you must give your soul and lively obedience for the potential of their idealism after death.
Replace “passport” by “driving license” and things are almost equivalent: a piece of paper that pins you down a particular plot of land.
AAPS Statement on Federal Vaccine Mandates
No, it's not reliable enough. Energiya considered powered landing for Zarya capsule https://en.wikipedia.org/wiki/Zarya_(spacecraft) and felt it wasn't safe to land this way.
Well, the US has never been good in terms of caring of other countries. This also just applies when it comes down to reporting...
Musk’s high-speed tunnel project is the big loser in Chicago’s race for mayor
Static types with message passing works great and is used in production at any company which uses Akka typed.
Seems likely either drugs would end up being used, or government would stop funding drug R&D research.

Saying funding would continue without any benifits seems to be the least likely outcome. Personally, I would be fine stopping all public drug research, but I suspect more people would want to continue...
Tit for Tat is how all relationships between sovereign entities work in practice. Too bad.

And it is more like the super-rational tit for two tats strategy anyway. The US is _appallingly_ bad at meeting its international obligations, it routinely signs treaties with other countries only to subsequently decide it doesn't fancy sticking to its side of the bargain but of course it demands they fulfil their end...

All countries (including the US) agreed to the Vienna Convention, which says to let the other country know if its citizen gets arrested or hospitalised and requests consular assistance by their people.

The US completely ignored this, routinely holding foreigners without an interpreter on the rationale that hey, they aren't _citizens_ so they don't have rights... And hey, how we were supposed to know that he was saying he wants consular assistance, he said he wanted to talk to his family, and we said "No" but we never refused consular assistance...

The US Supreme Court decided that if US police do this it's just fine. No civil rights violation. Sure, the foreigner had "rights", but if police prevent them exercising those rights? Eh, whatever, they are American police, and Americans come first... "My country, right or wrong, my country" yeah?

So lots of countries that the US is supposedly friends with signed an additional treaty with the US which basically says OK, fine, even if our citizen doesn't make it clear that they need consular assistance, tell us immediately anyway.

Are you guessing that the US complied and now it's fine? Of course not. Now the US routinely says that it tried to contact consular services but alas other operational priorities meant it took a few days to get around to it...

[ Back when it was her job, Hilary Clinton struggled to get ordinary Americans who ultimately are responsible for implementing these rules to understand Tit for Tat. You beat up the "weird foreign guy acting strange" and lock him in a jail cell for a week "to teach him a lesson". Now how are the US consular team supposed to persuade a Parisian genndarme to let some American idiot get on a plane home instead of leaving him to rot for starting a drunken fight in a restaurant? ]

Your country treats other countries badly. Under the circumstances I think they've been exceedingly nice about it and I think it's more than time the EU threw the book at the US.
> I am bewildered that anyone thinks there is a libertarian argument for this program.

Everyone's a libertarian until it's their own job on the line. Then they suddenly become conservative.
SaferCPlusPlus
> just raise the minimum salary requirements until you have the number of people you wanted.

Or just rank the applications by descending order of salary, and give the visas to the top 65K applicants.
> Businesses ultimately cause the problem by producing disposable goods

People cause the problem by buying disposable goods. No business will produce something that nobody buys…
That is fixed now! :)
There are a few ways it's very different. First is that the US has a national standard process for obtaining a passport that applies regardless of what state you're in. That is not the case for the EU. Second, not all EU member countries are parties to all the same treaties, again, unlike the US. Third, each EU country has its own domestic and international policy, restricted that may be as regards to international agreements on production. Fourth, as it is possible for a member state to enter or leave the EU, unlike the US, having a treaty with the EU as a whole makes the United States bound to potential new members that it did not have the opportunity to individually evaluate.