skysight-inc/HackerNews huggingface dataset:
Insane. I hope this doesn't pass. Does the UK not have freedom of speech? It sounds like with this and leaving the EU, they are going to be the next Russia or China. Probably even make large internet companies want to not have staff and offices in the UK, costing them on trade.
USDCHF: Weakens, Retains Bearish Bias
The FCC said at the start:

"...As part of this decision, the Commission also refrains (or "forbears") from enforcing provisions of Title II that are not relevant to modern broadband service. "

The rules they were enforcing were:

"Bright Line Rules:

No Blocking: broadband providers may not block access to legal content, applications, services, or non-harmful devices.

No Throttling: broadband providers may not impair or degrade lawful Internet traffic on the basis of content, applications, services, or non-harmful devices.

No Paid Prioritization: broadband providers may not favor some lawful Internet traffic over other lawful traffic in exchange for consideration of any kind—in other words, no "fast lanes." This rule also bans ISPs from prioritizing content and services of their affiliates."

I don't think three is a lot of evidence we will gain more competition or improve the quality/quantity of broadband by giving them up.
Kotlin is not a replacement for Go - it's a fair bit higher on the "abstraction" scale, not the least of which is that it requires a VM.

That said, I'm not convinced that Go's place on that scale is useful in general. It feels like, if raw performance is desirable, then something like Rust - with stronger static typing (and so no overhead on boxing values as interfaces, for example) and no GC is going to be better. And if higher-level, more powerful abstractions are required, then something like Kotlin is going to be better. Go is in that awkward spot where it makes you give up enough of the latter to be painful, but doesn't really make up for it with more of the former.

Of course, this is a subjective opinion. YMMV.
> I agree to a point, and tried to address it above. It's a tradeoff -- do it right now for a big payoff later. However, you have to survive to the payoff. So maybe you spend a bunch of time doing it right, and then die when you haven't actually sold anything yet.

There's a balance to be had, though. I've said it downthread but I'll only mention it again here because it's relevant - I'm a manager in the "enterprise" (or more accurately, I'm a bit more senior than that, but whatever). My perspective doesn't really fall to either extreme:

Coming out of the gate and addressing the unknown (to keep it reasonably similar to startups), I want to move fast, iterate, fail fast and other cliches. Eventually, though, if we're as smart as we think we are, the unknown shrinks within the scope of the problem we're trying to solve and we move to a more manageable pace - with process, standards and all of that. I don't see burn and churn as a long term strategy for my products or my people.

Say what you will about enterprise, but we can't be total idiots. There is complexity in what we do - many are managing projects or programs that would essentially be a startup's entire product. For every unicorn, there are likely thousands of startups that will not grow as large as a single enterprise product. (talking generally here)

I'm not saying we're better or anything, but I'd hope that an enterprise dev's resume doesn't go into the shredder just because they spent years at a large company. Consider that they're probably getting paid pretty well, probably get stock (or at least the discount on purchase of stock) that is already publicly traded and liquid, weeks of paid time off, all sorts of benefits and little concern about job loss due to insolvency. If an enterprise dev is telling a startup they want to work there, it's very likely that they believe in the product or simply want to work at the faster pace, and they'll have as much to teach you as you have to teach them.

/soapbox :D
Thank you! I appreciate the time you took. Yes, you are definitely a part of the target audience I am hoping will take the survey
> In the US once you get off at the train station, well, you're at the train station, and now need a car to go anywhere you actually need to go.

This lesson seems to have been lost for some reason but infrastructure is to be built first, destinations second. Much of the New York City Subway system, like in the Bronx, was built through farmland. Once the infrastructure was built, destinations (dense residential) was built. It has to work that way. It's not practical to expect there to be any destinations available when the subway opens- people need a few decades to rearrange themselves.
This is PowerShell's default behavior, to only run scripts that are signed. The configuration is changeable by an administrator.

I think this is a reasonable precaution, given PowerShell's potential scope as an attack surface, compared to the tiny fraction of Windows machines that are ever actually used to do anything with PowerShell.
My first two sentences are how I feel about this. I am genuinely excited because I do fly and develop for drones and have also been engaging in criminal activity by not registering my drones as the fascists are telling me to.

The third sentence I think you can reasonably label satire. However this latest move is in fact less regulation and that is something our president has promised, so this ruling can very reasonably be seen as part of the Sentiment du Temps that he has initiated. Something I see as a good thing in part.

I post thoughtful and truthful remarks and am used to being punished/downvoted for it. It just shows the ignorance, crassness and hatred of freedom of the downvoters.

You mention Trump supporters. I did not vote for him. But I believe he can, will and is doing a good job. I also have observed there is a factual series of conspiracies by globalists, psychopaths and the deluded against the gentleman to destroy his efforts to improve things. He is an ass so it is understandable that the deluded have gotten sucked into the agendas of evil entities as it seems reasonable to many to hate him and ignore both what he is actually doing and the agenda of his enemies.
Right, etcd's entire focus is on being a consensus database for distributed systems needing coordination, locking, etc. So, eventually consistent WAN replication hasn't really been a focus.

I do think this sort of cross-cluster key replication is useful and we offer it as a userspace external tool called make-mirror[1].

[1] https://github.com/coreos/etcd/blob/master/etcdctl/README.md...
Ask HN: Battery power for Raspberry Pi two way
I am wondering if anyone has found a good USB based battery backup for a Raspberry Pi board. It's important to me that it both can receive charge (to charge the battery) while simultaneously supplying power to the board. I assume this this a common question but I can't find the wordage to google it correctly.

Ideally I'd like something high capacity but small enough to fit within a keyboard sized area. I tried looking for micro UPS, USB APC, etc etc... I know these things must exist. Any advice on where to look?
If you have a regular sedan with a tow ball in Europe, you know that you can't attach very large trailer or pull a lot of weight. Knowing how much you can tow and under what circumstances are part of the written driving test in Sweden at least.

But, and here come the funny cultural differences again, for many Americans it's always MAX STRENGTH or nothing. Regardless of the actual future needs, most would go "YEAH BUT WHAT IF I WANTED TO PULL A HORSE TRAILER? I CAN'T? THEN NO!"
I'm not talking about the IDE, but at the application layer.

Kinda like chaining together unix commands via pipes but instead chaining together back end and front end components.
I agree completely, C# and XAML are definitely the way to go. I only wanted to mention JS as I've built a few UWP apps with it and it was a relatively painless experience. That was back when WinJS was a thing though, so at the time JS apps were very much "native" in design too.

Like you said though, it looks like JS apps are about to be left behind with Fluent/Acrylic in the Fall update. It seems like Microsoft is pushing the "Hosted Web App" for UWP instead of plain JS apps, even if they're still supported.
This is IBM's way of making their remote employees quit rather than looking like the bad guy and firing them. Why fire them and pay them severance when you can give them an ultimatum, let them quit and not pay them any severance? And the ones that don't quit will eventually get fired.

I'm surprised how the board of directors can continually show their confidence in one of the most incompetent IBM CEO's in recent history.
It's a useful rule of thumb in terms of "where you'll stop accelerating with the wind on a normal boat", not absolute hard limit. You can play with length to start planing earlier which is the source of many a fun design (e.g. [1]). Some boats don't have a hull [2].

There's many other variables (weight, beam, etc.), here's a fun one: we once rented a 25 footer mostly because it was incredibly cheap (something like 150 EUR for a week). It was surprisingly slow for its size, even in fairly involved wind where we needed engine help to tack it had trouble breaking past 5-6 knots, to the amusement of not-much-larger yachts that overtook us like a German traveling salesman on the Autobahn. I took a dive under to see what was up with the hull and was faced with a scene not too different from the rocky bottom of the sea: barnacles, algae, some of them trailing foot long appendices...

The OP "yacht" is very strange to me as it looks like the guy put a keel and a sail on a buoy. The sailing dynamics appear to involve pitching forward instead of heeling (leaning sideways). I'm amazed he can do as much as 2.4 knots.

[1] https://www.youtube.com/watch?v=8CbJS_ZHs6g (Formula windsurfing)

[2] https://www.youtube.com/watch?v=Y7ie5C1-b3w (Mirabaud LX: foiler, without hull)
or elixir/erlang.
I think what OP means is a layer in a sense of mapping JSON to your own data types. You just invoke json.Marshal/Unmarshal here, which deserializes into maps and arrays of interface{} - i.e. effectively an untyped data structure.
Cops in this city have not killed anyone since 2015. Know Why
So how does zetcd handle the zookeeper session? It's in zetcd and then the "ephemeral nodes" are removed from etcd if the zk client session expires? This is handled by the proxy?

This seems to be the major design compatibility item between the two is that the zookeeper protocol has a session state and so supports ephemeral nodes. If a gc pauses the jvm for a long time the client session will expire. In etcd there is ttl instead (zookeeper always lacked ttl as it wasn't needed)
Have you noticed that the bug has been fixed?
Please, there's no need to use all-caps for emphasis (and it's against the guidelines). If needed, please use italics (using asterisk for demarcation) instead.

https://news.ycombinator.com/newsguidelines.html
“This Doesn't Sound Legal”: Inside Nike's Oregon Project
Fix ordinary problems.

That is to say, there are probably hundreds of things, off the top of your head, that bother you and probably bother others. To the best of your ability choose one that you have a clear "thread to pull on" - as in, there is an action here you could take that might not be elegant, might not scale, be politically heated, or put you in a position beyond your understanding, ultimately require a team or need financing. But you could do it NOW and not just dream about it, consequences be damned. When the potential is scary like that, that means you actually hold a lot of leverage to unleash new forces, just by starting on it and not stopping.

Most of software isn't like that: it's predictable in its design, it automates a thing that was done slower or less effectively before. It fits into the system and stays within the lines. So you also won't find many examples for the particular thread you're pulling on, and that's expected.

If you do this and it's something you personally care about and will pour heart and soul into, you're doing about as much as anyone could hope for. You won't and can't get all of it right - but what people need isn't perfection, so much as a vehicle that will last well enough for the journey.
It's a pain when you're in the thick of it, but it really is a great way to round out your security program. There's an astonishing number of incredibly skilled and motivated folks out there, and a well-run bounty program can create a nice symbiotic relationship that benefits both.

One other thing that never really gets any press is the fact that a good chunk of the folks sending in reports are young people in impoverished nations. Some of them can be pretty tricky to deal with, but if you hold a hard line on professional expectations you can see them flourish in pretty short order to be some of the best reporters out there.

I only spent a short amount of time on the program I was with, but it was very rewarding. A+++, highly recommended.
Building a Java RESTful back end
Only tangentially related but what is up with the massive increase in URL length?

Taking this one for example:

h t t p s://www.bloomberg.com/news/articles/2017-05-19/americans-are-paying-38-to-collect-1-of-student-debt

If you include the question mark query parameter separator, the tracking parts take up as many characters as the entire reference to the article itself:

?cmpid=BBD051917_BIZ&utm_medium=email&utm_source=newsletter&utm_term=170519&utm_campaign=bloombergdaily

Am I just being an old-man-get-off-my-lawn about this or is there an actual purpose?
How Aborigines Made Australia
If anyone familiar than I am is reading, I'm not sure I understand how fetchInject differs from using

<script src=... async defer>

for all scripts - could anyone explain?
A 15 year veteran would surprise you on that? Assuming college in the US, that person is probably 37 years old. I'm not ripping you or anything, that just surprises me a little because it's my age bracket.

Then again, you hit it with the other point. I'm much more likely to found my own startup than work at someone else's, but a sufficiently disruptive fintech/insurtech/analytics play would totally have my attention. I think the bigger issue is that the right role for me would be something a founder would likely fill, so I'm probably more likely to talk about co-founding something than being an early employee.

Well shit, I'm old!
HN (duh)

Youtube - as bad as certain aspects of YT are (eg, comments), there is a TON of great educational content on there, as well as music videos.

Reddit: Yes, the default subs are horrible, but there are a lot of great specialized subs as well.

Coursera: taking a couple of classes now

ai.stackexchange.com

Facebook - not happy to admit this, but it's force of habit. :-(

news.google.com - news

arxiv.org/corr/home - CS papers

wral.com/weather - local weather

amazon.com - I'm on there either ordering books, adding stuff to my wishlist, or just looking up a book I might want to buy "one day", or checking on the status of an order, pretty much every day.

dilbert.com - lulz

phins.com/phins-urls.html - Dolphins news

digg.com/reader - feedz
Advertising is about creating artificial problems and needs, making the world a shittier place for profit. Maybe pulling your head out of your ass would help?
Many of lex/yacc flaws (flaky syntax, global mutable state…) have nothing to do with their fundamentals. Also, LALR is bad, you want a generalised parser that can work on any context free grammar (Bison has such a mode).

We need no-nonsense lexer and parser generators, that are easy to use, easy to deploy, not too hard to implement, and generate fast parsers. My own studies¹ suggest it can be done. Unfortunately, I'm busy earning a salary right now.

[1]: http://loup-vaillant.fr/tutorials/earley-parsing/
Super interesting article. With a system like this you can also get great metrics for product health / tech debt. If you were also looking at key growth metrics for the apps, you'd be able to see which releases improved them, and give credit (in the cases where it makes sense).

Metrics related, here's a book review of Moneyball I just wrote: https://dtrejo.com/moneyball-book-review-and-measuring-reven...
I love reading about those sailing across the Pacific or Atlantic in tiny boats but this guy is going to instantly regret it when he hits a 20 foot swell.

Say hello to Poseidon for me!
Yea, there are a few things PS does that makes it almost useless.
This is why a media studies degree is useless (assuming thats what the journalist writing this story got) as they probably don't teach basic math.

The point of collection is that it also acts a deterrent. So the $38 spent are not just to get the $1 back but also to tell others that government will go out of the way to get back that debt.

That $38 needs to be compared with the total $s that come in as repayments.

Also this is the reason why government should not be in the business of giving loans.
You need a separate command with options and a flag to do that in bash.

No you don't; whether ls is a builtin is mostly irrelevant, but

ls *1*.png

does exactly what you (I assume) are saying,

dir *1*.png

which AFAIK is a new extension introduced with WinNT's command processor, since the old algorithm...

https://blogs.msdn.microsoft.com/oldnewthing/20071217-00/?p=...

...would effectively produce a pattern matching all files ending in '.png'.
I don't get the regular crashes on my Win10 desktop I use for all my side projects and gaming at home. However, what I do see:

- Firefox freezes constantly requiring force-quits. Reinstalls and updates don't help much. Probably Firefox's fault.

- Mouse randomly clicks off in a different monitor, or in the upper left corner, losing application focus. While a minor annoyance while typing, photoshopping, using hotkeys, it makes me flip my shit when I'm gaming.

- Wakes up from sleep without reason or indication or any way to stop it: The actual fuck. This is the worst. I have fiddled with every setting and registry entry that has anything to do with the computer's sleep state, captured logs to view activity leading to power on and after, changed OS's, formatted, switched hard drives, everything. This bugs the shit out of me, as my aging desktop is loud and hot and makes my bedroom a terrible place to sleep. I have scripts and shortcut keys from my wireless headphones to put my computer back to sleep from my bed, but what the heck is this anyway.

These are all random quality of life improvements that shouldn't need to be so hard to put in place.
I am on your side. This stuff annoys me as well and I've posted about it in the past to no effect. The trailing tracking garbage in urls should be algorithmically removed. If this results in a paywall access block, then posts with such domain names should be blocked. It is absolutely not reasonable to post links that lead to paywalls because that is clearly and by definition, spam. Posting a link in the hope that it will result in someone buying something is totally different from posting a link to something that is news or discussion worthy. Posting commercial links such as all paywalls are is fundamentally spamming and is reasonably removed, blocked, and the poster banned.
I have no opinion about this concert hall until I experienced a concert there. In the meantime I have experienced 2 concerts (and looking forward to a third in a few months) at a surprising venue with great acoustics, seating, and style, Weill Hall at Sonoma State University http://gmc.sonoma.edu/about/about_Weill_Hall
I suspect some are holding back since there's not been much shared about the end purpose. At the moment there's still speculation as to whether it's for mobile devices, desktops, both, or something else.
I'm not really convinced that all (or even most) people from the b) category can be lumped together with a). I like both statically and dynamically typed languages, and it's precisely because I like the latter is why I demand the former to have sufficiently advanced type systems to let me avoid most of the verbosity normally associated with static typing.

When I'm writing in C#, for example, if I'm working with a collection type - and it doesn't matter if it's from the standard library or a third-party package - the only place where I need to mention the type of elements is when I instantiate it. Then I can add and elements to it, and access them later, and it's a lot like Python - I don't have to worry about the type, it's just magically there, thanks to generics (and "var"). But get rid of generics, and now suddenly explicit types are all over the place.
Not GP, but I do think Raekjavik (Iceland)'s concert hall is a beautiful building on the waterfront in a town with older architecture.
And entirely off topic, but a hundred and fifty years after introducing that phrase, one of my favourite post-hardcore bands of all times used it as their name (Poison The Well). It's funny how that happens!
If his results declined after he bought insurance companies, how does that say he was lucky/skilled at running them, and how did he gain any benefits from the leverage they afforded?

The reality is his late career is less impressive only in one way, annualized returns, and it's more impressive in virtually every other way. He started out with less than a million in investors money, and his 40% returns with the Buffett Partnership were probably with an average of $10M to $20M total.

Nowadays his public stock portfolio was $122B at year end 2016. That limits the stock market investments he can make to a tiny fraction of stocks. He's not going to buy hundreds of stocks, not even dozens. He wants to focus in his dozen or so best ideas. So he want to be able to put $10B to work in each and there are very few public companies with market caps and trading volumes large enough to allow him to do that. So problem #1 is that he went from a market of 5,000+ stocks he could choose from to maybe a few hundred, reduced opportunities that directly hurts his returns.

Worse, how can he accumulate $10B worth of a company before he's forced to publicly disclose his purchases. If he's forced to disclose prematurely, his future returns dwindle due to free-riders driving the purchase price up before he's done. That's big problem #2.

The fact that he's still beating the market carrying these heavy chains is more impressive to me than the fact he whipped it at 3x higher rates when he could buy anything he wanted.
TL;DR -

Salt Lake City (~200k pop?) had some police shooting scandals (~1/yr?). In all cases, the shooting was deemed justified.

They're now practicing "de-escalation", and haven't shot anyone (justified or not) in 20 months.

It also occurs to me that they outsource the shooting to SWAT or something, but that seems reasonable to not include in the statistics.
To clarify, the files are encrypted with a symmetric key, which even though is "private", is not part of a public-private key pair in asymmetric crypto.
https://pastebin.com/nGdTsKXx

Not all these are from HN, but it was the origin of the list, and majority of the quotes are.
A Letter from Wordcamp Europe to Emmanuel Macron, the President of France