skysight-inc/HackerNews huggingface dataset:
Re 1) pgvector has an example in the repo that uses a model for re-ranking:
https://github.com/pgvector/pgvector-python/blob/master/exam...

I'm not using that in my own experiments since I don't want to worry about the performance of running a model on production, but seems worth a try.
Ask HN: The Required Fundamentals for Self-Taught Programming
I have been wondering which programming fundamentals are needed for using in real projects and the fundamentals in computer science needed. I already can read code, but don´t know how to apply that effectively. Any suggestions? Like books and resources?
It sounded more like they forced him to pick YC or OAI. I don't find that particularly unreasonable either.
I have seen Will Larson's techniques applied/ forced in multiple organizations and have found that his view of the engineering world just does not work. I sense that there is a cult of personality around him that leads to engineering ivory towers.

Most orgs that I've seen follow his writing or ideas have ended up in conflict with the business and one another, isolated on a corporate island, and then gutted by layoffs.

I don't like to throw an author/engineer under the bus but I do not know why this guy has a following. I have never seen his methods result in happy engineers and delivered value.

My summary of this article (for managers):
1. Micromanage early and often
2. Measure, and whatever you're measuring, act like it's truth and that you know best.
3. Listen to the curmudgeons and the naysayers because they are the true sources of knowledge.

Edit- as I mention in a reply, try https://pragprog.com/titles/rjnsd/the-nature-of-software-dev... Ron Jeffries' "The Nature of Software Development". Incremental value, engineers leading delivery, constant feedback cycles, flexibility. I've followed the tenets of this book in many orgs, and they lead to measurable value, happy engineers, and successful orgs.
Tech focuses too much on scale and frictionless experiences. That's noise in an educational environment where children are more-or-less mandated to be in. Get rid of smartphones in school. School offices still have voice phones if students and parents need to communicate.
The base of internet users was a lot smaller and more technically-inclined in 2004 than in 2014
Switch to mac/linux, made the switch 5 years ago, never looked back, never missed a thing.
Damitr Mazanav doesn’t (modulo some variation in transliteration into Roman characters) sound Russian to you?

edit: looking at the introduction written by the translator, he/she appears to be possibly… Indian?

It’s weirdly close to Dmitry Mazanov, though, which would seemingly be a reasonable Russian name.
Interesting how it works so much differently for international aviation
To add to what others said, I believe his biggest contribution to the Challenger investigation (beyond his insight and damning conclusions) was that he refused to censor himself and his report for political or public-relations reasons. IIRC he said if he weren't allowed to publish his part of the report in the way he wanted, the commission was to remove his name from the report entirely, because he didn't want to be associated with a report that pulled punches.
Your failure to understand that the knife remaining in your body is, in fact, going to keep you alive longer than if you pulled it out is exactly the problem.

Leaving the knife in hurts like hell, but maybe it’ll kill you slow enough that you’ll be able to find help before you die.

Pulling out the knife seems right but just means you bleed out quickly.
> Deliberately adding such aerosols to the upper atmosphere

Sulfur in the atmosphere causes acid rain. We can deliberately seed clouds much less damagingly than by encouraging sulphur emissions.
Honestly, who cares what the fuck the UN thinks at this point? They've lost all credibility. Hell, they just held a moment of silence for the Butcher of Tehran, an individual that, as a head of state, has repeatedly called for the destruction of Israel and the USA, the genocide of Jews. Not just words, but actions, too. Likely behind the Oct 7th attacks against Israel as well, that literally triggered the current war in Gaza.

So, the UN should take a hard long look in the mirror before it accuses anyone else of being complicit in genocide.
It seems that commonly used terms are cached, pretty neat strategy since this is wikipedia-like information website.
read the whole article and wow!

grug tell facts
I also found pure RAG with vector search to not work. I was creating a bot that could find answers to questions about things by looking at Slack discussions.

At first, I downloaded entire channels, loaded them into a vector DB, and did RAG. The results sucked. Vector searches don't understand things very well, and in this world, specific keywords and error messages are very searchable.

Instead, I take the user's query, ask an LLM (Claude / Bedrock) to find keywords, then search Slack using the API, get results, and use an LLM to filter for discussions that are relevant, then summarize them all in a response.

This is slow, of course, so it's very multi-threaded. A typical response will be within 30 seconds.
> But I am not convinced most people see it like this. Most of the people I know honestly don't make the difference between Firefox and Chrome: they just use what they know.

And those people are not Firefox's audience. They don't care about their browser as long as it loads facebook.com, so they're just going to use whatever browser is more popular or pushed harder onto them, which is Chrome. If Firefox positions itself as just a Chrome clone, there's no reason to use it over Chrome.

If Firefox wants to survive, it needs to position itself as a niche alternative for people who actually have preferences for what their browser is like, and do not like Chrome. Of course, it won't ever be as popular as Chrome, but that battle was lost a long time ago.
PWAs, as in "File > Save Website As... > website.exe" on a PC?
And the client team using a REST API can do the exact same thing, by making more calls. There's no real difference between "more calls" and "same amount of calls, but requests more data".

That being said, it's a lot easier to setup caching for REST calls.
Is a successful search engine such an easy thing to produce?
Once the knife is out, however, you don’t win points for putting it back in.
Who will keep the bilge pumps of the ship running? They are not just flees on the back of a dog. They are keeping the ship working, afloat and in good condition. (as good as it can be, given the circumstances)

I understand that the situation is less than ideal, and i hope they get a crew change at the end of whatever contract period they have. And I sure hope their wages are being paid correctly. The mobile phone situation is really bad too. I hope that got rectified since.

Imagine if they haven't hit the bridge. They would be most probably still on the same ship doing the same job. Just the ship would be in some other patch of water. Would you still describe them as "stuck onboard" if that were the case?
Have you looked at an x-ray or disassembly video of an iPhone? There isn't a lot of empty space in there.

And what have Google and Samsung won by people having to buy a USB-C adapter, most likely for them? They also removed the headphone jack, and have never had a proprietary adapter standard to replace them.
I don't know. I've seen this approach for projects before go bad - people didn't want to DRY because they might diverge. Except they never did. Our 3rd+ scenarios we abstracted.

But what basically ended up happening was we had 2 codebases: 1 for that non-DRY version, and then 1 for everything else. The non-DRY version limped along and no one ever wanted to work on it. The ways it did things were never updated. It was rarely improved. It was kinda left to rot.
Which doesn't prove it would have been the case for Chrome. Especially if people had just changed to Firefox :-).
Windows used to have critical vulnerabilities, especially in IE8, making you highly susceptible to hacking. These vulnerabilities have been patched, and the risk is likely lower now.
OCR and pattern matching on text are computationally cheap and incredibly easy to do. For example, tax documents often bear the name of your government's tax authority, which presumably you are familiar with and can search for. They also tend to have years on them.
Why do i feel like this will skyrocket his poll. Is he still eligible to be on the ballot, while going through the appeal?

Appeal easily takes him to 2025.
It doesn't matter if the wifi is encrypted or not. All that matters is that you share the network with an attacker. You can ARP poison just fine, encrypted or open, wifi or wired.
Pfft, read? Just take a picture of all the pages laid out and feed it to AI. Boom, that's productivity baby! You don't even need to ask follow-up questions as accuracy and usefulness are irrelevant. How could you judge anyway, you didn't read that damn book!
I'd say self-deluding that you're being financially "smart" by ruining your body hunched over a folding chair and $20 ikea table for 12 hours a day is a far more common problem, especially on HN.

Let's hope your customers don't have that same "anything but the cheapest option is luxury" mindset.
Easy: run matlab on linux.

I wish i could say i am being ironic but lately Microsoft has become increasingly hostile towards users… it’s incredible they still have this large of a market share.
Building a Reactor
> Clarity is more important but so is scope, I think.

Scope is important, yes. My point was really just that very large shell scripts can be done in a way that isn't a nightmare.

I agree that if you're doing more complex stuff such as data structures and the like, using a programming language should be the default position.

In this particular case, it was not possible to use Python as that doesn't exist on most the platforms that we needed to support. Using a compiled language was possible, but not desirable, as it would have greatly complicated everything. A shell script really was the least-bad option.

Once the shell script was done doing its thing, the actual application was compiled (by the script), though. The script wasn't doing the main business logic, only installation and configuration.
Disputing is always part of science.

For balance:
Nature (the journal) does have a high bar for entry.. but also a high number of retractions...
Perhaps that's the case for server-side transactions and ORMs over REST and gRPC to coordinate rather than allowing the front-end to diddle with data however it likes.

And, resources with an index option obviously should have a db index or unique index.

The challenges with GraphQL are that it makes it too easy to DoS services, leak internal data, break referential integrity, and there were a great deal of tools, infrastructure, and monitoring systems already available for REST (and gRPC to a degree).

Company standards for REST and coding style can and should be set in the diff review pipeline. Another facet is setting standards to minimize duplication of effort or exposing a greater attack surface.
Would you happen to have a code example, or something close to it, posted somewhere?
"Matrix Theory: Relativity Without Relative Space or Time" https://youtube.com/watch?v=B94o-P93ExU&

Does the time difference due to time dilation due to relativity change suddenly upon orbiting or landing on another planet spherical reference frame?
I never used Spinrite, yet I can clearly see many people online just jump on the takedown train and berate Mr. Gibson as charlatan, snakeoil salesman, with very poor arguments, often not giving any actual experience with the software, just their ideas why it can't be useful. Those who used it and really found it useless have much higher credibility, but those seem to be a very vocal minority, while there are many people who find the software useful.
Do you enjoy it? If so, maybe consider a role where this is a key contribution. It sounds like at some level, you're good at it and naturally inclined to think this way. If you enjoy it lean into it and be excellent.

Where things get difficult is if you're trying to be a founder/creator and you have perfectionist thinking. That gets you into a negative cycle where you're neither productive (velocity) or satisfied with quality. You have to learn to detach yourself from judgement and focus on actions that drive more important outcomes.
Idk, you'd think there would come a point when enough people say he's a fraud that it gets through to his base. He's now a convicted felon, representing the party of "law and order". That shouldn't end well.
> how do you keep track?

I don't. I usually work with just the latest subset of a few dozen or so, the rest just sits there until I decide that it's time to close them all (like I did last week, so I'm at just 700 right now). I also use vertical tabs, see my other comment here for how it looks like.

Keeping tabs open lets me quickly context-switch, which is super helpful when you get distracted and don't remember what you have worked on an hour ago. No need to clean them up, as they get eventually unloaded, but still remain quickly accessible if needed (which is much less cumbersome than the history view which I never really use unless trying to find something I was on months ago).
The Bible is a collection of most all older myths and beliefs from the region. Think of it like blues music, everything building on what was before.
"Holly fuck balls this is all bullshit." TOTALLY.
Never seen someone so wrong be so celebrated. This guy makes horrid engineering orgs.
4G and 5G need devices to be synchronized to each other by like 1.5 microseconds or they'll start getting a lot of errors. They do a lot of time division duplexing, so if things are not well synchronized people start talking all over each other.

Now, that's just synchronized with each other, so if the Moon is off by whatever difference in time that's not a problem. It is not like that 4/5G cell is also participating in the same RF environment as cells on Earth.
Kagi has LLM chat too: https://help.kagi.com/kagi/ai/assistant.html
> If Firefox wants to survive, it needs to position itself as a niche alternative

Or... I'm still hoping that the EU Digital Markets Act may help.
> I'm not sure I want to give local police the power to put whoever they want on a plane to "wherever".

I presumed that the proposal is a shorthand for "why the police can't offer to escort them to the airport and let them board an airplane to a destination of their own choosing". As in the police would be there to make sure they don't "abscond" in the country without a valid visa, but the seafarers can get back to their family. (if they so choose)
> It seems there is a recent trend of using adapters that expose data stores over graphql automatically, which is kind of scary.

I think that's the part where I have a disconnect. To me, both REST and GraphQL likely need to hit the database to get their data, and I would be writing the code that does that. Having the front end's call directly translated to database queries seems insane. The same would be true if you wrote a REST API that hit the database directly and took table/field names from query parameters; only... we don't do that because it would be stupid.
But that's why the analogy is flawed - it's dealing with a single problem that gets clearly worse by the action.

Global warming and sulphur pollution are two separate (but realated) problems - it's possible that by making one worse you make the other better - and then it's a cost/benefit calculation.

Eg. chemotherapy is destroying a lot of your body - but it also kills cancer.
Only 81% of revenue from Google, who has a competing browser that they beg you to switch to...

https://en.wikipedia.org/wiki/Mozilla_Corporation#Finances
Developer, next time: No, I made a real-time database constraint policy enforcement engine. Totally different thing.
Marbury v. Madison was not corruption with parties. In fact to the contrary. It was a master move by Marshall to please both parties, and also established the principle of judicial review. In contrast to recent justices having a bias towards a party, Marshall managed to give both the Federalists and the Democratic-Republicans something they liked.
I'll add to the MarkinK's reply: the idea is that CRM/ERP target audience:

* Requires a considerable amount of integrations, customizations, and other "stuff on top";

* Has huge fears about vendor lock-ins and the possibility of unforeseen migrations/support costs.

So yes, the idea is that allowing not only custom deployments, but competitor SaaS businesses built on top of it can raise the market for the added services. Whether that would really work this way or not is a question we'd be dying to know the answer for :D
This is a very poor straw man.

In IPv6 world you wouldn't get 2001::/112, you'd get 2001:1234:5678:90ab::/48. So your building might actually be at best something like 2001:1234:5678:90ab:1::.
Here is our doc with RRF:

https://supabase.com/docs/guides/ai/hybrid-search
> Hypothetically, what would have happened if he got way more votes and won the presidency?

Just to be clear, getting more votes doesn't mean you win the presidency. You have to win the electoral college.

> Does that immediately free him from prison

No.

> or would he need to formally pardon himself first?

He would need to pardon himself.

Just to add, a president can only pardon federal convictions, not state convictions. Debs was convicted of federal charges though so he would have been able to pardon himself.

> Could he even do that?

There has been debate over the last couple of years and no answer has been agreed upon, though it likely is due to the current situation. The only way is for a president to try it.

From the Constitution:

Article II, Section 2, Clause 1:

> The President shall be Commander in Chief of the Army and Navy of the United States, and of the Militia of the several States, when called into the actual Service of the United States; he may require the Opinion, in writing, of the principal Officer in each of the executive Departments, upon any Subject relating to the Duties of their respective Offices, and he shall have Power to grant Reprieves and Pardons for Offences against the United States, except in Cases of Impeachment.

Ultimately the Constitution does not state that a president cannot pardon himself so as long as it is not for impeachment he probably could, but I'm not a lawyer so take my opinion with a grain of salt.
For others as confused as I am, HN badges was some third-party web app[1][2] that shut down.

1. https://hnbadges.netlify.app/?user=pg

2. https://web.archive.org/web/20230518174015/https://hnbadges....
> A Target spokesperson confirmed to Modern Retail that the company that runs the Bullseye Deals account does buy salvage merchandise from Target and sells it.
just out of curiosity, do you have any countering authors or schools of thought to suggest?

I'm somewhat familiar with Larson from having read some posts of his over time, but I can't recall much of his specific ideas, and had never come to think of his approach as a broad block of thought in this way -- I don't know how I would summarize his oeuvre, but that's likely my own failing.

So... how would you summarize it? Do you see it as being in opposition to some specific other thing?

edit: I think your summary arrived in an edit after I began my response above. It answers one of my questions well, thanks!
Better Sleep Lowers Loneliness
If I quit a job because I am starting a full-time job somewhere else, was I fired?
> taking the position that Apple is the baddie here is just as absurd. These are all big companies out to make a buck.

I see this logic often, and I don't understand it.

If I did something people considered unethical, arguing that I did it out of greed wouldn't change people's minds. It would probably hurt my argument.

When a big company does something people consider unethical, there's almost always someone who mentions that the point of a business is to make money, as if that's a excuse for their behavior.

It's like there's a separate set of ethics for business, and the worst sin of all is not being profitable.
Micromanagement is what managers do who don't trust their teams or feel threatened by their engineers.
If you are a former engineer in management, remember what it feels like to be micromanaged. You are not a manager because you were/are still a great engineer. If you are- your org is broken and the wrong people are in management.
Should is not does, and also LOL @ anycast for some SMB's internal networking. Yeah, good luck with that bud.

> when it's broken it's broken cuz you broke it

No duh, but that doesn't make it any less broken.
My experience as well. I tried it a couple of times more than 10 years ago, one is covering Nancy Lynch's Distributed Algorithms, and one is Maurice Herlihy's The Art of Multiprocessor Programming. We finished about 1/4 of each of the books before running out of momentum. People simply lost interest as the content became increasingly challenging. We talked about the reasons, and the overwhelming feedback was that people lost interest because they failed to see what they learned could be applied to the job in short term, so it looked to them that the effort of learning the hard stuff wouldn't pay off.
This shows a misunderstanding of the purpose of research into novel antibiotics.

Acinetobacter baumannii happens in your closest hospital.
Does it need to stream music? Any still-functioning iPod seems like it would do the trick.
Right now my brain is scrambled...
I used to dream this for years and years, but last time the dream was about deciding to enroll to college or not. In the end I decided not to because it was a scam.
Query Embedding Adapters
And what prevents a microkernel from having the exact same owners as a monolithic kernel, working on the exact same things?

This isn't web development, where "microservices" came up as a way to distribute complex software across stakeholders. There are very hard purely technical reasons for (or against!) microkernels, and the majority of microkernels (if not all) are still released and distributed in a "monolithic" model, i.e. an update distributes all components of it (modulo delta updates, which is also just a technicality).
According to the logs, you submitted https://www.theguardian.com/environment/2023/dec/29/world-wi.... We didn't change the link.

I've belatedly changed it now though.
Per Betteridge's law, no.
> According to your argument...

I wasn't making one.
Does setting it in about:config do it for you? I see what you mean though, since the option right above that in the menu lets you set custom url(s) for your start page.
Paperless supports OCR + full text indexing: https://docs.paperless-ngx.com/

As far as AI goes, not sure.
You are hired to bring in your context and personality and experience. Do not fall in the same traps the org has been in. If they didn't need help and change, you would not have been hired.
This is the reason I refuse to use the word "clean" to describe code anymore. It's completely subjective, and far too many times I've seen two people claim that their preferred way of doing things is better because it's "clean", and the other's way is worse because it's "less clean", no further justification added. It's absolutely pointless.
Not having clear expectations around their role in the overall development pipeline.

It's such a headache to be surprised by someone's sudden veto power over a decision. Or when someone doesn't own up to their role unexpectedly.

Managers need to debug those situations. Not (just) at a personal level, but at a ritual / process so people know their specific job and expectations. Like who signs off on design docs? How does a feature get shipped? Who exactly are the stakeholders in a type of decision? Most importantly: who should NOT be a stakeholder and needs to bugger off?