skysight-inc/HackerNews huggingface dataset:
Hey HN - over the past few months, we’ve been working on Hatchet, which lets you write and manage workflows as code (previous HN post [1]).

Today we’re launching Hatchet's prompt engineering features, which lets developers create internal playgrounds from existing code. Unlike other platforms, Hatchet is backed by our low-latency workflow engine which lets you run any function within your codebase, not just managed or third-party LLM templates. This is useful for a number of reasons:

- Your prompt engineering playground is directly in sync with your codebase. We also support creating pull requests to your codebase from our UI when you’ve made changes to prompt parameters.

- You can view how changes to an LLM call impact the rest of your function calls downstream

- When deployed in production, you get full observability into inputs/outputs to each of your function calls so you can trace and capture user-facing errors

We built this because we got tired of using prompt engineering tools that don’t integrate well with your existing codebase - and we felt our workflow engine was a good fit for solving this.

Looking forward to hearing your thoughts and feedback on our tool.

[1] https://news.ycombinator.com/item?id=38970038
Can we get a few accessibility fixed? The expandable button after the sign in button and the button after that are unlabeled. The image on the heading at level 1 has no Alt-text. The three buttons after the "Phind-34B" button are not labeled. The ones between that and the suggestions. On search results, there's an unlabeled button after each one, followed by a button labeled something like " search cache=tbo0oyn4s955gf03o…".

There's probably more, but hopefully that should get things started if you can fix these.
> LOTS of discrimination complaints

> A US Labor Department lawsuit filed in 2016 accused B&H, the largest non-chain photo and video equipment store in New York City, of heavily discriminating against Hispanic employees by forcing them to use separate, unsanitary bathrooms.

Man, I had no idea. Forcing an ethnic group to use separate bathrooms? Whoever thought that was a good idea?
Hello. Author here. Stay tuned. Some improvements will be implemented soon :)

I also invite you to see my other older project:
https://github.com/PJDude/dude
It is much faster than last time.
I'm trying out Warp for the first time, and an immediate accessibility issue for me is that the text is simply too small to read for a lot of the UI elements (context menu, side bar, tab bar…). The size should be configurable for all of the elements, not just the terminal view. I think I would also be fine with a setting that just scales the whole UI.

I did notice there is an issue for it already: https://github.com/warpdotdev/Warp/issues/1443
Maybe there wasn’t enough context. The characters are on an important mission. They step into the casino for a short bit, only to emerge much, much (weeks? months?) later because they were entertained so thoroughly (and addicted to the flowers?). Social media, doom scrolling, etc are doing the same thing to people around me. One day they’ll wake up and find they wasted the best part of their life in front of a screen (and I’m not referring to tech work - we all gotta eat, but that’s only 8 hours of a day.
As someone who had that policy and broke it...you are on the right path. Stay there.
ShotSpotter: When High-Tech Policing Goes Wrong
Authy Desktop App Shutdown
I can't help but think this is brought to us by the 'drilling for stuff in the ground industry'
Before this we were using https://github.com/actions/actions-runner-controller but that's running on K8s instead of VMs. So along with common limitations of running CI jos in K8s/container, it cannot have exactly the same environment as the official GitHub runners. Maintaining a K8s cluster was also very difficult.
You don't even need to live in the mountains of Wyoming or wherever. I live about an hour west of Boston and have a 2-car garage and plenty of space for hobbies in a location that is not particularly expensive.
I can use trivial tools to do harm. Be that a knife or any object heavier than a pound.

The user can use a tool for good or for bad. It is the responsibility of the user, not of the AI.
In Graphic Detail: Deep-Sea Mining in the United States
I cannot see how BlueSky's moderation system can ever work. Decoupling moderation and hosting means there's no onus to do the moderation that they describe: which makes me think it will be BlueSky Inc., and only other corporations, that have resources to throw employees at a now thankless, Facebook-style moderation job. And instances have to moderate anyway, in order to not host illegal content.
Also, in a company that's growing 30% every year, hiring "10% too many" people at any given moment is an extra 4 months' of pay for 9.1% of your payroll, or about a 3% mistake in a 30% growth environment.

In a company that's growing slowly or not at all, hiring "10% too many" people is a much larger error, possibly even a disaster as it could be a full year or more worth of extra hiring in a slow growth company.
Capitalism fundamentally depends on government enforcement of contracts and property rights. It is not possible to have capitalism without government interference in the economy.
The Lazarus ide always felt jank to me, esp. on Linux. The FPC textmode "Turbo Vision" like ide is fine, but I don't see how someone used to Delphi or VB can tolerate building anything with Lazarus. The polish isn't there.
Meanwhile, I spend a non-trivial amount of time every week deflecting questions that could reasonably be solved by a well-crafted Google query...

Schools would be much better off fostering curiosity, self-reliance, tool use, and practical problem solving rather than the all-too-common busy work. So I can relate to what they're saying (to a degree) about AI.

This acutely reminds me of the transition from basic calculators & lookup tables to scientific calculators to graphing calculators to mathematica/maple. At every step, people said "that's cheating". Now we just accept them as tools. Life moves on.
The mistake is due to racism.
Jack has certainly been successful in building a general perception that bsky is "the Twitter founder's" next social network project, intentionally or otherwise
No, we already use the solutions that actually work, and are speculating why there isn't one with the simple, obvious user experience. Why shouldn't we?
How do you prevent "how much do my colleagues make?" questions from being answered to the wrong people? I know you mention citations and the ability to backtrack a "fact" to the source document. How robust is this?
I did not get any warnings running it on Ubuntu.

What warnings are you seeing? What operating system?
> Firing and laying people off should be more painful for the company than it should be for the firees.

Why? How?

You start making it painful for the company to lay off people, I anticipate they stop hiring people to minimize risk, and then unemployment shoots up and presents it's own set of (some overlapping) problems.
There are levels of laziness we all must aspire to:

<https://gcaptain.com/sailor-tells-the-best-laziest-person-st...>
IME, telecom as an industry is highly focused on the RCA, ICA, and uptime, and has had that embedded culturally for decades. Sharing the information publicly doesn't have much value, in the balance, unless there are a string of incidents where an acute perception problem needs to be addressed. This would more likely result in a marketing and advertising strategy rather than the sharing of technical RCA details. Additionally, one must consider that not all RCA details are fit for public disclosure. _You_ may be interested in deets, but John Q. Public is not interested beyond "Is it fixed yet?". If you want insider perspective, work in/with the industry. It's fascinating stuff.
It was relatively common for me in the 80s but dropped out in the 90s.
> Why is anyone so quick to take the company side?

HN has a lot of "wish I was a tech CEO" types, plus the general dose of contrarianism that runs deep in this place.
This feels like Sauron and Saruman are shaking hands.

I need to de-google my online life.
better than GDP, absolutely; but has to be combined with PPP (though PPP itself can vary wildly depending on what you base on it)
It could mean the companies are sacrificing long term investment for short term gains. Maybe some of those employees are allocated to failing projects, but it's straight out of the MBA book to kill off stuff that maintains the company position long term or innovates in service of short term bumps in profitability. That guarantees large payouts for execs and shareholders.
It actually feels like a semi-coordinated effort to push down wages. With high inflation, workers would have demanded raises, but with the specter of layoffs, they keep their heads down.

Musk bought Twitter in April 2022, had huge layoffs and then rest of tech followed in Nov 2022 onwards.

Prior to current trends was it common to announce great earnings and then announce layoffs?
I thought everyone used hashbrown now

https://github.com/rust-lang/hashbrown
> HashMap was quite a bottleneck in Rust as well, for many reasons, not just the key allocation problem.

I'd be curious to hear more. Other than the default hash function being quite expensive, and occasionally wanting to use the more expressive hashbrown API, I've been happy with Rust's std::collections::HashMap.
I never understood the complaints about this. Why shouldn’t a company try and do new things?
You can make pretty significant cuts to R&D and see short term revenue and productivity stay pretty level. In fact it should improve your metrics since you are spending less and selling just as many of your existing products as you were before.

Whether that is a good long term strategy is a different question.
In fairness, Reddit's built-in search works well enough that I could still find stuff on Reddit if Google croaked tomorrow.
I'm a little confused why the PDS server is both dockerized and has an installation exclusive to Ubuntu/Debian.
There's also Lektor CMS: https://www.getlektor.com/ It's quite mice solution to the whole problem (simple hosting + simple editing).
Woke is AAVE that had its meaning perverted by conservatives as one of the means to make attempts at pointing out structural inequality ridiculous, actually. So the purest definition of woke I can come up with is "person a conservative wants to silence through ridicule that their ideas are capable of merit".
Dad Jokes on Demand
Still funny to hear that everyone in the US has a social security number, although there is no public healthcare for everybody. And I always thought it's the land of unlimited freedom, doesn't seem to apply to privacy.

I have a social security number too, but I need it to get free (actually less expensive) healthcare. Not for opening a bank account. I think in my country nobody except health care is allowed to process social security numbers, because it's considered private information. They are not allowed to store them. If they get them by accident they need to delete them ;)
> no visible dip in the productivity

How did you measure that? How long are you tracking it? How are you isolating other factors?

While you figure that out, what accountability does your organization have towards the hundreds of thousands of human individuals whose lives were just grossly disrupted and sent into potentially catastrophic strain?

Different societies have found different answers to the accountability question.

Whether or not the jobs were individually bullshit (almost all jobs are, as are almost all companies) has little to do with the conversation.
IMO, your timelines are way off and the goalposts are totally skewed. In 1980, the Commodore 64 hadn't even been released yet. Even so, 15 years later, in 1995, almost 15% of adults had dialup access to the Internet. The real goalpost here is the advent of the WWW.

TBL released his paper and source code for the WWW on April 30, 1993. On that date, all that existed was an idea and a command line browser. Most people only knew the web in those early years as "that thing you could reach by telnet to info.cern.ch".

Even given this modest start, fifteen years later, in 2008, nearly 75% of adults used the internet according to a Pew research study (https://www.pewresearch.org/internet/2015/06/26/americans-in...). In 2008, we already saw the emergence of the e-commerce market, with upstart Amazon already commanding a 1% share of the entire retail market (to put in perspective, that grew to ~6% by 2019, according to Census and Morgan Stanley data: https://finance.yahoo.com/news/chart-shows-just-big-amazon-r...). Heck, by 2008, you could watch a movie instantaneously on your TV without renting or buying the DVD! (https://web.archive.org/web/20080525201828/http://www.netfli...)

So yes, you can determine something about the relative strength of a particular technology by the speed it is adopted in the marketplace. Fifteen years is a long time, and even taking into account the slow Internet speeds between 1993 and 2008, people found enough value in the Web to use it on a daily basis. I don't see the same adoption curve for cryptocurrencies.
Someone I know installed an iOS update at the same time; when the phone came back up, it was dead. What a frustrating coincidence?
Any background here?
Don’t you think those two things compliment each other? Whether they’re chasing clout or are just executing well based on the latest technology is up for debate, but I think they’re onto something big
'Venture Capital is responsible for innovation'...that's rich. VC's are largely parasites and leeches, along with their private-equity and hedge-fund counterparts.
Nobody ever gets credit for fixing problems that never happened (2001) [pdf]
It's opt-out. Users can opt out before sign up or after sign up.
How about “ I stopped changing my oil every 50 miles and my car runs fine”
AI plays Cupid as Japanese authorities try to boost marriage rate
Substack says it now has more than 3M paid subscriptions
Just registered on Bluesky, deliberately didn't choose News or Politics as an interest, and the first post on my feed is about Donald Trump.

There is no escape...
How would DALL-E know what your immediate family looks like?
It’s simple. People stop taking vacations and work longer hours and make up the missing 10% of labor. You also no longer have spare capacity for sick days or people leaving, but that doesn’t all come to roost on day one.
> 2. Dependency management (import tripleo.rtfm from "git:...#1234567")

Not built into the compiler, but Dub, the official package manager distributed with the compiler, should be what I think your concise statement is referring to.
You’d think that “Intel 4” refers to 4nm, and “Intel 7” refers to 7nm, but Anandtech doesn’t think so: https://www.anandtech.com/show/17448/intel-4-process-node-in... Quote: “Previously known as Intel’s 7nm process, Intel 4 is Intel’s first time using EUV lithography for their chips.”
I have been saying this for years but google is probably the most dysfunctional and slowest moving company in tech that is only surviving by its blatant search monopoly. Given that OpenAI a tiny company by comparison is destroying them on AI shows just how bad they are run. I see them falling slowly in the next year or as search is supplanted by AI and then expect to see a huge drop as they see huge usage drops. Youtube seems like their own valuable platform once search and its revenues disappear for them due to changing consumer behavior.
One relevant question is would the fired person have been better off had they not been hired or the job didn't exist in in the first place? It's far from clear to me, but admittedly doesn't soften the blow either way.
What an excellent post, one of the best on 1BRC I've come across so far. Big shout-out to Marko for participating in the challenge, making a strong push for clarifying corner cases of the rules, and sharing his experiences in this amazing write-up!
> In the US you have to rely on retailers who treat good consumer protection as a competitive advantage

For the most part, credit card chargebacks serve a similar purpose, though of course the retailer may ban you from their store afterwards.

Absolutely agreed that the retailer is on the hook. The customer is not making a deal with the manufacturer to buy the good; the customer is making a deal with the retailer. Along the same line, I dislike it when retailers try to weasel out of shipping issues by blaming it on the parcel carrier. That's only valid if the customer went to ups.com and created and paid for a shipment themselves!
It’s sad that a product that I used as a North Star has lost so much momentum. Search has only had incremental updates but nothing major. ChatGPT has been the biggest development in search…

It’s one of the reasons why I started AskPandi as a side project. It’s an answer engine that gives answers without fluff. No link sifting, no ads, no popups, no cookie consents.

It’s making browsing the web fun again.
> oh cool so the contributors of the data are all getting paid?

If people on reddit wanted to get paid for their opinions, they wouldn't be posting them for free on a publicly accessible forum that does not even require an account to view...

This same sentiment came up when StackExchange started to use/sell StackOverflow posts for AI training too - yet everyone arguing that position failed to recognize StackExchange has been making money off their free contributions since day one. Like, how else would StackExchange even exist? They can sell job postings now because of all the free contributions and community built up over the past decade - same with Reddit...
That's not how I read it. The fact that layers have boundaries shows up all over the place in GIMP, turning on "auto expand layers" in the brush tools by default wouldn't do that much to "get rid of layer boundaries".
Google Gemini AI.
I figured that might be the case, and why I tried to thread softly with the first line of my reply. In Europe in general, the "where are you really from?" line of questioning is one most non-white (and quite a lot of white) people will run into, and while it is often used to obscure racism, anti-immigrant sentiment a bigger part of the discussion because it is often the "first layer" of a package that will turn out to include racism once you've peeled back the anti-immigration (not always - there are people who have anti-immigrant views who are not racist - the link, I think, rather goes the other direction: most of the racists are also anti-immigrant and uses it as a marginally more 'acceptable' shield against accusations of racism)

Hence for many people it becomes important to de-emphasize "another location" in how they identify that might imply they somehow don't belong. While for others holding on to a culture that is often a lot closer matters.

And so the discourse around labels is very different.
X86 has ENDBR32 and ENDBR64 (end branch) for this.
Companies reduce initiatives and headcount at the same time.

It's usually approached as a budget reduction exercise: Company is reducing budgets by X%. Select which projects get cancelled. Now work with managers to identify enough employees to lay off to reduce headcount spend by X%. Now reorganize remaining employees across remaining projects, with the understanding that a few extra people will leave due to future layoff fears.

The idea that companies like Twitter/X just removed a lot of employees and then operated exactly the same as before is a myth being propagated online right now, but companies must change their operations as part of layoffs. It's usually not obvious from the outside because the core product always gets attention, but side initiatives, internal tooling, new feature concepts, and even less-visible things (think bot/spam detection on X) lose attention that they may have needed.

But no, the idea that companies are making 10% of their workforce disappear at no cost to the business is just fantasy. The only time I saw this happen was when a company hired so fast that they didn't have work for some people to do, but that mistake was quickly recognized.
That reminds me, I passed the General and Tech but didn't follow through on my application...
Or those people are doing work that takes a longer time frame to impact the company. Sure it’s fine for the next year, but once you start dealing with issues down the line you’ll wish you had been taking care of all that work.
There is one entry which uses a trie, but it's not at the top, IIRC (which may or may not be related to using a trie, there's many other relevant design decisions).
You could but you shouldn't.
> that these companies can fire 10% of their workforce and they just keep on chugging without a hitch

unless those 10% were working on things which may become important to the company in the future; a company that just "chuggs along" will eventually die
When I was a youngster we got the PSAT for "free" in Junior year, but the SAT we had to schedule and take ourselves.

Then again, back then there was no essay part for the SAT, so lol.
Oh a semantics argument, lovely. Let me ask you this, what percentage of US trade and industry isn't controlled by private owners for profit? Shareholders count as private owners in case that confuses you since it's public stock that is privately owned. Once you answer that, let me know what percentage is required to classify a country as capitalist.
Has your friend done a write-up or parts list or build?

I think this would be a big hit on Hackaday or some similar site.
In fact that's where the wife puts the stuff she doesn't know what to do with.
My goal with GridWhale is to build something like Delphi (a RAD platform) for web apps.

I wanted something integrated (UI, storage, business logic) but with real code (not a no-code platform like Bubble.io).

Will it succeed? I don't know. Maybe no one wants RAD anymore. Or maybe no-code platforms are good enough. Or maybe AI will be a better answer.

Still, I have to try.
Could you elaborate on the concrete real world harm?
What about when companies are doing layoffs but still continue hire at exactly the same time? Sometimes, they even hire for the same positions that were just laid off.

Are there ever conversations where employees are asked to take a pay cut instead of being laid off?
Another great thing about books is that they have a built in order to them. Start at page 1 and read the pages in order until the end. You can skip around, and they provide some aid for that via the table of contents and the index and references in the text to other parts of the text, but they (usually) are designed so that if you just start at the beginning and read through to the end you get everything the book has to offer in an order that makes sense.

Compare to far too much online documentation. This is what I've frequently run into. I want to learn about some particular subject, so I find a site that has an introduction or tutorial on that. The document is even book-like in the sense that it is organized as pages, and at the bottom of each page there are "next" and "previous" links.

But there is a sidebar on each page, with lists of related material and some of that sounds like material I'm going to need to know at some point. But there is no indication if it is material that I'm going to come across later if I just keep following the "next" links or it is something beyond the scope of the current document that I'll need to bookmark now to come back to later.
Ask HN: Are app signup dark patterns getting worse?
In the last couple months, I've accidentally signed up for both Robinhood Gold and Lyft Pink. I have no idea how the Gold signup happened, but I definitely remember the egregious Lyft Pink signup modal that made the signup button seem like it was just part of the flow of unlocking a bike, every single time.

Is it just me, or are these things getting worse? Have these companies just discovered that there are no repercussions to this behavior, or have they collapsed to the point where the short-term incentives of their decision makers aren't aligned with the companies' long term interests?