skysight-inc/HackerNews huggingface dataset:
I agree with half of that. The half that says that most exceptions thrown from libraries today and in much of application code as well are way too generic and hide the details that might allow handling them in a `message` String.

However, that's still about the exceptions thrown from down thread, not from the call path part of the "stack trace".

I.e. your situation would never happen.

Authentication_Filter_Error -> SQL_Verify_Account_Error -> SQL_Error.Closed_Conn

This stack / call path is impossible, because when the AuthenticationFilter notices that the token is invalid, it returns a 401 or 403 or whatever is appropriate and my REST resource is never actually called. There's no SQL being run and very definitely no "connection closed" error occurred.

But let's say there was a distinction made with proper exception types and instead of `SQLException("Connection closed")` and `SQLException("Statement timeout")`, I actually received `SQLException(ConnectionClosedException())` vs. `SQLStatementTimeoutException`. Now, without string parsing, I can know that either the connection just closed or that the statement was aborted due to timeout. If these are checked exceptions, I have to declare that I'm aware these can happen and what I want to do with them: Handle or rethrow.

However, a myriad of such exceptions can happen. I would probably have to declare 20-50 exceptions way up in a REST resource layer. Not only can these two happen, but many other situations on the network or database side and on the JSON parsing side for the payload I receive, some exceptions from my business logic etc.

And for most of these, what can I do? If the connection to the database closed, all I can do is to log the error and return a `500 Internal Server Error` to my caller. Guess what I can do when a statement timeout occurs? I log the error and return a `500 Internal Server Error` to my caller. For a statement timeout I can't even return a `400 Bad Request`, because it's not knowable if the statement timeout occurred because the database was simply overloaded in that moment or if the request itself was created with such parameters as to always cause a statement timeout. Until we see the logs and through investigation figure out that it wasn't a bad request after all anyway. We were missing an index and the table finally grew large enough for that to matter.

So yeah, I'm good with `RuntimeException` and handling only very few specific ones ever.

Also nobody will be screaming when the token is invalid and I definitely don't call any system administrator. That's something you as a developer look into. Same with the statement timeout.
I used vue 2 for work during the switch to vue 3. It was horrific to watch as the vue community had to relearn the worst parts of the class components and the massive shortcomings of both the template library type checking and the other parts that basically can't ever support typescript like class mixins. If you want to use vue with a .tsx file you might as well use react.

Today, 33% of vue downloads in the last 7 days are for vue 2.

There was a lot of things that were nice in the vue world like vite and vuex, but I'd never recommend vue to anyone, especially anyone that wants a good typescript experience.

here's an example library button using .tsx in vue https://github.com/vuetifyjs/vuetify/blob/master/packages/vu...
> which isn't on most keyboards

This shouldn’t really be a serious issue nowadays. On macOS it’s Option+Shift+'-', on Windows it’s Ctrl+Alt+Num- or (more cryptic) Alt+0151.

The Swiss army knife solution is to configure yourself a Compose key, and then it’s an easy mnemonic like for example Compose 3 - (and Compose 2 - for en dash).
Or perhaps a "calculated risk with potential huge return on investment"...
Interesting, this is very similar to some of the things we do to language runtimes at Temporal to ensure durability/resumability.

Is the persistence layer and the calls to persist/checkpoint pluggable/extensible?
Not o1-preview, it's way too slow. Sonnet 3.5 via Cursor IDE, yes. In fact, I'm writing very little code these days and mostly prompting the LLM to make changes for me and reviewing the changes.
Wouldn't the equivalent be more like server components in react? Or do people literally let their backend render presentational html (including tailwind css or whatever)? Like do htmlx people render html from database resultsets in their backends?
Yes, I heard this rumor right after I moved from github to gitlab. Well if I have to go elsewhere at least gitlab will archive my abandoned free account for me :)

FWIW, I found them easier to deal wit than github, so will hang tight to see how this plays out.
You guys are kinda overreacting. No one is gonna track down and kill dozens of engineers, i really don't think it would even be possible to do hundreds or thousands of hits like that without being caught or stopped. This is about the people that _make the projects_. The person who _decided to obsolete an entire workforce_ is infinitely more culpable than a level one engineer who made an API. I mean just look, this guys the literal CEO, i think if we see anything more it'll be other top executives. For better or for worse you're almost certainly safe just working on a team.

But also, why would you want to participate in the active ruining of people's lives. If you realize your work is doing that you have a choice, bear responsibility for the suffering of thousands of people upon your soul and face the consequences, or leave. It's not like we're felons fighting to get hired at wendys. Jobs exist, we have 401k's and stock plans and get paid insaaaane amounts of money. Simply be responsible with your financial savings so that you can be responsible with your work. None of this applies if your financially troubled. But financially troubled people aren't the ones building the abstracted death camps and job eating machinery.
I found this: https://en.wikipedia.org/wiki/Court_costs which generally seems to say that you only have to pay in criminal cases if convicted, or in some states never. To clarify, I'm not talking about the costs of your own attorney, but the cost charged by the court itself.

I was asking because in Germany, you generally (only) have to pay if you're convicted, I think.
It's sort of funny how close they were to that until Altman came along.
Thanks for the clarification. I'm trying to understand the rationals behind React's design decision. Why state changes within the same render cycle would lead to all sorts of bugs? And why is it not a problem with other frameworks like Vue or Svelte?

Just a follow up. If foo and bar are expected to be constant in the rendering code, what's the point of the setXXX() functions? Why not just make them constant explicitly and say mutating them elsewhere like in the handlers/controllers?
It takes a lot to go beyond the corporate veil and hold individuals criminally liable. I think prosecutors rarely try unless it's a slam dunk.
The benefit of getting an answer immediately rather than tomorrow morning is why people are sometimes paid more for on-call rates rather than everyone being 9-5.

(Now I think if of the idiom, when did we switch to 9-6? I've never had a 9-5).
TUAH!
As of Q3, 22k lightning sales and 28k Cybertruck sales for the year.

https://www.coxautoinc.com/wp-content/uploads/2024/10/Kelley...
I went to an Apple Store today to try to see the difference, because I bought an M4 MBP w/ glossy, and have had doubts.

They only had an iMac with it – I assume it’s the same? If so, it’s _mostly_ equivalent, but the glossy screen definitely has deeper contrast, and appears sharper for text, though terminal usage wasn’t quite as pronounced as the browser.

I’m still tempted to buy one to try, and return the one I end up not liking. Most of my usage isn’t in areas prone to glare, but occasionally it is, and it’s annoying. I just don’t want to sacrifice sharpness, because I love how crisp text is on these screens.
> (Not on topic, but from the other side of the Atlantic, how on earth did the US go from "her emails/lock her up" being a rallying cry to electing the guy who stacked piles of classified documents in his bathroom?)

The private email server in question was set up for the purpose of circumventing records retention/access laws (the example, whoever handles answering FOIA requests won't be able to scan it). It wasn't primarily about keeping things after she should have lost access to them, it was about hiding those things from review.

The classified docs in the other example were mixed in with other documents in the same boxes (which says something about how well organized the office being packed up was); not actually in the bathroom from that leaked photo that got attached to all the news articles; and taken while the guy who ended up with them had the power to declassify things.
A fine is just a cost of doing business, and the kinds of entities that this targets would happily just pay the fine to continue being anonymous.
A poor use of the words for sure. “standard originator” would have been better.
Maybe IBM since I think Gnome and a few other large projects moved there. Plus since AI is all the rage, I can see someone picking it up.

The main question is probably the price.
In part that'll be because they mandated every service team migrate to ARM. Service teams had to have extensive justification to avoid it. With good reason, too, the reason for the effort was the significant cost savings.
No. Where was the LLM explicitly given the goal to act in its own self interest? That is learned from training data. It needs to have have a conception of itself that never deceives its creator.

>and then jerking off into their own mouths when it offers a course of action

And good. The "researchers" are making an obvious point. It has to not do that. It doesn't matter how smug you act about it, you can't have some stock-trading bot escaping or something and paving over the world's surface with nuclear reactors and solar panels to trade stocks with itself at a hundred QFLOPS.

If you go to the zoo, you will see a lot chimps in cages. But I have never seen a human trapped in a zoo controlled by chimps. Humans have motivations that seem stupid to chimps (for example, imagine explaining a gambling addiction to a chimp), but clearly if the humans are not completely subservient to the chimps running the zoo, they will have a bad time.
I always assumed that they were snake oil because the training objective is to get a model that writes like a human. AI detectors by definition are showing what does not sound like a human, so presumably people will train the models against the detectors until they no longer provide any signal.
That CNN article is a light-weight review of select food defects allowed, not measured, by the FDA and chosen by the author for their yuck factor. I wouldn't let any of it justify a dismissiveness of heavy metals in dark chocolate.

The Consumer Reports article presents investigative results that measured actual heavy metals levels in dark chocolate. It's worth considering by anyone encouraged to increase their dark chocolate consumption by the diabetes study.
> Maybe i should go up to random strangers and PAY THEM in order to give them something that would benefit them

It may not benefit them, it hasn't been tested. It will benefit you, because it will provide testing.
JetBrains buying it would be out of left field but makes sense in some sense and would be the best possible outcome.
That is a pretty interesting thought experiment, to be sure. Then again, I suppose that's why redteaming is so important, even if it seems a little ridiculous at this stage in AI development
What we’re seeing here is a huge disconnect between regular human morality and our legal system. Most people regarded him as a mass murderer, but the cops would not act, so a vigilante stepped in.
Mixture of time value of money and interest/inflation.

You take that 85 Million and invest it (likely into growing a business unit but lets ignore that) and over 10 years it becomes greater than 85 million.
$85M in 2014 dollars is $113M in 2024 dollars, and something tells me McKinsey didn't just leave the money sitting in a high yield savings account all this time
So... the real way to implement AI safety is just to exclude that genre of fiction from the training set?
The sentence for the McKinsey partner who pled guilty hasn't been announced yet.
The page is about the law itself and how it was developed, its history (...)

To read how it is applied today in the us, https://en.m.wikipedia.org/wiki/Jury_nullification_in_the_Un...
some places have laws that require wipers to be on while it's raining. Seems like a smart thing to have until laws are updated just to prevent your cars from getting pulled over by police.
> how the MSM is completely ignoring that angle.

This is clearly and obviously false, and using an acronym like "MSM" (which is so slippery as to be meaningless) suggests you don't actually care whether it's false. I hate that the internet encourages ideologically-motivated lying.

https://www.yahoo.com/news/americans-little-sympathy-murdere...

https://www.usatoday.com/story/life/health-wellness/2024/12/...

https://www.nytimes.com/2024/12/05/nyregion/social-media-ins...

https://www.nydailynews.com/2024/12/05/brian-thompson-shooti...

https://www.reuters.com/business/healthcare-pharmaceuticals/...

https://www.barrons.com/articles/united-healthcare-brian-tho...

https://www.axios.com/2024/12/05/unitedhealth-brian-thompson...
Yeah, but it's the same thing as the "built on top of awkward layers" problem that you describe as a problem. it either is or isn't a problem, and then today you can still write it if you want.

People were doing things like making rounded buttons using tables, using things self-described as "clever hacks", and they mostly stopped working because as things like new viewport dimensions showed up you needed to paper over that too.

at least from what i've seen, the other strength of CSS is that it gets used for literally everything and so it's possible to build most conceivable layouts. A lot of the other layout frameworks either just use CSS, or you might run into edge cases because of the sheer amount of things in CSS that may not be well supported elsewhere or do not have a clear parallel.
Really impressive achievement! I love the name too!
These days, most journalism is turning reddit posts and tweets into long form articles with some additional context.
Not really the same, one you can own and repair the other you just lease. People cancel leases all the time.
You cannot compare Serverless with dedicated instance, this is unfair. A large number of writes and queries will eat up your wallet.
This is awesome! Can I ask what development looks like? Do you run this in a VM or on bare metal? When you sit down and work on this, what does it look like?

I bet you learned a lot with this - how do you keep notes and track your development? Or is the OS your live journal. Thanks
No, because a lot of people asking you questions doesn't mean you have the answers to them. It's an opportunity to find the answers by hiring "AI trainers" and putting their responses in the training data.
> (Ironically, SOTA LLMs are already way better at writing than typical person writing stuff for money.)

I’m aware of multiple companies that would love to know about these, because they’re currently flailing around trying to replace writers with editors + LLMs and it’s not going great. The closest to success are the ones that are only aiming to turn out stuff one step better than outright book-spam, and even they aren’t quite where they want to be, hardly a productivity bump at all from the LLM use and increased demand on their few talented humans.
Yeah, the other strategy is to release statements about why they're dying. "The next CEO that increases their salary or does a stock buyback within 12 months of laying off more than 30 employees will die." And then follow that up with action? Sure, they'd hunt you down, but they'd stop extracting like that reeeaaall fast.
It's actually surprising how many articles on 'respected' news websites have typos.

Well, that's why they're respected! The typos let you know they're not using AI!
A small plot of land in a desirable location is $4M in Palo Alto.

Sure the mansions in Pacific Heights are more, but they are mansions.

Compare like for like.
o1 pro: https://chatgpt.com/share/67523cd1-e238-800b-8fc6-64d58bbb45...
apply your critical thinking skills before posting. $85M in 2014 dollars is $113M in 2024 dollars, and something tells me McKinsey didn't just leave the money sitting in a high yield savings account all this time
It might not affect whether people decide to use ChatGPT over Claude, but it could get more people to upgrade from their free plan.
If you struggle so much with finishing projects and are frustrated by it, that’s a signal you’re unable to accurately gauge your level of engagement/excitement/motivation/skill/whatever. There is a mismatch between the complexity/size of the projects you pick and what you are able or willing to do.

Seems like a simple solution: do smaller stuff, reduce the scope. Start side projects you can finish in a day, or a week, or whatever you can usually manage. Instead of aiming to build a space shuttle, make a bicycle. Those are fun and useful too. Make your project do one simple, stupid thing. No feature creep, no bells and whistles, just do one thing.

Alternatively, continue as you are but learn to accept yourself. Admit that any side project you start is something you’re not going to finish and don’t make it about finishing, but instead about enjoying the process.
>Traversing

With the reverse pagination solution here, the order of the items is inverted. For example if you order by some incrementing value, and page size is 5, then page 1 has items 1,2,3,4,5, in that order, the next page, page 2, has items 6,7,8,9,10, and when you press previous page you get items 5,4,3,2,1 instead of the original order. You can reverse them in the client when you use previous pagination, but this is inconvenient. You can implement this in sql by wrapping it in another order by with the correct order. There is a page on select (sql) on wikipedia that covers this kind of pagination for most relational databases[1].

>Designing interfaces

You mentioned that you don't have a concept of link to page 7 when you use cursor pagination, but you could always combine offset and cursor pagination, like: "6 pages (as offset) after item with lastupdate=2024-01-01". The performance downsides of using offset are not that big with small offsets, and you can add some maximum offset in the backend to make sure the performance is good enough. This means you can also add a feature where the user can jump 5 pages ahead instead of having to jump one page at a time like with the github example, without most of the performance overhead of using pure offset pagination.

>So, I think it's reasonable to return cursors that traverse in just one direction

Being able to traverse backwards is genuinely useful in a lot of cases, and as a developer it is your job to figure out a technical solution to the user needs. Again, have a look at the pagination wikipedia page to see how you can implement it in sql.

[1] https://en.wikipedia.org/wiki/Select_(SQL)#Method_with_filte...
https://github.com/apernet/hysteria has the option to use https://github.com/apernet/tcp-brutal, a deliberately unfair/selfish congestion control algorithm.

It's designed to mitigate certain methods of blocking-via-throttling.

I looked into it for a report I wrote a while back, and I was surprised to find that nobody has made something purpose-built for greedy TCP congestion handling in order to improve performance at the expense of others. If there is such a thing, I couldn't find it. Perhaps I'm a little too cynical in my expectations!

Maybe TCP-over-TCP is so bad that it's not worth it?
It could be an overestimate, it could be an underestimate, or for a specific family buying a specific home it may be spot on. It is kind of like saying that it costs $5,000 to build a software application. That statement is true, but meaningless.
I think a single Starlink v1 satellite has a maximum bandwidth of about 20 Gbps. Newer versions might have a lot more.
As a serial domain buyer (currently at ~37 after letting many expire), I can answer this one: generally you aren't purchasing them with no intention of shipping. That happens later.

For me, the process normally goes:

1. Inspiration strikes, I start noodling on an idea

2. I get really excited and start exploring the domain name state space for places to host it

3. Life happens, the idea ends up being bad/hard/some better alternative exists, etc.

I think buying the domain is kind of an accountability thing in some ways, the same way people pay for instrument/language/etc lessons when they could learn online for free. It makes you more committed to the process.

For ideas that I've had, the ones that get domains likely have a much higher completion rate than the ones that don't
I actually had the exact same thought. Obviously it's in their best interest to charge you a subscription, since then you pay forever, but there are some options out there. The one I use (called Horsy Chrome) is a bit new, discovered it through an AI newsletter I subscribe to, and they offer lifetime deal: https://horsy.ai/gallop.

In terms of product, I actually prefer it to the competitor products you already mentioned. I suggest you check them out. I personally would love it if more products were this way, and there are some websites out there specifically dedicated to software products with lifetime deals (e.g. appsumo), so who knows, maybe this is a trend!
That reminds me of when I asked github copilot to translate some Vue code to React, and ended up with a bunch of function declarations where the entire body had been replaced with a "TODO" comment.
Pertinent and timely, after recently watching a great documentary on HBO Max about Pegasus, Surveilled by Ronan Farrow.

Commercial spyware, touted as a tool used by governments to fight terrorism, is now appearing on the phones of activists, journalists, politicians, and even ordinary people. In Surveilled, Pulitzer Prize-winning journalist Ronan Farrow illuminates a clandestine industry that is reshaping the concepts of privacy and power, revealing the ethical dilemmas that both governments and citizens must navigate in the brave new world of cyberespionage.

HBO Documentary Films presents Surveilled. Producers and directors, Matthew O’Neill and Perri Peltz; producers, Ronan Farrow, Beth Morrissey, and Unjin Lee; editor, David Meneses; composer, Mac Quayle; writers, Ronan Farrow, Matthew O’Neill, and Perri Peltz. For HBO: executive producers, Nancy Abraham, Lisa Heller, and Sara Rodriguez.

[1] https://www.hbo.com/movies/surveilled
> As a result, in order to determine if a formula is satisfiable, first convert it to conjunctive normal form, then convert the new formula into a course catalog.

I know this is a consequence of NP-completeness and so on and so forth, but I also find it a funny and charming way to phrase it. Once we've solved the fundamental problem (what courses to take), we're able to solve simple specializations and derivatives (boolean satisfiability).
I think it is frankly insulting to compare someone being sued for maliciously denying lifesaving healthcare and causing a vast amount of wrongful suffering to innocent children being blown up.
You don't have to sign into ChatGPT to use it with Siri.
Perhaps Trump -- and Republican -- voters avoid taking polls or some are afraid to go on the record and admit how they're going to vote. For some there is a non-zero risk certain family members may cut off contact.

> ...some amount of self-reported filtering because of the demonization of Trump.

Indeed. He demonizes himself. I was ashamed to admit I voted for him in 2016.
> upgrading it is painless as long as you don’t ignore deprecation warnings

Maybe if you have a small app. React is as bad as going from angular to angular 2