HNHacker News
TopNewBestAskShowJobs

amscanne

2,031 karma · joined July 30, 2010

submissionscomments
amscanne··on ICJ orders Israel to prevent genocide in Gaza, stops short of ordering ceasefire
I feel like you’re assuming that everyone thinks the same way you do. I don’t really think the evidence or history bears out “they just want freedom”. There were many obvious opportunities for this in the past.
amscanne··on ICJ orders Israel to prevent genocide in Gaza, stops short of ordering ceasefire
Such a statement seems, at best, a controversial view. For example, I’m pretty sure that the religious aspects of the crusades are generally accepted as the primary cause.
amscanne··on Investors account for 30 per cent of home buying in Canada, data show
Canada has already banned foreign buyers, in some cases even if they are legally living/working in Canada. (This is despite the fact that it’s mostly an ongoing domestic speculation problem, as indicated here, … and despite the fact that Canadians own billions of dollars of property in the US and elsewhere.)
amscanne··on Cruise vehicle gets stuck in wet concrete while driving in San Francisco
Discrete events and very small numbers make it hard to draw good conclusions, and you shouldn’t extrapolate like that. With the exact same logic, you could have argued yesterday that Cruise vehicles are less likely to drive into concrete than humans with an extrapolated rate of zero! This claim is just as suspect as the other — n=1 just isn’t giving you enough data.
amscanne··on Faster filesystem access with Directfs
This would mean that every container has its own buffer cache, you can no longer have intentional shared state (K8s secrets, shared volumes, etc.), and must construct block overlays instead of cheap file overlays. You’re definitely losing some of the advantages a container brings.

There are other advantages — low fixed resource costs, global memory management and scheduling, no resource stranding, etc. — but the core intent of gVisor is to capture as many valuable semantics as possible (including the file system semantics) while adding a sufficiently hard security boundary.

I’m not saying moving the file system up into the sandbox is bad (which is basically what a block device gives you), just that there are complex trade-offs. The gVisor root file system overlay is essentially that (the block device is a single sparse memfd, with metadata kept in memory) but applied only to the parts of the file system that are modified.

amscanne··on Faster filesystem access with Directfs
Ah, now it makes more sense to me. Thank you for the clarification.
amscanne··on Faster filesystem access with Directfs
This sort of feels like seeing someone riding a bike and saying: why don’t they just get a car? The simple fact is that containers and VMs are quite different.

I’m responding to what I believe is the intent of the comment, but I will also point out that on a literal level it doesn’t make sense. Whether something uses VMX and friends or not is a red herring, as gVisor also “rolls it own” VMM [1] and certainly makes use of VMX and friends.

[1] https://github.com/google/gvisor/tree/master/pkg/sentry/plat...

amscanne··on Faster filesystem access with Directfs
The reason you can focus auditing on the second process is because you have a security architecture that enables that. Of course the security mechanisms you’re relying on there need to be exercised and occasionally fall apart too (meltdown, MDS, etc.).

Process isolation is not the only tool that you have to build a secure architecture. In this case, capabilities are still being limited by available FDs in the first process (as well as seccomp and the noting namespacing and file system controls), and access to FDs is still mediated by the second process. There is no such thing as “being able to take access away … to a file that was already opened” as this is simple not part of the threat model or security model being provided. You still need to be diligent about these security mechanisms as well.

The idea that Google has given up and just does fuzzing is nonsense. Fuzzing is a great tool, and has become more common and standardized — that’s all. It is being added to the full suite of tools.

amscanne··on Why don't we get our drinking water by taking salt out seawater? (2008)
I mean the “pump” probably isn’t a vacuum pump. Maybe it’s a water screw. Maybe it’s a rope and bucket. The effect is the same, no? The water must be lifted X.
amscanne··on As US heat wave spreads, Arizona counts the dead: 18 confirmed, dozens suspected
I suspect that these are vastly different methodologies, as “heat-related” mortality is probably overwhelmingly existing conditions that are being exacerbated, whereas the 18 here are probably direct “heat-related” causes, e.g. suffering from heat stroke. But they probably aren’t counting the person who happened to have a heart attack (which may have happened because of additional stress on their system, or additional dehydration, etc.) which would be counted in the first case.
amscanne··on Why don't we get our drinking water by taking salt out seawater? (2008)
In theory, wouldn’t you be able to just keep pumping from the surface of the pipe (increasing x) until x provided a sufficient differential pass through the membrane? It would then stay at x even while you continue pumping. The pump would merely need to lift the water from x below sea level.
amscanne··on Average color of the NYC sky every 5 minutes
Well, TIL. Interesting that I had so many hours of Canadian history yet this particular angle didn’t stick with me. I recall a framing of the constitution act as a quintessentially Canadian “we asked politely for independence, and Britain said okay”, but after some reading it does seem your “let’s get out of here, the neighbors are psycho” framing also holds water ;) I suppose both are true.
amscanne··on The Opt Out Project
Maybe it’s just me… I like open platforms but I don’t see how they are important in the creation of open software. If it were, then why did GitHub accelerate collaboration and network effects for open source so much? Sometimes “free as in beer” is okay, and can serve a greater good. Sometimes demanding ideological purity can be counterproductive.
amscanne··on Average color of the NYC sky every 5 minutes
I presume this is a joke (though I don’t get it), because AFAIK the US had nothing at all to do with Canadian federation.
amscanne··on How much memory do you need to run 1M concurrent tasks?
Stacks changed a lot in Go subsequently. I believe that in 1.2, segmented stacks were still being used. (They now are contiguous and copied on upsize.)
amscanne··on Visa and Mastercard agree to lower average credit card interchange fee below 1%
You just asserted it was a lie, but didn’t say why. I want to know how you are refuting the “cashless is cheaper” argument? All of the business owners I know value cash only for the ability to declare a bit less, the fees are a wash with the complexity of dealing with cash. If you are arguing that there is another reason it’s cheaper but not saying how — please tell us! Or are you talking about the every-day, minor tax fraud that makes it cheaper?
amscanne··on Visa and Mastercard agree to lower average credit card interchange fee below 1%
What is your argument here?

I believe the oft-cited reason cash is more expensive is primarily due to shrinkage, which is on the same order as the credit card fees (unless you’re a family-run business or have only amazingly trustworthy employees). Cash-only discounts can be just as easily explained by the “flexibility” cash provides — you can’t assume the conclusion as a fact. The fact that most cash discounts are greater than 1% generally supports this idea, since a business offering a 3% cash discount definitely earns less than taking plastic. (But the accounting “flexibility” is worth more than that 3%.)

Are you saying this is not true, and cash shrinkage is less than the fees?

amscanne··on .zip is now available as a TLD
If you sell unique, valuable items way below their value then all you’re doing is creating a secondary market for scalpers/squatters to thrive, which is terrible for everyone. Having premium domains means they can be priced correctly, killing squatting, bringing more revenue to the registrar, and actually lowering prices for users that are not using automated bots at scale. Domain squatting is rent-seeking, this reduces that activity.
amscanne··on Proposal: Less error-prone loop variable scoping
There is such thing as "local-looking" in Go. That's the point -- the compiler and runtime make the decisions as needed and the programmer doesn't care.

(Obviously there are some consequences to this, wherein you may find yourself with heap-based allocation in hot paths that you didn't expect. But in terms of productivity, I think that not caring and having no distinction certainly reduces one thing that the programmer has to think about.)

I think there would be analogous design decisions that remove various low-level concepts in many languages. For example, Python ints are arbitrary precision, which removes a whole set of concerns from the programmer. Rather than being "weird", I think this is just optimizing for a particular kind of programmer productivity.

amscanne··on Google, Meta executives push back against Canada online news bill
If publishers aren’t paying, what did you mean by this, exactly:

> Publishers' relevance on, say, Google, relies partly on sponsored contents. They pay Google for this.

I understand that Google has optimized to avoid the user clicking away. Obviously, this has been done to keep eyeballs and revenue but it is also arguably in the user’s interest as they accomplish their goals faster.

The logical response for this is not to force Google to pay for listing and summarizing links, but to evolve your own business model. Say by moving towards richer, more thoughtful content and analysis that can’t be trivially summarized and might even support a non-ad-based model, such as subscriptions or donations. (I pay for quite a few subscriptions that host content like this.) The basic news business has obviously become increasingly commoditized, and I don’t think anything Google does is going to change this.

The Wikipedia example is actually supporting the viability of good content being a defense for commoditization, not the argument that Google needs to pay content creators to survive. I don’t think there’s any evidence to support the idea that Google summarizing in a one box has harmed Wikipedia, as the Wikimedia foundation has continued to substantially grow its revenue every year and is at all time highs. Arguably, this is because they host content that is sufficiently rich that they are bound to have a decent click-through rate; whereas many news publishers are basically rewriting AP releases with little value add.

> They should be if Chipotle was virtually the only restaurant in town, and the only way for you to get food, which is essentially what Google is in the search space.

It is a strange proposition that if someone doesn’t like the only restaurant in town then it has a moral obligation to close its doors. It’s not like you have an obligation to go there; in this analogy consider opening a new restaurant as trying to do direct ad selling, but you can just as easily “cook at home” by shifting your business model. It might be different if the business was critical and had total monopoly (e.g. water, power) but I’m not sure this holds here.

Just as the restaurant is not required to cater to your specific tastes, I don’t think Google should be required to subsidize a specific publishing business model. It feels like a very narrow form of digital Luddism. Now maybe they are somewhat parasitic in this case, and would be smart to figure an more mutually beneficial arrangement (just as the restaurant would be smart to cater broadly to local tastes), but I wouldn’t go so far as to say “should” or expect any mandate to do so.

amscanne··on Google, Meta executives push back against Canada online news bill
> And if Google or Meta were honest about it, they would just remove all the news links and shut down their news sites. Instead, they make a fuss about how unjust is for users to not have access to news through their platforms, and how news outlets benefit from their augmented outreach, like neither Meta nor Google are making money off it.

You claim that publishers are paying Google and Meta to be in these aggregators. But the aggregators are the problem and should spontaneously shut down? If the model sucks, publishers should stop paying.

The argument you’re making is basically equivalent to saying that Chipotle burritos are making me fat, therefore Chipotle should close all their locations instead of you know, me taking responsibility by not eating there.

amscanne··on Mojo might be the biggest thing to happen in programming for decades
> I've always wanted to create a new language (probably visual) where the implementation of that language is open to be extended and changed right in the same context as where you use that language. A readily-accessible trap down to the next lower level of abstraction. I suspect this leads to more "expressivity" while being less code overall.

It sounds like you would find Self [1] interesting (along with the visual programming environment).

[1] https://en.wikipedia.org/wiki/Self_(programming_language)

amscanne··on Controversial bill to regulate online streaming becomes law in Canada
One subtle distinction: it has helped Canadian artists that are producing "Canadian Content" [1], not all Canadian artists. If you are a Canadian singer in a band with a song that was composed by your American band mate, you are SOL. The main criticism of this bill is that with richer media content, this line becomes increasingly ambiguous (e.g. see the rules for television [2]). It seems likely that the outcome will be a lot more power for Canadian media giants (via industry groups and trade organizations) and smaller Canadian creators will be worse off, with forced algorithmic priority given to "certified" content.

[1] https://crtc.gc.ca/eng/info_sht/r1.htm

[2] https://crtc.gc.ca/eng/cancon/c_cdn.htm

amscanne··on Trudeau says Canada is 'serious' about reviving nuclear power
Texas seems to be 1500-1800, whereas Northern Canada (including all of Ontario and Quebec) seems to generally be 900-1200. So 20-50% worse, no? No clue about the cold factor, but the maps are lifetime kW per nominal kW panel, so presumably that’s factored in.
amscanne··on Trudeau says Canada is 'serious' about reviving nuclear power
Hours of sunlight per year is really a misleading metric. For solar to be effective, you need consistent, direct sun. Disregarding the massive consistency problem, even in the summer Northern Canada will have a much low angle of incidence for the sun. You tilt the panels significantly to compensate, but the overall energy hitting the panels is still much lower.

See the map here, for example: https://natural-resources.canada.ca/our-natural-resources/en...

amscanne··on Will we run out of ML data? Evidence from projecting dataset size trends (2022)
I don’t think the connections between the receptors (rods and cones) and the ganglion cells are “trainable”? You seem to be assuming Brain-like learning functionality inside the eye. I’m not a biologist, but I don’t think this is the case unless you’re considering evolution as training. If it were true, wouldn’t people have wildly varying fovea? I feel that these connections are anatomical and not learned in exactly the same way the number of arms, legs or teeth is not trainable.

Regarding the nanosecond point — I don’t believe that’s how information works, and there should be many obvious problems with the idea of an infinite information channel not to mention the obvious practical ones (propagation variability, lack of a reference point, etc.). There may be some optimizations, but generally the frequency (or frequency bandwidth, which is where the generic computing term comes from) determines the information capacity, and phase modulation doesn’t magically change this (it is actually what is used in many radio systems).

amscanne··on YouTube, the jewel of the internet
I don't think any of those channels are trying to replace an actual science education in any given subject. But they are certainly imparting a lot more than physics "factoids", and some are probably closer to intro lectures on specific topics intended for a general audience (done by a talented and engaging educator).

It's not directly equipping the audience with professional skills for a scientific career, but it is generating interest in science, and indirectly encouraging people to expand their own STEM skills and knowledge. I'm sure that dozens (hundreds? thousnads?) of people have gone into mathematics at least in part due to an interest generated by the likes of numberphile, etc.

amscanne··on Will we run out of ML data? Evidence from projecting dataset size trends (2022)
I don’t think it matters that much. The firing itself takes a couple of milliseconds, and there’s a refactory period of a millisecond. I’m approximating 250hz as the maximum rate of firing. You’re arguing that the neuron can encode more information with the phase (e.g. fire, recover, wait 2ms, fire) but I think information theory tells us the 250hz actually still bounds the information. Maybe there’s a small constant factor, but I don’t think it changes the order.

I don’t believe it is precompressed as it hasn’t been processed by the visual cortex yet, no? Aren’t the optical receptors simply an artifact of the “sensor design”? E.g. if the refractory period of an optical receptor is 100x that of the neuron (or you simply need to cover a certain area, as you probably have tons of receptors attached to a single neuron outside the fovea and a small number per neuron inside the fovea), you’d hook up 100 optical receptors per neuron to use its full capacity. I think this is less compression and more combining a bunch of low information channels into a higher information channel.

All we really care about here is the amount of information reaching the brain not what your physical eye is capable of receiving, so I think using the nerve makes the most sense. There’s an interesting direct analogy: we don’t really care about the number of CCD sensors in the camera that took the image, we only care about how much information is in the video coming from the camera.

amscanne··on Will we run out of ML data? Evidence from projecting dataset size trends (2022)
It’s always interesting to think about the exact technological analog for our biological sensors, but I believe that our vision would be way less than that in terms of raw data. We have a super high-res area at the center of vision (the fovea), but the rest is extremely low resolution (but with high movement and light sensitivity).

I think we could reasonably say that if an optical nerve has 1mm neurons on average, and they can fire at 250Hz at the most, that’s 250mbps or ~31mb/s per eye of uncompressed data as an upper bound.

amscanne··on Sundar Pichai received $226M compensation, boosted by a triennial stock grant
That’s a complete straw man. Microsoft, Meta and others managed to pull off safely laying off employees while still treating them respectfully and allowing them to say goodbye.
← PreviousPage 3 of 23Next →