skysight-inc/HackerNews huggingface dataset:
You don't even need to pun that. It's legal to say:

struct myStruct example;
read(fd, &example, sizeof(example));

That "should present no problem unless binary data written by one implementation are read by another" quoth ANSI X3.159-1988. One example of a time where I've used that, is when storing intermediary build artifacts. Those artifacts only exist on the host machine. If the binary that writes/reads those artifacts gets recompiled, then the Makefile will invalidate the artifacts so they're regenerated. Since flags like -mstructure-size-boundary=n do exist and ABI breakages have happened with structs in the past.
And who decide that? You? Go mind your business.
I love this a lot and am saving it to my Roam notes for later reference ♥
Generally it's been the opinion that the control systems need to be modifiable. For example if you add a single valve in a facility which has 4,000 valves already, it would be nice to just add add a controller for that valve to the current SCADA system.

However, a write-only ROM system is possible as long as the ROM chips were reasonably affordable and a company could provide reasonable turnaround times for small modifications. That would move the target of vulnerability up the supply chain.

Some of the things which matter though are necessarily run-time variables like "is the valve commanded open or closed?" and "what are the tuning parameters for this PID control loop?". It's always theoretically possible for a buffer overflow/rowhammer/etc to flip the bit responsible for the valve's open/closed command. Even with an OS/Application stack burned into ROM. You still need RAM.

At least power cycling a readonly-storage device would remove any malicious RAM changes.
> It can be argued that trying to "regulate away losses and negative outcomes" is exactly what has been happening over the past decade.

Yes, this is because we have been living in a boomer-retirement-fund driven crony capitalistic market for the past 2-3 decades.

Wall Street and politicians in bed doing whatever they can to squeeze the economy of every last drop (usually through regulations + consolidations) to put in the old peoples last-wishes/bucket-list fund.

We are a society that went from having too many impoverished elderly to having too many narcissistic and lavish elderly who have no idea what too even do with their 3 homes and 7 figures. Rich hippies, basically.
>Normally, an increase in money supply would cause consumer goods to increase in price, since more people are able to buy them

Not if the increase in money supply goes from the banks to the already wealthy (as cheap loans), which don't use the extra money to consume, but to invest, buy land, and fund small-competition-crushing rent-seeking endeavours.

Then the money supply increases, consumer goods remain more or less the same price, but some stuff like rent goes up.
Technical debt isn’t all bad (usually)
Unfortunately residential networks usually don't have static IP's so the IP changes on reboots. Updating the DNS record every time would probably be a PITA.
At whose expense? Investors and drivers? Not a very good deal if you ask me. I am grateful to use Uber occasionally and the price is not too bad but I always tip the drivers because I know they're getting the short end of the stick. Occasionally for me is about twice a month which amounts to maybe 24-30 times a year.
If you're going to be "terribly econ 101", note that Netflix is not in a perfectly competitive market and almost certainly encounters a downward sloping demand curve... and that its maximum profit point is not going to be at the point where the most units are supplied and may indeed shift as the demand curve shifts.
I've got to add that if your raspberry pI doesn't have power backup or for some reason your network does down, cloudflared tunnel (as used in the post) shuts off after sometime and will not reconnect again till a day(default timeout for cloudflared tunnel to restart).
If this is unmonitored you might end up showing an error page for a long time.
Not the OP, but I think this accurately called out the (to me) novel bit of the article. HN regulars will have heard by now that psilocybin & MDMA are doing great in scientific studies, but it was news to me that there may be a cannabis-style investment boom taking off as well, and actual title both didn't mention this and is serious clickbait ("The Psychedelic Revolution Is Coming. Psychiatry May Never Be the Same.")
that's the difference. closing all tabs once a month prevents tabs from accumulating. either that or having the discipline to close tabs as soon as i know i that i don't need them.

when i search for something, i easily open more than a dozen tabs at once. if i do that multiple times a day, then i get into the hundreds quickly. each collection of tabs is an issue i work on. at some point i have to decide if i want to keep those tabs or if i want to restart the search when i get back to that issue.
Bookmarks are a pain to manage and navigation history expires. I guess I use tabs like automatically created bookmarks, when i’m done with them i just close the tab.

I have fuzzy search across the tabs, so i never click around on a tab looking for what i want.
Ask HN: Should Airbnb be responsible if their emails are routed to spam?
I recently booked a couple Airbnbs in Hawaii with my partner and friends to celebrate vaccination. I paid Airbnb using their option of half upfront, half a few weeks before check-in, because hey, why not.

The first stay went without incident. Upon getting ready to check in to the second place, however, I logged on to the website and discovered that the second booking was cancelled. I was aghast, and tried to get in contact with customer service. After many hours I got someone on the line, and was told that the second payment had not go through, and so they had cancelled the reservation.

I was shocked because I was not notified by this at all and would have been happy to put another card down. After digging, I found that 5 emails from automated@airbnb.com had landed in my spam inbox. I would have never thought to check the spam folder, because in the meanwhile I had received many emails from Airbnb about our other reservations, and gotten like 20 texts with details of the other reservations. Why hadn't they just used the other email or texted?

In the meantime, they had relisted the unit and it was immediately booked by someone else. They also took the $3000 we put down on the unit because it was cancelled after the date of a refund.

This had severe consequences for us. We couldn't find a comparable place to rebook and so our friends cancelled their whole trip (they were just flying in for the latter half). We are now spending our remaining time just trying to cut our losses and figure out how to end the vacation early, which has made everything extremely stressful. Overall I think we'll lose over $5k. I was also going to propose on this trip, but will not anymore because we're both so sad. Airbnb's customer service is completely unresponsive and unempathetic.

Anyway, to the question. Who's at fault here? Am I dumb and deserve this for not checking my spam folder all the time? Is it GMail's fault? Is Airbnb at fault?
>Simple opened to customers in 2012 and was supposed to offer a digital-first approach to banking. In fewer words, it was supposed to be “a bank that doesn’t suck,” to quote one of its co-founders. The service had a website and app that broke down your spending and made it easy to categorize payments, send money, and set savings goals. It was purchased by BBVA in 2014.

>BBVA said in January that it would be shutting down Simple later in 2021. The decision came from the company “reassessing its goals” as part of a planned sale to PNC Bank, which reached an agreement to acquire BBVA’s US operations in November 2020. The acquisition has not yet closed.

Why is it even possible for a bank - or any company really - to buy up its competition? Let alone buy it up, and then just shut it down.

It's like "we didn't like having to compete so we just used our orders of magnitude more wealth than the average person and just deleted them from existence".
That seems to have changed recently. I tried it a few months ago and wouldn't let me set it up without providing a phone number. Thanks for the heads up, I'll try again.
Right, and the host is only making a meaningful choice in the 2/3 scenarios where you didn't pick the car in the first place.
What works, in your experience?
Pipelines run for thousands of miles and operate 24/7. What do you imagine? Keeping a fleet of helicopters on standby to pick up a technician at home, and drop him wherever the equipment is, in case something needs to be adjusted at night?
>Yeah, the size of these trucks has completely put me off ever wanting one. I miss the small ones from a few decades ago.

<rolls eyes>

You (statistical you as a HN user, not you personally) say this with one breath but one look at the B pillar of an 80s minivan and you'd start coming up with excuses for why it's not safe enough for your kid.

The same demographics that complain about cars growing do a hell of a lot more complaining about safety and efficiency. So the OEM adds space for crumple zones, thick strong doors, a bulbous front end that pedestrians can gently (lol) bounce off of. And the OEM makes smooth sculpted curves so the vehicle can punch the cleanest possible hole in the air. And then they realize there's no room for people, so they scale it up to make more space so we get a Civic that's bigger than a 90s Accord.

You can't have it all HN, so which is it?
This.

I’ve worked with people who have dedicated their lives to their work. They like it. They’ll work weekends and evenings. Nobody is making them do it.
It's called Stuxnet, and it ruined 20% of Iran's uranium centrifuges. Which were air-gapped.
The truth? In Massachusetts at least 70% of the drivers working for Uber and Lyft were doing it illegally thanks to the loose background check and because these people were willing to accept being ripped off by these companies. Once they tighten up the sign-up process and disabled those accounts, the ones left were mostly Americans and other people with work permit. What Uber and Lyft didn't expect was that these drivers are neither working 10-12 hours a day, nor willing to risk contracting the virus. They'd rather stay home and collect their checks from the government.

The perfect storm.
The aristocratic class in America is mostly gone, with a few notable exceptions. This is where the Meritocracy Myth comes into play, where wealth is "created based on merit" (when people are just gaming things to the extreme). Meritocracy is used as an argument for keeping things status quo, where working non-stop (and other practices) is justified. At least the aristocratic life allowed for a leisure lifestyle for the upper class. Now, it does not.
At least that's a real source of value.
I feel very confident saying that there are lots of software jobs paying in the ~150k range (particularly for people with at least a couple years of experience, which you clearly have) that rarely if ever require more than 40 hours per week. I've never actually known anyone who works as much as you apparently do, save for high level execs at big companies making 7 figures and up. I've worked at FAANGs, and now work for a medium sized startup, with comp in the ~200-300k range and can count on my hands the number of weeks in my career that I've worked more than 40 hours.

Are you willing to name and shame? 60+ hours a week, much less 90, sounds utterly and completely insane to me. I would consider those companies outliers, and have a hard time wrapping my head around the fact that you've apparently found yourself at 2 outliers in a row.

Obviously location matters, so for reference: I was in Seattle while at a FAANG, and now work fully remote.
Air gaps didn’t save Iran. Air gaps are just one layer in the onion.
If you are going to use inlets, which needs a bastion host.
I would rather just suggest to jump in and use wireguard VPN instead on a $3.5 vps on linode or lightsail.
You get more control over your connection and firewall capabilities than inlets, which locks down premium capabilities.
Also Cloudflared tunnel will timeout and turn off your endpoint after a network disconnection. If you notice the systemd default file that comes with it, you will notice it restarts after a day. So you will have significant downtime, if your home network or power goes down.
I'm fairly certain that most of the work done by humans working long hours today is beyond the technology of the machines, for the moment. There's no machine that can do my job, for example, and I suspect that that is true for most extremely career-oriented people.
Tall poppy syndrome.

Cut down the tall ones because they create problems for the shorter ones.

Maybe fix your company culture to create norms? If some exceeds those norms so what?
Are pipelines something we invented after the internet? Have we lost the knowledge we used to support infrastructure before the 90s?
Own fab vs outsourced fab. It's significant difference how they calculate the cost. Reducing die size is more serious for AMD but not so much for Intel.
The maximum throughput of Intel's Columbiaville NICs is 100G max. When the 2nd port is used the total bandwidth is split in half, so there will be two 50G links. The 2nd port is usually in stand-by mode when the 1st port is used as a 100G link. So, two active ports on a Intel 100G NIC does not result in 200G throughput.
Here’s the WEF head warning about a “cyber pandemic” that would make COVID look like a minor disturbance: https://www.youtube.com/watch?v=uD6C63ZuDlQ

This is the same group advocating for The Great Reset, and predicting people will “own nothing and be happy”.

It does seem like there is a plan in place for the controlled demolition of industrial society to depopulate the planet and solidify a neo-feudal order of rule by a breakaway elite.
It sounds like your argument boils down to “stop doing things I wouldn’t do?”
Model X Owners Manual October 2020 (2020.44) manual, page 53 -- and the corresponding page in the Model S Owners Manual. Tesla changed the operation of their voice command button around December of 2019. The manual describes two ways to signal a complete command has been vocalized -- but only one truly works. Since the 'update notes' are extremely sparse, there was never a hint in the car's instrument cluster explanation of the update, that Tesla had removed the protocol for invoking the voice commands.

If Tesla will 'forget' to tell you that a feature is removed, or changed, then expect similar behavior around edge conditions for FSD if it ever materializes. For example, a number of different protocols could be added, tried, removed revolving around contention at 4-way stop signs. If the update notes are silent on FSD adopted behavior, a lot of annoyance and potential hazards will be created.
More IQ is better at all levels. There’s no evidence of a threshold effect.

> Can You Ever Be Too Smart for Your Own Good? Comparing Linear and Nonlinear Effects of Cognitive Ability on Life Outcomes

> Despite a long-standing expert consensus about the importance of cognitive ability for life outcomes, contrary views continue to proliferate in scholarly and popular literature. This divergence of beliefs presents an obstacle for evidence- based policymaking and decision-making in a variety of settings. One commonly held idea is that greater cognitive ability does not matter or is actually harmful beyond a certain point (sometimes stated as > 100 or 120 IQ points). We empirically tested these notions using data from four longitudinal, representative cohort studies comprising 48,558 participants in the United States and United Kingdom from 1957 to the present. We found that ability measured in youth has a positive association with most occupational, educational, health, and social outcomes later in life. Most effects were characterized by a moderate to strong linear trend or a practically null effect (mean R2 range = .002–.256). Nearly all nonlinear effects were practically insignificant in magnitude (mean incremental R2 = .001) or were not replicated across cohorts or survey waves. We found no support for any downside to higher ability and no evidence for a threshold beyond which greater scores cease to be beneficial. Thus, greater cognitive ability is generally advantageous—and virtually never detrimental.

https://www.gwern.net/docs/iq/2021-brown.pdf
Maybe I don't understand docker as well as I'd like - but why do you create the named volume instead of simply mapping to a local folder on the host?

In my experience mapping to a local dir is nice because you can browse the files on the host machine and can implement backups etc... quite easily.

When you do a named volume like that, where are the actual files on the host?
Quite insane what lengths an in-group will go to justify their own horrible actions. You could argue that despite the fall of the Ottomans and the war of independence, modern Turks have nothing to do with the perpetrators of this genocide; yet some still deny, deflect and defend.

And here we are, 100+ years later. People around the world, including the Turkish people, rightly so, protesting the occupation of Palestine.

Fighting for progress looking forward sometimes needs reconciling with the past, or at least making way for healing.

It must be a duty onto us all to fight oppression. Whether it be from another or from within.

Thanks for sharing.
As CEO, I worry about the erosion of office culture with more remote work
It shouldn't be non-native, that's the problem. The best apps are always native ones. They make the most of the available APIs, fit in the OS the best both graphically and technically, and are the fastest.

If it has to be cross platform, something like React Native which leverages system controls would be a better approach than flutter which draws its own controls. But even there you will have to deal with a lot of translation due to it being JavaScript.
>Brickwall filters have poor frequency and amplitude accuracy if you are trying to preserve the signal in the passband.

Brickwall filters have the greatest possible frequency accuracy. I think you might be getting filters mixed up with windows - a boxcar window does not have the best frequency accuracy.
The fruit of a strawberry tree is nothing like a strawberry. The skin is made of small, fibrous scales which stick to the tongue and insinuate themselves into every crevice of one's mouth. The flesh is shot through with dozens of hard pips, its texture is mealy like cream of wheat, and the flavor is bland with a hint of sweetness. A strawberry has a very distinctive shape, but the strawberry tree's fruit is a droll spheroid. These enticing looking fruits must be useful for something, right? Well, be careful -- fermenting them produces a lot of wood alcohol, so it requires careful distillation to be safe. To top it off, the strawberry is not properly a berry, but if I'm reading things right, the fruit of a strawberry tree is. About the only thing they have in common is their red color, but thanks to internationalized agriculture, proper strawberries have almost entirely lost that characteristic in favor of a year-round supply.

But if you like those, you should try the berries of haw and ash. They're similar in texture, lack of flavor, and seediness, but their mouthfeel is significantly improved by the lack of scales.
I remembered they used Bulldozer Opteron for VM in early days. It was slow.
my brother in California was gifted a vending machine route by his new Father-in-law, in the 90's. (like a newspaper route in the old days, similar but more independent). It seemed honorable at the time, but the costs did not balance out and I believe it failed due to no-one's fault. Painfully, actually
The US is a super power built on stolen land with stolen labour and stolen IP that really "came into it's own" on a tide of stolen valour post WWII.
I would instead say that if that transaction involves three parties, that's true.

If the transaction is just me and somebody else, we come to an agreement about what we think is the proper value and deliver it or not.

It's when you add a third party that's trying to skim off profit that things go to shit.
This presumes that the amount of work you can do, or money you need to earn, is capped, such as producing x widgets per day, or earning y dollars per day.

Others have already pointed out what an asshole thing this is to say, but I think a more important thing to note about it is that it's simply incorrect. If your income/wealth is directly related to total output, and your capacity isn't capped, then regardless of how good you are at it, doing it 2x as much means 2x the value produced.

I'm good enough at what I do that I never have to work again if I don't want to, but I still work 10+ hours every day because it's fun and I like it, and maybe it would be nice to have a boat one day.
Obviously, the last rocks don't unsmash themselves. However, if someone plans to work 60 hours a week, they might work 9% slower--perhaps even unconsciously--thereby causing their output to be be the same as if they were only supposed to work 55 hours.

This is borne out in data from a British bomb factory during WWI. https://onlinelibrary.wiley.com/doi/epdf/10.1111/ecoj.12166

Figures 1 and 2 (page 2060 and 2061) show that, across four cohorts doing different tasks, output plateaus at about 48 hours/week. Indeed, output from 70 hour week (10 hr/day x 7 days) was slightly lower than a 48 hour week (8 hr/day, with Sunday off). These workers were pretty motivated by the circumstances and doing skilled but not particularly creative work, so I suspect this is likely an upper bound.

There's lots of interesting data about working conditions from the the Health of Munition Workers Committee.
That same incompetent government that was behind Stuxnet?
I don’t think the analogy applies. We are humans, capable of observing the failures of others and making rational decisions to avoid those same failures. The immune system is programmed to react one specific way. For example, we can choose or choose not to go out of our way to get vaccinated. If someone doesn’t get vaccinated and infects a dozen other people and then get really sick themselves, it’s hard for me to have sympathy. Unfortunately here, when there’s an illness, millions of people have private information leaked. This should simply be an unacceptable.
NYSE SEC Rules Delay Request [pdf]
I suppose I’m very naive, but I’m under the impression that they’re the same in the way that that they’re both meant to provide necessary fuel oils to local markets in an efficient way.

And that maybe it would be good to have redundancy, which requires allowing new pipelines to be built. It’s not my fault that that’s somehow a “political issue,” which as far as I can tell means something that your preferred propaganda sources have conditioned you to have an emotional response to that overwhelms any hope of reasoning.
In airplanes, this is dealt with by having an independent system monitoring things.

Think what would happen if the autopilot suddenly went berserk and did a hardover.
Most people will probably be hesitant to post it for obvious reasons here. But it was helpful to me, to find a ransomware url, during the college leak a few weeks ago (https://dorper.me/articles/unileak.aspx) to find out which colleges were impacted because tons of people I know were in it. There are plenty of good reasons to want to have it. But I understand why BBC wouldn't post it...
> Second, the ideal labor cost is $0, aka the ideal state of capitalism.

The labor participants are engaging in capitalism as well; earning $0/hour is not an ideal state for me as a service provider.
I think this sort of mis-identifies the problem: the problem isn’t the wrong abstraction, it’s that later programmers don’t feel free to refactor to a better abstraction. Especially in languages with good refactoring tools (I.e. Java), inlining and refactoring is a much lower cost than the long-term maintenance cost of duplication.