skysight-inc/HackerNews huggingface dataset:
Some resources for those who aren't too active in keeping up with C++, these slides are a good quick summary[0]. The talks linked on this page[1] are particularly good, especially the CppCon16 Gor Nishanov talk[2]. Paulo[3] has some interesting things to say (though I think some semantics may have changed since, so grain of salt and all).

[0] https://www.slideshare.net/SergeyPlatonov/gor-nishanov-c-cor... Interesting to note, slide #11 uses a tokenizer to demonstrate the usefulness of coroutines. IIRC, Rob Pike used a very similar (maybe his was a lexer/parser?) example in '14 re: Go.

[1] http://luncliff.postach.io/post/exploring-msvc-coroutine

[2] https://channel9.msdn.com/events/CPP/CppCon-2016/CppCon-2016...

[3]https://paoloseverini.wordpress.com/2015/03/06/stackless-cor...

--

Side-note : Love it or hate it, the C++ community is certainly moving at a vibrant pace. I don't write production C++ code anymore (and haven't for a long time) but I still go out of my way to watch the CppCon talks. IMO, they consistently produce best quality talks just because you have so many excellent programmers from various industries using select subsets of C++ in all sorts of different ways. The people writing games are focused on making sure they're portable 'enough' to hit all the major platforms, without getting too tied to platform-specific low-level calls, while retaining the necessary performance to get satisfactory models/meshes/lighting/collision detection/raytracing/dozens-of-other-things completed within that tiny 16.33 millisecond gap to complete the framebuffer and swap in the next frame. The academics who are doing vast numerical computations will be talking about their new MPI utilizations (and undoubtedly, next years talk will be re: a boatload of RDMA/NUMA optimizations). People complain that C++ is a mishmash of too many concepts (pun not intended). I.e., you can write it in the "C with Objects" style, or the "I use TMP so much my code is basically Haskell", and anywhere in between - but it's that heterogeneity that ends up yielding such high caliber talks.
Mark Zuckerberg’s Great American Road Trip
I didn't say it hasn't been won before, only that it doesn't matter whether or not it has.

Anyway, what leads me to view the matter differently is that I do not simply look to the past to inform me of what will be effective tomorrow. I also look to the potential that flourishes in microcosms of today. And to the increasing efficacy of our culture's ability to promote and propagate the valuable ideas of individuals and small groups. How we communicate today distinctly different than in the past, and it opens some doors in a big way. And it is far too soon to say whether this is a good or bad thing, so we may as well do what we can to ensure it is a good thing.

You might believe war doesn't ever change, but it can change quite quickly when a new weapon is developed. More importantly, even if the victory is temporary, the results of a temporary enlightenment can guide the development of society for ages after the war has been lost. Greek democracy failed, but still lessons where learned. Enlightenments wane, but the world is a brighter place even so.
This isn't too far away from "Powershell on the JVM," which is not a bad thing.

ls.rec! cwd |? (_.ext == "class") |? (_.size > 1024) | (_.last) | println

Compare to (I think this is roughly equivalent Powershell)

ls -rec |? {$_.Extension -eq ".dll"} |? {$_.Length -gt 1024}
> I will never tell me enemies to "get out" or label them with a word to shame them.

LOL and yet you called me a white knight literally one minute after you posted this comment. https://news.ycombinator.com/item?id=14422213

Stew in your misogyny and hypocrisy elsewhere so we don't have to deal with you here kthx.
At the moment, they are still listed as a WIP[0], but the commit history shows a lot of effort done recently[1] (Ctrl-F "coroutine")

[0]: https://clang.llvm.org/cxx_status.html#ts
[1]: http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-2017...
> Only bad actors will disobey and they will have to modify their software in order to do so.

I have an hourly bup backup for each of my servers, that goes to a backup host. I am not a bad actor, have not modified any software, and yet if I run an activityhub server I will have a complete timeline at 1hr granularity, so basically anything not deleted within minutes of posting.

(Considering a switch to borg backup when I have the time to really evaluate it)
After googling for acronyms, my best guess is "EUC" = "End User Computing"?

I wish people on HN would use less unexplained acronyms.
The new African tribe that is taking fashion to a whole new level
The whole part of business is "you made money through exploiting their otherwise personal information" ?

Interesting... it's like when you sign up for those discount cards at stores, do I see some law somewhere that says "By the way we collect and sell your data for money which can potentially be used against you in the future to deny you health care..." I don't know... out of my field here... but. Interesting, probably worrying about nothing as usual.

Like worrying about modifying the icons of big social media sites... what blog/website doesn't create their own version/theme of those buttons...

Yeah I'm not clear on that definition of business, if your site has ads, it's meant for the Philippines, and a person in the EU visited your site, and you made money from those ads... is it my fault? Doesn't Google Adsense have to know the content of my site and the visitor to serve ads... Ahhhh
https://gettingreal.io/why-do-i-fantasize-about-quitting-my-...
> 2. The only major application of that language... a pre-alpha browser engine, which may or may not eventually replace the engine in a browser that is seriously declining in market share with no reversal in sight.

You may be interested in https://www.rust-lang.org/en-US/friends.html.
You're right, bevel is like a bevel gear, angled not "indent" or "padding"
Thanks for the complement! :)

Agree that the numbers aren't currently usable, but in terms of future visibility, another Reddit admin said the number would be "open to everyone"? https://www.reddit.com/r/programming/comments/6da6n9/view_co...
Rough words, but yeah, definitely better to cry in rolls royce that hunting food stamps in a corolla
Schiaparelli landing investigation completed
I'm curious.. why are you calculating gradients and implementing these models from scratch? There are a decent amount of libraries that do these things for you.
If you're in to that sort of thing, you probably already know of a game called Exquisite Corpse,[1] and maybe a group called Oulipo.[2] If not, check them out.

They both predate the Internet and personal computers, but are still very interesting, creative, and inspiring.

[1] - https://en.wikipedia.org/wiki/Exquisite_corpse

[2] - https://en.wikipedia.org/wiki/Oulipo
> People complain that C++ is a mishmash of too many concepts [...] but it's that heterogeneity that ends up yielding such high caliber talks.

I agree. Scala gets the same kind of criticism, but just like with C++, you can easily limit Scala to whatever subset suits you (e.g., pure OOP or pure FP). C++ and Scala are among my favorite languages to work with, so I might be slightly biased :P
Modern C++ can be very pythonic. Still not as easy as writing Java in IntelliJ but CLion is becoming quite good (if you succumb to CMake). People write shit code in every language; C++ has my favorite abstraction to performance ratio.

http://preshing.com/20141202/cpp-has-become-more-pythonic
Hi all, author here.

Several people have raised questions about SIMD. For many workloads, SIMD is obviously a huge win. But in my experience, for problems like this, the gains are marginal and the additional complexity often isn't worth it. e.g. Do you have a build-time option? Check at runtime at every call? Use templates to check at startup and run a different code path?

That said, it never hurts to try, so I implemented the fast string path in AVX2 (see https://github.com/chadaustin/sajson/commit/e87da27883ffe0a3...). It actually benchmarks slower than the scalar code: https://gist.github.com/chadaustin/6fe8d250ac8402ad70a724e7a...

I couldn't tell you why - it's possible something could be tweaked to make it actually execute faster, or that enabling -mavx2 causes other code to get slower, but I wanted to illustrate that enabling SIMD is not always an automatic go fast button.

I did look at the instructions generated and they seem reasonable:

.LBB5_118:
vmovdqu	ymm5, ymmword ptr [rbx - 32]
vpcmpgtb	ymm6, ymm5, ymm0
vpcmpeqb	ymm7, ymm5, ymm1
vpcmpeqb	ymm8, ymm5, ymm2
vpcmpeqb	ymm5, ymm5, ymm3
vpxor	ymm5, ymm5, ymm4
vpor	ymm6, ymm8, ymm6
vpor	ymm5, ymm5, ymm6
vpor	ymm5, ymm5, ymm7
vpmovmskb	esi, ymm5
test	esi, esi
jne	.LBB5_148
mov	rbp, rax
sub	rbp, rbx
mov	rsi, rbx
lea	rbx, [rbx + 32]
cmp	rbp, 31
jg	.LBB5_118
jmp	.LBB5_120

.LBB5_148:
add	rbx, -32
bsr	eax, esi
xor	eax, 31
lea	rsi, [rbx + rax]
mov	bl, byte ptr [rbx + rax]
.LBB5_125:
mov	r10, qword ptr [rsp + 24] # 8-byte Reload
mov	r9b, byte ptr [rsp + 39] # 1-byte Reload
sub	rcx, r8
movzx	eax, bl
cmp	eax, 34
jne	.LBB5_127

I suppose it's also worth pointing out that, while string scanning is an important part of JSON parsing, the instruction histogram is generally spread across the entire parser. That is, a doubling in string parsing performance would only help overall parse times by 10-20% maybe.

Edit: Upon thinking about it, it's probably slower because there's a dependency chain through a pile of high-latency vector instructions all the way to the bsr (should be bsf, I fixed on the branch) to the next loop iteration's load. The branch predictor doesn't have much opportunity to help us out here. You could look at Agner Fog's tables and calculate the critical path latency of this loop, but I'm guessing it's not pretty.
Yup! That's the plan, just won't be available for now.
Conversely, an engineer with 15-20 year's experience may have - and want - a life outside work. And be very happy to trade-off an exciting project for one that allows them to work without using all their mental energy. Because right now there's enough other challenges in life.
Respo: a virtual DOM library in ClojureScript
Do you have somewhere we can sign up to be notified when the book comes out?
https://github.com/thinktopic/cortex
Not bad, but it is just one scheme among hundreds (Cyprus, anyone?), tailored for any arrangement. We Russians just love evading the government (any of them) — 70 years of USSR taught us the necessity and the skills required.
Ok, we've changed the baity title to representative language from the article, in accordance with https://news.ycombinator.com/newsguidelines.html.

All: let's please have a more substantive discussion now. It's amazing how sensitive these threads are to hot coals in the title.
4,500 years
No, he expects them to comment on HN - a proper, respectable website - unlike that Facebook thing the plebs seem so interested in. /s
Does that mean it's acceptable?
I think Stan uses sampling-based Monte Carlo, whereas PSI is based on static program analysis.
I have not been a founder of any company so I can't comment on that part. But I can strongly related to this part - "what it would be like to work at Wal Mart, or the construction site outside, or as a bagger at a grocery store"

I am a passionate web developer but a few months ago, I had these exact same thoughts mainly about switching to a low stress job. Later I realised that I needed a break badly and the monotonousness of work ( building some kind of CRUD all day ) for me personally was making my life severely discomforting. So I left the job against everyone's advice and for the next few months I had terrible arguments with my family about this decision. But I was at peace the moment after I left the job and I think it was the right decision, even though my family wants me to regret it.

It's not that you hate what you do, but you definitely need a break and not just like a vacation, but actual handing over of responsibilities to someone else. After a few months, I felt like being back into the business and the optimism for work was back.

So this is probably against what everyone else is advising here but if you don't like it, leave it. Your wife should understand this too, if this is so important to you that it makes you cry. And definitely take up a stress free job for a change. It should help.

As far as leaving the company goes, you might find someone in ranks just below you who could be able enough to take over most aspects of your position.

Let me know, if you think this is a completely wrong advice.
It's a discussion, not an argument. Why would you marry someone if you couldn't talk to them about decisions like this? The whole damn point of a life partner is to have someone you can figure out life with.
Mozilla lost the mobile OS war unfortunately if that what's inspiring you.

What's next isn't clear to me
If it takes you years to build trust, maybe you're just not very good at your job. Why should the business take the risk - for years - that you might be trustworthy?
Link [0] is broken. It's missing 'abstraction' at the end.
Object-Oriented Java Primitives, 0.1 released
5 minutes writing code is better than 5 hours reading blogs about the language
Difference Between Arduino and Raspberry Pi Kits
Given a shortage of supply for a job, firing early might not be a good idea. It takes months or even years to find an appropriate good fit for a job.

Sometimes it's easier to just give the person another chance, than to fire him and have no one to do the work.
> Depressed people need to make changes to their lives. You can't do that when you have someone being your crutch.

You also can't do that without a great support network. That piece is critical in the path to recovery, and you should not so arbitrarily dismiss the possibility that to many people, family (spouse, parents, even children) is that support network.
What you're really saying is that people should not have opinions or views on things, instead they should have their opinions handed down and dictated to them from on high, by people of a particular social institution (which, as luck would have it, is both almost entirely dominated by people on one side of the cultural/political divide, and also whose value system conflicts with the views expressed by the parent to my post). Even if the product of science really was objective truth (which is quite difficult to argue, especially for the field of psychology) and its interpretations and conclusions from the collected data were not subjective, you have it completely backwards. Do you think scientists don't hold opinions until someone publishes a paper whose conclusion tells them what to believe? Do you think they believe the conclusions of papers are never contested? It's wrong to think that people should not have opinions until science tells them to, people have opinions and then scientists wonder whether they are true.

But the product of science isn't objective truth, they are never in a position to dictate to you on high what is objectively true and what isn't, because the conclusions they reach are not objective. The data they collect is arguably objective, but then it is subject to interpretation and integration into man-made ideological and theoretical frameworks, and that process and its product are not objective. That's not to say that the product of science is meaningless, or that any random theory someone comes up with is equal in value to whatever theory is popular among scientists. It certainly becomes difficult to argue against technological progress and experimental evidence, so if someone says something blatantly false then it is these products of science that make it easy for you to disprove their claims.

For example, if someone were to say that they don't believe in Einstein's theory of relativity, then you could show them experimental data of the positions of stars when their line of sight to an observer crosses right next to the sun, and then show them how Einstein's model predicts the correct position, and Newton's model does not. This argument, with all the calculation and experimentation involved, is the product of science. Going on Wikipedia, or opening your science textbook, or googling it and seeing that someone with the special title "scientist" has said it, and using that to argue against them, this is not the product of science. That is an argument to authority. It has no value.

Using an absence of evidence (as opposed to evidence of absence) to shut down arguments and delegitimize people's experiences has nothing to do with science, and its only purpose (I suspect) is to prevent discussion of things which conflict with your value system.
> Servo is an "experimental" browser engine. While Chromium is cranking out features, servo is yet to reach version 1.0.

This would be a more convincing point if any of memory safety, parallel styling, parallel layout, retained mode rendering as suggested by the GPU vendors, and so forth were on Chromium's roadmap.
I'm hoping that it would just free us from work entirely ;-)
>It's a serious legal risk to re-hire fired employees.

That's interesting to hear. Could you explain in what way?
Link [0] is broken / missing one word at the end. iheartmemcache probably meant: https://www.slideshare.net/SergeyPlatonov/gor-nishanov-c-cor...
Sorry I guess I only know how to implement/use an SSL certificate not necessarily how the generation/providing part works. What did this outage mean? If you already had a certificate generated, were you not affected by this? Or does a certificate enabled on a website need to be checked/validated.

I did look up what OCSP is after looking at the article:

>an Internet protocol used for obtaining the revocation status of an X.509 digital certificate.

So does this mean they weren't able to verify that the SSL was still good and so you'd get a warning in the browser saying "This site is not secure" or something?
Come now. I'm sure everyone remembers their parents sleeping in different rooms after a certain amount of time.

If one partner's libido decreases before the other's, it may very well be a favor for the partner whose libido has decreased. Nothing wrong with that, and if it's a healthy relationship, both partners will not mind doing favors for one another...
Currently (and prior to now), most of the research in AI went into immediately usable solutions; I myself ended up doing my MSc in what is effectively optimisation (using certain "AI" techniques), rather than what really interested me (which would have been "real AI"). In a sense, this is correct; we want to have real value out of research investment, so that side of AI will be ahead for a time. Basically, why have something that taught itself to play chess, when we can use a human-engineered heuristic that beats it every time?

That said, this line of thinking is coming under attack on several fronts. AlphaGo is a good example - it's tacking problems where we're not good enough at coming up with heuristics. So, essentially, we've hit a tier where machines are really better at that topic than we are. Think about that for a second; a computer is a better programmer than the best of our guys, and it's early days yet. Not just running computations, but actually determining what computations to run.

Problems like Go are complex enough that if you want to have AI be good at it, you actually need to invest in the meta-level goal creation and other things that go along with it. This is happening on many levels, and researchers are actively trying to understand how exactly the human brain handles these topics (or even what consciousness is, on a practical level).

If you follow these developments to their logical conclusion, I'm pretty sure a "real AI" will be on the cards relatively shortly, whatever that time period may be (100 years is nothing on the grand scale). Initially, this will likely have some architectural similarities to human brains, but will essentially be free to do its own thing and restructure. Eventually, it will have gut feelings and culture that are far beyond what our feeble little brains can comprehend.
As a European who had to make sure the provisions contained in this law were implemented on a few high-traffic sites targeting consumers, I can definitively say that the law is at least a little bit "controversial" and unclear. We had to request the assistance of a law firm to make sure we complied.

Originally it looked like you had to give the users an option to decide if they allow the use of tracking cookies or not, potentially having to deal with NOT pushing such cookies in case the user did not consent. In reality, most of the implementations I've seen are just informing the customers that tracking cookies are used and let them know that usage of the site represents consent of such usage, adding that they can modify the browser preferences if they want to modify their cookie preferences. Additionally, you have to link to a cookie policy that you publish on the site.

As a clarification, this law does not apply to cookies in general: certain cookies, sometime referred as technical cookies (e.g. session) are exempted as long as they're not used for tracking purposes.
> What I have seen is some of the best hiring processes.

....in software? So Sweden has figured out the software engineering hiring process?
Their intention doesn't matter. Companies can strive for a monopoly without breaking rules. The point is that at this moment, they don't have it and there is high competition (although oligopolies) in both mobile and desktop preventing them from having a platform monopoly.
Where else do people use mobile devices? At home?
This is a similar logic to folks that "settle" with marriage. It's not a long term win, and if you're not building for the long term, why do it at all?
I made a spreadsheet out of the PDF of injury rates by industry, which is much easier to sort and compare. Google removed the indentation I had added from the original, but it should be clear enough; the number of digits in the NAICS code is the indent level. https://docs.google.com/spreadsheets/d/1LKE00PJDDE_ZnDb1Slpq...

For the record, in 2016, the injury rate per 1000 workers for "automobile manufacturing" as a whole was 6.7; "Animal (except poultry) slaughtering" was 7.2; "Sawmills" 7.3; Tesla's was 8.1, on a level with "psychiatric and substance abuse hospitals", just above "heavy and civil engineering construction", and just below "correctional institutions", to name a few. Tesla claims they're down to 4.6 in 1st quarter 2017, but of course we only have their word for that.

The document further breaks out cases with days away from work, restrictions, or transfers (DART). That's 3.9 for the auto industry in general, 4.9 for non-poultry slaughtering, 3.9 for sawmills, and 7.3 for Tesla (from the WorkSafe report linked in the article).

So it sounds like there may actually be something to this. Weird that they decided to go with clickbait instead of just presenting the data.
Great to see they are making headway. Wonder about the long term sustainability though, as more and more software such as GNOME3 DE lists it as a dependency
My company wasn't accepted - I just wondered who was successful
And of course, unions have never been known to stand in the way of manufacturing innovation.
If you want innovation then take a look at reader mode. That's done more to improve my browsing experience than any HTML5 features ever will.
Later in the article they give the numbers from 2016; they aren't quite as bad then, but still pretty bad.