HNHacker News
TopNewBestAskShowJobs

drewnoakes

71 karma · joined May 12, 2013

submissionscomments
drewnoakes··on Performance Improvements in .NET 11
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.
drewnoakes··on Performance Improvements in .NET 11
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
drewnoakes··on Resetting Xbox
I wonder how many of these updates are security fixes. I wouldn't be surprised if a majority were.
drewnoakes··on The worst job interview I ever had
Sounds like a shameless attempt at market research.
drewnoakes··on Single bone in Spain offers first direct evidence of Hannibal's war elephants
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.
drewnoakes··on Single bone in Spain offers first direct evidence of Hannibal's war elephants
There's also a video version of the episode on YouTube: https://m.youtube.com/watch?v=6dbdVhVSat8
drewnoakes··on Single bone in Spain offers first direct evidence of Hannibal's war elephants
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%...

drewnoakes··on EXIF orientation info in PNGs isn't used for image-orientation: from-image
Is that still true if the image dimensions aren't a multiple of the block size?
drewnoakes··on Public static void main(String[] args) is dead
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.

drewnoakes··on Truchet Tiles
They also come up a lot in pen plotter art.
drewnoakes··on An Indoor Beehive in My Bedroom Wall
Where I live, AFB is a reportable infection, requiring burn and bury. Bees are considered livestock and subject to state regulations.
drewnoakes··on MCP: An (Accidentally) Universal Plugin System
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.
drewnoakes··on Ask HN: What less-popular systems programming language are you using?
it is still supported and developed.
drewnoakes··on Supreme Court upholds TikTok ban, but Trump might offer lifeline
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.
drewnoakes··on Announcing Stride 4.2 with .NET 8 support
The article itself refers to them as a former Stride developer.
drewnoakes··on Australian World Map
I believe you can add filetype:svg or something similar. I've used that in the past to retrieve PNG files.
drewnoakes··on .NET Aspire: Simplifying Cloud-Native Development with .NET 8
You'll need 17.9 preview 1, which was released at the same time as 17.8.
drewnoakes··on Stack Overflow is laying off another 28%
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.
drewnoakes··on Play against the computer – Connect Four game in JavaScript
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.
drewnoakes··on What elements does a plant need to grow?
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.

drewnoakes··on Typometer: A tool to measure and analyze the visual latency of text editors
Why not?
drewnoakes··on Typometer: A tool to measure and analyze the visual latency of text editors
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.

drewnoakes··on How the Varroa Mite’s True Diet Was Discovered
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.

drewnoakes··on Unity Engine ToS change makes cloud-based SpatialOS games illegal
It says "primarily". If the game runs both server and client side, I don't think there is a problem.
drewnoakes··on To solve problems caused by sitting, learn to squat (2017)
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.

drewnoakes··on Son – A minimal subset of JSON for machine-to-machine communication
JSCON: JavaScript Canonical Object Notation
drewnoakes··on Show HN: BitKeeper – Enterprise-ready version control, now open-source
I suppose that in Git if you wanted to group a bunch of these commits together you could do so with a merge commit.
drewnoakes··on Thermal camera footage allegedly shows pro cyclists using motors
There's an initiative to do just that.

http://www.roborace.com

drewnoakes··on Tracking North Korea’s Kwangmyongsong-4 Satellite Using OSINT
Can frequency hopping or something similar be used to make transmissions from satellites hard or impossible to detect?
drewnoakes··on ZeroMQ: Disconnects Are Good for You (2012)
The criticism raised here only applies to REQ/REP socket types. They're introduced early in the literature (i.e. the zguide [1]) because they're easy to reason about. But in my experience I haven't seen them used in systems because they're so limiting. Not just due to disconnects, but because a REP socket can only handle a single request at a time, so therefore concurrent overlapping requests throw state machine errors. Thankfully the logic in the REQ/REP sockets is very simple, so by not using them, you're not losing much.

[1] http://zguide.zeromq.org/page:all

Page 1 of 2Next →