skysight-inc/HackerNews huggingface dataset:
> Can you please explain why Joy is simple to a non-programmer ?

I don't know, but I'll try.

It's simple, small, and fun.

First, everything about it is simpler than most other languages. (It may be the simplest useful language, e.g. "Brainf*ck" is simpler but impractical.)

Second, there are many small basis sets of functions that provide Turing-completeness. Meaning that you only have to master a few functions to be able to build any possible function.

Third, developing code in Joy is very like a simple puzzle-solving game, it's very fun.

I may be teaching it to non-programmers in a kind of seminar or course soon, so if you are really interested in real-world data please check back on the Thun site in a month or two. Feel free to get in contact with me through that site as well.
> Of course, on the system I administrate, vi is symlinked to ed. Emacs has been replaced by a shell script which 1) Generates a syslog message at level LOG_EMERG; 2) reduces the user's disk quota by 100K; and 3) RUNS ED!!!!!!

SCNR
True in a lot of urban centers during the 'white flight,' but as always, the story is sometimes more complicated.

West Oakland, for example, wasn't wealthy, but was nevertheless a thriving black neighborhood. People, money, music, culture from all over the country flowed in via the rail system and the Port of Oakland. It was vital in America's Jazz scene, dubbed "Harlem of the West."

The postwar period saw West Oakland fragmented and paved over by the Cypress freeway and the 980, construction of the behemoth USPS facility, construction of the BART straight through 7th street. Pretty clear cut case of environmental racism. American city officials in the 40s and 50s had no problem stating their motives out loud -- they saw construction of these projects in thriving black neighborhoods as a win-win: build up infrastructure and get rid of the "local niggertown.[1]"

We can't simply chalk these changes up to inevitable economic downturn. West Oakland is an extreme example, but these changes are guided by policy decisions as much as economic change.

https://books.google.com/books?id=xRntFdOk8ewC&lpg=PA28
One chart that I saw, indicates that the amount of business with Iran that the US does, is about $200 million dollars per year. The EU combined however, did about $25 Billion in trade with Iran last year. So it is much more significant to the EU than the US.
Where in the world are you? If you think Maps has complex routes obsessed with shaving seconds, you should try Waze just for a day. :-)
This is my initial reaction too, but APIs need work for coding, integration, testing, make sure data is sent in the right format, etc, while voice-robot-to-voice-robot will just work out of the box.
I think this could be a workable model for regulating the news media: you can publish whatever you like, as long as you disclose your entire fact-gathering process (i.e. "cite your sources") in a way where another journalist could do the same research and reach the same conclusions about what happened (i.e. "replicate your study".)

Whelp, there goes whistleblowing. Or generally any source that prefers not to be named. I think your proposal destroys some of the most important journalism.

Also, conclusions in journalism are not mathematical equations; they don't derive linearly from the facts. Who gets to decide whether that particular conclusion is or not supported by the facts?
It’s funny to me that most places where you can make any kind of appointment online usually have a captcha. I wonder if they’ll start having a verbal captcha on phone calls.
Problem with this is that it's SEPA Direct Debit. That means you can charge other cards, most companies will never agree to something like that. They prefer sending it themselves.
This Android app allows you to set multiple alarms at once
So, today the Google news is "robots that automatically phone businesses and have conversations on your behalf", and the Microsoft news is "Notepad can now cope with Unix line endings". Symbolic or what?
They can have a cost if they dilute the core intent or message of the email: the reader has a higher cognitive overhead before understanding how to reply or what action to take. I spend a lot effort stripping out fluff and filler fron my mails, as a courtesy to the recipient!
Yes,

If it's good enough to be released, I'd be happy to pay for an unfinished product - if for no other reason than it would make it more sustainable long term.

Or, I'll wait until they figure out what the heck their long term pricing will be before doing the work to change a critical part of the business to run on them.

This "free to use" mindset is incredibly short-sited - especially when it comes to checkout infrastructure. That should be the one thing that people are willing to spend money on.
Yes, I do. I use it a lot to find restaurants. Say I search for "Turkish Restaurant", I'm presented with a map with locations nearby, allowing me to click on each of them and check opening hours, the website, reviews, etc.

It's an awesome tool to discover things in a neighbourhood.
Because the person in the salon or restaurant shouldn't be forced to talk to a bloody computer instead of a human which shows some emotions.
Thanks. I belatedly got my bootlooped Nexus 5x repaired. So, I have another phone for "connectivity". The Nexus 5x still has a better camera. I'd like to keep it connected, for various reasons. But I like the pictures it takes, too. And I'm not ready to drop circa $800 on one of the current "premium" phones.
Can't understand why Window still uses CRLF line endings. Just to be different?
Thanks. I'll go straight to 2018 part 2. Looking forward to it!
Toilet-related injuries and deaths
> how to take those files and turn them into a tiles that correspond with the same basemap image tiles.

The format is very simple to make sense of. Each file is an array of 16 bit integer values in meters, and it maps 1x1 degrees areas. Each file contains 1201x1201 or 3601x3601 samples depending on resolution. The first/last row/columns of adjacent files overlap that’s why non-round numbers.

Both SRTM and tiles use Mercator projection, i.e. mapping them together is very simple, too. In the embedded software I’ve developed, I’ve layered SRTM-derived data on top of OSM tiles, worked quite well and wasn’t too hard to implement. Even though due to very slow target hardware (500MHz CPU, 256MB RAM, slow flash storage), I had to invent more optimized format for SRTM data (dense array of 32x32 tiles taking exactly 2kb/each, aligned by disk sector), and implement an offline converter.

> including for example the USGS high res DEM where available

I haven’t personally compared them, but before picking SRTM for that embedded GIS project I’ve read about them, and concluded SRTM is more reliable. Also the resolution is more or less the same, SRTM offers 25m horizontal resolution, that’s pretty high, IMO.
I don't have to make an argument as to why Norway, New Zealand, Finland, Switzerland, the United Kingdom, Denmark, and the US are not good places to live. They are good places to live. That has nothing to do with whether or not China is a good place to live.

I only have to make the argument that personal freedom is not as important as economic prosperity. Since the end of the Cold War the general thinking was "democratic ideals -> economic prosperity -> good life". China's economic success without embracing democratic ideals to the extent that successful Western countries is making people and governments once again question whether or not the democratic ideals are actually needed.

I would rather live in the US or Europe than China at the moment, but how long will that remain true for most people if China surpasses the US as the world's reigning superpower?
It's only a problem if you actually want to hire them as employees. Otherwise paying workers should be as easy as just wiring money to their bank accounts. It's worker's problem to figure out the laws in their country: do they need to incorporate, how to pay taxes etc.
Or the flip side where you benefit because the system understands your actual risk profile rather than being at the mercy of highly error-prone credit reporting. I had 5 tax liens on my credit from the state of Missouri, despite never living there or operating a business there. It took me a year and a lawsuit against Experian before that was fixed. And this is despite having documents from the Missouri courts discharging the liens and certifying They were imposed in error.
Some of this sounds dangerously close to a keylogger...
It was added in Firefox 57.

Works fine for me.
Ask HN: Is a summary of a non-fiction book a good substitute for the whole book?
For fiction the way a writer tells you a thing really matters.

But for non-fiction books isn't the summary good enough?

I am thinking, in particular, of business books.

On reading an interview with Doerr of his new book (measure what matters), I feel I have a good sense of what is in the book and how to implement it.

Do I? Has anyone read the whole thing? Can they comment?
There are multiple sizes, including ones that barely stick out of a USB-A or USB-C port. The keychain form factor is for convenience. I have multiple keys in multiple sizes for 3 or 4 years now, none fell to mechanical damage (but one pretty much stopped responding to touch, requiring replacement).
Well, Notepad++ still has lots of other features to stay ahead of its little brother.
Both Google and Apple have several recommendations for me in Bellevue, WA, including the closest likely suspect, the Chevron gas station down the street. I assume you've tried this and had less successful results?
What about if the caller makes no such sounds and the recipient makes the offer to handshake?

Anyways, this aspect is more amusing to just think about than anything else. That said, I really hope companies who produce these next-gen AI robo-callers actually have the courtesy of identifying themselves as such. I want to know if I am talking to a human or Duplex. Yes, I may hang up, but I feel uncomfortable being fooled into thinking I am talking to a human when I am not.
I think I experienced this.

Received an email from campus IT that my phone was compromised.

On further digging I would load up a game every once in a while on the campus wireless. That game used a popular/legit Chinese CDN to host something on their news page which was flagged.

Easier to just use my wireless phone package instead of explaining my phone wasn't compromised.
Is it weird being the old guy in classes? That’s honestly what I’d worry the most about.
and/or could they press the button in a terminal and get your token printed out in plaintext, in a way that could be reused?
We already have what is not true in Libel laws. And indeed in every branch of the law. (it's true he did rob the bank / breach the contract) for me the issue is not truth but laziness. No one decides if it is fake news or a breach of contract until the expensive court process is kicked off - someone wants to force the function to return. The cost is implying there is a sufficient loss (pace Peter Theiel) - and so it's worth deciding if this thing is true.

Truth is a slippery concept - and i would far rather - like you- we did not have a department deciding upfront what is or is not truth.

plus this idea might have the pleasing side effect of ministerial pronouncements being testable in court - although this is politics. Johnson's "350 million a week" bus was denounced as untrue from many quarters - but it was still a winning slogan - so perhaps the problem is still not fake news, but what people want to believe and why.
If you get a call from someone who claims to work at the credit card company you use, instead of trusting the caller (who could be a scammer) and potentially divulging private information, you should just hang up and call the number on the back of your card.
We're working to provide more choice with PlaidML as well. You can use it to run Keras, ONNX, and TF models on AMD, Intel, and mobile/embedded GPUs, on most operating systems and OpenCL, LLVM, OpenGL, and soon CUDA and Metal, etc. We would welcome contributions for TensorFlow integration, ROCm support, and anything else that widens support to more people.

https://github.com/plaidml/plaidml
On the other hand, what you describe is exactly what I love about Amazon.

Say I have an idea for a robot, and I need a few dozen battery clips, some NiMH batteries, a dozen servo motors, a bunch of disc magnets, a box of M3 screws/nuts, some PLA filament, a microcontroller board, and a small display panel to show status/errors/etc.

I can buy all of that and have it delivered in a day or two, for less than $5 more per item than I would pay if I ordered it from a Taobao listing and waited on international shipping. And I tend to have less problems with the Amazon listings, presumably because the sellers know I can return them quickly and painlessly if there are quality issues.

There is a huge benefit to being "the everything store".
The way to do this on HN is simply to upvote the story. Comments should be substantive. Otherwise we'd be overrun by "me to" comments.
I also want to add the resources from https://www.handinhandparenting.org/. The techniques mentioned like Special Time and staylistening have helped a lot with my child.
There is lots of room for variation, but there are also things that are well established scientifically to have a known effect.

Talking to babies more helps them learn language faster.

Reading to children helps them become stronger readers.

spanking children makes them more likely to have problems with aggression. Later in life it's a risk factor for criminality and problems with mental health.
There's no Amazon in Argentina.
Having your smartphone nearby takes a toll on your thinking
Respect is earned, not given. Giving something away demeans it and makes it worthless.
the actual keynote starts at 1:20:17. Can someone get the direct link for people coming later? I can't seem to do it on mobile. And can we perhaps change the link in the post?
Welcome to 1974, Microsoft.
Never thought Gmaps was considered fast.

When I open it on a new, top shelf Android, it takes a few seconds to boot. And it boots directly into whatever I searched a few days ago. Then I have to click back, wait for it to not lag, back again, repeat. Then finally I can search. Most often I click back and close it...
May be the salon, restaurant also have a bot talking to Google assistant.
What's the difference here between modifying and violating? Whether or not the amendment process is followed or a law is passed?

I fully agree that the amendment process has to be used. I would be in favor of a 28th amendment placing well thought out limitations on the 1st or the 2nd amendments. Assuming I thought that the limitations it was placing on them were good limitations.
I tend to agree. It wasn't that long ago that kids writing in cursive couldn't wield a quill and blotting paper effectively. Or a wax tablet before that.

At least, until some Doomsday scenario arrives.
Models are the new bitcoins and no one is willing to sell the hardware directly. Weirdly enough exact same thing happened in mining (specialized hardware passed nvidia gpus in performance at some point).
I talked about "lawyers" because I don't know which part of Uber is responsible for damage control and would carefully vet all public statements in such scenarios. I assume it's the legal dept. because that's my understanding of procedures in the place I worked at.

The facts are that:

1. The dashcam video is highly misleading, as many people assumed that the accident would have been hard for a human to avoid based on the video. See threads like [1] - please read the top comment there.

2. The police released a misleading statement, echoing the same sentiment - that the accident was hard to avoid.

3. Uber sat silent for 50 days - long enough for people to stop caring - before admitting fault.

There is no conspiracy here. The actions of the police department have misled the public in Uber's favor (yes, we can assume incompetence as the reason), and Uber used this to their advantage by keeping silent for two months (as any company likely would). This is expected.

What I don't expect is the public cutting Uber any slack in this scenario.

[1] https://www.reddit.com/r/uberdrivers/comments/866xmv/video_f...
I've noticed this as well. My working hypothesis is that one is for high(er) bandwidth and the other for low bandwidth situations.
Firefox: all text is huge.

Chrome: text is reasonably sized.

Contact form: "4096-bit encrypted".
It just seems so impractical. Our society really needs a way people can change careers in middle age. It’s almost impossible right now without a ton of sacrifice.
This is either an unfortunate reality or a limitation of my experience, but I've only had to resort to writing red/green tests when my remote teammates have been at a level where poor performance would be something of an improvement. It's more useful for me when I see tons of commits, yet no forward progress on a measurable goal.
Are you using NLP of any sort to assist with feature extraction? Curious.
Unless I'm mistaken, this is the way that Android already works. If you plug in a locked phone, you must unlock it to get any USB data connection to the phone. When a phone with a data connection is unplugged, the permissions immediately reset and you have to unlock the phone again to restart a data connection.

Not only that, on my Nexus 5x, I have to manually switch from charging mode to data transfer mode every time (the setting doesn't stick).

Unless I've misunderstood the significance of this change, Android actually provides much more security since you can't download files off a locked phone, not even within 7 days.
VERT Threat Alert: May 2018 Patch Tuesday Analysis
Good for you, but I'm not sure what this has to do with the homeless issue. Your comment seemed to insinuate that you left because of it.
No. There is no consensus on anything. People argue a lot. If you have problem, read multiple things and try them to see which works.

Rule of thumb, if it looks like extreme it likely is. If it makes you insecure or is a lot of tiring work to your family then it is bad advice.
Hence the idea of doing it in a frequency humans can't hear.
> Very few citizens of those countries would choose to live in Xi's China instead.

But that's not the relevant question. The relevant question is whether the businesses of those countries would choose to do business from within Xi's China.
I love this idea. While every family and child is different, having all the opinions in one place might be helpful. Even if some of the opinions are conflicting, at least they would all be there so that you could read through them all and choose for yourself what you think is best for you and your family.

I don't know of any such resource. I know there are a lot of "mommy groups" on Facebook where they pass around articles and stuff, but those groups tend to have a bias towards one type of parenting or another.

But at the end of the day, there is no "right way" or "best way", there is only "your way". It's kind of like product management -- you do a bunch of research, choose a path, then gather data as to the outcomes, and change tack if necessary.
A well informed, educated citizenry has been the goal. Sadly it looks like a war on education has been waged by the right for decades now. Bush jr. revising bankruptcy law to permanently hobble those seeking an education before the drinking age has never been challenged. Instead college has sky rocketed and spending on public education has plummeted.
Silly. The future is a stenographic handshake in the initial greeting, which negotiates an upgrade to a proprietary gRPC8 protocol when the caller and recipient are both Google, which Google uses to get a monopoly on telephone-mediated social interactions which it can then monetize by building a social graph to more efficiently target advertising to captive audiences riding Waymo cars.
Don't have anything to live for just too scared to give up and die.
"good parenting" seems incredibly subjective. Say your 3 year old takes an interest in opposite gender clothing/toys. Do "good parents": a) encourage this behavior and buy more opposite gender toys/clothes, b) discourage this buy not buying more c) do nothing, wait and see if child grows out of it
The examples in the repo are all ES5. Does someone know if it supports ES6? There's no mention in the article.
Yes, it is: https://nutritionfacts.org/video/who-says-eggs-arent-healthy...
looks nice but would greatly improve chances if they had labels of what kind of help is needed
The standard answer under US law is the jury; the concern you raise is deeply embedded in our legal system.
The wage growth has been widely distributed, though I don't know the median wage statistics off hand. I presume they're approximately equavalent average wage statistics.

As for jobs, most of those that existed 200 years ago no longer exist or employ a tiny fraction of people they employed at that time, yet we don't have mass unemployment. Automation has never had a broad-based negative impact on the demand for labor. Its effect has been exactly the opposite.
https://news.ycombinator.com/formatdoc

You need a space after the star, (* core) which is not like escaping at all...
The sender of the email needs to do dns resolution properly and securely (for instance, using DNSSEC to have origin authentication), and the domain of the email needs to have sole control of the ability to add DNS entries.

If those hold, then the security should be equivalent to the email account's own security.
Reading to newborn does nothing.
It helps if you’ve had other jobs. Pretty much all jobs have downsides and therefore “suck”.

I think loving your job is a dangerous phantasy sold to CS grads to get the them work longer. It doesn’t mean you have to hate every minute, you can enjoy parts of it.

But passion should be reserved for hobbies outside of work (unless you work for yourself). Be a professional - do it for the money mainly, and don’t put up with horrible work environments. At the end of the day go home and have fun. It’s just a job, and should never define you.
Instead of being able to buy your own nvidia gpu and run any cuda or opencl on it, now you can run only tensor flow on a tpu only in Google cloud.

How fantastic.
>I don't know if this is sarcasm or not but that's pretty standard in the Windows world. Your ops team wouldn't blink at tweaking reg values.

I can only assume that requiring an ops team to change a setting in a basic text editor is pretty standard in the Windows world, too?
7800 hours = 325 days

It's -barely- less than a year, with 24/7 usage
The benefit is that a human could jump in and take over either side of the conversation.

Anyone can have a conversation, but not everyone can author an API.
TPUs seem like great hardware. Unfortunately google's insistence on keeping them in a walled garden is a major deterrent to building something that relies on their platform.
Play is learning, and teaching your kids to love mathematics doesn't take away time at the playground. None of this is mutually exclusive.