skysight-inc/HackerNews huggingface dataset:
That looks a lot like the old Pascal assignment vs equivalence operators. In Pascal (read Delphi) we had '=' for equality and ':=' for assignment. So:

x = 5 <-- a boolean statement, true if x equ 5

x := 5 <-- an assignment of the value 5 to the var x.

TBH, it's only like '=' vs '==' in C like languages. But it's easier to spot errors, as Pascal can never have a valid statement where the two are used in the wrong way.
AMD Delivers ‘Supercomputing for All’ at SC17 with EPYC, Radeon Instinct Platforms
It's been years since I've been active on Reddit, but I believe that, unlike HN, comment scores don't affect karma, only submissions.
The amount of karma you can lose from a single comment is limited to a quite small number
ROCm, a New Era in GPU Computing
Exploring AMD’s Ambitious ROCm Initiative » ADMIN Magazine
Angry Sean Hannity Fans Are Smashing Keurigs on Twitter
What you just said is basically "let them eat cake." You're talking about a captive monopoly with no real-world alternative. We're still being charged fuel surcharges even though the prices have gone down for fuel. The choice is between flying and not flying and in many cases having a job and not having a job.

Now realistically airlines aren't thieves, they generally have a hard time with their profit margins, but that doesn't mean that they shouldn't be severely regulated.
Seven. (presumably) Two have to be adults.
1) Doesn't work if you're flying international on a non-US airline (great protectionist measure there).

2) Requires you to give the government your fingerprints. This is particularly a problem if you have children between the ages of 13 and 18 (old enough to not just get pre-check if the parents have it, not old enough yet to make their own decisions about whether the government should have their fingerprints).

3) Not available at all airports.

4) Not available at all gates at the airports where it _is_ available (even for US airlines).

It's better than nothing as long as item 2 is not a problem for you, but it's a lot worse than sanity would be.
> We've been talking about usability, accessibility, information architecture and so on for almost as long as we've been making UIs.

All of the above is UX, and should be integral part of design. Too often it isn't.

> Certainly that means several decades before someone in need of a new buzzword for their blog/presentation/resume first coined the term "user experience".

--- start quote ---

Early developments in User Experience can be traced back to the machine age that includes the 19th and early 20th centuries.

The term user experience was brought to wider knowledge by Donald Norman in the mid-1990s. He never intended the term "user experience" to be applied only to the affective aspects of usage. A review of his earlier work suggests that the term "user experience" was used to signal a shift to include affective factors, along with the pre-requisite behavioral concerns, which had been traditionally considered in the field. Many usability practitioners continue to research and attend to affective factors associated with end-users, and have been doing so for years, long before the term "user experience" was introduced in the mid-1990s.

--- end quote ---

What's that shiny new buzzword you are talking about?
You have to admire people like Larry Ellison or Bill Gates who have the bandwidth to lead a company from zero to large successfully. They have a very rare set of skills.
Both of those companies are global and would need to pass antitrust in the EU, China, and Japan as well. I find it highly unlikely Europe would agree to it.
> Reading the book taught me some very important lessons nevertheless. What is an actionable item. Tasks must be clear.

So you never wrote a function before reading GTD? ;)
Worth mentioning that replacing equity compensation with cash would likely be better for employees of all but the most successful companies.
It's hard to take seriously because they take a story about Apple getting the phone out a year early as somehow demonstrating that Apple hadn't properly studied how the security of Face ID compares with Touch ID. It's a total non sequitur.

There's no such thing as "a secure device." There are devices which offer various levels and types of security. If you're a CIA officer carrying classified secrets on your device, you probably don't want to use Face ID. For the average user, it's a nice increase in security.
Speed up your Python using Rust
Certainly a factor, but honestly, I really think this is about building up the business. Uber burns so much money through its quick expansion. You could be the first, one and only one entirely, and last standing, but what really matters is to be the last standing right? The way I see it is Uber has proven shared riding is a great business to build, so Lyft just let Uber paved the way (bring shared riding) and bring shared riding to the rest of the world, while Lyft builds up a competent team in the U.S, then take advantage of shared riding momentum.. In a way think of Lfyt taking a shared ride with Uber but the last to pick up.
Another point is that a majority of Alzheimer's patients have other neurodegenerative conditions, with vascular dementia being one of the most common. So it is reasonable to expect that you can in fact meaningfully address Alzheimer's and see little to no improvement in a patient.
now I downvoted too
How many founders start their company as a way to enrich capital holders or investors? That’s the job of a CEO.

A founder is supposed to think about stuff that often competes with that, like making employees feel motivated or delivering value to customers.

Hell, even building a healthy company is often at odds with capital return. We see daily examples where the ‘right’ thing to do (from capitals perspective) is to sell off all assets, submerge the company in debt, and abandon ship.
I have not read the entire underlying study behind the article but I feel the headline may be a bit misleading.

From the article:

"But founders’ poor success rate as CEOs also has to do with the kind of personality that’s compelled to start a company in the first place. People often start companies precisely because they want the freedom to run things as they wish—which sometimes includes poor managerial decisions."

This may be true for some founders but I'm struggling to see whether this represents a substantial sample size. My impression is that people often start companies because they want to go through the experience of starting a business and seeing it grow and succeed. Freedom may be a part of it, but this article seems to suggest it's a dominating variable that ultimately leads to the demise of the founder(s) which I'm struggling to see.
Does everything need to be dependency injected ? Sometimes it seems this is more important than code that works.
You are right. Soviet education system was aimed to teach only basics to the average pupils. They were not expected to continue studying after 8-9th grade and went to vocational schools or stayed in army (it was mandatory back then at the age of 16). Studying at university was only for the very best (or those whose parents were respected Party members), so the whole system was designed that 9th grade and up was for children with above average skill-set and abilities.
Art was virtually non-existent back then and only used as propaganda tool, so it was mostly orientated towards learning various techniques, not creating original ideas.
Of course, it was different times and different world back then, it would not be optimal to just copy-paste earlier system, but I believe, there's much to learn (or remember) from it.
You have separate counters for submissions and comments.
I'm a novice programmer and have been building my own small personal web app for remembering references[0]. I'd love to take a look and learn from your bot if you're able to share the code!

[0]https://github.com/brianzelip/refrem
> That's why you can choose a storage provider to do it for you. But as with email, you're not locked in to a single provider

I wrote this before I realized you're right:

> Yeah, I get it. But the real benefit, that outweighs the cost in time and attention, and maybe money too, is that you can control your data. Not having your own copy, and your own backups, or not having the technical ability to access relevant info in your data, as I'd expect the vast majority of people to not have, doesn't seem like it means that much effectively.

Thinking about email was what opened my eyes. Even tho most people don't understand email technically, it's a standard feature, effectively, that pretty much anyone can have a new email provider import their emails from their old provider. That's a big benefit and just that benefit alone is worth implementing something like RS for a lot of webapps, if not nearly all of them.
If you have cameras watching someone from many angles you could just watch them type in their PIN. It would be much easier than making this mask thing.
No, its just some flair given to your post (and you) by someone donating money to reddit. In this context I imagine its meant as a small bit of snark.
Thanks, you're right. It looks like it was initially reported as having been rebooted like I said, but Apple later on explained it as you say, and I must have missed the update. Here's a link:

https://9to5mac.com/2017/09/13/face-id-demo-fail-details/

Anyway, the key point here is that Face ID didn't fail to recognize Craig, it refused to recognize him because it had already been locked.
> C++ abstractions get you in a mindset that might be detrimental to performance.

That certainly depends on the application but having been involved with several high-performance libraries written in C++, I can say confidently that C++ abstractions are largely beneficial. For instance, you can often control and avoid memory allocations (but see below): in particular, if you write algorithms interfaces in the style of the standard library, your code will perform very few, if any, unnecessary allocations, and yet be fairly high-level.

> Yes, you have to write low-level code, but not all the time.

I was talking specifically in the context of writing low-level C-like code, as discussed by my parent comment. You wouldn’t write “high-level C code” outside of C, there’s no need.

> If you do allocations in your high-level code you are doing it wrong.

As a blanket statement, I don’t agree with this in C++. If you’re careful you can perform (even dynamic!) allocations in C++. Just make sure that you dispatch to a pool allocator. But of course I agree that this requires care, and lots of code should avoid them.
Excellent! Stealth redirects and vibrating ads are what drove me to Firefox for Android with uBlock.

Note that developers could protect their sites for some time with noopener: https://mathiasbynens.github.io/rel-noopener/
Switch firefox to reader mode (the book icon in the address bar), that seems to fix it.
That works for you? Haha! I think I´d just keep sleeping after that. Although it does get colder once the sheets are gone.
Which is what I discussed. All I'm saying with the bit you quoted is that there's inflation in both cases.
That's because in general Uber is selling at a loss in those markets to try to drive Lyft out of business. Hence why they're burning through cash like an 18 year-old lottery winner.

It's unsustainable and hopefully Lyft can weather it.
As far as processing the inbox goes, I feel like GTD has too much overhead. "Inbox Zero for Life" works better than anything I've ever tried:

https://xph.us/2013/01/22/inbox-zero-for-life.html
> In my world, this requires installing one of the most complex pieces of software in existence (a web browser, plus its dependencies), on top of a graphical OS (also a highly complex network of interdependencies).

In most people's world (where "most" is probably > 95%), their computer comes with those things already installed.
Only 19 hours old, too.

One thing to keep in mind is that Reddit used to normalize votes until about a year ago or so, such that it was exceedingly rare for a post to get beyond triple digits (both positive and negative). I wonder how many older unpopular comments would have made it into the negative six figures if vote totals had been uncapped sooner.
> visual programming tools are like GUIs and they are the main reason that people can't code nowadays.

Lots of people can't code, and most programmers can't code well, yet very few people have been exposed to visual programming tools.

I'd look elsewhere for explanations:

(1) If those with more aptitude for programming are more likely to become programmers, and the demand for programmers increases, programmers with less aptitude have to be hired. (And the problem is made worse by excluding experienced older people when hiring.)

(2) Whatever the reason, very few women become programmers now compared to the past, so almost half the population is being excluded.

(3) There's less diversity in software now. There's only two operating systems (with the same user interface), and only imperative languages augmented with object orientation, mostly with C syntax, so programmers only learn to think in one way.

(4) Personal computers nowadays are basically appliances which you can just use without programming, and that's what most people do. When they first became available, there was very little software on them and a far greater incentive to learn to program so that you could make them usable. For many people back then, programming became an end in itself.

> Visual tools don't teach you to code, they introduce an unnecessary layer and create an even bigger insecurity when dealing with real code.

There are different kinds of visual tools. Some visual tools (like, if I'm not mistaken, Bubble) are code generators so aren't designed to teach you how to code. Others are programming languages in their own right with no textual substrate, so there's no extra layer.

It isn't as if you need visual tools to introduce unnecessary layers anyway. There are now frameworks and other unnecessary layers, which of course mean you need more programmers to handle the additional complexity, and then you have problem (1). If the software industry designed aircraft or bicycles, you'd never be able to rotate your plane or ride your bike uphill.

> Real coding with text is quite easy

No it is not. Programming is hard however it's done, even visually. Concurrent, type-safe programming is even harder, and it's here that visual dataflow programming would help. MIMD programming is problematic in textual languages because there's an explicit ordering of operations, and there are synchronization issues which have to be addressed. Switching to the dataflow paradigm avoids this, but dataflow is difficult to express in text. Also, textual languages make type inference and code optimization harder.

> A very good example for an educative text-based coding environment which is even functional is Logo. But again, the best way to get into coding is to get an OS on your personal computer which focuses on the shell.

I agree with you about Logo. But Logo originated and was closely associated with the Lisp community centred around MIT, which had a very different way of doing things from Unix approach you seem to favour: a listener instead of a shell, multiple windows, and a programming language very closely integrated with the operating system.
So, rather than let intel agencies / law enforcement hack it and watch what is going on, they hacked it and then let them know?

Really not sure being a vigilante in such a "hot" space for law enforcement is useful.
Looks like everything they are posting is getting down-voted.

https://www.reddit.com/user/EACommunityTeam
In business, spinoff typically refers to creating a new company with separate ownership. E.g., PayPal is a spinoff of Ebay and Agilent is a spinoff of HP but Waymo is not a spinoff from Google, because they share the same ownership.
Safety is never an absolute. Imagine a world of "very-many-nines" safety, where only once in a century a person died from a violent death, planetwide: the cause of that death would be on people's minds for decades, and any measure for decreasing the chance of it ever happening again would see great support.

Once we have established that safety is a relative term it becomes pretty clear that ruthless surveillance would yield some safety improvement. I think that you can make a much more meaningful stand against surveillance when you acknowledge that, a opposed to outright denying any possible effect.
I think there’s a caveat that the language needs to support inline assembly.
> maintained in a text file with infinite persistent undo

How? Is this persistence a function of your text editor?
I'm so glad to hear I'm not alone in avoiding Uber for being unethical. I hope this is more widespread than just the HN crowd, but generally I get the impression that most folks just aren't aware/don't care about corporate behavior.
NoSQL – Why you should use MongoDB instead of a relational database
They can give themselves gold if they want. I'm not sure how it affects the downvotes, or if it does.
When water is readily available from multiple sources literally on tap, I'll happily just use that.
I believe Project Wonderful is the closest thing I know - it's a manually-reviewed ad network used for webcomics, with the downside that it's accordingly much less valuable for site owners.
I feel this is just catering to a major problem the industry has with interviews.

Interview questions are largely irrelevant to the main job. When was the last time you needed to code from scratch a mergesort in your job? A binary tree? A LinkedList?

Sure, there's some value in asking those questions - can they problem solve, can they communicate their solution effectively, etc... I just think there are way better ways to find out whether a candidate is suitable for a job than to ask them to code up an algorithm they haven't had to do since CS 101.

The kinds of technical questions I find more effective are:

* How does a cache work?

* When would you use a HashMap/Dictionary/Hash/Object over an array/slice/collection?

* How would design an HTTP API to do X

* How would you design a database table to do Y
Hmm something to keep in mind for next week’s post.
Comment scores do affect karma, but the amount is softcapped. The more downvotes you get, the less each individual downvote counts towards your karma. It doesn't kick in until you're past a handful of downvotes, so a score of -5 will still drop your karma by 5, but a score of -50 won't drop your karma by the full 50.

If a comment is controversial (i.e. it gets both a lot of upvotes and a lot of downvotes) but still negative (e.g. you got 300 downvotes and 200 upvotes), you can even end up gaining karma overall because upvotes aren't softcapped the same way.
I don't think the push is for 1 method interfaces.

In C#, a good example is that many many APIs use the IList<T> interface to pass lists around. But that interface contains methods like .Add .Remove .RemoveAt .Insert... So while in most cases, you'd be just fine passing a IReadOnlyList<T>, using the IList<T> interface means that as a user of the API, you have to implement these methods which may have no sense for what you're doing.

And so more often than not, you see things like:

void Add(T element) { throw new Exception("Shouldn't go in there"); }

And actually I've just checked, the ReadOnlyList object itself implements IList (cause IList is so used), and so has these exceptions all over the place: https://goo.gl/G6L9Ko
One of the best ways to cover something up is to have someone with "negative credibility" break the story. There's been a persistent rumor for years that some tabloids have ties to intelligence agencies and pretty much exist for this purpose.
https://www.quora.com/Can-Apples-Touch-ID-tell-between-the-f...
I'm not sure, but let's try and just talk about Rampart ok?
Sometimes I think we should have resistance training. Just to get used to slightly unpleasant things, done a dozen times.
> A look inside your favorite products

…which have been selected for you.
Ask HN: Can you recommend a good Node.js ORM?
I've used Sequelize (https://github.com/sequelize/sequelize) and Bookshelf (https://github.com/bookshelf/bookshelf) but not that wild about either. Are there any other JS/Node ORMs that anyone has used and would recommend?
Sure, but that's not a very satisfying answer because it doesn't rely on any special insight about how exponention works. It would be better to just ask someone to code up addition and/or multiplication using bitwise operations if that's what you want to test. That's sort of a reasonable question in the case of addition. Asking someone to implement multiplication using bitwise operations in a phone interview would be pretty crazy, though.
This is UX-ish, but I regularly have login/posting issues and very slow loading times off Disqus.
> I believe rust would be a better example here

From what I’ve heard you’re almost certainly right. I just don’t know enough about Rust to comment on it (unlike C++).
There are two types of Karma, post and reply. However, both up and downvotes seem to have diminishing returns on your account totals even if they show up as the full amount on the post. I know I've had a few posts that got 300+ points but only impacted my account total by like 100 or 150.
15 Proven Ways to Increase Creativity That Simply Work Pt.2
I just use Take Command instead.

* https://jpsoft.com/
> I believe it is because they are hesitant to blatantly disregard local laws

Lyft was the first company to operate in Miami, and Miami was the first market where drivers could face criminal charges. Uber avoided operating in Miami for this very reason and when it saw inaction in enforcement, they informed the Miami government that they would also enter the market if they continue to not enforce the law. I don't know about you, but putting drivers in a position where they could face criminal charges and jail time is far worse than anything I've seen Uber do. With civil liabilities, these companies can support the drivers with legal help, but with criminal liabilities, neither company can offer their drivers a get-out-of-jail free card.

The idea that one company is more ethical than the other is a farce.
Would you say one should just do it?
The documentary "Under our Skin" details Alan MacDonald's breakthrough research on how Lyme disease causes Alzheimers. The 4 minute trailer is worth a watch[1], but basically Lyme disease is found in 7 or 10 brains of Alzheimers patients (small sample set). The Lyme disease spirochete literally drills countless pathways in the brain and that causes slow dementia. That spirochete also creates a biofilm which makes it challenging to detect in a living patient. His research is from a decade or two ago.

Also I wonder how a citizen scientist like Gates does a deep dive on this topic a like this. There are 10's of thousands of research papers on the subject[1] and countless books.

[1] https://www.youtube.com/watch?v=GCLwauRh2gQ
[2] http://archive.sciencewatch.com/ana/st/alz2/journals/
If you need the machinery Java has, you're already fucked. To a first approximation, no one knows how to tune a JVM. Whole books have been written multiple times on the subject, and everywhere I've been that used large-scale Java applications, tuning failures are still at or near the top of the list of most common production issues.

We don't appear to be much better off than we were with C. I guess the server melting is probably preferable to an exploitable smashed stack, but prevention of both issues appears to be to hire geniuses who don't make mistakes while doing enormously mistake-prone work.
Not quite. I tried that but some of the entries had vertical bars in URLs (Amazon urls), making Pandas complain and refuse to import the data.
Indeed. Someone runs the department that individual works in and allowed this kind of uncontrolled process. Someone is that person’s boss and should have been asking how well controlled are our processes, and so on. Turned Turtles all the way up..