drewnoakes's comments

drewnoakes | 6 months ago | 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 | 9 months ago | 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 | 2 years ago | 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 | 2 years ago | 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 | 4 years ago | 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 | 5 years ago | 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 | 7 years ago | 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.

page 1