skysight-inc/HackerNews huggingface dataset:
What are you going to do if your Kotlin app has some problems? Call Google on the phone? Write and email and expect an answer?
Relay v1.0
Thx! Yeah... right now, Chrome displays punycode in the address bar. While I've been making an effort to reach out to various Dev teams behind browsers, my hope is that increased usage and awareness of Emoji Domains leads to full address bar support by Chrome and Firefox.
The article assumes that making money is the primary goal of a corporation. If it was, then sure, WFH would make sense.

However, the corporation is not a sentient entity. It cannot desire anything, be it money or something else. It's only human participants that have incentives.

Of those, only shareholders have direct incentive to make profit, but even then they may own the shares for speculative purposes and desire share price to grow, not necessarily the profit. And even that's not necessarily true: Those who short their position may actually want the shore price to drop.

But shareholders in fact don't have much influence of business decisions of the corporation. Those are delegated to the management. The management, in turn, has incentives to extract as much rent from the business as possible. Thus, it cares about profits only to the extent where it adds to their rent. Increasing profit while decreasing the rent is a bad trade-off.

Regular employees, in their turn have incentives very similar to the management. They want to be paid as much as possible without losing the job.

All in all, you can think of it as of struggle for a limited resource (bananas, share of profit) in a group of chimpanzees.

Now, imagine what would happen if one chimpanzee refused to participate in the group's interactions, walked away, but still demanded his share of bananas. It's not going to work.

In the end, I would say that WFH would only work if everybody worked from home, completely changing the way the group interacts.
Folks, need your opinion
We are developing a new product to make online shopping easier and faster - www.pickxit.com
we'll be happy to know if you see real value in our website.
Thanks
You have a job, right? If your employer solves a useful problem for its customers at a reasonable price, obeys the law and treats its employees and suppliers fairly then it is doing good and you are doing good through it. Do your work conscientiously and go home happy.
You can do something for education.
I was gonna go with "a complete rewrite of the API/SDK by someone other than (apparently) the Summer interns" but yeah, that's a big part of it.
Thanks for pointing this out!

Going through the documentation, another thing that surprised me was the SSLStaplingStandardCacheTimeout setting.

If I understand this correctly, by default Apache will only cache OCSP responses for 1 hour, even if they are still valid for days. I guess increasing this to 1 day or something would make sense as well.
I liked this bundle: https://appsto.re/us/u8wS2.i
Oh, indeed. I can relate to this. So much so that I wrote a blog post about it:

https://likewise.am/2015/12/18/why-i-love-industrious-and-ab...
I've been reading intelligent investor and there's something I don't understand - maybe you can explain. I get that the point here is if the company were liquidated you would get a positive return but how often does that happen? Yes in principle you're getting something at a discount but you can't exit - not like it can go to Apple HQ and demand a withdrawal commensurate with your equity? So why does it matter?
This is unrelated to this outage, however in the past when renewing, I've always had problems resolving acme-v01.api.letsencrypt.org - am I alone with this issue?

I'm running a local dnscache instance (djbdns), perhaps that has something to do with it?
What is it that you mean by a 'non-addictive' opioid? They're all roughly equivalent in their addictive potential. Even those that are used to treat addiction, such as buprenorphine, cause physical and mental dependence.
Chinese museum uses VR and AR to unlock ancient mysteries
Unemployment in the U.S. Is Falling, So Why Isn’t Pay Rising?
> So, Telegram. Before it came around I used my own XMPP-server with diverse clients but Telegram has the advantage of being much more accessible to those less computer-savvy.

Is this still true now that we have <https://conversations.im/>? Most people use messengers only on their phones, anyway.
> Why bother to use it and add one more step for translation to a compiler chain that is already very slow.

I think you have a misconception about how Kotlin and Scala are compiled. Java source code is not generated by either of these compilers -- they both compile directly to .class files, just like javac does. There is no extra step, just a different step.
This is precisely what I meant when I said this was the wrong place to ask. Thanks for providing an example.
The slides don't work very well on an iPad mini :(
Going to the next slide skips 2 at a time
Actually in the US there is a process for granting residency to abused spouses and children:.

https://www.uscis.gov/humanitarian/battered-spouse-children-...

I have heard that it's fairly lenient and the cousin described by OP might fit into that category for immigration status. IANAIL.
Why does he list Bitcoin as an American innovation? Or did I miss read that.
Cheap illumination’s benefits in remote areas may be limited
Ask HN: What's happening with today's outage in a row?
Twitter went down multiple times, Let's Encrypt went down, and AppVeyor is suffering from network slowness. I can't believe they are just coincidence. Is there any large scale DDoS or other attack causing this?
Alternatively, maybe Let's Encrypt ought to Chaos Monkey this up and be down for 4 random hours every month or something on purpose. Or if you want to make very sure you don't turn people away, be down for 4 hours every month for any cert that has been in Let's Encrypt for more than a month or two, so you don't turn away new users. Because if you have a problem with a brief outage, the problem is in the user code, not Let's Encrypt.

It doesn't matter how redundant you make Let's Encrypt, the problem could always like too close to the user code to be resolved, e.g., the data center hosting your server loses internet. 100% uptime in the sense of "system A can always reach service B" is impossible, even if service B never "goes down" strictly speaking.
But the Heroin addiction crisis is the result of a legal drug trade--the prescription of Opioids.
WhatsApp pinned chat feature now on Android: Here’s how it works
WhatsApp has finally introduced the new pin chats feature for all Android users. The feature was earlier this month rolled out to Android beta users. The pin chat feature in WhatsApp allows users to pin favourite chats on top of the Chats tab. With the new feature, WhatsApp users can pin up to three contacts on top of rest of the conversations.

"With pinned chats, you never have to worry about scrolling through the long list of conversations to text your family members or your best friend. Users can now pin up to three of the most important group or individual chats to the top of their chat list for easy access -- simply tap and hold a chat, and then tap the pin icon at the top of your screen," said WhatsApp in a statement announcing the Pin feature for Android.

Unfortunately, the pin chats feature currently support only three chats after which it shows a notification that 'You can only pin up to 3 chats' if you try to pin another chat.

Apart from Pin option, WhatsApp users can also see other options such as Delete, Mute, and Archive as well, which appears on long-pressing a chat.

One of the biggest highlights of the new Pin feature is that you once pin a chat, it will remain on the top of your chat list, irrespective of your dialogue or conversation timings with the individual or group concerned. Users will be able to see any new chats or conversations following the pinned chats. You can also un-pin WhatsApp chats whenever you please, by long pressing the option, and disabling the Pin button.
My point is not just that the Tesla performs better, but that it does so despite a similar 0-60 time. The price difference has nothing to do with that.
What do you eat at the gathering in a mexican place, or pizza place? Its not that easy...
Just a clarification: while it's page 82 of the paper document, it is actually page 84 of the PDF file. The chapter titled "A FRAMEWORK FOR DATA AND THE DIGITAL ECONOMY".

Here is a link that should take you straight to page 84 of the PDF (tested on Firefox and Chrome only):

https://s3.eu-west-2.amazonaws.com/manifesto2017/Manifesto20...
...but also enable laymen to do many things all by themselves instead of hiring another person to do it for them. If done right, ML will increase power of everyone, if not done right, only of a few.

Currently the "art of programming" is a gift to a few. But if you look around you, almost everything people do is some sort of an algorithm, i.e. sequence of steps affected by inputs. ML will allow grasping some very difficult concepts which our brains can do naturally and help automate them, making those algorithms easier.
This all ties back to the underground shoddy manufacturing. Yes, there's piles of stories about people dying from illicit fentanyl. The problem with fentanyl is the dosing; an effective dose is measured in micrograms.

What doesn't get reported with the same sensationalism is that fentanyl is actually used medically, quite successfully. My father had knee surgery a few years ago and was prescribed slow-release fentanyl patches. I'm hazy on the details, but I think it was something like 16ug released over 12 hours. It worked just fine.

I remember hearing recently about some fentanyl deaths in Vancouver that were traced back to a poorly manufactured batch of underground pills. The problem wasn't the average dose in the pills, it was that the fentanyl and filler and binder hadn't been mixed very well before being pressed. The result was that some of the pills had a bunch of fentanyl and some didn't.

While I'm not necessarily in favour of legalizing everything, being able to freely purchase pharmaceutical grade fentanyl pills would go a long way in preventing situations like this.
Josh from Let's Encrypt here. First, my apologies for the trouble this has caused.

I want to offer people here an early root cause analysis. I say early because we have not entirely completed our investigation or a post-mortem.

OCSP requests that use the GET method use standard base64 encoding, which can contain two slashes one after another. While debugging why a small number of OCSP requests consistently failed our engineers observed a rather odd, but standard, web server behavior. When a server receives a request with multiple slashes one after another they will collapse them into a single slash. This caused our OCSP responder to consider requests that had this unusual encoding quirk invalid and would respond to with a '400 Bad Request' response. The fix seemed quite simple: disable the slash collapsing behavior.

Unfortunately, stopping this behavior surfaced a more serious issue. The AIA extension that we include in certificates we issue contains a URI for our OCSP server. This URI contains a trailing slash. According to RFC 6960 Appendix 1 an OCSP request using the GET method is constructed as follows 'GET {url}/{url-encoding of base-64 encoding of the DER encoding of the OCSPRequest}' where the url 'may be derived from the value of the authority information access extension in the certificate being checked for revocation'. A number of user agents take this quite literally and will construct the URL without inspecting the contents of the AIA extension meaning that they ended up with a double slash between the host name and the base64 encoded OCSP request. Before we disabled slash collapsing this was fine as the web server was silently fixing this problem. Once we stopped collapsing slashes we started seeing problems.

From our OCSP server's perspective a majority of the OCSP requests we were receiving were prepended with a slash and we were unable to decode them so we'd respond with a '400 Bad Request' response and move on. This coincided with a large number of previously cached responses on our CDN expiring, causing us to start getting hit with a large number of requests. Because we were responding with '400 Bad Request' responses we were setting explicit no-cache headers which meant we had a near 0% cache (CDN) offload rate and were hit with the full brunt of our OCSP request load at our origin servers. This caused our whole infrastructure to get bogged down.
It gives osmosis. This is valuable, circumstances being in environments distant culturally and technologically from peers.
>Who do you expect will fund these treatment programs? I seriously doubt most addicts are equipped to pay for it.

Taxes on the drugs themselves would probably more than cover it.
Ever heard of the PHP Slack community? Join now
While somewhat unique, the two are not seperable.
The tax revenue isn't spent on rehab though
Legalization benefits addicts in other ways - like safer environments for consumption[0].

Addicts that are presently shooting up in basements and bathroom stalls and under bridges can go to a place where they can receive an injection of a known dosage under supervision of medical professionals.

I'm all for fighting addiction, but that's a complicated and expensive fight. Fighting the crime and fighting overdoses, equally destructive problems to addiction, are much simpler fixes: legalize it.

[0]http://www.seattletimes.com/seattle-news/health/safe-injecti...
Ask HN: How do you learn a algorithm?
I'm not a big fan of theory. But to learn an algorithm. I always start with looking up an existing example on git, then cloning it and creating an implementation in another language, makes me understand how it works with relatively ease ( differenct concepts in a language => small implementation differences)

For me, it seems to be the most efficient way to learn how it works.

I was just wondering, how do you do it?
Hyper.sh comes out best value in cloud hosting tests
Probably an unpopular opinion but as someone working in a creative side of a tech company, my interactions with remote workers are tedious at best.

Discussions that would be counted in seconds sitting side by side turn into 10-20 minute long video awkward skype calls.

There is so much anecdotal evidence in blog posts about how great remote is for your devs because "an interruption costs 15 minutes of concentration" yet very little about the reality of other people in the organisation having to work with these privileged employees.
Very cute, couple months ago NYTimes had a video made by a mother of 2 girls called How Does Life Live? https://www.nytimes.com/video/opinion/100000004976604/how-do...
"I'm bonkers for that shithead" is gonna enter my daily lexicon for sure.
> How long to write a long email? How long to speak to someone?

A better question is how long to say something that is well thought out and matters vs. how long to write something that is well thought out and matters. I have found that talking leads to lots of talking with little real substance unless it is meant to be a brainstorm session. And even then, writing ideas down before hand help to quickly get to the sticking points rather than bike shedding over something trivial and wasting everyones time.

Writing out a page long email forces the writer to think through and address their idea more seriously up front. This is why Bezos famously requires a written memo for a new idea before the meeting [0].

[0] http://blog.idonethis.com/jeff-bezos-self-discipline-writing...
>"How do you pretend you're here to protect and serve when you legalize a drug that seems like it was designed to kill people in a single use?"

This is a different, adjacent issue. However, it's not impossible to make a case for allowing people to purchase lethal substances. On the contrary, there are compelling arguments that people should have the freedom to choose death rather than be forced to continue living.
Twenty years ago when I worked for a FFRDC (Mitre), the number of staff were preallocated for the entire year, and the only decisions were how to allocate personnel onto the pool of candidate projects. As long as you could interest a gov't project manager, you got approval to go ahead with your (their) work. However, our capital expenditures were generally pretty minimal. This model allocated labor almost exclusively.

That's about as liberal an R&D policy as I've seen anywhere.
> when I'm not in the office, I'm not working

This resonates very strongly with me. A "wfh" day for me means I get half as much done. My home is where I keep all my distractions!

> You can put together a logical argument, a coherent or strawman proposal, and discuss things at length point by point. It's much higher bandwidth. But too few people read long emails

My trick for this: I write the email, then I go back to the to start and write a 3-4 sentence summary of the rest of it. Often doing that leads me to delete the rest of the email entirely. Always check: are you writing at length to help someone else, or just to clarify your own thoughts?
I don't know anything about the technicals, politics, and economics of this kind of thing. What's the difference between the two setups?
I hadn't noticed that pattern, but it is an interesting one.
I see Kotlin as a fixed Java, not a subset of Scala. While both may be true views, I think the "fixed Java" view explains the drama behind the announcement.

Kotlin is better at being Java than Java is. Scala is not.
Jennifer Pahlka, the founder of Code for America, has been making the rounds lately.

Good conversations on both the Econtalk podcast [0] (which I know is an HN favorite) and the Long Now Foundation [1].

Procurement sounds absolutely awful at the federal level; she makes a compelling case for how needed modern software design and development processes are in providing effective and cost efficient government services.

[0]http://www.econtalk.org/archives/2017/05/jennifer_pahlka.htm...
[1]http://longnow.org/seminars/02017/feb/01/fixing-government-b...
We Monetize Your Dating Traffic Premium Customer-Centric CPA Network TopOffers
How I'm planning to ditch Apple
I wasn't disagreeing, I was embellishing.
> Nothing really changed, you could write Android apps on Kotlin before, as well as on any other JVM language. But now "Kotlin is the hero".

The announcement shows Google making a commitment to make Kotlin successful in Android, rather than leaving the effort all to the community and JetBrains.

> I suspect that Google's adoption of Kotlin is just politics: [...] Google could acknowledge Scala years ago, but didn't [...]

I think this post explains it best: https://medium.com/@ScalaWilliam/why-scala-didnt-miss-the-an... .

In regards with the Scala evolution, there's a lot of things to be excited about. In the near term, 2.13 should see various optimisation to core libraries and faster compilation.

> Also, I don't understand the point of Kotlin. [...] Kotlin is just a subset of Scala. [...]

Kotlin is a better Java, whereas Scala is much, much more.

Scala is still my go-to JVM languages, but one Kotlin use case for me is to write libraries that will be called from Java [1]. Its biggest advantage is that it's succinct, has useful functional features (e.g. Scala-like collections), while producing code signatures that's very close to Java.

Notes:

[1] - https://github.com/builtamont-oss/cassandra-migration
So innocent until proven guilty isn't a thing anymore?
That's assuming "giving people what they want" is inherently good, or worse, the only good. It is neither.

People getting what they want is neither good nor bad; it is effective at distributing resources. But this is distribution isnt inherently good either (effective != good).

We don't need to define "Good" in order to observe this. Very few definitions by anyone, let alone OP, produce this equivalence.
Lol. Pretty standard to tell courts and investigators: "Hey, how about we meet at my place instead?" (on top of that at a place where the investigators don't have jurisdiction)
I'd say the better business lesson is that you shouldn't rely on stuff you have to keep secret so people don't get outraged.
> When the government floods the economy with cheap money printed out of thin air, it distorts market indicators, making many unprofitable projects appear profitable.

Oh, is that a new one? It's the first time I read someone stating that when VCs get high on drugs and spend their money on stupid ideas, it's because of something the government did.
The CA system isn't perfect, but we haven't moved off of it because there are no viable alternatives. Self signed certs are completely useless.
> The truth is government and the public sector is where innovation, and the money that fuels it, comes from.

Bell labs? Xerox Parc?
Unfortunately many voters have no concept of liberty and what it means for those you disagree with. They're perfectly fine with using the hammer of the state to punish "immoral behavior."

Though how many would look a friend in the eye and say, "if you offend my sensibilities, I want you to be thrown in jail?" Hopefully few.
Scala has the same problem as java. Too many different opinions on how to do things. Too much cruft and ways to shoot yourself.

I see Kotlin as a clean-up job of a lot of syntax design flaws in java.
yeah, ruby allows some odd stuff for sure.
If you haven't done this before and want to explore a bit, I'd recommend using ANTLR 3. You can get an interpreter up and running pretty easily and it targets the major platforms, so you can typically use the produced grammars and generators in your language of choice. Recursive descent is usually the easiest to implement.

This is really only 5 or 10% of the work involved in creating your own language, but it's enough to experiment and give you an idea if you want to proceed with the long and hard work of developing it further.
I agree with all of this, but I'd note that there have still been some exceptional rumblings about Assange in the States.

Specifically, the suggestion was made that by several political figures that he shouldn't be charged until after extradition. Since treason charges can carry the death penalty, and would thereby block extradition from no-death-penalty Sweden, it was proposed that he should be extradited to answer a subpoena (no legal issue), and then immediately charged when delivered to the United States.

To my knowledge, this is pretty bizarre. It blatantly circumvents the intent of most extradition agreements, which is to only extradite where the crime and penalty are acceptable in the host company. Not exactly 'secret charges', since it made the news, but at least an open secret where a subpoena would be issued specifically to avoid normal procedures.

(Of course, nothing ever came of it that I saw. I don't mean to claim there are secret charges, only that this idea might be what people meant.)
It is. My father loathes mobile devices (or rather the stranglehold they seem to have on some people) but he has no qualms against using a PC. I converse with him daily through Telegram. My mother uses Telegram as well, on both her mobile as well as a tablet and her PC.