HNHacker News
TopNewBestAskShowJobs

koyote

2,431 karma · joined March 21, 2012

submissionscomments
koyote··on Gibraltar, world’s only airport runway intersecting a road
> This doesn't seem like that much of a burden to endure.

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.

koyote··on Stop mocking your system
> Really the lesson that should be taught here instead of “don’t use mocks” is “unit tests aren’t sufficient, write integration tests too”.

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).

koyote··on Heat dome causing record breaking heat wave
The Sydney desalination plant is entirely powered by Wind:

https://www.sydneydesal.com.au/caring-for-the-environment/10...

koyote··on Funazushi: The fermented predecessor of modern sushi
I'd assume the mould is a deterrent.
koyote··on Ignoring bulk change commits with Git blame (2019)
The inferiority of git tooling is the first thing I noticed when I moved from perforce to git for large, old, commercial production code (when using git for personal projects, you're basically only using 1% of the features as you're typically the only committer).

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.

koyote··on GitHub Copilot
I agree, I feel like it might be useful for whichever programmers regularly have to search Stackoverflow and then copy paste code snippets.

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).

koyote··on Windows 11 will create heaps of needless trash
Really? I still use my now over 8 year old Thinkpad (upgraded screen, hdd, ram and replaced the keyboard after an orange juice 'incident') and it feels as quick as my 2 year-old work laptop.

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.

koyote··on So you want to build a house more efficiently
Well if you take into account that the roof framing that caught fire was made out of timber I think that highlights that even just using wood as part of the building is a massive fire hazard.
koyote··on The rise and fall of Oxygen OS
What kind of bugs are you finding? My OnePlus 6t has been running smooth since day one.
koyote··on State of the Windows: How many layers of UI inconsistencies are in Windows 10?
I agree and am actually surprised that several years in there is still a bunch of stuff that is not configurable in the new Settings screen. I am obviously speaking without extensive knowledge of the underlying internals but surely it can't be that difficult to wrap some settings in a new UI if you dedicate a team to it?

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...

koyote··on 4-day workweek boosted workers' productivity by 40%, Microsoft Japan says
That is a good point, although I used to work for a US multinational with people based in France and they often took 3-4 weeks in one go. More than that might be pushing it a bit.
koyote··on 4-day workweek boosted workers' productivity by 40%, Microsoft Japan says
Maybe you should move to France where something very similar to the above is pretty much encoded in law (with caveats of course).

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:

https://www.service-public.fr/particuliers/vosdroits/F34151

koyote··on Europe's Software Problem
> Knocking off at lunchtime on a Friday, leaving at 3 or 4pm, etc. The only people I've seen working a full 40 hours in Australian companies are the people who own the company, and foreigners.

Are you implying that this is a bad thing? Having time to actually enjoy life seems to be very underappreciated here.

koyote··on Linus Torvalds: Get vaccinated. Stop believing the anti-vax lies
> safety of vaccines has been empirically verified > experimental vaccine

When is the vaccine safe and no longer experimental, according to you? We have now given over 2 billion vaccine doses around the world.

koyote··on Moving my home media library from iTunes to Jellyfin and Infuse
I also highly recommend Jellyfin, it has come a long way!

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.

koyote··on The work-from-home future is destroying bosses' brains
> It's now much easier to work past 5 or 6pm or whenever you would normally end

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.

koyote··on Apple-Developer Relations
> I’m not sure why you introduced homes to the analogy. That’s a very different scenario.

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?

koyote··on Apple-Developer Relations
A restaurant only sells its own merchandise so this comparison does not make any sense.

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.

koyote··on On Smoking
A lot of my smoking friends preferred one brand over an other and even refused to smoke some brands. But I wouldn't classify that as being 'gourmet' in the same way as alcohol is.

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.

koyote··on Rethinking the computer ‘desktop’ as a concept
Well it depends on the program you are using but programs that follow a document-style layout usually allow you to close a document without quitting the program (in the File menu or Ctrl-W).

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?).

koyote··on On Smoking
Alcohol has gourmet attributes and is a good social lubricant. The question is more around whether those two attributes warrant ingesting what is essentially poison.

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.

koyote··on Show HN: Find Subreddits for Your Niche
> In fact, I would go as far as to suggest that the primary reason HN is slow to succumb to the Eternal September is because it doesn't allow for embedding media.

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!)

koyote··on Show HN: Find Subreddits for Your Niche
The "I BOUGHT A THING!" posts reek of astroturfing in my opinion; just browse /tea or /breadit and you'll see the same item posted every single week reach the top page.

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...

koyote··on Belarus 'diverts Ryanair flight to arrest journalist', opposition says
It's not always easy to achieve that unless you're willing to spend a lot of time and money.

Europe to SE-Asia almost always involves flying over quite a few 'problematic' areas.

koyote··on Microfarms come to South L.A. frontyards, bringing fresh produce to food deserts
I used to live 20 minutes walk from the closest non-convenience store.

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.

koyote··on Game developers sharing their salaries on Twitter
> Western European salary is taxed for around 40%

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.

koyote··on Why do we buy into the 'cult' of overwork?
I agree with other commenters that it might not be the best thing to say if you want to keep your friendships.

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.

koyote··on Why do we buy into the 'cult' of overwork?
Coding is fun!

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)

koyote··on iOS 14.5 delivers Unlock iPhone with Apple Watch, new privacy controls, and more
Fingerprint readers have been living under the screen in other phones for several years now.
koyote··on How often do people copy and paste from Stack Overflow?
I assume this is for more junior roles?

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.

← PreviousPage 11 of 25Next →