skysight-inc/HackerNews huggingface dataset:
Yeah, he's glossing over some things, but with good reason.
Might be more accurate to say BERT is a discriminant model, while GPT is a generative model. BERT was trained using Masked Language Model process, which is different from the decoder-only process used for the first GPT. Sentiment prediction seems like more of a particular thing BERT is capable of. There are many more capabilities, but GPT has sort of steered the industry towards generative models.
https://huggingface.co/docs/transformers/main/tasks/masked_l...

GPT and BERT were actually the first models published after Attention was published by Google.
You mean something like citizen's arrest?

https://en.m.wikipedia.org/wiki/Citizen%27s_arrest
It is really an extraordinarily nice machine for an uncanny price point.

I wonder if they plan on making a motherboard replacement with a connector compatible with a Pi CM4 (so I could plug their fine Pine64 SOQuartz, or the Banana Pi CM if I need more CPU, or an 8GB CM4 for the extra memory).
In my experience weed with psychedelics is a horrible combination. I know a lot of people do it, but yuck.
Integrity of immigration system at risk as international student numbers balloon
Librewolf has been requested since 2021, but no Debian Developer has volunteered to be responsible for the package: <https://bugs.debian.org/981291>

Since the Librewolf developers are providing a .deb package themselves, they could apply to become a Debian Maintainer; i.e. be able to upload that package (and no other packages) directly to Debian.
> I also think community and industry enthusiasm around Postgres is at an all time high. There are more managed hosting options than ever (Crunchy Data, Render, Fly.io, and on and on), deep extensions like PostgresML, Citus and Timescale, serverless options like Neon, and real-time services like Supabase with Postgres at their center.

Please sell me why you'd use one vendor to host your DB and another one to host your app. If they are in different racks (forget about different data centers), that's going to kill you on latency. The only way around that we've seen is to vectorize all your queries.
I know X did try that, but didn't they roll it back?
"True, although I posted more for the tour of Relational Algebra fundamentals. I guess the SQL section is probably the most out of date part of the book :)"

I think a better, more accessible, book for the relational foundations is maybe Chris Date's "Database in Depth: Relational Theory for Practitioners". Though it goes out of its way to avoid dirtying itself with SQL and uses some of his "Tutorial D" concepts instead, it gives a good "practical" look at the relational model that I think "practitioners" would find understandable, though it's not without its eccentricities.

"> I'm personally all for supplanting SQL but only if what replaces it has a sound relational basis.

100% agreed. I think the status quo UX is far more rough than the performance. Unfortunately it seems performance is what drives most investment these days unless you are a producer of hip tools."

I applied for and took a job at RelationalAI last fall because I loved what they were doing with building out a system that was really strong on the relational fundamentals. They have a kind of Datalog-ish language (but better/more practical imho) that is quite nice. The talk that Martin Bravenboer did for the CMU lectures really sold me on it. It was what I was looking for for years, as purely relational alternative to SQL (without.. going off the rails into wonky badly thought through NoSQL network-hierarchical-graph land.)

Couldn't make the job work for personal reasons, but was very promising at first.

Unfortunately their direction seems to have gone elsewhere, basically becoming a graph analytics plugin inside someone else's SQL DB: https://relational.ai/blog/pr-snowflake-summit -- I understand why the path, but it's less exciting.

Anyways it's interesting to see how people talk about PostgreSQL and SQL generally on this forum. Like, as if we can't do better. But if someone tries to do better they go off making something without understanding relational foundations and you end up with something unsound like Redis or MongoDB.
Interesting that CashApp and Magensa also were down yesterday. I wonder if there was a common root cause or just a coincidence?
Intelligence as a Measure of Consciousness [pdf]
Is it pulling from user input? Maybe the knowledge data set cut off at 2021 but users have been telling them about harry styles songs? I am a complete novice at llm stuff so I apologize if this statement is super dumb.
Perhaps it’s not a strict dichotomy
With a lockdown-enabled iPhone I only get a loading page that says chrome highly recommended.
Is the gravel loose or packed? Was there a wet spot that will cause a loss of traction later on when the water on the tire freezes? Is that rut solid or soft? That spot looks frozen but there's standing water around it. Can it eyeball how deep the mud may be in a spot to decide whether it's ok to cross or attempt to maneuver around? There's moose tracks here, be cautious. There is more to it than just "hey let's automate this"

Edit, more: tree down across the road, truck can't drive over it. Get out and wrap a chain around it to move it. Busted axle, how will it fix that? Flat tire? Mechanic used distilled water like a dumbass and it froze. Road sign was taken out by an accident, guardrail is missing, hope you arent using those to determine how to keep on track.
Location: Anywhere(currently living in Romania)
Remote: Yes
Willing to relocate: Yes
Technologies: JavaScript/TypeScript, Docker, React, Next.js, Node.js, Nest.js, SQL, RxJS, Angular, Vue.js, webpack
Résumé/CV: https://github.com/Andrei0872/andreigatej.dev-new/blob/master/me/Resume-2023.pdf
Email: andreigtj01@gmail.com

I'm a software developer who has just recently graduated. Despite this, I have some professional working experience accumulated over these years.

My programming journey started in late 2017(in highschool) and, during this time, I have built several complex projects, contributed to open source, contributed on Stack Overflow by answering questions, explored source codes, written articles and made technical videos on YouTube. I'm sharing my journey on my website.
I love solving problems and facing challenges across the entire web stack. One of my strongest ambitions is to become the best developer I can humanly be.

My website: https://andreigatej.dev/.
YouTube channel: https://www.youtube.com/@andreigatej6704.
GitHub profile: https://github.com/Andrei0872.
Stack Overflow profile(11K+ reputation): https://stackoverflow.com/users/9632621/andrei-gătej?tab=profile
I remember first coming to Japan and playing a round of chess with someone who had mostly never played but was very strong at Shogi. I'm not master or anything but had played a lot and was still generally confident in tactics, and had experience playing with new players, adjusting to keep a good game pace while still winning.

Got obliterated.

Also then started playing Shogi with him for the first time and while it didn't take that long to triumph with an all pawns handicap, after much effort finally reached being able to win including rooks/bishops. But it was obviously basically cheating since eventually you realize how easy it is to win with handicap be just putting 100% into defense.

Anyways, with those games to me it really felt that Shogi is the more strategic game, having similar mechanics to chess but being more dynamic. Chess in the end, even looking at GM matches, looks like much more pattern matching, i.e., tactics.

So my takeaway from that was that as much as I enjoy chess, Shogi is just the more complex game and its experts may just be able to defeat masters if they cared to because of the otherwise similar mechanics, as one of the anecdotes in the article.

Random share this is just personal but honest feeling from past experience and not an endorsement. Really fun memories.
Yes, the same thing is happening for movies and TV shows. Practically every major movie is either a boring superhero movie or a remake. It’s because movie studios don’t want to take a risk on something new and creative that could flop. They want dependable profits.

I just pointed out Watchmen as a rare example where the producers took a big risk by making it about racism and violent extremism. Even though it was a superhero show, it felt fresh due to the new take and ideas.

It rankled a lot of feathers in the process, likely reinforcing Hollywood’s desire to continue making cookie cutter shows instead.

And about Harry Potter - it did a great job of evolving throughout the series to stay fresh. The kids grew up, learned new types of magic, and had constantly changing relationships for one thing.

Also, the series constantly introduced new and interesting characters or killed off extremely popular characters as well.

There was even an installment that heavily made use of time travel, which I thought was depicted in a really cool and satisfying way.
> because of its diagnostic challenges and the emotional gratification of deep relationships with patients.
Calling it manually wouldn't stop it from being called on its own. Also there are two types of GC calls in node, one for the short lived memory and one for long lived memory (this is a generational gc) so you're going to have to understand where your memory allocations live if you want to do that. That's not too hard, thankfully, thanks to profilers.

But anyway, you'd have to first stop it from being called at all, then call it manually after. This seems very hard, I don't know how much Node would like this, especially as you would have concurrent calls to the GC potentially. There's a very scary difference between "turn off, turn back on" and "turn back on, turn off", which can easily happen if you have multiple concurrent calls to the GC. Imagine if you threw an exception after turning the GC off and never turned it back on? Oof.

I'd frankly prefer someone just uses Rust than starts to fiddle with GC at runtime in such a way.

> Also, wouldn't it be better to have the fields (and httpstatus) variable be declared above the for loop and just replace the contents of the fields variable instead of allocating a new one each time?

Maybe. It's possible that V8 will do that. But also you're adding extra lines to manage your buffer if you want to take control over that allocation. It's probably what I would do tbh, although the post makes it clear that just using Rust, where such management is trivial, is lower cost than expected thanks to the FFI library used.

> The thought process this blog seems to use is 'we have a lot of allocations and nodejs is garbage collected, therefore there is no alternative to using a different language'.

I think the main issue I have with the post is this line:

"Perhaps it's time to consider that JavaScript may be the problem."

Javascript isn't so much "the problem" as it is simply a tool that makes optimizing around allocations difficult. It's very hard to know when you're properly managing your memory or not, and you're subject to the whims of V8 to optimize things for you.

If the author had phrased this instead as "I'm sure there's some way that I could get V8 to optimize the allocations, or avoid them altogether, I'd have faster code - but the cost of doing that is far higher than simply using a language where these problems don't exist" I would have no real objections.
This sucks for those affected.

Let this serve as another reminder that your (potential or actual) employer will upend your life with no regard for the consequences so you should act accordingly.

Don't quit your job until you've started the new one.
Show HN: Performant Rust Streaming Algorithms from Python
The author also wrote a blog post on how to use it with Bytewax, a Python stream processor, to read and analyze Mastadon posts.

https://bytewax.io/blog/top-kat-and-streaming-algorithms-in-...
> Crewed spaceflight is no worse and no different than spending money on Hubble, JWST, or the Voyager missions.

If you ignore the huge difference in efficacy and results, sure.
Yes split_ifs is in Mathlib so I have replaced it with split (twice) which is in Core. I believe there is also an intermediate level Std. I'm not sure why you'd want to avoid Mathlib but I daresay it's possible for many types of problem.
You'd end up writing your own Rust-style split implementation and `&str` class and so on. You'd basically be implemented a crap version of Rust in JS. Surely it's better to just use Rust?
Hard disagree.

I do not want my kids to have easy access to drugs that can destroy a person.
I wouldn’t assume that private companies and individuals cannot get warrants.

However, they look very different. The major distinction is that when a private party requests an injunction allowing them to e.g. trespass on their neighbor’s land, the court will require notice and a hearing for the defendant. So, if a chemical plant needs to do earth works on a neighbor’s land to prevent a collapse, etc. the judiciary may well issue an order requiring the neighbor to let the company enter.

Frankly, notice and hearing should probably be required for some criminal warrants too. I can think of a few indictments and arrest warrants that have recently been issued where there is a genuine question as to probable cause and the alleged illegality of the conduct. It’s not fair for people who are not a flight risk to be arrested (and often imprisoned) with no opportunity to defend themselves.
I can't

The FAQ says "There are no down arrows on stories. They appear on comments after users reach a certain karma threshold, but never on direct replies."

https://news.ycombinator.com/newsfaq.html
Hey mate, is it alright if I post the TamperMonkey script I wrote to fetch summaries from your site on the news.ycombinator.com/news?
The MVCC implementation inside Postgres is probably not the greatest, in terms of overall performance. This is a good read https://db.cs.cmu.edu/papers/2017/p781-wu.pdf

"Postgres ... configurations lead to the worst performance, and the major reason is that the use of append-only storage with O2N ordering severely restricts the scalability of the system.... "
So what are you saying? Are you saying that it is reasonable to bring down the whole system in a hard to debug way for one item being out of order?

That is not reasonable. And it won't become reasonable by alluding to how "super-critical" or "safety-critical" the system is.
Flexport CEO rescinds signed offers for people starting Monday
We could solve all of the energy problems if we could find a way to harness all of the hot air in this discussion.
Is there a tutorial that uses this approach?
Have you ever had friend requests from a "clone"? An actual IRL friend of yours, but it's a scam duplicate of their profile. It's not always immediately obvious if this isn't a friend you interact with regularly, like someone who accepted a request from years ago.
Why the soldiers? They aren't the ones that made the decision. Sure, if they committed war crimes themselves, but for anything else you have to address the people that actually were responsible. Prosecuting soldiers would be futile and certainly no justice.

There was a lot of media propaganda to make the war popular. It wasn't at first but it didn't even take half a year until people ate it up. Liberal, conservative, didn't even matter. It was scary to see how quickly people were manipulated. It had large support in the population. People should stop and reflect what made them support the war, which messages and by whom. That is the responsibility they can take here and it would be much more constructive than putting the blame on soldiers...

Israel citizens might have a better excuse to develop weapons than most other countries, so I don't see the point. Not an excuse, but at least an explanation.
> It’s not the only case of a ChatGPT-assisted manuscript slipping into a peer-reviewed journal undeclared. Since April, Cabanac has flagged more than a dozen journal articles that contain the telltale ChatGPT phrases ‘Regenerate response’ or ‘As an AI language model, I …’

Not sure what is more astonishing here: The fact that copypaste makes it into a peer reviewed journal, or that the use of ctrl+f is being called "detective work"
Sometimes known as "Model-T election"

"Any customer can have a car painted any color that he wants so long as it is black."
Hi, I love this.
I am sure of being a good fit.
Iceraven is a similar (in principle) fork of Firefox for Android.

=> https://github.com/fork-maintainers/iceraven-browser/
The big news here are that there are journals in the Springer and Elsevier network that do not read the papers they publish whatsoever.

For this service of copy-pasting text into a digital PDF they charge their crazy premium. This is amazing. In a sane world this would finally destroy their reputations so we could replace them with a reasonable solution for evaluating researchers.
By “not allowing” do you mean putting people in jail, or something else? Because passing a law doesn’t make it just go away. Putting people in jail seems worse in every way.
Apples and oranges: The authors in question obviously missed ChatGPT generated nonsense ("Regenerate"), who's to say they didn't miss anything else? A spell checker helps you _not_ miss inconsequential mistakes. ChatGPT makes it harder to miss subtle yet consequential mistakes.
The OS vendors refuse to implement lawful intercept capability because there is no such thing as a lawful intercept capability. There is only intercept capability for any purpose because ROM bootloaders and secure enclaves cannot vet the lawfulness of a request to subvert their owners. You can make a phone relatively secure against people trying to break into it, but only if it has unique access keys for the owner. If you give any government a second key for intercept capabilities, that key will be a single point of failure for the entire system. Eventually it will leak and your phone password will be effectively useless.

I don't even need to invent a scenario for this: you can buy the TSA master keys off Amazon right now. The only reason why it's not a huge problem is that TSA locks are a special thing you buy and use solely for airline luggage that is already in TSA custody anyway. If you use TSA locks on anything else, however, you're just asking for it to be stolen because the locks don't actually provide any security.

The shady clients will get their hands on any intercept key provided by law enforcement, because it's legally unreasonable for Apple or Google to only provide intercept capability to some of the countries they operate in. e.g. if you give the US and UK a decryption key you also have to give it to Saudi Arabia[0]. Hell, in some countries the shady and legit clients are part of the same government - e.g. you can't give the key to just the FBI but not the NSA or CIA.

[0] The Saudis have one very big lever they can use to force the west to do what it wants: gas prices.
dave clark seems to not understand working in resource constrained ways
This is a great kind of thing for getting people into music. There's a piano in my local pub and when people say they "can't play piano" I'll play a 2-5-1 in C and tell them to hit any of the white notes. People love that they can make up their own tunes having never played before.
Thankfully the rest of the worlds superpowers, India, China and Europe are run by cronies too, so it all evens out.

I don’t think these mega empires are good for the world, too much central power and too many management layers between those who rule, and those who do.

A lot of rules to follow that often seems arbitrary.
Or if the corrosion inhibitors actually cause more lead to be leached like the water treatment lab found in Madison, WI, so they rejected the plan and replaced the lead pipes instead

https://www.npr.org/2016/03/31/472567733/avoiding-a-future-c...
I'd probably avoid sending them to school then - I never had an easier time finding drugs.
Elon Musk Acknowledges Withholding Satellite Service to Thwart Ukrainian Attack
Right here - https://www.youtube.com/watch?v=7Ron6MN45LY

Generally the difficulty of a method is driven by the number of "algorithms", or sets of moves, you have to memorise in order to move between states. The "beginner method" is not very fast, but doesn't require a lot of memorisation. One comfortable with that, you can build up on it and replace parts with faster moves.
Spellcheck does not assert information as factual unless the author of the text being checked made that assertion already.

The same does not hold true for GPT.
I have been hearing about emacs and vim also intending to learn Emacs for a while, from the comments it seems like a good time to start.
AFAIK they've been using it for years to resolve customer complaints.
The examples here seem to go pretty far beyond spellchecking though.

I guess I understand the reasons for the disclosure requirement but if you're really just using LLMs to help you more quickly write some background text that you could otherwise do yourself, 1.) It's hard to see the harm beyond the tools that are in every word processor and 2.) I probably just wouldn't use the LLM at that point.
Velocity is controlled by where you tap the screen (vertically)
There are embeddings that are trained to reflect similarity, for example SentenceBERT, where the training process pushes pairs of similar sentences (as defined by whoever built the dataset) to have closer embeddings and dissimilar sentences to be further apart.
Use brew.
I kinda like Terrier Farm, but might just be me.
Show HN: Vanna AI – Open-sourced text-to-SQL in Python
Hey there HN!

We've just open-sourced Vanna – a Python package that allows you to transform questions into SQL. We've leveraged LLMs to enable you to "ask" databases what you need, bypassing the need to "write" complex SQL.

Quick Overview:

- "Train" using DDL statements, documentation, or known correct SQL statements.

- "Ask" questions in natural language and receive SQL, tables, and charts in return.

- Open Source Flexibility: Swap storage mechanisms, customize LLMs, and choose your databases.

- Local or Hosted: Operate everything locally or use our hosted version for free (including complimentary LLM calls).

- Use it wherever Python is applicable. We provide code examples for integration in Jupyter, Streamlit, Slack, and more.

We would greatly appreciate your feedback, insights on issues, and contributions:

https://github.com/vanna-ai/vanna
> Don't quit your job until you've started the new one.

Is that even allowed? In India at least, every company requires you to have left the previous one before you join them.
Scraping social media platforms may be against their terms of service, but its not illegal or unethical.

People seem to think social media is akin to private communications where it's more akin to the public square. Making your IG/FB/whatever profile private doesn't change that.

In NYC for example, there's been a large uptick in teen shootings, many adjacent to schools, and a lot of it involves the idiots posting on social media before & after. One tool could be simply scraping social media for these postings. Another alternate, pre-internet tool was stop&frisk.

While you have a constitutional right to not be searched without consent/probably cause, you do not have a constitutional right to spouting off in the public square without consequence. What you say publicly can & will be used against you in the court of law.

Putting out an IG post of yourself with illegal guns or inciting a shooting is no more private than printing out posters of the same and putting them up around the neighborhood.
I mean FTA- the conditions seem absolutely treacherous and non-industrial traffic is explicitly warned about the dangers. I would imagine that there are many situations on that route where evasive action would be more dangerous to both parties. Clearly not a situation or “license” that a truck driver would want.

Also not sure there are any pedestrians lol