skysight-inc/HackerNews huggingface dataset:
Nevertheless, people who need a lightweight language are always able to find one because there is always a new language at that point in its lifecycle. Further, there are languages like Go which seem to be determined to remain easy to get up and running, and don't seem likely to change anytime soon (for better or worse).
Please reconcile Dart with Haxe. Why should both exist?

https://haxe.org

My previous question in 2016 was "Reconcile Dart and Go", the best answer I got was: """This isn't true; they're both general purpose programming languages with strong static type systems and decent async I/O stories. You can write a web app or a server in either language, though Dart has a better ecosystem for frontend development, and Go has a better ecosystem for backend development.""" https://news.ycombinator.com/item?id=12131397

It would be great if you could give a new comparison (post-Dart-pivot) as to how you differentiate between Dart and Haxe when both (apparently) have similar goals.
Ancient Greek philosophy was divided into logic, physics and ethics. Metaphysics was categorized as logic.
Russian Router Malware Got Worse
Bets on whether or not that hockey puck just contains a Snapdragon 845 and some other COTS stuff? I'd wager significant money that it does.
That is an awesome feature of K8s and similar orchestators. It is however just an HA (high availabilty) problem already solved many times over in many ways. Almost every PaaS system has it. All cloud providers have it. Getting K8s (or any of its competitors) for HA is total overkill.
Yeah, that's the point!
Now make it pass the butter.
Yeah Alfresco. Was a stupid idea, second only to their decision to roll their own crappy UI framework.
That'd be because a lot of US politicians are ideologically opposed to any welfare program.
The article frames this as an act of strange mercy (that prisoners volunteer at a prison hospice).

But as someone not born in the US (although I live here), the existence of a prison hospice with any great number of patients strikes me as an act of unspeakable cruelty. Someone in end-stage palliative care is no risk to society or their victims. The vast majority of those there ought be subject to a compassionate release so they can die with dignity in the care of their family. I cannot fathom that any OECD country besides America would ever have a system like this.
Because there is no suppression of speech happneing about rotherham.
We built a user scripting feature for our product (like Google App Script). Our backend is entirely written in Scala so hooking up JS to our Scala stuff was really, really simple with Nashorn.

The tricky bits are all the hacks to limit resource usage which took a bunch of engineering time to implement and test and aren’t reusable across engines.

It’s not the fastest or the latest or whatever but it works well and gets the job done.
Huh, this conjures up ton of interesting questions and ideas.
Cockroaches seem so resilient compared to most animals and plants. Would lucrative cockroach farms still need to use antibiotics to increase yield?

If you do need antibiotics, in the "horrible" case that this causes the evolution of an anti-cockroach super bug can I get some for my kitchen? You've solved a bigger problem.
It doesn't have to make a copy. std::string is always null-terminated as of C++11.
Why not just:

require("fs").readdir(".").then(console.log)
Right now Social Security is paid for from it's own special tax. The idea then is that it isn't subject to yearly budget concerns, it just keeps ticking along regardless of congress' priorities.

If we start using the military, whether budget, personnel or infrastructure, then as soon as a war starts up or if we ever get a congress' that has the spine to cut back on military spending then those services get cut and we have to have a giant argument about how to replace them before settling on "do nothing and hope we get elected anyway".
It's not an accident. Roaches carry diseases that infect humans. They feed on human faeces when they get access to sewage, and they often do. Shrimps are bottom feeders too, but while I'm not an expert, I believe that the great difference of the pathogens common at sea and those found in land is the reason we're not very disgusted of shrimps.

Personally I'm also not very disgusted by those meaty worms that people in Africa and the Amazon eat. They don't look appetizing, but also not very disgusting. Maybe it's an accident or cultural bias, but I strongly believe that cockroaches and similar incests are disgusting because we're hardcoded to find them disgusting. I'm sure even kids do, before any influence.
Wouldn't that lead to even more bloat than what he regretted in the talk?
It seems that's not their first option, though? I lived over the boiler room as a freshman in college, and they came looking for warmth on a regular basis. My roommate and I would sit around in our underwear with the windows open. (Like I said, it was hot. Probably not the case anywhere else in Boston in the winter!) We got to the point we could squash the bastards from afar by tossing textbooks like frisbees. Not one roach ever took to the air to avoid his fate...

Now I'm really wondering. In what circumstances does a cockroach fly?
I agree that companies should try to help all of their employees grow and thrive, that people don't have the same cultural starting conditions, and that company led efforts need to be tailored differently for different people / groups.

It's somewhat unclear to me what you are asking managers to do in terms of removing bias. It seems natural to preferentially reward people who push the bounds of the position, who add out sized value, and who work hard. Not rewarding these people for their efforts will lead to them leaving and finding other jobs that will reward that behavior. People have different priorities in life, different aspirations, and I'm not sure why this is a problem. Those who want to work very hard and don't pursue familial obligations lose out on the benefits of having children or spending time with a SO and in return get rewarded career wise. There's an opportunity cost either way.

If I'm totally missing the point here or am off base, please correct me.
How do we create positive energy from feelings? [video]
De Icaza links make Friedman wrong choice to head GitHub
Yeah +1. I was super skeptical 1,5 months ago when I started my new job on a 22 node GKE cluster. "Surely K8s is overkill", "could've just used Nomad + Consul + Vault + X", "why not just use Fargate", "K8s seems like a distributed systemd", etc pp. Long story short, K8s on GKE just works, saves us tons of time, makes service-oriented architectures/microservices easy as pie and has led to a way better service level than the previous setup (Chef deployed on baremetal).

Yes, it probably is overkill for your 10req/s app, granted. But I highly advise everyone to at least give it a try out of curiosity, because a lot of hard problems at medium scale and above just go poof with K8s.
It calls git under the hood how it is not a wrapper? It also alows to create branches, not just manage patches.
Thanks for checking out Startups From The Bottom, a free newsletter where you'll receive a startup idea every day. This is a side project that a friend and I started.

Just a little disclaimer about this service: Creating a startup is not just a matter of implementing some fabulous initial idea. An initial idea is just a starting point. That's it. It should not be an assertion of the final product. After testing and iterating, most startups don't end up anything like the initial idea. The point of this newsletter is to get you thinking. To encourage you to start. Don't get hung up on the idea. Pick one and start.
DNA study reveals fate of Irish women taken by Vikings as slaves to Iceland
> Of course, the stateful service feature is lost. But k8s does not have that feature either.

Persistent Volume Claims go a long way toward the stateful service "feature".

To go another step further on stateful services, SF's stateful services are only supported in a couple languages. Where mounting a volume in K8s which will follow your container is pretty darn accessible to any language.
I learned about IPV6 is college in 1994 when it was definitely, positively rolling out en masse the following year. Imagine my confusion.
Washington Post publishes dataset of 52,000 criminal homicides
Show HN: Link's Ocarina from Zelda Made with JavaScript
Is it that hard to find a job in US nowadays? I can have quite a few job offerings if I wish so and I'm far from highly skilled expert.
A given amount of light emitted by the Sun is spread over a sphere of radius r. As the light propagates the radius gets bigger and bigger. The light per area is proportional to 1 / 4πr². If the radius grows 5 times then the area of the sphere grows 25 times.
If you read the Innovators Dillemma, there is a very clear chapter about how new technologies don't really deliver their promises immediately; but as they're adopted and operators/users learn how to work with it, that's when productivity changes are very much visible. It took quite some time for AWS to be mainstream and then to be adopted and operated in a way that delivered high productivity gains, and it seems to be the same for k8s right now.
Precisely, I'm sure there's an enormous amount of infrastructure, extraction equipment, storage, processing and reprocessing.

Without the full data such a statement is vacuous.
One use case for when you may consider code-first - pure experimentation and fast iteration around the data model that supports your application.

I have used both models, and did database-first extensively, for at least 15 years. However, having been working in .NET lately and having EF Code First migrations (painful, but read on), I did discover a sort of hybrid model that worked.

Eventually, I believe you will always end up at database-first, even if you start code-first, unless your database is relatively small (by # of table/procs/views count) or limited in scope. But as applications grow, multiple databases become a reality, the database might grow truly huge(# of tables/procs/views), you might need customization to your database platform, etc. - limiting it by the application / code-first becomes impossible.

Where code-first works well, for me, is limited scope OR, more importantly, when you need really fast iteration for prototyping and don't want to think about building the tables. I've found that use case, code-first can be really helpful to think in code, let the system generate the database, at least enough to get to an MVP or PoC type-level of work product. Then, once it's working enough, to really take it all the way, switching to a database-first approach to do all the customizations to a particular database platform's strengths, etc. can work - I've done it myself on several projects successfully.

The tooling is almost there to do this... just start code first, and then once you have your system bootstrapped, generate the database first model and switch. But, you have to be careful with naming things so that names of things in your code match up (or can easily be updated) if you switch from code-first to database-first - something that not all code generators let you control completely (most template-driven ones do, though).
"Enterprise" seems to have really embraced the "it's not broken it's compliant" mentality, it's much easier to tell employees "Company policy doesn't allow that" than make any improvements.

We have been here before, it's how the PC got started. Company policy said you couldn't have $14 of mainframe time to save six of your team working it out on calculators over several hours, so you bought a PC with 1-2-3 instead.
Right, but the cost of learning Go is ~1 afternoon :p Anyway, I don't really buy the argument that there are efficiencies from using the same language on the backend and frontend. I think there are efficiencies from using a language you're more familiar with or languages that are less error prone or more ergonomic or which have better tooling/ecosystem/etc, but I've never had a problem I would chalk up to context switching.
I couldn't agree more. Some of their stories are masterpieces of journalism and they cover broad spectrum as well (style, tech, finance, literature...).
I guess they are really unique.
I don't really have any explanatory sources at hand, just the source code here: https://github.com/potree/PotreeServer/blob/redo/src/Regions...

Points of interest:

Schedule files to be loaded. This will usually load around 1000 files:
https://github.com/potree/PotreeServer/blob/redo/src/Regions...

Whenever a file is loaded, iterate through the points in it, do the filtering and write the results to the output file:
https://github.com/potree/PotreeServer/blob/redo/src/Regions...

Wait until all files were loaded and processed:
https://github.com/potree/PotreeServer/blob/redo/src/Regions...

Wait until the output was written to disk:
https://github.com/potree/PotreeServer/blob/redo/src/Regions...

What happens is that ~1000 files will be loaded in the background, points are filtered in the main thread and even while some files are still being loaded, we already start writing the results to the output file.

> I tried to process simple CSV files in a very straight forward (but async) way and got reading 200mb CSV and just splitting it to columns (with simple split by comma) takes ~10 seconds.

CSV may be much bigger challenge since it's ASCII data. That always tends to take multiple times longer.
We've known this was coming for a long time...as a Millennial, I don't expect to ever see a cent of Social Security benefits.
Sorry, we only cover US and Canada right now.
You're not going to get an answer, because the person you're dealing with has absolutely no idea what they're talking about.
You got the formula wrong. The surface area of the sphere is 4πr².
Total energy the star projects on a sphere is same at any radius. The formula for surface of a sphere is 4 * pi * r ^2. So if Earth was placed in Jupiter's orbit it would indeed receive 25 times less solar flux because the surface area of the sphere would be 25 times larger.

However, Jupiter's planetary radius is 11 times that of Earth (69,911 km vs 6,371). Area of the circle is pi * r^2, so Jupiter receives 121/25 ~= 5 times more total sunlight than Earth. Of course it also has 121 times larger surface area (see surface of the sphere equation above), so per square meter Jupiter does receive about 25 times less sunlight.
You must be referring to the time Microsoft reversed engineered YouTube API's and blocked ads in their unauthorized YouTube app. They had no right to reverse engineer proprietary API's, they had no right to block ads from being played and they had no right to create an app for an IP they didn't own.

>And on what planet do you live that licensing out patents that are legitimate patents, for a fee, is racketeering?

You should look into the Microsoft vs Barnes and Noble case[1] as well as review their detailed patent racketeering practices at Groklaw. Additionally, the Chinese government made Microsoft expose all of their patents that they wouldn't allow companies they were shaking down to see and, well, they were full of old, obsolete and prior art ridden patents - be sure to look those up too.

[1]http://www.groklaw.net/articlebasic.php?story=20111111222912...
I'd argue non-elected entities such as the Pentagon are driven by national security and patriotism. If you suggested not pandering to any elected administration, I'd agree, as politicians are driven by the singular need to get re-elected. But the other parts of government mostly serve the country for pride and security.
Basically creating a minor leagues of devops recreating famous or no so famous mistakes that have been made in the last 40 years. "Hey Carlos my emails won't work over 500 miles"
>It'd be nice to see more P2P cluster building tools for individuals and groups of friends.

I've been wanting to build a k8s cluster for myself and a few friends. I didn't feel there was a lack of tooling to facilitate this, but I haven't really looked into it much. Could you share some of your specific concerns, and any tips if you've done this?
Sure, it's short. But it doesn't get to why one would do these steps if you don't know they are going to lead to a solution. Completing the square is a non-obvious step to make.

The argument in my previous comment attempts to provide motivation for such a step, starting from simpler questions. It uses the geometry of the problem, and builds up from solving a simpler problem first.

That approach also uses the notion of transformation and invariance (seeing what happens to the roots when we move the graph around, and noticing that the distance between the roots doesn't change we shift horizontally).

Again, the important part here, is that you could lead someone to ask the same questions and have them answer them themselves.

"Let's solve this equation. Looks complicated. Can we solve a simpler problem first? What would a simpler problem be? Now how can we make it a little more complicated, and how does it affect the answer?".

And that's how math is done.

After all is said and done, one can extract "completing the square" as a shortcut technique. But that's what it is - a shortcut through the woods. Learning a shortcut won't teach you how to walk in the forest on your own.
That makes sense. I'm leaning towards segmenting my plans in a hybrid way that restricts advanced features to higher plans, but charges a fixed $X/unit for all tiers. That way you can pick a plan based on the features you need, while still being able to easily calculate whether $X/unit makes sense for your margin. Like you said, if you upgrade a plan, you rightfully expect more features.

The reason we can't do a flat $X/unit alone is because we are not an email API, but rather we see ourselves as a booster-pack for email APIs. We don't sell emails, we sell email delivery optimization tools. Yet still, the volume of emails that flow through our infrastructure really matters. Plus, some of our features, like an Elasticsearch integration, are really expensive for us to support, so it makes sense that we should restrict those features to higher tier customers.

Thanks again, super helpful comments.
Sure, but all the performance-critical stuff is in gitaly and the others.
Someone pointed that mistake out in the blog comments. Yes, MyNVM has ~20% higher P99 latency
People really seem to have no clue about technology
I am not sure whether I really understand what the author argues for, probably because I read the paper in a rush. Does he argue that [the choice of] a logic is in some sense equivalent to [a choice of] what kind of entities exist?

If that is indeed the case, I would tend to disagree. While we often think of logic as a provider of undisputable truth, I am not sure that this is justified. There is more than one type of logic and they lead to different conclusions or contradict each other in the general case. Therefore it seems to me that the obvious thing to say is that logic is a human construct we use to reason about the world, it does not reflect universal truths but was invented and constructed in a way to be useful to deal with our world.

In consequence it is obviously very likely that logic and metaphysics are strongly correlated, but that would hardly be any deep insight but just a consequence of the way we constructed or choose the logic we use. If the logic I use to deal with the world makes a prediction about the world, for example the existence of a certain entity, then that entity might actually exist if may logic is a good match for the world, but I see no reason why the entity would have to exists, my logic could just be a bad choice.
I interpret the parent's comment that real solutions lie beyond individual action.
This is probably more compassionate.

On the outside, they’d be admitted to a hospital ER for some acute condition, then funneled to a county run nursing home or one in the hospitals’ network that needed bodies badly enough to accept a Medicaid patient. If the patient were male, that might be far away from family as no facility wants to be stuck with a male Medicaid patient.

If the patient were older, they would do a little better as the initial Medicare reimbursements are higher.
I'm not the one acting like a "snowflake" because people aren't praising my ideas.
Author here. The idea is low-hanging indeed, several friends (including @togelius!) commented "I always wanted to do that -- eventually". Realization is another matter. Have a look at the mess necessary to make it work: we had to discard UL initialization for online learning, accept that the encoding would grow in size, adapt the network sensibly to these changes, and tweak the ES to account for the extra weights.
Oops, that was supposed to say "makes it near impossible", but I'm outside the window where I can edit it.
The point is that I can rent the cheapest $10/month servers I can find, a bunch of them, throw kubernetes on that, and it’ll still be up.

Same reliability as AWS, similar performance, much cheaper.
Individuals might prioritize personal outcomes over market outcomes, but societies and governments should prioritize the latter.
Indeed, and I hope these ideas gain more ground. Mathematics as a magic trick needs to end.
I really wish IPv6 had a better argument than you can't get IPv4 addresses needed to build a complex application.

The majority of complex applications being built today are being built to be IPv4 accessible and may even be using IPv4.

You can use 17 million private addresses + buy plenty of public IPv4 addresses.

AWS and Google are both building major clouds that are both complex and STILL heavily IPv4 oriented (I and others pinging them to add IPv6 for a long time).

They throw in an IPv4 for every running instance and even their elastic IPv4's are cheap if attached to an instance.
I fail to see why it's a bad thing to give people heads up to what the actual outcomes of their positions lead to. Saying that employers should be able to not hire union workers means that they won't hire any union workers, meaning that the union won't be able to exist.
The only government subsidy the usps gets is the law that forces everyone to send mail through them. They receive no federal money.
Maybe they meant "Decided Normandy's Date"?
#fatfingers
I don't see the connection that brought that up? Lentils are an incomplete source of protein, unlike animal proteins. They don't even have similar ratios of macro nutrients. It's a complete non-sequitur.
This stuff isn't relevant at all to the talk - he never talks about npm or anything to do with package managers but instead how node does imports etc.

But anyways, [2] is at least a problem in many other package repositories. [1] would probably be a problem for many - given legal pressure (vendor your shit, that's the solution). [3] was a bug, not a design issue - no package management system is immune to bugs.

The one thing Java has is that it uses namespaces, which may help with [2] (but barely). [2] certainly has been a problem in PyPI.

Certainly all of this could happen to PyPI. We see it happen with js more, I think, because js happens to be extremely popular so there's a ton of packages for it and it's also much younger (especially node) than others.
Yes, it seems I lied when I said sprintf is surprisingly fast. For most practical purposes it's fine, but if you need to do string manipulation in a hurry, strcpy/strlcpy are going to be faster.

See https://gist.github.com/nneonneo/f9dc5c1d1d342d25eae47d56dba... for a test harness. On my Mac, with a 16-byte string, 10 million loops:

memcpy: 77406 us
strlcpy: 101956 us
strncpy: 177247 us
sprintf: 730819 us
snprintf: 699844 us

memcpy smokes sprintf - around 10x faster. The vast majority of sprintf's time is spent in setup; for large strings, the gap closes substantially.