skysight-inc/HackerNews huggingface dataset:
>sed is faster than AWK

Depends on the awk implementation and the task. However even gnu awk (gawk) is very fast and mawk is astonishing.

Here is a simple example: count the lines, words, and characters in a 65MB text file (10 copies of a novel stuck together).

Testing on Ubuntu GNU/linux 16.10 reporting middle of three tries:

export LANG=ASCII # avoid differences due to unicode
$ time -p wc big10.txt
1284570 10956950 64886660 big10.txt
real 0.29
user 0.28
sys 0.01
$ time -p gawk '{l+=1; w+=NF; c+=length($0)+1} END {print l, w, c}' big10.txt
1284570 10956950 64886660
real 0.55
user 0.53
sys 0.01

Not bad, gawk is less than twice as slow as wc which is the standard tool for this.

$ time -p mawk '{l+=1; w+=NF; c+=length($0)+1} END {print l, w, c}' big10.txt
1284570 10956950 64886660
real 0.35
user 0.33
sys 0.01

But mawk is only 20% slower than wc. For a script!

Just for a check, even python is not terrible at this:

#!/usr/bin/python
import sys
l, w, c = 0, 0, 0
for line in file(sys.argv[1], "rb"):
l += 1
w += len(line.split())
c += len(line)
print l, w, c

$ time -p ./wc.py big10.txt
1284570 10956950 64886660
real 0.87
user 0.86
sys 0.01

About 3 times slower than wc and mawk.
If it was live people would just be assuming that the person was reading a script. I don’t see how they could demo this without sceptics pointing out the flaws.
Cutting-edge technology might be hard to learn without English. With more conservative technologies it should be possible. I know developers who's not fluent in English and prefers local resources whenever possible, so it's definitely not a prerequisite.
“””
"So there is no possibility a researcher may request blood spots for a specific research experiment … but then keep blood spots without the department's knowledge to be used for other purposes?" she asked.

"I want to say no" he said. "But I'm not ready to say no because I know how humans can be sometimes."
“””

To me that just reads like he knows the answer is yes and is just trying to soft-pedal the truth. Moreover, since he’s literally the person selling the dna, it strains my credulity to believe that he hasn’t already known this, and if he had already taken steps to prevent it from happening, I’m betting he would’ve mentioned them specifically.

“””
"De-identified DNA"
However, Lorey stressed that the blood spots cards, stored in the state biobank, are "de-identified." There is no name or medical information on the card, just the blood spots and a number.
“””

Is he trying to sell me on the idea that my dna can’t be used to personally identify me?

That was a pathetic defense.
This is paywalled, and the web link does not work.
Rationality is mostly orthogonal to empathy, sympathy and compassion. Think of it this way: empathy, sympathy, and compassion are inputs. Rationality is the reasoning process. If you're rational but don't have those three inputs, you'll end up as a highly-functional sociopath. If you do have those three inputs but don't think rationally, you'll make a lot of wrong decisions that hurt people you're trying to help.
That would never happen.

Go team's efforts for NDK deployment were always on their own without any major support from Android team.

Unless you are targeting pre-5.0 devices Dalvik is history, ART is the new runtime system for JVM based languages.

Which even if they would drop them, it is quite clear they would either be replaced by the Web stack (PWA/WebAssembly) or be based on their Flutter ongoing experiments with Dart.
The problem is that the technique is known, and it's going to be duplicated. Although honourable people will not defy patents or reason to use it maliciously dishonourable people will ! The community (and Google) needs to develop a better solution to this and the deep fake video's.
> why wouldn't you think it's a bank?

The Bitbond site says “See no bank. Hear no bank. Speak no bank.”
The price resets for the new owner.

Under Prop 13, the assessed value is X when you buy it and can only be increased by up to ~2% per year even if your home went up in value by much more. This chains together over long periods of time, so that if you bought a place 20 years ago you are now paying property tax on at most X * 1.02^20. If the new owner paid you 5X for the home, they now pay property tax against that value moving forward.
You can "safely assume" bigbugbag just made up that rule.
A blogger criticizing the competitor of the company that puts food on his table.

Just a thought, imagine how this article would be if the companies were reversed. Would it be the same?

And that's how you recognize objectivity...
Let's report it in Git's bug tracker ... oh wait.
It's clearly a contradiction. Companies like Google thrived on addictive behavior of users online. Now that Google basically is the Internet for consumers they want to crack down on online and tech addiction? Really?

What I've read in the article means to me that Google will toss away the responsibility to users by making them aware of their usage patterns. "We told them they need a break from consuming our apps, but they won't listen! ¯\_(ツ)_/¯" Well, good luck with that, I guess? Consumers will buy anything, even that joke about "making consumer tech less consume-ry".
You don't need a complete sequence to get most of the currently useful data, and those sequences will probably be done in due time.
We don’t do it for every type, instead on a case by case basis. IDs are usually the obvious ones since we might have a Product class with fields like ProductId, BrandId, List[TagId], SellerId, etc... and it’d be nice to not mess that up.

Another example is if you have some pricing info you could group it in a case class like:

case class PriceInfo(price: BigDecimal, discount: BigDecimal, currency: Currency)

And then put that into your product class:

case class Product(id: ProductId, price: PriceInfo, ...)

The nice thing about this is that all these related fields can be dealt with in context, i.e. if a function accepts a PriceInfo then it now has access to the price itself and the currency. Not to mention that a price without currency in an e-commerce app can be quite ambiguous.
Why We Should Listen to Flat Earth Believers (Even Though They're Totally Wrong)
Époisses is delicious and even though I've eaten a huge amount of it, it hasn't killed me yet. And I make a living from statistics.
LemonGraph – NSA's embedded graph database with Python bindings
> “Traditional money transfers are relatively costly due to currency exchange fees, and can take up to a few days,” Albrecht told Reuters TV in his office in Berlin’s fashionable neighborhood Prenzlauer Berg. “With Bitbond, payments work independently of where customers are. Via internet it is very, very quick and the fees are low.”

I don't see this argument as valid. When was the last time the currency of a solvent country fell more than 10% within a day? With Bitcoin this happened just yesterday. This means you lost 10% of your money during fiat -> Bitcoin -> fiat if you kept the Bitcoin for longer than 12 hours.

Edit: bitbond.com has a link to a "eBay SEO" optimizer in their website footer. I don't know how much this says about their credibility.
I am inherently suspicious of these types of nanny-tech initiatives. Nintendo did something similar recently in many of their games — warning you that you've been playing for X amount of time, mayba take a break? — and it came off very grating and presumptive, to the point that there were many popular memes created to make fun of it.

It's hard to do these types of warnings with a naive implementation because the system doesn't know the context in hich you are using the progress, it can only guess, and when it guesses wrong, it leaves a bad impression.

Maybe Google can do a better job with its execution, and maybe making it 'opt-in' will solve that disconnect. I guess we'll find out.
https://web.archive.org/web/20180513073120/https://www.econo...
It was also discovered that the scotch tape method emits radiation in the terahertz range (2009) https://www.ncbi.nlm.nih.gov/pubmed/19823546
I haven't given up: we already won. That things are crap in freedom country doesn't make me want to scroll past headlines about HELP US for months on end.
I thought it was talking about some new cars. It would have been clear if they hadn't capitalised it.
Thanks (I didn't think of using wayback machine), but it doesn't work either.
English required to be a software engineer? Of course not. But it helps a lot to understand many resources online and it benefits everyone if you can contribute to a larger community (asking/answering stackoverflow posts, using/creating open source software, etc.).
Small note, Wikipedia says 114 were killed and 216 were injured in the walkway collapse.
I think this is not the best analogy. You can still understand music and learn from other musicians and play together even though neither of you can sight read. But any non-trivial piece of code is textual communication and you will simply not be able to make heads or tails of it if you don't know the language.
Some languages (for exemple Golang) allow you to use any utf8 symbols in your code, so you can name your variables in Russian, for example - https://play.golang.org/p/oWs6mc-JOpI

There is a russian platform 1C:Enterprise that has it's own scripting language that uses syntax similar to Visual Basic and Cyrillic characters too.

You can develop your own language that can allow you to write in Church Slavonic if you wish so: https://ic.pics.livejournal.com/ibigdan/8161099/4947638/4947...

But the thing is - we write in english because it's a defacto standart right now.

Is it a prerequisite for being a software engineer? No. Is it a prerequisite for when you decide to work with an international team or contribute to an opensource project? Pretty much yeah.
> What I find amazing is that there are still people on this planet who oppose anything a government does, so they end up at the perils of corporations.

Well, no, because if they oppose everything government does, they'd oppose corporations, too, since they are a thing government does.
The original link works for me, for what that is worth...
I have used TransferWise, and yes, <1%; however https://revolut.com/ have recently added virtual bank accounts, and currently add no fee for market rate transfers.
I spend a lot of time in the tropics (Thailand) and my keyboard gets stuck keys all the time. It's currently my single quote key. I have tried massaging it, smacking it, faith healing, etc. Nothing helps.
There's loads of non-English documentation, open source and otherwise. The quality is usually not bad. Like everyone says, many languages let you put Unicode in identifiers. I've never actually seen anyone do that. I've seen Unicode in comments, or foreign words romanized to [A-Za-z] for identifiers.

For a high-end customer-facing role involving complex business logic, you probably need something close to native ability. I've seen (and hired) lots of developers with B2 or worse English doing mathematical stuff. Their language skills were an impediment, but not a serious one.
The title and article body claim that they hold a bank license but as far as I can see[0] they only have a license as a financial service provider (FDI) for investment brokering (Anlagevermittlung) and proprietary trading (Eigengeschäft). In particular they are not regulated as a bank with capital requirements (CRR-Kreditinstitut) and can't do their own lending business (Kreditgeschäft).

On their website[1] they make no claim of being a bank. The text only speaks about being a "regulated financial institution" and the footer states "unbank" and "no bank". Their terms of use[2] clearly state that they are only a credit broker, don't loan themselves, and are not party of the loan contract. This is not banking and I'm not sure why Reuters uses that word so much. They don't even mention once that this company is not the lender and heavily imply they are.

[0]: in the database of the German Federal Financial Supervisory Authority: https://portal.mvp.bafin.de/database/InstInfo/institutDetail...

[1]: https://www.bitbond.com/about_us

[2]: https://www.bitbond.com/terms_of_use
It'll be interesting to see how a human knowing they're talking to a bot changes their behaviour - in the demos people thought they were talking to another person, and are polite and professional - I wonder if knowing they're talking to a machine people may change their tone, become more abrupt, speak more slowly or become agressive - maybe it would lead to unconscious (or likely conscious) discrimination against bot calls, in a similar way to stories seen of people with 'ethnic' accents calling restaurants and being told there are no reservations, when in fact there are.
My thoughts

Probably will work with a specific compiler. If it fails it'll likely fall on it's face fail. Which with embedded is the best type of failure.

Also you probably can force the behavior you need with pragma's (not portable)

Portability is usually completely unimportant in embedded.

C89 just don't.

C++ in embedded. Lord god no, if you want to do that use rust instead. Or embedded python or lua, anything but C++.
Two months later two kids cross the road in front of you; the system misidentifies an overflowing bin as woman and stroller and proceeds to plough right through the children.

As this was a technical fault you suffer no legal repercussions, but carry the mental despair over whether you answered the setup question correctly to an early grave.
Why would two currency exchanges (say USD->BTC then BTC->EUR) ever be cheaper than one (USD->EUR) ? There’s nothing special about Bitcoin that means it will have lower spreads than other FX exchanges.
I like all the 3 features mentioned, good they're coming. They really should have been something implementable as an app though. I guess I'll get to test them in 2 or 3 years.

(Yeah, this is annoying - Android versions come out really fast, but their support in most phones lags couple of years, even if you just throw away your current one and go buy a flagship.)
There's almost no feasible way to do this demo live: Google had to get permission of the participants to make and use the recording. California is a two-party consent state for recording calls.

Beyond just recording you'd have to get publicity permission to broadcast such a call to the world as marketing for your products.

If they got all this lined up in advance, they'd be accused of rigging the demo anyway, so what's the point of taking the risk and gaining little. The alternative would have been using a Google employee to play the part of the business, but this too would have subjected them to accusations of rigging.

It's not like people are going to forget about the demo if it never materializes. Google has a lot more to lose than gain from faking something this high profile.

I can't think of a good explanation for him wording his misgivings with such uncharitable language. I never had the feeling that he hated or resented Google quite this much.
I want my wrist babbage engine !
If you mash the escape button before the paywall loads, it doesn't load.
You might be using it instead of APT for some things, but it won't replace APT.

Say you want the newest version of LibreOffice for whatever reason. This is a typical use-case where Snaps will come in handy. They have most dependencies bundled into the application, so you don't have to worry about your whole system getting wonky by installing newer versions of those dependencies to go with the newer version of the application.

This is also meant to serve as a way for devs to release software without much hassle. So, they don't have to open-source their code, hope that someone finds it, packages it for Ubuntu and in like five years time is available to end-users through the repositories.

They also don't have to worry about building a .deb, .rpm, Arch's format and whatever else there is, including accounting for the differences between distros. So, Snaps are supposed to work on all distros the same.

Ultimately, this will bring in more proprietary applications.

Well, and Snaps are sandboxed, so there's some protection, which makes those proprietary applications somewhat more acceptable, but as this piece of news shows, it's not complete protection.

Is it another attempt of Canonical to jump on the app store bandwagon? Most definitely yes. There's a competing format, Flatpak, which does pretty much the same, also AppImage which is somewhat older and without sandboxing, and Canonical is mainly just pushing their own format, because they'll have control of the store behind it.

Like, it's not impossible to hook up other Snap stores, but Canonical has established their infrastructure as the primary source and then how many users are going to look elsewhere?
Regardless of how serious google is about this (their main customers are advertisers not android users), I don’t find the measures convincing

- shush: if you place your phone on the table you’ll pick it up from time to time anyways, it won’t be out of sight

- colors: I’ve turned my smartphone screen B&W, I haven’t noticed a big difference yet, but maybe there is some research out there

- monitoring: I installed a monitor app a while back. While I was observing my usage in the beginning regularly, today, I just don’t care about the numbers anymore

I highly doubt that these measures will be effective
In fact, it’s not registered as a bank. It’s registered as a financial services company: https://www.crowdfundinsider.com/2016/10/91093-brief-german-...

In addition, it’d be quite weird if a random startup can get a banking license just like this. Consider N26, the Berlin-based fintech “bank” and unicorn took years and just got theirs some months ago.
10 Bintang Yang Terancam Absen Di Piala Dunia 2018
Dupe: https://news.ycombinator.com/item?id=17053053 was on the frontpage yesterday.

Speaking of which, 'dang et al., would it be hard to add a full ISO 8601 timestamp as a "title" attribute to the date permalink? I get that "1 day ago" is more readable, but there are cases I'd love to know the actual date and time something was posted.
If I were to create a service like duplex, the first couple of years of the service would be low paid humans. Everything would be recorded to create the transcripts for the ai to learn from.

I would expect Google to work in a similar way.
Bits are a way of donating where Twitch gets a cut.

They can’t get rid of 3rd party donations because they’ve been there forever, but they can continue to incentivise every other kind of revenue except them.

Anecdotally 3rd party donations have dropped a lot over the last couple of years in relation to other forms
It’s not a bank:

https://news.ycombinator.com/item?id=17057934
What's entitled about that? La Croix is just flavored seltzer water, you can buy a 24 pack for $10 at costco. It's not like they have champagne on tap.
The article doesn’t mention and routine sequencing at all. I think it’s unlikely that someone has paid to sequence, even the exosomes of these individuals... who knows though!
The article says: "In 2016, Bitbond was officially licensed as a bank and has gained many investors since." Maybe the article is wrong then.
Building a better Aero Snap
(2014) on paperboys, newsagents and exceptions
Have a look at https://www.theguardian.com/technology/2006/feb/01/news.g2

This news article was about a year later than the original once, from what I remember. It misses the part that you can replace the name and spoof the SMS though. The SMS quoted in the article does demonstrate the vulnerabilities mentioned though

"Ben Goldacre has requested to add you to their Buddy List! To accept, simply reply to this message with 'LOCATE'"

Interesting to re-discover this now, I had no idea who Ben Goldacre was at the time.

If you find services still vulnerable, let me know. I'm still friends with the journalist who initially spoke to Vodafone before publishing in the first place. I remember them not being too pleased, but as I say, it never got fixed.
Reminds me of "project Milo" from back in 2009 https://en.wikipedia.org/wiki/Project_Milo https://www.youtube.com/watch?v=CPIbGnBQcJY
An interesting point about programming is that so much of it comes down to thinking of names. I found this article by a Russian native about programming and naming things rather fascinating:

https://temochka.com/blog/posts/2017/06/28/the-language-of-p...
The Federal Minister of Transport and Digital Infrastructure actually is Andreas Scheuer. Christian Schmidt was only interim.
Not OP but maybe the question is more "why is the state doing this and keeping the samples" not "why is it useful"...
'The Expanse' Canceled at Syfy
Settare is an Italian verb:
https://www.garzantilinguistica.it/ricerca/?q=settare

http://www.treccani.it/vocabolario/settare/

It has been derived from the equivalent English verb, but nowadays it is a real Italian world.

“Mouse” is another word borrowed from English while in Spanish for example it’s called “Raton”. In Italian you will never find anyone calling it “Topo”.
99% of the people who play in bands have no idea how to read a score, let alone sight read.
> and for devices with greater resources, C++ becomes an even better fit.

It doesn't take having much more resources before switching away from C++ is a vastly better option though.
You can just mirror your source code there to make it visible and continue to handle to workflow as usual.
An (large adult male) human (maybe with a knife or stick) at least has solid odds against a cougar/puma/jaguar/leopard, particularly if not taken unaware; a grizzly bear is going to win, and your only real chance of survival would be if it breaks off the attack. Even with a firearm, a brown bear is terrifying.
Which misconceptions? I read up until he even pulled the racism card and learned exactly nothing. Obviously they didn't destroy all technology a feat which would require a lot of technology.
Show HN: React linear gradient button component
It's classic Gruber. He wants you to definitely come away with the impression that this is a total fraud but he also wants complete deniability that he called it a fraud.
The build service at build.snapcraft.io is what builds it. Anyone can hook up their github repo (containing a snapcraft.yaml) to build and have to automatically rebuild the snap when changes in the git repo occur. It then pushes the snap to the 'edge' channel in the store. Developer validates that build and then pushes to stable for all users.
> The dotcom crash of 2001 wiped out 99% of SoftBank’s market value.

> But one investment—$20m sunk into Alibaba—is regarded as one of the best in history. The Chinese internet titan went public in 2014 in the world’s biggest IPO. SoftBank’s 28% stake in the firm is now worth $140bn.

Kind of mind-boggling who the real titan is here: Alibaba. Both Softbank and the late Yahoo (USA)'s core value were derived solely on Alibaba's market cap, able to prop up whole other companies.

I've always assumed that Softbank was getting its money from Softbank, but surprising to learn they derived most of their value from Alibaba stock just like Yahoo. If you've ever seen their Pepper robots, it's pretty indicative of how dysfunctional their main offerings are. The robot is somehow everywhere in Japan, but 100% useless as well.
Then the sharing model will win over ownership, and you spend most of the road time in rented self-driving cars. Your "first-time session" becomes saved as your morality profile, and each car you rent will use your morality profile to make decisions.

Fast forward couple months, and your morality profile is yet another thing advertisers know about you.
The first two features are nice, but the cynical side of me thinks this is all about the third feature. They will simultaneously appear concerned and helpful, easing the growing negative sentiment against them while introducing even more pervasive tracking.
TBH none of the list.