skysight-inc/HackerNews huggingface dataset:
Ask HN: What stack do you use hosting from home?
This appears to be describing a parallel universe. The justice system we have in America today is arcane, strongly favors monied interests, is subject to perverse incentives ("tough on crime" DAs, lack of interest in pursuing crimes against groups without institutional power), frequently produces results that go against the common understanding of what is just, and is generally inaccessible to the most vulnerable people in society.

The idea that this is what "we agreed as a society" is absurd. The justice system is a thing that evolved in our society largely as a result of powerful people feeding it when it protects their interests.
You conveniently omitted all folders with gitignore files.
Can you explain why it isn't? I'm probably misunderstanding something.

setText doesn't change because it's from useState. The only reason to update the Dom is because the onclick function isn't memoized.

Updating the Dom every render isn't terrible but it isn't good.
> It's crazy to me that they pretty much doubled their headcount over the pandemic

Dunno, my impression was that selling stuff online (and thus adverts) went gangbusters over the pandemic, as did social media in general.
Acquired for $213M. That was an expensive side-project. I’m sure Snap investors will appreciate.
Banned parties - eg those promoting fascism - are a thing in Europe. We've learned the hard way what happens if you don't do that.
A thief should still be protected from murder.
The pipeline for musicians on social media is to pay an online source to publish disingenuous articles and Wikipedia entries about them as an artist, and then to use those (purchased) sources for verification. Any artist can get official looking press interviews done on them and then get verified if they are willing to pay for it. Many artists also buy accounts on social media that already come with thousands, and often millions of followers already on them, and then simply change the name on the account to their own artist name. You can also directly pay for verification with any corrupt side-dealing marketer that has access to Twitter, IG, or many other business platforms on those very same social apps.

Thousands of artists do this, they also leverage bots to drive their streaming numbers high to further boost their public impression. The platforms do very little to counter or authenticate this activity because people churning makes them money, and keeps their platforms looking alive, when in truth, it's all pretty much a pit of desperation for popularity with very little realness to it.

Citing all this, there is little value in spending all that money to fake success, most of the artists that engage in it lose money every year, and can rarely perform live as headliners because their audiences would be embarrassingly low (unless they perform at a big festival lined up with many other artists of course). Fakery is even less fulfilling for music artists when you look at the fact that most popular artists are losing a lot of money and time trying to look like they are successful... It also makes having any success as an authentic musician a total washout, as the industry is flooded with all the individuals that are impersonating success, which keeps authentic musicians almost totally out of view.

Until people wake up to how social media coddles the industry of fake credibility, things will get a lot worse. Just imagine fake credibility infiltrating the medical industry (for example), there would be a lot more botched surgeries and diagnoses. Private companies shouldn't serve as the grantor of credibility, they always do it from the perspective of what generates profit, not what generates authenticity.
Another (much more obvious) tip: pictures with people in them are almost always more interesting than pictures of nature/buildings/objects/etc.
It took Linux a couple of decades to get to that point. And it had immense business value in having such a massive infrastructure open for everyone.

For hardware our world is not there yet and won't be for quite a forseeable future.
I was sad to learn that many of my IG stories (and presumably applies to reels too) have broken music links (even though the item is still in the library) . That means I cannot rely on IG to adequately safeguard my memories.
I turned it off on my news site and unfortunately the ratings plummeted. Do you have any advice?
I'm not sure it's "funny af," but I'm glad to hear that you're opposed to them.
> I find this section peculiar. Why does the company have "values"? I though companies were supposed to be looking after the intrests of their shareholders, i.e., profit. Do the shareholders consent to the lost profit being donated to political motives? This broader trend of companies becoming political organizations is terrible, frankly.

This ship has sailed since about 2008: https://en.wikipedia.org/wiki/Environmental,_social,_and_cor...

I would like to see new companies that completely reject the status quo in every way:

- No HR departments

- No virtue signaling whatsoever

- Cubicles are back, no open offices

- Only hire based on competence

- Explicitly prohibit any kind of activism at work

- No politics at work

- No tolerance to anything but work. If you sexually harrass someone, instantly fired.

- No woke HR training (no one watches it, yet no one has the courage to say anything about it)

- No green washing pledges (these are not as effective as public thinks)

I'd sign up for a job there. People need to read 1970's annual reports. They were so amazing.
I have media going back 50 years. A common theme is all of it becomes unreadable after a while - not because the media degrades, but because you can't get a device that can read them (or it becomes very expensive to obtain such a device). Punch cards, paper tape, magtapes, 8" floppies, 5.25" floppies, PC hard drives, cartridge tapes, DECtapes, zip discs, hard drives, etc.

The easiest by far solution is to simply copy them forward to new media once every year. Have an offsite copy.

I don't trust any cloud backup. They can go dark at any time for any reason, you can lose your password, you can get "canceled", a hacker can ransomware it, etc.

I periodically check that ransomware hasn't infected my backups by seeing if an unrelated device, like a media server box, can read the files on it.

I have no faith in "archival quality" media, as if you can't find a device to read it, it's worthless. Have you noticed that computers increasingly don't come with CD drives anymore? Why would anyone want them, since a 64Gb USB stick goes for $6? Soon there will be no way to read those "archival quality" CDs.
How ignorant is it to ignore history from Brechnev to 2020 and just focusing on the last two years?
Dupe from 20 hours ago, 114 points, same article: https://news.ycombinator.com/item?id=32654226
Taking your comment in good faith. Snap has a lot of fluff around it that has questionable value (TV Shows, Games). In a recession the investors like to see that fluff gone because it's harder to raise money.

Snap with 20% of its employees gone is more valuable because it focuses on the business that actually makes money instead of hopeful moonshots. You most likely wouldn't see a large uptick in value if this was an industrial "value" company.
Harassing, doxxing, and swatting random people on social media is not investigative journalism.
I am pretty sure no "prophylactic" to stagger the effect was possible at all. Who has ever heard of replacing parts prior to them hitting their "shelf life"?
Wow, really? I've always thought that Cargo by default forces a package into one particular version. And that a particular package in multiple versions is something people opt into only in rare circumstances (similarly as in Java/Maven/shadowing case).

I'm no Rust expert though.
Knowing some academics, I'm pretty sure my job in the corporate world is significantly more relaxed. Publish or perish! Not saying there aren't compensating factors (though compensation is not one of them), but you know, a word to the wise.
I was hoping for an argument outlining what seemed to be the thesis "Crypto has no future for a simple and irrefutable reason; it is based on logically incoherent ideas and serves no legal purpose." But instead the article takes those assertions as given.
> Perhaps I'm mis-remembering, but I remember US policymakers repeatedly warning Europe, over many decades, about the dangers of depending on Russian energy sources.

The alternative point of view is that Europe is in an energy crisis because it decided to sanction Russia over Ukraine, and Russia responded in kind. The decision to sanction Russia, while morally justifiable, was not strictly necessary and was in part driven by EU's alliance with the US. If the EU had been a really autonomous subject it would have taken in account its own interests first in this crisis.
The law describes DDoS attacks as a felony. The technology makes it such that it's infeasable to prevent DDoS attacks without a centralized entity like cloudflare.
Convert solana program IDL to prisma schema
> 20 percent of its more than 6,400 employees

So ~1280 employees laid off

> Snap said it expects the layoffs, which were first reported by The Verge on Tuesday, to save it $500 million in costs annually.

So $500M / 1280 = $390,625 per employee per year, ~$32,552 per month, wow.
Wow are you still working on int13h? Amazing, you were there 20 years ago.

The real value of graphic artists is not there

I disagree. Take Samwise for example, this guy defined the style of half the video games the past 15 years. There is tremendous value there for an indidual.
Looked at SNAP stock market analysis..

Net Income: -487.96M

Public companies that cannot turn profitability will be under microscope during the 'current/coming' recession. Yanking 20% staff is not going to turn SNAP profitable.
> Have you thought about the reverse side of your argument? Someone falsely accusing you or your persons of insert-your-favorite-harm and then having your life upended by the social justice mob or corporate actions?

I doubt they'd be as happy if sites that host speech critical of MTG were being held responsible for contributing to the three SWATings she had recently, to name the most recent example, but this is too emotional and I think people want the corps to respond because they know that the law is harder to change.
don't share info, it might sound good now (stopping terror attacks etc) but it will snowball into oppressive governments tracking down political 'criminals'. the police will have to find another way to catch terroists.
Just curious, are companies like Snap going out an getting massive loans to facilitate hiring?
> turning what were once agricultural fields into a giant inland lake. It's a shocking transformation

Is the agricultural capacity of this area dependent on periodic flooding, similar to historical patterns of the Nile?
Not just the quantity of extended time, but the quality of that time matters too. Even if life wasn't extended a day but one had greater vigor/vitality/cognition it would still likely be a worthy pursuit.
A bigger question is indexing that content. I would pay good money for a software suite that would let me scan all my old family photos and attach both text and audio. I'd love to sit down with my mother and one-by-one go through them and let her record the story behind them. I don't understand why such a format doesn't exist.
Python Data Visualisation
Recent updates to the base UDM have been noticeably better than before. I don’t know what they’re doing differently but I hope they continue along this trajectory.
Great. Now do the same for API docs.
> what more do you want from the guy?

He's a guy who writes about hacks. He got "hacked". At the very least I am curious to know more of the story.
Almost correct. Things to worry, but not the end of the world neither.
50 years from now, I have little doubt that will be the case, barring serious civilizational decline. But that isn't the sentiment on this page.

Ditto for me regarding being surrounded by creative people. This isn't going to lose them any business any time soon, not even the younger ones five years from now.
When I go to the website of a brick-and-mortar store chain I expect to see some kind of parity between the items listed online and those in store. A lot of stores do this very well-- Target springs to mind as a convenient example. Sure there are some online exclusives, but there's a lot more overlap and you can get a great idea of what you might find in store. Conversely when I've tried to shop on Walmart's site I feel like I'm looking at an Amazon/Aliexpress clone that happens to share a logo with Walmart.
I imagine their businesses are more resilient due to more income streams. Snap is pretty dependent on advertising income. I have no idea what Google's dependence on advertising income is, but I'd assume the ratio is less. Apple has multiple sources of income and I would be surprised to see them do layoffs.

I'm more curious about other companies such as Meta. Especially since Zuckerberg has openly stated there's probably people who shouldn't be there.
>> The drug has been known for a long time but human trials always seems elusive

Human trials of this will likely never happen. At least not publicly.
Let's do it!

There is a biweekly happy hour at the Freehold, Wynwood on Wednesday nights.
True but after I went very low-carb, I found fasting to be much easier when it had always been very hard for me previously. I know it's more complicated than "carbs cause hunger pangs ~8 hrs later" but my N=1 experience sure feels that way.
Haha, I was desperately trying to come up with an 'e' word. That's good enough ;)
> If Cloudflare stopped doing business with Kiwifarms, it wouldn't be online.

Someone said The Daily Stormer and 8Chan are online today.[1] But this would mean Cloudflare can stop doing business with Kiwi Farms without limiting speech.

[1] https://news.ycombinator.com/item?id=32662368
Show HN: Mariabak – a front end CLI for mysqldump with quality of life features
(mysqldump is the default backup tool of MariaDB and MySQL)

I created this script because I often need to make backups of different databases, for various reasons and under different conditions. Manually assembling the mysqldump commands was a bit tedious. mysqldump does its job perfectly, but only the basics, by design. Many things I had to do executing more than one mysqldump command. Now I just need to run mariabak once.

Cool mariabak features:

- With just one command you can backup several databases in different files (mysqldump only dump the backup data, doesn't create files, this is the user's job).

- User can choose tables that he does NOT want to backup (e.g: logs, cache), but preserving the tables' structure (mysqldump has the option of not backup one or more tables, but it does not preserve its structure).

- For each backup a directory with the date and time is created. The directory name format can be configured.

- It backups all the user grants, system variables, system databases and events to separate files (Because it backups the system databases too, the user should be the 'root' or any user with the following permissions on database server: select, show view, lock tables, process, reload, replication client on .).

- For quick query, you have an option for just list the databases.

- Tailored to Linux and Windows.

FAQ:

- "Why the project is just one file?"

I want to make it very portable. The chosen language is interpreted.

- "Why the project is procedural? Why not OOP?"

I want to avoid to have classes in just one file because this would be a mess. I just keep all functions and code well commented.

- "Docker?"

Not yet, but soon.
common sense prevails...
The old adage "you get what you pay for" applies here. Yeah, it's cheaper than buying Meraki, Aruba, Fortinet, etc, but the IDS/IPS on their Dream Machine is awful, logging is awful, reliability of anything but wireless gear is awful, Protect storage equipment is awful...
Cheap money and tons of new opportunities with everyone stuck inside. Social media companies realize how huge the first mover advantage is so they scaled as quickly as possible to take advantage of the pandemic.
> see if it's possible to tolerate living without AC for a while, just like humans did for several thousand years?

Ah, do you have evidence that >65s weren't dying because of heat stress for those thousands of years? That'd be cheering.

Deciding the excess heat often now caused by climate change should be allowed to kill large numbers of the elderly when AC can prevent it is quite a take. I certainly hope everyone holding such a belief does so because they have already eliminated all sources of emissions in their life that are not literally life and death.
Add depth, insight, and research to conversations and stick around for awhile. Send emails or DMs to people who are open to it. It's really just like meeting people anywhere, but your charisma comes through in your writing instead of your speech and appearance.
> The only browser feature we leverage are click events

Do the users want their click events fed into an advertising engine? Did you ask them? If you made this opt-in, how many would say, yes, please track my clicks in order to advertise to me? Even if its anonymized/aggregated.

A huge amount of advertising is enabled by tracking users against their will, exploiting the fact that many users aren't aware of what's going on, don't know how to stop it, or aren't as invested in their preference as the adtech companies are in their revenue. "A man is always right in his own eyes". If you're smart it's easy to justify this stuff to yourself because you're getting paid, but that doesn't make it right.
I trust Krebs so I tossed every piece of my Ubiquiti gear I owned as a result. Ended up with a lesser solution since there isn't a good alternative on the market that would do for me everything Ubiquiti did.
FYI one study shows that rapamycin increases amyloid-beta protein plaques in the brains of mice.

https://neurosciencenews.com/rapamycin-amyloid-beta-20770/
Nuclear inherently should be something the left love.

However the problem is that nuclear power is strongly associated with the cold war and nuclear weapons. It was seen as a way to subsidize nuclear weapons. That never was really true at all.

Also the early environmental movement had a strong 'naturalist' wing (and still does) and nuclear is seen as 'unnatural'. This strongly influenced leftists politics in general.

I would love to learn more about Superphenix and its design, history and the politcs around it but I wasn't able to find much. My French despite 12 years of getting forced to learn it, still sucks.

From a Swiss perspective, its crazy to think a Swiss green politician went and shot the reactor with an RPG.
> a secure cloud storage service that costs hardly anything

Which is...?
Caring about PR is in the interest of shareholders.

If companies had to always maximize short term profits there would be very few companies around.

wrt shareholders for public companies they have a duty not to defraud them[0]; for everything else they are another stakeholder between employees, the public, the company itself as an institution, and other.

[0] For example how Musk had Tesla overpay for the failing SolarCity to save face [1]

[1] https://www.youtube.com/watch?v=GSUQhfYv3wc

[2] https://www.youtube.com/watch?v=aYGgeRxVS_E

[3] https://youtube.com/playlist?list=PL-eVf9RWeoWHFuSgmmpMlMlVf...
> All I am using is some innocent localStorage and IndexedDB to persist user settings

Hrm, isn't this the exact definition of a cookie?
I don't believe that's a power a company like Cloudflare should hold, instead delineating it to the justice system to weed and parse out.
I've found that second-hand small-business or light enterprise printers tend to be far more reliable than consumer level printers.

I have a Dell small-business multi-function color laser and it's run like a champ for about 5 years now, with only one round of toner changes in that time. The only downside is that this particular model doesn't support cardstock or any thicker types of paper (~60lbs cover stock max IIRC).

But that's only been an issue a couple of times in the past.
Have you looked at Alacritty[1]?

Once I adopted tmux, I really enjoyed using Alacritty.

[1] https://github.com/alacritty/alacritty
IAP wherever I can
When you look at the theoretical capabilities of 5G networks and potential first-mover advantages it might matter quite a bit. It also matters from a standpoint of military tech, which given the Taiwan question could make a big difference. Is it the be-all-end-all? No, and perhaps he's overstating it as a factor, but it is a substantial factor economically.

I don't know what talks you've seen or if you've read his latest book, he's brought up quite a bit that Gen-Z is tiny, and that American Millenials only buy the US an extra few decades, and that current millennial fertility rate is extremely low (I've only seen this last point on more recent podcasts, to be fair). We don't get to escape mass-aging, we just get to watch the rest of the developed world go first and hopefully gain better position/draw some lessons on what to do about it.
Looks like snap has $4b in debt, up from around 1 before the pandemic.
Yes, heating consumes a lot of energy. On the other hand, most buildings even in fairly cool climates are absolute sieves when it comes to energy efficiency, mostly because energy has been artificially cheap, historically. It's possible to construct buildings that require very little heating, but of course turning all the existing buildings into Passivhäuser overnight is not really a reasonable proposition.
All of the situations you've mentioned were crimes against humanity. One day Americans will realise that. But those wars are over, while the Rashist invasion is taking place as we speak. Also, look at the scale: Russians killed over hundred thousand civilians in Mariupol alone.
The whole point of my comment is that I don't think it is easy. It'd be great, but it certainly isn't easy.

If they get rid of Kiwi Farms, ultimately it's not going to fix the problem. They're going to find a new, harder to harass vendor for CDN. Cloudflare's detractors are going to find a new website to talk about.

If you're talking about all websites that do this kind of thing, I have my doubts about how this would look in practice. Take down websites that use hate speech? Work to debunk hateful myths would likely get caught in that. Suspend websites that get X number of reports? Congrats, you've given botnets a far more effective tool for DDOS. Don't suspend those websites until a human analyzes them? That'd be ideal, although it seems like that's the system they have. Those humans appear to be instructed to only intervene when Cloudflare itself is the one causing harm. Kiwi Farms is hosted elsewhere using Cloudflare as a CDN.
All your comments are one or two sentences- I'd say you're specifically trying to avoid discussion then.

Also, I'd say your comment was a lot of words to say nothing, while OP was having a good faith discussion.

Maybe try responding in good faith instead of snark and pettiness, or at the very least have a cogent argument other than 'I disagree so go away'.
All the time during the cold war the rather close economic ties between the west and the USSR (grain, gas...) helped to keep communication channels open and reduce the risk of the cold war turning into a hot one in Europe. Not seeing this is quite, well, short sighted.
Anyone seen using Instagram automatically becomes dead to me until proven otherwise.
I don't know what you're asking, but my reply isn't ideologically specific. It applies just as well to liberals. I'm specifically not saying either side is more tribal; I'm saying that we have cognitive biases that make us sensitive to corrections of opinions we agree with, and insensitive to corrections of opinions we disagree with.