skysight-inc/HackerNews huggingface dataset:
Show HN: GemBatch – Effortless prompt chaining with Gemini and 50% cost savings
Hi, HN!

We built GemBatch to make developing language chain applications with Google's Gemini easier and more affordable.

TL;DR: GemBatch is a Python framework that leverages batch processing to optimize your interactions with Gemini, resulting in a 50% cost reduction compared to individual prompt submissions.

Here's what it offers:

- Effortless prompt chaining: Chain prompts together seamlessly to create complex, dynamic conversations.

- Firebase integration: Build your language chain applications on top of Firebase for easy data management and scalability.

- Cost savings: Reduce your Gemini API costs by 50% by taking advantage of batch processing.

- Simplified development: Focus on building your application logic, not the underlying infrastructure.
Fair enough; on review my argument was indeed not on point. The perils of commenting while distracted, I suppose.
Which is precisely the opposite of the entire intent of Agile. Take one small thing, get it done. Done done. Then decide what the next thing is, then the next, based on what you learn from that one thing.

Unfortunately, too many people can't be arsed to actually understand things like the OODA loop, Cynefin, and the other things that describe precisely WHY that is a good idea. But hey, they do standups.
Or you're missing the point ( • ‿ • )

I think you've straight up reinforced my example. The end result is the same, but the way to get there is different.

Depending on what your destination is, a different tool might ultimately turn out to be better for the job. Even if they're both representing their state in a compatible manner on disk.

You're probably just not realizing that the way you interact with git isn't necessarily how everyone does - and that other people might have usecases that you've never thought about... Because you're not in their situation. So you're only seeing one way to reach the destination, which is why the one tool always looks like the correct choice.

To be clear, my current day job really wouldn't get any value out of any of these features either. We're doing simple trunk development on various repositories with roughly 5 authors providing commits.

Almost no merge conflicts, the most anyone does is git blame to figure out when the line was edited etc. under these circumstances, commits are essentially fire and forget and you're fine only interacting with the repository through your ide even.
YouTube no longer has a monopoly on internet video distribution. If you notice, all the major platforms now have good support for direct posting of videos.

Further, it's now easier than ever to decouple one's online life from google and so anyone not doing so is taking unnecessary risk.
https://archive.is/mvyA3
It's because medtech is only useful if individualized, and individualized does not scale. You will end up with 'range' of kids, but even that is dumb because each children apprehend different subjects differently. You can put each kid in a range for each subject (history, language, math), but even that isn't enough. In the end, it just cost 'too much' (I.E more than we want to spend).
So, the customer did a chargeback with their bank, won, and you want Stripe to eat the loss?

If I pay for something with a credit card and win a dispute with my bank, should Visa do its own investigation? And if Visa's investigation is different than my bank, do they comp the merchant?

Banks already do dispute resolution. It's maybe not the most objective system since the bank is getting paid by the customer, but it's the system we have. I'm not sure why Stripe should have this responsibility as well and I don't see how switching to a payment method other than cash or crypto would've prevented the customer from winning.
You never see reports of ANY kind of military activity in Gaza. Even the blatantly obvious, the constant rocket launches, just never got reported. None of it.

And the Hezbollah situation is the same. Constant attacks by Hezbollah on Israeli civilians ... no mention anywhere.
Any idea if the points raised here

https://pubs.acs.org/doi/10.1021/acs.chemmater.4c00643

were considered in the analysis?
Assuming you already know what context in terms of LLMs, prefilling is the process of converting the current conversation into tokens and passing that into the LLM.
Nardwuaring Nardwuar
You’ve been doing it for months - so long in fact that I’ve added your company to a list of companies that I won’t go near. I’m not even that devoted to this site but recognize both your name and the repetitive ways you promote your project.

Remember that when you try to craft a marketing message, you have to make sure that you’re not doing damage to your brand. You have done a significant amount of damage to your brand because you don’t care about this community.
A lot of these aren't postgres-specific. (null weirdness, index column order, etc.)

For example, how nulls work - especially how interact with indexes and unique constraints - is also non-intuitive in mysql.

If you have a user table with a non-nullable email column and a nullable username column, and a uniqueness constraint on something like (email, username), you'll be able to insert multiple identical emails with a null username into that table - because a null isn't equivalent to another null.
In my opinion without exams, kids will never solidify what they learn. It’s usually pretty easy to think you have a solid grasp of some thing until you’re actually asked to solve a brand new problem.
Unfortunately the internet has been corrupted by JavaScript. A website is rarely loading a single site anymore. Try noscript and you'll quickly see that, even a trivial website loads dozens of dependencies. Dependencies that shift over time.

Reality is whitelisting can't work as you'll simply break websites. This has been my experience at several schools now. Websites may or may not load. And even if they do, they rarely work properly.

Irony is, students are clever enough to realise you can use translate websites to load anything with translation from English to English. No blocking at all!
I meant to type Marine Corps' but seem to have clipped it before saving, too late now. One pilot crashing thrice in a week would be quite the feat though!
Redistribution = socialisation, I see no practical distinction or differences, but I’m open to you clarifying any that I’m missing.

I’m not arguing against socialisation of medicine per se (though there are obviously worse (UK) and better (Switzerland) models), I’m arguing against using propaganda words for it like “insurance” when it’s anything but.
Waymo Opens Up Driverless Rides to Everyone in Los Angeles
At only three years the "LTS" releases aren't exactly "long term" either.
For many years the Wal-Mart purchase of Jet was lauded as a brilliant "acquihire" by Wal-Mart because they had lagged so far behind Amazon technically and Jet gave them the bootstraps to better compete. It has been said that the modern, competitive parts of Wal-Mart's tech platform is largely owed to former Jet engineers and their .NET (especially F#) forward development ideals.

I've never worked for Wal-Mart, I've only seen PR and blog posts and job postings. That is likely its own spin of what happened, too. But during those years Wal-Mart was seen as a stable "Microsoft shop" in terms of what they were hiring for in software developers (if you didn't mind relocating to Arkansas).

Externally, the Java thing did seem to be a "coup" that came out of the blue. Like I said, the easiest explanation is that Wal-Mart, a company famous for ruthless cost cutting and layoffs, felt like they had milked their acquihire of Jet for just long enough to stay competitive and decided the easiest "exit" for those expensive employees was to force a top-down mandated tech stack change to a known cheaper tech stack and gently encourage them to quit on their own initiative in the chaos. (In that Wal-Mart was already very quick to RTO, they had already played that particular card, many other companies are still palming to cause similar layoffs.)

The Oracle rumors are icing on the cake, sure. But also extremely plausible given that is how Oracle's business works today.
I'll bite. I _worked_ at Stripe. Stripe has no authority in decision making here, the issuing bank decides (eg the customers bank) who wins and losses chargebacks. Stripe is a conduit of information, not a party to the decision.
There was a story in the NY Times a few months back about a basically one room schoolhouse in Alta Utah. Of course that's a small and mostly homogeneous community and, as I recall, it was unclear from the article how well students were learning other than presumably becoming good skiers.
There was a time when Stripe was an actually nice company to use as a merchant. But it’s just grown into Authorize.net…
> as a reader of Fefe's Blog reported

My understanding is that the blog post complains about the fact that there was a security vulnerability in Yubikeys and that Yubico doesn't exchange everything they have sold until now. But it makes sense to me: I buy a Yubikey at time T, with firmware F that by design cannot be modified. I don't buy a subscription that will provide me with an updated key every month, it's a one-off.

Until the security flaw was discovered, my keys were fine. So I paid 50$ per key for 4 years, I don't think it's exactly expensive. Now there are two questions for me:

1. Should I replace my keys? In my case, I don't think so (given my threat model)

2. Should I stop trusting Yubico? I don't think so. It doesn't seem like this flaw is due to a total incompetence from their part. If I stopped trusting software every time a critical flaw was discovered, I wouldn't use software anymore.

The blog post then goes on claiming that Yubico pretends that they sell keys with the updated firmware (on their store, it clearly says if I am ordering a key with firmware 5.7 or not) but sell keys with older firmware. That would be pretty bad from Yubikey, but the blog gives absolutely no proof. It could as well just be an empty claim to hurt Yubico's reputation, for what I see.
I'm glad to hear it's working properly now!

Thank you for your patience and understanding.

Enjoy creating with our pro templates,
and if you need any help in the future, please don't hesitate to reach out.
Here in Canada teachers are paid well but we still don't want to pay for good resources. Anything where money is going into overhead that's separate from teaching students is viewed with a stink-eye. They killed textbooks and replaced them with nothing.

Think about how many teachers are out there scrounging up and making up their lesson materials, tests, etc. because state/provincial bodies don't provide that content top-down, even as an optional resource for them to draw upon. Then teachers are told "also you need to accommodate all these special cases where students have distinct educational needs" but the basic easy stuff that could've been pre-made is consuming all the time they should've been able to spend "personalizing".
I built a proof of concept for a VC-scale app, and something like this is one of the core features. I applied to YC S24 and didn't get an interview (SUPER understandably). If anyone wants to hear details, shoot me an email (in bio); this project's vaporware until I find the right partner.
There is a tendency here to pattern match the advice in this article with frustrating experiences about office politics. But I dont see this as a post about politics.

Rather, what I got was that the spec is an incomplete description and there needs to be more inquiry into how the software is going to be used. This can require a little bit of 'going up the stack' to see how business need relates to the software requirement(single enterprise customer with a precise requirement, acquisition of new customer, software for some internal vision of CEO etc). Compare with a startup where one doesn't even have a spec and one is trying to find a product-market fit or when developers take sales calls and find new insights on how the software is actually being used.

A completely broken spec is indeed a failure in management process. But, in general, it helps a library developer to think beyond a library spec and see how it is being used.
I have no clue what this babble has to do with the concept of a "purpose" or a "telos" or an "end".
MacsyZones, FancyZones for macOS
I dropped out around the same time, and one other key thing I’ve noticed is the tech bootcamps hadn’t completely taken over yet, so there was less of a flood of other entry level people to fight for every single opening. You would even get a call back sometimes applying cold (no internal referral).

I tend to throw “lucky” in there too when telling the tale of how I got my foot in the door— it’s hard not to, considering my jobs before that were call center rep, bus boy and dishwasher at restaurant, camp counselor. Tech changed my entire life.
Camunda Testing using cucumber JavaScript
Testing framework for Camunda 8 platform ,with cucumber BDD support
Amazon steps up effort to build AI chips that can rival Nvidia
It's quite old but german philosopher Schopenhauer wrote about it in "The art of being right"

He talks about dirty tricks to win an argument regardless of the content

You can easily see that behavior in politics

https://en.m.wikipedia.org/wiki/The_Art_of_Being_Right
Reverse engineer their website CMS and find the admin email.
this didn't seem vague to me. i suppose it might've helped if they'd move the last sentence to the very beginning.

> Ready to experience the next generation of image creation? Access FLUX1.1 [pro] through our API today.

* "ultra" means 4x resolution at 10s/sample without sacrificing prompt adherence.

* "raw" means the generated images look more like candid photos.

* $0.06 per API call to generate an image.

no fluff, only detailed and specific information. the whole thing is less than 150 words.
Brand new account + strange overreaction = maybe bot?
This evidence seems unconvincing. Why should I believe that it wasn't fraudulent? It's interesting that the bank sent a form letter, but why didn't you include the IP address? Who owns the IP? Is it a residential IP in the geographic area of the venue, or maybe the card holder? Or some cloud provider?
While still having a car and going on vacations?
Yeah, it feels like value wasn't actually lost here unless the ticketing system can't cancel tickets for the event after the fact, or the customer invalidated the charge after the event. If you can invalidate the tickets, then it's effectively as if they didn't purchase them, right?
This is my take on the article using your example.

1) Do not use judgmental language (e.g., sort out your code); instead use language that is asking for clarity or asking for more information (e.g., the code has issues A, B, C; any reason why the code cannot be refactored?).

2) Do not assume the other person is stupid (e.g., wastes my time); instead use language that addresses the problem (e.g., please see best practices document 1.2.3 and 4.5.6 to how it should be written.)

3) Do not use cold language that makes you distant and detached (e.g., This is the third time your code has these issues); instead use language that you would use to a friend (e.g., Is there something going on that I should know about?)
I discovered some amazing EdTech recently: the game Prodigy. It’s brilliant. Kids play it, and it’s an utterly uninspired example of modern gamification with a big dose of paid (by parents, of course) DLC. The selling point is that it’s (a) free for schools and (b) mixed in with the gamification is a little bit of measurement that is supposedly aligned to common core standards. The game does not even pretend to teach the material it measures.

And now we’ve gone past the usual endpoint where the metric becomes the goal. It seems that the ability to waste everyone’s time measuring the metrics has become the new goal.
I teach tech to elementary and intermediate grades. The Chromebooks are locked down ewaste. I'm not saying if one of you guys buy a Chromebook you can't have it function as a general purpose computer. But the Chromebooks students use aren't computers.

The more that I think of it. They are terminals that permit students to access random edtech platforms. Very little computing going on. Which is absurd when a potential computer is sitting right there in front of you in computer class.
New Microblog with TILs
TLDR: its you own problem if you Google account become permabanned.
https://archive.is/DLDmJ
Appealing to the rule books is a lazy way to avoid discussion

This is the entirety of the comment we are discussing:

"Edited only to reduce gender-specific references". Really?

Effectively it just says ‘Really?’. This is neither discussion nor evidence of any effort to engage in one so if these things matter to you, you might be better off bringing them to the attention of the author of that comment.
It's wild to compare these maps with what is being published today in the New York Times about the war in Ukraine: https://www.nytimes.com/interactive/2022/world/europe/ukrain...

The modern maps, while technically more "accurate" than hand-drawn diagrams, are almost shockingly light on information in comparison, and the accompanying text is a linear recounting of various advances and retreats with only passing explanation of the strategic importance of either.

I think there are two effects at play here: one is the decrease in expectation of the readership to have much comprehension or critical thinking facility, which is counterintuitive given supposed strides in education over the last eighty years. The second is the gutting of the news media as an industry where career professionals could get and keep lifetime experience in understanding important events and their place in history. While no doubt reporters today are doing their best, the news media is increasingly reliant on contract work and fresh grist for the mill, and it seems obvious that the writers at the NYT have just not been given the resources or motivation to become as familiar with the contours of the conflict as the writers of the past.
AI, Big Tech, & Markets
>raise their rates to unaffordable levels right before they hit the statistical age where the condition in question begins.

>Wouldn't surprise me if that ends up being a late stage capitalism strategy.

How is your hypothetical any different than being able to buy car insurance 0.1s before a car crash? Sure, it'd be great for the driver, and it'd certainly be bad for the profits of the insurance company, but it'd be absurd to characterize it as "late stage capitalism".
I was in contact with a Sr. Customer Support Specialist from Yubico and I was not impressed by their denial of a problem.

The reason to get such a Hardware Token is, that the private key cannot be extracted, even if the users lose it.

They have plausible deniability for fraud with the broken devices.

Claiming that this would not be a problem and trying to explain why it is not a problem without considering their client could be right, is pure arrogance.

Only a complete exchange of the whole management of yubico could save them, when they want to be taken seriously ever again.

And of course the new management should immediately offer a cost free exchange program.

D'oh.
Cool Looking Org-Mode
+1 Mastermind. A superb read. Will also lead to rabbit holes of research of the various people in the book. Many elaborate webs.
Enzymatic degradation, recycling, and upcycling of movable crosslinked polymers
You probably want to get units correct too. Say Newtons vs Kelvins vs Amperes... Still able to estimate right size is in general skill that should be taught.
They banned cellphones/smartphones in Ontario schools in 2019... but it was a "ban" with no plan for enforcement and no roll-out so everyone ignored the ban.

So they banned them again this year.

Policy so nice they did it twice.
I agree, BoA seems like the people they should be reaching out to to discuss what they need to be collecting to prevent this in the future, and also to answer what IP addresses they compared if it wasn’t sent in the proof. Maybe they already did but as presented this sounds like a dispute with BoA
A 110 million dollar fighter jet is worth an order of magnitude more than a human life, yes. And that doesn't even mention the potential for civilian casualties from the plane crashing.
Well put, all around! If it makes you feel better, state-funded education has, as a rule, pretty much always been babysitting. As we fight together for a brighter future, I think it’s important to know that we’re building something new and glorious, not restoring some natural status quo.

Tho I’m no history buff. Maybe some civilization had really great public schools? Designating only a small portion of your population as True Pure Citizens does tend to help with stuff like that
> they resorted to finger-pointing

Ahhhh! Stripe is a payment gateway. They’re an intermediary / frontend that simplifies away the complexity of negotiating with each bank and getting your own contract with each bank and integrating with each one separately.

I’m sorry to say this, but chargeback fraud is fraud, and you as a business have to deal with that. This customer might have millions in debt with BoA that they’re dutifully servicing. But someone has to eat the cost, and the reality is that this time, it’s you.

Either you can take the customer to court or you can ban them from future payments. Alternatively, you can try a payment method that isn’t as easy to dispute, but you’re still exposed to fraud at some level.
I agree that it would look bad if Yubico pretended to send patched keys and instead sent the vulnerable ones (which this anonymous reader seems to claim).

But I think it would deserve more than an anonymous, unverified claim. For what I see, on Yubico's store it says which version of the firmware I am ordering.
The UI issues I've noticed aren't really bugs as much as they're intentional UI changes that happen to be poorly thought out. I'm used to Google randomly changing the UI for seemingly no benefit, but these changes are especially egregious considering how much of my youtube interaction is muscle memory.

For example, you used to be able to double tap just about anywhere on the screen to fast forward or rewind 10 seconds. Now on the first tap the bottom half of the screen becomes an overlay with a bunch of action buttons, causing the second tap to inadvertently engage one of the buttons.
Ice Cream Helped America at War
Sorry- I just noticed this post and thought I'd comment. The HN community helped me when I got kicked off of Stripe that I thought it would be a way to give back
Seems like there might be some survivorship bias here, right? You teach students who made it to a top university because they thrived in the classical setup which is the most common one. Presumably your preferred teaching style aligning well with the classical approach also helped get you to that position.

Personally I feel like my education/learning only really started to take off when resources like EdX and Coursera became available. I did reasonably well at uni but was not motivated with others deciding what I had to learn and when. Lectures tended to be slow paced and often boring, so I zoned out instead of being pulled in (I passed my exams by working through the problem sets in the textbooks, I skipped most lectures).

When I got the ability to play/pause/skip/1.5-2x videos, and when I could choose what subject to learn like a kid in a candy shop, I did start consuming lectures much more aggressively. Still, I think well designed problem sets and assignments actually do the bulk of the work when it comes to learning/teaching, and I regularly skip the lectures and dive right to those.

Not saying that your method doesn't work, or that it shouldn't work for you, but its suitability depends on the topic, the student, and the setting.