HNHacker News
TopNewBestAskShowJobs

koyote

2,431 karma · joined March 21, 2012

submissionscomments
koyote··on Life expectancy rise in rich countries slows down: took 30 years to prove
I assume you are referring to a larger amount of people living in poverty in the US?

Could this also (partially) be explained by the cost of healthcare? Something like a downwards spiral where average people end up poor either due to direct costs of healthcare or neglecting their own healthcare due to cost?

koyote··on PayPal (USA) will automatically share data about you to participating stores
It's not that I do not trust the shop to scam/fraud me (well, sometimes I do), but I do not trust their IT processes.

There are a surprising number of online shops that rolled their own payment processing (or at least seem to be). So it's more akin to entrusting a shop with a photo of both sides of your credit card and hoping that this photo does not get into the wrong hands.

Here's an example of this happening where drivers licenses were exposed via an open AWS S3 bucket: https://www.itnews.com.au/news/over-54000-scanned-nsw-driver...

koyote··on PayPal (USA) will automatically share data about you to participating stores
Same here, I absolutely despise PayPal but end up using them often because I simply don't trust most retailers with my card information :(

(and it's often faster checkout if I don't have my CC details handy)

That being said, there's quite a bit of competition these days from BNPL vendors (klarna, afterpay etc.). I don't believe they are any more virtuous though...

koyote··on NixOS is a good server OS, except when it isn't
As someone who uses Proxmox without bash scripts and is scared of the day I have to re-work out all the config files I (often randomly through trial and error) changed:

Do you have any tips on how to get started? Do you simply make the change and then paste the commands needed into a script?

Also I assume you have a script to set up the (Proxmox) host machine?

I also have quite a few Proxmox specific things that I had to change (e.g. GPU pass-through) which seems to break your "Now it doesn't matter what technology (container or VM) I use" advantage.

koyote··on Apple must pay 13B euros in back taxes, EU's top court rules
> Please, tell me what types of income earned by a U.S. expat isn't covered by a tax treaty?

I am not a tax person, but selling a house can cause you to owe tax in the US even if you did not owe any tax in the country you are living in (and sold the house in).

Famously one of the reasons Boris Johnson tried to give up his US citizenship (https://www.bbc.com/news/uk-politics-30932891).

koyote··on Serving AI from the Basement – 192GB of VRAM Setup
This is undoubtedly cool and I am a bit jealous!

Maybe a bit of a stupid question, but what do you actually do with the models you run/build, a part from tinkering? I'd assume most tinkering can also be done on smaller systems? Is it in order to build a model that is actually 'useful'/competitive?

koyote··on Visa to launch pay-by-bank payments, an alternative to credit cards
That's how it works in the UK, all direct debits show up in your bank account and you can unilaterally cancel them and they auto-cancel if it's not been used in over a year.

You're also protected if an incorrect payment was made.

No idea why not every country has this.

koyote··on Fixing a bug in Google Chrome as a first-time contributor
I'd argue that it's not the 'default' workstation most developers who do not have specific requirements will be running, especially on the RAM side.

My personal machine is very mid-spec'ed because my personal projects are all small and don't really require much.

Even my work machine tops out at 32Gb RAM which has always been plenty, even for our comparatively large codebases (although more is always welcome :)).

koyote··on Australian employees now have the right to ignore work emails, calls after hours
> Employees benefit from calls out of hours. How? The employer is able to offer better service to customers, and make more money, and the employee can negotiate a higher salary from the more profitable business. Employees who are inflexible cannot offer the same level of service to their employer and its customers; they'll on-average be paid less and measures like this increase production costs, making goods and services slightly more expensive.

The business can put that into their contract so that a prospective employee can make a conscious decision:

For example, I have two offers, one for x% higher salary but the contract stipulates a requirement for me to be available after-hours between Xpm-Ypm on x days of the week, I can then make the decision whether the x% more money is worth the stress and the free time I have to give up.

That's how our business introduced on-call: it's opt-in and there is specific remuneration for being on call and for responding to an issue.

koyote··on Apple to update EU browser options, make more apps deletable
Why not get a data-only SIM card?
koyote··on Artificial intelligence is losing hype
I think there's a vast ocean of different software engineers and the type of code they write on a daily basis, which is why you get such differing views on AI's effectiveness. For me, AI has only ever been useful for very basic tasks and scripts: If I need a quick helper script for something in Python, a language that isn't my daily drier, AI usually gets me there in a couple of prompts. Or maybe I am writing some powershell/bash and forgot the syntax for something and AI is quicker (or has more context) than a web search.

However, my main job is trying to come up with "elegant" architectures for complex business logic that interacts with an existing large code base. AI is just completely out of its depth in such cases due to lack of context but also lack of source material to draw from. Even unit tests only work with the most basic of cases, most of the time the setup is so complex it just produces garbage.

I've also had very little luck getting it to write performant code. I almost have to feed it the techniques or algorithms before it attempts to write such code, and even then it's usually wrong or not as efficient as it could be.

koyote··on Apple's requirements are about to hit creators and fans on Patreon
Tiktok and Instagram don't force you to, but remind you that you really should be using the App.

There was an Australian low-cost airline (Bonza) that only allowed bookings via their app. It went under very quickly (I wonder why...).

koyote··on Apple Maps on the web launches in beta
What's broken with it? Seems to be working fine here.

What I have noticed is that the satellite view for Sydney is over 3 years old.

koyote··on London–Calcutta Bus Service
Why would they be impossible?

Plenty of people do similar trips every year. I know two people who cycled from London to Sydney several years ago. There's also the Mongol Rally and similar fun adventures that people do.

Today you might not go through Afghanistan just like in the 70s you would not go through Vietnam.

I am also surprised you consider countries less safe today than in the 70s. The 70s were rife with terrorism and war throughout the world and poverty was orders of magnitudes higher in the vast majority of the countries than it is now.

Maybe you have just become more cautious?

koyote··on Deterioration of local community a major driver of loss of play-based childhood
Please don't throw wild vague claims around without substantiating with data/sources.

Crime has decreased pretty much everywhere over the last three decades. I am sure there are pockets in the world where it hasn't, but those would be the exception.

[https://ourworldindata.org/grapher/homicide-rates-across-wes...]

koyote··on Microsoft Paint's new AI image generator builds on your brushstrokes
I can't wait for my Word documents to be uploaded to Microsoft to ensure I am not writing anything that is deemed to violate their content policy.
koyote··on Sunlight and Vitamin D (2013)
Wow, that is surprising.

Even Australia, a country with high skin cancer rates and high public health campaigns to reduce it recommends people get Vitamin D from the sun (although in limited amounts in summer):

https://healthybonesaustralia.org.au/your-bone-health/vitami...

koyote··on The Performance Impact of C++'s `final` Keyword
> std::exception does not take a string in its constructor

You're right, I used it as a short-hand for our internal exception function, forgetting that the std one does not take a string. Our error handling function is a simple static function that takes an std::string and throws a newly constructed object with that string as a field.

But yes, it could very well have been that the string surpassed the short string optimisation threshold or something similar. I did verify the assembly before and after and the function definitely inlined before and no longer inlined after. Moving the 'throw' (and, importantly, the string literal) into a separate function that was called from the same spot ensured it inlined again and the performance was back to normal.

koyote··on The Performance Impact of C++'s `final` Keyword
> (perhaps one of the inlining heuristics is "Don't inline a function with more than 100 tokens", and the "final" keyword pushes a couple of functions to 101).

That definitely is one of the heuristics in MSVC++.

We have some performance critical code and at one point we noticed a slowdown of around ~4% in a couple of our performance tests. I investigated but the only change to that code base involved fixing up an error message (i.e. no logic difference and not even on the direct code path of the test as it would not hit that error).

Turns out that:

    int some_func() {
      if (bad)
        throw std::exception("Error");
    
      return some_int;
    }
Inlined just fine, but after adding more text to the exception error message it no longer inlined, causing the slow-down. You could either fix it with __forceinline or by moving the exception to a function call.
koyote··on Research into why some people have a better sense of direction
Counter data point:

I am an excellent navigator but can't recognise people I know on the street, even if I know them reasonably well. If I know I will be meeting them, and I know them well I mostly recognise them but even then I am sometimes surprised when they show up and say hello to me.

Celebrities is even worse...

(Good) navigation is not really about recognising landmarks (although that helps) but about having a mental version of the map of the place you are in, with you in the centre. Think of it like the GTA mini-map that live updates as you walk around. I think that comes naturally to some people and just does not exist for many others.

koyote··on Research into why some people have a better sense of direction
Counter data point:

I am an excellent navigator but can't recognise people I know on the street, even if I know them reasonably well. If I know I will be meeting them, and I know them well I mostly recognise them but even then I am sometimes surprised when they show up and say hello to me.

Celebrities is even worse...

koyote··on Why does part of the Windows 98 Setup program look older than the rest? (2020)
That does ring a bell but I don't _think_ Win98 accepted Win3.11 floppies as valid media (or at least did not accept mine, which I am not sure were 'originals') and my Win95 disc was also an upgrade version.

I do remember playing similar shenanigans just a couple of years ago when I bought a laptop without Windows and I did not know that the Windows licence that came with my old laptop was bound to that machine...

I had a random Windows 8 key lying around and through a bit of wrestling (which I should have probably documented...) I was able to use that to install a new copy of Win10 on my laptop (which should be upgradable to Win11).

koyote··on Why does part of the Windows 98 Setup program look older than the rest? (2020)
I used to only own 'upgrade' versions of Windows (cheaper).

Whenever I had to reinstall Windows (which was frequent back in Win98 days), I had to first install DOS from floppy, then Win 3.11 from floppy, then a CD-ROM driver, then Win95 from CD until I could finally install Win98. (at one point I acquired a non-upgrade version of Win95 but it came on 20+ floppies, so the installation was not really much faster).

The end-result was a Win98 installation with a lot of old software lying around as the 'upgrade' installers did not always remove all of the existing items.

koyote··on Nintendo's online servers for Wii U and 3DS shut down today
> Thusly video game manufacturers should avoid making being online a necessity to play the game - but that's unlikely to get better either.

This is the biggest issue and I wonder what can be done to fix this, short of government regulation.

I regularly play Gran Turismo 7. It should almost entirely be playable offline but any time they do server maintenance the entire game is shut down bar a small 'arcade' mode. Even worse: the saves are entirely online. So if you happen to be racing in 'normal' mode just as the server goes offline, it will allow you to finish the race but the progress will not save anywhere and is lost.

I own the physical disc for this game but what happens when those servers inevitably get shut down?

It seems like we are at a point where it's impossible to actually 'own' games anymore.

koyote··on The Wi-Fi only works when it's raining
Great, now you've got me checking our HDMI cables :) Is there an easy way to check what an HDMI cable supports?

I guess the same question stands for USB cables. I remember looking into that a while ago but did not find anything conclusive.

koyote··on Receive push notifications from your rice cooker
I like the toaster comparison!

You can definitely toast bread using a pan but you'll find it difficult to get the same consistency and it's also more hassle and cleaning.

That being said, is there really much difference between a 100$ vs 400$+ rice cooker? I've been trying to find a reason to upgrade my cheap(ish) Panasonic to something like a Zojirushi but every time I look into it I just can't justify the expense.

koyote··on The Wi-Fi only works when it's raining
I don't think so (but I am a bit tired today, so maybe something I wrote makes no sense :)).

Homelab is physically connected to the router whereas the laptop is connected via Wifi. It was the cable from the Wifi AP to the router that was dodgy which caused the issue.

I noticed because the laptop would never reach 'true' 100Mbit download speeds whereas the homelab did.

koyote··on The Wi-Fi only works when it's raining
One of my most recent 'weird internet issues' was when I upgraded our 50mbit internet connection to 100Mbit and my laptop never really reached 100Mbit whereas my homelab easily got 100Mbit on speed tests.

It took me a while to realise the difference was that the homelab was physically connected and the laptop was using Wifi.

The laptop wifi was connected to the AP at ~1.2 Gbit and a different machine had the same issue. I decided to see what the internal network speed was and found that sending/receiving files to the homelab from a wifi device was also maxing out at ~90mbit.

This then steered me towards looking at the connection between the AP and the router, and I realised that the Wifi AP was connected at 100Mbit to the router instead of 1Gbit. Turned out the cheap CAT7 cable that I randomly used to connect Wifi to the router because it looked nicer than the existing cable was not actually a real CAT7 cable and only provided 100Mbit. Changing the cable fixed the issue! Out of paranoia I decided to replace all of my ethernet cables with decent quality ones.

I don't even remember where that 'fake' cable came from; probably from some random Aliexpress appliance that I bought at some point. I've had similar issues with USB cables that I've amassed, where I forget where they came from and only realise later that they barely fulfil their purpose.

koyote··on The Wi-Fi only works when it's raining
I thought the same, although I probably would not have immediately gone to the Wifi transmitter.

After a couple decades of debugging various internet issues the first thing I now do is check the 'source' works (i.e. plug a laptop into the modem directly, but with a different cable). If that works I go down 'the line' until something does not work. That usually finds the culprit quite quickly (and also stops me from messing with my router config when it's an ISP issue).

In OPs scenario, the moment you realise that the office internet is working fine and it's only the home internet that is having issues, the connection between the two would have been the obvious place to look next.

That being said, it's still a fun story, and still quite 'unexpected' that rain could be the determinating factor on whether you'll have working internet or not.

koyote··on Why are most sofas so bad?
Those desks do have hydraulics: https://www.ikea.com/au/en/p/bekant-desk-sit-stand-white-s09...

Ikea's goods usually come in different price ranges with the most expensive often not being 'cheap' but 'cheap given the quality'. That being said, often their cheapest stuff is the best value for money because it's so cheap that it lasting more than a year would be a miracle (but they usually do!).

← PreviousPage 5 of 25Next →