skysight-inc/HackerNews huggingface dataset:
> And in my impression even the ones doing moderately ok as small niche bands seem to be generally thankful for their position.

That doesn’t match my impression at all—where I’m sitting, I heard artists complaining about how they’re unable to recoup album production costs, and how going on tour has turned into a grind, or artists are even losing money going on tour. I’ve seen people make Twitter posts or YouTube videos talking about how they can’t afford to make music any more. I guess you haven’t seen those posts—I think a couple have gone by the HN front page, but you see them more elsewhere.

It’s not just about being rich—recording a small band could easily cost, say, $2,000 if you do it for super cheap. If you’re not making any money from your music, then your music turns into just another expensive hobby, and you need to spend more of your time doing some other job. Your music ends up competing with family, relaxation, relationships, and personal health.

I don’t understand where you’re getting this impression that musicians are fine, that they’re doing ok, because it is just so different from what I see. There are some musicians who have steady work or have enough draw to make money on tour or through streaming, but the rest of the artists are just getting squeezed out, and it seems like it’s getting worse every year.
The body uses a lot of energy processing food, so once you are in keto and not processing then you should in theory have a burst of energy.

This sort of makes sense from a hunter gatherer survival selection pressure too.
Is this valid also for places in US directly next to oceans? IMHO ocean shores are pretty mild in places all over the world in those lattitudes I've visited.

We also have harsh dry continental weather in Europe, you just have to move a bit more east, Russia starts to have its meteorological say.

Ie my own Slovakia has generally much lower humidity compared to say Switzerland or France, summers and winters and everything in between. Younger back home I've skied in -30C, and also experienced above 30 regularly during summers.

This is coming from decade and a half spending here in the western Europe. Coming home say on Christmas is always quite a shock for my breathing aparatus, more humidity simplifies breathing and infections.
Uh ... it's in the best interest of users to not be allowed to choose to import their history in a different browser? Yeah, that sounds reasonable. Not.
I've worked as an engineer in the Wi-Fi industry.
Here's my advice: stay at least one or, even better, two generations behind the current Wi-Fi standards.

Vendors care about only two things:
(1) Cost
(2) the Gbps they can print on the box.

So today that means 802.11ac and WPA2, unfortunately.

Stability of the software is not a consideration.
The even better case is when the user posts “nevermind, found the solution”, but doesn’t post the solution, and marks the thread as “[RESOLVED]”.
Correct, the US is not a reliable partner and should be viewed very warily.
Well-covered ground in public choice theory https://en.m.wikipedia.org/wiki/Public_choice
I just understood that this game is not 20 but 30 years old. Oh man...
Mozilla might not be doing great for their users, at least they are not actively hostile. It is a low bar though

And they are absolutely right to complain about unfair behaviour
IBM Watson
How This Site Is Built
Reminds me of a bug where you could brute force an account by putting an array of passwords in the login form.

It was some junky web interface to a spam appliance of all things, I'm not sure if it was intentional, or just some php rookie wrote the code.

One of our users discovered it when they had a (rare at the time) special character in their password.
The new pasta shape is pretty cool and all, but $45 for 6 1-lb. boxes of dry pasta is criminal!
> Weird. I used to worry about climate change and now I don’t.

That's funny! I was going to start my post with the exact same sentence!

But for a totally different reason: I'm now convinced that there is no stopping the massive destruction of the natural environemnt. A much MUCH bigger problem than that of the climate alone.

I'm not a "doomer", I'm a "realist". It's clear at this point that the world's ownership class is NOT going to allow any significant mitigation of petroleum use.

The situation will continue unabated until all of the worst predictions, and many more not foreseen, come to bear.

So, I've learned to take this in stride, like with gun ownership: most gun deaths in the US are suicide. As more and more gun owners shoot themselves, this is the only mitigation to this crisis.

This will be the same for industrial distruction of our environment, including the climate. The only way it's going to mitigate is when the natural consequences come to bear and destroy a good part of the world population.

Of course, there's always "citrus greening disease" to worry about 8-)

The excuses people are willing to tell themselves will prevent any meaningful responce to the crisis... Thus, the natural consequences will occur...
there is some evidence that very low doses of radiation are in fact positive, and there is also the (conflicting) alcohol evidence we keep hearing.
Yes, it's not usual for the rest of the software to think about these as integers at all, they're just a bunch of bits, like a JPEG so yes, the 128-bit key would be e.g. Rust's [u8; 16] exactly 16 contiguous bytes.

The encryption algorithms themselves, if they're even written in a high level language rather than supplied as machine code, perhaps using hardware acceleration, may treat this some other way, but that's completely irrelevant to you in the rest of the code. Maybe it sees this as [u16; 8] or as [[u32; 2]; 2] for some reason, you don't care.
Imagine a world where everyone in the state has an overbuilt solar battery system installed, but still relies on the grid those few times a year with extended cloud cover. It would cost a ton of money to maintain all that (mostly unused) infrastructure, and somebody needs to pay for it...

If you don't want to pay for the convenience of having on-demand power whenever you need it, disconnect from the grid.

Now whether these fees should be income-based is another debate, but some sort of flat connection fee makes a lot of sense in the future...
- No additional consumption of land
These benefits are comparatively minuscule

I think that benefit is significantly less minuscule than you make it out to be. For rural installations, sure, but in high density areas the cost of land can be absolutely insane, and those high density areas tend to have high power demands just due to the density of humans that live there.

You can put all the ground mounted panels out in the countryside hundreds of miles away from the density, but high power transmission lines are also expensive and dangerous to maintain. Generating the power right where it's used completely eliminates a problem which has serious negative consequences like wildfires.
Seems a great application of AI as part of a structured app, instead of just a chatbot.
I really enjoy seeing devs do what this author has done, being open to re-reevaluating previously held opinions. It gives me some measure of hope that others are still capable of giving a language, project, genre, etc a fair chance after an unfavorable first impression. Maybe the second attempt does not change the initial determination for a given user, but the mere openness to give it a shot is what I’m looking for as general practice.

I don’t mean to impose some duty on people to just at random intervals re-evaluate something, but as in the article, if something prompts the possibility for a second chance I would want the default position of devs to be to go for it.
Show HN: Srgn, AST-aware text manipulation
srgn is a niche source code (or just text) manipulation tool. It's written in Rust, with performance in mind. I used it to learn the language a while back, in order to work towards something resembling "useful in the real world".

Think of srgn as a blend of rip-grep, tree-sitter and GNU `tr`/`sed`. At its core, it most closely resembles `tr`, but expands on it in two important ways.

First, srgn provides scoping, used to specify what part of an input to work on. This can be literal text, regular expressions, or tree-sitter queries. The latter is the most interesting one. As tree-sitter queries can be tough to construct (although the tool is excellent, with an online playground for testing and more), srgn has pre-defined queries and makes an effort to unify these across languages. For example, across TypeScript, C#, Go, Rust and Python, you can specify to scope all "comments", and it (hopefully) just works as expected, despite these languages having different ideas of how comments work and look like (C# has multi-line and inline, for example, while Python only has a single type, all of which is also reflected in what tree-sitter calls those corresponding nodes).

Secondly, there's actions, which simply perform text manipulation on whatever is in scope from the previous step. One could delete certain parts of all comments, for example, or rewrite all import statements across an entire code base (https://github.com/alexpovel/srgn#mass-import-module-renamin...).

I had looked around a bunch for similar tools (https://github.com/alexpovel/srgn#similar-tools), but couldn't find any that quite did what srgn does.

The CLI is a rather thin wrapper around the Rust library, which is usable in the usual way.

By the way, the name srgn stands for surgeon, in the sense of a code surgeon: precise manipulation of text. Regular expressions and tree-sitter queries can be combined, which turns out to be much more powerful than either of these by itself, and also fills a different niche than LSP-powered Rename all-like features. It can also be used in CI, as a simple custom linter ("fail if you find any 'TODO' strings in comments").

A lot of the use cases can be covered by just regex, and then fixing mistakes manually; srgn mainly inches the precision of these operations closer to 100%, for when it's needed (like large refactors, where srgn offers full parallelization as well).
That doesn’t make any sense to me. I would never risk anything someone told me would move my consciousness into another machine since I would have no way to know a priori if the person on the other side would still be me. Ergo I think civilizations probably just take on the precautionary principle and maintain their minimal biological form to ensure a fully linked chain of confidence they will preserve their own consciousness, but that’s the threshold and they virtualize everything else like their incoming qualia.
I prefer to eat half a portion of couscous.
Which is very ironic, when you compare 1st tier chinese cities with 1st tier US cities, you could probably say the same thing.
Isn't that "connected" rather than "locally connected"?
Because they made all the mistakes that anyone trying to bootstrap a indie mobile OS tends to make.

Someone should take the "here's why your antispam plan won't work" form, and turn it into "here's why your non-Google/Apple mobile OS will never get traction".
I found this very entertaining. However he also forgot to include anticipated delays from speeding tickets. I'm sure there are other things that should have been factored in as well, such as sometimes increased waits at lights because you arrived earlier at it, so 25 or 65 would make no difference in how long it takes to get to the ither side of the light.
I was driving with a dude in his Rivian and he talked about burning through tires. "Look: I like to go FAST".
> Most of the time if a pet goes missing, it's dead by the time such measures are taken or very soon after.

> Avoid collars…

This is bad information. Please don’t spread it.

Lost dogs are recovered at about a 90% rate, and lost cats at about 75%. Collars are very helpful. Use a safety collar.

If your pet is lost, get help from people who know how to find them. If possible call a local group. This directory is a great place to start in the US https://www.missinganimalresponse.com/mar-directory/
If you're an insider, my understanding is that it's not advisable to trade on material non-public information has become public immediately upon release. You need to wait for it to become widely dissemeniated. I've heard guidance of something like 2 business days after release, although that seems extra cautious.
> This is stupid.

Why? Trading implies making stock trades based on non-public information. This has little to do with auditing and investigating, since that information is not necessarily public.
oh hell yeah, this is so based
A better video of the worms: https://www.youtube.com/watch?v=qbzd71Rwx0g
>Teams was actually not a core offering for Microsoft

Ummm .. Lync / SkypeForBusiness / Teams has been Microsoft's core communication product for long over a decade now.

It has always been part of their basic/essential packages because they know that everyone needs a communication platform.

How you managed to work at Microsoft on Teams and think that nobody knows about it, is a bit astounding.

Teams was a product for 3 years before Covid. A large amount of companies had been running it for 1-2 years at that point.

The idea that Microsoft built Teams as a Skype for Business replacement, but didn't design for scale or reliability is an absurd statement.

----

Either you are

(1) lying

or two

(2) worked on teams but had no understanding of the product or userbase.

... which kind of does sounds like how teams might have been built
You kind of need to know what you're doing to evade pitfalls.

Related:

ST 4U 282: Preparing a Pharo Image for Production - https://www.youtube.com/watch?v=TQfKnSR6izY

Overview of Pharo Web Stack [W4S7-EN] - https://www.youtube.com/watch?v=okHHUu9jsw0

How to setup a Pharo project - https://www.youtube.com/watch?v=Wnt3OBhR18I (although for CI I recommend using GitHub workflows these days)

Application development with Pharo - ESUG 2022 - https://www.youtube.com/watch?v=FdZUAWH__vk

Lastly, I'm working in using htmx and use Smalltalk stateless - https://www.youtube.com/watch?v=4_gmvN0pimI
I do know a couple of Tesla owners who had to replace their tires at 10,000 km. (7,000 miles). They learned their lesson and their second set is lasting a lot longer.
A corporation operates in their own self-interest.

A corporation that is a monopoly has no motivation to keep pricing "fair" and, in fact, has an interest in making prices as high as possible. It is never cheaper this way.

We, as a society, seek to work around the problems that naturally-occur with monopolies by regulating them.

In Ohio, most of our residents have one provider (AEP). AEP owns the local infrastructure, and they also own the transmission infrastructure, and they are pretty tightly regulated.

To help keep pricing in check, it is required by regulation that the rate at which AEP buys their electricity at is set periodically by a competitive bid process. (This is, in theory, a process that works well for consumers and provides a reasonably low price: If a supplier can buy and sell (or otherwise produce) electricity cheaper, then they can put their bid in and have an opportunity to do so.)

The problem with regulation is that it is regulates. It is inflexible.

And sometimes, this bid process goes wrong: Early in 2023, for instance, it resulted in a generation price that was set to approximately double in six months[1].

The solution to both monopolies and regulation is consumer choice in a competitive marketplace.

Obviously, we in Ohio can't usually decide whose lines and infrastructure we use -- they're monopoly-owned. There's some exceptions to this like [2][3], but broadly speaking: Of course AEP is involved, because they have to be involved.

But we do get to choose our generation supplier[4], which is probably similar in function to how folks in Texas can pick their "retail provider" (except we don't get time-dependent metering).

And that very limited aspect of consumer choice does work for me, the consumer. I was able to completely bypass the 2023 price hike by selecting a different generation supplier. In fact, my total billed price per kWh of electricity used (inclusive of distribution, transmission, and fees) was actually slightly reduced compared to what I had been paying previously.

It's not a perfect system, as there are no perfect systems. But this little sliver of competition is better than being completely beholden to either an unregulated absolute monopoly or an inflexibly-regulated absolute monopoly.

[1]: https://puco.ohio.gov/utilities/electricity/resources/histor...

[2]: https://clydeohio.org/159/Clyde-Light-Power

[3]: https://www.columbus.gov/utilities/about/The-Division-of-Pow...

[4]: https://www.energychoice.ohio.gov/
I haven't used Linux on a phone yet so I don't know about those, but regular rooted android has easy ways to circumvent what you're talking about.
Have an older EV as well as a PHEV that is mostly driven electric except for occasional road trips. 10+ years on both.

Had to replace the terrible factory tires on the EV at 20k, a disappointment. Second pair lasted ~40k. Third pair is over 25k and doing fine.

Tires on the PHEV made it to 35k. Replaced them, they're still doing fine at 60k.

7k? Naah, man. Total garbage nonsense.
I've just worked through it to understand it; it's a more subtle exploit than I thought. My above comment about $ being end-of-line is wrong, the above comment saying you need the /m modifier for that to happen is correct.

In case anyone cares, the bug matches <backslash> <newline> <quote> then the regex in question matches <backslash> <newline> and the code logic is that one backslash must be escaping the next character from the input, but instead of adding on the next character it always adds a quote - after searching for a quote the next character must be a quote, right? But it wasn't, it was a newline, which was missed because of $ behaviour with newline at the end of a string. That acts to shift the quote one to the left <backslash> <quote> <newline> and now that makes an escaped quote which won't break eval() and the loop carries on and reads in the exploit text up to the real end quote.

----

Details: the Perl code takes this pattern in the input (the quotes are part of the input, in the file data):

"a\
""

six characters, describing a quoted string of four characters: <a> <backslash> <newline> <quote>

The Perl code finds the string starting quote and moves past it, and sets $tok empty to hold the quoted string content. Then it searches for the next quote (not the last, the next):

last Tok unless $$dataPt =~ /"/sg;

This will match at the quote after the newline. Then it substrings from the saved opening quote position to 1 before the found quote. So the substring includes the newline char:

# the closing quote position. (not including the quote).
$tok .= substr($$dataPt, $pos, pos($$dataPt)-1-$pos);

That gets <a> <backslash> <newline> and not the following <quote> <quote>

Then it does the odd-number-of-backslashes test on the substring <a> <backslash> <newline>:

last unless $tok =~ /(\\+)$/ and length($1) & 0x01;

And the regex matches for <backslash> <newline> instead of the intended <backslash> ENDOFSTRING so the code thinks there is an escaped character. It doesn't add the next character from the string into the token, it assumes the escaped character must be a quote and always adds a quote to $tok.

$tok .= '"'; # quote is part of the string

Effectively shifting the input quote to the other side of the newline, from:

"a\
""

to

"a\"
"

and in the exploit case:

"a\
"exploit code"

to

"a\"
exploit code"

Then the inner loop runs again and finds the <exploit code to closing quote> text and adds that on to $tok. Now there's a string with an escaped quote and some exploit code.
I'm the proud owner of a major brand WiFi router, and there is a typo on the admin login screen. Not a good look, but it's the best we've got.
There's about to be a few more as UPS and FedEx are getting EV's here in Wyoming soon. I am looking forward to hearing their experiences in EV delivery trucks.
$32.94, not $45, per the link in the article which is about $5.50/pound. The Trader Joe's version sells for $2.99/pound. I don't think I'd ever spend $5.50/pound on pasta though. I'd probably just learn to make my own if the prices got to that point.

https://www.sfoglini.com/products/sporkful

https://www.traderjoes.com/home/products/pdp/organic-italian...
Ask HN: Using text-to-image generation for language learning?
My goal is to learn to read the TL rather than speak it, so I've been mulling over the idea of selecting the 1000-2000 most common words in a language, mining sentences containing each word (using Tatoeba), and then generating images from those sentences. The aim is to create reverse cards in Anki with the sentence on one side and image on the other. But I've hit a roadblock in the final step. I can't for the life of me generate the image I want; it only comes close at best. Take the Greek sentence 'Θέλω να νοικιάσω αυτό το αυτοκίνητο' (I want to rent this car). No matter how I tweak the prompt "A Greek man in his mid-30s, wearing a shirt imitating the colors and design of the Greek flag, standing outside a well-known car renting establishment located in central Athens. He is pointing towards a sleek, contemporary vehicle of his preference, amongst many, with an air of eagerness and thrill." I can't seem to get what I want: a goddamn Greek man pointing to a car he chose to rent, amongst a few others he's not interested in. At best, I get him almost pointing to the car, but it ends up looking more like a 'you get it' gesture.

If anyone has managed to do this successfully, could you please share how you achieved it?
I prefer Exiv2 over ExifTool. I can compile it statically. Does not require a Perl installation.
Italy Suspends Funding to Unrwa
That's when you start counting the radio call to the tower + whatever other pilots are there in the area to hit the golden 30.
A hacker news post to a stack exchange question copied from reddit? At some point we might simply fuse these networks into one, don't we?
There's no rule that you need to mix a raw key bit with every data bit. Block ciphers usually expand their key into a bunch of subkeys to use in different rounds, and you can stretch that expansion as far as you desire.

And if you squint, a stream cipher is just a block cipher with a stupidly large block.
My phone isnt apples, its mine.
Not just rich enough - the kind of person why has to have the latest and greatest. Very often insecure. You know exactly the sort of ICE car they would buy too.
My assumption is there’s a kid involved, and the parents know it’s unlikely to be found, but putting in an effort to find it by putting up posters helps to not feel as guilty about losing it.

Or maybe that’s the pessimist in me.
Got any numbers for this decline? Because intuitively, I would guess the opposite - Smaller acts would have it easier today to find an audience for their niche.
It can be more complicated, what if you are the pilot?

> On August 15, 2006, it was revealed that Halutz sold off his investment portfolio three hours after two Israeli soldiers were captured by Hezbollah during the Zar'it-Shtula incident, leading to the war. While this action on the part of the chief of staff is technically legal and is only restricted (through blind trusteeship) from cabinet members, the State Comptroller Micha Lindenstrauss has called to expand it to the chief of staff and to other senior officials. Several Knesset members called for Halutz to offer his resignation and some members of the General Staff Forum commented that his resignation appeared inevitable

https://en.wikipedia.org/wiki/Dan_Halutz#Investment_portfoli...
Yeah, I've never signed and notarised any of my macOS apps because I don't want to pay Apple $99 per year for the priviledge. I hope that EU isn't done with Apple since I find the lack of sideloading bullshit. Why am I not allowed to write an application and install it on an iOS device that I own without paying Apple for the privilege?
Something like neocities is probably the way for an OP such as this.