skysight-inc/HackerNews huggingface dataset:
I had a similar (although cynical reading):

Flat hierarchies: Chaotic leadership / implicit and unwritten hierarchies with CEO's favorites.

Values diversity: Politicised office focusing on SJW issues and quotas, not diversity.

Fosters psychological safety: Empowers toxic characters to bring their drama into work.

Empirically, from the limited placements I have seen, the more a workplace outwardly focuses on one of these aspects, the more they are ridden by toxic tribalism/outrage culture.
I’m not sure if it was a typo on your part, or you might be misinformed of what the actual deal was that was struck. From TFA;

“Amazon was to build their headquarters with union jobs and pay the city and state $27 billion in revenues. The city, through existing as-of-right tax credits, and the state through Excelsior Tax credits - a program approved by the same legislators railing against it - would provide up to $3 billion in tax relief, IF Amazon created the 25,000-40,000 jobs and thus generated $27 billion in revenue. You don't need to be the State's Budget Director to know that a nine to one return on your investment is a winner.“

The crucial point is that there is no cash to bank! The politicians statements that the “money could have been better spent on xyz” was a lie.

The deal was to reduce taxes on future revenue if and only if Amazon met specific (lofty) investment and job creation requirements.

”Make no mistake, at the end of the day we lost $27 billion, 25,000-40,000 jobs and a blow to our reputation of being 'open for business.'”
You usually get, at least in the UK, what's assessed as the valuation. That's then split between finder and land owner.

So it's not like the rewards could reasonably be much higher.
+1

User Aka[1] in the German Wikipedia follows Steven with only 30,000 edits behind in the main namespace.

[1] https://de.wikipedia.org/wiki/Benutzer:Aka

[2] some statistics:

English Wikipedia: https://stats.wikimedia.org/EN/TablesWikipediaEN.htm

German Wikipedia: https://stats.wikimedia.org/EN/TablesWikipediaDE.htm
Don't know exactly what labs I'll use yet. It depends on where you live.

This is the article that got me interested: http://blogs.worldbank.org/water/how-test-water-quality-chem...
Your "just" description doesn't support atomic in-place updates.

I don't know what MS Office/LibreOffice do. Do they create a new file then rename? See https://stackoverflow.com/questions/20634684/what-is-sublime... for disadvantages to that.

The zip file format allows in-place appends and deletes. This is non-atomic as it depends on a central directory located at the end of the file. An incomplete write of the directory can be recovered by looking through the file, but as the Wikipedia page notes:

> tools that attempt to recover data from damaged ZIP archives will most likely scan the archive for local file header signatures; this is made more difficult by the fact that the compressed size of a file chunk may be stored after the file chunk, making sequential processing difficult.

The file format described at this link assumes that modifying the 4 byte offset to the correct ToC is always atomic. Even if not, it's a much smaller window.
I don't know if you're just misunderstanding things or wilfully spreading misinformation, but just in case:

1. Ajit Pai started working at the FCC under George W. Bush.

2. Ajit Pai was nominated under Obama for a republican seat at the recommendation of Mitch McConnell: no more than 3 FCC commissioners can be of the same party so the split is generally[0] 3 of the president's party and 2 of the opposition, Ajit Pai was a GOP pick.

3. Ajit Pai was made chairman of the FCC by Donald Trump.

Ajit Pai is a thoroughly Republican operative. Getting rid of Pai would not score any points with the republican party (he's doing exactly what he's supposed to do there), nor would it score any points with the democratic party (way too little, way too late, no chance of the damage done being repaired, and what happened was exactly what'd been predicted when he was made chairman).

[0] when that comes up / is possible: commissioners terms are 5 years (though they may serve up to 6½ if their replacement is not yet appointed) and the seats are staggered so one commissioner's term is up every year
Wow that's a lot of projection.
I'm continuously impressed at the quality of the software coming from Discord. By far the best messaging user experience on desktop there is.

Discord already uses Cloudflare, I'm curious what they think of Workers.

edit: I'm on macOS, not an heavy user, I used Slack / Skype / Hangouts / WhatsApp / Messenger / etc. before
ARM based Macbook running iOS might be something to start with.

As travel companion Macbook style device is better than tablet (IMO). Proper keyboard and design which allows it to be used on lap.

I would really like to see Apple’s take on Lenovo Yoga style device.
If you have a good resume and can justify good software engineering skills in demand, it is not that difficult to get to 10 millions JPY or more, even outside the big foreign companies (Google, Nvidia, etc.). Indeed in Tokyo starts paying 9-10 millions JPY for people w/ 2-3 years experience after college.

I know people working in large Japanese companies with 15 years+ experience can make 15-20 millions JPY once they become principal and co.

It is true that Japan, like Europe, pays much more people willing to go management/product management/sales, compared to the US where you can stay on a technical path and make very good money, at least up to a certain age.

But please do not think that 6-7 millions JPY is good salary in Tokyo: it is not. The average salary in Japan is a bit below 6 millions JPY.

Source: I have lived in Japan for 7 years total, have been managing multiple software engineer teams and done the hiring in multiple roles.
I can highly recommend NetGuard on android, it's non-root and free software.

I wish there was a system that lets me whitelist specific hosts per app.
and as always my favourite source for hosts file:

https://someonewhocares.org/hosts/
What about Web?
For those for whom the article doesn't display fully, https://outline.com/7hVs6S
Warning issued over attacks on internet infrastructure
The first consumer Rift is the same one currently being sold.

You might mean the DK1 - which wasn't generally available to non-developers but I don't think there were any stringent checks in place over who was a developer.
It is not unreasonable at all. If you have 15+ years experience in domains in demand, 15-20 millions total is totally achievable, even staying in the Japanese companies. What is true is that many companies screw software engineers over, but if you are in Tokyo , reasonably good at your job w/ skills in demand, you can and should avoid those terribe companies.
Rule of Three

https://en.wikipedia.org/wiki/Rule_of_three_(computer_progra...
Love this crazy project. In Firefox I get 1 fps and crazy graphics glitches, and in Brave I slowly float into the sky. Runs fine in Chrome though.
JavaFX Starter Project for Java 11 (Jlink) and Gradle
Crashes on mobile safari
Data Objects Are Not Entities
4-byte writes are not guaranteed to be atomic. Don't do this.

fsync() and error checking is also required at key places. Seriously, don't do this.

The correct strategy is a dancing tree pivoted by a single byte: Single-byte writes are guaranteed to be atomic.

Consider something like this:

struct disk {
unsigned char d;
struct toc a[2];
char data[0];
};

The correct toc is disk.a[disk.d]

Writing involves:

1. Write data. any errors? abort: close fd, reopen and retry.

2. Update disk.a[disk.d^1]

3. Write disk.a to offset 1 of the disk. Any errors? abort: close fd, reopen and retry.

4. Fsync. error? abort: close fd, reopen and retry. NB use F_FULLFSYNC on OSX.

5. write the byte disk.d^1 at offset 0 of the disk. fsync(), but ignore the result. NB use F_FULLFSYNC on OSX.

6. Open the file with a second fd (holding the first one open). Read 1+sizeof(struct toc)*2 bytes and confirm they contain the same contents. If they don't, close both fd, and restart.

7. Close the second fd (but be careful if multithreaded†)

†: http://geocar.sdf1.org/close.html
I totally agree that the cost of abstraction should become more important. It is often the number one cause of frustration when trying to add a new feature to an existing code base.
Building a mental model of any code base takes time. Abstractions for the sake of abstraction makes it harder to grasp.
I did say context dependent, which is the opposite of context free.
Ten minutes in the car on a 240-day work year is one work week. While commuting has some benefits, like decompression time and work life separation, even a short commute has an impact on your free time. Remoting has hazards that one ought not downplay, but the lack of commute is a bigger deal than we might realize.
“I found myself incapable of reading books, watching full-length movies or having long uninterrupted conversations. Social media made me angry and anxious, and even the digital spaces I once found soothing (group texts, podcasts, YouTube k-holes) weren’t helping.”

So don’t take the call and keep having the conversation. Delete all apps that aren’t a net benefit. Is this really that difficult?
...not really? Trump appointed him as chairman, and Mitch McConnell picked him for the board in the first place:

> That’s not to say Obama shared Pai’s views—rather, the president was abiding by the convention that the minority party gets to nominate two appointees to the five-seat commission.
http://fortune.com/2017/12/14/ajit-pai-net-neutrality-donald...
I'm 37, and I have never really had a smartphone, because I don't want one. I know I tend to be addicted to the internet (I can't resit my laptop when it's nearby with wifi), so I think it's more healthy for me to just not have a smartphone than to resist temptation (like an alcoholic simply not going into bars).

I'm a Software Engineer and I've never downloaded or used an "app" on a smartphone.

I did buy a new Android one for $20USD in Guinea, but I just use it to tether my laptop and it doesn't have a single app on it. I've never browsed the web on it or made a phone call because the interface sucks.

It's interesting to watch how addicted people are to their phones, and how much it invades everyday life. I think I have an interesting perspective looking from the outside in.

Whenever I'm out for drinks or dinner, every single other person checks their phone about every 1-2 minutes, often spending at least that long doing nothing other than staring at their phone, oblivious to those around them. During those times I really enjoy looking around to see who else isn't on their phone, and I make eye contact and smile to see what kind of human responses I can get. I have previously been at a table of 10 people and I'm the only one not staring at a phone.

I get that they can make life much easier in certain situations (coordinating meetups with people, locations, timing, etc.), but to be honest the more I observe from the "outside", the more I'm convinced the negatives outweigh the positives.

Of course everyone needs to make their own choice, and I'm by no means saying everyone should ditch their phone or that phones are stupid.
Getting Lost Makes the Brain Go Haywire
Which raises the question, how are these not print debugging? How are they better than print debugging?

I admit I don't know any of these tools, but I hope (1) they don't introduce another language than the one the project is coded in, (2) they let you put the logging statements inline in the code since otherwise the debug setup would be hard to synchronize to the actual code.

The situations I described are not particularly wicked, but rather normal debugging. If the bug is not trivial (in which case an interactive debugger can help finding it quickly), then the process is always to start with a global but coarse view, decide where the bug likely is, and zoom in on that partial view, requesting more details.

I doubt any automated system can help much there. Automatic structure printing might already not work for many cases since it prints too much data, or formats the data in a way that is too mechanical and not fitted to the task. Or in case of object-languages, the system does not now how "deep" it should print these structures.

I think automatic structure printing is a nice to have for simple situations with few structure fields. In practice I'm almost always fine with typing a printf line manually. I don't think that typing and modifying the line as I go would take the majority of my debugging time.

I use interactive debuggers myself, and I think they are faster in simple cases since there is no edit-compile-rerun cycle. But like all interactive GUIs, they are not (or only badly?) scriptable and automizable.
He was McConnell’s nominee for one of the Republican positions during the Obama administration and was promoted to chairman early in the Trump administration. It’s safe to say that he’s not out of step with the GOP leadership when he has the backing of both key Republican leaders.

Moreover, Pai has resolutely stood for large companies being insulated from competition and being allowed to extract more money at the expense of the public. That’s Trump’s platform, not an aberration!
When audi first introduced continuously variable transmissions they had to make them act like discrete transmissions because users complained it felt like the tranmission was slipping.

arrggghghghg
Awesome Deep Learning Techniques for NLP and Toxic Text Classification
Unfortunately it's an emulator of a classic Motorola 68000 Macintosh, you would need some kind of OCR technology to make it accessible
Crashed first time on mobile safari then ran fine when reloaded. Ran pretty smoothly on my iPhone 7 too.
>By far the best messaging user experience on desktop there is.

No offence but that's like your opinion.

Coming from IRC and TeamSpeak, to me Discord is unnecessarily bloated and full of analytics.

>I used Slack / Skype / Hangouts / WhatsApp / Messenger / etc. before

Yeah, explains it. :P
You can do that with NetGuard, but it's a pro feature you have to unlock
I am pretty happy with the interface.
Perl's Configure that is run to build Perl in the first place has to figure out a lot of the same things. You can get all of it from the installed perl as well:

perl -e 'use Config qw(config_sh);print config_sh()'| less

Not as nicely formatted for sure, and lots of perl specific stuff you may not need. But piping that command above and grepping for 'size', for example, works well.
I think it’s quite presumptive for you to tell other people what best suits their needs. I’ve done some Rust programming, but C++ far better provides what I need.
> The idea was to create a format not unlike an entire web site packed into a single file, containing text, images, code, and what connected them into a whole.

If it were a web site, it would contain every singe page of that web site and would be able to edit a single page/image/audio/js/css without the need to rewrite the entire file each time.

>Instead of changing data, we always write a new copy.

And it's a Copy-on-Write file format.
It seems like this requires a decrypted IPA. Do you know of a way to get those without jailbreaking?
I believe the Lego fan jargon for the side-quest pieces is SNOT blocks (studs not on top).
By the sound of it, for them that was all apps. So just use a normal phone, no point in a smartphone without apps.
Understandable position for them to take when you have the likes of Facebook / Onavo etc pushing VPNs and root certificates on uninformed users for "research".
I don't know about NTT, but 5-6 millions JPY for manager-level roles in general is terrible, even outside Tokyo. W/ decent engineering skills, you should be able to get at least the double after enough experience in Tokyo.

If you want to check your market value, you may want to talk to a recruiter (a quite scammy business in Japan, but a good way to check your market value).
Graph Algorithms for Data Scientists
There are many big companies wasting money on the latest fad.

Hell, there are many big non-tech companies throwing money at blockchain
> People are weird. They set their clock five minutes ahead or whatever.

Back in uni days I would set my bedside alarm clock 10 minutes faster. No joke it almost never failed to fool my groggy morning brain on days I hit snooze one too many times. "Oh crap I'm going to be late!" toss clothes on, run to kitchen for snack only to see that I've got another 10 minutes. whew. Crazy I know, but it worked. I also think I did similar with my cars clock by setting it faster when I first started driving to work. Now I smoke a little weed before bed, sleep like a baby and wake up much easier.
So fundamental to American propaganda is the notion that imperialism is born of a desire to "help" other countries. It is true that it is often packaged and sold this way, and in some cases it may even be a contributing factor, but our adventurism is largely driven by the military industrial complex and capital looking for "new markets" or "cheap labor" or even just a desire to strangle competing ideologies in their infancy.
I'm wondering if you could now achieve that same effect with an iPhone or iPad and the FaceID sensors... no good for full-size flight sims but I'm wondering if this tech is now going to get its day some time soon.
I followed almost the exact same track as this guy, slowly realizing that my phone was a problem, then the problem, and coming to the conclusion that real drastic intervention methods were necessary, something that went beyond vague "trying to do better" efforts.

I started a daily life 90% detox for a week or two then also did a completely phone free weekend, in my case at a Zen Buddhist monastery (and also in the Catskills, ironically).

I completely and totally agree with his ultimate conclusion. Having a smartphone had literally rewired my brain, and not in a good way. The inability (or unwillingness?) to hold concentrated attention on literally anything that requires more than 5 minutes of sustained attention is just a horrible way to live.

It's a tough thing to do, I freely admit that I have lapsed repeatedly since I started working on this seriously about two months ago. And I don't talk about it IRL with people since it's impossible to discuss without coming across as a holier-than-thou asshole.

But this is a real problem, and looking around it seems nearly everyone in modern society has it.

I think we're all going to look back on this era and what we've done to our mental health in abject horror, like we do on whatever era it was that the Romans decided sugar of lead was an awesome way to sweeten wine.
How do you know the OS/hardware will perform the writes in the order that your program performs them?
If you want an overview of the issue, here's a presentation from Tomas Vondra at FOSDEM 2019: https://youtu.be/1VWIGBQLtxo

Or an early recap of the "fsyncgate" issue in textual form: https://lwn.net/Articles/752063/

Related (also listed by Tomas Vondra): Linux's IO errors reporting https://youtu.be/74c19hwY2oE

A previous hn discussion on the subject: https://news.ycombinator.com/item?id=19119991

Also note that this is a broad issue with fsync, it's possible that your own software is affected: https://wiki.postgresql.org/wiki/Fsync_Errors links to mysql and mongodb fixes for the same assumptions, one of the posts from the original fsyncgate thread mentions that dpkg made the same incorrect assumption.
Yeah, it's much cheaper to buy a phone with a little built-in storage and add an SD card than to buy a phone with enough storage in the first place.
Slide 12. "... the resistance becomes too great and there is the potential for elements (and children) being stressed."
Ask HN: Entrepreneurs, how is your sex life while running a startup
Understanding that a good personal space and sex life is important for our mental health. What is the situation among the startup entrepreneurs?
Volt, sounds like a cheap knockoff of Tesla. That was the emotional response I got from it. I imagined that if they could not come up with a more original or cooler name then their car was probably like that too.

I could almost see their reasoning for naming it volt: They figured that the Tesla company used that name because of Nikola Tesla, I guess they decided they too should use another name related to electricity, the volt (cue applause at their brilliance). It seemed very lazy to me.
Dependencies should be treated like if it was your own code. After you have replaced some API for the third time you can start thinking about wrapping it.
The Prius drives like a powered down vehicle, which it is. The Volt drives like a little sports car. You put it in Sport mode and that thing will fly.

Prius isn’t even in the same conversation...which is why the total lack of marketing of the Volt is the biggest problem it’s had. I’ve driven both, there is no comparison.
Yes. I look for something I can measure when I make this decision. Will it result in less code? Will it improve performance? Will users/customers care?
A common trick with jazz organists back in the day was to slip a matchbook between the top of depressed keys and bottom of underpasses keys as a sustain, usually done on a high octave of the key as a drone.
tl;dr very long, owned a Volt, because of it bought a TM3

Owned a 2017 Chevrolet Volt, I made this choice because I wanted to "dip my toes" into the EV experience and only needing one car I needed one that could go anywhere. I make two trips per year by car one of which is thirteen hundred miles round trip.

The fit and finish was very good for any car, it drove very well, and EV mode was an eye opener. Being in Georgia meant that from spring to fall I could easily exceed the fifty three mile EV range, at times I approached seventy miles and this with AC on; disclaimer is that I had very little true highway speeds on my fifty four mile round trip to work. Cooler weather, as in forties or below drop the range below EPA and freezing opened up other opportunities. Mainly I would leave home with the car conditioned and turn the gasoline motor on for part of the commute to more readily heat the cabin and buffer my range for return trip home in EV mode. Cabin noise from the gas engine was incredibly hushed.

Now I own a TM3, I credit GM for that. The Volt sold me on EV driving. The effortless power that is present all the time and the quietness of the drive train. Why not the Bolt? Well GM was typical GM. They made a ZEV car and only went as far as they had to beat Tesla to the PR punch and soak ZEV credits to continue their sales of petrol burning cars, a fleet that ranks near the bottom.

The Bolt lost out for many reasons, the first being lack of range. No trip planner could get me through either of my two yearly trips; as in it was impossible on some legs. The TM3 blows through it because of range and charging options. The second reason was the same reason I did not buy a first generation Volt, the interior, namely the dash, looked Fisher Price. Throw in horrid front seats and yes they were bad, and it was a no go. I do like the packaging otherwise.

The Volt is gone because ZEV credits for PHEVs took a dive after 2018. As in nearly nothing compared to what they were. GM gamed the ZEV system in 2017 and 2018 so that they have banked enough credits till near 2021 which is when their EV focus will switch to Cadillac.

Now not to knock GM only, Tesla leaves a lot to be desired. Most of the features in my TM3 are very shallow implementations of other cars. My Volt had complete blue tooth audio integration, my Tesla requires me to use my phone to switch play lists, by artist, and such. Which is not fun because my state is a hands free state. The Volt had superior energy monitoring breaking out HVAC from the EV motor and even showing impact of the drive on efficiency. Tesla never delivered on voice commands, my car knows about six commands - a toyota corolla has more than three times as many. Instead Tesla gave me fart humor and a fireplace