skysight-inc/HackerNews huggingface dataset:
Just trying this line of thought on for size, let me know what you think:

We could probably just charge tobacco companies the full future medical expenses (including pain, suffering and years of life lost) of any minors that smoke menthol cigarettes when there was advertising or product availability in that child's area.

We have good historical/statistical data for these costs so as a starting point we could charge the tobacco companies up front based off the known stats and put it into a medical fund instead of having to survey individual children.

Why?

Because children aren't responsible for being idiots with poor executive function.

and

Parents who lock their children up to fully protect their kids from the outside world are bad parents (right?)

If parents are solely responsible (the children can't be) than we might as well start sending parents to jail when their kids look at pornography and skip to the point where all parents are in jail or fined into poverty.

Children push boundaries, any industry that manufacturers, targets and profits off of exploiting the nature and developmental stages of children with purely recreational addictive carcinogens should pay the full externalized cost.

Part of respecting children is knowing that they can be extremely smart and their ideas have just as much validity as any adults but their ability to calculate and process the implications of risk is under developed.

That way everyone is treated like an adult who is an adult (companies are run by large groups of adults who know what eggs they are cracking to make their omelet, certainly they do in this case), no nannie state intervention, and importantly, no unpayed externalized costs for our larger society to pay while a small portion of other adults profit.
Now there’s a swing and a miss.

Put up, or shut up.
But, please, the word empire is so … British … or Roman … certainly nothing we are.
> Blaming social media is not legitimate in my opinion; social media will be what fixes this. The fix to the USA falling apart is free and open discussions between the camps. This is what Elon is planning to do with twitter.

I’m skeptical that he can fundamentally change the incentives that make social media amplify extremist views over moderate views. “The other side is terrible” will always get more engagement than “we should work together”, even with validated identities.
Virtual Flossie – The National Museum of Computing
Sure, maybe "ugly" is not the best term here. The fact is, the "short" URL you provided is still 74 characters long, while a line in a well-typeset paper is usually 70-80 charecters long. Plus, username and repo in the example are pretty short ("torvalds"+"linux"=13 characters), which is not always the case. So these URLs are definitely hard to put on paper in an aesthetically pleasing way.

> There's all info in the url that you even can use in the future if GitHub ever goes away.

GitHub could maintain a .git_io file (or whatever) in the repository with the short->long URL mapping, for instance. So, the info would survive GitHub.
I believe in Norway or Finland they have tiered fines based on income level to counter that, specifically for driving fines I believe, which seems like another option (although a hard one to do for a consumer product not sold in government stores... maybe tobacco shops will go the way of alcohol shops becoming government run in some states)
Given similar delays & huge cost overruns in france, is nuclear power even viable? I feel we kinda reached the point where we nog longer are capable of completing such projects OR they are just hugely under-estimated due to lobbyist pressure or something? Or is it a mere coincidence and are there any project that have been completed somewhat within budget and on schedule?

Anyway, if this is the norm, nuclear is not going to be the solution to become less dependent on oil if you ask me.
No one told you to ignore them. Why is that the action you default to when you're told that screaming at them, hitting them, etc results in a negative outcome?
I sort of wish the precomputed template string was just a hard coded string literal. There's a lot of code dedicated to that, and you only need to understand the output it computes.

Other than that, I think the python code is quite readable and understandable with the context provided in the post.

Very well written post!
.. before "EarthShine" or after?
No there aren't. Do you suggest setting up nginx on one machine as a reverse proxy to the long link the second machine can access? Many ways for sure but typing out a few letters is the easiest. I do this for regular desktops but I do it more on headless machines or when installing an OS.
It's barely going to make a dent in your energy budget, if you use 4 kW/day running a 500W computer for 8 hours (assuming it's pegged at 100% CPU and GPU continuously, which it's not), that's the same as driving 5 miles or as turning down your A/C by 2 degrees.
>Being more hard working and more intelligent than the competition won't get you very far in anything except purely practical work.

Ouch, I really felt that.
I remember a friend in my dorm playing Lugaru back in 2008, it was such a fantastic game back for the time! I still vividly remember the looping soundtrack and the fight effects. Thanks to the team for making sure this little piece of digital history is remembered!
> Consider a very large tree of objects which are referenced through a single root node

That's predictable and can be planned for: You can hold onto the reference until you get to a point where the pause is acceptable.

You can't do that in a garbage collected language, because you have no control over when the garbage collector will pause. (In theory your application can explicitly trigger a garbage collection, but in practice such behavior is discouraged.)
Idiocracy was, I feel, a prediction. An optimistic one, we wont need 500 years.
> big problems

> so now instead of an FDA intervention you're relying on Congress to do something

Yes, that's the entire point of our system of government. We are not governed by executive dictate, rather by laws created by elected representatives beholden to their constituents. This is not a "big problem," it is a cornerstone for preventing your rights from being trampled upon. The straw man you write about your local state doing this is something you invented in your head.
On The Media did a great segment about remote work and office design last week:
https://www.wnycstudios.org/podcasts/otm/segments/promise-an...

I'm in a situation right now where my office is near by and open, but attendance is mostly optional and ad hoc. I find that days when I have lots of meetings are the best days to WFH because it's so much easier to talk over Zoom and not have to rush back and forth to meeting rooms. Having a chat window secondary to the out loud talking is also invaluable. The in-person situation is most valuable when I'm working on some tactical problem (ie coding) and want a second set of eyes or just to complain for a minute. It can be done over Slack, but it's less natural.
Neither Google, Bing, DDG or Yandex does it. They probably get rough location from GeoIP. If you use private browsing, this is extremely annoying, every session you have to click "block".
> And they complain of being trapped in jobs that don’t make good use of their skills. Liz Alanna, who holds a bachelor’s in music education and a master’s in opera performance, began working at Starbucks while auditioning for music productions in the early 2010s.

The function of our economy is distributed decision making. Society is collectively saying we value coffee more than opera.
I don't follow your argument but my use cases are always short lived (<24h).
You then have two different languages. Its not a trivial decision to simply "leak" memory as you are saying. What happens with files? Do you corrupt the files? Do you not close TCP connections?

What you are proposing is to Rust to have two languages inside the same compiler. I guarantee you people would simply put debug builds in production if they could "turnoff" the borrow checker like you are proposing.
Technically speaking, yes [1].

[1] https://en.wikipedia.org/wiki/Entropy
What argument?
You're calling things millions of people use useless, you're calling things that have actual value that you can trade for other vlauable things valueless. Where is the argument? As far as I understand it you're just making things up.
You could ask around the indieweb irc, https://chat.indieweb.org/ Some of the people there have messed around with syndicating to ActivityPub. I think one of them maintains a Wordpress activitypub plugin
> But, please, the word empire is so … British … or Roman … certainly nothing we are.

Not for this reason, at least, because it's not an occupying force. If the Italians asked the garrison to leave, it wouldn't go to war to stay.
It's really not an exorbitant amount of money, but even if he had it it seems unlikely he kept it in a savings account on Swedbank.
Parallel History? :)
Circa 1968:

"For fun, he [Moore] also wrote a version of Spacewar, an early video game, and converted his Algol Chess program into the new language, now (for the first time) called FORTH. He was impressed by how much simpler it became.

The name FORTH was intended to suggest software for the fourth (next) generation computers, which Moore saw as being characterized by distributed small computers."

https://www.forth.com/resources/forth-programming-language/
Because higher prices on more elastic products, especially for price constrained consumers like youth and lower income people, are correlated with decreased usage of such products. https://www.tobaccofreekids.org/assets/factsheets/0146.pdf
The symmetry of the waveform can be exploited for additional precision for a similar memory and computational footprint. Make the 256-entry LUT of half of a sine lobe rather than a full period then do some bookkeeping to track where in the period you are for reflections of LUT index and y value.

Example (1-indexed):

f = 1000;
tPer = 1 / f;
ts = 1 / 48000;
LUT = int16( 2^15 * sinpi( (1:256) / 256 / 2 ) );

t = 0;
while true
t = mod( t + ts, tPer);
i = uint16( floor( t * f * 1024 ) );

if i <= 256
y = LUT(i);
elseif i <= 512
y = LUT(257-mod(i,257));
elseif i <= 768
y = -LUT(mod(i,257));
else
y = -LUT(257-mod(i,257));
end
end

I left out interpolation to keep the concept highlighted.

Unsurprisingly: it's faster and more accurate to skip the LUT when using MATLAB. It's faster still to use vectors and batched function calls.
just don't drive (tm)
> Behavioral science suggests that punishment is the worst way of teaching any human to behave. Even just ignoring bad behavior is better.

Citation? And is this actually reproducible?

By default I don’t trust any social / behavioral science study. The field is broken.
Missing Manuals – io_uring worker pool [video]
Or you can just wait for the next stop and get on there.
If you ask me, humanity could really use some unifying influence right about now, for example to help tackle the issue of climate change...
> You claim to be more hard working and intelligent than him

Dude, intelligence is not nearly as useful in this world as we are made to believe.

And, you say you are smarter than him? That automatically makes it so that I would never want to work under you. People that tend to waste cycles on comparing their intelligence to others tend to be insufferable, egotistical, and boring. (To say nothing of the fact that intelligence is largely incomparable.)

Management need people that make good, obedient little minions for upper management. Who can make their bosses look good while simultaneously shielding the team from them. You don't have to be 'intelligent' to do that, in fact it might make the job harder.

> I feel incredibly stupid. I am losing confidence in making good decisions.

Why you gotta be so extra about it? You lost out. Big deal. Pick yourself up and move on to the next opportunity.
Yeah, imagine the comments if this was the Russian or Chinese army. People would point it out for what it is, pure propaganda.
I wish that tools which remove unnecessary information from URLs were more popular than traditional URL "shorteners".

For example, if I go to some random product page on Amazon, the link looks something like this:

https://www.amazon.com/Really-Long-Product-Name/dp/PRODUCTID/?_encoding=UTF8&pd_rd_w=garbage&pf_rd_p=long-garbage-value-that-doesnt-matter-to-the-user&pf_rd_r=MORELONGGARBAGE&pd_rd_r=another-really-long-garbage-value&pd_rd_wg=garbage&ref_=even_more_garbage&th=1

That link looks ridiculous and isn't suited for sharing in many situations. For most people, this is the link they really want:

https://www.amazon.com/dp/PRODUCTID/

I know there are tools out there that can shorten URLs like that. I used to have a browser extension which did exactly that. It doesn't work for everything, but at least your link wont die because a third-party service shut down or messed up.
I wish I can compile pandas
You simply cannot avoid many of the individual cognitive biases (https://en.wikipedia.org/wiki/List_of_cognitive_biases); they are hard-wired into our biological systems over centuries of evolution and operate unconsciously. Thus the need to mitigate their effects by conscious technique and process.
Sometimes I code:

{
MyObject obj = new MyObject(); // Make an empty but non-null thing
... do stuff
obj = new MyObject("real data");
}

This would be bad in C++ of course, but in a GC language it avoids nulls.
>If a man in line behind you at the convenience store buys a lottery ticket and wins a million dollars, do you kick yourself for not buying that ticket when it was your turn in line?

That's a very nice analogy - is it something you came up with ? (I am going to steal it so I would like to know who I'm stealing from :) )
It doesn't stop people from making their own menthol cigarettes. It just stops companies from profiting from killing people with them.
> Only one of the ones I know well involved a person actually dying, but quite a few where people were "roughed up" and are now disabled.

Pardon my language, but what the fuck? You honestly have "quite a few" stories about people being physically assaulted because they were bad references?
That's my feeling as well. Go Woke Go Mentally Broke.
Documentation as Practical Empathy (2019)
Execution is harder than you think.

1. Ideas alone can get funded, but only when pitched by entrepreneurs who have done it before. e.g. the last idea-stage company I invested in was a new crm company pitched by an entrepreneur who had already built a huge successful crm company once before.

2. For the rest of us, you have to show you can execute by building a team, some technology, and demonstrating customer traction.

For any given idea, you have to assume that 10 other people have thought of it, so why are you special?
I'm using

restic -r sftp:<backupserver>:<repo> --password-command="pass mybackup" backup <folders_to_backup>

https://restic.readthedocs.io/en/latest/
Almost funny how I find myself disagreeing with almost every single advice on the list.
I've had similar experiences to what's been offered in other posts. Getting off the SD card and onto external storage is essential. The machine is almost useable, chromium lags a bit, but for other tasks on the CLI, it's quite efficient. I've had great luck using docker and postgresql and using the RPi 4 as a dedicated SQL server that my work laptop throws queries at.

Has anyone tried working with CM4 and it's on-board eMMC as a daily driver? I imagine some of the bulkiness of having to lug around an external drive for the OS might be solved this way. But I've not tried it.
Any other recommendations of Wind instruments?
You're telling me that the reason sweatshops were designed around open floor plans had nothing to do with facilitating serendipitous interactions?! :O
constexpr auto nil = std::nullopt. I was on an iPad. :)
If they're so keen on banning specific flavors of cigarette, why not ban them entirely?
Parents have strong opinions, but I suggest the following exercise.

Observe parents with their children. But instead of focusing on the kid throwing tantrum or one listening to their parent, focus on the parents. See what their approach is, how much attention they give to the kid and in what way they treat them - not just when handling the difficult situation.

Kids are very different and definitely not rational. But if you spend some time doing the above, you can't help but notice some patterns. Some are genetics, sure, but I'm talking about their approach to the kid, this is something that's up to them.

Also, there are many books compiling data from papers about both short and long term results of different parenting approaches. Specific approaches offered in books differ, but data, especially long term studies, is pretty consistent.

Of course everything depends on your optimization function. One may choose kid's depression in later life over feeling embarrassed at Wendys ;) But more seriously, it really does depend what you want to achieve. You may want your kids to be happy, altruistic, empathetic, hard working, clever successful, well behaved, social, open minded or creative. These are different things, parts of them conflicting with one another, you can't have them all. I think this is a big part of the reason why there are so many disagreements about parenting.
> compensation for the loss of land value is not morally required. The typical landowner has been receiving an implicit subsidy from the government, as public goods generate higher rent and land value. One could argue that justice requires the title holder to pay back the past subsidies

This is an absurd standpoint. You're going to ask 64.8% of the population that own homes, a quarter of who are nearing retirement age, to pay back what for all intents and purposes is their retirement fund? If you want to talk about morals and ethics this is clearly an immoral position. Even if we consider the assumption that the increase in value of their property is some form of subsidy, they entered into this contract in good faith as a way to provide for themselves and their families as they age and eventually retire or are no longer able to do productive work from which they can earn a living. To strip them of this and say with a hand wave that they were in the wrong for thinking that a system of ownership, that has existed for hundreds of years and was generally agreed upon by the vast majority of society, would continue to exist and that they would benefit from by lawfully participating in it... I honestly can't imagine you or anyone saying this to someones face, it's just baffling. It's on par with demanding collectivization at the expense of landowners and it would probably have the same consequences.
Nothing lasts forever, and we have been on the downturn of the civilization for the last hundred years or so. This is merely the time when we started running out of the reserves that our ancestors had secured us, and thus problems started becoming apparent.
Sounds a lot like crypto to me.
Your answer is that these exact issues have been studied for >50 years, and had reasonable answers back then: http://moltensalt.org/references/static/downloads/pdf/ORNL-T...

Almost all largely workable decades ago before we had e.g. laser welding, modern remote welding, industrial robots, etc. Of course things are better now. (Also, of course, we'd have to learn a lot operationally to actually do it).

Still, obviously these are procedures one would like to not have to employ, as they're likely to be very expensive and troublesome. They provided ample fuel for your concern trolling while I slept and couldn't answer, though, and then for you to "conclude" that there was no answer because the person answering in my stead didn't offer one. Yuck.
Not having to work to be able to live.

I love to work, to develop new stuff etc... But the pressure of being required to make some profit so I can pay rent, food, water, heat, etc... just takes almost all the fun out of it. If we could live in some utopia where every fundamental needs would be fulfilled, I am 100% certain my procrastination and my anxiety would just go away.
My toddler has learned how to use a stool, and it has given me a new deep and profound sympathy for G-d in the story.
Digital Berlin wall: How the German prototype for online censorship went global
My point is that lekevicius is correct that they're a terrible idea for long term use. If you're only using the shortened URL for a day, the downside/risk is a lot smaller.
Email? DM? Text message? AirDrop?
People would still smoke normal cigarettes, in the groups I was in during college nobody smoked menthols but they certainly had opinions about cigarettes, including the manufacturing location of even the same brand.

The world needs to come to a decision of the side-effects of cigarettes are something we're willing to accept. We've already made that decision on alcohol, though arguably its effects are more closely tied to the moment of consumption.
I wasn't seminal. All the things in the list were already being done, someone just wrote down what they thought were best practices. Some of the things in the list are widely viewed as bad advice (e.g. using environment variables).
Randal Schwartz's Learning Perl (O'Reilly) also deserves mention here. It was fantastic--exactly what an introductory book for a smart audience should be. It had examples; it was informative and very clear; and it was succinct.

For the most recent editions of Learning Perl, Randal Schwartz has been joined by brian d foy and Tom Phoenix. I suspect that those editions are good, too, but I haven't checked them out.

It's instructive to compare Learning Perl, which was (I think) under 300 pages in its early editions, to Learning Python, which is nearly 1600 pages long in its fifth edition. There's a lot of value in the longer book---but these two books exemplify very different ideas about what an intro book should be.
Yeah I get that, the same reason why I question some of the teams I've been on choice of JS frameworks, it's just what the developers were familiar with.

Go compiles so fast and reads cleaner imo, that I never saw the benefit of python. I always thought debugging python was clunky, could be unfamiliarity with interpreted languages. Also a few times I needed to use an ODBC driver with python left a bad taste in my mouth. But overall I get what you're saying, my new team writes all of their lambdas in python so I'm going to have to learn.
Pretty cool. More companies should get inspired by this, especially the big corporate boys.
> The fix to the USA falling apart is free and open discussions between the camps. This is what Elon is planning to do with twitter.

Nice, now you just have to convince the MAGA Republican and the BLM Democrat to have an open discussion, when each of them prefers to listen to their own social bubble. Good luck with that...
Which if I am reading your comment correctly, would be better described as a criticism of bubbles. A bubble is distinct from a scam or ponzi. It is also unrelated to the quote I posted.

Individuals who wish to transact in cryptocurrency or any other asset you do not value are not involved in a scam, simply because you do not value that asset. They have their own ends which we may not appreciate.
I think we come from different directions...
> Much like schools double as a day care for children, work often doubles as a social club for adults.

So what? 2 birds with one stone and all.
That's bad in Java too: http://thecodelesscode.com/case/115