The road in Gibraltar is a main thoroughfare and I believe the only way to get to the Spanish border. Imagine a rail crossing going through the 101 in SF.
2,431 karma · joined March 21, 2012
The road in Gibraltar is a main thoroughfare and I believe the only way to get to the Spanish border. Imagine a rail crossing going through the 101 in SF.
I completely agree with your comment.
I also think that people underestimate the kinds of scenarios unit tests can test; scenarios that are not possible or not practical to test by other means:
Unit tests are excellent for testing edge cases and scenarios that do not generally happen in normal production. It makes it easy to test things like 'how does this function behave if X returns some corrupted data?'. I feel like a lot of products don't test the failure cases at all, thinking 'that will never happen'. Mocking external services is a very straightforward way to test these kind of scenarios.
Just last week I was looking at a typical heisenbug that did not happen in 99%+ of production. The bug was masked by a combination of caching and the program flow. I was able to write a very short and specific unit test that was able to deterministically mimic the (bad) state the program was in and reproduce said bug.
There was however no way to properly test this using integration testing because it was relying on specific program state to manifest itself. Even if we had an integration test with the exact same data that caused the bug to appear, it would not be a deterministic test and future code changes might make it disappear even though the underlying bug is still there (or re-appeared).
https://www.sydneydesal.com.au/caring-for-the-environment/10...
I enjoy git's way of handling version control better than perforce but there's no denying that p4v is an amazing tool for browsing through code that has a lot of history.
Then I feel like useful code produced by this tool will have to be treated in the exact same way as a rigorous code review: going through every part of the logic and ensuring it is correct. This seems like just as much or even more work than writing it yourself (if it is written in an unfamiliar way, you might need more time to wrap your head around it).
Moore's law is long dead for consumer perception of speed, even other components have stagnated lately. RAM size and HDD space has not really moved much in the last 5 years for a regular laptop; CPUs have gotten a bit faster but the average user will not notice the difference in their every day workflow.
I actually spent 15 minutes the other day trying to remove an additional keyboard layout that somehow found itself on my machine. I had to give up as I could not find the option in the new Settings screen and it seemed to have disappeared (or moved?) from the usual place in the Control Panel...
I have not worked in France but as far as I understand, if you work more than 35 hours a week you will get the extra hours as additional time towards your annual leave:
Are you implying that this is a bad thing? Having time to actually enjoy life seems to be very underappreciated here.
When is the vaccine safe and no longer experimental, according to you? We have now given over 2 billion vaccine doses around the world.
I run the server inside a Proxmox linux container and use the Google TV client. The UI on the Google TV app isn't quite as polished as the Web UI but gets the job done.
It is much easier but I also believe it's something people will get out of the habit of (or at least I hope). It really isn't a difficult habit to break.
Since working from home I do exactly the same as I would in the office: At the same time every day I close the laptop and put it away.
It's actually easier for me to get away because no one is stopping me on the way out to ask me some questions or to just have a quick chat.
In what way is a home that you fill with stuff you bought in a store different from a computer that you fill with stuff you bought in a store?
The App Store is a 'store' in this case (it's in the name) and is the only store where you can buy items for your Apple home.
Imagine if Walmart sold homes and you could only put items in it that were bought at Walmart.
A similar example is mineral water:
I have preferences around which mineral water I drink. I even dislike waters very high in minerals and will only have them if there is no choice. But in the end water is just something I drink to satisfy a physical craving; it is not something I will consume as part of a gourmet experience (although some 'artisan waters' have tried to market themselves that way...).
You won't hear many smokers say things like: "OMG have you tried the new XYZ cigarettes? The subtle flavours of tar and nicotine are just to die for!" (and the same is true for water) There's also no 'craft cigarettes' market, or cigarette tasting tours and whatnot.
The big 'X' will always quit the program though as that's what the user would expect. Imagine Chrome/Firefox's big 'X' only closing the current tab (is that how it works on a Mac?).
I don't think I've ever heard a cigarette smoker comment on the taste of their cigarette (cigars are the exception here) and the high, especially for regular smokers, is near non-existent. So for cigarettes the initial appeal is much less obvious.
I'd assume most people start smoking due to social pressure/trying to fit in.
I agree, I think your whole post basically highlights how social media has converged into Instagram behaviour: quick scroll and spend 2 seconds on a post (image because text takes more than 2 seconds to process) and then double-tap for a like (a like being a mere reflex to the 2 seconds of mental stimulation you just felt).
That being said, even HN has its own issues: the same discussions get rehashed ad infinitum for many popular topics (just compare two posts about p.e. Apple, 1 year apart). Maybe we can have a school essay-type plagiarism checker that declines any comments with a high enough similarity to existing comments? :) (please don't do that!)
I do wonder how many of them are actually sponsored/artificially promoted by the company's PR department vs just natural hive-mind. In the end it doesn't matter because the posts are of zero value...
Europe to SE-Asia almost always involves flying over quite a few 'problematic' areas.
I carried a medium-sized rucksack and went shopping more regularly.
Obviously not quite as easy for an old age pensioner or people that might also have issues walking with a heavy bag, but the vast majority of people do not fall into that category.
Nowadays I get my big shopping delivered, but still sometimes walk (to the now closer shop) with rucksack. For the further afield discount alcohol shop I often bike there, again with rucksack and/or side bags.
You'll only get that tax rate at very high salaries and it's also of course marginal. In the UK the first 12k (~$17k) is entirely tax free for example. After that it's 20% up until you have earned 50k (~$70k). Only after that does the 40% tax kick in. So on a $75k salary, only $5k will be taxed at 40%.
For a $75k salary you would be paying just over 16% tax and 9% national insurance (i.e. pension) in the UK.
When I first started working as a SWE in the UK I worked out that my average tax rate was actually slightly lower than if I earned the same in California. If I was earning 2-3x more then the higher European taxes start to kick in.
It's a very true sentiment though. Another one that often comes to my mind when people brag about amount of hours work is something along the lines of: "Do you know that you're effectively being paid at near minimum wage?" (obviously not true for everyone, but some people's salary goes from 'decent' to 'minimum wage' per hour worked)
But it's even worse than just being paid less per hour worked:
For each hour you work, you lose an hour of 'life'. Working 10 hour days instead of 8 hour days means that you lose 10 hours of 'life' a week.
But why not work on a fun personal project instead of giving your labour away for free? (I am assuming you are not the majority owner of your company)
It's been a long time since I've needed to use SO for something in my day job. I mostly end up on the github/microsoft issues sites scrolling down to see whether the compiler/library bug I just reproduced has been fixed yet or at least has a workaround...
I think a better question would be "How do you go about finding a solution to a roadblock you've encountered while writing code?", that will test for people who go straight to colleagues for each little issue instead of spending 10 minutes looking up a solution themselves. It also gives you an idea of their problem solving process.