newaccountman2

Joined 2 years ago

Karma
147
Submissions
208
Member since
Jul 3
View on Hacker News

Recent submissions

Comment · 3 months ago
Are the companies and persons involved in that effort registered under FARA? That's part of the criticism of AIPAC and other aligned groups, that they aren't and nobody in power has thought to make them.
Comment · 3 months ago
> college expulsion of Palestine supporters, then expulsion of multiple Ivy League presidents for not cracking down on students more,

?? We have all been seeing this happen, and professors have lost their jobs over criticism of Israel, such as Katherine Franke from Columbia, and now this prof suing Northwestern.

But nobody ever seems to get fired for defending Israel etc.

And no university has ever had funding threatened for having curricula or profs that demonize Palestinians or undermine their narrative.

You could probably make an argument that the students who got expelled were expelled for the nature of the protest, and not the cause itself, but that's rather different from "pretty directly backwards of what's actually happening"

Comment · 3 months ago
Based on what actual facts?

What the above poster listed is just a brief overview of the opposite, which has been the status quo for the past like 50 years here.

There is a lot of noise against Israel, but all the action is in the other direction, so to speak. And there are comical pains being made to absolve Israeli society for the country's actions even though it's a democracy that has voted for the very policies people are increasingly discovering and labeling abhorrent.

I say this respectfully because it's your wife, but if one can see the acts that Israel has been committing and how it plays in the US political process, but feels attacked when people react strongly and do things like try to boycott the country, then some introspection is required. Really needs to be a "are we the baddies" moment.

It's good she's here and that your children will presumably be raised here. It's not good to be in the kind of society that is under the grip of such an ideology as prevails over there.

Comment · 3 months ago
My "arbitrary structs" thing is exactly what Aeltoth was discussing in the Discord a couple days ago.

For the other part, I am basically saying I don't like, if one has a FK from Posts to Users, the ORM semantics of having user.posts automatically eagerly populated OR Deferred. I personally prefer to write SQL DSL in whatever language I am using whenever there is a join and explicitly add gather and add the posts. But I should probably get over that. Most of the time that is more cumbersome and having them eagerly there reliable is usually what I want anyways.

Comment · 3 months ago
You could check out Loco.rs

I don't use it personally because I don't like the look of SeaORM

Comment · 3 months ago
Oh cool, I will poke around Toasty. I am in the process of having LLM switch a project from some raw sqlx jank to Diesel, and mildly annoyed about some the boilerplate Diesel involves. Will have to see if Toasty solves it and whether it lets one query for arbitrary structs and add fields to structs from query results (e.g., in the README example for Toasty, explicitly joining on TODOs and mapping them to a simple field on the User objects as opposed to using ORM `has_many`)

> What pain points do you have in the Rust web framework ecosystem? Happy to hear.

I think I have more "gripes" than strong pain-points admittedly. Off the top of my head, complaints about boilerplate to simply access path params and JSON bodies.

Currently using Rocket, but it looks dead and unsupported. It's not perfect, but I like aspects of it, such as the global error handling and relative ease of accessing params.

Probably going to seem nitpicky, but compare these 2:

Rocket ``` #[get("/chat/threads/<thread_id>")] async fn get_thread(thread_id: Uuid) -> Result<Json<ThreadResponse>, AppError> ```

Actix ``` #[get("/{name}")] async fn hello(name: web::Path<String>) -> impl Responder ```

Why can't name just be String? Why can't `hello` endpoint just indicate clearly what it returns?

Comment · 3 months ago
Agreed.

For example, I am learning about finance and Rust right now with LLM help. I'm not about to ace Wharton undergrad exams or deploy Rust to prod without LLM assistance, but LLMs have been such a solid enabler in getting going with these things that I have been trying to learn more about for some time.

I think the person to whom you are replying could also benefit from them if he stopped blaming the problems he is seeing on AI itself and correctly recognizes that the people he works with are the problem.

Comment · 3 months ago
> I go to work and notice that everyone else is on a path to mentally checking out.

This is a problem with your company and the people with whom you work, not with AI.

Comment · 3 months ago
> American's don't want to live under constant surveillance, inside an open air prison.

A lot of Americans do if it "owns the libs" or makes the lives immigrants worse.

Comment · 3 months ago
> The first authoritarian regime that might come to mind to most after the French Revolution, the Nazis,

?? you think no government between the French Revolution government and the Nazis could qualify as "authoritarian"?

Comment · 3 months ago
I don't feel like this is solving the painpoints I feel in the Rust web framework ecosystem. And how is it full-stack if they don't have anything for the DB layer in here?
Comment · 3 months ago
yeah if you look at past bubbles, such as railroads, they were all genuinely useful developments. They were simply overvalued, largely because the timeline is longer than people are betting on or suggesting.

This Zitron guy keeps saying AI isn't actually useful, doesn't he? That's patently false.

Comment · 3 months ago
That's not the only thing he has done. There are also initiatives to actually build it, which I agree is the correct response over rent control (which is more of a bandaid, and a bad one at that).

I don't think rent controls disincentivize building more because not all buildings can be subject thereto.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton