Better HN
topnewbestaskshowjobs
Log inSign up

Sprocklem

124 karma · joined Sep 28, 2012 (14y ago) · 100 submissions

Feel free to email me at <hn@sprock.dev>.
Submissions

comment 1w ago · link · parent

I can't figure out why anyone would need to detect the file type at all. Surely there should be some way for that to be passed into cups (and forwarded on, as necessary) out of band, by the program that created or opened the file and knows what its type is.

comment 2mo ago · link · parent

I don't think Canada was ever really going to break up, and certainly wouldn't in the near future without the foreign money poured into it.

comment 2mo ago · link · parent

> A nice "brown" bookcase or dresser is made of solid wood and will last your entire life. The alternative these days is either insanely priced and still of questionable quality or cheap, badly constructed particleboard that [...] needs to be replaced every few years.

It is truly baffling that most modern book cases have shelves that seemingly can't hold up to the weight of books – the very thing they were made to hold.

comment 3mo ago · link · parent

They are a simple construction, but I'm not sure I've seen any evidence that their construction is automated.

comment 3mo ago · link · parent

Me too. My understanding is that clothing manufacturing is basically impossible to automate with our current level of technology, due to the difficulty of manipulating fabric.

comment 4mo ago · link · parent

I mean, it seems pretty obvious to me that flock should be flagging this as a partial match in a very prominent way, so hopefully the police officers take a closer look and don't act recklessly. It is shoking to me that this wasn't included from the start.

comment 6mo ago · link · parent

No province pays equalization payments. They come out of the federal government's general revenues.

comment 6mo ago · link · parent

The UCP are trying to prolong this whole affair and, I think, trying to pander to separatists without actually risking that Alberta separate.

ETA: There is definitely a significant pro-separatist faction within the UCP, but I don't think the current party leadership is really willing to commit to separating, even if they are buddy-buddy with key figures in the current US regime.

Also note that this referendum does not require that the question be clear (per the Clarity Act), which will allow them to confuse voters and garner apparently higher support, that they can use to coerce the federal government into giving them what they want.

comment 6mo ago · link · parent

This is my experience as well, as someone who grew up in Alberta and has spent a fair bit of time in other provinces. This narrative that the rest of Canada is anti-Alberta or anti-Quebec (or that the federal government is seeking to undermine those provinces) seems to be invented and pushed by those provinces' governments to drive votes and avoid culpability for their role in their province's problems. It does not seem to be reflective of the opinions of people (or governments) from other provinces.

comment 7mo ago · link · parent

44oz? That's huge. I couldn't imagine drinking one of those a day.

comment 11mo ago · link · parent

> It is not surprising the the properties would not be called the same.

It is a bit surprising that xdg-desktop-portal has two very similar APIs that differ in non-obvious and seemingly-arbitrary ways. I was also a bit confused about how the two APIs correspond (or don’t) when I first read their documentation.

comment 12mo ago · link · parent

> My uneducated guess at why Wayland failed to succeed is that it went for extreme modularity and refused to say (back in like 2009) "Here's the security mechanism everyone has to use to take screenshots, etc. If this breaks your spacebar heater, sucks to be you."

I tend to agree. I have long attributed the mess that is wayland-protocols in large part to the fact that they didn’t define a security mechanism or permission model in place from the start.

They seemed to assume, at first, that it was reasonable to prevent all programs from doing what any program could abuse. Had they instead acknowledged that some programs need to be granted the ability to take actions that otherwise risk insecurity, they wouldn’t have needed to try to distort the protocols to fit the lacking security model of Wayland (or, in some cases, wouldn’t have needed to circumvent Wayland entirely to achieve their ends).

comment 1y ago · link · parent

What direction is that?

comment 1y ago · link · parent

Canada doesn't. It puts Canadian monarchs on its coins. The fact that they are physically the same person as the British monarch is incidental.

comment 1y ago · link · parent

I think a more generous reading of their comment would be: do people with Down's syndrome vary significantly in terms of their Down's syndrome symptoms? Or: do they vary significantly in how they experience their symptoms? I don't have enough experience with Down's syndrome to answer either – I've only met a few such people in passing – but would be interested in knowing the answer.

Edit: I feel I should note that, given the phrasing of the comment, I think your interpretation is closer to the original intent – or at least, a clearer reading of what was said – but I wanted to add this in the interest of taking the strongest interpretation of their comment (and to satisfy my personal curiosity).

comment 1y ago · link · parent

Curriculum-setting neither limits anyones free speech nor does it restrict their access to the free speech of others. Teachers are generally allowed to expand on the curriculum and students are given access to literature with information beyond that in the curriculum. These laws do effectively restrict access to information and ideas.

comment 1y ago · link · parent

This is a strange framing. These laws are neither about what is taught in schools nor what books schools are required to stock, but rather restrictions on what books schools may chose to make available to the children. The government is not limiting the free speech of the authors, but these laws are the government limiting access to the authors' free speech, which is at least related to free speech, even if you don't buy that it is an restriction of free speech per se.

I do, however, think it is also worth noting that there is value in critically discussing the ideologies espoused by "The Bell Curve" and "Mein Kampf", since both ideologies persist and continue to have influence on American politics today.

comment 1y ago · link · parent

As an Albertan, I agree, but it is the inevitable result if Alberta were to separate. Fortunately, separation remains a minority position (for now, at least), despite certain parties fanning the flames.

comment 1y ago · link · parent

The Alberta NDP under Notley was a centrist party and its policies were far more aligned with the federal liberals than the federal NDP. Obviously, there has been a change in leadership, but I don't see any reason to believe that the Alberta NDP will be any less centrist under Nenshi.

comment 2y ago · link · parent

It's a contract with NASA. Taxpayers already are footing the bill.

comment 2y ago · link · parent

I can't speak for GP, but I personally find it kind of fucked up that we selectively breed a lot of dogs for certain asthetic traits at the expense of their health. I assume they meant this brand of artificial selection rather than letting dogs reproduce at all.

comment 2y ago · link · parent

I have successfully signed up to a google group with a non-gmail account, although I had some difficulty finding the instructions for doing so.

comment 2y ago · link · parent

IIRC, this was one of the explanations proposed when the existence of a red shift was first noted: that the light is somehow slowly losing its energy over very long distances, becoming “redder” as it did so. It ultimately lost out to the dark energy / space-time expansion theory, although I do not recall why. Presumably there was some observation that precluded “degrading” light from being the sole explanation.

comment 2y ago · link · parent

tar isn't a POSIX command, and retains its argument format from before the POSIX CLI guidelines were standardized (as does the POSIX ar command). pax, the POSIX-specified (but rarely implemented/used) equivalent of tar does follow the POSIX CLI guidelines.

comment 2y ago · link · parent

Support for the other two may vary based on hardware, but sound seems to have mostly been solved by pipewire.

comment 2y ago · link · parent

Crucially, however, the commit message is not documentation of the code, which would need to be changed and updated. Instead, it is documentation of the change, describing the reason for the change, what the code does to achieve that, and, if relevant, why you chose that solution. It provides necessary context to the already immutable diff and therefore need not be mutable itself.

comment 2y ago · link · parent

I'm not sure how exactly the circulatory system developed in our ancestors, but I will add that simpler circulatory systems do exist in animals today, including the open circulatory systems that are found in, e.g., arthropods. In these animals, blood is pumped across an body cavity by a heart, before flowing back through the fluid-filled body cavity itself, outside of any blood vessels. It is definitely possible to have "partial" circulatory system that functions fine while lacking some of the components present in humans.

Similarly, simpler versions of, e.g, eyes have been observed in nature with structures that are thought to be analogous to those of our early ancestors when eyes were first developing.

comment 2y ago · link · parent

My understanding is that that was not true of clothing of that era. That being said, the description of the pocket is unclear and it may have been a normal pocket, which would have been built into the folds of the dress so as not to be overtly visible.

ETA: If memory serves, pockets disappeared from women's clothing as skirts became more form-fitting in the 1910s and 1920s.

comment 3y ago · link · parent

The strings in environ is only contiguous at program start. In every libc I'm aware of, both putenv and setenv replace only the specified key-value pair (and possibly environ itself, if it needs to be larger) and should not affect the address of any other environment variables. It is still thread-unsafe, but far more limited in its unsafety.

comment 3y ago · link · parent

They are in some languages, but Rust instead implemented them with a pollable Future trait. The async keyword, then, causes the block to desugar into a new type that implements Future. In order to emulate a coroutine, the generated poll function includes a state machine that tracks the await point where the function was suspended.
1234