2,911 karma · joined Oct 19, 2016 (10y ago) · 544 submissions
comment 6y ago · link · parent
Do you know what they did (assuming not nothing) to have browsers continue to enforce the same-origin policy, and block www.terriblesecuritycompanyname.com/evilhacker.com from accessing cookies that belong to www.terriblesecuritycompanyname.com/owa.office365.com?
comment 6y ago · link · parent
comment 6y ago · link · parent
I work on a project with a Go backend and a React frontend, and having to update all those React dependencies myself is what keeps me from moving to a system like Bazel.
comment 6y ago · link · parent
You're right that cycling through tabs and making individual decisions on closing each one has a high cognitive load. Closing an entire window is much easier.
A while ago I realized this, and started to front-load that cognitive effort and make sure that the "root" of each "subject" gets opened in a new window (or at least detached early enough once I realized that I was branching off into a new subject).
An example of the root of a subject could be an item in an issue tracker, and that window could also contain tabs for code search windows, Google searches on that topic, Stack Overflow answers, etc. Once I'm done fixing the bug, I just close the entire window/subject/group, without thinking about each individual tab.
The front page of HN is also usually the root of a subject. I'll open tabs for articles and comment pages, and then close the whole window once I'm done with my break and want to go back to work. If there's something particularly interesting that I want to save for later, I'll detach that tab and close the rest.
For the C++/RAII people, this is kind of like making sure that every object has an owner, and that memory is freed when those objects go out of scope. This is a lot easier than manually doing a mark-and-sweep over all your tabs :)
comment 6y ago · link · parent
This might've been fixed in Go 1.15 though - see https://twitter.com/bradfitz/status/1256348714198654976.
comment 6y ago · link · parent
Unfortunately I've gone in the opposite direction as you. I recently moved from a company that had a good automated test culture, to one that has a culture of manually testing things, often in production. Everyone, even the senior engineers who've been around for a long time, regularly lands changes that cause prod incidents.
There's actually quite a good canary/rollback system in place to deal with this, so a lot of people think everything's fine. But they don't quite realize how much more efficient things are if you can just make a change and run a test suite, and quickly have confidence that you didn't break things.
comment 6y ago · link · parent
The big question is - how much do you trust these providers, and do you think they are more competent at security than Amazon/Google/Microsoft?
comment 6y ago · link · parent
> What use would a tracing app have if anyone could ignore alerts at will, because s/he has no symptoms and is afraid of job loss if quarantining?
I think this is another example where things are a bit too binary. If anyone could ignore the alert, then some probably will and the rest won’t. The fact that the rest are taking this seriously still helps to avoid some number of transmissions.
comment 6y ago · link · parent
This feels like the mask debate again. It doesn’t guarantee safety, so it’s useless.
But there are plenty of things you could do.
You could carry on but avoid visiting your elderly parents, and cancel your plans to attend a crowded event. You could start walking or driving to work instead of taking the train. Or work from home more often.
It’s not a choice between quarantine or complete freedom, there are grey areas in between.
Get one of these alerts? Start taking more precautions. Get many more? Start taking more extreme caution.
comment 6y ago · link · parent
Their constant failure to make a dent in the chat app space is surely embarrassing, but having a few parallel efforts is a drop in the bucket in terms of efficiency.
comment 6y ago · link · parent
This guy calls claiming to be from the Beijing police. They claim that after she left China, someone stole her identity and tried to make some transactions in her name. They managed to stop him, but now they're investigating and they need to gather evidence. And so they need to get her id and bank account details, etc.
For a while they completely had both of us, and we believed everything they said up until they were asking for her details. She asked for a name and id number, and said she'd call them back. When she looked up the real Beijing police phone number and called them, they said they had no idea what she was talking about.
comment 6y ago · link · parent
And the kind of companies that value self-hosting will usually want this to be set up inside the company's internal network. So you'll have a bunch of firewall issues to get through, otherwise good luck getting your users to connect to some non-publicly-accessible server from their phones.
Other comments talk about how Slack nailed the UX for users to join a Slack workspace. But they also nailed the UX for getting a workspace set up in the first place.
(Well ok the whole idea of separate accounts per workspace thing is a bit of a mess, but they nailed everything else)
comment 6y ago · link · parent
How many spaces do people put after a full stop in comments in their code?
I go with one, but Vim's J and gq commands annoyingly insert two spaces when joining sentences from separate lines. I'd love it if someone could tell me how to fix this.
Edit: found it, the command is "set nojoinspaces"
comment 6y ago · link · parent
One of the reasons Agile (with a big A) is so successful is that its peddlers have convinced everyone that there are only two options: Agile and waterfall. When you're up against a strawman, it's easy to win. But it's absolutely a false dichotomy.
There's a quote in the article that I like:
> Find me an actual tech company that talks much about Agile, and I will be astounded.
In my experience, people at tech companies (at least the FAANGs) rarely talk about Agile, although they do talk about things like continuous integration/testing/deployment. They do not obsess over methodologies for how to move post-it notes around a whiteboard (Scrum vs Kanban) or agonize over how to word a user story narrative, or other parts of Agile Theatre.
People at some non-tech companies, especially those supposedly going through a "digital transformation", seem to have fully bought in to the crap that Certified Agile consultants are selling though.
So a superior alternative to both Agile and waterfall is what's in use at a lot of the big tech companies. For example, the engineering culture at Google, which relies on design docs and a very good set of developer tools and infrastructure. It's not perfect, but it's far, far superior to Agile.
And before anyone makes the argument that those non-tech companies are not doing "real Agile", but Google is, let's be linguistic descriptivists and accept that Googlers don't call their methodology "Agile", whereas the Scrum consultants at big corporates do.
comment 6y ago · link · parent
I don't think there's anything special about eight hours a day. It's more about just having everyone keep the same hours, so that you can get a quick turnaround on questions/requests. So I think it'd work if companies built entire teams that were part-time, working on the same subset of the week.
comment 6y ago · link · parent
> How can we be sure until we have widespread testing?
I think we can be sure that this is an incorrect number, with the data we have right now. At least 8448 people have died of COVID-19 in New York City, and if only 0.1% of the infected die, then we have 8,448,000 infected New Yorkers. This is the entire population of the city (including those who fled to other states) and would mean that we've reached herd immunity and can stop worrying about it now.
comment 6y ago · link · parent
And the soot from the industrial revolution would've covered the entire environment for a peppered moth, whereas many birds fly over incredibly large distances, which wind turbines will only cover a small fraction of.
comment 6y ago · link · parent
comment 6y ago · link · parent
The development process itself is fine. This takes place inside Facebook on their own infrastructure. The problem is their process to automatically sync their internal repo to GitHub and keep the public CI green is broken.
comment 6y ago · link · parent
As a 9-5 programmer, I often found myself too mentally exhausted to do any coding outside of work. This meant that over the years, programming became just a job, and nothing more.
But once I changed career tracks, I found that I had the energy to write code after work. It actually felt like taking a break. I went from "I need to get away from the computer and go talk to people" to "I need to get away from people and just write code". And when I was writing code on my own terms, without any project managers or other people telling me what to do, it became fun again.
I'm not necessarily saying you should move into management too. I'm lucky that I enjoy the people side of the job, unlike a lot of programmers. But I think that if you put yourself in the same situation as you were in when you first discovered the joy of programming, you'll be able to rediscover it.
comment 6y ago · link · parent
It would be awesome to be able to use your old icq number and hear the "uh oh" notification sound - nostalgia is about the whole experience not just brands.
comment 6y ago · link · parent
I just updated to Firefox 75 and it's still using x11. If I opt in to using Wayland, it works, but annoyingly I can't detach a tab by dragging it off of the window. So it looks like Wayland support is not quite there yet.