skysight-inc/HackerNews huggingface dataset:
I rather like c++ closures in that they are pretty explicit about how capture works. Given the other concepts in the language it is absolutely necessary to consider how closure capture works with the copy constructor, for example. I would contrast it with objc blocks, where capture is pretty implicit and sometimes feel ambiguous.

But I think that copy constructor is the root of a lot of evil performance penalty in c++. In the old days it was especially easy to over-allocate with vector or string. Move semantics fixed some of this. But passing around closures without a lot of care is also a consequence. An "easy" solution, to capture a shared_ptr, is not without its costs.
> Why? Why should someone provide an email address?

You get access to the courses for the “price” of your email address; the author sends you updates about the course you signed up for and mentions their paid courses as an aside.

It's a common pattern in the developer education market and has long been used by Wes Bos and others: https://cssgrid.io/

I signed up for Gophercises (same author as Algorithms with Go), which also asks for an email address: https://gophercises.com/

I've received at least one update email about Gophercises with a short note that the author also has paid courses available. I don't mind the upsell attempt at all; it's entirely reasonable given the value I got from the free course.
About the only two services I'd like to see added near term are a message queue system and a distributed k/v (bigtable) storage. Similar to Azure's Storage Tables and Queues, or AWS SimpleDB/DynamoDB and SQS.

I know DO is just stretching their legs on hosted solutions beyond simple storage and droplets (compute), but these are two features I'd rather not manage myself, that have some pretty big value.

Being API compatible to AWS (or even GCP/Azure) would be relatively big... that said, would just be nice additions that would round things out a lot imho. I don't think I am really wanting for anything else (since DBaaS with PostgreSQL started).
Can I use logic after being a garageband user?
Are these two apps similar? I have been using Garageband for years, since I did not have the budget for a DAW, and FL Studio did not appease me much. Do you think garageband and Logic are similar so I can go ahead and invest in the latter?
> And, for corporate use? You'd use Debian + Kubernetes to take care of your needs, wouldn't you?

CoreOS is designed for these workloads. For example, with OpenShift 4 (Red Hat enterprise Kubernetes) the masters run on RHCoreOS and the worker nodes have the option of running on RHEL or RHCOS. You can end up having your entire Kube platform running entirely on CoreOS, either bare-metal or virtualized.

Fedora CoreOS is big as OCP uses RHCOS. OKD (the community version) needed its own platform and FCOS is that platform.
It is still somewhat there. Just competing with a lot more advanced things now.

I also picked up that book. What are you using to work through the exercises?
I quoted the title of my blog post. Do you have any evidence for your claim that it increases readability or usability?

A few human-subjects studies from different labs have recently been ran on this and the findings mostly agree with my opinions. Papers forthcoming.
Building a PokeDex Using JavaScript
It's a great combo. Been fortunate to be able to use React + Hasura + Clojure(Script) + Re-Frame at my job; great stack to work with.
Expected Word documents. Relieved when I saw it’s Markdown.

HN will be HN. Thank you for that!
Setup Multi Data Center Neo4j Cluster in AWS and GCP
I often wondered about this while running a quant group at a hedge fund.

Once your domain is somewhat specific, you tend to understand your own action constraints. We have this many guys with these particular skills (algos, networks, etc) and we can only consider things that might make at least some amount. And it needs to be done within some horizon.

Amazingly, it's much easier to have ideas if you have more constraints. Did you ever get asked by your teacher to write a story about anything? I always found that totally impossible. But a short story with a single protagonist, 4 pages long, occurring during some major life event, that's a lot easier to get started on.

We built a page of potential things to investigate. They were always things built around some observation someone had while becoming experts. So for instance I'd stared at swap rates for a long time and wondered about whether there were inefficiencies we could look at. Also there was a look at different ways to use options, another thing we were strong in. Everything that worked was something adjacent to existing knowledge. Ended up spinning out a currency fund that did quite well.
It may be prejudice (less unwarranted now than 5 years ago, though), but "Polish" is not a race.
That's really cool. It's entirely possible I'll have to throw together a "learn k8s by doing" kind of tutorial for coworkers in the future. I'll definitely try to use this because being able to serve live pages to other people would make for a cool demo.
Should it even be pluralized with an s? I always thought Emoji was one of those terms that was singular and plural.
Blind Indexes in 3 Minutes: Making Encrypted Personal Data Searchable
Are you at all surprised that you picked a language you don't have very much experience with on a whim and the project turned out to be a failure?
Nice one, could probably convert it to a Markdown format as well.
What's wrong with computational notebooks?
The problem right there is in the definition of “liberal”.

A cautious, forward-thinking designer-developer would interpret it as “allow for unknowns”. Whereas sloppy-ass cowboys think it means “accept any old invalid crap” and pass their garbage accordingly.

One of these philosophies gave us HTTP; the other HTML. And no prizes for knowing which one is an utter horror to consume (an arrangement, incidentally, that works swimmingly well for its entrenched vendors and absolutely no-one else).
One thing that might hook me is if you said which sites are scraped.
wasi doesn't have sound or video, it appears wasmer exposed a nonstandard api via wasi file streams.
Semantics, it's pure bigotry.
I often wonder why some fairly large companies that rely heavily on their own website don't seem to put more than a sole web developer worth of resources into them. Reddit fits into that category for me (Reddit has 400 employees).

Initially I had the impression that search was hard to implement. However, spending a work week figuring it out with ElasticSearch, Solr and Sphinx changed my mind. Getting the solution to work with the scale of the website would take more work, but all the know-how is there, and they could put a whole team to the task for a month.
Photos are coming in on Twitter. Thanks to all photographers for the amazing pictures! If you're a photographer and don't want your photos to be linked to from here, please say so.

Official (SpaceX) close-up video of the separation event / IFA:

https://twitter.com/SpaceX/status/1218976479150858241

Great shots of the fireball:

https://twitter.com/GregScott_photo/status/12189514406910730...

https://twitter.com/BrandonHSlam/status/1218923590260645889

https://twitter.com/Mimikry_/status/1218937739590230016

https://twitter.com/_flsportsguy/status/1218930068887613441

https://twitter.com/thelanjampod/status/1218949597231489024 (multiple frames)

Falling booster or second stage (the ratio of black to white hull area is the same on both stages, so I can not tell which one of both it is):

https://twitter.com/mike_deep/status/1218926880381902849/pho...

Impact of said part on the surface of the sea:

https://twitter.com/johnpisaniphoto/status/12189461666389401...

Infrared images:

https://twitter.com/turndownformars/status/12189257207366000...

https://twitter.com/turndownformars/status/12189415996080783...

In-flight abort test appearing on the weather radar:

https://twitter.com/NWSSpaceflight/status/121892435399747584...

https://twitter.com/wxmeddler/status/1218925147861790720 (animation)

Lift-off and others:

https://twitter.com/TrevorMahlmann/status/121896406755938713...

https://twitter.com/RDAnglePhoto/status/1218968896885215235 (viewing angle and height suggests it was taken from the roof of the VAB (vertical assembly building))

Splash-down of the capsule:

https://twitter.com/FutureJurvetson/status/12189766841347153... (strange that Mr. Innsprucker called the parachutes white-orange. That looks rather like red?)
According to dictionaries both are ok, but I think the no-s form is more common.
You didn't "offer" them 30%, you started the company with them and when it came time to execute a partnership agreement – which has to be done early to avoid accidental general partnership – that's what was agreed on, based on shared expectations of future contributions. Now they have decided to prioritize other projects – but there is no way under US law to adjust their ownership without their agreement.

It does seem like a vesting schedule for the founders would be better – but defining the terms of participation, and enforcing them, is difficult. Still, the performing partners would at least have grounds to sue, and that threat might be effective.
(author)

People do move. The post is arguing that (a) this is a good thing and (b) we should allow more housing construction to facilitate it (and to keep existing residents from getting forced out).
Please don't let downvotes get to you like this. I know it's not always easy, but the site guidelines ask it explicitly of everyone. That's because it quickly causes comments to sink below the acceptable levels, which is what happened here.

https://news.ycombinator.com/newsguidelines.html
Yeah, the guy is an absolute maniac and based on what I’ve heard I would not want to work at either of those companies, but you can’t argue with his success. He’s broken into two mature markets that have been dominated by massive incumbents for half a century or more. How many business leaders can say the same?
Well, '"roof repair"' was never a good search for obvious reasons. But you'd expect a search like '"how to" repair roof' to mostly filter out sites providing roof-repair services - and if a search engine doesn't do that properly (because it ignores the "how to" part as irrelevant even though it's in quotes!) that's just broken.
Because you also said "... or they will let it be as is which would be unsafe?"

I think your reception here would be better if you dropped the attitude and recognized that your comment used pure speculation to imply that the outcome of the test was negative. Maybe that was not your intent, but then you should have asked more open-ended questions rather than slant them so obviously negatively.
Ask HN: Anyone using LinuxKit-based immutable infrastructure in production?
Is anyone here building immutable VM images with LinuxKit and running those in production? I'm specifically interested in people using LinuxKit not to run a container orchestration system (as Docker for AWS does), but to directly run an application. If so, has this approach worked well for you? Any downsides to watch out for?
>>> What are the differences between this and the Kubernetes nginx ingress controller

>> It registers, functions and can be managed as a LoadBalancer by kubectl etc?

> Clearly so does the software in the submission

Yes, but nginx ingress controller does not work as a [ed: kubernete] LoadBalancer [it does not dynamically expose services via allocating an IP] . Was that unclear?

Nice tip about onion, I'd still love to see an automated LoadBalancer for test/dev setup - this submission is the closest I've seen - but it would be great to have a daemon/container you could give a subnet and have it work as a simple LoadBalancer for k8s. Especially if it supported ipv6, as that is readily available with fully routed addresses.

[ed2: looks like metallb might be an alternative:
https://metallb.universe.tf/
]

[ed3: would be great to se an lb implementation that integrated with an overlay network like zerotier or wireguard]
This is not about Ancient Greece/Rome/Russia/etc. My comment was: you cannot cherry pick which moment in History, a country's borders are convenient to you. I remember talking to a colleague from Poland that was proud that X centuries ago, Poland (or whatever the country/nation was called at the time had conquered big parts of then-Russia, even conquered Moscow. If we all think like that then a WW3 (Romans, Nazis, Mongols, etc.) is certain.

Let's stick to the borders we got, and in the future let's rener them useless (e.g. European Union).

I believe in a Star Trek society. Not "we kicked butts back then so let's get back those lands".
Beauty really is in the eye of the beholder, because I agree fully with parents' statements. Then again I write Ruby for a living...
> the US geopolitical strategy is to prevent any power from rising to match them.

...without direct use of weapons on them. Because WW2 is over, the cold war is over, and the definition of a superpower is less about weapons and more about influence. They keep you safe while applying the real power that makes you super. The police is strong because they have influence not guns.

The tone of the comment suggests you think I am wrong but the actual content supports what I said to the letter. Buying the influence works where trying to get it by force would have the exact opposite effect and push some critical parties into the arms of the enemy.

Hence the “power” part of superpower being more about this these days than actual weapons. Weapons help make sure nobody hits you directly. But in today’s world using the military anywhere but in the more remote, less... organized parts of the world is doomed to fail. Which is why it’s not happening.

Saudi Arabia and Israel openly have a far more outsized influence on US politics than their standing armies suggest. If this doesn’t tell you that the Cold War dictionary definition of a superpower is pretty irrelevant in today’s world stage then you’ll be calling people “naive” as your argument for a long time.
I have a Denon receiver. It has some nice connected features, like Spotify Connect and Airplay, but it’s also a completely functional dumb receiver that will work with equipment, input and output, from decades past and future.

I buy my own speakers and plug them into it. It also supports some Denon wireless speaker standard that lets it hook up to other Denon receivers and/or any speakers with the special adapters attached. But the crucial thing is that at the end of the day, all that fancy pants crap can stop working and you still have a bunch of bog standard speakers and receivers that can be hooked up any other way.

Now I’ll concede that maybe I’m ignorant or misinformed or a grumpy stubborn old man, but I’m not sure why anyone technically competent would buy a Sonos or Bose system with their crazy lock-in. It wasn’t so long ago that Sonos made you use Spotify through their awful reimplemented UI. It seems they have relented on that front and now allow use of Spotify Connect, but why would you want to be at someone else’s whim like that? Bose uses non-standard wiring and electrical specs to make sure that you can’t use their speakers with standard receivers. You either have to trash the speakers or keep buying Bose receivers when you want new features (4K, 8k, Atmos, HDR, etc.) Even when money is no object, I feel like a sucker when I buy artificially locked-in products like that. Maybe others don’t feel the same way?

For the not-so-tech-savvy, I concede that home audio gear is still a little difficult to set up. The common practice of making your own banana plugs is ridiculous and pre-made audio cables should be the norm instead. The receiver UIs leave a lot to be desired, even when they are ultimately good enough once configured. Shopping for speakers is like choosing fad diets: you have to sift through outrageous amounts of bullshit to find any useful advice.

I’d like to understand some more of the sociology and economics of why Denon and Yamaha and such can’t get their act together to produce something as user friendly as Sonos but that degrades nicely into standard A/V equipment when desired. If anyone with industry insight sees this comment, please fill me in.
The Disengagement Myth
Handheld UV water purifiers are already common. A lot of backpackers use them. I'm not sure how they work. Presumably they're not using LEDs.
If you think it helps to quickly write some code without types (I don't really agree with that in general, maybe in some specific cases), but you want to, when you're happy with the design, just add the types, there are many languages that support that!

On the top of my head:

* Dart (just don't give a type and the variable is dynamic)

* Groovy (add @CompileStatic or @TypeChecked when you're ready)

* Racket (start using typed-racket)
Another option if you don't want to completely disable bitlocker is to simply create a new partition from Windows to allocate the space, then delete it. This will leave an unallocated section which you can use to create the non bitlocked ext4 partition from the iso installer
Low-code solutions are great for this. I worked at Mendix in the past, which I still really like. Competitors are outsystems, Google appmaker, Microsoft powerapps and more.
Visibiliy has always been sabout naming thing. You were always able to bind private types to template arguments (otherwise you would never been able to create an std::vector<PrivateType> or pass MyPrivateContainer to an std algorithm. What's new in C++11 is the ability to also bind locals, but that no more powerful than what you could do before (via a CPS transform).
Idolization of others is unbecoming period. No person is special or mystically above others for doing acts of business and technology. That's what I live by at least.
I was all set to be cunningham's-lawed into telling you that's wrong about "travail", but holy shit, you're right:

https://www.etymonline.com/search?q=travail

Maybe I shouldn't be so surprised, since English still has the word "travails".

"Work" on the other hand means action, doing:

https://www.etymonline.com/search?q=work

That's quite a difference: one is something no one wants, and the other is something everyone does.

"Labor" falls on the "travail" side, meaning exertion, pain:

https://www.etymonline.com/search?q=labor
Right, but the loss of revenue from conference attendees is something that can be used as leverage against the politicians.

The same thing was done in the US to push back on anti-lgbt laws. It has had some successes. It's not perfect but it has its purposes.
Tori in 4 dimensions are just nicer in general.
Where this simple model fails is that existing residents oppose the construction of additional housing. Housing prices rise, fewer people can afford to move there, and renters with lower paying jobs get forced out.
Sure, got that. Yet, all businesses pivot at the start to find the right market ;).

Regarding instagram crowd, you could consider adding tiers without showing the actual net worth in numbers. E-peen of having a golden instagram profile picture or whatever (with link to actual profile to proof you didn't photos op it). Might be interesting to more people who want their actual value to stay hidden.
The explosion was not triggered by the self destruct system as has been pointed out to you repeatedly, and even if it were the system has been designed to work correctly in that scenario too (this is covered in the press conference).
Not sure how is capital punishment and a car break in video related to shoplifting so I will ask again: what changed from the point of view of police? They did not get to crack skulls before. From their POV nothing has changed at all - they arrest, book, and put the suspect in jail either it's a misdemeanor or a class A felony. No skull cracking happens at all.

The only difference I can see is that making arrests which do not end with charges will show up as the police harassing the citizenry in the statistics so the police, rightfully, avoids making those. The link I posted quotes a police officer saying as much:
While misdemeanors, in theory, can bring up to a year in county jail, Fresno Police Sgt. Mark Hudson said it’s not worth it to issue a citation or arrest a suspect who would likely be immediately released because of overcrowding.
Perhaps read the next paragraph? "New companies, however, don't have employees they would need to move. Why do tech startups choose the Bay when almost anywhere else would be cheaper? I see two main answers: to be close to their investors and to be able to hire from a deep talent pool."
No. oVirt makes much more sense for that case: https://ovirt.org/

OpenStack is a lot more complexity for a single box...
Get the mathematics degree. Audit the CS curriculum as much as you can to make sure you are aware of the gaps. Fill in the gaps when you can.
Doesn’t Python’s `import` evaluate code in the same way as Ruby’s `require`?
"How could Elon grasp two extremely different and difficult technologies and build such amazing companies within a decade."

Because they're both very well established technologies and there are tons of people with deep expertise in this area.

Space is full of kafkaesque levels of bureaucracy, it's shocking that we haven't been doing this for a long time.

It's the scale of these industries that he's taking on that is mind-boggling, not really the tech itself. It's operational exceptionalism more than anything.
>I am tired of trying to google them every time I need them

This is cool, but how many times in ones life does one need these?
Netherlands, Iceland, Denmark, Finland, Sweden and Norway.
https://stackoverflow.com/questions/7920742/delay-html5-inva... doesn’t show the red until you enter text.
This makes sense. From footage of past explosions when the booster disintegrates, it's usually falling down. That's why I thought it was unexpected that it just blew up so quickly after the capsule was jettisoned.
This is why many of us were concerned about the whole effort of every project to try to be more woke than the next through increasing CoC signaling.

Purity spirals are the inevitable outcome.
The Common Crawl is a thing already. Unfortunately, a "full" text crawl of the internets is a YUUUGE amount of data to manage, and I can't think of anything that could change that in the foreseeable future. That's why I think providing a federated Web directory standard, ala ODP/DMOZ except not limited to a single source, would be a far more impactful development.
Larger houses are a symptom, not a cause. Wealthier buyers drive the market, and because of the inelasticities I pointed out earlier, the rest of the market is dragged along. If a builder makes more profit on luxury homes, that's going to affect downmarket buyers as well. It's tempting to imagine that every home purchase is a completely independent event, and buyers have complete freedom to buy per square foot, but in the real world, that is not the case. Your article acknowledges this as well, towards the end: "The good news is you can find some great deals in your area, if you are willing to buy a house the size of your grandparent’s home. The bad news is houses that size or hard to find."
Absolutely, but that kind of code doesn’t really speak to complaints about modern C++ and all it’s become. I just wanted to chime in with that extra information. I don’t really have a dog in the fight, other than having a lot of love for C and good C code.
Book “Learn Design Patterns with Game Programming”
CoreOS is designed to remove everything you don't strictly need to run containers and to allow for automatic-upgrades across multiple machines (ie: don't reboot everything at once). That means you have a minimal amount of things that can be hacked and easy automatic updates for the rest.
youtube-dl is the only thing that makes the modern web actually usable.

I ended up writing a bot that runs on a docker scheduled task and looks at trello. I can drop a youtube link on the board and it will grab the audio.

Great for when I hear a song somewhere that I want to add to my phone later.