skysight-inc/HackerNews huggingface dataset:
This only makes sense if re.search accepted a line to search. It doesn't. It accepts an arbitrary string.

Which is fine because lines are a subset of strings. 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.

The first `\n` in `cat\n\n` is a terminating newline. There just happens to be one after it.

Look at where this is coming from. You do line-based stuff, there is either no newline at all or there is exactly one newline at the end. You do file-based stuff, there are many newlines. In both cases the behavior of ^ and $ makes perfect sense.

Now you come along with cat\n\n which clearly falls into the file-based stuff category as it has more than one newline in it but you also insist that it is not multiple lines. If it is not multiple lines, then only the last character can be a newline, otherwise it would be multiple lines.

And I get it, yes, you can throw arbitrary strings at a regular expression, this line-based processing is not everything, but it explains why things behave the way they do. And that is also why people added \A and \Z. And I understand that ^ and $ are much nicer and much better known than \A and \Z. Maybe the best option would be to have a separate flag that makes them synonymous with \A and \Z and this could maybe even be the default.
"it’s not that hard for a customer to get their software working on a competing hardware platform and cut out a bunch of Nvidia’s enormous markup"

Agree and yet none of the contenders were able to work out their software play (Intel, AMD, chip startups) for more than a year which shows how corporates move slow.

Google is not selling their TPUs AFAIK and their tooling is completely focused on internal use.

So really interesting to see no one else is properly addressing the need even though they have chips (and the chip itself is much simpler than a cpu, a systolic matrix multiplier array).
I'm specifically referring to:
https://code.visualstudio.com/docs/python/jupyter-support-py

The support for R looks a bit different (to me at least?):
https://code.visualstudio.com/docs/languages/r

In the screenshot the window on the right does not look comparable to the output in a jupyter notebook. It looks more like a standard terminal. e.g. does it support interactive charts, html tables etc?

The Python interactive window uses the ipykernel package to allow rich outputs like that.

I still might be wrong and would like to be corrected on this, since it would mean R support in VS Code is now better than I thought (I haven't tried it fora. while)
Something seems very off with that image. I've known a lot of different people who were on welfare over the years, and not one of them had a standard of living anywhere close to what someone who nets $60,000 a year does. That said, there is absolutely a cliff where you could risk a loss just by taking in more money.
If you plan on letting llava-v1.5-7b drive your car, please stay away from me.

More seriously, for safety critical applications, LLM have some serious limitations (most obviously hallucinations). Still, I beleive they could work in automotive application assuming: high quality of the output (better than current SoA) and very high token count (hundreds or even thousand of token/s and more), allowing to bruteforce the problem and run many inferences per seconds.

Clearly we are not there yet.
I think that when someone is experiencing extreme anxiety over an extended period of time, their actions aren’t necessarily going to be logical. Most people will recover once the stressor is removed. Some people will give up and choose option A. Still others will choose option B.
This is a huge problem with housing in general that is mostly ignored.

Let people build 4 units where today it's zone for 1, and if you disagree, you're an out of touch racist/classist/luddite who is just not a visionary and can't embrace the future.

Surely nothing bad is going to happen when you take a subdivision with 30 homes and take just 10 of those and turn them into quadplexes.

30 homes might approximate something like 60 cars and 60 children.

Now instead of 30 homes, you have 20 + 10*4 = 60 homes.

You're now asking infrastructure that hasn't been touched since the 60s to accommodate nearly twice as many people. And I get that not every new unit will also have 2 children, but some will and it no doubt leads to a net increase.

Where as before the road leading out your development had to accommodate 50 cars in the morning commute, now it has to handle more than 100. And this is just a minor inconvenience.

The real issues arise when you've doubled the amount of school children, but the number of teachers hires or classrooms built hasn't increased, and let's not even talk about teacher salaries.

Then there are utilities and other public services (first responders, etc.)

This was just one small subdivision with 30 homes, now imagine this happening across multiple parts of town at once and you can see the problem.

All that is to say, I've never been against building more housing (omg build up! it's so easy!), what I'm against is building more housing without proportional investments everywhere else.

It's a hard problem to solve, I admit it, but that's my whole point. It's hard, you can't just build more housing and call it a day.
The idea behind a canary is while they can tell you to keep it confidential, they can't compel your speech to lie and say you've never cooperated. Adding a wink wink nod nod code word defeats the idea.
Micrograd-CUDA: adapting Karpathy's tiny autodiff engine for GPU acceleration
I recently decided to turbo-teach myself basic cuda with a proper project. I really enjoyed Karpathy’s micrograd (https://github.com/karpathy/micrograd), so I extended it with cuda kernels and 2D tensor logic. It’s a bit longer than the original project, but it’s still very readable for anyone wanting to quickly learn about gpu acceleration in practice.
Their pricing page, https://rive.app/pricing suggests that they support MP4/GIF/PNG Sequence and WebM exports? Is that not what you're looking for?
> Nearly all of SLS’s delays where because of Boeing’s failures.

Half of the delays were moving from day X in 2022 to day Y in 2022. So yes by number most where Boeing’s failure, but all of those combined added up to less than a single funding issue.

> You cannot look at SpaceX's financials

Me personally no, but they have leaked in multiple ways at multiple times. Hell a recent direct quote from the CEO said they risk bankruptcy. That’s not something you want to hear when considering doing long term business with them.
Dinner Table Rules
Sainsbury's and Tesco: https://www.theguardian.com/business/2024/mar/16/sainsburys-...

Greggs: https://www.theguardian.com/business/2024/mar/20/greggs-shop...

The Sainsbury's and Tesco ones happened on the same day (last Saturday), but the scale was very different. Sainsbury's were unable to take card payments nationwide. My local one said it was due to the internet connection in their store not working. It also affected planned deliveries, likely because the scanners they use to fetch and pick the orders didn't have a connection.

Sainsbury's blamed this on a botched "software update".

Greggs happened today and was card payment related but doesn't seem to be nationwide (I've not been to one today so not 100% sure if that's true).
Also UK VAT. Companies only need to register for VAT when they turn over more than £85,000 in a year. This adds a great deal of extra complexity for running the company. Predictably a lot of companies earn just less than this amount. The graph is worth a thousand words:

https://www.economist.com/cdn-cgi/image/width=1024,quality=8... (from https://www.economist.com/britain/2023/04/11/britains-tax-ta...)
Imagine complying with a gag order. That's one of the most blatant abuses of human rights.
A post arguing for:

- avoiding too much production techniques during research. Production and research have different goals

- it's ok to take "tech debt" in research since majority of the code is going to die. For example, you shouldn't strive for code reuse

- but as a researcher you still should invest into fast exploration, fast branching and clean simple code
Not 100% sure what you mean or why you're so antagonistic. Who's the money printer in your comment?

Why are my stock comparisons cherry-picked? The companies I listed make money from chips. Besides - any investor can compare any two companies for market cap, revenue, and profit, even if one makes chips and the other sells sugary drinks.
I was really surprised to see that commit message. I wonder if they had that cleared? I'm guessing the committer didn't fully understand the concept.
Universities Have a Computer-Science Problem;the Case for Teaching Coders French
I was able to bypass the modal by going directly to the account setting page: https://www.glassdoor.com/member/profile/accountSettings

From there you can at least deactivate your account, not sure what other pages are also accessible without going through the modal.
Game idea for someone with more time than me: an LLM powered "roguelike".

You fine-tune the LLM to spit out RPG skills based on the player's chosen class. (Dwarven princess = summon dwarf minions, has a rare bloodline magic, whatever). The classes could get _real_ weird, like a school bus character could summon school children minions and skill up to flying a la The Magic School Bus. (Or that could be a prestige class haha.)

A second model would match the RPG skills to a known/finite set of game mechanics supported by your game. This is ultimately a simple classifier - not really an LLM (though the skills on the input side are language, okay pedants). Determining the set of game mechanics to support shouldn't be too hard - how many different ways of doing damage and (de)buffs could there be? (Okay there can be a shit-ton.) Balancing the game could be done live via reinforcement learning. To constrain the search space, it'd follow the old Zelda format of limiting you to one room/screen until the enemy is defeated (or like Binding of Isaac for those too young.)

It'd have to use 2d/sprite based/placeholder graphics because I don't think the rigging/animation AI is currently good enough... but bad graphics hasn't stopped fun gameplay before. Imagine Charizard vs Death Star. Good luck with the DMCAs.

Another problem is that with simple graphics and literally infinitely variable enemies, there's no learning on the player's side so there's no real "skill" accumulation to improve on for the next run. There would be a lot of reading on the player's part if you decide to just show a stats-list for an enemy type. I suppose you could turn it into a zombie game where new enemies are slowly introduced in a horde of other enemies the player's familiar with.
How weird is it that the ethereum foundation repo (one of) has only 2 stars?
What a lovely crafted response. Thanks Opyate. I can now be a bit more hopeful during April.

I also saw that same LinkedIn post, and looks like I might have to do the same, because at this rate it’s feeling like life or death, and if you can’t beat em, join em. Right?

I do have a side project I’ve been considering monetizing, but it still requires a few months of work which I simply can’t afford right now. But you’re right, should definitely work on it in the good times.

Thanks for the thoughtful response.
>Globalization is breaking down quickly

Is it? I don't know if there's a concrete way of measuring "amount of globalization", but I'd guess that right now we're probably the most globalized we've ever been. "More things that you use are made outside your own country" has only been growing, and with the advent of full remote companies that also includes much more software than before -- it used to be that only huge corporations would offshore software development, now everybody can do it.
When I was selling, I must've gotten the only appraiser in the world that actually appraises rather than just follows the contract. Idiot lost me $15k on my house.

But yeah, it's _very_ clear their appraisal, which is usually _dead on_ with the offer, is a sham. I mean, even just considering the incentive structure (Who's going to hire an appraiser who causes deals to go sideways?), it's clear that they're just a middleman taking their cut.
> a line is a sequence of non-newline characters

Works for me.

How do you square that with your assertion that in your invention of "single-line mode" you implicitly define "line" as matching \n\n?
It is. But when you're on the receiving end and the federal agents bust down your door and point firearms at you you see things a bit differently in the moment.
If it's not hyperbolic, I think we ought to ban this... Call me picky, but I think breaking the only planet we live on right now is a bad idea
This is pretty plainly a terrible move, and might destroy them with lawsuits from the users who are able to show harm. (Though I think most of those harmed won't be able to prove it, nor even know for certain it's the reason for specific instances of harm to them.)

Interesting is that maybe prominent among those harmed by this underhanded privacy violation are... us techbros.

And it'll hit us where we feel it most, which is in our large salaries -- or lack of same, once we get fired for criticism speech on Glassdoor, and then HR hiring pipeline systems for some other jobs start denylisting our applications, for being a troublemaker who makes public negative comments about other employers on Glassdoor.

If experiencing this harm close to home -- to ourselves and friends/colleagues -- translates into conscientiousness when we're the ones making decisions about other people's privacy, then that's a silver lining.

More generally, you know how sometimes someone is harmed, and that person then goes on to harm others in the same way (as if inspired), but when a different person is harmed, they instead go on to defend others from harm (as if inspired)? It seems the latter person is better for society.
I guess they figure they can say they've received the inquiry, but can't say what the inquiry is about.
Appropriately for the topic, also classic AI.
In my old age, I have to say: this is not just cynical, it is smart.

It acts on the same dynamics companies act on. People build reputations by doing this with far less effort than it would take otherwise.
Thanks Sally, I’ll reach out
Probably a complete coincidence but it's interesting that the commit included lots of irrelevant formatting changes too.
Yes, that's where I read the story
Yes, he was first like, we're totally doing this on AMD! A few weeks later he's like wtf@#! this is the buggiest thing ever
Thank you for this nuanced view.

I honestly didn't want the post to center around the organizational bit, it was a late addition, because there's the caveat that it gets interpreted as "this is how you gain productivity". In my specific case it's more about flushing thoughts that otherwise would continue to drift in my mind. This is also why I write. It's calming due to the fact it allows me to lay things to rest.

> I think the critical factor here is to be honest with yourself about what is or is not actually working for you.

Yes, and in order to do so you need to do the occasional introspection and be a mindful of your ways. We all have our quirks and it's also fine to acknowledge this. I still have plenty of "bad habits", many which I have no intention of breaking any time soon.
[dupe]

More discussion:

https://news.ycombinator.com/item?id=39761176

https://news.ycombinator.com/item?id=39705788
duplicate of https://news.ycombinator.com/item?id=39759115 posted yesterday
Reconfigurable asynchronous logic automata: (RALA) https://dl.acm.org/doi/abs/10.1145/1707801.1706301

Morphle Logic https://github.com/fiberhood/MorphleLogic/blob/main/README_M...

https://core.ac.uk/download/pdf/276277602.pdf

With Google scholar you can search for 'asynchronous programmable logic'

For example asynchronous logic with standard FPGA's

https://www.researchgate.net/profile/Jerome-Quartana/publica...

http://vlsi.csl.cornell.edu/~rajit/ps/fpga.pdf
https://lezer.codemirror.net/docs/guide/#token-specializatio... is pretty cool, and they make use of it in the python grammar for the new "match" and "case" soft keywords: https://github.com/lezer-parser/python/blob/ead67a397f7c7cb6...
We just like to be vocal and share our disagreements publicly. It used to force a bit of honesty (it's not working much right now)
> How much my home is worth should not be capped by whatever government thinks

What's your take on anti-price-gauging laws? Should the government "cap" the price of food and bottled water after a natural disaster, or should the seller determine how much it's worth, as determined by supply & demand?
Also not an accountant, but i believe you two are talking differently about gaap and nongaap profit. The latter can immediately write of R&D, where as GAAP has rules around deprecation of investments.
A similar fun example is the distribution of Elo ratings on a chess site, e.g. here's the weekly distribution on Lichess for Bullet games (less than 3 minutes):

https://lichess.org/stat/rating/distribution/bullet

It's easy to understand why this happens:

- Player ratings will fluctuate by small amounts as they win and lose individual games.

- People are happy to stop playing when their rating is at e.g. 1503, but if it's 1497, they'd rather play just one more game than leave it that way.

- At any given time, most accounts are not playing, so the distribution shows a bias towards values just over a 100 Elo threshold.

The other neat thing is that you can see this effect reduce as you look at longer time controls:

Blitz (less than 10 min): https://lichess.org/stat/rating/distribution/blitz

Rapid (less than 30 min): https://lichess.org/stat/rating/distribution/rapid

Which makes sense because the time and effort of gambling just one more game to get the rating back over the line is higher at the longer time controls.
I can't say if it's inspired by the site you link, but basing your suspicion on the hexagonal shape is very weak, at best.
Also, the data seems to be in different resolutions, and the actual jamming data is quite different just looking at both sites.

I've seen hexagons used for maps and boardgames for years.
And I think the above commenter's point is that ADS-B data does not indicate intentionality.
I think anyone can still say they they have NOT been contacted by a given agency?

That given, they are not going to "waste" their canary if it was a simple request for information. Best guess, this is the beginning of the end for Ethereum and they have been compromised just like Blockstream and BitcoinCore were previously.

It is best to assume that from now on Ethereum is no long a decentralized application but its development is being directed by a governmental agency, again, same as BitcoinCore.

Most important next step for Cryptocurrency is to make it development resistance. Every notable attack on crypo the last few years has not been hackers but developers like Greg Maxwell, Peter Todd and Adam Back who attack the code base out in the open, acting as useful idiots for three letter organizations. It seems ETH is next on the chopping block.
Stop flagging this stuff. Stop it.

Where is your humanity?
Probably referring to:

https://cloud.google.com/blog/products/databases/inside-clou...

https://apple.github.io/foundationdb/cap-theorem.html
Ah, is this Ryanair's plan to divest from their all-Boeing fleet? :)

It should be pretty simple for Flightradar24 to exclude non-commercial aircraft from the data through, which would solve that problem.

There's also tons of data available in the ADS-B signal that should help distinguish between aircraft-motion-induced outages and actual jamming: https://mode-s.org/decode/content/ads-b/7-uncertainty.html
I'm looking forward to doing careful benchmarking, as this renderer absolutely looks like it will be competitive. It turns out that is really hard to do, if you want meaningful results.

My initial take is that performance will be pretty dependent on hardware, in particular support for pixel local storage[1]. From what I've seen so far, Apple Silicon is the sweet spot, as there is hardware support for binning and sorting to tiles, and then asking for fragment shader execution to be serialized within a tile works well. On other hardware, I expect the cost of serializing those invocations to be much higher.

One reason we haven't done deep benchmarking on the Vello side is that our performance story is far from done. We know one current issue is the use of device atomics for aggregating bounding boxes. We have a prototype implementation [2] that uses monoids for segmented reduction, and that looks like a nice improvement. Additionally, we plan to do f16 math (which should be a major win especially on mobile), as well as using subgroups for various prefix sum steps (subgroups are in the process of landing in WebGPU[3]).

Overall, I'm thrilled to see this released as open source, and that there's so much activity in fast GPU vector graphics rendering. I'd love to see a future in which CPU path rendering is seen as being behind the times, and this moves us closer to that future.

[1]: https://dawn.googlesource.com/dawn/+/refs/heads/main/docs/da...

[2]: https://github.com/linebender/vello/issues/259

[3]: https://github.com/gpuweb/gpuweb/issues/4306
Sorry, what is? It isn’t to post or ask for archival links. It’s only a contravention if someone complains about paywalls.
I've also been suspicious of the long lasting topical antiparasitics for cats - The drugs are targeted to glutamate gated chloride channels which mammals don't have, but, off target binding to excitatory glutamate receptors (AMPA/NMDA) is still possible in theory and likely in practice given the adverse/overdose effect is seizures. I'd like to think seizurey behavior should be obvious, but subacute excitotoxicity is harder to characterize - usually is only mentioned in the context of cognitive damage from chronic subacute seizures.

But on the other hand it's good at keeping the ticks from attaching to my cat so they can all move on to me as I sleep, totally worth it
If line of sight to the jamming antenna is required to be jammed, why do aircraft not have a downwards shield so that they only receive GPS signal from the sky (satellites) and not from jammers (coming from the bottom hemisphere)? Or is the jamming signal so many orders of magnitudes stronger than the satellites that there's always going to be some gain no matter how good the shield is?

Ok it exists, but shielding is (only) about 20dB looking downwards, which may not be enough: https://safran-navigation-timing.com/product/8230aj-gps-gnss...
> A lot of the decently-paying jobs in services, tech, etc. that these communities rely on essentially make the world a worse place, but they're profitable, and people gotta eat.

If those jobs are paid for by voluntary customers, then that's fine. If they're subsidised through taxes of people who don't want them, that's the issue I'm mentioning.
The same thing that makes any successful product succeed. The mockery is independent of the success.
It’s an interesting point but the actual technical discussions on HN wouldn’t work if we don’t “just take some people's opinions or statements as bonafide truth just bc "they seem credible"”, there would be much too long of a sussing out process for the forum paradigm to be tractable.
Comments moved to https://news.ycombinator.com/item?id=39765718.
You can call it overpopulation, I call it underdesalination. There is lot's of sun there and lot's of seawater.
One thing immediately comes to mind: methane hydrates. We don't know how much is out there and we don't know how temperature sensitive it is--the result is that they aren't even included in the climate models. Yet the worst-case predictions are even worse than for CO2.
Agenda over science? What? It isn’t anti-science to be against eating meat because of its role in climate change. To think otherwise would be anti-science.