Hacker Newsnew | past | comments | ask | show | jobs | submit | papercrane's commentslogin

Quadlets also support a .kube file. I have a similar use case where I have 6 containers I want to all run on the same network. So have a k8s YAML file that has a pod with the containers, their configuration and path mapping and then a have a `service.kube` file with a '[Kube]' section and a 'Yaml=/path/to/config.yaml' directive. That creates a single service to stop/start with systemd and has all the containers running on the same network in a single pod.


> Though neither python nor rust have such a nice `.split(None)` built in.

Sorry, I'm not sure I understand what `.split(None)` would do? My initial instinct is that would would return each character. i.e. `.chars()` in Rust or `list(s)` in Python.


>Sorry, I'm not sure I understand what `.split(None)` would do?

Reading the docs [0] it seems `.split(None)` returns an array of the indivual characters without whitespace - so something like [c in list(s) if not whitespace(c)]

[0] https://docs.python.org/3.3/library/stdtypes.html?highlight=...


It was intended to split a list of `int|None` into its non-none stretches. Much like how `string.split('x')` splits a string by matching the character 'x'


Gotcha! In python there is a `split_at` function for this in the more-itertools package, but I don't think there is a concise way to do it in the stdlib.


> If they arrange financing but don't hold the loans themselves, they get paid without assuming any risk, yes?

Yes, that's correct. It's typically how investment banks operate, their main business is facilitating transactions. They'll turn around and sell the loans to hedge funds and private investors.

This obviously mean they have incentive to encourage buildouts and to downplay the risks of the loans.


The lead pipes theory is mostly just pop-science. Romans were likely getting more lead exposure from using lead cooking vessels and utensils.


Not to mention the fact that their pipes immediately become mineralized, and very little lead leeches in cold water.

Headline science has a way of sticking around for a long time.


Also...Roman plumbing was constant-flow. Lead in water is mostly an issue when it gets to rest in the pipes for a while, then when somebody turns the tap on they get water that's had time to absorb the lead. Since Roman plumbing had no taps though and was just running constantly, the amount of time the water was exposed to the lead was pretty minimal.


spelling pedant: "leaches," not "leeches"


It’s lychees


Plus literally “flavoring” their wine on purpose with lead acetate.


And that was the first and last time that no-calorie sweeteners had deleterious population-level effects


High calorie sweeteners have deleterious population-level effects.

Is there any evidence that modern low calorie sweeteners have deleterious population-level effects, and what are they compared to high calorie sweeteners?


Anecdotally I get gut dybiosis (microbiome imbalance) that notably only occurs when using artificial sweeteners and stops when I stop taking it, I’ve talked to many others who have noticed the same thing. Gut dysbiosis can cause chronic systemic inflammation which is rather bad for the body, not sure if it’s worse than the sugar it replaces, but it shouldn’t be assumed that the problem is solved by low calories. I think it’s important to limit both, preferably to near zero.


Sugar alcohols are especially bad for this. I fried my GI one year and it was largely down to developing a gum chewing habit at a time when sugar alcohols were in almost all gum brands. You can’t process them, but bad gut bacteria can.


It sucks so much, because xylitol appears to be very good for your teeth but bad for your heart:

https://www.nih.gov/news-events/nih-research-matters/xylitol...


I wonder if any Romans evidence had any evidence of population-level delirium from lead consumption...


Lower intelligence would likely surface as hedonistic behavior which is probably hard to distinguish from decadence. Decadence and hedonism were constantly being complained about long before the eventual fall.


Hard to square the fall with lead poisoning when the leadership after the 3rd century hardly even bothered to go to Rome at all.

It's too easy to point at the Claudians as the beginning of the fall. In a way, the "Real" Roman empire began to fail once Augustus took over.


Violence in the US declined as children born around and after leaded gas was banned reached the average age of first offense. It’s quite a line.


You're going to have to explain your point to me, or perhaps you misunderstood my own.

My point is that while it may have been unclear to the Romans as to the cause of changes in behavior they did notice a change and did complain about it a lot. I accept the premise that lead poisoning leads to lower intelligence.


What we know now is that lead’s effects are more pronounced as developmental issues. A little lead exposure as a child can lead to a violent temper. So once children were not born into a low grade cloud of lead contamination, they were set up for fewer mood disturbances as teenagers and young adults. Feeling like violence is your best avenue for conflict resolution leads to crime. So the change wasn’t over night, it was over 20 years.

I expect that whatever effect was going on in Rome if there was one, which seems to be up for debate, counted on pregnant women exposed to lead via alcohol and acidic foods, neither of which young children would normally encounter. Meanwhile lead dust from exhaust got -everywhere-, and paint a lot of places.


I still think you are agreeing with the implied and later stated accepted premise that there is a correlation and it’s not always obvious, I’m still unsure as to what it is you are trying to add.


> Violence in the US declined as children born around and after leaded gas was banned reached the average age of first offense

My pet hypothesis for the generation born after in the mid postwar era having been a general scourge on America is that we had a population boom amidst lead.


> Lower intelligence would likely surface as hedonistic behavior why do you think so


poor decision making


Joseph R. McConnell et al. (January 6, 2025). Pan-European atmospheric lead pollution, enhanced blood lead levels, and cognitive decline from Roman-era mining and smelting. https://www.pnas.org/doi/full/10.1073/pnas.2419630121


So is the idea that widespread lead exposure led to the decline of the Roman empire largely pop science? Are you saying that's not accurate, or that the source of the lead exposure is miscounted?


Yes, that is the modern understanding. Widespread lead exposure had very little / nothing to do with the decline the Roman Empire.


Plus to prove the lead connection you have to discount the centuries of Roman dominance and growth during which lead exposure was common.


This is a much better point. It's not like there were more lead pipes during the decline than the rise.


Wouldn't there necessarily be more lead pipes at the peak and post-peak? Assuming that pipe-building was some non-linear function of dominance, which seems a fair assumption, we would start with 0% pipes at 0% rome and asymptotically close to 100% pipes at the asymptotic 100% peak rome. Is this a bad assumption, or is it basically just pedantry?


It would be more about lead pipes per capita, possibly as rome itself grew wealthier from conquests they added more and more piping, but it would be hard to relate this to any specific moment in time.

Presumably the wealthy elites had their pipes installed first anyways.


there are many ways to account for the fall of the roman empire, and everyone chooses their favorite (usually depending on where their interest bends). for example, it could be explained by the increased usage of mercenaries in the roman army. i like this theory because the fall was brought by losses to renegade forces. it could also be explained by bad leadership.


"Decadence" likely had nothing to do with the Roman Empire's fall. That theory is based essentially on propaganda, designed to absolve them of blame.

The lead pipes had too much calcification, and not much lead would have leached out. But the Romans did use lead acetate as a sweetener, so they were adding lead directly to many (most?) of their meals.


also lead flavoring

lead tastes sweet, sugar wasn't cheaply & widely available, honey is expensive etc.

and knowledge about lead poisoning was not really a think AFIK

at the same time lead pipes tend to gain a crust of chalk over time (depending on chalk content of the water) which mostly defuses their danger. Like you will find some very old houses with lead tape water pipes in the EU today but if you test their tape water you won't find (much of) an issue due to 1) the chalk 2) the water not staying long in the pipe if it's e.g. a 4 apartment house.


Here's Vitruvius in "De Architectura" claiming it's common, easily verified knowledge: https://penelope.uchicago.edu/Thayer/E/Roman/Texts/Vitruvius...

Of course, him mentioning "Don't do this" suggests that lead water pipes into the home were common enough to need a warning against.


interesting

> "Don't do this" suggests that lead water pipes into the home were common enough to need a warning against.

sadly, they still are today sometimes, in areas with a lot of 125+year old infrastructure :/


Interestingly, in 2017, a research found that crime rates in US dropped as lead pipes are replaced with better alternatives [0].

[0]: https://www.brookings.edu/articles/new-evidence-that-lead-ex...


Which continued pretty much into the modern age. Nothing specifically Roman about it.


It sounds like your describing aloo tikki. It's really delicious and sometimes used as a vegetarian burger patty.


> The website is named 'defcon', like the famous defense conference.

Both the defense conference and this are references to the military term DEFCON, that stands for "defense readiness condition". Q here is referring to the Q programming language that is built on top of KDB's K language.

The website is a blog and learning resource for the Q language.


Thanks. Looks like at least someone could follow my thought process


If your site requires people to explain your thought process, your presentation has failed, unless your goal is to confuse as many visitors as possible, in which case I wouldn't change a thing.


Yes, the Annapolis station was conceptually very much like a hydroelectric dam generator. When the tide was coming in sluice gates were opened to allow a reservoir to fill, then when the tide was going out the water was sent through a high-speed turbine.

It's unlikely that Nova Scotia will see tidal power again in the near future. There's been some attempts at in-stream generation, but the projects have been opposed by the local fisheries, and the federal regulators don't seem interested in helping define the requirements.


ICE deporting US citizens is not a new problem. In 2021 the GAO estimated that between 2015-2020 70 potential U.S. citizens were removed.

There are also cases where children who are citizens have been removed with a parent. In those cases the US government claims that they parents voluntary took the children, while the families claim that little no chance was given for the families to arrange for the children to stay.

GAO Report: https://www.gao.gov/products/gao-21-487

Wikipedia has a good round of sources for the recent removals of US children: https://en.wikipedia.org/wiki/Detention_and_deportation_of_A...


I am reading “potential citizen” as “a detainee who claims to be an American citizen whose citizenship status was not ascertained.” The article doesn’t really give a good indication of if these cases had any merit. Since officers are supposed to stop the interview if they believe the individual is a US citizen, I suspect that these deportations were warranted. Law enforcement can get things wrong, but in this case, I haven’t heard of any documented instances where this has happened.

> Wikipedia has a good round of sources for the recent removals of US children:

This article cites two examples, and in both instances the parents were residing in the country illegally with children who were not even in grade school yet. Jus Soli leads to all kinds of absurdities like this. The idea that a 2 year old being sent back to his mother’s country of origin is comparable to “American citizens being deported” is farcical; it’s technically true, but completely misleading. The people making these claims intend to frighten the audience into believing that regular immigration enforcement actions like these are somehow comparable to kidnapping people off of the street.


> I am reading “potential citizen” as “a detainee who claims to be an American citizen whose citizenship status was not ascertained.”

That's not what it means in this context. The GAO report is based on ICE's own database records, they found 70 deportees that records indicated they were potentially citizens.

> Law enforcement can get things wrong, but I haven’t read of any documented instances of this happening.

Wikipedia has an article that lists documented instances of citizens being removed.

https://en.wikipedia.org/wiki/Deportation_of_Americans_from_...


> Wikipedia has an article that lists documented instances of citizens being removed.

Thanks. It looks like the article lists 8 instances where deportation occurred. In 3 of those instances, the deportee sued and successfully returned, and in 2 they appear to have failed to return after their deportation. This is more like 3 / 5 though as the examples involving children were not technically deportations of the children but of the parents, who were not US citizens.

So it’s more than 0, but so far as I can tell none of the counted deportations occurred when Trump was in office; the last one was in 2008.


Your comment piqued my interest, as that would be a required feature for me to use something like this.

It looks like they do support integrating with a tool called Igir to handle validating and naming ROMs using DAT files.

https://docs.romm.app/latest/Tools/Igir-Collection-Manager/


Igir is great! We've been sponsoring them for the last few months since many of our users find it helpful. There are docs on both ends for getting it to output a folder structure that's compatible with the app

https://docs.romm.app/latest/Tools/Igir-Collection-Manager/ | https://igir.io/usage/desktop/romm/#


Have to dig and see if it handles retool items. Unfortunately retool has been basically abandoned. IGIR looked interesting until I realized it could not do parent/clone for redump like retool.


Looks like it does support 1G1R with the --single option and can infer parent/clone information if it's not provided, like with redump DATs. You could also use retool to create a DAT with that information based on your preferences, but as you said that's probably not viable longterm since retool is no longer maintained.

https://igir.io/dats/processing/#parentclone-inference


Yeah. The base problem is redump doesnt have parent clone. Some of MAME has it, retool has the currently basically static version. The name inference is ok for some of them because they are just basically the same name but diff regions. Others are in the native language or just totally different names but same game. Then there is TOSEC. That is a monster I have been trying to figure out what to do with and has similar problems as redump. No-intro and MAME are pretty good with its relationship metadata. The other two not so much. Some websites have it for particular systems but kinda not a cool move to scrape them. One of the cool parts I liked out of retool was its compilation part where there could be three games and it is in another 'game' thigs like '5 in 1'. Which is where p/c falls apart.


If you're using a newer JVM you can also map a "MemorySegment", which doesn't have the 2GiB limit that byte buffers have.


Good point, have written about this in the past

https://gavinray97.github.io/blog/panama-not-so-foreign-memo...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: