skysight-inc/HackerNews huggingface dataset:
Discipline is the solution.

I'm not being facetious, the bottleneck to individual human productivity is usually the human. Over-planning and focusing on tangential problems are frequently just rationalizing away procrastination... "maybe this mountain of work will take less effort with a better organization system" - probably not.

These days I prefer using org-mode for notes, MoSCoW for triaging, and Omnifocus for execution. It took months to become proficient, but now getting in the zone is effortless.
It's all in the open. I have an acquaintance on the project, although we haven't talked about it in some time.

https://indico.hep.pnnl.gov/event/14/session/1/material/0/0....
QCGPU – Hardware Accelerated Quantum Computer Simulation
I agree that these issues are closely related, and one people's opinions on them will be correlated. However, much of the time we can find solutions that will almost everyone happy, e.g., removing just the name of individuals from retracted stories (an idea suggested by someone else in this thread). Importantly, almost no one thinks the mistakes of the newspapers have a right to be forgotten, or more precisely, that newspapers have an defensible interest in erasing the details of their errors and leaving only a summary (written by themselves!) describing the error and declaring a retraction.
That's a nice overview by the author. I've been fond of this blog post which goes into the main trick grep does besides Boyer-Moore and unrolling the loop that'll make it beat a by-the-book implementation with unrolling: http://ridiculousfish.com/blog/posts/old-age-and-treachery.h...
Everything is a number. When you think of an illegal media, such as child porn, it is in fact a gigantic number that your computer parses and turns into an array of frames which is an array of Red, Green, Blue values. Since everything can be encoded into numbers, and some things are illegal, trivially some numbers are illegal (in certain contexts).
> So he suspected someone was breaking the law and reported them to the appropriate authorities? Or are citizens supposed to always cover for criminals unless and until the government gets a warrant?

Yes you dumb snitch. How do you sleep at night?
Reading all of these issues I'm really flabbergasted that you have such issues. Like, my bank offers me temporary non-physical credit cards with small limits for 1€/month/piece and that's what I use to do all my online purchases with, do US banks really not have that option? Second thing that I often use (where possible) wire transfer, it requires my ID-card and the payment is done in seconds.

This thread has honestly made me really appreciate what I have available to me compared to some countries.
I never assume the recruiter understands the objectives of a job. All they have to go on is a list of job requirements written as a wish list by the hiring manager, they are seldom technical, and are usually less competent than you average engineer, especially about technical matters.

Good technical recruiters are rare, and seldom work for big companies like Google, Facebook, Amazon, Cisco, (Yahoo), IBM, etc. Most of them read questions from a script, and then believe that the map is the territory.
Your intermediate solution of wiping just the names is not necessarily my preferred solution (I'm honestly undecided), but I endorse it as strictly better than removing the entire text from the internet.
It's inappropriate because they are my personal property. The company did not provide tissues to employees. They were partially behind my monitor, so that person went out of their way to find them and use them. Combined with their arrogant taking of them with me present, yes, I'd say I had every right to be cross.
Then it all becomes a shit show. Not to mention that we get on the blacklist for every VC they talk to.

We just want to get on with our startup and we have tons of work left to scale up.
Only people who took specific classes in a university write FizzBuzz.
MoviePass inspired me to start my $20 bill club where you send me $10/mo and I send you a $20 bill in the mail.

I think our user growth and customer retention story will be phenomenal with lower acquisition costs than MoviePass.
> What do you want merchants to do?

Become modern? Make wire transfers fast enough to be usable for purchases online. Securing the bank account could be done then with 2FA (smartcard, phone whatever).
"You don't like it because you just don't know how goshdarn hard it all is" isn't a particularly useful starting point. Some of us do know how hard it can be, and some of us know when it's hard because the people doing the work don't have anything positive to contribute.

I am familiar with what I wrote: I wrote it. I'm not biased against anything; my opinions come from direct experience with dozens of design firms over many years. In-house design teams are, for example, a totally different and more positive approach. Every time you farm the job out you get junk, and this example is no exception. I'm baffled as to why this got farmed out at all -- is there no design team within Google qualified to typeset a two-letter logo based on an existing logo?

As for being "just mean," to whom am I being mean? The faceless entities who picked six colors and three corporate-approved fonts and then wrote a twenty-page document inventing reasons they did the obvious? Guilty as charged, I guess.
Lawyers: Don't these detainees have a habeas corpus claim, which, as I understand it, compels the government to justify detention? Isn't this kind of situation the intended 'use case' for habeas?
I switched to Eclipse for a year, then switched to codelite which mostly does what I need it to.

I'm also not happy with embedded vendors constantly pushing Eclipse based IDE's.
So, if this is to measure the relative speed of a naive algorithm across multiple languages then great. If this is an attempt to measure how fast a single cpu can scan memory for a string then there are better algorithms. This is just one: [1]

[1] https://en.wikipedia.org/wiki/Rabin%E2%80%93Karp_algorithm
Similar to the whole iTunes / CDs thing, for sure.
> I believe the digits of pi can be calculated algorithmically, no? That program is a bound on the information content of pi.

Yes, good point. I was using the term informally, and probably incorrectly, to mean that π (conjecturally) contains any finite string of digits (in any base)—what is formally called 'normality' (https://en.wikipedia.org/wiki/Normal_number). Apropos of your correct belief, there's a lovely so called 'spigot algorithm' due to Bailey–Borwein–Plouffe that can generate any hexadecimal digit of π that you please without having to generate intermediate digits: https://en.wikipedia.org/wiki/Bailey–Borwein–Plouffe_formula .
Hmmm, the Boyer-Moore indexing in Go takes 2 x as long as the naive linear search.

Now I feel bad for wasting an hour wrestling with Go weirdness to get my program to compile.
I don't see what guarantees of due process and other human rights have to do with libertarianism. I'm pretty sure that (just to use a politically distant example) your average socialist would also view this as something the government shouldn't be able to do.
I think that's supported for 32bit applications in the paid version of Visual Studio. At least it was 10 years ago for C#.
It seems like this was not a mistake in identifying him as a citizen - there was a question if he was legally a citizen:

> Even after ICE realized the error in identifying his parents, federal lawyers refused to free Watson. They seized on a new U.S. reading of Jamaican law to argue Watson should be deported because his father was not his legal guardian when they left the island nation.

...

> An immigration judge ordered him deported. The Board of Immigration Appeals agreed.

>It was only when Watson’s appeal reached U.S. District Court and a court-appointed attorney pressed ICE that immigration authorities conducted the internal legal review they should have done when Watson first claimed to be a citizen. The review found the government had misinterpreted an arcane aspect of immigration law. ICE abruptly freed Watson.

Were his attorneys just incompetent before?
That's not how you build organizational culture, that's how you build fiefdoms of toxicity and exclusion.

Fit is way bigger than two pizzas.
"I strongly recommend GQIS."

Was that a typo?

Nice project, but I wonder why a Google map was chosen over Openstreetmaps.
CSS Animation vs. JavaScript
I am taking a css refresher course and css seems to have evolved a lot since the last time I learned about it. With that said, I was wondering as of 2018, does anyone know how css animation compares to javascript?
Miniature Human Brains Grow for Months When Implanted in Mice Skulls
You're a mind-reader sir.
Stanley Mark Rifkin
That is sort of hilarious. I still don't understand how you grow a business which currently consists of taking money from venture capitalists and giving it to people so they can go to the movies. The VC's would get more mileage out of it if they just rented a showing of a movie every day and offered it free to whomever wanted to do if they wouldn't mind sitting through a 30 minute pitch that would feature one of their portfolio companies. And they locked the doors so you couldn't skip the pitch.

At least that way they could be helping to mitigate the customer acquisition cost of their portfolio companies with no reduction in the efficiency of movie pass (actually better efficiency since they wouldn't have to pay any moviepass employees!)
I would love to hear that story - smuggling a ZX Speccy to Hungary.

In 1985 I was a British army brat with my parents stationed in West Germany. Just like you, I was surrounded by quite a lot of (big) hardware and yet life had to go on. My school probably had a few more bomb scares than yours thanks to the Provisional IRA but you probably had a few snags about what the Western powers were going to do to you.

The Cold War was not nice for you or me or anyone else.

I'd really love to hear about how a shitty piece of plastic with a rainbow on the corner with a Z80 inside and squishy keys got to Hungary.
Not wanting to be the 'Old Man Yells At Cloud' figure, but this is a perfect illustration of how not to do it, particularly multithreading in Go before using a reasonable algorithm.

Searching for a long string like this is preposterously easy. You can use a classical algorithm, or, given you are looking for a 64 byte long string, you could do a strided inspection - every 32 bytes, look to see if you have a 4-gram from the first 35 bytes of the string. More or less anything works as almost any reasonable string searching mechanism can outrun memory bandwidth.

Or you could go use my old project (https://github.com/intel/hyperscan) and then you could look for regexes too. :-)
Cool but I'm still a mile away from opening any site in safari developer tools unless I have to. It makes me want to rip my face off in that its basically unusable
How high should the bar be for doing some surveillance?
To add to sytse's answer

Environments currently can't be deleted from the UI. We have an issue open about it at - https://gitlab.com/gitlab-org/gitlab-ce/issues/25388

The issue gained a lot of traction. It's scheduled for 11.1.
The pressure will come from elements in the South Korean public, and it’s not over any financial issues.
TNT T800
Anarchism is the proper response to all of these abuses.
QGIS is incredible. I have two geography degrees and all they taught us was ESRI stuff. One class with GRASS and QGIS, 7 years of ArcGIS. Only when I graduated and no longer had access to their insanely expensive licenses that I rediscovered QGIS. Because it's not the smoothest ux, it really pushed me towards the programmatic API. As a result I became a better GIS expert than I ever would have. I do robotics + GIS these days and QGIS is front and centre in my toolbox.
> not to mention their terrible power factor almost negated any efficiency improvements.

A power factor is not what you think it is (has zero to do with efficiency).
Thanks, great to hear that.
That must be Bobby Droptables twitter account :-)
For those who want to take a deep dive and learn about cartography, Esri has a fantastic, free MOOC running at the moment and it's not too late to register. It uses ArcGIS Pro ($$$) but you get a free license for the duration of the course. Personal licenses are affordable after that if you want to keep going.

http://www.esri.com/mooc

Full disclosure: I work at Esri. I'm new to cartography myself, and I've been promoting the MOOC internally because it really is awesome (in my humble opinion).
There is also pointer authentication in ARM: https://lwn.net/Articles/718888/

It seems pretty difficult to define function types at the ISA level, since anything to do with typing is language/VM-specific. What types can arguments have? Are varargs supported? Multiple parameter returns?

Maybe the type would just be an integer that the ABI would assign meaning to. But if you did that, how would the function's type be determined? Some pseudo-instruction at the CALL target? I guess looking at CET it does have some things like this: the ENDBRANCH instructions notate valid indirect branch targets.
How big is twitter’s engineering department? Their mobile website doesn’t even load the content of the tweet. Yesterday it was throwing an error that the api was rate limited. For their own site! They’ve been systematically destroying their own foundation by alienating the developer community for years and they can’t even get their own product to work reliably.
But immigration control, judges and law enforcement is something it's supposed to be doing. Your argument is illogical
Sneaking in and going to see a different movie than your ticket are two very different things.
I got a new, maxed MBP about 4 months ago. I hate the keyboard, and typically hook it up to my DAS Keyboard 4 Professional at work, but when I work from elsewhere I am constantly resting my fingertips on escape and “hey Siri” touch bar buttons, or the point that I’ve developed muscle memory to close Siri whenever I open it by mistake. Worst keyboard layout I’ve ever experienced. Not to mention there’s hardly any feedback in the switches (especially compared to my cherry Browns).
Theoretically? Fusion reactor + ion drive. Throw enough power at those and you can accelerate for a long time.
Exactly - its nothing to fear if you are good manager. If the person is screwing around you will find out quickly when projects slip over and over.
I'm not sure where you got that information?

Go's goroutines launch on threads when multiple CPUs are available. They have all the race conditions of C code. Memory writes certainly are visible on other goroutines.
Interesting project. Good job!
Google sharply limits Doubleclick ID use citing GDPR
I've realized that I spend most of time focusing on the second most important task I need to accomplish at any given moment. And since most of my work has been handed to me by other people, most of them think I'm amazingly efficient and end up exceedingly happy with the timeliness of my work, all but the one who is currently waiting for their high priority request.
A Starter Kit for React, Redux and Node with Authentication
"As a technical interviewer, if you start condescending to me during the interview, I'm much less likely to give you the benefit of the doubt and help you along with Socratic hints."

As a technical interviewee, if a screener acts like all they are there for is to prove that they are smarter than me and start condescending to me, I'm not going to give a damn about their questions because I wouldn't want to work with them.

When a technical question has more than one answer, (like binary, decimal or mnemonic values for changing file permissions), the screener has to know that, or they make fools out of themselves. The whole thing with "attributes" vs "metadata" was just stupid. (Technically the metadata is comprised of the attributes. So they are both correct.)
Ask HN: What Happened to SequenceL (Texas Multicore Technologies)?
Disclaimer: said CTO.

Happy to answer any questions — though we definitely don’t presume we have all the answers, we’re constantly learning!

We are also hiring remote engineers — https://zapier.com/jobs/. Would lov to talk to anyone in the JS, k8s, and Python community!
Patent ‘Death Squad’ System Upheld by U.S. Supreme Court
Nine hours ago a post was made on HN about a bloke who designed a computer with a Z80 processor, a rubbish rubbery keyboard and came in 16Kb or 48Kb of RAM variants.

That post was about his passing.

Maybe people will notice later.
1. No, it's not. In regular python files you can create cells using #%% and run them separately. Yes, there is also notebook support but it requires Jupyter.

2. Just python
Framed for Murder by His Own DNA (Secondary DNA Transfer)
This is basically it. If you're in tech it's huge having some sense of career progression - either vertically, up the management chain, or laterally moving into more current/progressive/desirable areas.

This is really where the notion of age discrimination would come into play, just this concern someone has been doing the same thing for X years and stopped growing - passion and curiosity is ageless.

That said, regardless of this timing is a big concern. I am bracing myself for a difficult market if the tech bubble deflates, and to that extent the next position I get is one I plan to be at at least 3-4 years.
Walking to the altitude of space and standing on something is very, very different than accelerating to the velocity necessary to stay in space.

But an Olympus Mons sized mountain with a summit in 30 pascals atmosphere would allow someone to more easily build a very dandy and useful mass driver.
Another interesting scenario for HE closely related to this one consists of accountability __without__ transparency. Which throws a wrench in the old concept of 'no accountability without transparency'.
Anarchism is the proper response to all of these abuses.

In the same way that your car breaking down means you should abandon it forever and just walk everywhere you want to go. It’s also a good idea, if you ever get food poisoning, to just stop eating forever.

It’s never a good idea to try and fix what’s wrong, just throw it all away.
"Correctly or near correctly answered trivia questions tell you almost nothing about a candidate other than that they're probably a software engineer of some kind."

This. I hate trivia, and trivia questions. You can get a book or find a website to bone up on trivia questions if that's your thing. However, it says nothing about whether you actually know anything about working with computers every day.
Ouroboros Genesis proof of stake (POS) protocol
I think it works differently for immigration.

The show Adam Ruins everything explains how minors of age that dont speak english dont have lawyers and go to court alone...
I think there's definitely some blame on laptop manufacturers here for their ridiculous ever-changing collection of SKUs.

Even Lenovo Thinkpads are incredibly diverse in terms of the hardware you can find in them compared to any generation of MacBook Pro.

I'm constantly amazed by the lack of product leadership at some of these companies. I guess the fact that they all focus on pleasing enterprises instead of actually making a decent product line-up and selling it hard is to blame.

Isn't it about time someone stepped up to fight Apple at their own game? Instead of shitting out SKUs like they have diarrhoea, have some restraint and release only a single model per machine, with SKUs modifying only inconsequential things like CPU speed, RAM quantity, and storage. Get rid of the myriad of awful Wifi and WLAN cards (that often cause issues in Windows as well).

Do this for several generations so that the basic hardware and drivers are the same for every machine in the line-up. Focus on getting the basics right - no sleep/wake issues, no finicky nonstandard hardware, no coil whine, no excessive fan noise etc.

Microsoft are trying this with the Surface range, but they're only just starting to actually position products in competition with Apple's.
That's an interesting way to look at it, and the novelty factor may well have something to do with it.

I suppose Touch Bar just doesn't seem particularly novel to me though, many consumer level PC laptops used to have little touch bars as FN keys in the early and mid 2000s, and they were just as much of a hassle then which is probably why no manufacturer kept them around.
It's hard to fix a system when you have to use the system to fix itself. Better to reduce the attack surface as much as possible by reducing the list of illegal things. Fight tooth and nail to keep the bureaucracy from growing, and take a hatchet to whatever already exists whenever political opportunity presents itself.
Car companies do not go to Munro, period.

Really? So where do they get their income?

The comment below has some questions for you. This is all information you would have provided if you actually knew what you were talking about. The fact that you didn't leads me to think you are a troller who just likes to say things that make people angry.
Golang single core version:

if (b[n]) == (find[found]) {

Isn't indexing an UTF-8 string "find" O(n)? To get 10000th char, you need to iterate all 9999 previous characters first.

Edit: Clarified I'm talking about string "find" and not byte array "b".
Interesting parallel question: "Would you be happy if your $800 phone didn't have copy-paste functionality, no 3G, and no app store?"

It's an interesting question to consider because that was basically what the iPhone was when it launched. It was behind the state of the art at the time in many important ways (not having 3G was a big deal), but it was so incredibly far ahead in several very critical ways (multitouch display, 100% touch-based OS, full fledged browser, next level music player) that it didn't ultimately matter.

Now the question is, does Tesla strike that balance? The second question is, can they iterate rapidly and close the gap (which the iPhone ultimately did)?
> right to an attorney is not a thing when it comes to immigration cases

Wow, that's scary. Has this been recently challenged?
The Puzzles and Pitfalls of Reconstructing the Largest Ever Land Mammal
I’m fine with fraud detection like this, but probably 90% of my ordering is a credit card, through a VPN, or sometimes from a foreign country, shipped to a freight forwarder, with a VOIP PSTN number. There have to be ways to get around this for false positives.
I did some benchmarking for a dictionary app a while back, and the fastest I could get was strstr(), if I recall correctly. It substantially beat std::string::find(). Using a loop is bound to give terrible performance; for large data you should be using one of the string-search algorithms (which strstr() surely does). And given the very large search string, those string-search algorithms should be able to skip large chunks at a time.

Here's a small version that allocates 200 MB of uninitialized memory.

#include <stdlib.h>
#include <string.h>
int main(int argc, char *argv[])
{
int size = 200 * 1024 * 1024;
char *bytes = malloc(size);
bytes[size - 1] = '\0';
strstr(bytes, "788bbd6b12d79a4ee18e36a8a264fb496465c71b7932a965ed731397b7c97d14");
return 0;
}

> gcc test.c
> time ./a.out
real	0m0.006s
user	0m0.002s
sys	0m0.002s

(Since the author ignores time to read off disk, I figure uninitialized memory should be comparable. The chances of strstr() actually finding anything are pretty slim, but I ran it a number of times just to be sure, with the same results.)

This is on a 2012 MacBook Pro.
Because I spelt it GAMAF instead of GAFAM, people like you wouldn't be enlightened by googling it. I would tend to add evil Oracle to that list of the filthy five, and call them GAMAFO.
Ugh Xcode. What an awfully heavy piece of software. Makes Eclipse feel lightweight.