skysight-inc/HackerNews huggingface dataset:
100%. It's missing the forest for the trees.

You can focus on those 10 60 line PRs and completely miss the bigger context. Not to mention these PRs can be reviewed by different teammates that can easily lead to missed issues within the whole scope of the change.

As always, there's no one right answer. Sometimes yeah, those 10 PRs will be better. Sometimes one or two PRs will facilitate and deliver a much better final solution with less bugs.

It really bothers me how these articles/companies try to claim "ideal" scenarios completely devoid of context. That's how bad managers will use your PR sizes to say you're doing a "bad job" despite not knowing a single thing about coding.
Great answer! Thank you so much!
Tip #1: You're never even going to get an application from these people if your job posting requires 7+ years with AI+Erlang+Azure.

If your codebase is C#, would you hire somebody with some Java and Swift, but no C#? If the answer is no, then feel free to scare people away who are not C# experts. But if the answer is yes, reword your job posting. Sure, be clear that you have a C# codebase, but be welcoming to other skill sets.

Just because you host your stuff on GCP doesn't mean that all applicants have to have experience on GCP. Unless it does. If you are trying to hire somebody who can jump in and solve a specific problem on day 1, then ok. But if you are hiring for potential, your new hire will be an expert in GCP two months after you hire them. You have a four month hiring process anyway. What's two more months?
Ok so how should someone with a traumatic childhood answer questions about their childhood?

You can change the subject or answer very surface-level and be labeled "unengaged" or "socially inept"

You can answer truthfully and be judged for traumadumping

You can make up a fake origin story that fits the interviewer's criteria and be disingenuous
I am already working with a doctor and have talked with those in academia. They find it neat, but are not going to jump projects, they already have their area of study that they are working to publishing something on, not this.

There absolutely could be blind spots and been iterating on it all year each time the tweaks are smaller, but the core idea has not changed, but simply accumulated more and more evidence.
We're getting a little far afield here, but I find all of those "You Big Silly, Social Security Isn't Going Bankrupt" articles, which eventually make the correction that we just won't be getting our expected benefits out of the fund quite a bit like those technically correct "we won't ever run out of oil" stances. It's true, the last few barrels of oil will probably reside in a museum somewhere, priced like a Gaughin, but for all practical purposes ...

For all practical purposes, the Boomers have this locust-y feel about them. Not malevolent so much as blindly hungry, leaving little behind. Their consumption and barren futures aren't a concern for them, they'll be dead, and we will, like Coogan, have been robbed on a generational scale. We will hear Lillian Coogan's words in many variations: "No promises were ever made to give Jackie anything."
Curation still relevant in post-AI world?
Nothing to add. Just happy to see jQuery is still around.
It's easy to forgot how widely used (depended on, rather?) it still is.
"I find many times, the quality of the average person at a big company is lower than the average startup fresh grad."

I wouldn't blame it on the people but on the environment. I have worked at both big companies and startups. In a lot of big companies it's actually quite hard to make a difference. There are lots of people who can say "No", raise concerns, ask for plans, but not many people who say "Yes". So after a while people learn that it's not worth the effort.
You've never had to take a psych test before an interview?
Teslas Have a Minor Issue Where the Wheels Fly Off While Driving, Documents Show - https://futurism.com/tesla-flaws-failures-blame-drivers

It's really easy to cherry pick problems when someone makes millions of cars every year.
> Once you’ve gotten the overview, dive into each “chapter” and plumb the depths for their real stories. Go back to their childhood!

Oh God. A job interview isn't a therapy session. Why would people ever feel this type of questioning is appropriate for a job interview? How would someone who's dealt with intense trauma during some of those "chapters" respond? Especially given the power imbalance in a job interview, and the pressure you feel to give an answer.

I'd like to believe that I would be willing to politely decline to answer questions like this, thank the interviewer and tell them there just seems to be a mismatch, and walk out of the door. But I don't know if I'd be able to, due to the stress of a job interview.
Right, you're not paying the true cost of that energy [1] [2]. I'm saying, what happens when you have to. That changes market signals, perhaps drastically, assuming the per ton cost of CO2 emitted (which is optimistically ~$50/ton but likely closer to $200/ton, assuming the only two ways to handle emitted carbon are to either not emit it or direct air capture and sequester underground ie Climeworks and company).

When consumers must pay for the externalities of their fossil fuel consumption, it's no longer economically competitive. If you can't pass carbon taxes, have to outlaw new gas service like many jurisdictions are attempting to do. High level, looking at the cost of natural gas alone is insufficient for these discussions; you have to look at the entire supply chain and externalities to arrive at a true "apples to apples" comparison.

(matters now, but won't as the blended cost of renewables and storage [firm generation] declines below the floor fossil gas needs to sell at to keep the infra running, and that infra already leaks like a sieve [3])

[1] https://energypost.eu/new-u-s-study-damage-per-ton-of-co2-co...

[2] https://www.nature.com/articles/s41586-022-05224-9

[3] https://www.edf.org/climate/methanemaps
Indeed, we could make electricity cheaper relative to gas to encourage HP usage, but the cost delta is high, you need electricity under 10c kWh to be competitive.
sounds like the ideal PR includes no testing
There are all kinds of poor customer experience edge cases that arise if people can go back and forth, and Apple wants to protect the customer experience and brand from that. Whether you agree with their reasoning or not, it is what it is.

On the other hand I understand why people (myself being one of them) want to use the hardware they bought for something other than running iOS. This seems especially important once Apple drops support for the device.

My solution is meant to solve for this situation.
... in our one case. It probably works fine for you.
The reason indexing services don't work synchronously is because it would cause file IO to get far slower than apps expect, and that can break user interfaces and cause unexpected slow downs. There's also no real reason for it to be synchronous in most cases.
I think the ending of Anathem is possibly one of his best; it’s an acknowledgment that it is the ending, it’s rather tender and sweet, and it fits the mood perfectly.
Why people keep believing that "open trade" solves everything and makes "easy business opportunities"?

You can have open trade but also subsidy a portion of your economy to make that "open trade" not so open anymore. I'm not against it, just saying that a single specific decision makes Dubai and Singapore success is a reductionism that helps in nothing the discussion. Let take OPEC in matters, would you say they follow a "free trade" ideology?
> Of course if you load a bunch of code beforehand your code will be marginally better.

That's exactly the point though. We use jQuery because it has an incredible easy and consistent interface that makes writing for the web so much more enjoyable. Selectors, events, chaining,... are all just nicer to work with than the vanilla counterparts. Same goes for all libraries and frameworks. :)

BTW: Your example is sending a "multipart/form-data". Not all API's will understand this, and will need JSON anyway.
Hello, OP here!

The code we used for running the benchmarks is available here[1].

If you have suggestions on how we could speed up the deserialization during reads, please do share. We'd be happy to go back to SQLite.

[1]: https://github.com/ente-io/edge-db-benchmarks
This reminds me of something more innocuous but funny that happens to me. Innocuous because it's not on purpose.

When I forget to start Slack and someone sends me a message, Slack sends me an email saying "You have a new direct message in <channel>".

Well, it so happens that when I get this, the notification dialog that pops up to tell me about the email is just the right width that it gets cut off as "You have a new dire.."

The first several times this happened I went straight to Slack eager to find out what was so important.
Indeed, my PTSD prevents me from doing this without inspecting the source code.
I'm interested to know why it seems easy to build a Linux gaming device, but their attempts at getting a smartphone to market has been laden with problems, delays and never really getting anything decent to market.

Am I being naïve to think building a hand held gaming device should be similar to building a smartphone?
Another garbage "how to hire!" article with no data to back it up, just a bunch of opinions. There's nothing to indicate whether what this person suggests has any success whatsoever and no data to back it up. How many times did she use this methodology and it didn't work out?
It's more likely that it truncates the user prompt.
Solving a Workforce Optimisation Problem with ClickHouse and Google OR-Tools
Yes, it's been a painful lesson for me to learn: you can often build a good-enough approximation of the underlying physics to make good-enough predictions, even without modelling all the molecular details directly, as long as you have enough data, good algorithms, and fast computers.

https://www.annualreviews.org/doi/full/10.1146/annurev-genom... is a review of research in this area. I don't think it's particularly controversial because realistically, the underlying data supports the hypothesis that facial features are hereditable and then do association studies to find plausible candidate multivariate genomic features that predict them accurately. I think that's far enough from controversial "Race science" that it's hard for people to make reasonable criticisms of this research.
I'm aware, but maybe that should change. It's not really suited for much if what it is used for.
Or weeded out honest people.
Every time I read articles like these I cringe hard and feel sad about how far the youngsters of today have to struggle and bear bullshit just to get a good job and be financially independent.

People just starting out with their careers do not deserve to be subjected to such horribly intrusive and manipulative approaches from recruiters. They are freshers goddammit, you are not supposed to hire them for leadership positions from the get-go. Treat them accordingly and give them space to learn on the job; and if your firm is not capable of doing that yet, go back to hiring based on experience. I have seen way too many large companies of today try to save labor costs by hiring fresh grads and then offloading the responsibilities of C-level leadership onto them so that they don't have to pay large salaries to the experienced candidates instead.

I myself have been a victim of this pathetic practice - a large startup picked me right out of college and then made me lead the ENTIRE sales and customer experience wing of one of their divisions. With zero prior experience, zero training, just handed the reins from the get-go. This role involved hiring, training, deploying and managing literally a hundred sales executives (all of which had more ground experience than I ever did), chasing insane sales and customer acquisition targets, handling customer analytics for thousands of customers across diverse categories and segments _and_ planning and implementing outreach campaigns while desperately trying to learn the ropes at the same time. The job that I was handling was meant not just for someone more experienced, but for an _entire team_ of analysts, domain experts and mid-level managers. After a year of pushing myself and working literally 90 hours a week I gave up. This startup closed down that division the moment I left and lost ~60% of its overall valuation. From what I hear they have now fired everyone and are just looking for an exit chance. The whole thing was a F-ing nightmare that has scarred me from ever attempting to engage with startups in the future. I have joined a conventional consulting firm as an Associate currently and it's unbelievable how rudimentary things like employee training and mature, robust organization is making me feel.

To any recruiters reading this, please stop going after low-experience candidates if your organization is not specifically mature and equipped enough to holistically train them.
NetBSD for the Advanced Minimalist, by Ivan "Rambius" Ivanov
Weirdly, what the article claims is that it's the ideal size because of speed. So they are trying to say it's faster, therefore it's better.

Which is in my view a very silly claim devoid of any context.
Over several hundred years of lobbying by increasingly entrenched groups that made ever more money from it?

Sure, but that's a little pessimistic even by my standards.
Seems like an interesting project. Regarding the name, is there permission to use something so similar to AUTOMATIC1111 [1]?

> Diffusers will Cuda out of memory/perform very slowly for huge generations, like 2048x2048 images, while Auto 1111 SDK won't.

Do we have some numbers on this? I have seen AUTOMATIC1111 fall-over whilst using only half the available of GPU VRAM - there seems to be some weirdness where it tries to allocate before de-allocating the last batch or something.

> You can use any of the 6 compatible RealEsrgran models/weights with our RealEsrgran pipeline for upscaling images. Here are the model ids:

I've previously had trouble trying to use AUTOMATIC1111 upscalers, it seems like it needs more GPU VRAM than just generating the image already upscaled.

[1] https://github.com/AUTOMATIC1111/stable-diffusion-webui
Ash Framework gives you the ability to define the schema in code, via

mix ash_postgres.generate_migrations --name name_of_my_migration

but of course now you're using a framework (albeit a really good one) that is perhaps a bit less mature than Elixir
This is a pretty okay list of things to look for. It's hard to actually identify people who have these traits and people who are acting like they do during interview.

The much more difficult issue is retaining people after you've trained them. I worked at a company early in my career that hired a LOT of young people. Most of them failed. A handful every year had rapid growth and would quickly be promoted.

But it was really common for folks to leave once they had acquired more skills. Basically they had become mid/high experience, high potential people in 2 years and someone else would almost always pay them more to go work for them.
Also from last year:

"TSMC to build US$11 billion chip manufacturing plant in Germany"
https://www.scmp.com/news/china/article/3230440/tsmc-build-u...
I'm also an old fogey by some metrics, but I don't relate to that sentiment very much.

I think that using "we" and "apologizing" is fair for most user-facing applications. It's kind of like the old adage: the customer is always right. Obviously the user wanted to accomplish something, and tried something to achieve it, but your software couldn't figure out what they wanted or didn't have enough information to do it, etc. So, it's kind of like a store clerk saying "I'm sorry; we're all out of that color dress."

Now, I would say this kind of "polite", human-centric, UI is not appropriate for e.g., sysadmin stuff like coreutils. I think it's perfectly fine if `cat /some/file` errors by saying "That file doesn't exist. Get bent."

Also, just to inject some unrelated cynicism... To your example about updating, I think with how pushy companies like Microsoft are with updates, it might actually be more accurate for them to say "We are updating your computer and enacting our will with your equipment."
I wonder if this has anything to do with the size of the battery pack? It's harder to get a sufficiently sized battery pack to fit into a sedan form factor. SUVs have an excuse to be large.
NYC*BUG: March 6th:

Learn how a busy tech software developer went on "vacation" with only a $100 Pinebook and kept all the plates spinning.

In Brooklyn!
How do you calculate policies specifically for gas?

There are tax advantages allocated to fossil fuel exploration, but not specifically for gas - and mostly just exploration.
California was paying rooftop solar owners far too much. Poor people who couldn’t afford solar were subsidizing the grid for solar owners.
Within the DB world, “batch” usually means a sequence of queries in a single transaction. In software a batch is clumping tasks to run together with any sort of separation from other clumps. Logical, time…

If you use one definition while everyone else is using the other, there’s going to be a loud and confused argument.

Since we are talking about databases, we’d all better be using the former, but I suspect maybe the author is not.
This sounds similar to the "pomodoro method".
Uh, citation needed.
Sure, there are things that will always benefit from some ASIC magic (like, I don't see texturing going away any time soon). And we even get new specialized hardware, such as hardware RT. But advances in both performance and rendering approaches make some of the old fixed-function unnecessary. For example, Apple already dropped most fixed function related to blending and MS — since they serialize the fragments before shading they don't get any race conditions. And from what I understand they don't have any interpolation hardware either, it's all done in the shader. Of course, they pay for all this convenience with additional fixed-function complexity of the TBDR binner, but I think this illustrates how an algorithmic change can make certain things unnecessary.

Tomorrow's real-time rendering is all about RT, point clouds, microprimitives, and all that interesting stuff, the fixed function rasterizer simply won't be as useful anymore.
Ok sorry.
"“Tell me about you. If your life was a book, give me the chapter titles from your birth till now.”"

Would you consider an accurate answer to that to be a traumadump? How quickly do you think people can make up happy childhood stories when put on the spot like this?

It is a completely inappropriate question in a job interview.
I've interviewed hundreds of people and participated in hiring decisions on 50 or more in various roles.

The conclusion I've reached is that it's almost impossible to predict how someone will perform in a new role. You're always rolling the dice. You need to be willing to hire with an open mind, and fire quickly if it's not working out.
Compromise: Copyright, as it is right now, is poison.

Remember how big corporations sued individuals for 10 million dollars for downloading a song, but now they've downloaded every song on the internet and used them to train AI and that's perfectly okay? There are no principles behind this - the answer is always "whatever favours big corporations".
I am cackling at these, thanks
If we don't do good things out of fear of backlash from regressives, we have already lost.
I could only see that being relevant when there are resume gaps that may be explained by being a SAHM or caring for a dying parent.

But as it relates to actual work? No.
In the U.S., rich people and political organizations are actually buying or setting up real newspapers in small towns so that when they post fake news on social media, they can reference a dead tree "news source" that is actually their own P.R. machine.

There have been a few articles about it in the real press (NYT, etc) over the last couple of years.
> How do they phrase "I'm sorry for your loss"?

You don't apologize, you sympathize and empathize. You say what you actually mean. It depends on if you know the deceased as well, but if you don't:

- I was so sad to hear about your loss.

- I am sending you my deepest condolences for your loss.

- I am keeping you in my thoughts and prayers.

- May their memory be a blessing.

- May they rest in peace.

- They will be missed.

- I know you must be hurting. I am here for you if you need me.
Give it a rest, landlord
> Unless it's a lux jet just for her it makes

Why would we assume anything else? There’s probably a private jet for her and a chartered one(s) for crew and equipment
And the best way to customise the prompt is to install https://starship.rs =)
They should unionize. In fact UAW wants to unionize all automakers including Tesla and the ones in the south. They failed in the past but with the downward trajectory of population size, there is a great opportunity here.

Now you might say they will just leave the US and manufacture elsewhere. Well thats where tariffs come in and the UAW is a core voting block so they will have to alter any plans to move to Mexico. Higher inflation will be the result but its probably worth it long term.
Heat pumps are much more efficient than furnaces. Even if 100% of the electricity generation was coal you’d use less energy to heat your home with the pump so there’d be less emissions.
California CPUC is out of control.

They wanted the state to impose a tax on people using solar panels.

https://krcrtv.com/news/chico-residents-on-possible-solar-pa...
I'd think of it more as keeping state in a separate object, and reassembling the prompt each time as system prompt + the most recent user/assistent conversation pairs + current user prompt. Then you can just shorten the conversation history in the middle to fit your context window. If you are fancy you add a summary of everything you have cut, but I'm not sure if ChatGPT does that.
Show HN: StringZilla v3 with C++, Rust, and Swift bindings, and AVX-512 and NEON
Hi HN!

I've spent the last few weeks optimizing the string operations in StringZilla. You'd be surprised how much performance GLibc and the Standard Templates Library of C++ are leaving on the table, especially on Arm and, likely, on RISC-V. I've significantly increased the number of implemented algorithms for different workloads. Searching across English texts on Arm, for example:

- is 4.4x faster than STL,

- and 16.8x faster in reverse order.

The new version of the library now includes a C++ binding largely compatible with the C++ Standard, featuring all 17 overloads of the `replace` function. It also gained bindings for Rust and Swift. On the functionality side, it can now compute Levenshtein distances and Needleman-Wunsch alignment scores using AVX-512. It can generate random strings with a fair, uniform distribution without integer divisions. It can sort strings and compute rolling hashes. It has lazily evaluated ranges to avoid memory allocations on bulk search and split operations over large datasets, which is very common in modern AI pre-training experiments.

I wrote over 60KB of English text in the README about all the new bells and whistles, so repeating the whole text here probably doesn't make sense. I've also listed several "good first issues" on GitHub in case someone wants to contribute - it may be a good learning opportunity. Lastly, I'll organize more hackathons for systems engineers in the SF Bay Area. LLM wrappers are fun, but the world needs infra. So, if you are around, join and let's build the future together :)
If you publish them to a podcast-compatible RSS feed, yes, of course, you are podcasting. There are plenty of video podcasts.

I know a lot of people conflate "podcast" with "show." Just publishing a podcast feed of your songs might not be something you consider a show per se, and that's fair, but if it's a podcast feed I can subscribe to in my podcast player, then you are podcasting.