skysight-inc/HackerNews huggingface dataset:
> You learn binary trees by building one yourself. That's the best way.

Sure - do it once, but if you're trying to wrap your head around a new algorithm or just trying to focus on one particular problem, it's very de-motivating to not have quality debug-printers, random-data-generators, etc.

Story: I was once trying to wrap my head around heap.remove() (and the associated sift-up) and I had my own tree class and various ways to print and inspect it. I couldn't for the life of me figure out why my sift wasn't working. Wasted like an hour on it. Turns out it was working, it was just my printing/test-harness stuff that was flawed. Sure that was a useful hard-knock, but it really served as a distraction from what I was trying to do at the moment. Made me stop doing tree katas for a few weeks out of frustration.

> Something as fundamental like binary trees and algorithms should be taught/learned properly.

"Properly" is pejorative here. I would say this class/lib is an extremely useful part of learning more advanced tree/algo concepts properly.

Having a helper class that solves some of the basics well and sets you up for success lets you focus on the larger problems without having to constantly re-visit the basics. It's how abstractions are made and learned.
Enterprise Drone Solutions Kittyhawk Raises 5M with Boeing HorizonX Ventures
Does Microsoft already owns GitHub? I thought acquisitions took some time to complete.
I still think people would be unhappy about this, but Isreali Companies aren't as big of threats to national security, or at least that is what I've been led to beliee.
What's your to go IDE / text editor to code in Chromebook?
Free speech is good, except when someone uses it to insult neo-Nazis?

In theory, free speech is good. On a level playing field of ideas, neo-Nazi nonsense is revealed to be just that: nonsense. This article is about trickery and deception is used to avoid a level playing field.
Disqus has found it profitable to ignore hate speech, so they ignore hate speech.
Ask HN: Whats your go to method for outsourcing software development in 2018?
Yes. The air quality -- especially the amount of sulfur in the air -- contributes to sulfur creep corrosion. Run that through an image search to see the results. It's pretty dramatic. Some of this equipment looks like it had been underwater.

But while the older equipment was pretty stable (so long as the capacitors didn't bulge), today's equipment usually has to comply with ROHS. Lead, for all its faults, has a very well-understood corrosion mechanic. The exotic blends used to replace it, we're discovering, aren't always so great...

You know, now that I think about it, I wonder how many cell phone warranty claims have been denied for water ingress were actually due to poor solder choices? Color-changing stickers aside, of course.
The article seems to advocate generating code from a live connection to the production database.

This seems very risky. Typically you don't want developers to even have access to the production database most of the time, let alone make it a hard dependency to do a build. Development work should be done using temporary databases.

Also, database schema migrations need to be tested somewhere other than the prod database before going live. All the code changes needed (including to applications) should be written and tested before actually doing the migration.

But this approach would be reasonable with a bit of indirection: one developer (DBA?) makes a database schema change, resulting in a change to a schema file that's checked in (after testing), and code gets generated from the schema file. That way developers all have access to a history of the prod database schema, without access to the database itself.

(This is pretty close to how things are done using protocol buffers.)
So you don't think inflation adjusted spending power defines class?

Income percentiles can't really define progress as of course there will always be e.g. 20% in the bottom 20% of society and their relative income to the top is meaningless as it could just as well mean that the top of society has nothing as it could that the bottom of society has lots. So you need to measure spending power, which is exactly what this paper did.
You could use virtual accounts for that, posting the received funds to your checking account and also to a virtual account that you eventually balance with the purchase (which would also have both real and virtual postings).
I'm half Estonian. My mother and her parents emigrated to the US shortly after WW2, after spending some time as refugees. They've often spoken of one of the manors on the site, it was gratifying to see it there.
That's free lunch thinking. A platform with almost the same specs as Epyc is going to cost almost as much as Epyc and thus there's not really any point.
Why don't you bring this up in your team/company meetings? If you are facing it then be assured that many others are also experiencing the same. It's impacting the productivity of your team. And it can't be solved in isolation.

Together you guys can decide what works best for your environment. It could be headphones, no-disturbance period or the opposite (office hours / collaboration period).
This has nothing to do with free speech because Disqus is neither a public forum nor a governmental entity.
Your null hypothesis shouldn't have anything to do with your theory. It should always be "nothing interesting (or new) is happening".

Your alternative hypothesis is derived from your theory.
Until it IS in a block. Then, like the storage cost of gold or any "real" material, the energy expenditure for maintenance is negligible. In fact, considering the storage requirements of something like bullion I'd argue the maintenance costs are considerably lower.
The New Yorker has formed a union
Businessman and a legendary pornstar implicated in a $300M Bitcoin scam
US house prices are going to rise at twice the speed of inflation and pay
This was one of the more interesting software talks I've listened to recently. I like that it was very real - there are serious, serious problems with Node.js, and the fact that even the creator acknowledges these problems caught my attention.

I'm also a long-time user of Dart, so when he brought that up, and compared TypeScript to its shortcomings, I definitely agreed.

That being said, even with the Deno project, I'm not so sure what can come in terms of performance and security from running JavaScript outside of a browser. The choice of V8 also raises concerns for me about build systems. He mentioned the failing of GYP, but anything using the same build toolchain as Chromium always introduces a wealth of complexity for anyone building said software, as not only do you need Google-specific build tools, but also very specific configuration including Python.

It will be interesting to see what comes in the future.

If it were up to me (which I guess it isn't), I'd probably prioritize portability/less complex builds, built-in FFI, a flat module system, and optimizing calls to C from JS.
Depending on your social circle, the event invites are the problem that dragged me back. I don’t care much about the photos and updates, but:

“Hey! I’m throwing a party”... “Oh shit, I need to go out of my way to make sure so-and-so gets an invite”.

Eventually, one of my friends told me “You not being on FB is adding work for the rest of us. Someone always needs to go out of their way to mention everything to you”.

This article sums up a lot of it: https://www.theverge.com/2018/4/28/17293056/facebook-deletef...

For most people I know who aren’t on FB, they either:

- Have a very small, very tight group of friends.

- Have a (usually) wife / roommate to whom they outsource the maintenance of their social calendar
You can't vote against executive policies that nobody in Congress is brave enough to reign in.
The problem is that the companies that profit from harvesting user data (Microsoft, Facebook, Google, Amazon) also have a huge influence on what users see, and thus, public opinion. Unfortunately, they also have huge lobbyist budgets, so I don't think relying on the state is a good option either.

I'm not sure anything will change until someone with money starts caring. The world needs another Mark Shuttleworth.
One thing to note is that heat diffuses much slower through the ocean than the atmosphere - even if the impact on the average temperature of the ocean is negligible, local thermal pollution could still cause major issues. I don't know how much effect a pod of this size will have; hopefully Microsoft will fund and publish a comprehensive review.
No... it’s made concurrent by the OS anyway. If you tell OpenGL or DirectX or Vulkan or whatever to render a vertex buffer, what actually happens is it is added to a queue and returns immediately. An OS-provided thread asynchronously processes that queue and actually spends a fair amount of resources, on a different hardware core, scheduling the hardware to do what you asked. Same for audio and network. This is regardless of what concurrency the game is written to exploit.
We're all human and changing environments can be tough. My first task as a manager is to always make them feel welcome and comfortable on their first day. Everyone can understand the feeling of being lost and unsure of what the next steps are.

I always detail the stupid things in an email before the new hire shows up. Where to park, what entrance to use, what to wear, etc. Always make it a point to greet them at the door on their first day. It can make a huge difference to see a smiling face first thing when you walk in as opposed to having to talk to a receptionist to page someone.
I am hoping we see some Epyc SKUs clocked to be closer to the threadripper equivalents.
James Clapper doesn't lie on the record. He constructs his statements so carefully that he isn't technically lying, but actually saying something completely different than what you think he is.

The issue here is that Congress is too weak to call him out on it. Clapper started playing this game years ago, and now others are emulating him, to great effect.
KI labs|iOS Software Engineer|Munich,Germany|Onsite|Full time|Internal|https://ki-labs.com/

At KI labs we design and build state of the art software and data products and solutions for the major brands of Germany and Europe. We aim to push the status quo of technology in corporations, with special focus areas of software, data and culture. Inside, we are a team of software developers, designers, product managers and data scientists, who are passionate about building the products of future today. We believe in open-source and independent teams, follow Agile practices, lean startup method and aim to share this culture with our clients. We are mainly located in Munich and recently Lisbon.

We are currently looking for an experienced iOS Software Engineer (Swift, ObjC, ideally senior level) to join our young Mobile team in Munich.

For more details please visit https://ki-labs.com/job/?id=4006632002&gh_jid=4006632002

Contact person: Elena Soare - e.soare@kigroup.de
your comment touches on something i often wonder about: the differences between US civil rights and the civil rights in our liberal democratic allies (e.g. Canada, the UK, France, et al).

i had no idea that in Canada of all places "cops can use evidence even if seized illegally."

i do know, however, that government censorship of the media is permissible in the UK.

there's no single definition of "democracy" across the world.

it's interesting that some in the US seem to think that, if an individual right is ever modified or restricted in the US, it means we're at "the end of democracy." while, at the same time, these very same rights are routinely restricted in other countries but we still consider those countries to be "democracies."
I very much doubt that Tolkien was looking for inspiration in Japanese newspaper articles. According to your own link, the event wasn't widely known even in Japan until the 1960s, after the Lord of the Rings was written.

It seems more likely that Tolkien was drawing on much older (thousands of years) stories about the same thing.
I was very happy to discover the 1700 back then, because I wanted an 8-core machine really badly (not that I really need one, but hey, I only upgrade my desktop every ~5 years), but I did not want an electric radiator. ;-)
Wow, ok. I see what you are saying. Thank you for your perspective, it is illuminating.
I'm sure the environmental impact of this one unit will be negligible, but if the worlds largest tech companies start deploying thousands of these - imaginable, since it's a pretty good idea from an engineering perspective - I could see that causing some real problems.
I do agree that for pure ecommerce store MVP Shopify is the primary option.

I was referring to use case that's been frequent in my experience: a brick and mortar shop wants the online shop capability but does not expect many sales from it.

One case: a friend of mine is currently paying $45 a month for an ancient closed source PHP ecommerce solution and only bringing in $500 month in online sales (but regular foot traffic brings in much more).

He'd love to go to something less expensive, but Shopify wouldn't really change much.

I started setting up Prestahop for him, but realized even if I gifted him my time, the problem would be supporting it afterwards.

Another thing with Shopify, it is not like $29 a month brings you instant happiness. There is a whole Shopify ecosystem with paid plugins etc. So you will need to spend time and get comfortable with Shopify just like you'd need to with Magento, Prestashop, woocommerce etc.

Plus not owning your backend has its own set of problems.

Thus Shopify is not necessarily the best long term solution.
Personally I'd like to see lawmakers do more than make noise. They actually have power to do something about this, but they seem content just going on public witch hunts to show their constituents that "they care" without actually caring.
Your post is strange in how heavily it reflects your values instead of what's best for AMD or consumers. There's nothing so great about the current status quo that we should actively discourage change or real competition. In the unlikely event AMD were ever to supplant Intel (in market share) it would just force Intel into AMD's position now. OH NO! Your business isn't so valuable that it's incentive for AMD to active try and stay in second place.

We want competition, competition pushes progress. Maintaining the status quo, not so much. And if your biggest argument against AMD upsetting the status quo is you'll have to put a little more effort into shopping, well that's not really a problem for most of us...
The truth about sex robots: Panic, pleasure and a candlelit dinner
Still a long ways out. In the meantime, there is a significant trucker shortage and wages are rising quickly.
> No more confusing debit / credit / asset / liability mumbo jumbo

How is separating what you have (assets/liabilities) from your revenues/expenses confusing? It's basic tools to get a view of the profitability vs the Balance sheet (what the company owns) vs the cash flow.

The idea of looking at it in terms of transaction is interesting, I recommend looking at https://martin.kleppmann.com/2011/03/07/accounting-for-compu... for a good take on this idea.

Edit: typo
Amesys, a western society, has sold a surveillance system to Gaddafi, and is still selling to dubious actors.

http://www.telerama.fr/monde/amesys-egyptian-trials-and-trib...
Like if you ran couch-to-10k and only let people on the program who posted certified 10k times ...
The first post in this issue has a summary of some performance problems with node.js: https://github.com/ry/deno/issues/162

Though, it's posted in a confrontational way so the conversation deteriorates.
On Firefox for both Android and desktop, you can switch on tracking protection which removes 99% of ads including the Reuters one. This doesn't require you to install any plugins.

I don't have access to an iPhone, but is this option available on Firefox for iPhone?
Someone needs to do it... thanks Mozilla
> must still IP block all of Europe to comply

It could comply the normal way.
Librem 5 Makes Major Strides in Manufacturing and Development
You can download a content blocker app like AdGuard which integrates directly into Safari through an official API.
It is simple, they know it well and it works. Just like C89.
This is why I'm a contractor. You want me to work 12 hour days? Ok, I'm capped at 40 hours a week? Well, I guess I'll just work 3 days a week then! Or you can approve me for overtime. But either way I'm getting paid for every hour
> You have to debate openly, not suppress speech

What do you call overloading a comment section with sockpuppet accounts?
That's exaggerating things and distorting the intention. It's for his friend's craft "business", not some client who needs a copy and paste effort ready by 9am tomorrow.

Half baked CMS you say... are you predicting the outcome of an effort under your development? Some people should stick to plug and play solutions because it's their only real option.

A friend of mine set up a Woo-commerce site for her boss who ran a shoe shop. The site went up quickly, using templates and "out of the box" things from Woo. Worst store ever. Horrible UX, slow... so slow, click... wait... click... wait. They didn't sell much at all on that site. It was crap. I would not expect better from any plug and play solution, but then again my standards are high for e-commerce stores.
We should break up most of them. Conglomerates and market concentration are bad for innovation and competition in general.
> I wonder if increasing adoption of this system will create a black market of 'score hackers'

Well, Campbell's law...

> "The more any quantitative social indicator is used for social decision-making, the more subject it will be to corruption pressures and the more apt it will be to distort and corrupt the social processes it is intended to monitor."
Regardless of whether you agree or disagree with their "arguments", I'm pretty sure dismissive name calling has no place in an adult discussion. That was my point.
Django package compatibility matrix
Chemical freighter runs aground on remains of a submerged town
> It is unfortunate, but that's how the market works.

And we as humans control "the market". It's not some abstract impossible-to-reason-with force. The better that we understand this, the better our economies will work.
Magic Leap says that they will be going through the hardware and platform at 2pm ET, today (June 6). Not many details otherwise in their email.
Holy grail of cancer research':doctors positive about early detection blood test
Yes, that is a good counterpoint.
Using XP is bad for your (mental) health, and if you try to store sensitive information on it then it's also bad for your social and financial health too.
Show HN: HackerNewsPro – Looking for beta users
"Right, diamonds just cost human lives."

If we're going to play that game, where did the electricity come from for your watt-hour-sucking GPU?

A coal plant? How many died mining it? How many got life long illness or injury/disability mining it? How much poverty did the abusive mining industry inflict on poor dependent communities? How many hundreds of thousands of people were affected by it's emissions? How many thousands of cases of asthma? How many deaths?

If we go nuclear : Where was it mined? Who mined it? Who processed it? Where is the waste going? Are you supporting rather despotic countries depending on ore source? Etc

Or the cards themselves. Where did the rare earth materials that go into graphics cards come from? Where were the graphics card parts manufactured, and where was the board assembled? Are you benefiting from near-slave labor for your cards?

I mean, if we want to play that game, there's so much to examine!
The USG is able to lawfully conduct domestic surveillance of citizens with security clearance. It is trivial to turn that panopticon on to the rest of the populace.
If you can communicate it to someone that manages your team, or the person that manages your manager, you should. They can make it clear that interruptions should only happen on a need to happen basis.

Otherwise, if you are in an environment where people higher up will not empathize and tell you that this just makes you guys more creative:

a) Look for another job
b) In the meantime, print out a quirky message on a piece of paper, to appear friendlier, asking the potential interrupter whether what they need is urgent, and if it's not, to try hitting you on slack if you have your headphones on (or in general even). It should work.
There's a large overlap between serve farms and energy use backed-by/for marketing.
> If we want a meritocracy and opportunity for all, and if we want to maximize talent in our workplaces, we need to counteract the discrimination that's actually happening and not act as if we are in another world.

This is at odds with history. Our society has been trending toward equality since before the civil rights era, and the philosophy that drove the change was individualism--a _rejection_ of identity politics. It's the only philosophy that has ever effectively reduced racism. "Fighting racism with racism" has only ever triggered tribalistic reflexes which increase racism (hence the uptick in right-wing identity politics following the mainstreaming of left-wing identity politics). Racism in any form for any reason is deplorable, and it isn't an effective way to reduce anti-minority racism.
He might not be ignorant, but this whole request couldn't be more vague, and to an outsider makes no sense.

I mean asking Facebook to reveal encrypted data? What even is that? The data is stored readable on both the device and presumably facebook's servers, and is only encrypted in-transit if a user enables that.

Are they asking that the data not be secure in-transit?

It's a nonsense request, until they clarify what exactly it is they want.
Show HN: Chromarkdown – Markdown to pure, static and responsive HTML
A counter example is Skype. They have destroyed the reliability, and turned the app into an embarrassing toy in an attempt to push serious users towards Skype for Business. They are also basically requiring the use of the Windows App Store version, which is seriously lacking in both features and usability. A true study that MS has not changed it’s stripes that much.
> The fact that you ate mostly locally grown food and not imported from far away places didn't make you poor.

The "locally grown food" in many cases was little more besides white flour and mincemeat. (A situation that still exists in parts of rural Russia.) The only tea that could be drunk was usually a single variety of black tea. I think "poverty" is a reasonable adjective for that state of affairs. The fact that people in urban Russia today do have access to a vastly wider choice of food is a significant advance.
When quoting Milton Friedman we are discussing in past tense. Monetary theory has moved on. Friedman’s ideas were revolutionary and they corrected many mistakes of that time, but only some parts of Friedman's monetary theory have survived. He was one of the greatest minds in economics but things are not true just because Friedman said so.

Friedman simple quantity-of-money rule policy didn't withstood the test of time.

His idea that flexible exchange rates make inflation purely domestic issue is the cornerstone of economics. No good economist today believes that unemployment and deflation should be preferred for currency devaluation thanks to Friedman.

Friedman spend his life trying to prove that there had never been
in history a monetary supply growth without being followed by inflation. What he didn't try to prove was that monetary supply growth always is followed by inflation.
Making a Golang Vanity URL
Show HN: Supercraft – Web-based tool to build VR worlds in VR