skysight-inc/HackerNews huggingface dataset:
Giant sharded DB clusters aren't that much more fun or less precarious... Ever run Cassandra or Clickhouse at scale?

IME vertically scaled replicas/hot-stand-bys are a lot more stable to operate if your requirements allow you to get away with it. OtoH you better already be prepared if/when you hit scaling limits.
After learning BASIC in high school, as a CS student in the early 80's, my intro to computer science classes were taught in Pascal.

In college, we used DECWriter paper-based terminals and IBM 3270 terminals to write code. Our programs were batch processed on the school's IBM mainframe.

What's interesting to me is how well Pascal conceptually has held up with the current trend towards strongly typed languages.

When I look at Pascal source code today, it's remarkable to me how clean the syntax is. If our industry wasn't so driven by the hottest language/stack/framework that seemingly changes every 6-12 months, modern Pascal would still be a viable choice today.

Battlestar Galactica fans know the story line of how computers weren't allowed to be networked because that's what allowed the Cylons to gain access and nearly wipeout the human race.

In my fan fiction world, Free Pascal is the language the Colonies would use due to the Cylons exploiting the buffer overflows and the other issues of C/C++.

Kinda like: would we go the same route knowing what we know now about how using C for (nearly) everything turned out with vulnerabilities, etc.
One simple change - make it illegal to offer medical services if you’re not kaiser or similar structure
MEE-hi CHEEK-sent-MEE-hi-e
haha, grepping for curse words for a laugh. multiples of:

// DON'T FUCK WITH THIS UNLESS YOU KNOW WHAT YOU'RE DOING!

in main.cpp =)
This reminds me of the old ThinkGeek t-shirt which read:

> Go away or I will replace you with a very small shell script.
Let us not forget Grand Exalted Poobah.
Certainly never been in the US. The US decides holocaust denial is fine, but saying “I’m going to kill the President” isn’t. Other countries have different views. The US is happy to arrest people who work for companies who disagree with US limits on free speech who happen to visit the US (Skylarov), and even to use its economic might to get other countries to uphold its anti free speech agenda (Kim Dot Com)
Looks like they used both "he" and "they". My guess was that the boyfriend might use either set of pronouns.
It seems like an awesome project, I'd say go for it, check /r/ProgrammingLanguages as well. However, typescript is "good enough" for the community, so I don't think it will take off in the sense that you mean.
Great comments about the 9-5 wage trap here!
We really do forget how convoluted the back half of disc two was
If you’re looking for something that is hosted for you, at Notion we launched a feature for this a few weeks ago and it works quite well in my experience. RAG is one of the techniques used. https://www.notion.so/blog/introducing-q-and-a
Interesting game theory scenario
That means someone did at some point and broke something quite badly.
You asked such a weird question.

Singapore and Ireland are both successful countries with GDP per capitas in the tens of thousands. And we know why; good government, hard-working population, and low corruption. Comparing them because of a little GDP difference is pedantic.

Philippines, on the other hand, elected the son of their former dictator that looted billions from the country. Shows you a country that’s not ready to progress because the majority actively votes for corruption and shuns integrity.
So is twitter.com. Unless they aren't using a CDN lol
There are SNES emulators for Android. With time compression, some of the worst of the grinding goes away.

I still haven't finished it, but I got further in FF6 in the past year than I did before, thanks to that. (I have very little patience for grinding.)
The AssemblyScript compiler runs in a browser too, that’s how the demo on the homepage works
Not as much as you’d think. Businesses like Monocle do pretty well in print, as do a lot of fashion / lifestyle sort of brands.

https://www.monocle.com

If you ever visit London, I highly recommend the MagCulture store. They also have a nice podcast: https://magculture.com/blogs/podcast

It’s definitely not the “default” like it used to be, though.
Don't forget Old New Year!
But cant you just implement operator+(celcius, celcius) that will do the conversion to kelvin and back, since you know for certain the conversion math?
Merry Christmas!

I'm on call and already had my first intervention. How's your Christmas going?
Check out GNU Radio. In contrary to what the name suggests, it's not just for radio, but can be used for doing complex DSP operations. It includes a nice filter design tool, too.

https://www.gnuradio.org/grcon/grcon18/presentations/The_Bri...

https://w7fu.com/audio-oscillator-project/

The best option to install it on Windows is radioconda: https://github.com/ryanvolz/radioconda
Merry x-mas, hn.

Some of you might not celebrate it but that just means I'll have to eat your share of cakes \(^_^)/
I bet she has some things which you would happily throw out?
You basically don't use langchain for anything besides 30 minute demos that you copied from someone else's github. It has a completely spaghettified API, is not performant, and forces you into excessive mental contortions to reason about otherwise simple tasks.

LlamaIndex is pretty good.
> yes the problem is most likely that a lot of people have become hamas's defenders recently for some incomprehensible reasons.

when the "good guys" indiscriminately kill over 15000 children in the span of two months, I dunno what you expect but its certainly not "uncomprehensible"
What you say about "youse" - I find that "y'all" often fits the bill -- and/but with uncouthness upgraded to a hint of whimsy.
There are many interesting tools that achieve this, like Outlines[0] and jsonformer[1].
I haven't tried them myself but they look very promising.

[0]: https://github.com/outlines-dev/outlines
[1]: https://github.com/1rgs/jsonformer
I think the multiple meanings of the symbol "existence" should be taken into consideration in any such discussion:

https://en.m.wikipedia.org/wiki/Semiotics

https://en.m.wikipedia.org/wiki/Ontology

https://en.m.wikipedia.org/wiki/Consciousness

And Popper has an interesting relevant theory:

https://en.m.wikipedia.org/wiki/Popper%27s_three_worlds

And of course:

https://en.m.wikipedia.org/wiki/Reality
Ok, then what was the point you were actually trying to make while listing minority groups with high specificity?

Let’s start from a point of common understanding: I agree that it is a bad thing to oppress minority groups.
Returnal and Sifu
Another area that demands performance and can pay for it is databases. Proprietary databases have hand written assembly tuned for the exact processor its running on in its hot paths.
I'm not sure how many companies still use "pagers" aka "beepers", but this person is talking about the device you carry that would alert you when there is a problem with one of your systems. https://www.google.com/search?sca_esv=593535494&q=pager&tbm=...
every coder on earth at one point in time: let's optimize this without actually testing anything
Merry Christmas everyone. I hope you get some time to reflect on the year that’s been, the crazy change we’re going through and the great community we all work to better.
Wait, noise cancelling works by wireless beaming its signal? What like into your head!?
LlamaIndex is mainly focused on RAG. LangChain does a ton of other stuff too. I'd focus on LlamaIndex first.
They're coming back you know, just ask Dennis Duffy, Beeper King.
Squall Leonheart, gods shoot me in the face
Huh? Say more. But make it relevant.
Yes I know what a pager is but was surprised the word is still in use.
3-D rendering? We had a super computing club in early 90s high school. I remember creating wireframe images, uploading then to a Cray XMP at Lawrence Livermore for the computation, and then downloading finished results.
What sort of investigation do you think they'll do? My experience is the cops aren't able to do much, and won't investigate for something equivalent to taking toothpaste from a Target.

When someone did a dent-and-run into my car in a parking lot, the police didn't investigate. I got an incident report from them, to send to my insurance. In that case the police report gives the insurance company a way to handle possible fraud on my part.

During the night someone went down the street and poked a hole in car tires, including one of mine. I didn't bother calling the police since I didn't think they could do anything. I needed to get going, so put on the spare and left.

You think a police investigation could have done something?

Flipping it around, when I was a kid on a bike I ran into someone's side view mirror and knocked it off. I was so scared about getting punished by my parents that I left. If the police investigated, they never caught me, and more importantly, my parents never found out.

The only time we ever called the cops was when visiting friends in a small town. I came out to find a car window had been shattered, and we found a BB among the broken glass. The cops came for that one. Turns out some bored teens were going around shooting things with a BB gun. That one actually went to trial and I got court-ordered compensation.

But that was car damage plus serial gun crime, and not typical car damage.
This title is instant PTSD flashback - at one place I worked there was a system that would order events by their timestamps and multiple downstream systems would rely on that.

One day, I fixed an issue in the message producer that was causing the routine to take unreasonable amount of time and resources so that latency went from 1s to ~50ms.

Three hours later P1 is raised and the entire architecture had to be refactored. I still have the screenshot of the latency graph saved somewhere :)
For OpenAI, use their functions schema mechanism.

Aside from that, take a look at llama.cpp grammars.
I do agree that if you remove `unsafe` blocks from Rust, then you have a performant language without UB. However: (1) We are talking about C here, not Rust (2) Rust has UB due to `unsafe` (3) LLVM IR has UB.
> When Russell was working on this, set theory was an abstract hobby, not the basis of industrial-strength systems

I don’t think that’s true is it? People were doing very serious mathematics with sets before Russell. For example Richard Dedekind (finally) provided the rigorous construction of the real numbers using Dedekind cuts (specially defined subsets of the Rationals) in 1858.

Russell’s paradox required some rethinking of the axioms of set theory which brought about ZF and ZFC set theory but those weren’t really very different from what came before - just better defined.
I have a different take on the cause: everyone has been eaten by the liability monster.
It's a 'brew install lazarus' away! It does a decent job at using Cocoa-like widgets as well, although it misses some of the animations you expect.
Yes, I do agree that you basically only need provenance, and that C has more UB than necessary. You can indeed reduce UB without any major performance impact (e.g., shifts by a large n, signed overflow). I think that would be a good idea.
But I don't care about "overall", I've asked you about note-specific workflow, and "hundreds" of bad/irrelevant tools hurts googlability, not helps

> "It seems solved"

Care to share specifics? You've changed file names/folder structure/image file name/format etc. in your favorite flat file tools
How does a system reconcile those edits happening outside its garden?

> Good at using web apps

A single good example for this domain would be nice. Say, you have your flat files in Dropbox with .git? Which web apps could I use?

> "draw the rest of owl" vibes

More like "imagine someone can draw it" just like you had an image of the owl in this meme in your mind.

By the way, if you plan to use autocommit, so basically have just a linear series of diffs added automatically, what does git buy you?

> but I have to learn

Well, yeah, doing something better requires learning how to do better
Its all beautiful until you look at growth in debt level. But lets not scare the kids.
> - App Store commission fee (small business 15%): $2.3k
> - VAT, Sales Tax, foreign currency exchange fees: $1.1k

I find it horrifying that Apple takes such a big part of the revenue (and at the same time still forces developers to May for a membership program). It's double the taxes the benefit everyone and not just Apple shareholders. That's insane.
Reminder: full source leak should include binaries and source for 3rd party libraries Rockstar licensed to use - so this leak could impact other companies too.
Ask HN: AI tools for explaining/annotating codebases?
I haven't followed the space with too much effort, currently I am only making use of ChatGPT to explain code snippets or ask questions about the Linux kernel source.

But by now, I bet there is already some better solution out there specific for the task of explaining large codebases, would love to hear what everyone here has tried out.

I do not understand the limits of LLMs, is it possible to have a model interpret a codebase it has not been trained on? How would one provide the source to it?
The word "training" implies creating a new model by fine-tuning an existing model on top of new documents.

As several other comments in this thread have already indicated: this is almost always the wrong direction. Which is confusing because it's the direction everyone always assumes they should go in at first.

The approaches that does work is surprisingly simple: take the user's question, search for snippets of your documents that appear to be about that question, then paste all of those snippets into the prompt along with the user's question and see what answer you get.

This is known as RAG: Retrieval Augmented Generation. It's a very powerful approach.
Presumably the source code for the gold master - “Gold Master Source Code” was written on the disk itself. The Imgur link is no more, but you can still see a preview image of it in the original Reddit post. Judging from the comments, it also sounds like the OP may have looked through the contents on a live stream and confirmed it was source code.

https://www.reddit.com/r/gamecollecting/comments/640iem/foun...
the US is no country for old men
Maybe not a house, but depending on your age a large room for sure
They were more or less cousins, as they were both based on the PowerPC CPU architecture.
Sometimes you walk with someone for a while but you don't go all the way.

The USG had weapons that could reach there. As at the time they finally decided to pay, they didn't send those weapons.

He shouldn't have been in that place in the first place.
If tenses are cases are what keeps languages from being global, you should all speak Chinese now, whose words don't change forms at all.
This immediately reminds me of a book I read a year ago about a man who walked off into the woods of Maine in 1986 and lived as a hermit for 27 years [1]

[1] “Stranger in the Woods” by Michael Finkel: https://www.goodreads.com/book/show/30687200
Sure, safe Rust has no UB. The main reason why that doesn't apply to C is that if you wanted to make every C program have a defined behavior, then you also need to define behavior for out of bounds memory writes, including writes from other threads. This means that the compiler basically cannot apply any optimisations, because another thread could be overwriting your data structures at any moment.
The entire back half of disc 2 was a convoluted mess that added nothing personal to Cloud’s story
Ruby 3.3
In German, we have the formal "Sie" and the informal "du". The formal means of address is dying incredibly fast. It's been a huge change just in the past 10 years or so. I'm not a linguist, but I'm pretty sure this is due to the influence of English, which is everywhere.

Just as an example: as a gray-haired professor, I use "du" and my first name with my students. I may be an outlier in my generation, but that is entirely normal for younger colleagues. 10 years ago, that would have been...strange. 20 years ago, it was unheard of.
> the author has said his book is not affordable

Yes, I combined the author's warning with the book's price.
I am not well versed on them either! I was thinking of things like people on the spectrum finding eye contact uncomfortable (as opposed to connecting), or perhaps a focus on sub-points of the conversation which others find difficult to follow? People who are on the spectrum can describe it better than I:

>The reason for this is that natural, honest and authentic autistic communication - like giving ample detail, avoiding eye contact, pausing before answering Qs and giving direct, literal answers - mirrors the style of communication neurotypical people tend to adopt when they lie.[1]

[1] https://twitter.com/AutisticCallum_/status/15581860392939028...
The name will live on in "PagerDuty" at a minimum.
This is simply not true. Almost all optimisations rely on undefined behavior, see https://news.ycombinator.com/item?id=38760475

Note that I am not talking about UB like signed integer overflow. Removing that would slow down programs by a couple of percent. The important type of UB is pointer provenance. This ensures that e.g., writing to a random memory address is UB.
https://nitter.net/chaseleantj/status/1738849381632352493
Pointer to that index? Quick google couldn't find it
did you mean kernel regression rather than kernel smoothing? I ask because: https://d2l.ai/chapter_attention-mechanisms-and-transformers...

Quoting from a previous section

> The attention mechanism allows us to aggregate data from many (key, value) pairs. So far our discussion was quite abstract, simply describing a way to pool data. We have not explained yet where those mysterious queries, keys, and values might arise from. Some intuition might help here: for instance, in a regression setting, the query might correspond to the location where the regression should be carried out. The keys are the locations where past data was observed and the values are the (regression) values themselves
Ask HN: What is a quote that permanently changed the way you think?
From a book, movie, blog post, etc., or even irl.

And it doesn't have to be a fundamental shift in your worldview, just something consequential enough that you think back to it often and it affects your view/behavior with respect to a domain.
That whole AI thing pass you by?
My pleasure. Glad they were helpful.
I've gone through the pi rabbit hole to the kubernetes/swarm level. Just skip that stuff at this point and get a mini pc. The money comes out to be the same and I promise it is way less of a hassle.
I am still hoping for a printer that actually works
Not to forget the Sinclair ZX80 and ZX81, marketed in the US by Timex. Sinclair at least had the sense to assign each BASIC command to a single keystroke.
I know this. What I'm saying is I'm surprised at people using vos where usted seems kind of necessary to me. What I also said is that vos was formal 500 years ago, which is an unrelated observation.
What does this mean for the economy of Europe in the long term?
Sorry that was a typo. It was 37.

Fastest selling car, most units sold in a day/week/quarter/year… I don’t know how else to say it. My point was about EV popularity not trying to boost Tesla.
It is anything but passive income! Extracting a resource can be simple or it can be complicated. You've gotta deal with all kinds of expenses, tooling, travel, maybe greasing a few palms for choice tidbits of information (usually a nice rock or a split of the found haul works as payment amongst us small miners) maintenance and paperwork.

When you want to sell some of this stuff, in my typical case as lapidary stone, you spend a good bit of time taking GOOD pictures, as at that specific market, you aren't selling the stone, you're selling the picture of the stone in order to make that stone move. Crappy pictures = no sales. Make it look as best as you can without any sort of doctoring, that's the trick.

If you're ever in SoCal, I'll show you the full experience. It is a hell of a busy hobby, one that takes up most of my free time outside of my normal job. It's addictive. I have a 400 square mile playground that I constantly explore.

https://i.imgur.com/CxEnUF5.mp4
https://imgur.com/sKyVuyX
https://imgur.com/EA2QXMe

It's an adventure!
Stagnate. lol. You’re new here aren’t you.

4x average US salary not enough for you as a starting wage?

Snowflakes.
Sure. But you can manipulate the sample in complex ways with filters, effects, etc. on your sampler or rompler already. I'm not saying there's no reason -- I'm just saying it's a fairly narrow and not hugely compelling one.
Merry Christmas und Frohe Weihnachten everyone. :)
Merry Christmas!!
I remember Byte magazine too. When I discovered it and was able to subscribe, every issue was full of exciting new ideas, amazing incredible list of endless companies selling pc stuff. My grandfather signed up for it, and then I later got my own subscription. I was in high school, and I loved the tech world. I don't know why I didn't try to get a job in some computer repair shop. I was lucky enough to have an atari 400, the casette drive, the chiclet keyboard. I learned basic, then I hand assembled 6502 assembly to do stuff. I had that great book, De Rei Atari, and I did some crazy stuff like a little assembly on the vertical blank interval to do some wacky visual effect.

This was a foundational time for and probably millions of future engineers. I wish I could go back to that time ;-)
No. These are best suited for stationary, long term extendable storage.

Ideal for solar plants, etc.
This one seems like a good summary

Retrieval-Augmented Generation for Large Language Models: A Survey

https://arxiv.org/abs/2312.10997

The photos of this post are also good for a high level look

https://twitter.com/dotey/status/1738400607336120573/photo/2

From the various posts I have seen people claim that phi-2 is a good model to start off from.

If you just want to do embeddings, there are various tutorials to use pgvector for that.
What was their parent comment?
It's pretty cool to find out what stuff others use
Yep. Nor can you unionize to better wages or working conditions. We are long past the usefulness of unions.

Unions achieve nothing but enriching their executives and stifling innovation and ballooning costs.
Yesterday I discovered that perfect dark for the n64 has been decompiled and built for windows (I'd assume Linux would not be difficult given it's decompiled now). Anyway it looks utterly amazing. There's been a few other projects like this.
They as in he and his bladder.
A script to set up Google gemini on telegram bot using vercel
The tg-gemini-bot let's you use Google Gemini services right on your personal Telegram bot.

Super easy, just a single click and you've got it set up on Vercel.
I’ve lived in them for most of my life. Quite roomy.
"How to Be Successful" by Sam Altman (2019)
Yeah, exactly... Opposed to?
Nonetheless, it looks like the US economy is presently doing better than other comparable countries.
The 21st century love for horizontal scaling is for not wanting to be locked in with IBM, because in the limit vertical scaling means buying an IBM mainframe.
>How do you take someone seriously that opens with that?

By reading the whole article and responding to it on its merits, and not on a single three-word sentence that isn't that relevant to the core point of the article.
> These are best suited for stationary, long term extendable storage

What advantages does flow provide over non-flow chemistries in stationary contexts? Do you mean remote and stationary, thereby benefiting from refuelling?
Buon Natale everyone. Wish you all the best.
A lot of diseases saw a huge reduction in infection rates. RS virus, what we in Sweden call vinter vomiting disease (calci virus or norwalk virus) and common cold.

So wash you hands and try not to touch your face, people.