skysight-inc/HackerNews huggingface dataset:
Artist tricks Google Maps with 99 smartphones pretending to be a traffic jam
> In my experience it always ends up a jumble where indentation is screwed up and no particular tab setting makes things right.

Consider linting tools in your build.
I don't know, but I see that some assume it is false because companies mentioned denied it, well, everyone would deny it. If they didn't they would go out of business (at least the cloud part of those companies).

I ask, because it is quite plausible to have something like this planted, considering that majority of electronics is produced in one country.
tokio 0.1 was definitely less efficient, when we compare go to 0.2, tokio uses less cpu consistently, even when compared to a cluster of the same size almost a year later with our growth over the time since we switched over.
The result is fascinating. Any form of self-similarity across scales means that it is a fractal with a specific dimension. The dimension describes how thoroughly it is mixed.
I'm strictly talking about the canvas and audio implementations, forcing me to use all kind of different hacks just to get a reasonable FPS in Safari. Audio I've given up on long time ago and don't get me started on Mobile Safari.
I was looking at Deno this summer and did not see a file system API. Does Deno now have a file system library?

The file system is what I find most valuable and used in Node.js.
It's hard to securely transfer your toenail clippings over the internet, meaning they have no advantages over fiat currency.

If you could somehow create a new technology that would allow your specific toenail clippings to be easily transferred over the internet (or could give your toenail clippings some other substantive advantage as a currency over traditional fiat currency) they would likely become very valuable very quickly.
It should also be noted that Rust interoperates extremely well with Erlang, which is the basis of Discord (via Rustler).

https://github.com/rusterlium/rustler

https://blog.discordapp.com/scaling-elixir-f9b8e1e7c29b
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC18253/
See? What's productive about that?
That's one school of thought. Many of us grew up on mac and windows and appreciate good, power-user friendly GUI design
True, but is this a meaningful distinction here? That is, the records are passing through the app, and the output is being used to declare the results. Does the point at which the flow enters the app -- poll workers vs. voters -- change the risk profile?
Ask HN: Which are the best resources to document efficiently your projects?
At work we are using Confluence and GitHub.
What to put in Confluence and what to put in GitHub?
When to use GitHub wiki vs checked-in documentation?
How to deal with information vs knowledge?
How to avoid outdated documentation?
Malice refers to intent, the idea of "malice... without ill intent" doesn't make sense. That's why Hanlon's Razor is worded as it is. By your definition, any shoddy work could be considered malicious.

I get your point though, I think we're just arguing semantics.
On the good side, the problem of mixing tabs and spaces does normally not appear in Go sources, as gofmt always converts spaces to tabs, so there is no inconsistant indentation. Normally I prefer spaces to tabs because I dislike the mixing, but gofmt solves this nicely for me.
I've had this argument at work.

"Tire of it quickly" and "have an immediate gag reflex" are two completely different categories of negative reaction.

It's hard to see the sunset when you're down in the muck, and eventually 'less bad' starts to look like progress to you. It's a trap and you should be aware of it.
Am I getting this right?

Irrespective of whether you use any other google products, if you use chrome google can now track you over any property that uses google ads, recaptcha, etc.

The header is inserted by the browser after any extensions run, and google pins google properties so you can have an intermediate proxy that strips the header, so they gain persistent tracking of all users across most of the web?

If it wasn’t a tracking vector why do they limit it to just google ads, etc? Why not other ad providers as well?
> By choosing rust you will suffer a great deal of the limitations of it's poor, not production ready, ecosystem.

Why do you think that? Seems like Rust is a great choice for this type of high performance work.
Borrowed from a comment:

Garbage collection has gotten a lot of updates in the last 3 years. Why would you not take the exceedingly trivial step of just upgrading to the latest Go stable in order to at least try for the free win?
From the go 1.12 release notes:
“Go 1.12 significantly improves the performance of sweeping when a large fraction of the heap remains live. This reduces allocation latency immediately following a garbage collection.” ¯\_(ツ)_/¯
This sounds like “we just wanted to try Rust, ok?” Which is fine. But like, just say that.
Ok, so you are agreeing with the comment you said you were disagreeing with (zero sum economy means if someone increases their amount of stuff, someone else must have less stuff, otherwise the amount of stuff would not stay constant).

You are making a different point, which is that more stuff does not equal happiness, so we should not care about it.
Wait a second.

Are you saying if I have a cube suspended in space, and I put e.g. a drone inside it that just flies around in a circle inside the cube, the cube will start to move down? What then? Will the drone crash into the ceiling of the cube because it's independent from the cube itself?

My brain disagrees with this, but I'm a hacker, not a physicist.
“Half my power out, but firing up an appliance turns it back on”
I may be wrong but I think it's too risky to put so much value into crypto currencies before we have a proof that P≠NP.

I also hope that P=NP.
Natsort: Simple yet flexible natural sorting in Python
This is the equivalent of a protest, people are objecting to Google's illegal data harvesting practices in places that receive engagement, since that's the most effective way to get the word out and warn others.

Google's reasoning that this is not personal data is meaningless in the face of GDPR, which considers an IP address personal data. Google has access to the IP address when they receive the data, therefore they are transmitting personal information without user consent and control, which is illegal.
This may be helpful for you:
https://www.youtube.com/watch?v=DOtCl5PU8F0

and also this book is written just for your case, strongly recommend reading it:
https://startupbook.net/
B2B and Enterprise Product Ideas 2020
Wow! I wouldn't have guessed that Git had that vulnerability. Fossil solves it easily: creating a new repo involves generating a random project code (a nonce) which goes into the hash of the first commit, so that even two identical commit sequences won't produce identical blockchains.

Fossil lets you force the project ID on creating the repo, but the capability only exists for special purposes.
Look at how centralized Stellar is and then you have your answer for <5s tx
Thank you, this is honestly really impressive! However, I must note that the aerodynamic simulation shown at https://youtu.be/Bw-opH4f8Qg?t=405 seems quite close to Xplane's :)
What got America to the moon was taking the leftovers of an beyond-imagination evil dictatorship, designed to take over the world, and applying it to win a race against another dictatorship. During that whole process millions of people experienced horror or lost their lifes in the cruelest ways imaginable.

While I acknowledge, that economic growth has problems, it does not seem all that bad to me.

I imagine going to the moon just is not a priority right now. The superrich already want to spend their money on space projects. Let's wait what regular people want to buy, after health, etc. is solved.
True, and cash is used for any activity at a scale that dwarfs Bitcoin. It makes sense to compare their ratio of illegal to all transactions in this case.
Journaling every night - journal about anything - just write
This seems like a nice microservices success story. It's so easy to replace a low-performing piece of infrastructure when it is just a component with a well-defined API. Spin up the new version, mirror some requests to see how it performs, and turn off the old one. No drama, no year-long rewrites. Just a simple fix for the component that needed it the most.
Cooking: while in grad school we started a cooking club, which has since evolved into a cookbook club. One person chooses a cookbook, and then tells the group which main dish they will prepare. Others chime in with side dishes, desserts, etc. The group gets together to discuss the book, the challenges, the triumphs, etc. It is one of the things I look forward to!
Miami Is the “Most Vulnerable” Coastal City Worldwide
Bitcoin SV is a scam created by well known fraudster Craig Wright.
Naturally, I worry about all of this facial recognition and data gathering; however, as a k12 teacher, the utility of displaying names/data about my students is immediately apparent. A great deal of time/effort is expended on assessing my students and modifying my interactions with them based on that information.
No. Household sizes have been getting smaller, not larger, over time. It would be pretty far-fetched for the combinatorial effects of mixed-income households to boost the median in spite of this.
It's very easy to configure a program to slow down before intersections. Also if we want to be realistic here, you're going to be able to see that the other car isn't slowing properly for much longer than 200ms. You'd either already be braking when you hit that pause, or you'd be so early on that the delay doesn't make a real difference.

And if you're not hovering your foot over the brake pedal, you're not getting 250ms.
Sweden Has a Sub That's So Deadly the US Navy Hired It to Play Bad Guy (2014)
My email is firstname.lastname@gmail.com. Both my first and last names are not super common, but off-late I'm seeing multiple people with the same combination when I google my name. I get bank statements from 3 different banks, job offers and even the occasional nude selfie - all intended for someone else. I have tried to reply, click on unsubscribe links - but nothing seems to work. It stops for a few days and it starts again.
A GC scan of a large LRU (or any large object graph) is expensive in CPU terms because the many of the pointers traversed will not be in any CPU cache. Memory access latency is extremely high relative to how fast CPUs can process cached data.

You could maybe hack around the GC performance without destroying the aims of LRU eviction by batching additions to your LRU data structure to reduce the number of pointers by a factor of N. It's also possible that a Go BTree indexed by timestamp, with embedded data, would provide acceptable LRU performance and would be much friendlier on the cache. But it might also not have acceptable performance. And Go's lack of generic datastructures makes this trickier to implement vs Rust's BtreeMap provided out of the box.
If I were to speculate, and say it's probably because (1) they might not be interacting directly, and saying "(possibly indirectly) interacting" is a lot more syllables than "talking"; and (2) "talk"/"communicate" emphasizes the information-theoretic content, whereas "interact" is somewhat more likely to be interpreted in terms of interaction strength. (If two systems are "barely communicating", they are transferring a small number of bits, whereas if two systems are "barely interacting", the influence in displacement/impulse/temp/whatever is small.)
That's not the concern - the concern is that a company which doesn't seem to list it's roster or have any public information about it is now attaching itself directly to the voting systems. The Community has been in an uproar before about how opaque code is in voting machines, why shouldn't we be concerned about not only the code but the employees of a company who are involved in voting?
Amazing. I hoping to find and download some of my favorites. The portability and small size of many flash games really got me trough traveling all over Afghanistan 10 years ago.
There's a great article by Ted Chiang about this[1], comparing the psychology of the paperclip AI scenario to the single-minded "increasing shareholder value" mentality of business, in particular, silicon valley startups.

He points out that the companies of the very people who fear the ai-apocalypse do already what they're accusing AI of, pursuing growth and 'eating the world' at all cost only to maximize narrowly defined singular goals.

[1]https://www.buzzfeednews.com/article/tedchiang/the-real-dang...
Annual Capital Expenditures
What kind of abstract mathematics?
How knitters got knotted in a purity spiral
I'd like to also share the legendary RFC 2795 for those not yet in the know: https://tools.ietf.org/html/rfc2795
Who says you would have to eat at the same restaurant? When I was always eating out I was going to multiple restaurants. I avoided going to the same place too often so I wouldn't get bored with it.
>I went to buy a chocolate bar at Target yesterday. What used to be $3 for 3.5oz is now $3.98 for 3.15oz.

Are you sure the price increase is really because of the cost of chocolate increase or the rent of Target within your area or labour of your area increased?
How much more secure would it be for precincts to phone in the results? Phone numbers are trivial to spoof. Perhaps the party headquarters could call the precincts instead of the precincts calling the headquarters. But that still leaves questions about the security of the telephone system itself, even with the spoofing issue out of the way. Are there any alternatives other than phoning in the results?
"produce same (specific) hash" is a pre-image attack, which is very very hard. So hard, that even MD5 isn't broken for pre-image, and there's only a theoretical pre-image attack against MD4.

We know only collision attacks which is "produce 2 files with the same hash, but you can't control what hash". So you can't target any existing repo. You need to use social engineering to get one of your special files into a repo.
I think understanding these expert responses could be a way to advance generalized AI. It seems to me that one part of pattern recognition is having a guess that's indexed to a key composed of the senses. There may be multiple close matches (the expert) or many distant or conflicting matches (the novice). <<I'm certainly not informed on AGI state of the art so forgive me if this sounds like a total NOOB statement...
You mean use DAI for that.
Why C++? Why would you want the same performance as Rust with less safety?
Shadow, Release a Post-Mortem
Yes, this is a maximally pessimal case for most forms of garbage collection. They don't say, but I would imagine these are very RAM-heavy systems. You can get up to 768GB right now on EC2. Fill that entire thing up with little tiny objects the size of usernames or IDs for users, or even merely 128GB systems or something, and the phase where you crawl the RAM to check references by necessity is going to be slow.

This is something important to know before choosing a GC-based language for a task like this. I don't think "generating more garbage" would help, the problem is the scan is slow.

If Discord was forced to do this in pure Go, there is a solution, which is basically to allocate a []byte or a set of []bytes, and then treat it as expanse of memory yourself, managing hashing, etc., basically, doing manual arena allocation yourself. GC would drop to basically zero in that case because the GC would only see the []byte slices, not all the contents as individual objects. You'll see this technique used in GC'd languages, including Java.

But it's tricky code. At that point you've shucked off all the conveniences and features of modern languages and in terms of memory safety within the context of the byte expanses, you're writing in assembler. (You can't escape those arrays, which is still nice, but hardly the only possible issue.)

Which is, of course, where Rust comes in. The tricky code you'd be writing in Go/Java/other GC'd language with tons of tricky bugs, you end up writing with compiler support and built-in static checking in Rust.

I would imagine the Discord team evaluated the option of just grabbing some byte arrays and going to town, but it's fairly scary code to write. There are just too many ways to even describe for such code to end up having a 0.00001% bug that will result in something like the entire data structure getting intermittently trashed every six days on average or something, virtually impossible to pick up in testing and possibly even escaping canary deploys.

Probably some other languages have libraries that could support this use case. I know Go doesn't ship with one and at first guess, I wouldn't expect to find one for Go, or one I would expect to stand up at this scale. Besides, honestly, at feature-set maturity limit for such a library, you just end up with "a non-GC'd inner platform" for your GC'd language, and may well be better off getting a real non-GC'd platform that isn't an inner platform [1]. I've learned to really hate inner platforms.

By contrast... I'd bet this is fairly "boring" Rust code, and way, way less scary to deploy.

[1]: https://en.wikipedia.org/wiki/Inner-platform_effect
I've found the discussion in the following article (which is a chapter in a much larger online treatment of all aspects of flying) to be quite clear and easy to follow:

https://www.av8n.com/how/htm/airfoils.html
Fair point.. but equally interesting is pondering the neural structures of those who are domain experts but were born blind. Do they have a sympathetic structure that aids them? What does that look like? Is there a way to develop both this and "cortical representations" equally?
This was an extremely interesting read.

I'm quiet disappointed though they did not update their Go Version to 1.13[0][1] which would normally have remove the spike issue and thus he latency before they move to Rust...

Rust seems more performant with proper usage ( tokio + async ) but I'm more worried about the ecosystem that doesn't seem has mature has Go.

We could quote the recent[2] Drama with Actix...

[0]https://golang.org/doc/go1.13#runtime
[1]https://golang.org/doc/go1.12#runtime
[2]https://github.com/fafhrd91/actix-web-postmortem
Some people, who's very existence apparently fits into "radical" for some reason, do not get to pick their weirdness points.
Start by understanding why paper airplanes "glide", then you can introduce downward thrust from plane wings.
It was perhaps too deterministic. What's not mentioned in the blog is that after running for long enough, the cluster would line up it's GCs, and each node would do the 2 minute GC at exactly the same time causing bigger spikes as the entire cluster would degrade. I'm guessing all it takes is a few day night cycles combined with a spike in traffic to make all the nodes reset their forced GC timers to the same time.
The Klondike Gold Rush: 1896-99
Hillary was the Democratic party nominee in the general election. Everyone in the Democratic party technical consultancy world worked for her in 2016. Just pointing this out without context is useless. How does that compare to the Democratic party in 2008, or the Republican party in 2016?
"Waste no more time arguing about what a good man should be. Be one."

- Marcus Aurelius
> You wouldn't ask the cook to work for free just to taste his dish and then decline without paying him.

Yes, if you are hiring a cook for a restaurant (which, admittedly, most people don't do, because they don't run restaurants) or wedding or other event (which more people have experience with) you will, quite likely, do exactly that.
So compared to docker-compose (which is strangely straightforward, but missing some pieces you'd want for scalable deployments) Kubernetes is more complicated. Or at least getting up to speed takes a fair bit longer.
And if you are that concerned about this type of attack, it may be worth your time to simply start a new Fossil repository using the sha3-only hash policy (writing a script to replay commits into the new repo, so you don't lose history).

It seems like a problem very few people need to worry about and Fossil has made the right trade-offs.
I don't understand why he went in the first place. It was clear to everyone it was BS. It should have been triply clear to someone in the DoE whose job includes knowing these things!?

Based on this, the guy is either an idiot (unlikely) or just wilfully ignorant.

Once he was in Iraq, and after he returned, he knew. That's be his own admission. So he spent his time running around and interrogating old men until they cried, blocking streets, disrupting commerce etc.

Then when he came back, instead of telling the truth, he covered for the whole enterprise.

This guy is telling a sob story and acting like he is the victim. But he's not. He's part of the problem. Without people like him, wars like Iraq 2 wouldn't happen.
The thing is, if they were unable to determine the veracity they would have retracted it.
Ad 1: Maybe they like pascal, scheme etc. more than c?
I'm not complaining, just pointing it out because it's an interesting quibble: "hoi" means "the" in greek, so no need to say "the hoi polloi"
"Tell me what you eat: I'll tell you what you are."

- Jean Anthelme Brillat-Savarin
Sort of, but by introducing 5 more problems that no one wants to deal with.
Ah, the city-state route:

https://www.reddit.com/r/montreal/comments/54yi1o/independen...
If I log in to my Google account once, they can associate that browser id with my account. Even if I log out, clear my cookies (and probably use the incognito mode), Google will be able to identify and follow me all over the Web.

I don't know about your PII thing, but it's personal data under the GDPR.
Please explain to me how this works for the case I outlineed, eg:

some_function(arg1, arg2, arg3, arg4,
arg5, arg6);

For the sake of argument, say tabstop=4. If the first line starts with two tabs, will the second line also have two tabs and then a bunch of spaces, or will it start with five tabs and a couple spaces?
It's quite concerning that the CTO/chief architect spelled software with a "d".

Also loving the profile pic that says "profile photos enable unconscious bias. I code with my brain, not my face."
I meant secondary to the offices that you mentioned. So two main Vancouver offices and two Amazon Vancouver offices total.
Roger that.

btw, I really dig the execution - all platforms covered, simple/straightforward function. Nice work.

My only comment (and perhaps I simply missed the info) is it would be great to have keyboard shortcuts available to tie into my keyboard program buttons or Elgato deck.
That's what I'm using it for as well! I believe our functions here are isomorphic, though I'm a couple lines shorter ;)

You've got an excellent username btw. <3
They addressed this in the article:

> These latency spikes definitely smelled like garbage collection performance impact, but we had written the Go code very efficiently and had very few allocations. We were not creating a lot of garbage.

The problem was due to the GC scanning all of their allocated memory and taking a long time to do so, regardless of it all being necessary and valid memory usage.