skysight-inc/HackerNews huggingface dataset:
That particular task didn't need parallel agents or any of the advanced features.

The prompt was:
<prompt>
Research claude pricing with caching and then review a conversation history to calculate the cost.
First, search online for pricing for anthropic api with and without caching enabled for all of the models: claude-3-haiku, claude-3-opus and claude-3.5-sonnet (sonnet 3.5).
Create a json file with ALL the pricing data.

from the llm history db, fetch the response.response_json.usage for each result under conversation_id=01j7jzcbxzrspg7qz9h8xbq1ww
llm_db=$(llm logs path)
schema=$(sqlite3 $llm_db '.schema')
example usage: {
"input_tokens": 1086,
"output_tokens": 1154,
"cache_creation_input_tokens": 2364,
"cache_read_input_tokens": 0
}

Calculate the actual costs of each prompt by using the usage object for each response based the actual token usage cached or not.
Also calculate/simulate what it would have cost if the tokens where not cached.
Create interactive graphs of different kinds to show the real cost of conversation, the cache usage, and a comparison to what it would have costed without caching.

Write to intermediary files along the way.

Ask me if anything is unclear.
</prompt>

I just gave it your task and I'll share the results tomorrow (I'm off to bed).
My friend uses Oko on iOS to tell her when the walk light is on, and when the numbers are counting down. There is also a navigation aid that she doesn't quite feel comfortable using yet, but I will say the Oko app being able to tell her (quite precisely) what is going on with the stoplight has been a big confidence booster for her getting out into the busy world.

https://www.ayes.ai

The leader in the field is BeMyEyes, of course. They've been working with Microsoft to integrate GPT-4o vision models into their app, with some great success. What we haven't seen yet is the move to live-video image recognition that could come from something like an OrCam or Meta glasses (they recently announced a partnership with Meta). I'm guessing there are serious safety issues with the model missing important information and leading someone vulnerable astray.

https://www.bemyeyes.com
https://www.bemyeyes.com/blog/be-my-eyes-meta-accessibility-...

OrCam has a new product (woe upon those of us who have the paltry OrCam MyEye2) that the Meta glasses will be competing against at an eye-watering > $4K price point, that seems to do less.

https://www.orcam.com/en-us/orcam-myeye-3-pro

As with the hearing aid industry which recently went over-the-counter causing prices to plummet, the vision aid product category is in temporary disarray as inexpensive new technologies makes their way into a premium-price market.
Him being in the middle of a mad coke bender would explain so much. I'm accepting this as canon until we find out WP Engine slept with his wife or something
None of the main selling points of emacs have anything to do with its shortcuts or using it in the terminal. Plenty of emacs users (including me) rarely or never use it in the terminal. It’s a GUI editor just like vscode is.

I think this misconception comes from the fact that (1) people often compare emacs and vim, and (2) vim is usually used in the terminal. But emacs and vim are really categorically different things so I think the “emacs vs. vim” meme kinda doesn’t make sense.
People talk a lot of nonsense about 'Beeching cuts' without really understanding the history. 'Beeching' has simply become a political buzzword anybody who knows even a little about rail likes to bandy about.

Lines started closing around the 1930s and after WW2 this continued. Beeching was only working on this topic a short time and produced a report that suggested lots of things. Some of those things were done, others weren't. Cuts happened before Beeching and after him. And they happened during various different railroads organization schemes.

That it was strictly about profitability is also false. If anything it was about cost. They believed in future buses (and yes cars) would take car of those communities. At that time bus services were often government run.

And Beeching was actually correct in many cases. The British rail system was simply not rationally build. It was basically built by partly speculation driven rush. While this is not a bad and certainly gave Britain a great rail system, once you have centralized control it does actually make sense to reevaluate. Lots of lines didn't make rational sense to continue.

Now of course I agree that to many lines were closed that shouldn't have been closed. But that is only a small part of the issue with the rail system. Britain still has a pretty high rail density.
A lot of times junior engineer positions are simply stepping stones to better positions at other companies. Junior engineers take a lot more time and investment before they become positive EV for the team. In tech especially people job hop frequently, which means that the average EV for a junior engineer can be very low or even negative.
>The methodology is also kind of strange, the psilocybin group got a total of 20 hours of in-person therapy during their 'treatment' and 6 follow-up skype calls, whereas the SSRI didn't get anything other than the 6 month questionaire.

They got 'matched' support, which reads to me as 'equivelent':
"Patients were randomly assigned (1:1) to receive either two 25 mg doses of the psychedelic drug psilocybin administered orally combined with psychological support (‘psilocybin therapy’ or PT) and book-ended by further support or a 6-week course of the selective serotonin reuptake inhibitor (SSRI) escitalopram (administered daily at 10 mg for three weeks and 20 mg for the subsequent three weeks) plus matched psychological support (‘escitalopram treatment’ or ET)."

>They also measured results by a self-administered 16 question "quick inventory" depression survey. To enter the study they had to be officially diagnosed with major depression by a doctor, but the results of the study were based completely around a self-reported 16 question questionaire?

This is only the follow up portion, and as secondary measure at 6 weeks. The original study (https://clinicaltrials.gov/study/NCT03429075) says the primary measure was; "Change in blood oxygen level dependent (BOLD) signal during fMRI in response to emotional faces during an emotional faces paradigm done inside the fMRI scanner." at 6 weeks vs baseline.
> We never eat food made in a factory. We buy raw products and spend a good amount of time every day cooking them.

> ...

> Yet... the number on the scale kept on creeping up.

That is absolutely terrifying. What oils did you use for cooking?
If you would even attempt it to make it net zero you would get truly ungodly amounts of pushback, I don't think you understand how bad it would be. Truly, for those used to a privilege, fairness is an attack.

Furthermore: you have a state of affairs where you are pretty much forced to own and drive a car to e.g. get to work or move around. You make it reflect its true cost making it impossible to afford for anyone except the rich. What now?
You didn't provide details, you provided a defense, which is weak at best.
He did multiple vidjayos debunking spontaneously combusting oily rags and then offhandedly mentions that 9/11 was an inside job. You've got your forensic engineering priorities backwards!
> I don't consider any of that to be credible proof.

Everything is up to people's personal consideration so that really isn't saying all that much.
I still use floppy drives and don't have to worry about something I plug into my USB port being more than meets the eye.
https://zendeskcompetitor.com is still available.
I'm in California and it was indeed off by default.
I grew up on well water. Survived. My dad tests it once in awhile. Occasionally throws some bleach down the well.

Honestly the most problematic crop is Corn for so many reasons other than the ones mentioned here. We need to stop putting ethanol in gasoline in the US, but for whatever reason, the EPA refuses to act on this.
Does anyone know the legal and liability risk position for a global scale company in relation to where work is done?
Now we could only get rid of subscription-only software, junky cloud features, intrusive advertising/telemetry/AI spyware, etc...
The World’s Only Natural Nuclear Reactor
1. I would like higher-level datatypes for key abstractions, such as

(1.1) Marks -> StableRegions

- reference specified text within a buffer

- continue to reference same text despite insertions or deletions

(1.2) Strings & characters -> StringBuffers

- lightweight immutable buffers (no branches or versions)

- able to hold any content a subset of a buffer can hold

- could be StableRegions of an Arena Buffer

(1.3) AbstractBuffers

- immutable buffers + a tree of deltas

- some special delta types for, e.g. indentation

- AbstractBuffers support transactions and versioning

- can support collaborative editing

- specific versions can be written to textfiles

- all versions can be stored in git or in relational database

2. Use WebAssembly instead of a specific programming language.

- This was the vision for Guile.

- Scheme one of several languages.
- ELisp supported but Emacs port efforts keep failing!

- The Racket ecosystem has captured this pretty well
- if only it supported ELisp!

3. Prefer languages at least as simple as Scheme, but with monotonic semantics!

Non-mutable operations would appear as transactions appearing as branches/versions.

An editing session would automatically follow the latest transaction in the current branch.

Concurrent edits of the same "file" create different branches as with git, et al.

4. Separate monolithic Emacs process into SessionProcesses, DisplayProcesses and WorkerProcesses.

Multiple DisplayProcesses would allow for tightly-coupled collaborative editing. A WorkerProcess would interface buffers with processes, files, git repositories, etc. on a specific account@host giving functionality like Tramp. A user would start with one DisplayProcess connected to a SessionProcess. A SessionProcess would provide the interface between DisplayProcesses, WorkerProcesses and any co-SessionProcesses of collaborators. WorkerProcesses could be scripted without any other overhead.
I think some of the observed muscle loss might be just burning the fat tissue embedded inside muscles (marbling).
Comments are disabled or moderated. I tried as well.
That's a matter of train infrastructure and frequency keeping up with demand. There's a big lag there. You don't just buy 100 new trains overnight. It's a symptom of ramping up. Not of high usage.

I live in Barcelona and here the metro comes every 2-3 minutes. Even during the night it might be 7 minutes. This helps so much with congestion but also trip planning: no need to check train times before you go. Id imagine busy routes in Germany could do similar.

The big benefit of this is also not needing a car. Not having to worry about maintenance, write-off, finding parking and the cost thereof, summer and winter tyres, damage, no-claim bonus, travelling while having drunk, going back from a different place than you arrived. It's so incredibly more convenient than having a car. All at a flat rate of 21€ here.I hope never having to need one again.
Good catch! Sadly it's too late to edit my comment.
Integer counters are a problem because they leak information. In most cases I've encountered that's not acceptable.
Nice game. @author Please just consider removing super-thrust effect when booster is punctured. Obviously engines have much more thrust than the gas escaping through the puncture, so crazy rotations after puncture are not realistic at all. Better behaviour would be a rapid loss of oxygen or CH4 and loss of engine thrust.
I Think of the Expression Problem
I mean it sounds like a way to trick people into letting a giant company build a surveillance system, and I imagine aliens observing humans in this moment in history might conclude that's what we want, but for science or the benefit of the people "surveyed" it's mostly downsides
Pretty ingenious way to hide a 1500 spot carpark underneath.

Toronto is thinking of doing something similar, except to hide the downtown rail lines instead.
The article spun off into an op-ed piece discrediting Columbus and his achievements. What a shame.
That's a crazy amount of work and a crazy amount of quirks indeed. Very much illustrates a mindset where the user is at fault if they provide bad input - and development effort for everything was multiplied compared to today. In 1985, of course, nobody cared about things like security from untrusted inputs, and reproducible builds.

My favourite bug from this list is that the compiler expands tabs to spaces in string literals and puts them at tab stops based on the string literal's horizontal position in the source file.

I think that being able to directly define resource type 6 is not a bug. You got exactly what you asked for - an invalid resource. Crashing when loading it isn't a bug, either.

I suppose that style flag arguments are parsed as |-separated lists of numeric or NOT expressions, rather than single expressions where | serves as bitwise-or.

> If the truncated value is >= 0x80, add 0xFF00 and write the result as a little-endian u32. If the truncated value is < 0x80 but not zero, write the value as a little-endian u32.

This is sign-extension: s8 -> s16 -> u16 -> u32. The examples below this also seem to have reversed the order of the input byte and the FF.

Visual C++ 6, at least, includes a toolbar resource editor. IIRC it shows the toolbar metadata and the bitmap together in one editor, and you edit each button's image individually even though they are concatenated into one bitmap in the resource file.

"GROUPBOX can only be used in DIALOGEX" might refer to some limitation other than the resource compiler. For example, perhaps Windows versions that don't support DIALOGEX also don't support GROUPBOX.

A lot of them could be caused by memory safety errors. For example the fact that "1 ICON {" treats "ICON" as the filename is probably because the tokenizer doesn't set the Microsoft equivalent of yytext for tokens where it's not supposed to be relevant. Maybe it would even crash (null pointer) if { could be the first token (which it can't).
The support notice got deleted[1]. The plugin developer got banned. Blocking access from certain ip. Shady or problematic hosting term[2]. I think hosting your code on wordpress.org is considered dangerous.

1. https://wordpress.org/support/topic/future-updates-for-acf-a...

2. https://github.com/wordpress/wporg-plugin-guidelines/blob/tr...
The inferential mood (your "gossip tense") is more related to mood (signals a particular relationship to truth or reality) than tense (signifies a relationship to time).
- Individual subs like /r/programming are larger.

- HN is ~100x smaller than twitter which is itself not even in the top 10: https://en.wikipedia.org/wiki/List_of_social_platforms_with_...
They're also quite forthcoming in paying back 25% to 50% of the ticket price when delayed more than 1 or 2 hours

There is nothing forthcoming about that, they are required to to that by regulations. No bonus points for DB here whatsoever.

which is a frequent occurrence on the longer trips

That is something we can agree upon.

reserve seats and sometimes actually choose which seats I want

SNCF-Connects lets you specify the exact seat configuration. You can choose single, double (window or not), quadruple (next to each other or face-to-face). In addition to that you can express your preference for family area and if you do not want to sit facing against the driving direction.
Sammy Basso, longest progeria survivor, dies at 28
Outsourced companies deal similar issues internally while also forcing you to trust their management. Internally this kind of corruption is more difficult because you have more control, and fewer people are going to cooperate. Similar to how companies can regularly use untrustworthy low level employees handle cash.

You can still get rogue employees in ether case, but an outsourcing company is like a ready made conspiracy where any corners cut automatically turns into money.
> Imagine a 10,000yrs from now, someone finds a portion of a fossilized city dump with no direct access or lineage from present day. There’s not much that can be gleaned of things there.

You say this has all happened before, and yet that "a modern city dump in 10,000 years" would have a LOT of artifacts that do not exist in any 10,000 year old sites we've found. If we were to find one, a lot could actually be gleaned from it.
Ask HN: I use Apple email client. In this age of AI, why do I still get spam?
Is spam unsolvable even by AI?
> few dozen in the room with you is an adequate sample

It's not, though? Unless you're fine with a very high margin of error... Also the sample in studies like this is hardly ever close to being random anyway.

> it should not surprise you that statistical significance is achieved through a much smaller sample size

Sure... just with a very low confidence level.
As described in the other thread, this is known as the inferential mood in Turkish: https://en.wikipedia.org/wiki/Inferential_mood
Just because we can’t do anything about it doesn’t mean that China won’t. They haven’t been completely unresponsive to internal pressure on air pollution and armed with public data, the government might want to take action. Most countries in the world don’t have the resources to run these kinds of satellites anyway so they depend on NASA/ESA to make this kind of data available to decision makers.
As someone else mentioned, he is 15. I would have thought the same thing when I was his age.
Yes. The government massively subsidises owning physical property.
Yeah, it seems that "self-driving trains" are a much, much more tractable problem than self-driving cars. On the other hand, the cost of the driver is amortized over many passengers, and much of the labor isn't driving but rather serving as conductor, etc, so it may not even matter too much.

> automated cleaning of trains inside and out)

For the outside, you can imagine a carwash.

For the inside, my brain goes to scary dystopian places. Like, "what if we make the inside out of chemically-inert glass-based materials, and clean it by immersion in pirhana solution?" One would just need to recycle the solution, and recharge it with hydrogen peroxide. This would rule out the use of plastics in the interior, however.

Maybe something more like a dishwasher could also work, but I'm not sure it'd be Strong Enough for Tough Stains. It could even just make a mess. I've heard stories of Roombas that encounter dog poop; they say it goes badly...
Non-rivalrous means that a good can be used by multiple people at the same time without reducing the amount available to others. By nature, digital licenses are non-rivalrous.

This means it can be used by multiple people at the same time without diminishing their quality or quantity. For example, a fireworks display is non-rivalrous because everyone can enjoy it without affecting the quality of the show. Likewise, software can be enjoyed by everyone without affecting the quality of the life of the producer or its content and there is no indication that piracy can limit the latter and former.
It should be a standard to make bugs public or disclosed to the affected companies atleast a while after it's discovery so at least the companies which are connected to each other can implement their own fix,other wise having closed deals with security researchers behind doors and asking them not to reveal the truth, isn't going to prevent bad actors from using the vulnerability. It is times like these we should reconsider our standard in terms of web security as a whole.
That would be spectacular! Please alert HN when you have a fart seen from space, I am sure we will all clamor to be the first post to comment!
Off topic, but a bent towards irrational optimism is necessary for progress. Generally, positive bias is needed for good mental health.

Probability shows that your idea will almost certainly fail, but you can’t believe that and put in the necessary effort to make it succeed.
Lol, that depends heavily what you consider staff. E.g. look at freight, if you move cargo by trucks you need 1 staff member (sometimes called drivers) per truck. Train on the other hand needs only 2 people per hundreds of meters of train...

Even worse for individual car transport. You need one staff (driver) per vehicle...
If someone is unfamiliar with psychoactive drugs, I would suggest they eat a single mushroom cap in a safe, private, comfortable environment and with another person who has some experience. I think it is a more pleasurable and worthwhile experience than marijuana, which can actually be more intense and is more prone to generating anxiety and paranoia. There's lots of resources online and there are communities in a lot of cities that advocate mushroom use.
Emacs is fine, but buggy as hell.

That kind of took 180 turn on that one.

Ship is fine, but leaks as hell.
The far-right Berlin government is currently doing its darnedest to build the most expensive highway in all of Germany, that nobody actually wants, through a cultural area. Probably because their friend owns the highway construction company.
I dont know how things are in germany but in the netherlands a lot more people own cars which slows down traffic.

All over the world they keep rebuilding congestion points only for traffic to increase.

If making public transport cheaper attracts more travelers there will be fewer cars on the road. The money spend on public transport will aso make car travel more efficiënt. Roads will last longer. Fewer upgrades are needed. Cars will last longer. etc

It is hard to picture how many cars it takes to move a train full of people.

> 7.6 percent fewer kilometres travelled by car.

> German cars were recorded to have travelled 582.4 billion kilometers.
Funny I just looked and Reddit says r/programming is 4.1m which last I checked is less than the 5 million unique visitors HN was getting a few years ago when I last saw stats by the moderator and I don't know what it's at now.

Twitter works completely differently from most platforms and isn't a unified community.
HS2 was an ongoing project, it was threw. It was simply cancled by a fucking asshat person who tried to appeal to the far right in a series of stunts to save his sorry ass.

New housing has to be built along transportation corridors. If you want to efficiently build housing, you have to extend transportation infrastructure into areas and then grow towns around that.

This isn't actually hard and has been done for 100 years but somehow in modern day many countries are to stupid to understand this.
| Actual historical accounts tell something much closer to the the original story we knew as children

Anyone who thinks this is remotely true should read A Short Account of the Destruction of the Indies by Bartolomé de las Casas.
Here’s one: https://apnews.com/article/supreme-court-nuclear-waste-texas...
Then download the individual game installers.

I understand that there is some convenience to the GOG client but, if memory serves me correctly, you have to configure the client to keep the installers. If you do not keep the game installers, you are not much better off than you would be if you obtained the game through Steam. If anything were to happen to GOG you would eventually end up losing access to the game.

Besides, the ability to run games without the client is a huge benefit in my books. You simply launch the game and immerse yourself in it. You have do not have to go through the marketing department (erm, store) in order to play the game.
Offering unsolicited advice is a bad habit. If you find yourself using the words “you should” a lot, reconsider making those statements.
Thanks!

I'm actually pretty okay with where I've landed with FONT resources. The legwork has already been done in figuring things out, and with the strategy I've chosen, resinator doesn't even need to parse .fnt files at all, so the implementation is pretty simple (I wrote a .fnt parser, but it's now unused[1]).

[1] https://github.com/squeek502/resinator/blob/master/src/fnt.z...