skysight-inc/HackerNews huggingface dataset:
> This being said, Haskell does have something in it that encourages one to design a ballistic algebra that runs in the type system before even pointing a gun at one's foot.

Haskell is not even a total language, so type system doesn't magically divert gun from your feet. You can easily prove False in Haskell (there's a Prelude function for doing this!), enough said. And if you want types keep your feet safe, it's possible of course, at a _great_ cost, and not in Haskell.
This is really great advice. I have always read about story telling being important for presentations etc. but somehow never thought about it in such a setting.
talk to people around the office and figure out the mission of the company, figure out how to make peoples tasks easier to complete so they have less work to do, and can work easier throughout the day.
My info might be a bit out of date, but something that surprised me when I looked into it was how little control I had over the embedded lua interpreter from my outer app. I basically had to hand it control by calling lua_pcall, and either wait for a result or manage a timeout from another thread.

I expected to be able to do things like tell Lua to run for X milliseconds or Y opcodes or whatever, but it didn't seem that anything like this existed.

So perhaps my disappointment with the documentation was really just disappointment that the implementation wasn't set up to do what I wanted in the way I wanted to do it. But in the course of coming to this realization, I also found the documentation frustrating and opaque.
The original thesis on REST by Fielding [1].

Section 5.1.7 Code On Demand

[1] https://www.ics.uci.edu/~fielding/pubs/dissertation/fielding...
Back up here. OC said "we run a small business and print checks manually". OC also said "With our employees being typically over 40, it's been rare to even have someone request direct deposit." So I responded from my own experience running payroll at what was also a small business, with employees who were also all 40+ years old. Where the heck does sample size come into this? It’s completely beside the point. We’re sharing anecdotes here, not research projects.
This sounds like more of a hyperloop type thing than a traditional maglev train:

> if the concept of maglev trains swinging inside a vacuum tube can be put into practice

That means this will also have all the same problems as a hyperloop.
Perhaps you didn't understand my point.

Being 'good at refactoring' is only a desirable feature if you are spending a lot of your time refactoring code.

Why are you spending so much of your time refactoring code? Because your language isn't extensible!
https://www.youtube.com/watch?v=0JDoll8OEFE

Please, I urge you to watch this. It explains thoroughly why the situation for railroads is very different between China and America.

tl;dw:
America is more spread out, has better airline control, and less of a political incentive to expand public transport, than China.
Add to that estimates of second avenue subway phase 2 coming in at $10bn for 2miles of track. Not sustainable.
What is the most important metric for early-stage startup?
What is the most important metric for an early-stage startup?
Can you choose between:
CAC (customer acquisition cost)
CR (churn rate)
LTV (lifetime value)
Brakes slow a car down in terms of velocity over time. But they may make a car faster in the sense of distance over time (aka lap times).

I guess the real issue here is that 'fast' is ambiguous. In terms of racing it can be used for both lap-times or velocity. lap-times and maximum velocity are not necessarily correlated.

</nerdsnipe>
47% of Top Amazon Sellers Based in US, 38% Based in China
> ...passed through all sorts of classes that each spit out HTML.

They generally don't spit out HTML, that's how you get XSS. Rather, they turn the data into DOM nodes, dynamically. In theory, that's more efficient, because the data should be smaller than the marked-up data. That's also how you get a UI to sort of rival a Desktop application, you cannot do this all server-side.

Also, all your server-side code that renders HTML is usually more privileged than your client code, unless you did your job very well, which I know you didn't, because you don't have the time and/or money. That's a huge risk surface area. There's a reason why Wordpress instances (which also have "thousands" of components) get hacked all the time, while static-site-generator sites don't.

> They also do some weird stuff with events like key-ups in order to re-render input fields based on objects rather than letting the browser manage those kinds of things.

The browser doesn't manage those things, or if it does, it's very limited and likely different for each browser. You need some amount of Javascript for all but the most trivial forms.
>A minority of people with power support the regime. Most people hate it but are powerless to change it.

Exactly why is this minority more powerful than "most people"? That doesn't even make any sense. Most people aren't powerless, they just refuse to stand up and take action, so they're allowing the minority to oppress them.
So you sanction that 'sanction' be sanctioned?
One of the worst things about the internet is that a couple of months ago, when the Ocean Cleanup Project was having some problems, there were several quadrillion articles posted, from comments on social media to entire news articles, calling it a failure and scam.

Including on Hacker News.

Now that it is working the crickets in here are deafening.

Take this comment, which is the top search result for "ocean cleanup project site:news.ycombinator.com":

> The Ocean Cleanup Project is essentially a scam at this point. It can't work for numerous ecological (scoops up ocean life) and engineering (the ocean is HUGE, corrosive, and violent) reasons. Not to mention that ocean microplastics are distributed throughout the first 100 meters of ocean water, and this goes nowhere near that deep. Of course, they dismiss these concerns or deflect with scientific BS (which the media gobbles up) whenever they are brought up.

>They can't get this to work on such a minuscule scale in placid water off the coast of the Netherlands, it won't work in the North Pacific on a far grander scale.

If the internet had been around in 1903:

>The Wright Brothers are essentially a scam at this point. Their airplane won't work for numerous technological and engineering reasons. Not to mention the sky is huge and the plane only flew for 3.5 seconds and was damaged upon landing. Of course, they dismiss these concerns or deflect with scientific BS whenever they are brought up.

>If they can't get more than a THIRTY SEVEN METERS in the placid air on the coast of North Carolina, airplanes won't work in the turbulent winds of other regions on earth.
I'm actually shocked at the downvotes. The previous post was discussing the problem of all the layers of abstractions, and I was pointing out that a "10x programmer" could be getting 10x results by finding ways around those abstractions.
Independent of the amounts, where they come from and where they do, the visualization methodology is amazingly good and useful.
Semi-recent change in policy:

> Starting with PostgreSQL 10, a major version is indicated by increasing the first part of the version, e.g. 10 to 11. Before PostgreSQL 10, a major version was indicated by increasing either the first or second part of the version number, e.g. 9.5 to 9.6.

* https://www.postgresql.org/support/versioning/

This is to help indicate that an in-place upgrade is not possible. To put it simply, you have to do a dump/restore to go from 11.x to 12.x (there are 'advanced' ways around this).

There was some confusion in the past with new users about why something like that was needed for "only" a 'minor' update of going from 9.5 to 9.6.
Event A is your comment. Event B is my comment. If your comment gets to the server first if gets ID 1. If mine gets to the server first it gets ID 1. Which ID you get depends on timing outside your control. They race to get the ID. A race condition.
NIMBYs would block any of the eminent domain needed to build it. Not to mention infrastructure construction in this country is rife with corruption and incompetence. This results in HSR having massive price tags and taxpayers not wanting to foot the bill.
>It shows people pick interesting sounding options from a range with little care to whether it has meat in or not.

Thats probably true, but I think more importantly it shows people pick the more inexpensive options from a range with little care to whether it has meat in or not. In other words if the non-meat dishes were more expensive than the meat dishes, the sales would have been different.
Is is fine, or suboptimal to the point of being impractical?
Genuine question, how bad is this, if quanified?
I think we can code ADT in Python: https://github.com/lion137/Functional---Python/blob/master/t...
Only, if you classify NIMBY struggling.

https://en.wikipedia.org/wiki/NIMBY
https://brutalistwebsites.com/
Be careful comparing a system which can simply take the land and labor it wants to one in which people have rights.
I went vegetarian about two years ago, and it's been way easier than I thought it would be. Plenty of meal variety when you draw ideas from across the globe.
I feel like Apple users live in a ivory-tower.

> If someone really really wants to circumvent the App Store on iOS, distribute it via TestFlight, or make the source code available and ask users to compile it on their own Macs.

How many protesters in Hong Kong have a Mac to compile source code and even know how to compile something? TestFlight has a user limit. Can people install an app through TestFlight as easily as they can through the normal app store?
I see two posts that can be construed as pro-China within the last year (This being one of them).
Ha! Anyone who would say that to me, obviously doesn't know me. Anyone who does know me, would be aware that I am obviously not afraid of looking stupid.
About 25 years ago in Jr High school we watched a brief propaganda video about maglev trains touting The Future. Corny music coupled with bold narration. It was as comical and sad then as America's progress on high speed rail since then.
You're literally wrong. :) Literally has two meanings in the dictionary, one of which is your "wrong" one:

https://www.merriam-webster.com/dictionary/literally

You may be interested in linguistic descriptivism, as opposed to linguistic prescriptivism:

https://en.wikipedia.org/wiki/Linguistic_description
I assume you mean Open Source, and that would exclude Windows and macOS. Apart from MINIX which we now know lives on every Intel chips, there are BSDs, NetBSD on Apple AirPort, FreeBSD on Netflix Open Appliance, Playstation, even Solaris is still being developed worked on. L4 is used in every Apple SoC with Secure Enclave.

And many many others.
So, as someone that lived in New York for 6 years and California for 6 years, stories like this are incredibly depressing.

The US is the world's largest economy and should be the shining example of amazing infrastructure, high-tech, green cities, and forward thinking policies. California is an especially egregious example in terms of infrastructure investment:

If California was a country it would be the world's fifth largest economy. It has a number of large and successful cities and areas connected along the coastline. San Diego, Orange County, LA, San Francisco. Why on earth isn't there a high speed rail between these cities? Can you imagine the impact of being able to train from San Diego to LA in 30mins? LA to San Fran in an hour and a half?

I took the train once from Irvine to Los Angeles and felt I had gone back in time to 1980. This in one of the richest counties in the world (OC). It's unthinkable in the year 2019, that we are all stuck on roads like I5 and 405, stuck in traffic for hours trying to make it to LA and the alternative is an ancient train trundling along at 50mph.

I hate the fact that an autocratic and repulsive Government is showing up the US in terms of green tech investment and high tech public transport systems, while the US govt is dropping taxes for the biggest companies and lowering spending on infrastructure and public works. This is guaranteed to have a terrible knock on effect over the next 20 years while the US is stuck with an old fashioned and clogged up transit system, polluted cities, and a dependence on fossil fuels.
Every Programming Tutorial (parody) [video]
You are correct. The impolite answer is that they count on their new compatriots' lack of knowledge to dodge the I-rain-ian [sic] label.

Historically, only enemies of Iran refer to it as Persia. The British, for example, remain quite keen to call us that.
I quite like it. Its seems like an advanced version of where menus pop up on hover rather than having to actually click.
This tool finds data races. All data races are bugs.
Slowing down and stopping for intermediate stations?
I'm extremely wary of any claim that there is a "progressive monoculture" on tech platforms. The only "free speech" that seems to be suppressed is straight up hate speech -- open white supremacy, homophobia, misogyny, etc. The kind of speech that everyone should find contemptible regardless of political orientation.

Where are the cries of "free speech" from conservatives when for example Google punishes its employees for union organizing?
Webchain: A Blockchain for DApps, Secured via Websites
Liked the games on the site. I think this post could do much better if a proper title is added like "Geogopher - Play Geography Games" or something along those lines. Also change your post from text post to link post. And if you are the author of this site perhaps post a comment to describe what made you develop this and what languages and technologies you have used to develop this.
Other, and actually main, reason is that good public transport decreases cost of land, it is basically designed to do so: it makes more places liveable/jobs reachable, so there is effectively more land for the same amount of people. So everyone will vote against or they lose their pensions.

Want to fix this? Sure, easy, just scrap the democracy and just don't ask people, send those who object, to "re-education" camps. Or scrap market economy: if all land is government-owned, it won't be an issue at all.

More and better public transport in EU? For same reasons: less democracy and less market economy. More government-owner land, larger fraction of renters who just want cheaper rents (and public transport gives it to them), and they vote in the right direction, less legal opportunities for NIMBYsm.
This is a horrible attitude to have. You're telling them that rather than push their country to be the best it can be, they should accept it for what it is and move if they don't like it? That's not what America is about my friend.
Deep Learning Networks Can’t Generalize–But They’re Learning from the Brain
Others may see it differently but I see it as the kind of programming where:

* Bugs are typically caused by misunderstandings of requirements or something odd about the interactions between different systems, and rarely about internal logic.

* Where quick is often better than proven correct.

* Where requirements are in constant flux and where a lot of code is tossed out because it was the result of a failed experiment or an unwanted feature.
What is the cost of riding one of these?
I think that's a typo and they mean a trip from Beijing to Guangzhou
Meanwhile in America we have a world class freight system between America, Canada, and Mexico that’s unrivaled anywhere else in the world. Europe uses trucking which is less environmentally friendly[1] than rail. The United States also runs the largest rail system in the world[2] vs any country (and the combined EU[3]).

Europe is leading the world in electrification and they are likely getting that power from greener energies. The US’s diesel-electrics are nasty but hopefully they will become fully electric in the long term or offset in the short term by improving passenger car pollution and building more renewable energy sources.

China’s energy sources are very nasty pollution wise and impact the environment in bad ways (hydro power, Three Gorges dam).[4]

Anyone know the pollution difference from using coal to power a train or using an ICE train?

I’m all for passenger trains and would love high speed rail but I also enjoy a healthy debate with some sources.

[1]https://theconversation.com/rail-travel-is-cleaner-than-driv...

[2]https://www.railway-technology.com/features/featurethe-world...

[3]https://www.railjournal.com/regions/europe/european-passenge...

[4] https://en.m.wikipedia.org/wiki/Electricity_sector_in_China
well, atleast they can deport the Uighur faster :/
I've learned there are arguments that are not worth winning, and if you find yourself in one, your priority should be getting out of the situation that created the argument.
Didn't we go over this already? It's not any behavior that depends on timing sequences, it's only if your code assumes it can rely on timing sequences while it can't, i.e. a bug.
I’m already seeing this in the wild, at least for more artsy clients, museums, that sort of thing! I kinda like it. Some of their examples are over the top, of course, but think of it as the fashion show pieces that retail chains will digest into more realistic designs over the coming years. I think we kinda need this to escape the tacky, bloated default look that 99% of websites do, nowadays.
Why not debate the article, there are many anti-China articles on the first page too, like in this case is very interesting to see what the technical issues are and how can be work around them.
It needs investigation by hand. I don't see how that can be automated.
I use it as a way to rapidly prototype stuff related to new C-APIs https://github.com/wiladams

Currently using it to create a tiny Postscript interpreter: https://github.com/wiladams/lj2ps
Programming for Lovers: Free Online Course from Carnegie Mellon Prof for Charity
1000km/h is the maximum velocity of the train (Vmax), it's cruising speed will probably be lower.

You also need to accelerate and decelerate, so the average speed (Vavg) will be much lower than 1000km/h.
So I checked the Smartphone section. Very limited amount of arguments. The visual representation is nice, but the Tweakers Pricewatch website [1] has a better search because it has better (more) arguments (they could however benefit from the scatterplot system).

[1] https://tweakers.net/pricewatch/
Learn how to boost your efficiency by integrating your technology stack
> I'm sure that would be flagged to death as low content snark. Also, it's possibly stupid saying anything at all because people who eat stuff like burgers and hot dogs will get all mad when you give your honest opinion that it isn't exactly gourmet health food.

Tastes differ between people. I eat burgers and hotdogs because they're tasty, and their tastiness for me is inversely proportional to the amount of vegetables you put into them. I rarely eat out, but if I want to grab a hotdog, I only do so in places where I can get a bun, sausage, ketchup and mustard, and exactly zero of all the other dressings.

And from my POV, vegetables and fruits tend to ruin the taste of everything. I just don't like them, period. I accept some in appropriate context - common mushrooms, onions and peppers when the food is salty, carrots and apples and maaaaybe tomatoes on the sweet end.

I can't tell you why I am like this, though I am very curious about what shapes one's tastes. I eat plenty of healthy stuff, but I'd love to make myself somehow like it, - all I've managed so far is to not feel completely miserable every time I eat a healthy meal.
Java is also advertised as "enterprise" language and it can't even encode in its type system that a piece of data can be missing. Or maybe it can, with Optional<T>, thanks Haskell.

I can't tell I had less problems understanding magic container IoC stuff than most Haskell concepts.
We're 2 buddies that flew from Vancouver and Paris to Croatia to build a product in 3 hectic weeks that'd solve many pain points for us, so considered it might help some of you as well!

We wanted a dead simple solution to collect metrics and show them in powerful, snappy charts. We benchmarked a bunch of solutions, made our our charts using d3.js (was hella fun) to come out with something we dreamed of
Every broker sells orderflow, so yes.
That is an unfounded accusation exclamation point
China is a problem, folks.
> Another is to think of this as layers of essential services: kernel, memory management, networking services, file services and so on. For a layer to be reliable the layers below it have to be reliable too. Isolating the layers in processes allows for faster resolution of where a problem originates which in turn will help to solve it.

is there any reason to believe that most (or even a just considerable part) of race conditions in a kernel are cross module?
Welcome to the 'Airbnb for Everything' Age
No, it's not. It's not perfect, nor is it trivially easy, but it is possible to side-load apps on an Android phone.
I do...
The US has had a money hoarding problem for the last three to five decades.

You're not going to get very many high cost infrastructure problems solved when the government doesn't force the issue. Socialism is a red herring, the real greatest enemy of capitalism is the unregulated free market.
this whole story probably just boils down to people not understanding the difference between github and git.
My best advice is do not try to learn functional programming via Haskell. It has done more to turn people off of functional programming that just about anything.

If you want to learn statically typed functional programming learn Elm (which takes only a few days), then one of F# or OCaml.

If you want to learn dynamically typed Functional Programming, learn Clojure or Racket/Scheme.

They amount of investment it takes to see return on learning Haskell makes it terrible for an introductory language. And every proponent of it glosses over this part. It has some advanced concepts but its not an introductory language.

There is so much benefit you can get to your coding from learning FP that you should pick a language that allows you to see and judge that value prop on your own quickly, not have to invest so much time to be haskell proficient to try to get the return on your learning.
Each of these things is well-explained by the documentation of the respective libraries. I'm not sure why you feel like you need someone to write you a long-form story in order to learn how to do these things; convince yourself of the merits that others already see.
It is, but unfortunately the HTML structure is quite horrible. It is built less like a web page and more like an Excel spreadsheet. Makes it terribly hard to parse automatically.
When there is a great evil power in the world, it is impossible not to take a political stance, given the moral duties involved. Inaction, or failing to take a stand, constitutes tacit approval. In this case, Apple granting what I assume was a request from the Chinese government to remove the app is more than tacit.

The human rights abuses by the Chinese government are insanely bad: religious and ethnic persecution, forced abortions, murder of political dissidents, no habeas corpus for many, abuse of prisoners (torture, forced labor camps, harvesting and selling prisoners’ organs), to name a few.

Unfortunately, too many in the West, including Apple, have become heavily economically dependent on China. I think that dependence strongly clouds moral judgment when it comes to decisions like this. Furthermore, it requires far more moral courage to call out evil in the present than it does to identify evil in the past.

To Apple and everyone else: don’t become complicit! Take a stand. History will vindicate you.
Think Different.

https://youtu.be/RSyy2-Z2m-U
California is actually putting in "high speed" rail, but my understanding is it's far behind schedule and uses old technology.
Before v10, even the minor version number increase was a major release (i.e. 9.1 -> 9.2).