skysight-inc/HackerNews huggingface dataset:
> On the following page, Kanga and baby Roo are shown wearing boxing gloves. The text says: “If danger finds us, don’t stay, run away. If we can’t get away, we have to FIGHT with all our might.”

That's just the message I got from my own parent. Dad said GTFO, but if you can't, fight like hell and don't fight fair. (Then he gave some specific suggestions.) It may not be good advice for a four-year old, but it's a good algorithm to implant early.
Yeah. It gets even more complicated, because tape drives and tape media has different failure rates.

At the places where I used tape, we used a more efficient encoding for archival tape backups. Rather than storing 2 or 3 copies, we used forward error correction with something like 30% overhead. This, then, gets even more complicated to evaluate, because it multiplies how “hungry” your backup / archive system is for ingesting data in order to remain efficient & still write data out to tape by whatever deadlines you have set. If you store 3 copies of data on LTO-8, then you write data in blocks of 12TB, with one copy on three tapes. If you use forward error correction, you might do something like write out 96TB at once on 11 tapes. You use less than half as many tapes in the long run, but you need to feed the machine faster in order to meet deadlines.
Still, I'm in doubt that a significant proportion of us would have the discipline for this. One reason why some things are pretty much only learned in university is that they provide the necessary motivation.
There are, right?
One technique can be listening to the self-discovery of others. This is germane to your concern: https://www.tiktok.com/t/ZTREgGosr/

This individual explains how their process of sharing feelings on something is often perceived as an accusation by others.
Musings on Operating Systems – Usenix
>Lots of people were burned in 2014-now by assuming the housing market was going to "collapse any minute now" then watching the exact opposite happen. It's as if they thought 2008 was some kind of regular occurrence and not a black swan event.

To be fair to those people, the extra low interest rates of 2014-2022 were the historical black swan event which everyone expected to last a couple of years at most and not a decade, but the banks left the money printer running for too long and now we're facing the inflation fallout.

Rates were never in history so low as post 2008. Why would any sane person expect them to last so long?
I recently interviewed with a company, and the interviewer asked me "how do you organize data." I wasn't sure if they wanted to talk about classes, modules, databases, k-v stores, hashing data and routing distributed requests to the same pods. I asked, and they answered "I mean in general, how do you organize data."

After talking for a bit about pretty much all of the above, the interviewer asked "have you used dictionaries?"

The reason I'm telling the story is, if a lot of your candidates fail to answer your questions, the problem might be in the question.
Why do you think that is ?
You can engine brake in any "manumatic" like Subaru with their flappy paddle CVT. You could drive a manual without engine braking more than a normal automatic; nothing forces you to downshift. You could also only up shift and use neutral when braking with actual brakes, which I think a lot of people do when learning manual.

Indications that the car in front of you is breaking include brake lights, distance between you and them, and weight transfer to the front (nose down, rear up). Only one of those is affected by the thick pedal.
But it is right, inaction to commit to international agreements does not mean inaction to reduce carbon emission. Those are separate things. And when the conversation is explicitly about the (im)possibility of international agreements, it should be clear which inaction I’m talking about.

And of course I’m pushing my ideas. The history of who killed the Kyoto protocol is still up for debate. I’m of the opinion that the death of the Kyoto protocol and all subsequent agreements rests in one bad actor, the USA. There is not a historic consensus about this, and you’ll find historic accounts that disagree with this (or more likely you’ll find historians putting less importance on the Kyoto protocol than I do). I’m pushing what I believe is the most accurate—or rather the most relevant—narrative of history here.
dalle2 with the following prompt: Humanoid robots working on putting chips together in a factory, digital art
In the context of things that aren't outright mistakes..

It's important to take some feedback as .. others desires for features, and attempts to share experience with you.

It is easy to use software we write for ourselves, it is important to understand that no one will find our software as usable as we do. Taking feedback is how we get to write software that is usable by more people.

And as you grow in your career, you will meet people who had negative experiences in different ways than you. When this is shared via feedback, it is best to learn from other peoples mistakes than to repeat them.
Justify the dev time to save micro-pennies worth of electricity to me instead.

A typical naive index won't help with my regular expression based queries, which aren't easily accelerated by an index. Or given an in-memory index, you've just increased memory use from O(1) to O(N), and I'll OOM on large files. Perhaps you'll throw a database at the problem, complicating I/O (especially when the data is generated/accessed by third party tools that aren't database based), tying me to yet another library's update cycle, and perhaps forcing me to tackle the additional problem of cache invalidation. Perhaps I need reverse lookups, in which case whatever forward indexing I might've pessemistically added ahead of time will be of no help at all.

If it'a a 5 second "this is probably the right choice" kneejerk reaction, maybe it's fine. Or if you're google indexing the internet, I suppose. But I am frequently plagued by shit, buggy, useless indexes that merely distract from the proper alexanderian solution to the gordian knot - brute force - wasting more time than they ever saved, for both people and CPUs.
Speaking as one who grew up on the West Coast of the U.S., in towns where the oldest buildings are rarely measured in more than decades, I'm quite envious of those of you who live in places where civilization has been active for hundreds or thousands of years!
Ask HN: Self hosted open source solutions for creating text embeddings?
In the history of media law I’ve seen judged lean into whatever interpretation balances the ecosystem more than what is “literally the law”. The law is meant to serve people not the other way around. I hope judges will understand the contribution and theft can’t just be “haha fuck humanity love, openAI”
Hi, thank you for your interest our vacancies. Most are filled within a few weeks and after that point the links expire. For all current vacancies please refer to our careers site: https://bit.ly/LBGCareersSite
In manual cars, it's always felt wrong how much and how fast the car can decelerate by changing to lower gears without the brake light turning on - even if you are not technically using the brake, you can lower the speed so much as to create a dangerous situation with the guy coming behind, and therefore turning on the brake light would be appropriate.
I love this book: https://www.goodreads.com/book/show/17406856

The explanations are great and the examples and excises are such that you can just do them in your head.
big fan of smol-developer. it provides a great starting point for doing complicated things while being simple enough to reason about :)
It never made sense.

And FYI this comes from ANSI SQL.
The primary key (userid?) will almost always be indexed implicitly. You’d usually have to go out of your way to avoid it.

So it was probably being joined by an indexed column, but without an explicitly defined index.
> 0 bytes uncompressed, 25 bytes gzipped!

Compression Considered Harmful
I am talking about the article. I don't eat any factory made food. I am just wondering what is considered bad food by these researchers.

And besides food can be manipulated in not just factories. I know a lot of small places that cure meat and this is considered processed food, as it is high in salt and preservative.
Your note about encoding/gob being inefficient is somewhat accurate for how you're using it, but I want to talk a bit about how you could improve your use.

encoding/gob is intended for streams, not stateless marshals/unmarshals. The first thing that is sent over the stream is the type information the receiver should expect, that's why your payload was so large. After the first type is received, subsequent messages are much smaller. You can see this by extending your example to do multiple writes; each write after the first is only 10 bytes: https://play.golang.com/p/Po_iaXrTUER

You have to plan differently, but you could get large improvements to transmission sizes by changing to append only files and creating the gob encoder once per file. If you find you're creating a gob encoder/decoder very often, that's a telltale sign you're not using it as intended.
fun fact: break lights are red because red light disperses / scatters less than other parts of the spectrum like yellow or green f.x.

and the sky is blue because blue light disperses the most - so everything blue in the sun's light gets dispersed into the sky while the color of the sun is what's left of its full spectrum minus blue.
> Ramanujan summation

That's not a sum in the traditional sense so don't think about it this way.

Infinities are used quite often in mathematics for rather mundane things. Calculus doesn't work without it. It is also quite important to the foundation of many other areas but this is often hidden unless you get into advanced works (in this sentence we're not considering a typical undergraduate Multivariate Calculus, PDEs, or Linear Algebra as "advanced")
> the hardware very much can.

If its name is DEC Alpha? ;)
See stat.ML in https://tableau.cornell.edu/t/PublicContent/views/arXivSubmi...

via
https://info.arxiv.org/about/reports/submission_category_by_...
Kissinger's turning 100 this Saturday. The final horcrux of 20th century imperialism.
1.25x is too much imo, but 1.1x to 1.2x really helps when you're feeling "a faster tempo".
Indeed. The paper everyone gets the "flash loses its data in a few years" claim from wasn't dealing with consumer flash and consumer use patterns. Remember that having the drive powered up wouldn't stop that kind of degradation without explicitly reading and re-writing the data. Surely you have a file on an SSD somewhere that hasn't been re-written in several years, go check yourself whether it's still good.

Even the utter trash that is thumb drives and SD cards seem to hold data just fine for many years in actual use.

IIRC, the paper was explicitly about heavily used and abused storage.
A second hand lto-6 drive and tapes won't be that expensive (24 slot will probably by less than $1.5k)

Then you'll need the tapes (can be expensive, buy in bulk)

and then spend the time doing the software. You'll also want to make sure you can stream data in reliably at >300megs a second

after that you'll be good. then its a case of putting the spare tapes somewhere safe.
Does anyone know how this works in Ford EVs/hybrids? I have a PHEV CMAX and have wondered about this. I've never had an issue with people honking or getting close to rear-ending me, so I assume the lights do come on when it's decelerating rapidly.
Yes, they have. The widely publicized failure due to clock skew does not invalidate all the successful interceptions: https://www.ngwrc.org/files/IRAQ'S%20USE%20OF%20SCUDS%20vet%...
The real answer to the Fermi paradox. No intelligent species has yet figured out a way to commercialize interstellar travel.
Yes, 100%, Boomers are the parent generation of Millennials. They spent our whole childhoods giving us participation trophies, and our whole young adulthood criticizing us for having received them.

I criticize them as a generational cohort for being the most entitled, wasteful, short-sighted generation that has ever lived, and has done more to screw up the entire world they are handing on to their children than anyone in history.

They have done this at every stage of their lives, but especially once they were old enough to be having children.
Imagine how much you could brag about your attention span if the video was 8 hours long!
This is such an insightful comment. Thanks!
The GP claimed that "this logically isn't true", implying that the question is one of logical reasoning.
Crypto. Folks like Andreesen pissed off all sides.

The "crypto true believers" are pissed off because they got extracted like the pyramid scheme players they were. The "crypto is a scam" people are pissed off because it was bloody obvious that it was a pyramid scheme and these people are getting off scot free while the plebians take it in the shorts. And the crypto pyramid players got pissed because the big boys have the money to extract the payout better than they do.
I've heard this over the last 30 years.
Never seems to happen.
> before the first Model S was even delivered

The original Roadster came out in 2008.
Isn’t C the wrong locale, though? Why would I want to use something which is incorrect as the basis for comparison?
AWS is particularly bad with their performance credit system on RDS... and there's to my knowledge no way to tell MySQL to limit index creation IOPS, which means in the worst case you're stuck with a system swamped under load for days and constantly running into IO starvation, if you forget to scale up your cluster beforehand.

Even if the cluster is scaled to easily take on your normal workload, indexing may prove to be too much for IO burst credits
I would have halted for a moment and asked something like: organize data for what purpose? At which point I would expect there to be some amount of clarification. As it sounds to me like they're talking about organizing some set of data for lookup, as opposed to organizing data around how it flows through an application, for example
I collect interesting problems and learn the math that can solve them. I do best by directly connecting fun and learning.
Visas applications are dependant on the vacancy that is being hired for.
Please message my colleague Rauiri Galashan via LinkedIn.
Rauiri is one of our tech recruiters and he is best placed to advise you.
https://www.linkedin.com/in/rauiri-galashan/
Well, yes; it's painfully obvious that you won't obtain, say, an atomic increment or compare-swap out of any simple combination of volatile anything, and it's more harmful than good to even try.
They also have the reverse incentive if their cars get into crashes which are other people's fault.

They get to profit from very expensive repairs, paid by the other guys insurance.

Making sure the brake lights work more effectively than the regulations require, reducing rear-endings of tesla customers, would then reduce profits...
That foot is on the gas pedal still in a lot of cases
Things I learned from my startup:

* Just don't. Life is too short.

I would do it again, but only if it's to fix the second sentence above.
New Open Source Hw: ESP32-SBC-FabGL with PS2 Kb+mouse, VGA Many Retro Emulators
Okay getting real off-topic now (welcome to HN) but this is not what I expected:

https://github.com/ellie/atuin/issues/952#issuecomment-15378...
https://github.com/openzfs/zfs/issues/14290

Apparently when SQLite calls `ftruncate` on the `-shm` file, ZFS will sometimes block for several seconds. Maybe it's waiting for txg timeout? Strange.
Unless you have an older carbureted vehicle, engine braking should use no fuel:

https://en.wikipedia.org/wiki/Engine_braking#Limitations

Just do a decent job matching revs on the downshifts so you don't trade brake dust for clutch dust :)
oh... buddy....
> To take it even further...why see it as criticism at all? You are not your lines of code.

You are not your work. You can write incredibly crappy code and still be a fine person. You can write beautiful, elegant code and be a terrible person. Separating your work/code from your self-worth is hugely important.
Basically, it gets easier with time. You are not your work. The things you work on can and will fail. Focus on fixing the systems that lead to things being broken rather than feeling bad about it.

It's worse with neurodivergence in the equation. It gets easier. A therapist can help.
I Didn’t Choose WordPress for My Blog, Despite Being a WordPress Pro
Mozilla sends popup ad overlay in Firefox
Startup Ample says it can swap an EV battery in 5 minutes
Africa also has a population that is very young: A combination of both high birth rates and low life expectancy. I'm not sure what point you're trying to make.
i love melancholia and i wouldn't even remotely consider it as science fiction ... lol
How does one make a video about "electric cars" without considering that the most popular electric car brand by far (Tesla) has solved this issue years ago?

There are more Teslas on the roads in the US than all other electric cars combined.
> they only activate when the vehicle is about to stop so long as the driver has the accelerator ever slightly depressed

Do the brake lights come on if you don't have the accelerator depressed at all?
both. always both.

We had nearlines that were basically archive targets, that stored about 6months to a years worth of versioned data. We also dumped to tape at the same time (one for data interchange with other companies, and one for our actual backup)

WE arse saved multiple times from both tape fuckery (mostly the robot being sad) and nearlines going whoopsey (they had reduced redundancy, and a whole bunch more nodes to allow for the size)
I find it very hard to not take criticism seriously, if I’ve invested a lot of effort and especially if the criticism coming out of left field.

Here’s my story:
Just over a year ago, I was working at a FAANG co and got head hunted by a recruiter for a promising growth stage startup. Everything was great, until they hired a non-technical director for engineering, and the founders handed the reins of engineering to this guy and mentally checked out from all things engineering. A few months later, he goes on to hire a pseudo technical slacker who cannot code without CoPilot/ChatGPT as my team lead(hard to believe, I know). I kept asking to switch teams, but it fell on deaf ears. Finally after getting a stellar 6 month performance review, my non-technical manager gave me a needs improvement rating for the 2nd year end perf. And this was in spite of being the most prolific engineer in the whole company, with ~20 engineers. It turns out that my manager always wanted me out, and had been building a fictional narrative behind my back, out of my requests to switch teams for months. Needless to say, I wanted to leave at that very instant, but resigned served the notice period and left soon thereafter.

Now, I’m working on my own startup for over a month now. I’m working super hard and I haven’t been this happy in a long time. Life IMO, is too short to put up with toxic BS like what my manager put me through.
The author starts out with an excellent observation:

Lately, I've been playing around with LLMs to write code. I find
that they're great at generating small self-contained snippets.
Unfortunately, anything more than that requires a human...

I have been working on this problem quite a bit lately. I put together a writeup describing the solution that's been working well for me:

https://aider.chat/docs/ctags.html

The problem I am trying to solve is that it’s difficult to use GPT-4 to modify or extend a large, complex pre-existing codebase. To modify such code, GPT needs to understand the dependencies and APIs which interconnect its subsystems. Somehow we need to provide this “code context” to GPT when we ask it to accomplish a coding task. Specifically, we need to:

1. Help GPT understand the overall codebase, so that it can decifer the meaning of code with complex dependencies and generate new code that respects and utilizes existing abstractions.

2. Convey all of this “code context” to GPT in an efficient manner that fits within the 8k-token context window.

To address these issues, I send GPT a concise map of the whole codebase. The map includes all declared variables and functions with call signatures. This "repo map" is built automatically using ctags and enables GPT to better comprehend, navigate and edit code in larger repos.

The writeup linked above goes into more detail, and provides some examples of the actual map that I send to GPT as well as examples of how well it can work.
I would have taken a full screenshot but I had my company's Gitlab open behind it.
For better or for worse, getting bullied a lot and being the most university hated kid in my middle school prepared me for a lifetime of antagonistic emails and snarky internet arguments so that nothing that people say online or at work will produce an emotional response from me.
That’s a really good point. For us (near that 150-300TB inflection point for archival storage), it made more sense to put the data on S3 glacier. First off, the data is originally transferred through S3, but mainly, glacier hits the same archival requirements as tape, at a pretty compelling cost.
At Math Academy (https://mathacademy.com), we created a series of courses, Mathematical Foundations I, II, & III, that will take a student from basic arithmetic through calculus and prepare them for university-level courses like Linear Algebra, Multivariable Calculus, Probability & Statistics, etc. You can jump in at any with an adaptive diagnostic that will custom fit the course to you based on your individual strengths and weaknesses.

https://mathacademy.com/courses/mathematical-foundations-i
https://mathacademy.com/courses/mathematical-foundations-ii
https://mathacademy.com/courses/mathematical-foundations-iii

We also have courses on Linear Algebra and Mathematics for Machine Learning:

https://mathacademy.com/courses/linear-algebra
https://mathacademy.com/courses/mathematics-for-machine-lear...

It's not free, but our adaptive, AI-driven algorithms makes it the most efficient way to learn math that you're going to find. We've had numerous students master 3-5 years of math in a single year.

We're still in beta and haven't done a proper Show HN yet, but we're getting there!

I'm the founder, so I'd be happy to answer any questions.
Title should be "Math Patterns That Go On Forever but Never Repeat.

The article title is correct, but the article page's HTML title is wrong / SEO
"Prompt engineer" didn't exactly make sense to me until a coworker (graphic design) talked about the prompts that he'd see in Midjourney's discord server. Particularly when he mentioned specifications around camera lenses and perspective and other things I'm not familiar with. Very specific choices, continuing to be added and refined.

Then seeing what guidance[0] is intended to do (LLM-prompt templating) it becomes obvious what people have in mind for this. It won't obviate understanding the lower-level code -- in fact, I expect the value of that skill to increase over time as fewer people bother to learn it -- but it will cut out the time it takes to scaffold an application.

[0] https://github.com/microsoft/guidance
Thank you for taking the time to respond so thoroughly :-)

Everything you write makes sense to me -- though I had to lookup and skim Canetti and Holmgren's work to understand the bit about succint garbled RAM.

We live in interesting times!