skysight-inc/HackerNews huggingface dataset:
Don't let its name fool you. C++ coroutines is nothing about the coroutines you imagine from other languages.

C++ coroutines, defined by C++20 standard is nothing but a syntax sugar. It consists of three keywards, co_await, co_yeild and co_return. The functions which use these keywords are said to be a coroutine and it's code will be transformed such that some specific member functions of the user-defined type will be called.

And that's everything. It's just a syntax sugar like range-based for. Actually, it's less than the range-based for because there is no standard library support for it.

If you wrote a class that does, say, lightweight user-mode threading according to the C++ coroutine's syntax sugar expect, it become coroutine in the sense of most other programming languages. It can also support generators and other idioms if YOU or SOMEBODY wrote a library for it. Good luck with that. Because even the C++ SC's experts couldn't design and agree upon a good such standard library until the deadline of C++20.

In my opinion, these features should better be implemented by powerful generic static reflections rather than a dedicated special syntax just for this.
A family tree is an overloaded term. The tree of ancestry, which describes who beget whom, sure cannot be cyclical.

The graph of civil relationships can certainly contain cycles. If the relationship in question is "is a legal parent of", for example, then adopt your parent.

The opportunities for cycles multiply if both blood and legal relationships are taken into account.
I am starting to ignore syntax when I read code now. It doesn't register in my mind most of the time unless I see a sudden paradigm shift or odd dependency behaviour(I think this causes me to snap more than language syntax. Dependencies don't have clear code navigation guidelines, proper structure or docs than the language they are in).

From my perspective, choice of language matters very less compared to the number of experienced programmers you can get at x price. If there are more js developers, then that means you can hire more for less overall. Obviously things are more complicated.

If I want to write software that is going to be used for a long time, then I am going for strongly typed compiled language that will have certain percentage of developers 10 years later than focusing on how beautiful the language is syntactically or how it reasons well. Binaries are easy to distribute and can still be used after source code is no longer available for odd reasons. Anything trendy will get too many breaking changes or fixes.
Heck, having visible source code can be liability too in future. I may as well choose something that will be hard to decompile.
Not to mention the external dependencies that you will need to mirror or even maintain.

I think most businesses that are dependent on tech can be divided into short lived and very long lived ignoring certain type of software and industries.

For short lived businesses or customers, your stack shouldn't matter much compared to the responsiveness of development. What incentive are there to provide quality software to companies that will live 5 years at best? (Note - quality here refers to ideal stack/code that programmers expect. Eg - unnecessarily performant, kubernetified, micro architecture)

None.

For long term businesses, software is an ongoing cost. They can afford to renew their software every 10 years so why should you write something that is expandable, easy to migrate and another team to take over. Beside, their requirements change drastically over time. It will end up being a monolith.

I don't have to work right now but if I ever do, I am gonna work on the interesting bits while hiring someone in a third world country to outsource parts that I don't from my job.

I want to solve problems and reach goals. Syntax doesn't provide enough value on its own in a general programming language.
Doesn't have to be single-threaded even. Main writes the pointer at the start, and no one else is going to change it, just read from it.
Best Practices for Configuring Kubernetes Pods Running in Production
The US has an entire Western hemisphere it can and should be doing more to unify and improve.

Like Trump said in 2016, it's time to turn our resources back home. Rebuild our own infrastructure, social programs, etc.
Unfortunately a lot of jobs do require presence in the office, especially in particular sectors where the perception of increased security working in the office is misleading.

I hope more and more companies move to remote working, but it's still a hard concept
I feel like this is almost like trying to resist the allure of drones in war. It’s too easy to do and too hard to stop. It takes almost global consensus.

Any number of parties could lawfully and unobtrusively start slurping up all sorts of data which is in a kind of plain view, and nobody would really be the wiser.
Given enough time; I'd say something that's similar to Google's Glass or a physical sensor stuck into one's brain (Neuralink).

What's holding back these advancements is the way companies monetise these ideas--the fact that people feel creeped out by how they can be abused. This also gives these companies enough time to iterate, though.

But my guess is as good as any.
The UK was one of the main blockers of the EU army, but now that's changing.

More complicated is deciding what the objectives are. Domestic defense only or airstrikes in Libya and Syria?
Yeah, I actually tried something similar some time ago (lyfepedia.com but it's not up). I also did a video-call app (wupi.io which does work) but these are not decentralized. Perhaps we could join forces? I had in mind starting with a "spotify" kind of thing, based on a local server running on a tablet device or surface, but if it also has something like photostream that would be cool.
Run a First Marathon, and Your Arteries May Look 4 Years Younger
InstaHacker – Online Instagram Hack Account Tool 2019
Too many people still driving around drunk sadly counters that point.
The argument of this post is that we should build more housing so people don't get forced out.
Nowadays I live in a city with a tram system, trains to other larger cities and bike lanes.

If you are going from one city centre to another, during the day, the train is the best choice.

If you are moving within a bike-friendly city, bike is best (or Uber, but it is banned here). If you are somewhere in an urban sprawl, it's car or Uber.

I definitely find trains useful, but I think that they are consistently overrated by people for emotional and irrational reasons. I personally use trains for maybe 1% of my journeys and trams for 0% despite them being extremely prominent in my city.
> If you have any experience working on C++ projects you will be very aware that deciding which feature is and is not used is the kind of stuff which is defined in the project's coding guidelines

And you will find that you have to learn these features once they are allowed in the guidelines. Some workplaces stick to the old features. Some regularly update with pushes toward use of modern features. When your coding guidelines prefer modern C++, you have to learn it.
It doesn't work this way. Healthy fields require regular, extended downtimes to regenerate. You can't "fix" a depleted soil, this is something that nature must do alone.

The only fix is to legally mandate (or incentivize by subsidies) that soil gets to regenerate. The problem is that this will reduce the amount of usable agrarian fields by a massive amount and so prices will rise - which governments want to avoid like the plague. What they ignore: if we continue down that path the soil is fucked beyond repair in decades...
I don‘t think high speed is where there is a problem. The challenges lie in the diverse environments where literally anything can happen.
Is this the best solution if I want a standalone bare metal server that can spin up VMs? I'm looking for the closest analog to for example, an open source digitalocean style platform. Also interested in something that lets me manage CUDA/TF/PyTorch jobs. I know and understand docker and kvm but not kubernetes yet. TBH I find this entire space totally confusing.
This is an inherently silly article. It's premised heavily on Trump. He's around for a maximum of one more four year term. The only guarantee is that whatever President comes after Trump, will be a supporter of NATO and the former political approach to allies that has defined the post WW2 era. Trump is a one-off. There is no next Trump, the entire US political landscape top to bottom is overwhelmingly dominated by the anti-Trump types, there isn't a single other major political candidate (one that could actually win the Presidency) anywhere in the US that is like him. Most of Trump's biggest supporters in Congress are anti-Trump types when it comes to entities like NATO (Lindsey Graham for example is a McCain-like globalist hawk that loves the old systems, including NATO).

> A world where an American president declares NATO, the cornerstone of American defense policy since World War II, obsolete.

Trump has zero interest in eliminating NATO or reducing it. It's just another case of Trumpian bluster. Nine times out of ten it's empty bluster, as everyone has noticed at this point. The article is taking the obvious - Trump's belligerent angling & needling approach to negotiation - and pretending it means something (Trump wants to do away with NATO) other than what it obviously does. The article author realizes that's incorrect and uses it anyway out of convenience to support the silly premise they're floating.

Back in reality Europe can't afford its current military expenditures (and neither can the US of course), and there is no scenario where an EU army of any consequential scale comes into existence. What it's going to almost solely consistent of, is coordinated industry (arms manufacture, research and compatibility), not an actual EU army.
I am looking for something to improve.
Revealed: Betting firms use schools data on 28m children
We’re trying to keep the Galapagos pristine. That might destroy them
In exchange for parens, you never ever have to worry about any _other_ syntax though. I always find this argument baffling. Every new version of most languages, there's new syntax to learn. New arrangements of keywords and glyphs to do stuff that is always and forever going to be (new-thing ...) in a lisp.
It looks like you are just writing JSON files to disk, with no actual database functions. Which is fine, but it seems odd to try to brand it as a database.
> It's time for the EU to either become a real institution or go away.

It is a real institution.

> Building an army and taking responsibility for its own defense is a step towards realism.

They are planning to create the army outside of the EU framework.

> She knows the US has little incentive to strong arm Russia into keeping the pipeline open.

Man, you really are uniformed about everything EU related. The US is trying to stop pipelines from Russia to Germany. The US doesn't want germany being reliant on russian gas. The US wants germany reliant on american gas. We are even planning on sanctioning companies working on building pipelines from russia to western europe.

https://apnews.com/a038942bb9f0f1af239c6a56a54ae408

> I see little downside to the improvement of global affairs with a stronger EU. Competition and self-sufficient agents are always good.

If you think competition and self-sufficieny are always good, shouldn't you be against the EU? The EU is the opposite of competition and self-sufficiency. It's 28 nations cooperating rather than competing and becoming dependent rather than self-sufficient.
Prediction: they'll run the numbers, scratch their heads, and begrudgingly start paying 2% of their GDP to NATO like they signed up to do. Shit's expensive, and Europeans are taxed through the nose as it is.
Generally, I think RubyMine is quite good as a Ruby IDE.

You can also use IRb, Ruby's REPL, and #source_location to find definitions, it works for monkeypatches as well if your team is using those.
> Following that throught process everything will look like a propoganda.

Almost everything is. In tech industry and tech media in particular. PR is essentially another name for propaganda, because propaganda got bad name at one point and propaganda firms had to rename it to continue those practices. Evangelist and advocate roles are essentially people employed to spread propaganda. Even just the idea of startup growth is deeply tied to propaganda.

> For containers, I don't use containers because everyone thinks its great, but because it makes my own life easier.

That's not really true. They help a bit with certain problems, introduce other problems, and container-based technology implementations pile on so many problems and look so incompetent, it's hard to even take any of it seriously.
I see. I guess we have very different experience with Clojure as I'm not hitting these issues at all, because almost none of the code I write is doing interop with Java itself and I probably write 70% ClojureScript rather than Clojure.

I could understand if you want a sound type system, that Clojure is far off from that. Thanks for explaining!

I'm guessing you already seen and maybe played around with clojure.spec as well. Do you see it helping anything or it's a lost cause because you want compile-time typing?
Epigenome propagated for over 50M years by Darwinian genome evolution
But we're not doing that. We're just spending more on the military.
Europe is too internally racist, prideful, and Nationalistic in its current form for this to work.

As a european, I have to say, what a ridiculous statement.
Still, there is IMHO a sampling error that makes the comparison not fully accurate.

The pool of "all vehicles" traveling on the road, comprises very old cars and pickup/trucks/vans, and all kind of drivers, including teens (or however inexperienced drivers) and older people that may be more likely to have slower response times or some other condition, like (say) poorer vision.

Besides the fact that Tesla's are at the most a few years old and being on the pricy end (which should imply that they are properly maintained), they are "sport cars" (in the sense that they have very good handling and breaking) and they are driven (I believe) by a certain subset of drivers, relatively young but with no or very few inexperienced drivers.
Ask HN: Privacy Respecting DNA Sequencing?
I want to sequence my DNA and get the results. But i do not want a company to keep a copy of it. Even if it assures me it will not share it, sell it or it will keep the data "anonymized". I want them to sequence it, give it and delete it. After all I'm paying for it.
Extra points if i can be sure of it, like doing it at home, which I suspect we are still far away from that.
The macOS Catalina Music app is very much still based on iTunes. It still supports AppleScript, the preferences dialog is still a modal, it retains a bunch of subtle (not always desired) behavior in stuff like metadata edit autocomplete and multiple window support, etc, it even has the ancient legacy visualizer, it's all still iTunes.

The Podcasts/TV/Books apps that got split out OTOH I believe are all iOS ports
A perennial idea, going back to the aborted European Defence Community (EDC) of 1952. The EDC was supposed to be a military counterpart to the EEC (European Economic Community, which would go on to evolve into the EU). It was seen as necessary to rearm West Germany to defend against the threat of Soviet invasion, but the defeat of Nazi Germany was only seven years earlier, and many were afraid of what would happen if a rearmed West Germany experienced a resurgence of Nazism. The proposed solution was that West German troops would be part of a European army, the command of which would be dominated by France. The whole plan failed when the French Parliament refused to ratify the treaty, believing that it ceded too much sovereignty to an international body. In the end, it was decided to let the West Germans control their own army instead. The feared Nazi comeback never happened.
Fractional reserve is what makes possible for banks to lend (part of) the money that clients deposit. In a full reserve system every single dollar in client deposits would be kept in the vaults and the banks could lend only their own capital.
The bit about “so” seems wrong. You said

> it should really not be a requirement, and work should be structured in such a way as to not penalize people who are remote: around written communication, with infrequent teleconferencing

which is reasonably summarized as

> all employers should reorganize to meet your preferences to be left alone
Given how much we waste, I wonder if it would really affect prices much. Also, you can regenerate land with permaculture, but trying to do permaculture at scale or with automation would be pretty challenging.
I wonder how the numbers will shake out for the McKesson Corporation move from San Francisco to Irving, Texas.
> Ex-USSR fiefdoms, Russia included, are ran by very simple people, without any geopolitical ambitions.

Which is in stark contradiction to the sophisticated goals of the West to control as much of the world's market as possible in order for mega multinationals to be able to exploit cheap labor and maintain their insane margins, so that they're able to pay their executives an ex-politicians millions of dollars per year.

Very unlike the goals of Russian oligarchs indeed and much more sophisticated.
This is right: they and the rest of the FAANGs pay based on the local market.

On the other hand this means areas with lower costs of living but strong tech job markets can be a very good deal: Pittsburg is one people often bring up.

Boston isn't as cheap as Pittsburg, but it's far cheaper than the Bay Area with pay that's nearly as high. I'm very happy here.
The Cost of Free: Casper Pays a Price for Generous Mattress Returns
Have you tried RubyMine from Jetbrains? It's the best dev environment I know for ruby.

https://www.jetbrains.com/ruby/
Can someone please explain the argument in easier terms?

I am stuck here itself:

>> Then from the law of motion of the star we can derive an equation:
>> u=f(t-t0)

The function 'f' is not specified. What is it and how is it derived from the laws of motion?

Also, what really is tau-0? It is the time at which light from a stationary star at the same distance would have reached the observer, or alternatively is the time under Lorentz/Einstein's theory. However, what meaning is that holding in the said argument.
>Like Trump said in 2016, it's time to turn our resources back home. Rebuild our own infrastructure, social programs, etc.

Like a lot of Trump's rhetoric, this sounds nice, but the proof is in the pudding. I don't think we were spending infrastructure and social welfare resources on our military to begin with, so not doing so doesn't necessarily free up resources. The US is fully capable of doing all of these things, it's not short on resources.

Also, it's now 2020, and Trump is toying with war in Iran, moving new troops into Iraq, increasing military expenditure by billions of dollars, repealing and cutting funding for social programs and AFAIK not actually rebuilding our infrastructure at all in any significant way.
Disclosure: dynamic typer here.

The way I understand it, a part of the issue is about possibly deferring the time at which the type of data is known to the time at which the data is operated upon, since calling a numeric addition function on not-numbers, e.g. strings, is a type violation, no matter which programming language you are writing in. The question is where you want your parsing-or-validating to occur, since this decision makes piece of the software either more tightly coupled or more heterogenous in which kinds of data they accept. The author makes and proves a claim that this decision, which is naturally postponable in JS due to its highly dynamic and schemaless-by-default object nature, is similarly postponable in Haskell.

The other part about ignoring unknown keywords is very simple and understandable to me - you can indeed allow a statically typed program to ignore unknown schema keywords as you can allow a dynamically typed one to error on them.
What’s your nationality?
But Scala still differentiates between `def shouldBePure: Foo` and `def probablyHasSideEffects(): Bar`.
In my opinion, this is only likely to happen if there is a concrete, immediate and easy to grasp threat to Europe, like Russian or Turkish troops crossing the border. An abstract threat is not enough to overcome the strong nationalistic tendencies in Europe. A historic example of this is the Mongol invasion in the 13th century [0]:

> Warring European princes realized they had to cooperate in the face of a Mongol invasion, so local wars and conflicts were suspended in parts of central Europe, only to be resumed after the Mongols had withdrawn.

[0] https://en.wikipedia.org/wiki/Mongol_invasion_of_Europe#Euro...
I've programmed for a very long time, and I've rather incidentally taught and tutored programmers at many levels of ability over the years including some friends that were trying to learn LISP. I see very little benefit in teaching elementary school kids to program in LISP.

My daughter took her first programming course in college and used the excellent book (HTDP), see [1], intended for beginners that used Racket as the programming language. By the end of the semester she was able to make a simple graphical game. I thought the course was very good and she liked it and still has a fondness for Racket although I believe that she has only used Java, C++, and Python since that class (she is now a CS major).

Learning Racket (which is Scheme and very closely related to LISP) worked out well for my daughter, so why would I say that LISP in elementary school isn't a good choice? Several reasons:

• Lisp isn't a popular language, ranking 28th on the TIOBE list of programming languages so there is far less opportunities to make use of programming ability in LISP than in other languages.

• Lisp isn't easy. The Common Lisp Standard is well over 1000 pages long. It lists over 1000 functions. Take a look at the basic iteration constructs, the most general is LOOP and has a whole chapter, see [2], in Peter Seibel's excellent Practical Common Lisp, but even the simpler DO construct is no cake walk[3].

• Recursion for elementary students... LOL

• Smart people have tried introducing LISP based programming to youngsters already and it didn't seem to take off. See Papert's LOGO language from the 80's. I've actually written some programs in it, but I don't remember where I got to use the language. (Perhaps it ran on the PLATO system?). I agree with a number of his insights[4].

Elementary school children don't understand functions and they really don't even understand basic math. The problem with LISP is that while it has an abstract simplicity that I find appealing and really quite beautiful, it's abstract nature is going to make it difficult for children. Less abstract systems like ALICE or SCRATCH seem a better fit if we insist on teaching kids to code.

I personally don't see the need to teach kids to code. Why not teach them math first. Why would programming come before understanding how to divide fractions or how polynomials work or what simple logical operations mean?

[1] https://en.wikipedia.org/wiki/How_to_Design_Programs

[2] http://www.gigamonkeys.com/book/loop-for-black-belts.html

[3] http://www.lispworks.com/documentation/HyperSpec/Body/m_do_d...

[4] https://docs.google.com/viewer?a=v&pid=sites&srcid=ZGVmYXVsd...
Boeing's safety vs. cost-control culture may be what sent out fatal aircraft
Brings back memories of U.S. soldiers being handed books about Arabs that were clearly orientalist and did not at all contribute to a real, unbiased understanding of Iraq, their culture etc.
I don't drink, but it is very, very inconvenient if your activities are constrained by the train timetable. Much better to have a car available and be able to travel when you want to.

Of course sometimes you dont want to travel late or at weekends