skysight-inc/HackerNews huggingface dataset:
Related:

Podman in Linux - https://news.ycombinator.com/item?id=28687229 - Sept 2021 (89 comments)

How to Replace Docker with Podman on a Mac - https://news.ycombinator.com/item?id=28462495 - Sept 2021 (85 comments)

Podman, the open source Docker alternative ported to M1 (Apple Silicon) machines - https://news.ycombinator.com/item?id=28429650 - Sept 2021 (147 comments)

Migrating from Docker to Podman - https://news.ycombinator.com/item?id=28413470 - Sept 2021 (107 comments)

Podman: A tool for managing OCI containers and pods - https://news.ycombinator.com/item?id=28376686 - Sept 2021 (184 comments)

Podman: A Daemonless Container Engine - https://news.ycombinator.com/item?id=26101608 - Feb 2021 (241 comments)

Transitioning from Docker to Podman - https://news.ycombinator.com/item?id=25165195 - Nov 2020 (268 comments)

Podman and Buildah for Docker Users - https://news.ycombinator.com/item?id=21556894 - Nov 2019 (73 comments)

Dockerless, part 3: Moving development environment to containers with Podman - https://news.ycombinator.com/item?id=20503061 - July 2019 (40 comments)

Podman and Buildah available in RHEL 7.6 and RHEL 8 Beta - https://news.ycombinator.com/item?id=19005426 - Jan 2019 (50 comments)
I have this weird thought from time to time-- maybe it's dumb, but it nags at me.

Think of any time when you've been unconscious, like when under anesthesia, or fainting, or knocked out for some other reason. You experience everything leading up to the event that knocks you out, but the only reason you can recall any of it is because you did eventually wake up and regain consciousness. Your experience of your current self now is only because a moment from now you can look back and remember it. Eventually though, you will die, and you won't be able to look back and remember, and for you, it's as if nothing ever happened. So given that we will all die some day, how is it we even have conscious experience at all? I might die 5 minutes from now, or 5 days, or 5 decades from now, but isn't all the same?
It's mostly not the atomic op overhead that's expensive, though -- it's the sharing.

You can write shared-nothing algorithms using ARC objects that are local to a single thread or core, and while it will be slightly more expensive than RC objects, the N^2 effect of sharing between N cores won't occur.
I've worked in hosting since 99 and I fully agree with you. I currently work at a Managed WordPress host that only offers web hosting. No email, not even DNS. It's a beautiful thing, believe me!
Podman has been a longer lived project. It's supposed mostly by Red Hat, which may be a plus or minus in your view. nerdctl re-uses more of moby's (formerly Docker CE) underlying tech. Podman has some nice convenience features to generate kube yaml or systemd units.
Interface with Home Connect Appliances in Python
This exact thing was a dystopian little vignette in the movie Don't Look Up. Funny and scary that it's real now.
A recent reddit video seems relevant here:

https://www.reddit.com/r/Damnthatsinteresting/comments/sx7by...

From the title:

> An Indian Yogi filmed by Indian Army personnel while patrolling in the Himalayas. The Yogi can be seen Meditating, chanting the name of God and bursting with ecstasy while being accompanied by a dog in the beyond survival clime of Himalayas.
> The 2nd amendment in the US didn't account for nuclear weapons

What a wild straw man argument. On the one hand, I generally agree with you. On the other hand, I am fairly confident I wouldn't trust anyone to decide for me what limits there are on "revision or excision of bad ideas".

So much of what you argue for relies on trust- trust that we are all working towards a common goal, primarily. However, there really doesn't seem to be a clear path forward when both sides assume the other side is arguing in bad faith.
Agreed, a simple majority for emergency powers is ridiculous. I'd go with at least a 4/5 threshold myself. More than that, any invocation of emergency powers should force a public confidence vote for every elected official when the (strictly limited & non-extensible) duration of the emergency powers expires, where any incumbent who can't achieve at least a simple majority of support following their handling of the emergency is barred from political office for life. That ought to make them think twice about whether declaring an emergency is really worthwhile.
SMRs operating at atmospheric pressure, or otherwise more managable due to smaller scales may alleviate that.
Does Kubernetes usage also require podman or docker?
Necessarily.

Thermodynamics is a harsh mistress. But humans store >2x as many calories as other apes, per unit body weight. And Americans, on average, store way more than normal people, because we are fat.
I think it is not very important whether blockchain is actually the savior or not. Rather, it presents an alternative option that changes the landscape of the debate.

In terms of the Overton window (https://en.wikipedia.org/wiki/Overton_window), it moves the idea of decentralized, censure resistant money from "unthinkable" to merely being "radical", or even "sensible". This should cause a similar shift on the other side of the window-- rather than having fully censurable state controlled money as being obvious future policy, we are having a debate about the explicit tradeoffs of that choice. The system we get will probably be somewhere in the middle of this, so the shifting of the window matters a lot.

So the existence of a technology can change the outcome merely by its existence, not by it's explicit adoption.
The first time I remember adware was a winamp reverb plugin (Realreverb convolution) in the 90's.

The earliest one I can remember was RealPlayer. I'm glad that program finall... buffering...
For some reason none of Steam's competitors are willing to match their features.

The Microsoft store was obviously not designed by the Xbox division and was hostile to gamers wanting to enable modding or customize the installation.

Likely because Microsoft wanted a locked down app store to sell their Surface devices to schools and business.

Steam does things like converting Ps4 and Nintendo Switch controller input to Xbox 360 input, offering forums where people discuss patches and mods, and other features Epic seems uninterested in offering for whatever reason.
How's Podman's Apple Silicon (M1) support these days? Last time I checked - maybe 3 months ago - it was pretty rough.
The only way exceptions should be exceptional is that they should rarely be used in any code base. At best, the are a micro optimization that helps you a tiny bit in the success case. They should be used when standard return value errors are measured to be impacting perf (ie. exceedingly rarely). Unfortunately, C++ language authors made them basically a requirement for OOP and RAII.

Imagine writing a parser. Can you use exceptions? It's hard to say! In fact, often impossible to say! How often an exception is thrown is highly dependent on the input data. If you're in a controlled environment with nearly always well formed data, it might be a perf win! But there's a ton of complexity in just deciding which type of error to use, and thats on top of the complexity of now having multiple ways of returning errors!

No one likes code that has 2+ ways of indicating method failure. If you are a library author, do your users need to check for both Exceptions and Error codes? If you are a nice author, you'll just choose 1 way to indicate failure and wrap where necessary.

If you want to use exceptions, they should be used in very limited scope when perf measurements indicate they would help, tightly wrapped in a catch, and then immediately converted to some other standard error type.

Even better, we should just let the choice of when to use exceptions up to an optimizing compiler, and provide the compiler a function to convert between exceptions and our more general purpose error type of choice.
It's also worth noting that Rust does also have stack-unwinding error propagation, in the form of `panic`/`catch_unwind`, which can be used as a less-ergonomic optimization in situations like this. Result types like this also don't color the function, since you can just explicitly panic, which would be inlined at the call site and show similar performance to C++ exceptions.
I hardly watch TV, but happened across News Hour at someone's home. I was shocked; it was a like an alternate reality. It makes CNN and Fox look ridiculous - everyone should watch News Hour just to reset their perspectives.

The only TV news worth watching that I've seen.
Print ads are a lot less obtrusive for me compared to digital ads. It's literally just a piece of paper that I don't have to look at. They don't have inline ads, or sponsored content, or autoplaying videos, or any of the conventional web shenanigans that try to hijack your attention. They certainly can't track me. I can't speak to the digital side of the economist, as I do not use it, but the print ads are mostly for dumb luxury goods that I can easily ignore.

People paid for newspapers for decades, and they've definitely always had ads in them. The advertisers subsidize my news reading, and in this case at least the trade-off seems acceptable.
> errors are part of a system's API

This is a really interesting and nuanced point here. The article linked above [1] talks a bit about it. The problem is, they both are and aren't part of the API in the strict sense.

In the sense that they specify a contractual behaviour they are part of the API of a function. But in the sense that they are something the caller should / needs to specifically care about, they sit in between. That is, in the vast majority of cases, the caller does not care specifically what exception occurred. Generally they want to clean up resources and pass the error up the chain. It is "exceptional" that a caller will react in a specific way to to a specific type of exception. So this is where Java goes wrong because it forces the fine grained exception handling into the client when the majority case (and preferred case generally) is the opposite. It makes you treat the minority case as the main case. There are ways to work around / deal with this but nearly all of them are bad. The article talks about some of the badness.

I do think it's interesting though that Rust has taken off and is generally admired for a very similar type of feature (compiler enforced memory safety). I am really curious how that will age, but so far it seems like it is holding up.

[1] https://www.artima.com/articles/the-trouble-with-checked-exc...
> as a result Russia does not have a defensible border

So it should be easy for NATO to go on the offensive here and teach Russia a lesson? If that isn't true, then why would Russia need to invade a country to "make itself safer"?
Our perception of time is very subjective: it is affected by our age, by what we are doing, and it is known that it can be significantly altered by consuming certain substances. We learned from others that there was time before we were born, but do we feel that? In my own subjective perception of time the moment of my birth seems to be infinitely far in the past, and I can't be sure that the final moment of death will be a finite point approachable by consciousness.
Yes, we absolutely do. Smaller protests are ongoing right now in Ottawa by the same group(s) that set up at parliament. They're totally legal, because they're not breaking any laws.

The big hoopla down on Wellington _was_ breaking _many_ laws. The municipality was unable to disperse it with the resources at hand, and so voila, emergencies act.
I can't think of a single non-developer application by Microsoft which isn't absolute garbage. Skype (after the Microsoft "upgrade"), Teams, Windows Store, the Xbox apps... It's incredible that they are unable to produce a properly working application for their own operating system.
I think that the data part has probably helped to avoid the flamewars (for some reason).
Tangentially, I seem to recall recently (2020 sometime) where someone made custom firmware for a laptop's wifi card that, since the computer was set up with a central hub for most of its peripherals, could sniff data flowing from things like USB stuff and, more interestingly, its keyboard.

It ended up as an extremely elegant keylogger. Cool stuff.
https://waerme.hamburg/presse-media/pressemitteilungen/wasse...
When you're disrupting major cities with your "fun party" it is completely acceptable to assume trying to interrupt peoples daily lives and livelihood is a bad act and it's perfectly acceptable to deal with that.
Don't read every article?
from my experience I often find myself waiting for a hung docker daemon to give me the answer to a query. I dont know much about how it works but it feels monolithic and fragile the way a single container seems to be able to hang the whole thing and I can't even do a "docker ps" to see what's going on. Podman doesnt have any issues like that, it responds quickly at all times regardless of individual container status in my experience.
I run a mail server on Digital Ocean and I’ve never had deliverability issues with the big email providers. I had issues once with a self-hosted exchange server and with one of the ISP-provided email addresses.
Have you tried wikinews?

Also see https://rational.app — we are building it. Feedback welcome !!!
Intangibles are a major cost factor as well. Not just the servers, but an entire authentication and customer support infrastructure.

Scammers are not an easy cost to estimate or an easy value to sell resistance against.
So, I went directly into data science after an econ degree, worked there for 2 years and then transitioned to SWE (at startups). First, I am 100% certain ML will become a part of the standard SWE toolkit (just like apis, docker, sql, etc..).
However, to the relative "hardness" I would say ML currently is much less things but they can be really hard to get your head around (like starting to think in embeddings and vectors), and many APIs are wonky, because they are new. And the whole data science workflow space it in an early spot (we are still missing a "create-data-app", simmilar to the create-react-app.
Wow, that headline is clickbait nonsense, and the article make numerous .

They do not have access to "all user data", that is blatantly false, even in the article's own claims.

> “Once one advertiser has a device ID that’s correlated, all privacy is gone,”

What? That's only a single Ad network, and no one has the scope of surveillance google has (and uses) except maybe Facebook.

Likewise, they do not have access to keychain data - they use keychain sync to link a user across multiple devices (the whole point of keychain sync is to sync data across multiple devices) - keychain does not provide arbitrary access to any app, and even if they had raw access to the local keychain db file[s] it's encrypted. It's probably worth adding an easy way to remove an app's keychain data (this would be an entirely UI feature).

The various device ID methods used are likewise the standard scummy ad industry practices that all the "freemium" apps use, and many of the ones you pay for as well.

It changes the way it behaves using javascript etc. Presumably it's just another WebView app, so that kind of goes without saying, and is again not unique to TikTok.

"On the Apple app, the studies indicated TikTok made its own version of a video player presumably to ensure the code runs properly — but Lockerman said it’s also likely used to hide things"

Wow. Just wow.

Anyway, this seems like yet another china-bogeyman article making absurdly broad claims about the breadth of data collected while describing the much more limited techniques they're actually using. Essentially it's is trying very hard to act like what TikTok is doing is somehow worse or more nefarious than other companies (e.g. google and Facebook).

While there may be actual legitimate concerns about TikTok, articles like this undermine the credibility of actual researchers.
One thing that is actually nicer is that podman can run kubernetes pods from the kubernetes yaml file description (mostly) directly.

This avoids having to use kubernetes in production, and something different (like docker-compose) in local.

Being able to search in multiple container registries is very nice, and docker doesn't allow you to do that (to the best of my knowledge).
It's very useful if you have a company container registry for example.
Russia Sends Its “Terminator” Advanced Urban Fighting Vehicles Towards Ukraine
You completely missed the point of my comment.
Places I have worked have said they wanted these people. I was explicitly chosen for one job because they thought I would provide value there.

Joined the ticket clearing line all the same.
Are the words "climate change" anywhere in the pretext of this question?
I am wondering about that as well since forever, being French.

We do not have such measures and I was wondering what would happen if I, a white man, "self-idetified" myself as black for the sake of receiving formal positive discrimination, grants, etc.
Another exploration of this theme was in an episode of Doctor Who (Smile) which features a colony with nanobots that are optimized for happiness, with disastrous results: https://en.wikipedia.org/wiki/Smile_(Doctor_Who)
-
"The Vardy were programmed to help construct and operate the colony and make the colonists happy, monitoring the emotional state of the colonists through the emotion badges and avatars. When one of the flight crew died of natural causes, it created grief among the crew, something the avatars were not programmed to register. The Vardy took this as a sign of disease and killed those who displayed unhappiness. This created a "grief tsunami" which rapidly wiped out the flight crew, and will likely wipe out the waking colonists when they discover what happened."
Upon seeing this in my threads page, I feel the need to elaborate. Since SEO stands for Search Engine Optimization, this is an example of RAS Syndrome - Redundant Acronym Syndrome Syndrome.
> That has nothing to do with freezing accounts of donors, or blocking donations.

Yes, it does. The donations were specifically to fund an activity that had been deemed illegal. Similar to the other things tracked by FINTRAC.

I have seen only one claim of a donor being targeted, and quite frankly, I didn't trust the source, but it is possible. The RCMP issued a statement [1] yesterday clarifying that the only information they had provided to banks was regarding organizers and trucks blocking the street (both groups were made explicitly aware that their behaviour was illegal and would have consequences).

[1] https://blockade.rcmp.ca/news-nouvelles/ncr-rcn211130-s-d-en...
It isn't that folks normalize fraud, but rather that fraud has been a thread in humanity for, well, a very very long time indeed, probably before we wrote this stuff down. In other words, it is normal for societies to have some fraud - though, it isn't a "normal" behavior since most folks aren't out defrauding folks on a large scale. People act like fraud is a modern thing, and it isn't - and definitely isn't a sign that we are just doing worse now than in some romanticized past.

If we don't acknowledge that it is a thing humans do and have done for a long time, our solutions will never be adequate (if that is possible). We really should be learning from the past and applying some of those lessons to the modern ways folks do fraud. Charisma has been intertwined with fraud for eons as well. If something is fairly common among fraudsters, then it benefits us to point this out.
It's a legitimate thing in embedded and other memory-constrained circumstances, when you have something like a large cache and an allocation failure can trigger manual pruning or GC.
Careen != Career
"Some of these people in Ukraine are hardcore neo-Nazis, and we are giving them weapons. Some a genuine I'm sure, and I haven't been to Ukraine, and only have a few friends from there. So it's hard for me to gauge exactly how genuine any of this is given how toxic coverage of anything even tangentially related to Russia is in the West. "

Well I have been there and I can tell you that Ukrainian patriotism is much broader than just the far right. Some of the people in the US are hardcore neo-Nazis but nobody assumes that they drive American foreign policy.
I'm curious about what comes out of the deliberations about whether it was appropriate to invoke the Emergencies Act, but at the same time, I feel like critics are engaging in doomsday porn when they characterize bank account freezing as some sort of indication of dystopic things to come.

From the accounts I've heard, I can't really tell what the protestors were hoping to realistically accomplish. Pissing off a whole city for a whole month doesn't exactly have a great track record with regards to swaying policy.

According to polls, most canadians opposed the protest. That doesn't mean they necessarily have an opinion on whether invoking of the act was appropriate or not. I think most canadians are sensible enough to let the lawyers figure that out than adding noise via their uninformed hot takes. My personal take is that canadians as a society just don't like gratuitously loud whining and would much rather get back to peacefulness.

I think the police response speaks volumes about canadian values and what they represent, regardless of what laws say on paper: some people actually criticized the police response for being too "soft" on protesters but it was a good example that canadian police always prioritizes de-escalation[0]. They focused on reducing the risk of violence from breaking out even if it meant standing down; and arrests were largely related to dangerous threats (e.g. weapons) or gross disregard for public peace/safety.

People keep making parallels to US politics, but one big difference is that Canadians just aren't as polarized as to disagree on core principles, i.e. there's much less inclination for political parties to double down into increasingly polarized, extremist tribes. So even if it turns out that invoking the Emergencies Act was a bad call this time, it doesn't necessarily follow that Canada will devolve into a tyranny.

[0] https://www.nationalobserver.com/2022/02/01/news/ottawa-offi...
One of the members of my team ordered a Framework Laptop, the Professional edition, about 4 months ago to replace his old Lenovo. In the first week, he had battery drain issues. Even when he put it to sleep, it would drain the battery. He had to keep it plugged in at all times. He tried few distros (including the older version of Ubuntu they recommend) and the problems persisted. His screen also had issues and colors would slightly shift. I lent him my colorimeter and he said the monitor would lose calibration after several days. He also complained about trackpad not tracking his finger properly. In the end, he returned it. I think he said you have 30 days to return it.

Hope they fix these issues.
> It looks like you are doing SQL statement in just a method signature, which is just insane.

Aside from the `where` keyword, I don't see much similarity with SQL. That said, I'm a big fan of SQL, so I might be blind to the issue.

Several other people have already said it, but I find that definition pretty easy to read, and I've never been paid to write a line of Swift. The most confusing part for me was the fact that the argument names seem to have spaces in them. The type constraints look pretty nice to me, to be honest.
> amortized growth of a large buffer, which will happen max log n times in a buffer of size n

You can do better than log if you care to; just grow the buffer more quickly. It's just that exponential growth tends to work pretty well (and, notably, amortizes the overhead of copying such that it is O(1)). Also: people tend to take breaks when typing, so you can asynchronously try to grow the buffer when it is close to full.
When does it ask for your identity? I just signed up and all it needed was my email, password, and my token. It doesn’t know who I am though. It didn’t even ask for my name.
How to Read the ECMAScript Specification