skysight-inc/HackerNews huggingface dataset:
I wonder how far AI can progress. Can for example five robots, built to have insane reaction times and agility, outperform and safely subdue an entire army of 1 million humans equipped with the latest melee weapons?

Or how about a tiny flying robot with millisecond reaction times in a room with a crowd of people trying to catch it, being able to eg buzz and tag everyone without being so much as touched?

How about one robot which builds replicas or otherwise organizes some massive “real time strategy growth” across a city, versus the entire city and its police and army being called in? With the robot swarms coordinating distributed superhuman strategies and timing? I feel that, whatever we are discovering now, aliens who make it to Earth will have had hundreds of years advantage on that. It seems Monte Carlo Tree Search is the best we’ve got against the aliens, for now.

Think Ender’s game but for real. It will require something like that.

Anyone also remember the narration in Edge of Tomorrow? There the aliens had the additional advantage of resetting the clock to the beginning thus nullifying any win, but really with trillions of games being played by a league against itself, that rare “restart” seems quaint versus what we have here.

Or over eons perhaps long term strategy with mining asteroids with Von Neumann probes competing.
Bitcoin Price Could Fall to $1260
If paying to send email is your suggested solution, I can see why you don't like the meme in question. But the suggestion is rife with problems. How exactly are you going to get everyone to start paying for email, which is free today? If it's a parallel system, how are you going to get people to switch? Who are they going to pay?
MS Word Tricks for Technical Writers
and introduced a dynamic memory allocation ! yay, unuseable in real-time systems !
Ask HN: How to combat social media addiction?
Hi all,

I've been grappling with social media addiction for a long, long time (I'm 22) - whether it be checking old chats on WhatsApp/Telegram/FB Messenger, infinite scrolling on Reddit, deleting my Insta account and creating one again (just 6 months later), or becoming needlessly aggravated by political hysteria on Facebook (especially after reading about Indian and US politics).

I'm sick and tired of it. Even if there's no new content to browse, I read old content, because at this point, my fingers reach subconsciously for these apps.

How do I battle this? Even though I want to sleep before 12 am, I rarely do so before 3 am, because I cannot sleep without two hours of mindlessly scrolling through anything. My average daily sleep over 4 years has reduced from 8-9 hours to 5-6 hours.

Social media has also killed my originality - where as previously, I used to hold opinions of my own, now I just love reading reactionary, "clickhole" like content (where you don't need to consciously think to hold/make an opinion), and my social feeds reflect that.

I consciously realize that it is slowly killing me from inside, and I'm still hesitant about withdrawal, but I now realize there's a safe social media limit, which I crossed a long time back. I want to return to at least that stage.
The same way the German "barbarians" did? Unruly doesn't imply backward; anarchic doesn't imply chaotic.

Also, China is a huge country with many cultures. Closer to Beijing the culture was historically more legalist and authoritarian. The southern coastal trading cultures were more anarchic. And I think that's still very much the same today, except because of industrialization and nationalization there's conflict where historically there was a natural symbiosis and passivity regarding the respective roles.
I think that a more important reason is that TDD forces you to write code in small modules which can be tested independently. Because of this, you have small to medium size modules to reason about, rather than one huge class where you wouldn't know where to start.
I was expecting to read: "know yourself and know that you want" as there are, as you point out, many definitions of success.
Why?

Mail is decentralized already. Part from relying on DNS.

And you seem very eager to put everything in the amazon basket.
If everyone hosts their email with Amazon it's gonna be quite centralised.
Qt is "semi-native" in the sense that it uses native components, but does so in a hackish, "lowest common denominator" way. It's better than the other alternatives you've mentioned.
Yep, they are extremely difficult. Timezones, group events, repeatable events. RFCs describing calendaring are very vague and miss a lot of important details. And exchange/outlook implementation adds a huge pile of incompatibility.

When I was working on calendaring project I've found lots of ways to create broken events in google calendar for example. They are completely valid according to RFC but absolutely not usable in apps.

Also there are working groups that STILL developing calendaring RFCs, they create tons of esoteric and cryptic documents every year.

P.S. When I write “RFC” I mean any well established standard.
I use duplicati with AES-256 for exactly this on backplaze (and another different SFTP target)
It sounds very similar to Russia. I suspect it has something to do with their communist past.
> Yeah, Electron already does that.

Electron apps don't look like they belong on the platform.
This happened to me - apparently I spent 34 hours last year listening to a song called "Bear Claws" by an artist called Andrew Brady. I did some digging and all I could find was an Irish guy on Twitter with 2 tweets to his name. The song and the artist no longer existed on Spotify last time I checked. The odd thing is that these songs never seem to show up in my play history.

I did link Spotify to Facebook at one point, although I disabled all of my external apps on the Facebook side a long time ago and have used my username / password to log in ever since. I've never used a "playlist converter" or linked anything else to Spotify, as far as I know. My password has always been unique.

It should go without saying that if these access tokens have been breached they really should be revoked. I imagine Spotify will finally do something about it now that this has hit the mainstream press.
Code-signing without Mac..for FREE
In the beginning of SCII I only saw people trying to hide it. But I guess the strategy evolved, interesting.
Dr. Lamar: Congratulations.

Vincent: Well, what about the interview?

Dr. Lamar: That was it.
iOS 12.2 Beta Update Reveals “Hey Siri” Integration for the Upcoming AirPods 2
Nope, you are exactly correct. JMAP is just a much more modern and efficient way to connect clients and servers to access E-mail.
A Budding Industry: Is Canada Paving the Cannabis Way for the Rest of the World?
Yes, postfix has been around for so long and it is very solid. However, to run a mail server nowadays, it still needs a lot of configuration work and even additional daemons to add SPF checks, forwarding with SRS, and DKIM signatures. All of this is possible to be added though, which speaks for the flexibility of the postfix design.
I'd recommend using Restic (https://restic.net/), it supports backing up to Backblaze B2 and generally is the best and most innovative backup tool I've ever used.

Backblaze has a Restic howto: https://help.backblaze.com/hc/en-us/articles/115002880514-Ho...
> What would (imnsho opinion) have fixed spam is sender pays. I've debated this with a lot of people. We're 50/50 on it. Fifty agree with me, fifty million don't.

Along with the billions of spam SMS that are also supposed to be sender-pays, sadly
Ragel: a finite-state machine compiler and a parser generator
You know the great thing about copyright? Nobody has to say anything. If it's creative work then you automatically have a copyright. You don't need a (c) 1988-2019 for that.
That first example in the article was interesting because it made me realise that I have a strong aversion to pushing the complexity into the data rather than into the code. Modifying the list seems to me that it could be a cause of other bugs (what if the list is re-used and something depends on it?).
The place the line ought to be is where there is only one way to do a particular thing. If the function signature has to be a specific one to achieve compatibility then it isn't a creative act to choose it, it's chosen for you as a functional requirement. You may not even want the interface to look like that, but it's the only way to achieve compatibility.

The implementations are something else entirely, specifically because there are a thousand ways to implement the same function that are all functionally equivalent but nonetheless have different code. It's not a matter of how long it is, it's a matter of whether there is another way to do it.
You could pay with computing power.

https://en.m.wikipedia.org/wiki/Hashcash
This looks like all the URLs https://github.com/vedipen/awesome-website/blob/e46bb314b383...

Also reminds me of early 2000s kind of content
The immortal drop let him keep AlphaStar occupied while he built up a critical mass of immortals (it becomes harder and harder to effectively micro stalkers against immortals as numbers go up, probably even for an AI), then let him put AlphaStar in an awkward position when it was camping near where the warp prism was hiding.
The first problem is actually the more serious one, sadly.
Could take you years :-b
I mentioned this somewhere else, but the eating can be pretty much an addiction.

> For me? writing down what I ate was key

I totally agree with this. Calories are quite easy to eat. You don't always know how much calories are in a certain product. Meaning: something small can easily have enough calories for an entire day. Once you fully know which products have a huge amount of calories you'll be able to do without.

Suggest to also try intermittent fasting. I used to unconsciously somewhat do this on a Sunday. I'd only have dinner (sleeping until late and not doing much helps a lot with this).

I also lost weight in the past btw. Keeping the same weight is difficult. Further, if you know anyone who is really skinny and 25+ years of age you'll usually be able to tell that it's a daily effort for them.
Although I would not class this as even potentially in-line with Blaster or the imminent death of the internet under an IoT Botnet, I see your broader point. The deployment cost approaches zero and it does plug —however small— a possible vector.

I do think it would cause a non-zero amount of pain to deploy though. Local (eg corporate) networks that expect to transparently cache the packages would need to move to an explicit apt proxy or face massive surge bandwidth requirements, slower updates.

That said, if you can justify the cost, there is absolutely nothing stopping you from hosting your own mirror or proxy accessible via HTTPS.

I'm not against this, I just don't see the network as the problem if somebody steals a signing key. I think there are other —albeit harder to attain— fruits like reproducible builds that offer us better enduring security. And that still doesn't account for the actions of upstream.
What can Bill Gates make you do?
Yeah, it looked like Mana was copying this behavior somewhat in the live game.
That's horrible for the environment.
Not really relevant in the context of Office 365, or other applications that follow the same subscription model
> most of the web is moving to gmail

This isn't true; there's a LOT of industry on Exchange of some sort, and plenty of older institutions running their own email. Especially in IETF land.

And it's a huge risk increase if everyone moves everything to gmail.
>Before going on, consider how you’d solve this yourself.

var sum = 0;
for(v : vals) {sum += 2*v;}
sum -= (vals.first + vals.last);

simpler and much faster than any of the mentioned methods in the article.

(Proof: when you sum the neighbours of all the elements then you add each element twice except the first and the last one.)

Even simpler and even faster:

var s = sum(vals) * 2 - vals.first - vals.last;
Really interesting, but I'd be wary of putting my apple developer username and password out there like that.
When I compare the history of China and the history of Europe (and let's face it, North American norms derive a lot from Europe), I think there's a huge cultural divergence that can be pinpointed to one spot in history: Europe had a Magna Carta moment while China did not. I think that this is the foundational and fundamental thing that creates a lot of the differences in political and cultural norms.
This is a pretty useful feature. It goes some way towards solving the problem of keeping a backup of my photos. Rather than having to keep buying more physical storage I can archive off photos in batches to B2 from my regular Backblaze backup.
"Information technoloy" is largely media. Media are information technology.

Google and Facebook are media companies.
The law is use of force. Examples: setting wages, employment terms, price setting, quotas for women on corporate boards, etc.

Protectionism isn't free market, either.
I find this story disturbing & the implications are frightening (many are addressed in the article).

But one thing strikes me as REALLY worrying: they call it the "MAGIC" box.

IMO, if there is ONE thing that you DO NOT WANT in serious such matters, it is the propagation of the -common- belief that science/technology == MAGIC.

This is already a problem with computers, as people accept plenty of nonsense "because the computer said so", and to be fair technologies like computers have become so complex, it's difficult to NOT have a "magic" feeling to some extent (let's not get into sciences which are IMO even worse).

Relying blindly on something that you don't really understand (its limits, its strengths & weaknesses, the context in which it should be used), is a RECIPE FOR DISASTER.
Ugly, given that it is an emotional word, applies to any code that you don't like.

WHY do you not like some code? To avoid pointless discussions about taste and gut feelings, I'd bring it down to falsifiable statements.

"This is hard to maintain, for reasons X and Y" is such a statement. As is: "This is hard to test for reason: It needlessly engages in combinatorial explosion" is another.

Yes, you could shorten that to 'ugly'. Good for you.

Nevertheless, I've seen tons of discussions referring to 'ugly' code where the reasons were solid but completely different from maintainability (for example: "It is longer than needed", "It does is not idiomatic for this language"), or even not particularly solid ("It is ugly because it isn't functional", "It is ugly because the style guide says all APIs should always be interfaces", "It is ugly because I see tabs, not spaces").
That's still a large advantage that humans don't have access to. Not just in the "pitiful humans can't take advantage of such a large viewing area" sense, but literally the game will not let human players zoom out that far.
Not in this case, if they're at the supreme court, everyone has exhausted all appeals.
An apartment on Central Park just sold for $238M
It was sometimes possible to hold realtime conversations over email, before the amount of required spam processing became too high. There's no protocol reason why you can't do that between servers, although getting it into a client requires either IMAP push or something more modern.

> make an account

You are required to make an account somewhere so your account can be banned if you spam, basically.
Rhythm Designer RD-808 (TR-808 Clone)
> The first example is not at all good

No, it's not, but in my opinion not because of any of the reasons you just stated. Unless you're writing Go, that code should have been a fold over addition, or a `sum` function if available in the standard library.
There was an article on a blog which I can't find now where the author explained this situation in depth. Do any of you have a link to it? I think it would be useful here.
Native? High-performance? Using Electron?! Something isn't right.
There should be a way to expire the records from the database with exception perhaps for convicted felons.

Preferably not collect the data and not store it at all unless aforementioned.
Yep. Also I think they are using it for a subset of customers. While JMAP support in Cypht is still new, so far it's working just like IMAP, but my testing is limited since I just wrote the integration :)
Yup, exactly. To add onto this, for people less familiar, there's a non-stupid reason for this: economy of attention.

Attention/APM is often called the "third resource" (after minerals and gas), spending it wisely when you have several areas at any given time that could use attention is part of the strategic and tactical decisionmaking. For example, usually in a battle you wanna be paying most attention to the fight rather than your base, but sometimes it's actually better to jump out back to your base to increase production or economy, and knowing which situation is which can be challenging.

Obviously, if you make the game mechanics too easy to control (letting the computer do more of the work), then this part of the game becomes less interesting, because you don't have to weigh trade-offs as much anymore.
Could we shut it down for a whole year to see what happens without it?
Filtering spam mail is too - what's your argument?
> Of course that's a choice for everyone to make, but I feel like in general the benefit of fitting in the platform is overrated.

I disagree; the benefit isn't overrated, it's underrated because it's not realized, thanks to most apps doing their best to _not_ fit in the platform. What full platform fit enables is consistent UX and interoperability. Lack of the latter places an actual cap of what users can do (except for the small percent that can force an app to interoperate, whether it likes it or not).

In my not so humble opinion, the current UX trends are based on circular reasoning - users don't demand functionality, interoperability and ergonomic design because those are rarely given to them, so they don't know they could have it. And since they're not demanding, this is used as a justification to not give it.

> After all the whole webapp-everything somewhat shows that people don't care that much, they are happy to use GMail for example.

It doesn't show that. It's just that people don't have much choice anyway. Crappy and bloated GMail UI vs. Thunderbird that requires a little bit of knowledge to set up. That's the choice.

Most software, including webpages, isn't substitute goods. Fastmail isn't a substitute to GMail once you have an account. LibreOffice isn't a substitute for Google Docs, not once someone shares a document with you through Google's cloud. Network effects are powerful, and they reinforce the basic way normal people treat software - as magic, "gift from gods", something that works the way it works because that's how it works.

I'm just pointing this out, because I hate the constant use of "the market decided" and "users voted with their wallets/eyeballs" as justification for bad engineering. It's mostly circular reasoning.

> Another family of examples would be the big software packages like the Adobe or Autodesk stuff, they tend to have a fairly custom look&feel.

Those are somewhat special cases, because they need so much functionality packed in the UI that they replace platform's conventions with ones better suited to the problem.

(Sometimes it leads to weird stuff, like Photoshop and its dialog boxes, in which buttons change meaning when you hold down CTRL.)
Why interview when you know everything you want to know about someone?

They only needed authentication. Or can be the same today except no DNA check, just papers...
No. The general conclusion seems to be that lead wasn't the only thing related to the decline of violent crime in the US but it was probably a significant factor.
Ask HN: Windows terminal (cmd.exe) signal handling for subprocess c++
Suppose we have small program, written in C++, which looks like below.
This program itself intentionally does NOT perform signal handling via WinAPI call `SetConsoleCtrlHandler` - it's important part of question.

#include <stdio.h>
#include <stdlib.h>

int main() {
while(true) {
int status = system("EXTERNAL COMMAND");
printf("RESULT STATUS = %d\n", status);
}
}

When `Ctrl+C` key combination have been pressed in terminal, program above have quite different behavior depend on which `"EXTERNAL COMMAND"` had been invoked

1) If external command is `pause`, program will stand in infinite loop, invoking `pause` command step by step, and will print `"RESULT STATUS = 0" many times`, while not terminated forced via process kill.
2) If external command in `choice`, program will terminate immediately after `Ctrl+C` pressure. It will not print anything and does not return from `system` call.
3) If external command is `set /P VAR=`, program has much interesting behavior. When `Ctrl+C` pressed, program prints `"RESULT STATUS = 1" and continue working until first async call is performed.

First and second case can be explained in following manner. Terminal windows is proxt between user input and target program, so when user presses `Ctrl+C`, terminal window perform dispatch signal itself to target process.
So some subprocesses can take manually terminal handler via `hConsole = GetStdHandle(STD_OUTPUT_HANDLE)` and perform own signal handling. Another subprocess does not do this, so signal passed into parent process and terminate it.

But third case causes big question. If child process intercepts `SIGINT`, why parent process perform terminating after first async call. If not, why it does not terminate immediately and why and how it prints `"RESULT STATUS = 1" and continue working.

Thanks
> PG actually suggested meeting at the end of the productive day to avoid breaking up productive working time.

I suggest you understand it instead of mindlessly quoting it. It's clear PG wants no interruptions for productive work time but if a meeting is scheduled before productive work time begins nothing gets interrupted.
David Simon's "The Audacity of Despair".

https://m.youtube.com/watch?v=nRt46W3k-qw
Not really, but it can be badly sampled or mismatched. Or misrecorded in databases.
It was very good at microing its macro.
Exactly what kind of jobs are you applying to? Are they mostly software developer jobs?

I hate these kind of white board coding questions, but if its what you need to do to get the job you want, why not just bite the bullet and practice these kind of coding exercises? Clearly from your experience you are capable of learning/memorising this stuff..

Yes its a pain in the ar*e but if its what you need to do then its what you need to do.
This isn't based on Electron. I think you misread.
I repair and modify computers and game consoles from the 1970s - 1990s and it's great how easy it is to get hold of schematics. I have an Amstrad 8086 PC for example which had full schematics for the PC itself and the monitor in the manual that came with the machine. This was the case with a lot of hifi equipment from this era as well.

A whole device can be brought down by something simple like a dead capacitor which can be replaced in minutes. Without being able to debug that they'd just end up in landfill.
I try to make my point clearer.

If we want to measure strategy, I agree with you, and out of curiosity we might do it. But the goal is winning, so is strategy important as long as it wins? The AI can take every shortcut it finds IMHO. People do take shortcuts.

Cars and planes bring us across the world exactly because they don't walk like people and don't fly like birds. Wheels, fixed wings and turbofans are shortcuts and we're happy with them. We can build walking and wing flapping robots but they have different goals than what we need in our daily transportation activities.
Why do you think you need a new protocol for this? Instead what you want is a different IMAP server.
Did you disable your external apps or check them on the Spotify side as well?

https://support.spotify.com/uk/account_payment_help/privacy/... for instructions.