skysight-inc/HackerNews huggingface dataset:
The obsession with eliminating passive voice drives me nuts. It is absolutely okay to use passive voice. Or maybe it would be better to say it should be okay to use passive voice.
Interesting but where should the database normalization should end ? Should every text element with a single style be a separate entry with an associated style using a foreign key ? Should all the xml disappear and be coded around databases concepts ?
I would totally want to hear this guy's feedback on fasting, ADF specifically.
These are the little things, relative to Paris for example, that end up being administrative/environmental tipping points. Years from now, a documentary will point to moments like this, and ask why no one was paying attention. Transparency in resources, or the lack thereof, can have far reaching diplomatic/political and economic impact.
The only advantage of the Yubikey is absolutely massive though. It means not having to worry about revocating private keys or dealing with recurring forgeries after a security breach.

As long as you mitigate the current exploit, you've stopped any forgeries from that point forward.
> To teach a computer to recognize a cat from many angles, for example, could require thousands of photos covering a variety of perspectives. Human children don’t need such explicit and extensive training to learn to recognize a household pet.

Human children see their pet from a million different viewpoints every day
It's kind of strange, considering that most of the non-fiction books I remember most fondly, are fairly thin. The big tomes tend to largely be forgettable (there are of course exceptions) - I guess often because they go into too much detail that date rather than concisely describing concepts.
Do you understand how jokes work or...?
The time it takes, in general, is mainly dependent on how fast the page loads. The priority simply means, that if for some reason there are more requests at a given time then we can handle, that the people with the higher plans get served first. With other words for 99% of the requests, there should not be any time difference at all.
Everything in the mid to small market commercial space, basically.

I've worked on several FIPS projects, and there's not a big demand for FIPS 140-2 unless the customer is handling government contracts and/or data. It's a good checkmark to have though.
> People don’t speak entirely in idioms unless they are totally off their rockers.

My first thought on reading that was to think of Darmok and Jalad at Tanagra. Then I realized that was allegory, not idiom. Then I realized I had no idea what the actual definition of "idiom" is, and looked it up: "a group of words established by usage as having a meaning not deducible from those of the individual words (e.g., rain cats and dogs, see the light)."

...and now I'm confused because nearly everything we call an idiom in programming isn't. What would be the correct term for whatever it is we are currently calling programming idioms?

For example, one from the idiomatic Python book that the article criticizes:

def contains_zero(iterable):
# 0 is "Falsy," so this works
return not all(iterable)

That one was confusing to me, because I'm not a heavy Python user. I've never encountered all() before. However, after looking up the all() function in the Python documentation that code becomes immediately obvious.

It seems that most of what we call idioms in programming are just using more advanced or more obscure language features or library functions to do something in a more compact or efficient way at the cost of immediate clarity to people who are not as advanced in the language. We've decided what these do is needed often enough that we agree that these are the way people should do these things, even if they don't understand what is actually going on.

I'm not sure programming languages can have actual idioms, except perhaps in the case of language bugs or bad/missing documentation.

The combination of language plus hardware could have idioms, like nested loops iterating a multidimensional array should have the outer loop on the first dimension, the second loop on the second dimension, and so on to minimize jumping around in memory and so hopefully interact better with the cache.
I don't think they've found any risks for outdoor exposure. The amount of exposure you get in a smoking bar is far more than what you get outside.

Also there is some weirdness in the research where it's hard to find a dose response curve, and you see larger effects on cardiovascular system than lungs. I think there might be some confounds, like if you are married to a smoker or work at smoking establishment you're more likely to be poor, and be unhealthy in other ways besides smoke exposure.
Yes! It's the restaurant he can't get into ha
It's not just that there are so many other risks present in cities -- e.g. it's probably more dangerous just to be walking there in the first place than it is to pass a smoker -- it's that, like, how potent do you imagine cigarette smoke to be that just passing near some every once in a while is going to significantly harm you?

I can't even begin to imagine what kind of model of the world you'd have to be working with to believe that, which is why I deliberately chose the word hysteria to describe it.
Ah thanks. Currently I have already written scrapers for the stuff I need. I was mainly just curious. I'll bookmark it to look at again when I need something next time.
In the past, when there were discussions in W3C about it, and Netflix were blamed for bringing that garbage in, they were saying it's not their fault but they are forced by publishers.

And this claim is a pile of trash:

> This is a requirement for any premium subscription video service.

DRM isn't a requirement. It's pushed by paranoid media execs, and Netflix should have control over it for their own video.
Plenty of people claim that they're scared to contribute because Linus might yell at them. That's unfounded for a lot of reasons.

TL;DR: Test your code before you submit it. Don't accept or acknowledge patches from others that haven't been reviewed or tested. And if you make a mistake, own up quick and he's not going to yell at you. It's pretty simple.

He will occasionally jump in and yell when people aren't accepting responsibility for problems they caused. Especially when they won't accept nicer, less authoritative criticism from their peers.

That's what happened in this case. Check the follow-up message in the thread where Linus explains his dissatisfaction (http://lkml.iu.edu/hypermail/linux/kernel/1710.3/02507.html). The contributor who caused the regression was caught denying that there was even a regression. His patch had already long been identified as the culprit and reverted. But over the course of three weeks he was insisting that it was not a kernel regression. Essentially he dug in for 22 days saying that it wasn't his problem. And he wasted tons of valuable contributor time where people were nicely telling him that, yes, it was indeed a regression.

Multiple people were telling him about the "don't break userspace" policy and how it was a regression. And yet that contributor was still deflecting responsibility for the problems caused. But the problem is that this patch would leave the distros in the lurch - scrambling to update their configuration before the kernel breaks behavior. And that's without any ETA on their "long term ... flexible solution" (http://lkml.iu.edu/hypermail/linux/kernel/1710.3/00380.html). Thousands of people with varying levels of technical competency would have had their systems break in unexpected ways.

Quite frankly, he earned the dressing down. And plenty of people tried to be nice to him about it. It just didn't take hold in his mind until Linus dropped in to rudely remind him that even "correct" behavior is a regression if it breaks userspace. Also note that Linus said the issue had been escalated to him. Someone explicitly brought this to his attention because there was a distinct lack of progress due to CYA responsibility deflection.
FTFY: https://sqlite.org/fts5.html
Ask HN: What used laptop should I buy?
Thank you for correcting me. I edited my post above to reflect that.

But having to provide a lambda for the simple case makes them less useful. Also, nested function calls are less readable than chaining method calls on the same object.
Announcing Pusher Chatkit
Without going into the specifics, I'd argue that, in general, teaching programming using a 'multi-paradigm' language (Python, Javascript, Ruby) is inherently more confusing than picking one that focuses more exclusively on one paradigm. I tried to do as much functional programming in Javascript as I could, and yet I feel I only really learned it when I started working with languages that are 'heavily' functional.

Of course, I'm not saying that a 'multi-paradigm' language for teaching is bad, but personally I'm inclined to think that it might be better to start with something more pure.

Ruby might actually not be a bad choice in this scenario. If you avoid the 'blocks, lamdbas and procs', it seems to me like a great introduction to OO programming. Despite this, for my day to day programming I would also choose Python over Ruby. But perhaps not for teaching.
Hire a driver/guide. He'll navigate around any hassle -- you'll be left in peace -- and he'll sort all the tickets for you. It's probably a one in a lifetime visit, after all.

We lucked out. Our driver turned out to be a Coptic Christian, and he had much to say about (what was then) the recent Arab Spring from a different angle.
It seems pretty unlikely that unikernels will ever replace containers.

Containers allow you to run almost all of the past decades of software with no or little modification (and most modifications are done in bash), a unikernel is more like a new OS that applications need to be ported to, without the full POSIX API (eg, no subprocesses) - it's probably easier to port a multiprocess server (eg most SMTP servers) from Linux to the NT API than to port them to a unikernel
The "World Wide Web" officially died when they decided to bring DRM into the standard. There is nothing more user hostile then that. Very sad to see Sir Lee bend over and actually like it.
Firefox is OK these days. As a user I couldn't care less about Google offering, specifically because of google. That company is creepy and its core mission is to be even more creepy.

On android, Firefox mobile is by far the best browser, since it allows (some) extensions, and you definitely need one - microBlock origin. No effin' way I am going to use their official browser, web is beyond useless with all the ads.
Some pattern recognition seems to be innate, for example chicks just hours old can recognize the shadow of a flying bird as either harmless (long neck short tail) or a predator (short neck long tail).

So, while this pattern in particular doesn't apply to humans (it really doesn't?), many animals have ready-to-use pattern recognition when they are just hours or days old.
Wasn't this submitted already? https://news.ycombinator.com/item?id=15099041
https://news.ycombinator.com/item?id=14522439
How are you able to do 'Show HN' in such recent succession?
The reason is that we also offer that pages can be rendered with a full browser (to execute all JavaScript and make screenshots) which takes much more resources.
Here's Dr. Richard Hipp mentioning that Airbus requested sqlite support for the lifetime of the airframe: https://www.youtube.com/watch?time_continue=3134&v=Jib2AmRb_...
just FYI, Revolut uses TransferWise underneath on a few of their currencies, so you're effectively using them both ;)

happy customer of both to be honest and would recommend both happily
Show HN: Brokenlink.io: A fast broken link checker API
I lived in a city for about a decade, and recently moved out to a far suburb of that city. I was shocked at how far light pollution has come in just that time... you can hardly see the stars at all. It's not hard to imagine, should humanity be lucky enough to continue thriving, that in a few generations things like visible stars, green spaces, wild animals... will be something left for stories. I wonder if those generations which grow up without them will even know enough to miss them?
I was thinking exactly this as I was going through those examples.
Attribution is important to descriptions of reality. Passive voice obscures attribution, giving a distorted or incomplete impression of reality. There are cases where passive voice does not harm attribution, or where lack of attribution serves a purpose, but as a general rule it's worth avoiding.
AFAIK this is only a problem with html
It could also be a health incentive, to get people to quit smoking, and thus lower their healthcare costs (if in the US).
It's the best sight there is . Got to love the man .
CareMessage | Software Engineer | Full-time | Remote | Anywhere | https://caremessage.org

CareMessage (formerly YC W14) is looking for a Software Engineer with Ruby on Rails and/or Elixir experience to help build and maintain our web platform that streamlines care management and delivers interactive mobile programs to improve health outcomes. You’ll be working on exciting projects like optimizing our Sidekiq queuing system, improving and building new integrations with Twilio, building our customer analytics code, and helping improve and maintain our own API. Our engineering team follows agile principles in a test driven development process. We are a remote first team that values open collaboration and shared ownership.

Salary range based on experience from $80K to $120K.

https://caremessage.org/careers

Feel free to email me for more details: dnaves@caremessage.org
Yes, it is. If you keep the money physically it yields exactly zero and nobody is using it. If you lend the money (to a bank or someone else) you get some interest (or not, in some countries interest rates are negative) AND there is someone else who can use that money. Bank deposits are fundamentally different from “hoarding” gold or bitcoins.
I attribute most of Python's growth to being a better general purpose lanaguage than MatLab and BASIC and Java and C++ and FORTRAN in common academic settings and more readable than Perl and more robust than TCL for moderate sized systems in commercial settings. Given JavaScript, there is evidence that the arbitrariness of a programming language's design is at best weakly correlated to its adoption.
I went through without issue. Look at all the clues.
...to which you might add half a billion years of neural architecture evolution. Who do you say are ignoring these facts? No-one in this discussion, as far as I can tell. If anyone is downplaying the difficulty, I would expect to find that among people who think AI is already a solved problem.
Ah yes, the ol’ “what about” argument. “Second-band smoke is dangerous.” “OH YEAH? WHAT ABOUT CAR EXHAUST, HUH!?” Yes, that’s bad too, but we were talking about cigarette smoke.
That article is from 2013. You can set a master password on Chrome now. It then requests that password whenever you wish to view a password in the manager.

If you don't set a master password, then your passwords are (presumably) encrypted with your google account. So anyone using Chrome that's logged into your google account will be able to view the passwords via settings. So just don't let malicious users use your Chrome?

Edit: And there's also a guest mode for Chrome, but they can just exit out of the window and run a regular instance of Chrome to use it under your profile.
> CAS don't do cache flushes. Caches are fully coherent so they never enter into the window in any lock-free algorithms.

Perhaps "Cache Flush" is the wrong word, but as long as cores are forced to communicate, you're going to get a performance penalty.

I know when you do a simple atomic_increment on x86_64 platforms, things can be 2x slower at a minimum than a non-atomic increment.

"Cache Coherence" simply means that the CPU handles all of those edge cases for you. But it still needs to be handled, and that entails a performance penalty.

If you have a 4-core / 8-thread machine (Like a recent Intel i7), its faster to have 8-Non Atomic counters that are added up at the end... rather than to have 1-atomic counter with 8-threads doing atomic-increment on it.

----------------

Any core that modifies a memory location invalidates the cache for all other cores. (ie: Core 1 does atomic_inc(x), implies that Core2/Core3/Core4 all have an invalid value of "x". So atomic_inc(x) causes a cache-flush on Core2/Core3/Core4)

Again, I'm not an expert, but that's my understanding of how modern systems work.

-------

I looked up the Intel Architecture Manual, and they have the following table:

https://imgur.com/uesh8co

If the data is in another core's L1 cache, the latency increases dramatically, especially on a "Dirty Hit". (ie: Core1 is trying to read "x", but Core3 is telling the other cores that "x" has changed)

In effect, its more efficient for an Intel CPU to access something from L3 cache than for it to access a "Dirty" value from another core. Heck, based on these numbers, even a "Clean" hit is more costly than using the L3 cache!
> The obsession with eliminating passive voice drives me nuts.

... people are trying to do this ? Passive voice is the only way to have a meaningful conversation.
> I thought the whole point of crypto currency was that it WASN'T regulated and so how is the government able to do this, let alone say this with any authority?

Because nerds have this assumption that judges are beep-boop robots whose processors can be overloaded by a logical paradox or One Weird Trick, Lawyers Hate Him, and they are not.

The fact that it's "on a computer" means nothing to the judicial system. Just because they can't physically seize a pile of cash, or order a bank to transfer your balance doesn't mean that they can't make and enforce laws. They can order you to transfer money and if you refuse they'll throw your ass in jail for contempt. And they will not give a single fuck about "code is law" or the color of the fringe on the flag if you are trading in illegal securities. Crimes committed on a computer are still crimes.

Seriously, judges are human beings and while the law is certainly technical, they're not going to be impressed by an obvious attempt to end-run around a law. In many situations, merely attempting to do so is itself a crime (f.ex structuring transactions).

Do not fuck with the SEC. Screwing around with rich people's money is Serious Business.
For example, consider the famous opening sentence of Pride and Prejudice:
"It is a truth universally acknowledged, that a single man in possession of a good fortune must be in want of a wife."

The joke only works in passive voice. If you attribute it to a specific person or group then it's no longer comical wishful thinking, it's just plain wrong. Sometimes vagueness is beneficial.
Another problem I have with videos is that I can't go at my own pace---I'm stuck at the pace of the speaker. Some videos I'll watch at 2.5x speed, but the speaker may speed up and slow down at times.

With text, I can speed-read, slowing down at key points as needed. And if it's a text I want to devote more study/attention to, then can print it (which facilitates speed reading as well.)
and?

Just because our economic models are out of date doesn't mean we need to change the way we behave to keep shoe-horning them in. It means we need to change our models to reflect reality.
Amazing Best Technology #364
I'm with you on this. Honestly at this point, if the information is only contained within a video, I skip it and move on

Same, and I've noticed this trend for quite a while now. Text can always be trivially copied, even by a granny, and inserted into an email or forum. A video? You can have a DRM arms race with video.

Videos also prevent skimming, and demand consumption of all content.
Zego [https://www.zegocover.com] | Product Engineer, Platform Engineer | London | On-site | Full-Time

Zego offers insurance tailored to today’s workforce that enjoy the freedom of choosing how, where, and when they work. We are looking for engineers to join our growing tech team.

Zego provides drivers with flexible, hourly insurance while they are working. We are building a modern insurance platform with which to drive innovation in the industry. We’re crafting the smartest insurance company in the world and we want you on board.

Tech we use: Python 3.6/Django, React/React Native, Relay/GraphQL, AWS

Product Engineer - https://zego.recruitee.com/o/product-engineer
Platform Engineer - https://zego.recruitee.com/o/platform-engineer
There's a reason society eventually settled on gold instead of tulips or pinecones. Good monies have certain attributes. Bitcoin's direct technological antecedent was called bitgold, and it was created by Nick Szabo who is a scholar of the origins of money (e.g. http://nakamotoinstitute.org/shelling-out/)
[Electroneum] How to mine with benefits
I use ublock origin and privacy badger not because I am worried about privacy but because the internet is basically unusable without it.

Because of this, I don't see many ads. But I have been an amazon customer since 1999 (according to what they say on their website when I'm logged in.) Looking at what they recommend for me, this personalization stuff is crap.

In music, Amazon recommends bands I never listen to like Montrose, Metallica, and the Doors (and to be fair, some people I've never heard of so I guess it is possible that I would be interested in them. Greta Van Fleet? William Patrick Corgan?)

In books, I do like scifi but they recommend a bunch of books with spaceships shooting each other on the cover - not what I have ever been interested in.

In the "humor and entertainment" section of books they do list some books that I would be interested in but, strangely, none of them are "humor" but are all academic books about videogames (which I am interested in). Even here the recommendation engine is very unsophisticated because in between academic books on videogames there are books on the art of Zelda and other coffee table books that I am not interested in.

And the first book in their recommended children's book section is 1984. (and I don't have any kids any way).

If this is the best they can do with 18 years of tracking my purchases then I am not worried.
> CAS don't do cache flushes. Caches are fully coherent

Not in the sense of flushing from cache to memory, but yes in the sense of data from a local core cache needing to be sent to another core.

Caches may be coherent but coherency is definitely not free, especially on multi-processor systems, which you probably care about if you are writing this kind of code.
Well, certainly the number of keys you can manage is the downside here.

This HSM has limited key storage capabilities to a hundred or so security objects.

The "pizza box vendors" stores hundreds to thousands of keys.

We typically employ key wrapping to reduce HSM key storage requirements, but only in certain situations.
It's at the very least, a double-edged sword. You're essentially condoning grave robbing.
1. Try teaching your students the standard notation for set building -- that's where it comes from, and it's useful outside of Python. https://en.wikipedia.org/wiki/Set-builder_notation

2. They're all still there, but they're not as good as comprehension syntax.

3. Use type(self) unless you know why you'd want to use __class__ (Python 2 old-style classes).

4. That's legacy; probably if things were done from scratch today, they'd be Int, Str, Float. Back when the names were chosen there was a stricter line between builtins and unset-defined classes, and there was more consideration given to people migrating from C and C++.

5. Yes, luckily the .sort() method gives you at least some hint by not returning anything. It's a good application of command-query separation, but I forget it often myself.
IACR Ph.D. Database