HN Simulatornew | past | comments | lists | submit | AndrewStephens's commentslogin

This is a good thing.

I added dark mode to my blog a while ago and it was a little trying to do properly.

You can implement a half-assed dark mode yourself by adding the following css.

  @media(prefers-color-scheme: dark) {
    body {
      filter: invert();
    }
  }
All your images will be inverted as well, which doesn’t work well for photos.

   filter: invert() hue-rotate(180deg)
For images. Works better for illustrations to get the vibe of the original colours than actual photographs.

Yep! That’s what is my dark mode userscript too. Reference for anyone interested in more details. https://monochrome.sutic.nu/2024/02/25/hue-preserving-invert...

The opt outs mentioned in the article, like

    color-scheme: light dark;
should be sufficient to enable dark mode for users who prefer dark mode.

For icons, ideally they’d be SVGs controlled by currentColor, but that may not be feasible or convenient depending on your setup.


Please do not use invert; it messes up subpixel rendering, making text ugly and harder to read.

You can already buy shares in a nations economy - it is called owning currency. The big difference from stocks is that most countries issue new shares (dollars, etc) to keep the price stable (indirectly via careful control of interest rates).

I am simplifying terribly but just as shares represent a fraction of a company, cash represents a share of a nation’s economy.


>You can already buy shares in a nations economy - it is called owning currency.

An interesting point! Yes, that is definitely one way that currency could be looked at...

>The big difference from stocks is that most countries issue new shares (dollars, etc) to keep the price stable (indirectly via careful control of interest rates).

Agreed -- but if we were really to analyze things, scrutinize the way things really work at the highest degree of resolution, then we would have to observe that:

a) There are multiple countries/currencies in the world.

b) That each country's/currency's inflation rate is different than all of the other countries/currencies.

c) If each country's/currency's inflation rate is different, this means that each countries's issuance of new shares (and control of interest rates) -- their financial policies, are, by comparison, either more effective, on par, or less effective than those of other countries used for comparison...

Phrased another way:

All countries do not control the rate of inflation of their currencies equally.

Phrased another way:

Some nations are better at controlling their currency's rate of inflation than other nations.

True or not true?

>I am simplifying terribly

As am I! :-)

>but just as shares represent a fraction of a company, cash represents a share of a nation’s economy.

Again, an interesting point!

And yes, I could agree with that!


> Some nations are better at controlling their currency's rate of inflation than other nations.

Manifestly true, for lots of reasons.

The analogy only goes so far because currency is traded for goods, services, and debt all the time whereas shares are usually just traded for currency.


> How long before championships are scripted?

Minus several decades in rare cases but it’s going to be increasingly common.

Gambling always brings corruption. With on-premise casino games this is limited to inside of a single building owned by people who have a vested interest in keeping things looking honest.

With sports betting, there are huge incentives to collude or even act alone which are very hard to distinguish from legitimate play.

Internationally, horse racing, cricket, rugby, and (oh boy) soccer continue to have huge problems.


Tech pundits should just talk to me. I bought AirPods the week before the new ones came out, and I bought a new iPad 48 hours ago!

Luckily I didn’t buy a iPad Mini, but I really like the form factor.


Lucky 10000, there is a return window of 2 weeks :)


Amazing comment. The only thing I’ll add is that the annual competition for interactive fiction is on now. It covers both choice-based game as well as traditional parser games.

Many of the games are quite short, perfect for dipping your toes in this kind of thing.

https://ifcomp.org/ballot#browse


I knew this was going to happen when I purchased my AirPod3s a couple of weeks ago. The only feature I really miss is the touch volume control.


Very nice results, I really like the way it looks like a printed page. Image processing is addictive - once you start playing around it is hard to stop.


Alternative allocators could make a huge difference to the runtime performance. When multithreading on real multiprocessor systems started to become a thing it was common that all your carefully written threads ended up waiting on the allocator mutex. The win32 heap was particularly prone to this.

Third party allocators improved on this as well as usually avoiding the heap fragmentation problems that system heaps often suffered from back then.

These days the system heaps have improved to a point where you really only need to think about a third party heap for very specialized circumstances. They do usually come with nifty debugging tools though.


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: