skysight-inc/HackerNews huggingface dataset:
I will add a comment in support of the very low dose of melatonin. I take 1mg, same as another user, but will experiment with dropping it. I find that it works best if I take it some time before I plan to sleep. Currently I have a reminder set for 9:15 and I fall asleep between 10:30 and 11:30 most nights.

I am a historically terrible sleeper but the past year has been the best sleep of my life. Here is my overall process:

Bedtime routine:
1mg Melatonin at 9:15ish. Don blue light blocking glasses. My understanding is that the science behind these is mostly bunk but they help me. (Probably because of a general reduction in light and the psychological routine). Read book outloud w/wife and then watch a boring youtube video. If the youtube video is interesting, it's not good. Books are also not good because I find them too entertaining.

Day routine:
Wake up early, ish. Eat more food early than late. Exercise. Focus on using up energy at work or during the day. I am working on getting 30 min of sunlight every morning.
This seems like a great idea, but it seems to overwrite a lot of native python that would make this more flexible.

With some quick playing around, I don't see a way to parameterize is. Ie. If I want to show a different amount of workers in your example[1] if I am creating a dev or prod diagram. It would be really nice to be able pre-define certain parts of the diagram and add as desired.

https://diagrams.mingrammer.com/docs/getting-started/example...
The US staged an intervention in Panama therefore the Saudis are allowed to own slaves and work them to death is not a coherent position to hold.
Most pensions involve a substantial employer contribution too.

I'm just saying, if they're contributing, great, I'd rather it go into a 401k where it's in a specific account for me and I can easily track it and complain timely if it's missing and I can fully separate from the employer when I leave versus going into a pension trust which I have much less visibility and a much longer connection with the company.

Of the four companies I've had 401ks with, one is totally dead, I think. Another is merged into Verizon and may as well be dead. The fourth bought the third and might last until I'd get a pension.

I'm quite happy I have no further financial connection to these companies, and don't have to pay attention to their solvency anymore.
Show HN: Appents Photo Caption Generator
Almost absolutely true.

You won't believe (you probably will, actually) how quickly Western people there adapt to "the way things are" in those countries. They promptly get a maid for themselves, do the passport thing "just in case", abuse them physically and sexually, etc.

Funny thing is how most of these people would identify as liberal back in their home countries. They casually talk about women rights and abortion and whatnot on their living rooms while their maid is sleeping in a dark basement with no ventilation a few meters from them. It's nauseating.

I lived in Saudi for four years and have experienced this first hand. Contrary to what you'd expect, Saudi nationals are generally more measured with regards to these things. Anglos and Europeans, "first-world" people in general ... they just lose it, it's like a fetishistic thing. It probably is an actual fetish for them as many of them do rape their maids and/or ask for sexual favors from them.

inb4: "Oh, those are bold accusations where is your hard evidence, show me statistics and high-definition videos of all those maids that you claim are being raped daily. I just did a Google search and found nothing, you must be lying. Blah, blah, blah."
Just "semi-" dystopian?
Or never if the stock is owned by a foreign national, charity, sovereign wealth fund, etc.

Reasonable corporate taxes are a net positive for the economy of the county that issues them.
Disagree. I am on a discussion forum where a community doesn’t have to wage an internet war over Ukraine, Palestine, Iran or UAE on a regular basis. I want a forum where I can discuss hacker topics, topics that ignite a hacker curiosity with a bit of tinkering and product building, and Hacker News is for that.

You have the World Wide Web to discuss whatever geopolitical pet peeves you have. Hacker News isn’t your fighting ground and flagging is the right thing to do.

Read the guidelines. This topic is intellectually lazy and not in the spirit of hacking whatsoever.
And if raids are court ordered?
Setting up a VPN between exclusively two machines would do the trick mostly. Note, however, that if a malicious user compromised the client, they'd still get unfettered access to the whole file system of the server -- whereas with NFSv4, they'd only get access to the files accessible by the Kerberos principal of the client.

Also, when I wrote this, I was thinking about the use case of a home network: running a VPN within such a network sounds really strange, but such a network is full of less-than-trustable IoT devices and the like.
the definition of a "free market" is one that evolves "naturally" without (or with only minimal) government controls (aka regulations), so in that sense it would indeed be a market; the ultimate free market is one without any external controls at all
...or you can just use a VAT, which are also paid at purchase. Tech companies have high margins and low expenses, so if the point is to tax tech companies, taxing purchases and giving a credit to sales is literally the exact opposite of what you want to do.
I hope we will never live in a world, where something so important is entrusted to such an untrustworthy company. Things like undersea cables are infrastructure and I would not want that controlled by some for profit company with abysmal reputation like Facebook.
The axios point is helpful, thank you for mentioning it. I'll make a bug ticket to fix.

Also, we should probably put restrictions the keyname scheme. Ideally, it should be something readable.
> How can that only be coming out now?

It isn't China/Iran else 21 deaths would have been news. Media/Citizens also align themselves with the foreign policy.
University labs (with the right funding) can totally do this, it's just not cheap. My university sold all its fab hardware to another university the year before I was able to take a VLSI class which at the time, had a practical lab. *

> As I read more about the dark art of IC fabrication

I want to push back on this being a "dark art" - there is no magic in engineering (nb4, any sufficiently advanced technology etc etc). It's a skillset that requires education, experience, and expertise on par with anything we do in other areas of engineering. The stakes are just a little higher than software because you're dealing with the physical world and physical things have tangible costs and/or danger.

The thing that may trip people up is that IC fabrication is one of those things that doesn't really have a hobbyist tier. Anything beyond a toy requires multiple people and support staff in addition to gear and raw materials that are hard to get as any old civilian - in addition to the clean room facilities. Like the reason my university closed their lab was partly because the grad/PhD students and professors had moved on, and partly because it was becoming more difficult to source wafers for research institutions that they could actually use (everyone got hired by labs in industry, where they were making their own wafers or buying them wholesale afaict).

* iirc only the penultimate project got taped out and fabbed with terrible yields due to time contraints
> pokey things and strips

Those do not require a prescription, but they are also not a CGM. They are blood sugar test kits, you can order them on Amazon. You could poke your fingers every hour or 15min to replicate the continuous sampling of a CGM, but that's tedious and makes your fingers sore...

CGMs (in the US) just recently (this year) are allowed to be sold OTC without a prescription, now you can buy them online too.
It did for the first variants, but then Omicron happened.

I see you're calling a vaccine a "vaccine". Noted.
I wouldn't overinvest your confidence in these licenses and certifications. A "Professional Engineer" is just a Bachelors level engineer who took one extra test. It's extremely common for MechE and CivE. As far as certifications go it's not quite the same as, say, passing the bar exam or finishing med school.
YC Winter 2025 batch applications due by Tuesday, November 12, 2024
Radare binary reversing – online conference
Check out all the great presentations and Doyensec's Dennis Goodlett presenting on bypassing malicious pickle detection.
Slight tangent: Domain-specific languages (DSLs) that blew my mind.

Here are three DSLs that left lasting and positive impressions:

1) Mathematical programming languages, first GNU MathProg, then later python pulp and pyomo. These launched a subcareer in applying LP and MIP to practical, large-scale problems. The whole field is fascinating, fun, and often highly profitable because the economic gains from optimization can be huge. Think of UPS.

2) Probabilistic programming languages, first BUGS (winbugs, openbugs, JAGS), later Stan, pymc, and various specialized tools. These helped me become a practicing Bayesian who doesn't much like p-value hypothesis testing.

3) The dplyr | ggplot universe. These are really two independent eDSLs but they're from the same folks and work great together. Writing awkward pandas|matplotlib code is just soul-wrecking tedium after using dplyr|ggplot.
Maybe it doesn't exist in lesser countries but it does in the US of A.
The IRS doesn't want 401k to be a tax-avoidance scheme for the rich so individual plans are heavily capped. But you should have the same cap as your employer in a plan they administer.
Only after it all imploded did the government go after them.

Until that moment it did the exact opposite including opening criminal investigations into the journalists calling it a scam.
Everything is double, triple, etc taxed. The corp->shareholder thing is an arbitrary point to focus on.

Some amount of revenue must be raised. Suggest an alternative. Not taxing corp profits will result is less overall tax income (it wont be made up in shareholder taxes).
I think you're missing the point. Common Lisp is very dynamic yes, but it was designed in a very careful way to make sure that dynamism does not make an optimizing compiler impossible. That is not the case for Python.

Not all dynamism is the same, even if the end result can feel the same. Python has a particularly difficult brand of dynamism to deal with.
Look at government spending post WWII - it fell through the floor, yet GDP grew like topsey.

Also the government is spending as much as percent of GDP as it did during WWII. You want to increase that?
According to the article, this is 21000 deaths over 7–8 years ("According to the exposé by ITV, more than 21,000 Indian, Bangladeshi, and Nepalese workers have died in Saudi Arabia since 2017"), and these are probably almost entirely young working-age men, because in most places (I don't know specifically about Saudi Arabia) migrant workers are almost entirely young working-age men. In the US, looking at the Social Security Administration's actuarial life table at https://www.ssa.gov/oact/STATS/table4c6.html, 18-year-old men have a death probability of .0011 (0.11%) per year, and 28-year-old men have a death probability of .00233 (0.233%) per year. 0.11% of your number of 10 million people per year, over 7 years, is 77000 deaths, and at 0.233%, it would be 163100 deaths. These numbers are many times higher than the 21000 deaths actually reported here.

So, on that basis, we would conclude that not only is it not "approaching what one would expect in war zone", it's one third of the death rate for young men in one of the world's richest countries, one which has virtually no slavery problem. That is, it's three times safer to be a migrant worker in Saudi Arabia than to be an average young dude in Springfield. So, yes, the death [toll] really can be that high. In fact, it could be many times higher without any job-related deaths at all.

However, your number of "10M or so" is all foreign workers in Saudi Arabia, not just the ones working on Saudi Vision 2030. So, on that basis, it's entirely possible that the number of workers working on Saudi Vision 2030 is much smaller than this 10 million. Maybe we're talking about 3000 deaths per year out of only 1 million workers, or 0.1 million, which would be really alarming!
I like the simplicity. However, it is possible to rollout a feature flag only to a part of the user, e.g. a 1% canary release (cf https://martinfowler.com/bliki/CanaryRelease.html)?

If not, I'm not sure this brings more to the table than simple configuration changes that are rolled out through your next deployment, which should be frequent anyway, assuming you have continuous delivery.
I just read this article about a person who tried to relax more by using tech less. It's pretty interesting.

I mean, tech can be super helpful and make our lives easier, but it can also be a huge distraction and make us feel stressed out. The person in the article was trying to find a balance between using tech and relaxing, but it wasn't easy.

Have you guys ever tried to cut back on tech use? Did it help you relax more, or did you just end up feeling disconnected from everything?
Do you really think that a problem of this scale could exist without it being sanctioned by the government? Saudi wants it this way.
Nothing uber does is crazy anymore
They do require blood samples. The device sticks to the back of your arm, and a small sensor is embedded in your skin. It's painless, and the sensor continuously samples the blood in your skin to measure blood sugar levels.

They are accurate enough - they are FDA approved (in the US).
I mean, Kevin Mitnick spent time in jail: https://en.wikipedia.org/wiki/Kevin_Mitnick

I wouldn't mess around with this stuff myself.
The GitHub project is here: https://github.com/copy/v86
I have no strong opinions about Uber itself, but as far as data management is concerned I am ok with this. I don't want police gathering my data via a third party for no good reason.

From the Article:
"A spokesperson for Kalanick said the kill switch was “not designed or implemented to obstruct justice”. She said it was used to “protect intellectual property and the privacy of […] customers, and ensure due process rights are respected in the event of an extrajudicial raid”.

His lawyers said because no data was permanently deleted in the process, authorities could still obtain it later."
In many countries, hampering a police investigation is a crime, especially if you're doing it while the raid is occuring.
Apple Silicon Unified Memory: How Much Mac RAM Do You Need?
Sure but don't forget that most Muslim countries are living in the 14th century culturally. We're talking about a country that only gave women the right to drive cars in 2015.
>the death toll is approaching what one would expect in war zone.

US taxmoney was used to finance the massacre of 40000+ Gazans in the span of 1 year. No interventions happened there.

The people you are pleeding to to do the "intervention" clearly don't care about human lives, so I'm not sure what you are hoping to accomplish.
It's optimized so that it's easy to read the code that you read all the time: code iterating through the containers.

It is dramatically less common to read through the implementation of containers.
No, you're right about the death thing. That's how all life insurance works. They bet on the statistics that most people will die by Y, so the retirement age of X means they will make money if (Y-X) is positive. Pensions are basically just "rest of your life" insurance before the real life insuarance kicks in for your family.

And you see why they died out. Y-X consistently became negative as people lived longer, especially when we moved to a service industry. So they ended it and front-loaded the money. There's probably a lieu of tax codes and other benefit they get from matching 401ks as well that I do not know of without researching.
Looking purely at data (eg https://data.who.int/countries/682) your point is not unreasonable.

Saudi Arabia population is ~35M with ~120K deaths per year.

10M immigrants is ~32K deaths per year.
An entirely useful and thoughtful writeup (and not really all that political) -- why was it flagged?

Just one nitpick, in regard to the pronouncement at the very top:

One thing about Germany, and Europe in general, is that it’s relatively left-wing when compared to the US.

Europe's pragmatic social policies constitute what America thinks of as as left-wing. But really that's a statement more about the US than it is about Europe.

To most Europeans, these policies are basically common sense, the outcome of decades of political consensus (give or take certain differences about exactly how to tune the dials).
DNA is really complicated. There are probably a bunch of other polymers that could fill the same role.
"Hackable" Email: Extending Postfix with WASM
I think that the only thing that is inevitable is complexity changing over time. My first thought was maybe there could be a more distributed sort of "program", but maybe we already have that - either evolution itself, or if evolution somehow isn't inevitable, something that bootstraps or otherwise facilitates it.

Imagine yourself existing on a microscopic scale, with your current consciousness intact. You'd look into the 'sky' and see an organelle membrane or nuclear envelope... what would your concept of the "program of life" be, while existing adjacent to DNA itself? Would this activity look a bit like some of the natural processes we witness and take part in on Earth?
Hi thanks for your comment.

I think your strategy for applications depends a lot on what companies you're applying to and your experience. If you are applying to a smaller company that is likely to read your application then it might be worthwhile to tailor your application.

For very competitive jobs I didn't find tailoring my applications to be worthwhile. I spent many hours writing cover letters and tailoring my resume for companies that I ultimately never heard back from. I found that time was better spent applying to more jobs

That said, I don't think mass applications are the only strategy job seekers should employ. I think a combination of mass applications, cold outreach via email + linkedin, warm outreach to your network, and maybe a few tailored applications to roles you really want is best to maximize your odds
PRC Adapts Meta's Llama for Military and Security AI Applications
I don’t think that marriage indicates a lack of promiscuity.
Me neither, but would it have been easy to trace him? I mean if he was going to use this for bad, I would assume he would have waited a month or so then done it all via a VPN etc. But point being he _could_ have done this and to be honest for all we know, someone else _has_ been abusing it until it was patched...
Are you open to do it with Node? I wrote a blog post[0] with a fairly easy setup. If you're using markdown and any markdown processor you should be good to go.

[0] https://www.itzami.com/blog/how-to-build-a-blog-with-nodejs
> That is a perfectly normal death rate in a population that size.

That is a mortality rate of 650 per 100k.

That is not normal.

That is horrific.

That is irrefutable, unquestionable, evidence of systemic abuse and/or neglect.

That is double the mortality rate in US federal prisons more than double the mortality rate of the US state prison population.

That is roughly double the typical mortality rate of US adults aged 25-64. (~340 per 100k) and due to a variety of reasons (e.g. obesity, lack of access to healthcare) the US's working-age mortality rate is among the worst in the industrialized world.

"Roughly double" of "among the worst" is not "perfectly normal".

Please do not make excuses for the Qataris.

High and Rising Mortality Rates Among Working-Age Adults. National Academies of Sciences, Engineering, and Medicine; Division of Behavioral and Social Sciences and Education; Committee on National Statistics; Committee on Population; Committee on Rising Midlife Mortality Rates and Socioeconomic Disparities; Becker T, Majmundar MK, Harris KM, editors. Washington (DC): National Academies Press (US); 2021 Mar 2.

https://www.ncbi.nlm.nih.gov/books/NBK571942/#:~:text=Betwee...).

Mortality in State and Federal Prisons, 2001–2019 – Statistical Tables. E. Ann Carson, Ph.D., BJS Statistician, U.S. Department of Justice, Office of Justice Programs, Bureau of Justice Statistics, December 2021, NCJ 300953

https://bjs.ojp.gov/content/pub/pdf/msfp0119st.pdf
nice! is it cloud-based or does it run locally?
There were similar reports during Qatar's construction of facilities for the 2022 World Cup. Digging into the sources of the numbers in those reports though showed that they were (1) for the entire population of foreign workers in Qatar rather than just those working on the World Cup projects, and (2) counted all deaths rather than just work related deaths.

The death rate for those foreign workers turned out to less than the death rate for 15-34 year old males in the US. I compared to 15-34 year old males because I figured that foreign workers in Qatar, especially those working on World Cup construction, would tend to be male and younger.

I'm going to take the number of foreign worked in Saudi Arabia as 6 million. That's lower than the number you cited from Wikipedia, but that number is a few year old and has been going down. 6 million seems closer to the current number. I'd rather be low than high because being low on the population size gives a higher death rate. Too high is better than too low when you are trying to check if a death rate is worrisome.

If that 3000 per year turns out to be among all foreign workers and for all causes, like the Qatar numbers, that would give a death rate of 50 per 100k per year.

That would be pretty low. For comparison US death rates for males 15-24 and 25-34 are 127 and 251 respectively, and for females in those age groups they are 49 and 109.

That's low enough to be hard to believe, so a more detailed look into the data is called for. I haven't found any more easily Googled data, so what just follows is speculation.

One possibility is that unlike the Qatar numbers the Saudi numbers actually are only for workers actually working on Saudi Vision 3030 and/or only includes work related deaths. That would lower the denominator and raise the calculated death rate.

Another possibility is that the numbers are like the Qatar numbers and workers there really do die at a lower rate than do young people in the US. Offhand I can think of a couple things that might contribute to this:

1. Many of the jobs for migrants are known to be physically hard. Maybe it is mostly only people who are in very good health who take those jobs.

2. Saudi Arabia greatly restricts alcohol and enforces this with very harsh penalties. Same with drugs. A significant chuck of the US young person deaths are alcohol or drug related and those kind of deaths should be almost entirely absent among the foreign workers in Saudi Arabia.
> Yes, I suppose you can summarize their positions as the right is in favor of self-determination, whereas the left appears to prefer to let others determine their fate.

I find this meme, in the original sense, rather odd. Speaking as an american, over the last 40 years the right wing of our political institutions have been extremely hierarchical and authoritarian. Right wing ideologies are almost entirely based on which group should obey which other group and why.

The term left-wing has gotten a little vague recently, but I think you could say that the common premise of most of their political theory is that there's already/always going to be a powerful government that everyone has to obey so we might as well make that government the best it can possibly be for as many people as possible.

(I have a personal theory that political power, much like energy, can never actually be destroyed, merely moved.)