Better HN
topnewbestaskshowjobs
Log inSign up

drewnoakes

71 karma · joined May 12, 2013 (13y ago) · 43 submissions

Submissions

comment 2mo ago · link · parent

Native AOT is seeing a lot of use within Microsoft products too. Some bits of the .NET SDK use it, and C# Dev Kit (the C# extension for VS Code) uses it extensively in version 11. It brings a lot of performance to .NET.

comment 2mo ago · link · parent

C# Dev Kit is also receiving huge performance improvements with .NET 11. It's available now on the pre-release version of the extension, if you want to check it out. Some details in the .NET Unboxed video here https://m.youtube.com/watch?v=5fvi7m1QxIY

comment 5mo ago · link · parent

I wonder how many of these updates are security fixes. I wouldn't be surprised if a majority were.

comment 6mo ago · link · parent

Sounds like a shameless attempt at market research.

comment 9mo ago · link · parent

That's wonderful, thanks. I've just about finished all of The Fall of Civilisations and am already feeling a sense of loss. I'm sure I'll listen to them again, but am happy to hear recommendations of other great history content.

comment 9mo ago · link · parent

There's also a video version of the episode on YouTube: https://m.youtube.com/watch?v=6dbdVhVSat8

comment 9mo ago · link · parent

I highly recommend "The Fall of Civilisations" podcast's episode on this topic. it's such an epic story and the narrator builds such a rich picture of the times and events.

https://fallofcivilizationspodcast.com/2023/04/11/%F0%9F%90%...

comment 1y ago · link · parent

Is that still true if the image dimensions aren't a multiple of the block size?

comment 1y ago · link · parent

C# has had top level statements since version 9.0 (Nov 2020), and it's still just a compiler trick that produces a static method behind the scenes. Top level functions work too, but in a similar way.

Decompiled example: https://lab.razor.fyi/#41rAyMUVUJSfXpSYq5dcLDSRsbQ4My9dIbiyu...

> lipstick on a pig's turd

There are several valuable compiler transformations that happen under the hood in languages like this. Closures as types, iterator/generator functions, async state machines. This is just another example.

comment 1y ago · link · parent

They also come up a lot in pen plotter art.

comment 1y ago · link · parent

Where I live, AFB is a reportable infection, requiring burn and bury. Bees are considered livestock and subject to state regulations.

comment 1y ago · link · parent

I agree with this, and my preference is generally to use a nice library for such things, but understanding the low level protocol and its capabilities helps me conceptualise the interactions more concretely, and understand more of what a given library is doing for me when I use it. In that way, a clear explanation of a protocol has a lot of value for me.

comment 1y ago · link · parent

it is still supported and developed.

comment 1y ago · link · parent

There are browser extensions that block shorts. You can also block all algorithmic suggestions. I uninstalled the YouTube app ages ago and wish I'd done it sooner.

comment 2y ago · link · parent

The article itself refers to them as a former Stride developer.

comment 3y ago · link · parent

I believe you can add filetype:svg or something similar. I've used that in the past to retrieve PNG files.

comment 3y ago · link · parent

You'll need 17.9 preview 1, which was released at the same time as 17.8.

comment 3y ago · link · parent

I've found that SO varies a lot by tech/language. In my experience, the C++ and JS subworlds are pretty brutal. C# is middle-of-the-road when it comes to culture. Clojure is very friendly and welcoming, but obviously more niche. This may explain why folks have different experiences on the same site.

comment 4y ago · link · parent

I've found that the only way to win is to go first, just like in tic tac toe. Going second can produce a draw at best, against an optimal opponent. This is just my experience though, not a strong assertion.

comment 5y ago · link · parent

I'm curious to know how stable the blend of elements in tap water is. Do you have any data around this?

I once used an inexpensive electrical TDS meter (total dissolved solids) to track the amount of non-organic solids in water both before and after filtering over time. My goal was to determine the rate at which to replace the filter, and it turned out the manufacturer's recommendation was perfect. However I did notice that the unfiltered water's measurement fluctuated a lot over time. Could that pose a challenge in your scenario?

Thanks for a great read, btw.

comment 6y ago · link · parent

Why not?

comment 6y ago · link · parent

The ear's whole function is to detect differences in patterns. This is how we identify the direction of sound with only two ears. For our ears, a delay of 30ms is an eternity.

The eyes on the other hand have very little response to this. Some will say they can spot a 15ms vs 30ms visual delay easily, but this is an open debate rather than an obvious fact. A 15ms delay in audio is noticeable to almost anyone.

Different senses, different sensitivities. Comparing them isn't very instructive.

comment 7y ago · link · parent

I'm just getting into beekeeping so take this with a pinch of salt, but I've read that in the region that Varroa are native to, native bees are able to clean themselves. The problem is that bees from other geographies which do not have this behaviour are (currently) sitting ducks to these mites.

Mite reproduction is hard to inhibit for both the bees and beekeepers. Female mites sneak into brood cells (cells used for bee reproduction) before the cells are capped and hide under the developing bee young. Once the cell is capped, the bees outside are unaware of what's happening within the cell. The mites lay their eggs within the capped cell, the eggs hatch, mate and emerge along with a diminished bee. This means Varroa treatments (such as oxalic acid vapour) only work if there are no capped brood, which only occurs at certain times during the year.

On the topic of vision it's worth pointing out that bees spend the majority of their time within the hive where it's completely dark. They only go out to forage late in their short lives. Their lifespans increase for winter, and they stay within the hive until spring. All that to say, they can't rely on vision for most of their activities. Their various dances (of which the waggle dance is probably the best known) are actually felt rather than seen. For this reason, I believe they could not rely on vision for mite hygene.

Note that Varroa is only one of the troubles that bees face! There are also hive beetles, wax moths, European foul brood, American foul brood and more, depending upon geography. Asian hornets are another serious problem in some regions.

Despite all this I would encourage anyone to look into beekeeping and see whether they find it interesting. I feel like I've discovered a fascinating and lovely niche with a great community around it, and I wish I'd gotten into it earlier.

comment 7y ago · link · parent

It says "primarily". If the game runs both server and client side, I don't think there is a problem.

comment 8y ago · link · parent

In my travels I've gone from fear of a latrine-style loo to enjoying them enough to consider installing one in my home in England. I'm not exactly sure what it is, but it just feels better for my body somehow to hold a more folded posture.

My challenge is flexibility. I did yoga for three years, twice a week, and while the whole of my body became much more flexible (amongst other benefits) my ankles did not yield very much at all. If I try to squat on a level surface, I have to force my arms forward to maintain balance, and it's not comfortable at all.

In Iran several toilets had slightly angled surfaces for the feet. With the toes pointing downwards just a few degrees from level, it was very comfortable.

My wife is from South Korea, a country where squatting in the home is still practiced regularly, especially by the older generations. It always struck me as a very relaxing way of passing the time, though I couldn't quite do it.

Perhaps there is a physiological aspect to this too. Japanese and Korean people appear to have different skeletal proportions to Europeans. I'm curious if this changes anything, or whether it's just a matter of culture/practice.

comment 9y ago · link · parent

JSCON: JavaScript Canonical Object Notation

comment 10y ago · link · parent

I suppose that in Git if you wanted to group a bunch of these commits together you could do so with a merge commit.

comment 10y ago · link · parent

There's an initiative to do just that.

http://www.roborace.com

12