skysight-inc/HackerNews huggingface dataset:
> if your insurance policy does not cover the full amount you can be on the hook.

If "your" means the person who got hit, it's not their insurance that's on the hook, it's the insurance of the person who hit them.

Yes, that person's insurance will have a limit, after which your own insurance coverage for uninsured or under-insured drivers would kick in. And if that also hits a limit, then you would have to sue the party that hit you for damages to get back anything you had to pay over the limit.

> you have to pay the medical bills and get stuck with them if the responsible party is under insured and lacks assets.

In this situation also, yes, once you were over the limit of your own uninsured or under-insured driver coverage, you would have to go to court to get the burden put on the responsible party, so that if that party were judgment proof, it would be the medical provider's problem, not yours.

> if someone else is responsible for the costs you should be able to simply transfer all subsequent costs to them

You can do this, but yes, it does take a lawsuit once you're over whatever limits insurance will cover, as above.
So they've given up on hardware and are now looking for insecure phones to try and access banking apps. Interesting.
Discussion (136 points, 76 comments) https://news.ycombinator.com/item?id=42083559
> accident created expenses seem like one of those things where the state should cover the personal injury costs

As far as an individual who gets injured by someone else is concerned, "the state" is just another form of insurance. I'm not sure the state is any more reliable as an insurance provider than private companies; indeed, it might often be less so since it is subject to political pressures that private insurance providers are not.
Context for readers from countries where this isn't an issue, or anyone who hasn't followed decongestant news: one of the most effective decongestants is called pseudoephedrine.

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

In the past this was easily available, with the most popular brand being Sudafed. My parents always told me that one should take Sudafed when flying after having had a cold, in order to avoid severe ear pain from the pressure changes, but people would also obviously take it when not flying, just in order to reduce the discomfort of the congestion itself.

Pseudoephedrine is very effective. It is also used to synthesize the somewhat related illegal drug methamphetamine ("meth"). Historically, meth manufacturers would hire people to buy large amounts of pseudoephedrine pills at pharmacies and supermarkets, then grind them up and synthesize meth from them.

In order to deter this, authorities in the U.S. restricted the availability of pseudoephedrine, while not making it prescription-only, by limiting the amount that people could buy, and requiring buyers to show ID and be put on a registry (which law enforcement could use in investigations). I think this is the only drug that is treated this way. Some people stopped buying pseudoephedrine entirely, either because they were offended by these rules or because they were afraid that they could wrongly be implicated in meth investigations if they appeared to buy it too often.

The pharmaceutical industry produced an alternative called phenylephrine, the substance that this proceeding relates to. Most manufacturers of pseudoephedrine-based drugs, including Sudafed, formulated alternative decongestants using phenylephrine. There are no legal restrictions on phenylephrine drugs; one can buy them anonymously and in any quantity. Customers have complained for years that these are much less effective than the original formulations.

A couple of years ago this regulatory authority started looking into the question of whether phenylephrine is actually completely useless as a decongestant (rather than just much worse than pseudoephedrine). Their preliminary review of studies suggested that it is probably, in fact, useless. This proceeding is now proposing to ban it on the grounds that it's ineffective and so people should not be encouraged to buy and use it as a medicine for purposes for which it doesn't actually work.

(There doesn't seem to be much corresponding initiative to remove or reduce the restrictions on pseudoephedrine.)
But this is not unaided Haskell, it's a parser combinator library, isn't it?

Do you see an obvious reason why a similar approach won't work in Rust? E.g. winnow [1] seems to offer declarative enough style, and there are several more parser combinator libraries in Rust.

[1]: https://docs.rs/winnow/latest/winnow/
Corinthian Bronze
It's like debugging.. I'm sure you must have worked on an unfamiliar code base at some point and had to figure it out. Instead of having the source you have the binary and using tools like Ghidra you can start to piece together the source but you'll still need to reason over it the very same way you did on that unfamiliar codebase and this time there's no comments at all ( which isn't uncommon in a lot of source available projects mind you )

So you're probably already half way there. Being familiar with assembly code helps of course.
Half the products in chemist warehouse are pretty blatant scams. It's insane how effective, important pharmaceuticals are sold side by side with products known to be ineffective and that exist purely to strip uneducated customers of their money.
Dear god please forgive humanity for these horrible abominations
Language and culture are intimately tied. You cannot just make them separated things.

You can pretend to do it. In some way it is similar to religion: you can pretend the westerner world has no religion. However, in our conduct and behavior, there is a huge christian remnant.

The same, in some way, happens with languages: the words used, the words that exist in one language and not in another, the connotations a word has...
there is lots of culture embedded in a language and when you change language, culture cannot stay the same anymore. It varies bc the culture itself is embedded in languages.
About 20 years ago I was an undergrad at the university of Padova (italy), and in the outskirts of the city (in Legnaro) there was a fusion experiment. The fusion device was in one building and the control room was in an adjacent building. Back then we were using CRT monitors and each time there was a fusion event, the magnetic confinement field was so strong that the image on all the screens in the control room would simultaneously shift on one side and then spring back when the field was turned off. Across buildings.
> Children can not consent. They can't sign contracts. They don't understand the ramifications of what algorithmically delivered content does to you.

I’d argue, neither do the majority of adults.

I’m still for this ban because a young brain is so much more malleable and hence much more at risk.
Big +1. It’s like getting all the same socks, all the containers are just the same!
Looking at the syncer it seems like copying data to csv from the whole table everytime (?)
Code: https://github.com/BemiHQ/BemiDB/blob/6d6689b392ce6192fe521a...

I cant imagine until at what scale can you do this and is there anything better we can do before using debezium to sync the data via cdc?

Edit: add code permalink
As well as not telling each other what languages to write software in, people need to stop calling each other weirdos and drama queens etc.

Every community of advocates has extremists in it. The idea that everyone who uses rust is a weirdo is itself pretty strange.

Most people who use language x are like most people for all languages x which have reached any sort of critical mass.
Yeah I actually remember that too, this article mentions it:

Coroutines for Go - https://research.swtch.com/coro

The parallelism provided by the goroutines caused races and eventually led to abandoning the design in favor of the lexer storing state in an object, which was a more faithful simulation of a coroutine. Proper coroutines would have avoided the races and been more efficient than goroutines.
Despite how far its rotted, macOS is built on object-oriented APIs. Making Apple Intelligence work for text means adding it to NSText and whatever crappy UIKit objects came over with Catalyst/SwiftUI, not every single app individually bespoke.
most people just want a phone, to check email, watch a youtube video, check tiktak, etc. they don't want to do serious computing on their phone. I'm in that crowd. I have more computers than you can throw a stick at, I don't need that out of my phone.
Here is the first product which I made. Here's how it works:

1. A customer finds brand's ad or story and clicks on the link.

2. They're redirected to a checkout page, where they fill in their details and click 'Buy Now'.

3. Next, they're redirected to PhonePe to complete the payment using their preferred method.

4. After payment, the customer is redirected to a feedback page.

5. Once payment is confirmed, you receive an order confirmation email with all order details, enabling you to fulfill the order.
As far as I know the iCloud backup are unencrypted so law enforcement can just request a backup of those instead.
> But the phrase "orange man bad" suggests that criticisms of Trump's character are superficial, when in reality they are based on his behavior and statements.

No to me.

To me, "orange man bad" suggests obsession, myopia, and a failure to realize criticizing Trump does not make the case for any alternative.
Well as a human the human species is what matters. Pretty simple
So it's not just me. I asked for a license to do pkgsrc package building on QNX, got rejected, and couldn't even get a human to respond to my messages with anything that didn't resemble a copied-and-pasted form response.

They gave the impression at the time that they really couldn't be bothered with open source. This just happened to be not long after 2010.
And they all converging towards one use case, and targeting one consumer base. It's still unclear for consumers, at least based on this thread what differetiate them.
So, we have to look at our requirements first. QNX systems want performance, UNIX compatibility, increased reliability/security, field-proven, and supportable. They want certain features that increase developer productivity, too. You can run a lot of stuff on QNX within its existing security expectations.

Whereas, seL4 is a separation kernel. It does almost nothing but with high security. To do anything, you have to add software to it that can undermine its security or performance claims at a system level. These are also unproven additions most people know nothing about. That overall deal might be fine if one component being ultra-secure is your highest goal.

QNX is usually better than seL4 for most needs. Even security people because they’ll want useful functionality which they’d have to secure on seL4 anyway.
I feel like that talk has more to do with expressing concurrency, in problems where concurrency is a natural thing to think about, than it does with lexing.
rust-analyzer, the Rust LSP used in e.g. VSCode, can expand declarative and proc macros recursively.

it isn't too bad, although the fewer proc macros in a code base, the better. declarative macros are slightly easier to grok, but much easier to maintain and test. (i feel the same way about opaque codegen in other languages.)
Doesn’t really seem like that in most cases. As a moderate and independent I’d say the left seems to want to control a lot, create very little. The right has an anti-science problem so not a ton better
SuperPrompt – A How to Use Tutorial
A CEO of multiple large corporations and I guess a political actor now with 12(!) children beats all the young folks with unlimited time to sink into that game.

No way in hell he does not pay somewhere or someone to get to that level.
Musk is no superhuman. He might brag about this with Rogan but to me this fact more than any other shows how delusional and unlikable he is nowadays.
Haskell definitely takes the cake in terms of leveraging parser combinators, but you’re still stuck with Haskell to deal with the result.
Sweet. Personally, I use both Cursor and Codebuff.

I open the terminal panel at the bottom of the Cursor window, start up `codebuff`, and voila, I have an upgraded version of Cursor Compose!

Depending on what exactly I'm implementing I rely more on codebuff or do more manual coding in Cursor. For manual coding, I mostly just use the tab autocomplete. That's their best feature IMO.

But codebuff is very useful for starting features out if I brain dump what I want and then go fix it up. Or, writing tests or scripts. Or refactoring. Or integrating a new api.

As codebuff has gotten better, I've found it useful in more cases. If I'm implementing a lot of web UI, I can nearly stop looking at the code altogether and just keep prompting it until it works.

Hopefully that gives you some idea of how you could use codebuff in your day-to-day development.
In Haskell I think it's something like:

{-# LANGUAGE OverloadedStrings #-}
import Data.Attoparsec.Text
import qualified Data.Text as T

type ParseError = String

csgParse :: T.Text -> Either ParseError Int
csgParse = eitherResult . parse parser where
parser = do
as <- many' $ char 'a'
let n = length as
count n $ char 'b'
count n $ char 'c'
char '\n'
return n

ghci> csgParse "aaabbbccc\n"
Right 3
After hot debate, NATO declared that Ukraine would eventually become part of NATO in 2014.

It did no such thing. NATO formally rejected Ukraine's membership application in 2008. And there it has sat, in the doghouse, ever since.

This led to Russia taking Crimea to send a message.

Russia's regime invaded the Crimea and Donbas on the 2014 on its own initiative, out of its own ideological motivations; nothing "led" it to take that action.
With C++/Objective-C being not recommended any more, we need mainstream GCC compilers.

Gccrs, gccgo and GDC are the way forward.
Show HN: Truffle AI – No-Code Serverless AI Agents Platform
Hey HN!

We started building this after working on multiple agent projects and realizing we were setting up the same infrastructure over and over, only to tweak the application layer each time. It felt repetitive, so we thought, why not streamline the process? Now we’re able to ship agents nearly 10x faster, and we’re hoping this can help others too.

With Truffle AI, you can build and deploy AI agents tailored to your needs with ease. It comes with in-built RAG and you can also easily share/embed your agents. We’ve got a drag-and-drop workflow builder, and you can manage and update all your agents in one place. It’s available as an API too, with more features on the way, like custom tools and autonomous multi-agent support. Plus, if you want to integrate agents into your own apps, we’ve got an SDK you can check out: https://github.com/truffle-ai/truffle-ai-sdk.

We’d love any feedback on what would make this more useful for you!

Thanks!
not everyone cares about that. They want something they know and something that works for them, not everything has to be FOSS
The only reason it’s discussed is because the unedited interview was posted before the network broadcast.

https://youtu.be/CUcTwYS1pd4?si=patMUOdlLse5ZeV3
I swear I read a report somewhere that said something like PE is effective iff you take twice the dose on the box or you take it with other drugs (I think ibuprofen was tested?), although I can't find it again, and I may have read it when I was congested and only had PE.

My lived experince with PE is it never works most of the time. But if I realise I need psuedoephedrine and I'm not somewhere or sometime where I can access it, I'll get PE and hope. Sometimes hope works, but it usually doesn't clear my sinuses very effectively. But if I have sinus congestion related to flying, I might also have soreness related to flying and take PE (because you can get it at the airport) and ibuprofen together, and maybe it works.

But also some people are more sensitive to some drugs, so it could work for you, while not being very effective in general.
Tiered-cache: A zero-cost, multi-tiered cache system with async support
I just released tiered-cache, a high-performance caching library that automatically manages multiple memory tiers. I'd love your feedback and contributions!

Why another cache library? Most cache needs predefine by number of items capacity, this one's capacity is defined by the bytes given to it, so it provides more precise memory control and prevents unexpected memory growth. Rather than limiting by an arbitrary count of items, you can directly manage the actual memory footprint based on your system's constraints. This is particularly useful when cached items have varying sizes or when working in memory-constrained environments.

This implementation also focuses on automatic tier management and memory efficiency. It intelligently places items in different tiers based on their size, making it ideal for applications that handle varied data sizes.

Key Features:

Zero unsafe code

Async support with Tokio

Automatic item placement across tiers

Built-in monitoring and statistics

Thread-safe with DashMap

Efficient concurrent lookups

Simple API with type-safe interfaces

Quick Example:

let config = CacheConfig {
tiers: vec![
TierConfig {
total_capacity: 100 * MB,
// Hot tier: 100MB
size_range: (0, 64 * 1024),
// For items 0-64KB
},
TierConfig {
total_capacity: 900 * MB,
// Warm tier: 900MB
size_range: (64 * 1024, MB),
// For items 64KB-1MB
},
],
update_channel_size: 1024,
};

let cache = AutoCache::<Vec<u8>, Vec<u8>>::new(config);
Check it out on crates.io and the GitHub repo!

I'm particularly interested in feedback on:

Performance optimizations

API ergonomics

Additional features you'd find useful

Documentation improvements

Let me know what you think! PRs and issues are welcome
Neat idea! The connections game looks like it's exactly the same as the original. I'm surprised they can get away with that.
In Singapore it's not uncommon. Cars are taxed enough[1] to mean most people who'd drive a Porsche find other ways to display their wealth.

[1] "For example, a new standard Toyota Camry Hybrid costs around S$250,000 in Singapore, which includes the cost of a COE and taxes. That is about six times more expensive than in the US." .... "The lowest COE for a car costs S$104,000"

https://www.bbc.com/news/business-67014420
> It is all about NATO expansion into Ukraine and entirely avoidable.

No, its not.

> After hot debate, NATO declared that Ukraine would eventually become part of NATO in 2014. This led to Russia taking Crimea to send a message.

That’s a very nice theory, except it has nothing to do with the facts. The declaration that Ukraine would “eventually” become part of NATO was not made in 2014, it was made at the 2008 NATO Summit in Bucharest when NATO also bowed to Russian pressure and declined to offer Ukraine and George Membership Action Plans to serve as near-term on-ramps to membership. After that:

1. In 2010 Ukraine adopted a law prohibiting joining any military bloc, abandoning efforts to join NATO

2. Russia invades Crimea in March 2014

3. Russia invades eastern Ukraine in August 2014

4. In response to (2) and (3), Ukraine’s government in 2014 announced it would seek to have the non-bloc status law repealed and restart efforts to join NATO

.
.
.

n. At the NATO Brussels Summit in 2021, while again not granting Ukraine a MAP, NATO “recalled” the 2008 statement that Ukraine would eventually be a member.
your point gets made over and over and over, I get it, health nuts have a list of things that they think are healthy.

My point, that there's a cost to all this that might not get repaid, is a fresh take that you never see unless you've read one of my other comments making the point.
This website can be written with vanilla JS, HTML and CSS on any framework or in a raw HTML file.

If this was still 2004, you could have gone to DyanmicDrive.com and stolen some sample code.

https://web.archive.org/web/20040117050039/http://dynamicdri...
Been fooled by QNX before, a long time ago, and it cost us a lot. Never again.
Go away now QNX, real-time Linux has won.
> You haven't made a point that I can see!

I made a pretty simple and straightforward analogy, which you didn't get. Maybe you don't get the geopolitical relevance of media control, but I'd really hope you'd understand bank account control. You = the US polity, Me = China, Bank account = something an adversary could harm you by controlling.

> I'm actually being genuine here...but I would like my questions to be answered....

> I am being told that it's a "concern" but without an explanation. What are the material, concrete harms that can come from China directing the content algo?

If you're being truthful, I think you might be at the point where you have to do some basic reading first, because you seem to need more hand-holding and explanation than it's reasonable to expect. You may also have some conceptual deficits that are so basic they come off as feigned.
My local pharmacies keep it behind the counter, but the counter has shorter hours than the rest of the store. And you've got to submit your license to be entered into their system (and who knows what happens with that data).
> we could write a checker for C that would anticipate all memory safety violations of an arbitrary C program at compile time.

I think that's called a "memory safe compiler". There have been multiple examples (SoftBoundCETS[1], Safe-C, Fail-Safe C, etc.) as well as partial/incremental solutions (-fbounds-safety, CheckedC, etc.)

An irritating problem with C is that it is underspecified, so many "working" C programs rely on unsafe operations that would be flagged as errors by a memory safe compiler.

[1] "Full Spatial and Temporal Memory Safety for C", https://people.cs.rutgers.edu/~sn349/papers/safety-sp-2024.p...
No I just need a job.
Not EBNF or anything standard, but possibly readable enough. It is an LR(1) grammar that has tested on all the test cases in Sqlite's test suite at the time:

https://lrparsing.sourceforge.net/doc/examples/lrparsing-sql...

The grammer contains things you won't have seen before, like Prio(). Think of them as macros. It all gets translated to LR(1) productions which you can ask it to print out. LR(1) productions are simpler than EBNF. They look like:

symbol1 := symbol2 symbol3
symbol1 := symbol4 symbol3
symbol3 := token1 symbol2 token2
...

Documentation on what the macros do, and how to get it to spit out the LR1(1) productions is here:

https://lrparsing.sourceforge.net/doc/html/

It was used to do a similar task the OP is attempting.
Understanding Trust Relationships in Cloud-Based Confidential Computing [pdf]
Possibly? This guy made a 3D printer out of wood and unipolar stepped motors salvaged from old typewriters:

https://m.youtube.com/watch?v=yz_DKXIuL8U

However getting the right thermoplastic filament would be a major challenge, and slicing would require a high end mainframe with graphical terminals. Everything would be prohibitively slow. Also regular 2D printers were much more expensive back then.
Cats May Recognize Their Own Name - It Doesn't Mean They Care:

https://www.smithsonianmag.com/smart-news/cats-may-recognize...
we had something about that tier - a dewalt. I watched my wife struggle with it, trying to hold square while building cabinets. It was so frustrating to me just watching her, that two years ago I went and bought her a nice saw stop deal. It cost me about $3k, but the fence holds square, its easy to adjust, quiet, and it just works.
Amazon mulls new multi-billion dollar investment in Anthropic – Report