skysight-inc/HackerNews huggingface dataset:
Four days ago I asked [1] for technical references on the differences between the Bitcoin and Ethereum blockchain length function, and @DennisP replied with 4 links [2] - Satoshi's classic paper and 3 good links on Ethereum.

[1] https://news.ycombinator.com/item?id=14624714

[2] https://news.ycombinator.com/item?id=14625430
Almost every relational/SQL database supports JSON natively by now. In case of PostgreSQL you can even choose between raw data dumping JSON with slow lookup or parsed JSONB with fast lookup, see

https://www.postgresql.org/docs/current/static/datatype-json...

From there you can extract data into relational tables and dig into 40+ years of SQL knowledge/tools for complex cross table analysing/manipulating/exporting/etc. If you don't need this, fine. Nobody forces you. There are some cases like Let's Encrypt where a dumb, fast schema-less datastore makes sense.
It says he gave a $1 million donation to the Christchurch earthquake relief fund. That'll probably do it yeah.
The New York Times retiring their ombudsman was high profile news, but is there actually a trend of (quality) newspapers removing that role from their staff? The NYT move was widely criticised by its peers (not just by the other ombudsmen, but by the newspapers themselves in their respective editorials).
As a Kiwi. The way they treat Kim Dotcom, and grant this guy citizen for little reason at all, makes me super disappointed in NZ. Just so sad we treat people differently based on politics that don't benefit NZ.
> The 'white' part is just as problematic. There are many other things that make life hard too. Having a mental illness, for example, or being molested/abused as a child. Yet no one talks about non-mentally-ill privilege or unmolested privilege.

Actually yes, we do talk about that stuff as well. The things that you hear most - racial, gender, wealth and religious privilege - are talked about more simply because they affect proportionally more people.
We detached this subthread from https://news.ycombinator.com/item?id=14654396 and marked it off-topic.
Instant Pot is a combo slow cooker-pressure cooker. It can brown meat, too.
However controversial Thiel may be, there's no arguing the benefits his citizenship grants NZ. If millions of $$ of investment and hundreds of jobs created don't qualify him for citizenship, there's a fallacy needing fixing.

FYI - the US grants green cards to foreigners who invest $1M in new American businesses, NZ probably has an unwritten law that grants citizenship to those who stimulate it's economy
The job of the scammer is to make his victim think he does some very important things, which always include spending on some bells and whistles.
You don't need the backdoored lock. The TSA will helpfully use bolt cutters on any locks they don't have a working key for.

Source: Me and my suitcase a couple of years ago. (Which had a TSA approved lock on it!!)
Receipt processing techniques
> The US now treats citizens from allied countries as enemies and that's just plain rude and not called for.

Alliances are made between governments, not the citizenry. What if the US thinks there's a threat to it within the citizenry of an allied country? What should the US do?
I'll take any motherfucker's money if he given' it away - Geoff "Clay Davis" May
EU's happy unlimited-immigration-with-no-questions programme was enacted by Merkel.

That’s not a thing. There are enough real problems without making more of them up.
It was still legal in 2015 in the Netherlands: http://www.nu.nl/economie/4142545/inspectie-adviseert-minist... . Looking at the German Wikipedia ("Akkordlohn"), it is still legal in Germany in specific circumstances.
A majority of immigrants/refugees to the EU are not citizens of the EU, and do therefore not have a EU passport.
Actually it was the adoption of GNU/Linux and *BSD that increased the adoption of C, given that they are UNIX systems.

Back when GNU/Linux was still at 0.x versions, the OS industry was starting to move to C++. Even though Mac OS, OS/2 and Windows APIs and kernel were written in C, everyone was using C++ with PowerPlant, OWL, MFC, CSet++ or languages like Object Pascal.

OS like Symbian and BeOS were even fully written in C++.

But the adoption of GNU/LInux and BSD with the sacred C, meant everyone that wanted to play ball need to use C instead, so the adoption grew and here we are.
If anything, the Internet was created with resilience in mind. In fact there's no "the Internet" but rather a network of networks that is by design very hard to shut down.

You could argue that there's DNS and that's more centralized. Sure, point granted. But in theory you can use any DNS server you want... and there are projects which make it less centralized.

Now, a different topic is how devices can be taken over... and that's something where we are largely to blame. The EFF, and the old-school Open source folks like Stallman have been warning for years that we are giving away our freedoms by trusting in closed source. And they were right. Now we are in the endgame where every single computer has one of these "management engines" that cannot be turned off and have total control over a computer, and where your source of entropy is RDRAND.
The Common Lisp Cookbook
Imagine there's a new accelerator called ZD. You have a new product idea, a prototype and a team. Instead of investing money for a few percent of the company, helping to refine your product market fit, and introducing you to investors they instead take 100% ownership, give you a comfortable salary, and keep you bunkered away from talking to people on the outside very much.

Would you rather personally take your idea to YC or ZD? Which of the two do you think would be more successful in the long run? Which environment will actually motivate the "founders" and stimulate them to create something great and useful?

Area 120 is awkwardly addressing the fact that 20% time is dying and isn't working as the R&D model that once drove so much innovation at Google. The name itself is an in-joke about the tendency for 20% time to only come after you've done the first 100%.
They're still alive and well, just not sexy anymore. The most popular one is probably still Hibernate which is helped by Java being the top high level language.

I never understood the ORM hate. Every place I worked we intermingled raw SQL when needed. Hibernate has a way to clear query caches so you can use raw SQL when you need to. You can just write raw SQL exclusively if you want within hibernate so I don't get how you could lose anything :) .

Still, my experience is mostly with Hibernate. It's extremely mature, meaning reliable, feature complete, and only 0-30% slower than raw queries in most cases. It makes adding support for things like multitenency and audited tables a breeze without losing database agnostic behavior. It makes database upgrades a no-brainer 95% of the time too. It has a built in memory caches that help enormously with common queries. Probably the biggest thing is it makes the database strongly typed so it's possible to refactor. Code refactoring in Java is easy but raw stringified SQL is nearly impossible to fix in any language.

I think the biggest counterpoint to ORM is shitty ORM. Things like SQLAlchemy generate downright horrific SQL slowing everything to a crawl and causing deadlocks. Another honest counterpoint to ORM is the learning curve. Everyone is taught SQL but the ORM is more abstract and harder to reason about, not a fun thing to learn.

TBH I think most ORM's are just poorly done. Putting an object abstraction on a relational database is hard. The only ones I've enjoyed for completeness and performance are Hibernate and to some extent Entity Framework. EF being the easiest to use but a bit slower with less features.

I have heard good things about Dapper but never used it. I like the idea of injecting a SQL DSL into the language itself, wish it was more prevalent.
That's so f* up!
Money can buy you everything. Even a citizenship. The NZ-gov should asked themselves why a close Trump supporter and VC is looking for a safe haven outside of the US. Will this person really add value to the society? Or will he build a massive mansion with a wall around it and an airport?
Is there any alternative to Safari Books Online which has both beginner and advanced content, video and books ?
(If yes, I want to move away from Safari on grounds of principle)
Show HN: Niftio – a whole presentations platform
If his monetary support helps to get a figure similar to Trump elected in NZ then he'd have done way more damage than good for the country. Whatever your stance on his politics, his election has done immense damage to the image of the US in the rest of the world.

Edit: Wow, my first negative score comment. Could some of the people silently downvoting please specify whether they think my comment is factually incorrect or non-pertinent?
Thats would be assembler and demoscene.
I understand that the company told him to not mess with the system, but why not show them that you found a way to automate the process without admitting that he's been using it for a long time.

Maybe I'm too optimistic or naive but after successfully showing them that it works and saves time the conversation could move on to optimizing other tasks and problems the company surely encounters. Instead of letting the guy go I could easily see how they find additional value in him in other areas.
I suppose that you don't eat meat or potatoes, isn't?

They are in the same IARC group than the glyphosate
It's called foreign investment. And not buyyourselfin investment.
How to Rip and Convert Blu-Ray to M2TS with Blu-Ray to M2TS Ripper
I think you must've meant, "under promise, over deliver"? At least that's what Scotty was suggesting.
My daughter did some "Coding" a few years ago in NZ as part of her ICT, I looked over her work when she was getting frustrated and to tell the truth it was just end-to-end acronyms and jargon and the program they had to write in java script was soul destroying.

If I had to have done this at such an early age I would never actively avoided learning electronics or programming. The rest of the ICT course was basically learning Microsoft office and outlook.

She's taking HR at university so should have a job (sacking people) come the robot/AI revolution :-)
DFS+Fanduel+MLB+Picks+6/29/17:+Top+3+Pitchers
I think this mindset is largely harmful to the indigenous population of New Zealand, who will become increasingly margenalized in their home country.
> My feeling is that the misery is inhomogeneously distributed when it comes to scientific disciplines.

>In physics the situation does not seem too terrible.

Yes, but I'd add that also in physics the misery is quite inhomogeneous. High Energy Physics seems to lean heavily towards arxiv and open access, whereas in some other subfields, such as my own in my previous life, some Elsevier journal is #1. Or lets say, on my own case, I guess one could (mostly, at least) publish in non-Elsevier journals with no serious career repercussions, but we're still very far from being able give Elsevier the finger and get by without an Elsevier subscription since one needs to read what others are doing.

I'm somewhat hopeful for the longer term, but progress is painfully slow.
Effective Microservices in a Data-Centric World
This is a really good point against leaving Google to create a startup. At the same time, people were frustrated that Area 120 was only open to folks in Mountain View. Maybe that changed for future classes but I know it was an issue with the first one.
In NZ the conservative party makes the US democrats look like a far right party. It's hard to see a Trump emerging in a landscape like that.
The CIA itself has a utopic mission
Gestapo? Really? That's being needlessly hyperbolic, and somewhat ridiculous considering the raids concerned support for National Socialism. In the instance you presented no one was arrested.

"The operation focused in particular on the German state of Bavaria, where according to police sources, a secret Facebook group had posted messages glamorizing National Socialism, which is illegal in Germany."

http://www.dw.com/en/german-police-launch-mass-raids-over-on...
I heard that the guy who invented TV thought it was going to be this amazing thing that would transit knowledge and learning like never before. After he saw all the junk they put on it, he regretted ever inventing it. The same could be said for the internet. A genius that invention that allows so much good in the world, yet the amount of mind-destroying, family-killing pornography on it makes one wonder how much better the world is with it.

I think at the end of the day, it comes down to the fact that with every new tool comes the opportunity to use it for good or evil. So I wouldn't blame the tool, but rather the person who uses it for good purposes or for ill.
Let's Encrypt Has Issued 100 Million Certificates
That's ridiculous.

How can it take that long for funds to clear?
I back you up. There's more than just a dollar figure to these subjective decisions.

E.g. Seychelles islands grants immunity to misdemeanors for a $2 million fee. But how can a society function with the rule of law suspended for the wealthy?
Someone on the previous thread about this was arguing that the EU should start imposing the same sorts of border checks that the US does to EU citizens, on US citizens coming into the EU. The theory being that this sort of tit-for-tat approach would encourage US citizens so inconvenienced would shout for change at home.

Your post though, I think, outlines the flaw in this argument. Which is that most people don't know the rules of entry for foreign visitors to their own country, and wouldn't therefore know how onerous it is. Why would a US passport holder (by birth, of whom I assume there are a lot more than people who've acquired one after immigrating) have any clue what I, as a UK citizen, need to do in order to spend my vacation or whatever in Miami?

I'm certainly hazy on what the current rules are for US citizens to come to the UK. I think we have a visa-waiver programme in place, but I don't know what it entails at all, and whether it's already as terrible for US citizens coming here as it is for me going to the US.

So instigating those sorts of changes here is probably unlikely to have the effect that poster was hoping for. Hmm. This turned into a much longer ramble than I thought it would.
> According to today's identity politics, I need to be aware of my privilege as a white male nonetheless

Yup. That's because as a white male, you are still "privileged".

I'm using quotes here, because, as mentioned earlier, I don't think the word is a good fit for the concept it's supposed to describe. Privilege implies something above and beyond what you are normally entitled to; something that you don't necessarily deserve (I think that's the main reason why it elicits such a strong negative emotional response in people). As a white male, you are not getting such things - you're getting normal treatment, in a sense that no-one is making negative assumptions about your intellect, your ability to learn etc on the basis of your race or gender (they may well be making them based on other traits, and you can be underprivileged on the corresponding other axes). The problem is that others do get negative points solely on account of their gender, color of their skin, or even their name alone (http://www.nber.org/digest/sep03/w9873.html).

So you don't really have a "white privilege", but rather they have a "non-white handicap". It's not your fault - but because of said privilege, you're in a better position to try to correct it somewhat.

> I'm not really sure what I'm supposed to do with that once aware

Try to do what you can to even things out. I'm not even necessarily talking about politics, but just day to day things. Have you ever seen a female colleague being talked over in a meeting in your presence? Try to steer the discussion to give her voice. Ever been on a hiring interview loop, and heard dismissive racial or cultural stereotyping of a candidate based on their name alone ("I wonder if he codes like an Indian" etc)? Point it out. And so on.
Of course you can buy citizenship. Here's a price list if you are in the market:

https://www.weforum.org/agenda/2016/07/countries-selling-cit...
Perhaps, but teachers not capturing enough of the economic value of their teaching shouldn't be the core of an argument to pay teachers more.

This is an impoverished view of the value of education (from the paper you linked): "We calculate the social product of teaching as the impact of an additional year of schooling on aggregate earnings of all workers in the economy. The spillover from teaching is then this social product less the annual earnings of all teachers."
Sorry if I'm being thick, but do you mean they committed suicide?
This is already the case. Every scientific journal article I've seen starts with an abstract, which is exactly the summary you desire.
There's simple and simple. In biology the number of dimensions is large, which one is simplified ? blood flow ? visual stimulus ? change of locus (again more stimulus since memories cannot help parsing reality).
Litecoin's value went up 10 fold because it found a way to be useful as a new feature testbed for somewhat real life situation. Went up with SegWit and Lightning Network activation accordingly, from $4. It would've only valued as that for being "plan B".
Why is there a judgement on the CIA's actions everytime a tool is leaked? It's their charter to spy on people, the targets being American or not is just semantic. For instance, if an American is a person of interest, the only thing required is for the FBI to be a (name sake) participant in the investigation.

Outrage against 3 letter security/intelligence agencies is silly, it's like blaming Google for being great at search
> To that point why, does no-one ever suggest that a WYSIWYG text editor (MS Word for example) is for non-writers to use?

That was actually a frequent complaint (along with the, research-backed, complaint that WYSIWYG editors make people, whether pros or not, worse writers) in the 1980s through early 1990s. You still sometimes hear it from pros that hold to archaic word processors, long-hand, or typewriting for manuscripts, or the TeX crowd.

It wasn't effective at stopping WYSIWYG from taking over virtually everything, but it wasn't an uncommon complaint.
Sad news. O'Reilly were one of the few publishers that used my preferred model: buy the paper book and add the eBook version for $10 extra or so. Best of both worlds.
Peter Scholze and the Future of Arithmetic Geometry (2016)
>That's so f up! Money can buy you everything. Even a citizenship.*

The latter "money for citizenship" has been going on in most countries (including the USA).

https://www.weforum.org/agenda/2016/07/countries-selling-cit...
It's politics that benefits the 1%'ers in NZ.

Same reason why street crime is a real problem in NZ when it shouldn't be because it goes relatively unenforced, while they run arguably one of the highest War on Drugs cost/GDP per capita in the world. Makes no sense for the dignity of the average NZ citizen.
This type of thing might be very useful for preventing CIA's Harold Martin counterparts from leaking from CIA hardware.
It takes way less than $1 million to get citizenship in most countries:

https://www.weforum.org/agenda/2016/07/countries-selling-cit...
I don't think people of New Zealand are marginalized by Peter Thiel.
Shameless plug: When I read about SSDP a little while ago I was curious to see if I'd encounter it on many networks. As I was also trying to learn Swift/Apple development, I've written two (non-free) little apps for macOS/iOS to monitor SSDP messages:

https://itunes.apple.com/us/app/ssdp-monitor/id1191370425?mt...

https://itunes.apple.com/be/app/ssdp-monitor/id1197048167?mt...

Ever since creating it and just checking on some networks, I'm surprised of how many devices are actually using it. I probably saw this in Wireshark before as well, but probably overlooked it because you're never really looking for it. I wonder if many other such protocols are often used but easily missed...
IME, scientists have wildly different outlooks here. Some are all flowers and unicorns "we're doing it to better humanity" etc., others are fighting vicious (if imaginary?) battles against their scientific peers (=competitors) about who can publish the most (impactful) papers.

For the latter group, if you manage to trick your competitor into a year-long wild goose chase, all the better.
TDD did not live up to expectations
It's actually an official principle in EU visa policy to grant visa waivers reciprocal to the other country granting it to EU citizens. The established time frames have been ignored in the case of the US for years, which is why this bubbles up regularly, especially when the situation gets worse.
Basic maths. French here.
Reminds me (again) of Jonathan Edwards research. He did many editors with tables as first class so that you can avoid boolean nestings, and simplify verification / closure of your boolean mappings.

He published a video, sadly in flash http://www.subtext-lang.org/subtext2.html

Here's an article about "schematic tables" http://aigamedev.com/open/review/schematic-table-conditional...
It only does so temporarily before people revolt.
IPv6 (now you really need a real, properly configured firewall instead of NATting and praying)
90 seconds of 'promo talk' before the story even started completely put me off. I'm not a big a podcast/audiobook fan - as I find that the narrator always talks too slowly and I can't hold focus - so I don't know if this front loaded advertising is common or not, but if it is, I'd be breaking out Audacity and chopping those bits off immediately.
So what? In Israel, you can become a citizen without spending even a whole day there: https://en.wikipedia.org/wiki/Law_of_Return

I don't see why if NZ thinks having Thiel as a citizen would be good for them, they can't give him citizenship at any moment they'd like.
> Just so sad we treat people differently based on politics that don't benefit NZ.

Surely someone there benefits from it, or it would have never happened.
IoT Developer Trends 2017 Edition (April)
And prostitues are called escorts because they only keep you company on your travels.

The rules are as they are. If someone stimulates your economy, they can get in. Nobody is going to ask why.

I'd be surprised (and amused) if they had refused him entry "because we think you may be doing it for yourself more than for us."
Probably because the edu system is only the reflection of the community it's working in. You can have the best boat in the world, it won't take you far on a highway.
Petya's author says says ‘NotPetya’ wasn’t him, and he wants to help crack it
Security Features in Microsoft Visual C++
Including the US. You do have to spend quite a bit of time here to be granted citizenship, even if you invest.
Yes, it's a phrase I conjured up and started using to describe the current political situation.
There's an army of people on Fiverr and the like who would make your papers look fine, for very little money.
Close related to this other history: https://blog.booking.com/troubleshooting-a-journey-into-the-...
By Thiel having NZ passport? How does that work? How many indigenous people were consulted before arriving to this conclusion?
>Sigh... Thinking up a different situation (or even an exception) doesn't make a general statement "not true". We aren't arguing mathematical theses here.

It's amazing how often people confuse discussion for mathematics...
Call it what you want to. There are a few hundred xero employees (kiwis) supporting families, the economy, adding to the technical chops of NZ, ..., because of Theil's investment.

That can't possibly be so bad.
Cool burner account bro