skysight-inc/HackerNews huggingface dataset:
> And whether you want your input treated as a line or a string is decided by your pattern, use ^ and $ and it will be treated as a line, use \A and \Z and it will be treated as a string.

Where is this semantic explained in the `re` module docs?

This is totally and completely made up as far as I can tell.

This also seems entirely consistent with my rebuttal:

Me: What you're saying makes sense if condition foo holds.

You: Condition foo holds.

This is uninteresting to me because I see no reason to believe that condition foo holds. Where condition foo is "the input to re.search is expected to be a single line." Or more precisely, apparently, "the input to re.search is expected to be a single line when either ^ or $ appear in the pattern." That is totally bonkers.

> but it explains why things behave the way they do

Firstly, I am not debating with you about the historical reasoning for this. Secondly, I am providing a commentary on the semantics themselves (they suck) and also on your explanation of them in today's context (it doesn't make sense). Thirdly, I am not making a prescriptive argument that established regex engines should change their behavior in any way.

If you're looking to explain why this semantic is the way it is, then I'd expect writing from the original implementors of it. Probably in Perl. I wouldn't at all be surprised if this was an "oops" or if it was implemented in a strictly-line-oriented context, and then someone else decided to keep it unthinkingly when they moved to a non-line-oriented context. From there, compatibility takes over as a reason for why it's with us today.
> If this thing is all about AI why are we calling it a GRAPHICS processing unit still?

Because names are sticky, and no one wants to start evangelizing a new term (“Matrix Math Processing Unit”) for it, preferring to put energy into things with value.
That sounds like much more of a nuanced law question than a "are these the same".
While they might be able to stop you telling the world, they might not be able to force you to perform actions that cause you to lie to the public
I used to believe this but then I found myself spending way more time on clean single-purpose commits than I saved looking at a clean commit log.

Especially if the cleanup touches the same code you are semantically modifying you are basically forced into a bad dilemma of doing them in parallel (leading to a merge conflict with yourself yuck), or doing them in series which leads to the question of whether you should twiddle your thumbs while waiting for the first commit to get through review or whether you should do something else in the meantime risking forgetting the other commit.

That's why I don't think it's completely clear cut.
And there are tons of these various programs, all with differing requirements, and some take into account others and some don't.

Some trigger "automatically" (if you apply for X and receive it, you qualify for Y, Z) and that can have weird side effects, too.
It's not the same thing because I don't have training to be a dentist, but I do have training and skills and knowledge for a variety of non-dentist mechanical, electrical, and electronic things. So this is a specious argument. Where does it end? Do I not do any work myself ever? Or are there things we can all agree some people are capable of doing?

I think the gatekeeping around all of this stuff from people is frankly kind of ridiculous. It's not like the battery repairmen are doing asbestos abatement naked in their living rooms while their families are watching TV. But people are treating it like the same thing.
R does have namespaces. Take a look at the NAMESPACE file found at the root of every R package, which defines the symbols and methods exported by the package.

Note for many R packages, the NAMESPACE file is autogenerated from roxygen docs: https://cran.r-project.org/web/packages/roxygen2/vignettes/n...
So does this mean someome can create a free editor I can use for basic animation that I don't have to pay $25 for the rest of my life to use?

Edit* $39 per month if you don't pay for an entire year in one go. Wtf haha, anyone actually paying this for basic solo-dev work?
We already have CalDAV, but few implement it. I prefer using a caldav server (e.g. email host) because if you have a life in task items, and your software is proprietary and they don't care about import/export - it sucks. 2Do or OmniFocus, not seen anything better yet. I tried for ages to make tasks work in Obsidian, all the plugins, dataview setup - it just felt clumsy and kludgey to work with, so I gave up and let obsidian do what its good at, notes and templates
I said this about China trying to make chip investments but it applies to the US too. It’s extremely difficult for government to pick who should be winners with investments like this, and then the question of what is next, x-ray lithography, photonics or something else. I suppose this is quite far into the future and a moot point as the AGI will have moved the humans into a simulation by then to avoid any problems with them.
Doing it with HTML, CSS, and an SVG icon seems odd. Having it in your privacy policy document or something similar seems more appropriate then you're just updating your privacy policy.
> Which means 9/10 users who used their machines 100 or fewer hours on the new kernel will never hit the bug.

No, that's not how probabilities work at all for a bug that happens with uniform probability (i.e. not bugs that deterministically happen after n hours since boot). If you have millions of users, some of them will hit it within hours or even minutes after boot!

> As you correctly point out, my deployment is of negligible size, and the long tail is far far beyond my reach.

So you don't expect to accrue on the order of 1000 machine-hours in your deployment? That's only a month for a single machine, or half a week for 10. That would be way too much for me even for my home server RPi, let alone anything that holds customer data.

> I'm not a filesystem developer, I'm a user: I don't care about the long tail, I only care about the average case as it relates to my deployment size.

Yes, but unfortunately you seem to either have the math completely wrong or I'm not understanding your deployment properly.
My impression of btrfs is that it's very useful and stable if you stay away from the sharp edges. Until you run into some random scenario that leads you to an unrecoverable file system.

But it has been that way for now 14 years. Sure, there are far fewer sharp edges now than there were back then. For a host you can just reimage it's fine, for a well-tested fairly restricted system it's fine. I stay far away from it for personal computers and my home-built NAS, because just about any other fs seems to be more stable.
> Part of Germany near Berlin, possibly part of the Ukraine-related jamming/interference?

Of the four tiles in that area (for March 19th at least), one is entirely in Poland, one is covering the Polish-German border, one is a bit of the German coast around Rügen but mostly the Baltic Sea, and the other is Bornholm (island in the Baltic Sea) and a bit of the Swedish coast.

My guess is, this is part of a larger system to limit Russian military use of the Baltic, and possibly also a single layer of defence against Russian aircraft and missiles targeting Berlin and Copenhagen. Likewise, I would guess that the strip of interference from St Petersburg in the direction of Moscow is a similar single-layer of defence by Russia.

At this resolution, it also looks like the west is interfering with access to St Petersburg and someone (could reasonably be either side) is worried about Kaliningrad, but that image is also also making me think "WTF?" about the Gulf of Riga.

The single tile near Kandalaksha (Russia) suggests something interesting is going on there, but I have no idea what that might be, and there's a non-zero possibility that it's a deliberate red-herring to make western analysts waste time — as an analogy, imagine a troll releasing three greased pigs with the numbers "1", "2", and "4" painted on the side.
Because, in the United States, you have a constitutional right not to be compelled to say something you don't want to, but you don't have the constitutional right to say whatever you want to, especially in the case of a gag order regarding an active investigation or trial.

So if you go ahead and say "I haven't be served a warrant by X group" on your website, the government can stop you from saying the contrary, but they can't force you to lie about it, so you are free to remove the canary since it is no longer true.

If the courts ever tried to retaliate against that, they'd run into a mountain of precedent that forbids compelled speech. They would have to argue that you are required to lie, rather than be allowed to retract a non-truth. That's not something the Constitution is going to allow.
My cousin has been at the same job for almost 10 years. He's using technology that has been phased out and abandoned by most companies for almost as long (a software developer).

He's also 55 and hasn't spent any time outside of work learning anything new. His problem is that he gets comfortable with a job and doesn't ever want to change, because it's difficult (doesn't want to go on interviews, likes the routine, etc).

Now, he's basically trapped at this job and hopes every day that he doesn't get laid off.
Yes, quarto has native support for VSCode: https://quarto.org/docs/get-started/hello/vscode.html

There isn't much advantage to using it over RMarkdown for R, IMO.
Not a lawyer, but I think the government has more ability to prevent you from doing something than forcing you to act.
They can tell you to not remove the canary, and not tell anyone your logs are being monitored, but it is trickier for them to say you must re-sign this certificate.
Innovation > Execution + Creativity > Imagination > Memory > Storage + Retrieval > Re + Trieval
Was anybody else a little irritated that the "MonkeyUser" comic "FOCUS (2018)" included in the article: https://www.monkeyuser.com/2018/focus/

seems like a pretty blatant copy of the Jason Heeris comic "programmer interrupted (2013)"?
https://winthropdc.files.wordpress.com/2016/05/programmerint...
It’s not the cost per passing that matters, it’s the average cost per passing that matters.

Most consumers can’t or won’t pay the outlay up front, but that’s why you use financing.
I'm familiar with the name because he made a fool of himself on the "King of the Nerds" reality/game show, which got chopped up for YouTube hilarity.

https://youtube.com/watch?v=3ZEun2Auayo
> The US is spinning $1T new public debt every 100 days and there's no credible path to return to a sustainable trajectory.

How are you calculating this? The full-year deficit is running at less than $1T... You aren't counting it when Treasury rolls maturing bonds over into new debt, are you? That's normal and irrelevant.

https://fiscaldata.treasury.gov/americas-finance-guide/natio...

There's a few things worth mentioning, since after all that is still a big deficit.

1) Debt service costs are over $1T annually, as the end of many years of ZIRP finally starts to bite. There's no guarantee that we return to lower rates in the future, but it's likely, and that will reduce debt service burden over time.

2) Deficits are calculated inclusive of the costs of debt service, but do not include the impact of inflation on the public debt (which is substantial right now).

3) Deficits can absolutely be sustainable. The economy (i.e., GDP) grows over the long term, and the tax base grows with it. GDP is around $23.3T, and assuming long-run 3% growth, that would mean deficits of $700B are sustainable.

Overall the fiscal picture is not great, but anyone acting like there's an acute crisis is probably doing it for political reasons.
Because if they weren't, they wouldn't be there?
The linked page already says that it reports on the constellation, not just GPS:

"The map uses are color coded overlay to indicate low (green) to high (red) levels of interference with global navigation satellite systems (GNSS). Often just referred to as GPS, there are actually multiple systems beside the US GPS constellation, such as Russia’s GLONASS, Europe’s Galileo, China’s BeiDou, and others."
Love to automate these types of things. Unfortunately there isn't much benefit to automating the shopping/leveling, as this performs far better than any passive bonus those provide

let stop = false;
let play = () => {
const button = document.querySelector('[data-word-button]');
if (stop || !button) return;
button.click();
setTimeout(play, 0);
}

play(); // to play
stop = true; // to stop
localStorage.clear(); location.reload(); // to restart
Unfortunately no. (tbh I don't like that feature in RStudio anyways: it makes it longer to scroll through large notebooks, and ggsave is better at rendering charts than R's native rendering)

For knitting, you can use Markdown image links.
Imagine a printer in zero gravity just spraying printed pages around the cabin of the shuttle, since pages don't neatly fall into the output tray.
Even more relevant would be the Ethereum Improvement Proposal repo (where people submit proposals to change the spec):

https://github.com/ethereum/EIPs

Or the go-ethereum execution client (the most popular execution client):

https://github.com/ethereum/go-ethereum
FWIW, they lost my interest entirely when they launched SD 2.0 and the model was worse,
presumably (this was what people at the time were coming up with as the core problem) as they went overboard in their attempts at preventing it from generating naked photos (by removing so much from the training set that it no longer seemed to understand as well what a human looked like). The wider community then just got stuck on SD 1.5 and so frankly it isn't clear to me if the work Stability was doing was even relevant anymore... even just a few weeks ago I saw some new thing using SD, said to myself "god I hope it is using 1.5", and it was in fact (thankfully) still using 1.5.
Both teams are the wrong team. That’s precisely the point
Oh this is one of those conversations; I'm leaving
It looks nice, but it is MacOS only, and it is really expensive at $96 per year! Probably why it doesn't get mentioned often.
Yes, immediately. OCD pet peeve of mine.
Post-coup
Don't know why you were downvoted. We used to have a horse that would wait until the fallen apples were fermented, and then eat them to get drunk.

At least, that's the human explanation. It's more likely that she just preferred the taste of fermented apples and getting drunk was just a pleasant side effect.
I bet that the minute the US rolls up red carpet to Taiwan's hi tech experts will be the minute Taiwan will fight it either soft way (increase the salaries) or the hard way (introduce the laws preventing them from leaving the country). Should Taiwan loose leading position their value and security guarantees will all go down the toilet.
Funny for me there have been instances where the LLM did push back. I had a plan of how to solve something and tasked the LLM with a draft implementation. It kept producing another solution which I kept rejecting and specifying more details so it wouldn't stray. In the end I had to accept that my solution couldn't work, and that the proposed one was acceptable. It's going to happen again, because it often comes up with inferior solutions so I'm not very open to the reverse situation.
Looks like the next one in the continental US is 2045. Now, hopefully I can live to be 81....
But the market is completely distorted because the government is close to a monopsony. Especially if they "preempt" an entire neighborhood. There's no private sales to point the tribunal to in that case so they have utter control over the price
>"Theoretically everything should run in ai"

> Odd statement. I don't really know what you mean by that. Perhaps 'math _works_, code should too' ?

It was a typo. I mean "Everything should run in it" as in most LLM should be able to run at least quantized in 4090
I'm pretty sure, you can check for yourself with Google Translate.
I don't think it would be as problematic as you suggest. The Trans-Siberian railway already operates at similar distances. Also China is building their belt-and-road network. We could get goods from China, Japan, Korea and Russia all on this rail system.

The one sticky point might be gauge. We'd want something all agree upon. We'd want to avoid variable track gauge bogies.
Same here: I use a rolling release and btrfs. Personally I really enjoy btrfs's snapshot feature. Most of the time when I need backups it's not because of a hardware failure but because of a fat finger mistake where I rm'ed a file I need. Periodic snapshots completely solved that problem for me.

(Of course, backing up to another disk is absolutely still needed, but you probably need it less than you think.)
I strongly doubt a judge will care to distinguish the two.
> with periods of solo uninterrupted deep focus

Which is usually impossible in the office. So more like a mix, which is what all reasonable people are saying.
Lone orca killed great white shark in 2 minutes
My cynical side wonders if they were just looking for an excuse to get rid of it so they can continue their process of sheding off the final remaining shreds of the original cypherpunk culture of crypto.
GDP Per capita isn't pa particularly good metric, but it is a measure for how productive a country is. So when the original poster laments that Vienna has this model of subsidizing housing while the US needs to "get rid of econ 101 hokum", I think it does do a good job as showing that for their differences, the US does do a good job at things (creating economically productive value in this case).
That's my excuse :-)
I agree with the author that CS should be more integrated with other departments. But the author focuses on requiring CS majors to study French, and I'm more interested in the opposite: why shouldn't we require French lit majors to study Python?

In liberal arts circles, there's a widespread attitude that programming is an alien thing. And this attitude extends to programmers as well; the article portrays "computer people" as an outgroup. I think this attitude is deeply unhealthy. Python isn't some kind of incomprehensible gobbledygook! Basic programming skills should be considered part of a well-rounded education, applicable to many different fields, just like reading, writing, and math.

There are some steps in the right direction:

> [Mark Guzdial] is trying to rebuild computing education from scratch, for students in fields such as French and sociology. He wants them to understand it as a means of self-expression or achieving justice--and not just a way of making software, or money.

This is great, but the author doesn't seem to realize that many people in CS _already_ view programming as a means of self-expression or achieving justice (e.g. the free software movement, PGP, Mastodon). The liberal arts folks are the ones who think CS is just a way of making money.

I wish people would stop portraying computing as an isolated, inaccessible thing; and start viewing it as a part of modern society that every educated person should know the fundamentals of.
> The rule of thumb is that all carbohydrates harm blood glucose control.

This is untrue. Only simple carbohydrates harm blood glucose control. Complex carbs such as whole grains and fruit aid in it, in part thanks to their fiber. If you have a source that supports your claim, please share it, it must be bleeding edge nutritional science.
The rates of childhood poverty and food insecurity, for starters.
IANAL, but I'd think that hurting your possible future defense is what you just said, and what people always say: that the premeditated intent is to violate a potential future gag, and that removing the canary (or not updating a cryptographic signature, or resetting to 0 the "__ days since last served a subpoena" notice) is a mechanism for that violation.

IMHO, that's kinda a weaselly trick, no matter how good the cause, and it might not stand up, not legally, nor in extra-legal practice.
That poor guy. He thought when he stopped using blah@blah.com he'd have it easy and look what happened.
That's why System76 is writting extensions in Rust and runs them in seperate processes.
One thing not covered by the author under "automate to save mental energy" is that you can save a ton of mental energy by randomizing. Where do I go to get lunch today? Which item on my to-do list to tackle in the next hour? Which podcast episode to listen to during today's walk? Letting these decisions (even much more consequential decisions if you are in the mood for it) be settled by chance not only conserves mental energy (by reducing the cognitive load of decision making) but can also be good for mental health (when outcomes are left to chance, you feel no self-reproach for unfavorable results, and feel only gratitude for favorable ones).

I used to carry a dice around with me just for this purpose. Nowadays, just for fun, I first mentally generate a random mapping (e.g. "even number do X, odd number do Y") then look around my physical surroundings until my eyes land on a number.
I mean this is how the US operates. Other countries continually try to refine their existing industries and societal structures. In the US, you let everything rot and hope that a hail Mary innovation comes out of somewhere and creates a breath of fresh air. It creates quite a wild society, but it seems to have worked for now!
I had to mute him on Twitter -- the _least_ impressive public AI "expert"
Typewriters is why
The law is fairly immune to mental gymnastics and mind games, regardless of what the dramas indicate.

For movies, it’s fairly simple and widely understood you are buying a license for private viewing. While there’s some room for interpretation, it goes without saying that if you are inviting strangers and/or charging admission and/or running advertising, you’re inviting scrutiny.

Also, let’s just be honest, the moment you run advertising for anything, it’s almost impossible to argue this is not a publicly available event. Public is also fairly broad - collages have to license every movie they want to show to a classroom, for example. My college paid over $2000 to Netflix for a single showing to Math Club of one movie for about 7 viewers.

> The game is a multiplayer game intended to be played with other people

The law only cares about copyright. What it is, is irrelevant.

As for your point about how the participants must have bought the game - I don’t think that would work either. Imagine you ran your unapproved Lord of the Rings convention. You also had the movies playing on repeat the whole time. I don’t think arguing that “only people who have bought the movies have any interest in being here” would protect you.
Doubling Electric Vehicle Range: New Lithium-Sulfur Battery Material Unveiled
Another day, another battery advance that has yet to be commercialized. But this does sound promising.
Organized crime in Mexico would probably do it to prevent other people from using migration routes they control and reduce police efficacy. Of course, slightly rogue Mexican police or even US vigilantes also have an incentive.