skysight-inc/HackerNews huggingface dataset:
> Writing C++ classes often involves writing constructors, destructors, assignment- and move-operators, sometimes setter- and getter-methods… and so on. This is so normal in C++ that I only really recognized this as a problem when I noticed that I didn’t do this in C.

POD containers don't ever need manually written copy/move/assign constructors or destructors. In fact hardly anything except resource managing classes need them (eg if you are implementing shared_ptr or mutex yourself). If you are writing your own copy constructor without knowing why, your code is not only needlessly bloated but also most likely broken. Follow "rule of zero" instead.
This comment is highly presumptuous about the actual development experience of more modern languages and tools.

> True speed comes when you don't have to deal with other people's bugs and poorly designed mistakes.

PHP is often, in practice, a language where bugs are more likely compared to these "stylish" other languages you mention. [0]

[0] http://delivery.acm.org/10.1145/3130000/3126905/p91-ray.pdf?...

" For [languages] with positive coefficients
we can expect that the language is associated with
a greater number of defect fixes. These languages include
C, C++, Objective-C, Php, and Python. The languages
Clojure, Haskell, Ruby, and Scala, all have negative
coefficients implying that these languages are less likely
than average to result in defect fixing commits."
I thought the project was fun and the video was interesting and well made.

There is something that reminds me of Bret Victor about his reasoning. Is this a thing? I will call it Engineering Epistemological Reasoning - can more people pull that off now? Awesome. If so great news for me, because I enjoy such reasoning immensely.
Source: http://matpalm.com/blog/counting_bees/

Once again, mods don't replace the link to an obvious blog spam article just because it's from TechCrunch.
While classical locality is not possible, quantum nonlocality is interestingly local and not. Causality is local but correlation is not.

Nonlocality where both are nonlocal would be conseptually easier to understand.
Kalpataru Expansia
Would you return a friend money you borrowed?
Nathan Myhrvold's $3B of Private Equity Funds Show Big Losses
There are fluuter plugins (not third party) for notifications and intents. Background service can be tracked at this issue https://github.com/flutter/flutter/issues/3671
Artisense (www.artisense.ai) | Computer Vision, C++, Embedded, FPGA | Munich/Garching, Germany | Full-time | ONSITE

Founded by automotive engineers and computer vision researchers, Artisense develops in Munich, Tokyo and Palo Alto machine vision systems for robot and vehicle automation. This is a unique opportunity to join one of the hottest startups (Slush Tokyo 2018 Winner) and an exciting team, developing game-changing autonomous unmanned sensing technologies.

We are looking for passionate individuals who demonstrate initiative, take ownership in project work, and exhibit a high level of creativity and spirit of innovation.

You will be developing mission critical, real-time, multi-processor and multi-threaded applications for robot 3D localization and mapping in GPS-denied environments.

See all jobs and apply at https://artisense-jobs.personio.de
Yeah, that's nice for multi-threading but it does not seem as good for distributed systems. This is why I still don't know if I should invest in Clojure or Elixir.

Can the REPL on the server be used to update production systems with no downtime?
Doesn't matter, more knowledge is always to our advantage; not being politically correct is a terrible reason for withholding information. We'll never get better by burying our heads in the sand.
Somewhere around 2006, after my first enthusiasm about Rails I realised I could get almost the same, with a language that is more natural for me, has more developers here, as well as cheap hosting options (less of a concern now) by going with php/symfony.

Later I've been enjoying

- a php microframework that slips my mind

- python/flask/sqlalchemy

- JavaEE (yup, except JSF)
I don’t think I’ve ever seen anything on HN that was related to my job.
That difference is not obvious, especially for infrequent users or less-technical users.
"...we need to move those solutions into less partial laws and courts"

The laws are controlled by politicians whose campaign money comes from people whose interest is to exploit workers.
Tried to address that a few comments up.

https://news.ycombinator.com/item?id=17218381

Sorry it's a wall of text. I suck at brevity.

In my defense it's a complex topic and I'm trying to credit some good points on both sides.

And ok, I was too flip in my last comment, frustrated that its parent seemed to completely ignore my main point. At their best, maybe some unions do still work that way.

Many don't though. Most blue collar guys I know found the teamsters especially abusive.

Separately, investigations into construction in New York invariably find its unions rife with mafia-ties and racketeering.

But there are some good cases out there too, I'm sure. I just think the best of both worlds is to incorporate fair practices into our legal structures, rather than create new centers of power.
Your comment reeks of inexperience.
Scarcity is an outstanding book about this, and makes the point that severe constraints on anything - money, food, free time - can have psychologically damaging effects.

In fact it’s extremely toxic - far more damaging than manynthings that have been banned now.
It can be argued that gratification delay is more psychology related than genetics. And while it can be found a pattern on genes, probably it will be falsified like happened before with these kind of experiments.
That's only relevant if you base your political opinions about this on some abstract "fairness" to the people involved.
Hehe, the lost art of not having everything in RAM at the same time. Async APIs are getting better and better all the time but it seems like streaming APIs hasn't gotten the same love, even though it should be easier than ever now as it's just an application of async primitives.
I've been using the Tachyons style since IE6 on my platform - never looked back!
https://meta-os.com/
It shrinks the total amount of CSS & style enormously as well.
Oh psychology! What would coastal mags for pseudointellectuals do without you?

¯\_(ツ)_/¯
Teens are abandoning Facebook in dramatic numbers, study finds
I'm slowly starting to believe that every single C programmer falls into the "either do not know what they are doing, or don't but think they do" category.

I have yet to see a single, non-trivial C program that does not have many dangerous bugs related to language unsafety.

If these mythical good C programmers exist, they certainly have never released any of their source code.
I believe your comment above is correct, but subtle enough that both jacques_chester and whoever downvoted him may have mistakenly concluded that it's inconsistent with his comment below. The situation that I understand is that:

1. I sign a typical employment agreement where I promise to sign patent paperwork.

2. As part of my employment, I make a thing.

3. The company (my manager, the company's lawyers, etc.) wants to apply for a patent that claims my thing.

4. I agree that I made the thing, but I tell the company that the thing isn't patentable because of prior art.

Then what happens? Am I correct that (a) the company may proceed with a patent application; (b) the company is obligated to include me as an inventor, because I made the thing; (c) the company and I are obligated to disclose my alleged prior art with the application, assuming that my prior art really is in the general vicinity of my thing; and (d) I'm obligated to sign the declaration?

Nothing in any employment contract I've seen creates recourse for employees who disagree with the company about what's patentable, beyond waiting for the examiner to reject the claims. It would be weird if something did--the legal standard for prior art departs considerably from common sense, so I'm not sure why the non-lawyer employee's judgment would be relevant.
It's only unjust if you define a person's desire to help his children above others as unjust.
Another example of studies that seem to be hard to dublicate is about the concept of priming [0]. I think sometimes the non-scientific community picks up an idea which just seems so good and starts to apply it to an array of life sitations, while the idea itself might be limited to a small amount of sitations/conclusions. Especially with priming, I read some hair-raising statemens from laymen, about how priming seems to explain virtually everything.

It also happens to scientists, of course, but they tend to be a bit more careful and stick a little closer to the original experiment (which itself might not be evidence enough for the conclusion).

[0] https://replicationindex.wordpress.com/2017/02/02/reconstruc...
> it's maths

That's a joke. First off, we don't even know how NIST obtained this "magical" large number that we're supposed to trust it creates a safe formula for the P-256 curve:

y^2 = x^3-3x+41058363725152142129326129780047268409114441015993725554835256314039467401291

https://safecurves.cr.yp.to/

Second, the NSA refused to reveal certain technical details that they should have been able to reveal to the ISO: https://www.theregister.co.uk/2018/04/25/nsa_iot_encryption/

So it's not all "just maths". Otherwise all of these people wouldn't be so suspicious about it.

It's not all about the design, either, even if it was 100% transparent. But about how secure it actually is. We don't really know how secure an algorithm is, even as it passes a competition or standardization process. We have to see it in the real world, but once it's in the real world and everyone adopts it, it could take at least 10-15 years to get rid of it from most places.

The NSA refused to reveal how Simon and Speck would resist against certain attacks. They kind of did the same with IPSEC, where they made it super-complex so that the implementers would almost always get it wrong, which means they'd leave holes in there that the NSA could exploit. This is how they muddied the waters in the standardization processes. It's their MO when they can't introduce an actual backdoor - they just design a crypto algorithm that looks okay on the surface, but hides high potential dangers:

https://www.mail-archive.com/cryptography@metzdowd.com/msg12...

Also this seems to perfectly describe how I've already thought the NSA would act. Why would anyone ever trust them when they act like this? It's quite strange to still see so much support here despite of this:

> When some of the design choices made by the NSA were questioned by experts, Ashur states, the g-men's response was to personally attack the questioners, which included himself, Orr Dunkelman and Daniel Bernstein, who represented the Israeli and German delegations respectively.

> Ashur further alleged that the NSA had plied the relevant ISO committee with "half-truths and full lies" in response to concerns, and said that if the American delegation had been "more trustworthy, or at least more cooperative, different alliances would have probably been formed."

> Instead, he says, "they chose to try to bully their way into the standards which almost worked but eventually backfired."

https://www.theregister.co.uk/2018/04/25/nsa_iot_encryption/
I don't have much knowledge behind me, but my gut feeling is that repositories require to be independent. Has there been any product Microsoft has taken over and kept the original goals as is?

Any company can take something and maintain it, and Microsoft has the money. But the motive never appears to be much more than a business to make money with. Perhaps I am still a bit bitter about Skype.
True, very true and you'll hit that language barrier in no time. The courses, mostly, provide hands-on experience and don't explain, say for example, what does standard deviation mean?

But this is a good news/bad news kind of thing. Bad news, you need some statistics education to make a sense of what your computer is telling you. Good news, that mathematics isn't "high-grade" mathematics involving integrals and other stuff (as far as I can see anyway).

So what I am doing as a person who is trying to convert himself into a Data scientist is I am taking a basic udemy course (https://www.udemy.com/python-for-data-science-and-machine-le...) to give me the basics and a book on statistics to properly grok what I am seeing on the screen. On this part I am following a different book than its peers though, so it might not be for you but I like the story-telling aspect of it (https://www.amazon.com/Adventure-Statistics-Reality-Enigma/d...)

After I finish those I'll move to Kirill Eremenko's a-z courses on Machine Learning, AI and Deep Learning. I've found that even though they teach cool tricks and some basics before going in detail, that basics part didn't contain enough information for me as a new student. So I feel if you have some proper background in stats and python data analysis you can skip the parts I mentioned and go straight to a-z courses.
>> But my reaction from a gut level is, what's the value of human life if machines do all the important stuff for us, while also surpassing us in creativity, insight and discovery?

But why would they? There is nothing inherent in the idea of AGI that says they absolutely have to.

This is again the fallacy of the Singulartiarians, that once you have a very powerful piece of technology, it will take over the world and oppress mankind. Why does that have to be the case? Well, it doesn't- and if it looks like it's how historically things have played out, with other technologies, then maybe the fault is not with the power of machines of all sorts but with the mismanagement that comes with greed and its excitement by useful technologies.

In any case there is still nothing that supports the equation AGI = human oppression, right out of the box.
You wouldn't say it's machine learning? Despite the daily "sky is falling, AI is dead" posts on HN, we've very suddenly (over a few years, faster than the home computer revolution by far!) gained the ability to spoon some of this deep learning 'secret sauce' on top of just about any problem of the form "map X to Y" with a fair chance of it 'just working', and it's accessible enough that individuals can get results that would have been impossible for a high end research lab ten years ago.

Just because strong AI hasn't sprung fully formed from a CNN yet, it doesn't mean there isn't a huge range of newly-tractable problems just waiting for someone to solve them.
Because they don't "derive" anything. Since there is no data on AGI to "derive" its risks from we're left with vague fantasies about existential threats we can't ever hope to understand and admonitions to "Act Now!" even though we don't understand the threats.

Those people are fantasists, at best, charlatans at worst.
A lot of people are probably happy to pay the premium to avoid the relative uncertainty, risk and awkwardness of a private sale.
I was always skeptical of the marshmallow test. It let too many questions open on why children eat the marshmallows. Was it because they hadn't eaten before and came to school with low blood sugar, knew that waiting fifteen minutes for two sweets the price of a penny is idiotic or that they felt uncomfortable in the room and wanted to leave as early as possible?
Martial art master from Haiti shares his secrets
> Certainly I personally possess this trait in spades, and my personal history is full of instances where this trait was extremely useful to me.

I love taking tests. Sadly, this has essentially never been any use.
What's the saying? "The moment you turn a measure into a target it ceases to be a good measure"?
Cisco IOS, NXOS, IOS-XE and IOS-XR are C/C++.
Samsung doesn’t have to offer updates for phones older than two years
So maybe well-off people score better on the test because they have time to teach their kids some self-restraint, not because they're genetically better able to resist marshmallows?
Ultimate Speech Exposed by Naseeruddin Shah
On farmland, the nitrogen from the clover reaches the grass after it has been eaten by sheep/cows and then excreted - either directly or by the farmer spreading manure.
Securing macOS [in 2018]
Presumably, you'd get the pizza from a pizza place. If you go for a national chain, you wouldn't even be restricted to testing kids all in the same location.
Coffee table made out of concrete and up-cycled bridge timber
I work in the game development all my life, and I will fight against unionizing with all that I have.

Unions, above all, help those on the lower part of the bell curve. They commoditize labor, introduce standard metrics, push towards mediocrity and destroy competition between individual contributors. I am now on a third week of crunch, without weekends, all to make it to the Steam sale; something that a union would fight against. But it's a crunch I'm highly motivated for, and one I will personally benefit from; a union would limit my ability to push forward and advance my career.

I can also negotiate quite well on my own behalf with employees. If I was in a union, I would, through involvement in collective negotiation, effectively share my strong negotiation position with other developers in the industry, bringing them forward and print me back. Why the hell would I do that?
Also companies have seen what has happened to contract VFX houses who have experienced an enormous race to the bottom and where the situation is even more exploitative than games. Which is not to say this won’t happen in games but that if it does it will more closely resemble that situation than more traditional movie roles protected by strong unions.
.net core + vanilla js + azure + mssql (which is non visible if you stick to the framework)
no need for FE framework unless you want a SPA.
you can get free credits on azure and deploy via VS code/studio in a click.
I doubt that the free OpenDNS is maintained now.
Django web app deployed to Heroku is the fastest way I know of right now.

Django because that's what I know best. I can code a basic CRUD app (which is basically 90% of all apps I have ever needed to build) in a few hours.

Heroku because a simple procfile and push to a git remote is all that's needed to launch the application.

I think the best piece of advice I would give is to use whatever you're most comfortable with. If you use a new technology that saves you 50% on deployment time, but adds days to the time you need for actual development because you are unfamiliar with it, is not worth it in my opinion.

Deployment/setup takes maybe an hour or 2 for the kinds of basic app I think you're talking about. Development is easily days or weeks. Optimizing deployment over development is optimizing the wrong thing in my opinion.
I wrote a NodeJS API "Kickstarter" to create my REST API quick and deploy them to Kubernetes (or Docker) easily: https://github.com/geekuillaume/nodejs-api-kickstarter. For the front-end, I use React-boilerlate: https://github.com/react-boilerplate/react-boilerplate
Because a huge part of the benefit is that the customers can use them for the last mile of their trip, wherever that goes.
why is this important ...
The situation now is more like the old studio system - they broke down in the 60s or so, partly because of government anti-trust action (studios also owning theaters, etc.) and partly because of increasing unionization (that model makes it quite hard to switch jobs for better pay, especially when there are very few players).

I don't think the video game studio system is under that kind of pressure, but it also allows independent studios to function.

(I find the modern movie and TV industry similar to the tech world, where each movie is a startup. That's even how a lot of the business are structured - directors and writers put together a pitch, sell investors or production companies on it, and then form a company to produce the film.)
How could you possibly argue that without studying the question?
Being able to say "ok google, take me to a gas* station" without having to touch my phone whilst driving.

* I'm English, and we tend to say "petrol station", sadly even Google's AI is not there yet
Someone who's hungry has less will power than someone who's well fed.
> "Learn C in a weekend" (or afternoon) is akin to getting accustomed to a new model of car, _with prior driving experience_.

...in an empty parking lot, sure. C brings a whole host of old issues to the table that you simply do not get to experience in other languages.

C is deceptively easy to think you know, but I have yet to see evidence of someone actually using it responsibly.
Your start is good but you add complexity on top of it. Install Golang on your VPS, clone the source code on it and compile it there instead of messing with cross compilation.

Also use sqlite to avoid the pain of setting up a SQL server, there is no need for it.

You can then easily get systemd to supervise your binary.

This is how I host all my web apps, the main difference is that I don't use Go but Nim. If you want a great framework match up then check out Jester + Karax, see how I developed the Nim Forum using this combination.
Show HN: Get website visitor location, time and frequency of visit
Whurthay is a tool to track visitors on your website. Easy to use tool, with clean UI, that allows to get demographics and frequency of visit of users using your web based product.

It segments users into different user pools, to identify different niche market segments. It also allows to identify and predict user behaviour, based on which market segment the new visitor belongs to
https://whurthay.com
Not using OEM widgets has huge advantages too though - easier portability, you can preview any OS style on any device (e.g. develop an iPhone app even if you don't have an iPhone), you don't rely on the underlying platform as much (e.g. if maybe that platform doesn't get updated very reliably!).

Really the only downside is that it is a ton of work to make it match the look of the native widgets. They've done a good job though. I really doubt 99% of people could tell at all.

Dart is ok. Better than Java or Javascript at any rate!
It’s not so much the widgets as it is the actual look and feel. Neither scrolling nor text rendering is quite right.

I wrote a post to that effect here: https://harveynick.com/2018/05/21/an-ios-developers-opinions...
Not surprising. One thing that I’ve learned about the rich is that they make their children comply and be conscientious. Also, they seem to be really good at creating tests that show that that they are naturally superior⸮

As a side-note (maybe someone can correct me), I thought that GWAS could so far only find two personality traits that were heritable: extroversion and neuroticism. If so, is there much point in these types of experiments except to sell pop-science books and magazines?
Only considering products made by actual engineers at big companies makes a ton of sense. All the dead web frameworks of the week where made by silly hipsters weren't great choices in retrospect.
> The programs blow up early and loudly.

Loudly, sure. Early? I wish that was the case. Heartbleed and other high-profile exploits rely on this sort of thing being able to pass unnoticed.
Good thing the exodus from GitHub is already well on its way. This would be the catalyst for many others to move away from it.
Do you feel that testing is irrelevant to mastery of a subject? That testing does not test for useful skills?
I started learning about digital logic a few years after Pong came out, and hefore microprocessors were affordable.

It didn’t take long to realise that Pong was an insanely clever masterpiece of digital design.

It looks like the simplest thing ever, but it stores and manipulates representations of three objects plus two score fields, composites them into a 2D representation, and converts that representation into two linear video scan signals - all with discrete logic.

It’s mindbendingly brilliant.