skysight-inc/HackerNews huggingface dataset:
> (i.e., file might be missing, remember to check)

There is no point to performing an existence check of a file before opening it, because regardless of whether the check returns true or not, you still have to handle the error cases from `FileOpen`, because the file might have disappeared[1] between the call to `FileExists` and the subsequent `FileOpen`.

If you have to always handle a return of `FileDoesntExist` when performing `FileOpen`, there's literally no point in checking beforehand.

[1] Even if it didn't, there's a myriad of other errors that can happen when opening the file, such as `PermissionDenied`, `FileLocked`, `IsDirectory`, etc ... and you need to handle every single one of them! You don't necessarily have to handle them individually, you can handle them as a group like in the pseudocode below, but it still makes the call to `FileExists` pointless.

if (err == FileOpen(someFileName)) {
handleFileError (err);
}
Unfortunately such a tax would be limited by prop 13 in California.

While the proposals here can be implemented on a local level, any change to prop 13 would be a state level ballot proposition.

(For the record, I'd love to see reform of prop 13. While I love the idea of smoothing out over a number of years the impact of sudden inflation or increases in local housing prices on existing residents, it should be a smoothing rather than an entitlement for long term owners of multi-million dollar homes to avoid property taxes.)
Altermagnetic lifting of Kramers spin degeneracy
>This is from November 2023 prior to Sora.

Before I would have said we have plenty more to do before A.I takes over. And a.i ( Assisted Intelligence ) would aid those creative process. So it will be 50% job cut in the near 10-15 years, while the other 50% being basically double as effective if not more.

After Sora I think future is quite bleak for a lot of artist. Sora is like 80% there, I think we would be 90% there in 2 years time with 5-10x more GPGPU power training. And in 6 years time 95% there by 2030. Even if it didn't eliminate 90% of job but 80%. The redundancy would mean the job market is flooded with animators and their salary will likely stagnant if not fall.

At the same time I finally understand why Nvidia is worth so much.
Why hate yourself? Violence is a part that makes us human. Without it we are not human If we will not learn to control it, we will die. But in the end everything does.
Also, being prepared is important.
Si vis pacem, parabellum.
Playing with LLMs like this always makes me feel like one of those Westworld engineers. Especially when I ask LLMs to roleplay. It also kind of freaks me out sometimes
Public debt, as a share of GDP, peaked at the end of World War II and then gradually declined until the Reagan tax cuts of the 1980s, which led to record deficits. Since then, the debt-to-GDP ratio has steadily risen, almost reaching its 1946 record in 2020. Only during the period 1996-2000, under President Bill Clinton, did this trend temporarily reverse.

~ America’s Mythical Fiscal Conservatives (2023)

and numerous other pieces from across the US spectrum

Unfortunately, what Republicans really represent – implausible spending cuts, poorly targeted tax cuts, and empty threats to push the US into default unless IRS funding is cut – can only make the long-term fiscal outlook worse.

Reality tends to run counter to many libertarian talking points.
I think you are reading far too much into their comment. I agree that their comment could have benefited from some elaboration but the simple act of them expressing their opinion (especially one that is not seen in the rest of the thread, as of my writing this comment) is a "helpful contribution to the debate", in my opinion.
Decidim: OSS digital platform for citizen participation
I too am sometimes guided by the beauty of our weapons.

(Though to be honest: usually I'm just guided by the beauty of our tools...)
If a developer is replacing a 2 story, 20 unit building with 20 parking spots with a new 5 story, 50 unit building, they shouldn’t be able to have more than 25 parking spots, as that is already a net increase from the status quo and will thereby increase traffic and congestion (the street isn’t getting wider…). The logical fallacy here is that it assumes those 25 units without a spot won’t just street park.
(eclipse+pydev - for the IDE part) + mypy (better dmypy for performance) + ruff (both as linter and as formatter) is the way I go.

an in my pyproject I set the strict mode for mypy, and almost all rules for rust with extend-select
Profiling Dune Builds
> Why the hell would the (hypothetical) attacker lose precious time doing something like that.

Because it’s probably kids messing around.
Given no other context, it's not very helpful
Edit pinned comment across 1000s of YT videos on your channel without 3rd party?
I am sure we have all ran into this problem. Let's say you have a YouTube channel where you post regularly. It has 100s or even 1000s of videos. How do you manage changing the pinned comment across all these videos every once in a while without using 3rd party products like TubeBuddy. Is there a bash script or a programmatic API that you are aware of which can handle this? What are you guys doing on your end?
An Anarchist Programme by Errico Malatesta
The whole thing is a fraud to capture (no pun intended) markets...and put meters on what was once free.
I was with you until "Likely submerged it in water and it was all over". Flagship phones and watches have been waterproof for many years now. I use my iphone and my apple watch in both the pool and the shower regularly with no issues
Very convenient forgetting the invasion and destruction of Libya - a state that had free education & healthcare along with free household electricity. This was carried out under Obama, btw. You should personally ask native Libyan's what they think of the invasion - not the U.S. state department.

I suppose you will say the U.S became the "good guys" only under the Trump administration ? I suppose all the targeting and intelligence advice and weapons given to the Saudi's for bombing Yemen weddings were for "freedom" and thus completely justified ?

My positions/opinions are not based from Putin - but from middle-east citizens who have faced the brunt of American warfare. But the general tendency of war-loving American neocons/neo-liberals who wish to deliver "freedom" by War is to always blame Putin Propaganda when a citizen not of the NATO sphere holds a position opposed to their own. The U.S. are the real masters of propaganda- the Russians are a laughable footnote.
Also for the investigative journalism behind this recent bunch of reports in the news (linked from the article on CBS as well):

https://file770.com/the-2023-hugo-awards-a-report-on-censors...

I can recommend that report to anyone interested in digging a little deeper, and reading about the possible solutions entertained to prevent this in the future.

And a view from one well-known sci-fi author:

https://whatever.scalzi.com/2024/02/15/the-2023-hugo-fraud-a...
Why would a homeless person want to live in a low density area? The solution to homelessness being more housing which means increased density has nothing to do with homeless people preferring to live in dense areas.
Meh, tailwind is the most maintainable and easy to understand way of doing style I've experienced (from solo to massive teams). Been doing this for around 13 years, so plenty of time to try a lot of flavors of styling.

I'm so glad I no longer have to wonder what primary means, let alone the other weird names people come up with for classes.

And if you don't want to see the classes, just write it out into a reusable component called PrimaryButton, if that floats your boat.
Aging Is No Blessing
The "representation" in "representation theory" that the wikipedia article refers to is a term of art, referring to a class of one-to-one maps between groups (sets endowed with a binary operation with specific properties) and square matrices, in such a way that matrix multiplication preserves the properties of this binary operation between the original group elements being mapped to matrices. There is no mention of this sort of algebraic operation whatsoever in the paper you have linked, which, as far as I can tell, uses the word "representation" only in a nontechnical descriptive sense. I believe you might be misunderstanding the nature of this breakthrough.
> Yet attempts to increase health and lifespan have been successful in nearly every animal studied so far. In a 1993 study, changing just one gene (daf-2, a pathway humans share) in C. Elegans worms doubled their lifespan. Changing one additional gene (rsks-1) resulted in a five-fold lifespan increase—the equivalent of a 400-year-old human. In mammalian models, approaches like inhibiting mTOR activity or eliminating senescent cells often result in increased function and median survival rates.

> Technologies like genome engineering for polygenic conditions may be decades away from safety, and a long list of scientific and technological bottlenecks remain underfunded. In addition, because clinical trials for multiple disease indications are also costly, lengthy, and prone to false-fails, the effects of existing therapeutics on human aging remain largely speculative.
It’s a pleasure to see western media writing Kyiv correctly, not as it was before, the incorrect Russian spelling you might encounter everywhere.

It took time for masses to learn, but it feels more widespread now than it was just two years ago. I personally participated in online comments to draw attention to the issue and telling to English-speaking communities that its correct spelling matters to Ukrainians. There will be people who will widespread the ‘who cares, it was Kiev since a gazillion years ago’ Russian narrative— but it matters to many Ukrainians, and it’s a part of their fight for their independence and a sovereign country they have.

So thank you everyone who uses the correct spelling as well. That way you also help Ukraine to fight for its freedom.

Source: I have a Ukrainian wife and we live in Ukraine since a few years before the invasion.
Carbon capture is for fossil fuel industry what recycling is for plastic industry. Everyone knows it doesn’t work and we still keep trying.
Was expecting to find a project where you add switch behind a book and "clicking" it opens up secret entrance behind the bookshelf, but this is also very cool.
Only one person reported the spam call in that thread, the Marcus-II commenter. Their comment shows up twice in the first page and once on the second page. No one else mentions the spam call.
The baseband processor is entirely separate, with some basic commands and responses communicated from the phone's CPU to the baseband, so even this explanation is suspect.
heyo- i made https://www.cutestrap.com/ and even though i haven't been using it much anymore, i share it to say I've thought a lot about CSS and I agree with your sentiments.

I think a lot of the complexity in CSS is accepted because of complexity in other parts of the stack. I've dug pretty deep into real-world use cases of many approaches to front end and ultimately, tailwind solves the #1 issue people encounter daily.

Fear Of Breaking Something Else Entirely

by never leaving the html tag for a secondary resource, confidence today is gained at the cost of future compound complexity.

as someone that specializes in design systems, tailwind breaks my heart because it it fairly reductive in expression. Truly white-labeling a product is not as simple as changing variables, it is more like a zen garden of css.
"You have become the very thing you swore to destroy."
I dislike the use of the world “offending” in the context of nation-stakes; it conjures this air of innocence around the state is if their primary failing is one of being overly sensitive.

A better albeit wordy phrasing would be “for fear of invoking retribution from China as a consequence of not conforming to their authoritarian desires”.
I wonder why most of the comments take it very casually and say may be issue with digitizer/ghost touch. Had it been any other OEM, this would have been such a big issue with anecdotes of why people trust apple products.
I think this is true for anyone in a situation in which making positive change works against short term interests. That excessive positivity encouraged in discourse around addiction is quite corrosive and misguided.

We certainly shouldn't shame people suffering from addiction. No one would choose that life if they knew what was coming or if they had sufficient control at any given moment. We also shouldn't pretend it isn't normal, because addiction is extremely common.

Yet it's ironically unkind to encourage someone, in any shape or form, to consider their addiction acceptable on any level. It's purely only welcoming death into life and burdening the world around you. It's a net loss and nothing more. To accept anything about it is absurd. Yes, accept the person and their shortcomings, but don't pretend the state of their life, especially contrasted with their potential, is anything like acceptable.

The hard thing here is that this kind of engagement and narrative arguably demands a lot more support than we're willing to give people. Telling them it's okay and giving them safe sites and supplies is a lot easier if it's financially viable. This sort of calculus, in my opinion, is a major cause of the tear in the social fabric which has lead to such widespread suffering in an unprecedentedly rich society where you might otherwise intuitively expect addiction to be eradicated. We're eager to invest financially before we do so emotionally or spiritually.
I can’t tell if his comments came before or after the latest OpenAI product announcement shoeing off what looks like generative video.
MIT researchers demonstrate rapid liquid metal 3D printing technique
Try liraglutide or semaglutide. You won’t think about food anymore.
My main use case would be when I'm not working from my desk but in a coworking space or from a hotel or something like that. But if it works really well, i could also see myself replace the monitor at home completely.
you absolutely can recycle some plastics. hdpe, ldpe, eps to name a few. doesnt mean they are good, or we should keep using them. but you are wrong in general
Replika app is Russian spyware (in Finnish)
A finnish journalist uncovers that Replika AI assistant is made by company of Russian emigrant who has close ties to Putin. The company is a front that appears as US entity, but is actually operated from Moscow.
Depends on the nature of the data and the requirements, can be every hour or once a day.

Most people and organizations have small/mid data and most of all slow data: you do not need fresh data every hour. If you do, you need a way heavier real time analytics data
But that internet connection is usually shared between many devices. Kids watching their youtubes, wife catching up on her tv shows, washing machine uploading gigabytes of data to some unknown remote server.
It's possible that thinner kapton tape would be easier to cut into a narrow sliver and place over a pin, while having the card still fit in the socket without being too thick?
You're thinking of the Centralia fire:

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

"The Centralia mine fire is a coal-seam fire which has been burning in the labyrinth of abandoned coal mines underneath the borough of Centralia, Pennsylvania, United States, since at least May 27, 1962. Its original cause and start date are still a matter of debate. It is burning at depths of up to 300 ft (90 m) over an 8 mi (13 km) stretch of 3,700 acres (15 km2).[4] At its current rate, it could continue to burn for over 250 years."
Why eclipse and pydev? It is a lot slower than vs code
I suppose that the reason for the picture may be that obesity is the form of unhealthiness that can be instantly seen just by looking at someone.

Many other forms are either not visible externally or they may be noticed only when someone has to perform some physical task, like running or lifting something.
Isn't that a specialization of BPE for specific distribution? BPE is essentially a data compression scheme that constructs a straight-line grammar (SLG) that can be directly used as a model encoding, and it is hardly surprising that any other SLG would work well for some other inputs.
io_uring has produced many security problems. Google has found it necessary to either completely forego io_uring or severely limit its use to trusted code[1]. This policy includes Chrome OS, Android and Google Cloud. Docker has also blocked io_uring syscalls (by default) from being called by containers for the same reason and, although they've flip flopped on this at least once, I believe io_uring is currently blocked.

This is highly disappointing to me, but also not surprising given the nature of io_uring. Solving it will require more design rigor, probably some performance compromises and possibly some degree of formal validation.

[1] https://www.phoronix.com/news/Google-Restricting-IO_uring
This is really really really old news.
Is there a license that only requires mentioning? Like exactly CC-BY but for code?

I'm in a similar position as the post. I make scripts and tools that I want to share online for anyone to use. I would like to allow everyone unrestricted access to it, but only if there is a mention and a link to the original page in a user-visible place.

You want to use the tool? Go on, but mention me as the author.
You want to modify the tool privately for your own purposes and use it on your company? Go on, but mention me as the original author.
You want to take the tool, include ads, and sell it? Go on, but mention me as the author.

This is due to past experiences with people taking my scripts and just reuploading saying they made it. I only want to be credited as the original author, that's it (and for the third example, the ad-filled copy, my idea is that if you get money from my work that's...ok, but only if you let people know where you got it to (so they can decide if they prefer the free original or yours).

MIT only requires to keep the license file, but from my understanding it's just a file that users may not even see.
GPL (and AGPL) requires you to share your modifications, which is a restriction I don't really care.

CC-BY is the closest to it (in fact I think is exactly what I'm asking for) but for some reason it is not advised to be used on code...
Modern software is bad enough that I wouldn't be surprised if this is true, but the modern stock marked is also detached from reality enough, that I wouldn't be surprised if this was an attempt at market manipulation either.
Apparently that one isn't quite so clear cut. At least in the case of LNG, its greenhouse gas emmissions are pretty awful when you look at how much methane leaks out into the atmosphere (e.g. during processing and transport). At least with coal, it's unlikely to end up in the atmosphere unless its burnt.

Liquefying and transporting natural gas across an ocean by ship seems like a pretty stupid thing to do. But here we are, doing just that.
> It is generally a good practice to not expose your primary keys to the external world. This is especially important when you use sequential auto-incrementing identifiers with type integer or bigint since they are guessable.

What value would there be in preventing guessing? How would that even be possible if requests have to be authenticated in the first place?

I see this "best practice" advocated often, but to me it reeks of security theater. If an attacker is able to do anything useful with a guessed ID without being authenticated and authorized to do so, then something else has gone horribly, horribly, horribly wrong and that should be the focus of one's energy instead of adding needless complexity to the schema.

The only case I know of where this might be valuable is from a business intelligence standpoint, i.e. you don't want competitors to know how many customers you have. My sympathy for such concerns is quite honestly pretty low, and I highly doubt GitLab cares much about that.

In GitLab's case, I'm reasonably sure the decision to use id + iid is less driven by "we don't want people guessing internal IDs" and more driven by query performance needs.
Part of my childhood was in West Virginia and visit family occasionally. I can attest to the comment about food deserts.

There's a nearby Dollar General, which is fine for processed food and sodas, but you have to go 20 miles away to a grocery store with proper fresh food.

Here's an article from 2015. Things have seemingly not gotten better:

https://wvpublic.org/whats-an-appalachian-food-desert-and-wh...
What about this summary of the current human rights situation in the Republic of Crimea, from Wikipedia:

United Nations monitors (who had been in Crimea from 2 April to 6 May 2014) said they were concerned about treatment of journalists, sexual, religious and ethnic minorities and AIDS patients.[115] The monitors had found that journalists and activists who had opposed the 2014 Crimean referendum had been harassed and abducted.[116] They also reported that Crimeans who had not applied for Russian citizenship faced harassment and intimidation.[115]

According to Human Rights Watch "Russia has violated multiple obligations it has as an occupying power under international humanitarian law – in particular in relation to the protection of civilians' rights."[117][55]

In its November 2014 report on Crimea, Human Rights Watch stated that "The de facto authorities in Crimea have limited free expression, restricted peaceful assembly, and intimidated and harassed those who have opposed Russia's actions in Crimea".[118] According to the report, 15 persons went missing since March 2014; according to Ukrainian authorities 21 people disappeared.[67]

https://en.wikipedia.org/wiki/Republic_of_Crimea#Human_right...
the other side of this.

more people will be able to create their own animated films without requiring studios, execs and all the gatekeeping and bs that comes with that.

that's why i think the future really will be in content curation.

unless these companies can find a way to block the average person from having access to the same level tools. which i think they will try and they probably can to some extent.
Very good points. Did you also tried ignoring some rules that are overly strict? Or reduce them to warnings?
1. They can trickle out improvements one at a time, ensuring that there is always demand for a non-generic.

2. Perhaps you should look into how other countries regulate drug prices[1]. This is related to why residents of Florida recently pushed the FDA to allow them to buy drugs from Canada. There is a massive price difference, yet pharmaceutical companies somehow manage to make money off the Canadian market.

I'd like to think the U.S. is subsidizing development costs for the rest of the world, as some big pharma executives have claimed in the past, but it's now evident that research would be easy to sustain at a lower price point.

[1]https://www.canada.ca/en/patented-medicine-prices-review/ser...
Oh that's awesome!!
Maybe 6 months ahead of it's time. Maybe.
You are assuming that's what people want to see. We still have a long way to go before any human can be eliminated from the big screen. Issues with details such as hands and eyes are still way to obvious.
My colleague lives in a European city which has undergone a building boom, and it was surprising to me how density doesn't just mean more people per area, but also more area per person. A very spacious apartment is much more affordable there than in any major US city, and more people therefore get more space to themselves. It's kind of amazing how much more livable that arrangement is.
Counterpoint: the operators and engineers failed to develop designs which are safe and commercially viable. The actual cost of Nuclear has exceeded all reasonable levels. The continued subsidies would have been much better spent on developing renewables.