skysight-inc/HackerNews huggingface dataset:
I was able to code like next

// merge update into immutable (each mutation gives new handle)

private void MergeIntoImmutableThreadAffinedObject(Updates.ICase update)

{

switch (update)
{
case ICase<ImmutableTimeSeriesFilesDatabase> c:
_updater.Update(x => x.Set(RefCountedHandle, c.Value));
return;

case ICase<ImmutableObjectDatabase> m:
_updater.Update(x => x.Set(Configuration, m.Value));
return;

case ICase<ITimeSeriesFilterSort> f:
_updater.Update(x => x.Set(SearchFilterSort, f.Value));
return;

case ICase<IApplicationFilters> a:
_updater.Update(x => x.Set(ApplicationFilters, a.Value));
return;

default: throw new NotSupportedException();
}
}
}
You can't IMO. We have eventual consistency by all writes being commands that can be picked up by services listening to a Kafka queue but this represents LOADS of extra investment and work above building a monolith.
Just get them working on some mess of a WordPress project and you'll get them all reaching for xdebug right quick :D
> It is a really nice language based off of all the tutorials and presentations I've watched. It just needs some better performance before I'll really start using it

I'm also very impressed in how the language is turning out. It's a pleasure to write and read. I know most people really don't like Unicode operators, but I find them to be very useful. They're short and concise, and allow those writing mathematical equations to stick to their regular symbols. And for those that don't know how to do Unicode on their OS/editor, there's ASCII equivalents.

Performance-wise, it seems to be fast enough for all my personal projects, and it's getting faster every release. Is there a certain piece of code that you want to have running within a certain amount of time? That would allow you (and Perl 6 devs) to have a goal to look at, and work towards.
SiFive's cores are Rocket, which is open source. lowRISC is based on Rocket too. SiFive include proprietary IP for DDR4, ethernet PHY and other things, although I'm pretty sure they'd jump at the chance to replace those bits with open source equivalents if they existed.

As for your claim "I don't think most RISC-V cores are open source" it depends how you define "most", but it's a complicated picture. There are competitive open source cores (Rocket for in-order, BOOM for OoO, Pulpino, PicoRV32).

There are also several completely proprietary designs, as there should be, such as Western Digital's two different 32 bit RV32 core designs which we expect will ship a billion units next year.
Is Perl 6 fast now?
Note that they're switching from MSVC to clang-cl.

Since the headline doesn't mention MSVC, this could be interpreted as relevant to the old GCC vs. Clang issue, but it really isn't in this case.
Woah woah woah, I can see hipsterism being applied to most in that list, but the IBM keyboards do not apply IMO.

Anecdote: Most hipsters I know give me guff about using mine, and extol the virtues of the ergonomic rubber dome or "fancy" Corsair rgb.

Not judging their choice of kb, only pointing out nobody has said "wow your 1987 beige boat anchor is so cool I'm going to get one"
Badgen: Fast badge generating service
As I said, it's pretty well known that Auschwitz and the other camps like it were extermination camps, not (merely) concentration camps. I mean, I'd count myself a member of the "public at large" in this context (I'm certainly no expert on the Holocaust or the surrounding history), and yet I still know what the correct term is. Anyone who has so much as looked at the Wikipedia article for Auschwitz or one of the other camps will know the correct term.
Children and fools always speak the truth.
The crypto-currencies that die before they have bloomed
I did specify it "long term survival purposes".

Maybe I should have been more specific. In a environment where survival is uncertain survival values and system that maximizes survival is the best. Innovation and individuality succeed in a systems where basics are covered and system can be trusted to work.

Example of wrong system: preppers with single family bunkers loaded with weapons and food. If the society collapses the best way to guarantee your survival is to join into tight group with shared values who take care of their own (like Amish). in Mad Max situations conservative evangelical communities with medieval values would wipe the floor with roaming biker gangs.
it’s pretty easy to disable the fallback
> If you're not willing to back up such a statement like that with any kind of reasoning and state so explicitly...

This is unwarranted. GP's comment was vague, but no vaguer than the one they were replying to - both offered subjective personal opinions about the topic of the article. That's hardly out of line for a discussion forum.
This could be huge, especially for self-driving cars where people will want to do something useful while driving!
Building Better Manufacturing with Blockchain
> I upgraded a whole java shop to java8 and it was not a fun experience having two JVMs on the same machine and all the different tools thought they knew which one was the correct one but none of them agreed (it wasn't as simple as setting JAVA_HOME).

I agree that having two JVMs on the same machine without something like docker can be problematic, but in my experience there's no need to ever do that - the backwards compatibility is good enough that you can just replace the old JVM with the new one.

I mean, if you're worrying about this kind of thing shouldn't you also worry about whether apps are built against older versions of docker? How easy is it to have two different versions of docker on the same machine and make sure that docker upgrades don't impact other apps running on those machines?
This solution seems comparable to running Envoy Proxy as a reverse / frontend proxy with a JWT filter. Would you say that's a fair comparison? What would you say are the benefits of using this over such an Envoy setup with Envoy becoming so popular?

Super excited to see more players move in this space btw!
Ask an adult? Are you usually treated as nonwhite by strangers?
Ask HN: What are your favorite cli/unix tool?
I use some cli/unix tools in my day to day business and by looking into various awesome list, i know there are a ton of probably useful tools. I've used:

* fzf -- fuzzy finding anything
* tmux -- when working over ssh*
* fasd -- to get into my last used directories
* ag -- for searching through files
* dmenu -- for various selection tasks and starting of small scripts
* jq -- json search tool

But what are tools you like/love to use.
We do use inverted opening marks, but I've never seen mismatched opening and closing marks (until your comment!). Not sure if that's what you were asking, though.
Zero Equals False is coming to San Francisco- where do we drink?
Google - google analytics vs piwik , hit the first result and you will realize matomo is nothing like analytics
I have in the past, but not written it down. My criterion was:

- FOSS (totally indispensable)

- Offline (totally indispensable, data you put on others' servers is not yours anymore)

- Can be used from the CLI as well as some interface

- Can be synced to Android

With this, you have 2 options: pass, or keepass. The latter is a bit confusing, w/ many apps around one format and it's hard to know which one to use. Also the file format is proprietary, which means it's harder to use from scripts.

pass on the other hand uses the filesystem, gpg and git, which are tools I always have around and know how to use. It's totally FOSS and totally local (Keepass is like this too), it's version controlled by default, can use it on android w/ Password Manager and OpenPGP apps (available from both the play store as well as FDroid), and it's easy to script (I've written my own Emacs fronted in no time), and while there are many third party frontend apps, there is one program that's blessed by the community as the default one, which is the pass(1) cli.

One criticism on pass is that it leaks metadata because the file names usually contain the website domains. I think that's a non issue because usernames and websites are already known by many other parties (the website itself, and millions of people if it's sth like a social network), and we should not rely on hiding public information for security. Use long passwords and 2FA where available. But encrypting your hard drive would be more secure in the first place anyways.

edit: formatting
Cloud Performance Monitoring vs. APM
>No, we didn't. Global production (and consumption) has close to doubled since 1970.

Doubled is not that much to cover.

Besides did it double because of increased demand (more population, more developing nations, etc) and efficiencies in drilling (e.g. fracking or how it's called), or because of "modern computing"?
I know of one issue with Firefox when you are using a scaled resolution. It absolutely destroys battery and performance for me. I _think_ it has gotten better with the latest versions but the tickets are still open.

https://bugzilla.mozilla.org/show_bug.cgi?format=default&id=...

https://bugzilla.mozilla.org/show_bug.cgi?id=1407536

https://news.ycombinator.com/item?id=17365510
What's the point of posting a Medium members-only article? No thanks.
Mozart on how to unlock your inner creative genius
only two webrender about:config entries are true

I'll see how it goes with the normal release
thinkpad, old i5, archlinux
I have not used envoy extensively yet, but there are obviously many more options such as Apache2 + mod_oidc, Kong + oauth2 plugin, and so on.

The main differentiator is that Oathkeeper is capable of performing more sophisticated permission checks (think RBAC / AWS IAM Policies) and is specifically geared towards solving authentication and authorization in front of "your" service.

Most other implementations I saw (and I think this also goes a bit for envoy) is that they solve access control as one of the things in the feature set, while also focusing strongly on routing, load balancing, and other typical API gateway issues.

We're explicitly not trying to build another API gateway but instead something that you deploy alongside your existing API gateway (or maybe as a sidecar) with the sole purpose of checking answering: "is the request that's coming through really allowed to perform that action?".

Hope this clarifies it, if not I'm more than happy to go into more detail :)
In Australia its all over all formula products that breastfeeding is better.
Daily Art Market Intakes by Feral Horses
ARM are not worried that RISC-V will replace Cortex-A72. They license far more (by quantity and value) of the tiny Cortex-M embedded cores, and RISC-V can already replace just about every use of Cortex-M. The foolishness of this website was ARM telling everyone that RISC-V is a viable alternative. It could only have been worse if they'd provided a link to https://github.com/freechipsproject/rocket-chip
I’m of libertarian persuasion but it has to be noted that periods of human history where one faction was souvereign over it’s dominion, were generally more peaceful and conducive to trade and human cooperation.

Empirialism, dispite all of it’s atrocities, have resulted in more stable and peaceful periods during which cultural and technological progress is made.

Personally, I believe it might be better to have a single source of coercion, which is transparent and democratically scrutinized, than to have those dispersed in order to diffuse influence. Many nowadays will argue for more distributed government, taking hints from the apparent successes of “coopetition” in the marketplace. But that space was carefully constructed over millenia of trail and error by governing bureaucracies. It works well because there’s a leviathan that took away every individual’s opportunity for coercive action AND instituted a justice system to distribute justice in a controlled fashion. It also enforces property rights so you don’t end up with robberies out of spite. Without it you get people distributing justice among themselves, resulting in bloody family feuds and cycles of revenge killings.

I feel people arguing for anarchism (and I like anarchism in theory) typically do not seem to appreciate just how violent most of human history has been before highly centralized state and justice systems.
Yeah? I didn't get rid of throb2()'s virtual, because it actually had a good reason to be virtual. But I very much got rid of throb1()'s virtual because it didn't need to be virtual, and that was the point. It's to be expected that if you add extra constraints in the problem, you are likely to end up with extra constraints in the solution. I was just presenting an approach that let you limit virtuality (word?) to where it's actually needed, meaning that what you gained here was not having to pay costs you clearly didn't need. It's obviously not a magic pill to remove every virtual, which I would have hoped was pretty clear. It's your job to extend the approach to fit the precise constraints you're dealing with, whether it's adding pimpl or keeping a virtual or whatever. And remember you can always avoid this approach if you think it's too ugly in this scenario or have whatever complaints. You can still use it when you don't have extra constraints. Nobody's forcing you to pick a side. Just use the best approach for the problem at hand.
NET Core July 2018 Update
As a doctor (not a raiologist), I believe your example shows the opposite, that is, it shows how hard it will be to automate radiology.

Radiology requires a "theory of the body", so to speak. You can't just look at the image in isolation. You often need detailed knowledge of the patient's clinical situation, and some actual reasoning. My guess is that that's why the surgeons got it right in this case (they are more familiar with the complaints of the patient and with the "live" anatomy of that region).

This doesn't mean that radiology can't be automated. It just means that to be a good radiologist, you might need to be a general artificial intelligence, capable of graduating from medical school.

This is different from something like classifying moles into benign, malign and high risk. That's something that can be determined from the pixels of a picture (even by human dermatologists, through experience or by following certain simple algorithms), and has no relationship to the rest of the patient. This means that automating mole classification is kinda like automating chess. Automating radiology looks more like automating the command chain for WW2.

On the other hand, pathology (looking at tissue samples through the microscope) seems much easier to automate. It relies heavily on pattern recognition and IMO (I'm not a pathologist either, although I've spent time in a pathology lab) it's less dependent on the clinical data of the patient. It's almost as if the doctor were looking at the image and nothing else, and the kinds of pattern doctors are something that might be automated. This is of course a simplification, and sometimes clinical judgement is important even in pathology.

None of this means that medicine can't be automated. I'm just trying to convey some of the difficulties you might have in automating radiology, as opposed to other areas of medicine.

And in any case, my criterion for difficulty of automating is "does it seem to require a general artificial intelligence or not?". If you have a general artificial intelligence completely indistinguishable from a human, then all bets are off.
How electricity is trasported? Are you serious? Just because you don't hear about electric grid research and innovation doesn't mean it doesn't happen. In fact the reason you dont hear about it is mostly because of how well it just -works-

The electricity generated is mentioned in the report but is not really the concern of the Department for Transport. Nonetheless, The UK isn't exactly a huge offender when it comes to renewable energy, with some of the best tidal energy in the world, and very high amounts of wind. Even the baseline power stations are slowly becoming nuclear - it's not a process that happens overnight and it's been happening for many years now.

Comparing the statistics from 10 years ago and now shows that we are making remarkable steady progress, and in 20 more years I expect that we will be getting close to 100% renewables
Omg it's just too funny because it's so irrelevant to the main story and yet you're absolutely right.

Even after the poor sod fought so hard to win the techie version of the Darwin award, he still could have made it to safety. If only he stopped for a moment to think about what he did wrong and learned from his mistakes.

It's like watching a movie with a horrible plot.
Not in its native language it doesn't.

* https://en.wiktionary.org/wiki/canal#Portuguese
starters - people you hire to act as programmers because you need headcount.

finishers - actual programmers.

guards - programmers that you should pay really well but you don't because you have a non-technical project manager and you think it's the same.
The Convergence of IoT,Bigdata,Analytics,is Revolutionizing Todays Energy System
Are you replying to the correct comment? Not once did I even mention macros or the preprocessor.
Some sysctls are ignored on boot (12 Years old Bug)
You're suggesting I don't have adult intellectual capacity, right? If it's an easy question, could you just answer it? I'm not sure what "treated as nonwhite" would entail.
Apple car engineer arrested after buying “last minute ticket” to China
In the german language there are the two words Neid and Missgunst.

Both could be translated as enviousness but have a slightly different meanings. While Missgunst is definitely negative and maybe even destructive, Neid does not need to be negative and can have the meaning like in the example you gave.
After Tesla deal, Shanghai to speed up cancellation of foreign ownership limits
1) who is getting 6% annual return on small amounts of money and where?
2) casually investing half of your salary before tax. That works out to around 65% of your money after tax if we're being conservative. If you were able to do that, I say spend that 65% of income that is just free income presumably if it's not going to rent or food. 45 years of massively more comfortable during the prime of your health and brain function is probably worth it over eventually being very rich in your later years
That is not a reliable excuse.

700 boxes are "lost": https://en.wikipedia.org/wiki/Apollo_11_missing_tapes#Search...

Other remaining copies are missing. The people involved on the mission cannot fathom themselves that the tapes were overwritten/reused, reason why these same space engineers organized the search themselves.

It is more likely the tapes are archived somewhere out of public reach. Or worse, are today part of a private museum for some rich elite.
Neoconservativism places a lot of importance in the free market, I don’t see how contracts that prevent people from seeking work could be labeled as neoconservative policy.
It shouldn't be hard to make a quick mock-up of the idea and test it.

Just get round classes and put plastic tube filled with colored liquid around the rims.
Ecommerce Shipping in India
I tend to find that the amount of time/effort required on debugging is inversely proportional to good practices.

If everything is heavily design by contract, code is clean, there are lots of tests, everything it tdd'd then most bugs are almost always shallow and surfaced quickly. Good debugging skills and tools aren't so useful in this environment.

By contrast, if the code base is a mess and there are no tests I seem to spend about 60% of my time ascertaining the cause of unexpected behavior. Good debugging skills and tools are invaluable in this environment.
ies indeed vuhai can’t vee just use tvoo gliphs

Is a much more readable example I think.
Doing bad science is an issue that all scientific fields need to be vigilant about (e.g. the "replication crisis" in psychology). It is particularly relevant to machine learning at this point in time as i) the field is growing extremely rapidly and ii) there is lots of $s on the table for those who achieve commercialisable results. So the incentives to do bad science are increasing while the checks against are weakening. These forces are not at play in, say, theoretical CS.
post a

curl -v cht.sh

?
Why It’s Hard to Recognize a Black Hole
> lava flow is a problem in which computer code written under sub-optimal conditions is put into production and added to while still in a developmental state.

I don't know what you're referring to as the "suboptimal code" here. If it's the old pattern using virtual everywhere, then the ship's already sailed... that code is already in production. If you mean the two-file approach I proposed then that makes no sense; if it's worse than the last approach then why would you even use it.
I was under the impression hardware (specially at the PCB level) is not really the most interesting part of a self-driving car. Sensors and the software that integrates data and makes decisions is.
What makes you think the problems of immigration are not just Trumped up (heh) to distract from the much bigger problem that is the very hierarchy and filthy-rich class (that your president represents) of people that has steadily been fucking over the lower- and middle class, and reduced much of your country to a pretty shit place for the latter compared to more socialism-inspired countries?

Scapegoating is an age-old tactic used by the powerful and there's tons of evidence that inequality on the level seen in the US is not a good thing. On the other hand, the evidence that immigration is terrible and that stronger elements of socialism (at least Europe-style) don't work is quite lacking.

I'm not saying we should go for full on state socialism USSR-style, but there's a lot in between.
Ancient bones reveal two whale species lost from the Mediterranean Sea
Is the dropdown at https://cht.sh/ a little sluggish in chrome for everybody?
if you take Michael Feather's definition of legacy code as "code without tests", it's probably the case that someone in your org is producing some new legacy code this week ;)

on the other hand, sometimes in a startup-ish scenario it is optimal from a business perspective to bash out code to add features to drive revenue and worry about tech debt for the far future hypothetical scenario of the startup turning into a profitable business that can pay to bring people in to rewrite everything.

that is, optimal in the sense of the alternative being slowly writing very well thought out and engineered code and running out of money before having enough customers to justify a longer-term engineering focus
I didn't realize that the CSIRO had its own 2LD within the .au TLD, that's neat.

https://www.domainregistration.com.au/news/2014/1404-au-doma...
America has not "led the way" of Western civilisation. It presides America by a couple of millennia, and has been developed much further, subtler, and deeper as a civilisation in Europe (where all of its traditions, and thinkers, and laws originated).

America for example invented neither the scientific process, nor the enlightenment, nor democracy, nor philosophy, and so on. Even the legal system is based on ole Roman traditions.

If you mean it's more prosperous, then yes. Though places like the nordic countries and Switzerland would beg to differ, at least on average.

And what America did offer wasn't because of "hierarchies". If anything America offered individualism, and being more independent. And it was way more egalitarian before inequality rose after the 80s.
Not very respectful of https://github.com/chrisallenlane/cheat to use the same name.

The original cheat does exactly the same thing, has a big following and more stars, and has existed for years.

I've opened an issue re: the name conflict https://github.com/chubin/cheat.sh/issues/34

Afaik these are the big players in the space:
- bro: https://github.com/hubsmoke/bro
- tldr: https://github.com/tldr-pages/tldr
- cheat: https://github.com/chrisallenlane/cheat
It's not just the title. Time of submission affects which parts of the world will be seeing the submission.

Also, randomness.