skysight-inc/HackerNews huggingface dataset:
>> Guns are one of the most dangerous things a person can own

> Actually it's an extension ladder.

Fair point, but I think it's more useful to consider that an extension ladder is a tool designed for non-violent uses, and deaths involving extension ladders are (nearly?) all due to accidents.

Guns are tools designed to inflict injury and death. While many gun deaths are accidental, the guns in those instances are performing to purpose.

> We literally invented metal detectors and have dogs that can smell guns and explosives because sometimes mentally unwell people have weapons.

I don't particularly want to live in a world where we have to have metal detectors and dogs present at the entrance to any decent-sized building. That sounds pretty dystopian.
It's not graph, and it's not QL.
I have Chrome, Edge and Firefox installed and I never understood the performance complaints about Firefox. There is no difference in loading times between any site I frequent. I believe this is a wrong meme to be honest.

Edge was a decent browser for a very short time when it was just a minimal browser. Around the time they switched the engine. Today is in no way better and in quite a few parts even worse than Chrome.
This! I was stunned by the quality and availability of good coffee down under. I figured it was a tea culture and wasn't that a mile of the mark.
Worked on two GraphQL projects; I was quickly cured from the hype. I recognize a lot of points in this article.

In both these projects the GraphQL had started small. I came in during a more mature phase of these projects (2 and 4 years). That's where the requirements are harder, more specific, and overall complexity has grown. Adoption and demand on the API were growing quickly. Hence you logically spend more time debugging, this is true for any codebase.

But GraphQL has everything in it to make such problems even harder. And both these projects had clear signs of "learning-on-the-go" with loads of bad practices (especially for the N+1 problem). Issue descriptions were much vaguer, harder to find in logs and performance issues popped up in the most random places (code that had been running and untouched for ages).

Fun fact; in both these projects the original devs who set it up were no longer involved. Probably spreading their evangalism further elsewhere.

RPC and REST are just more straightforward to monitor, log, cache, authorize and debug.
Kudos to the author for reevaluating his opinion and changing heart on a technology he admits to have championed before.

IMO GraphQL is a technological dead end in much the same way as Mongo is.

They were both conceived to solve a perceived problem with tools widely adopted at the time, but ended up with something which is even worse, while the tools they were trying to replace rapidly matured and improved.

Today OpenAPI REST and Postgres are rightfully considered as the defaults, you even have PostgREST combining them, while most of those who adopted Mongo or GraphQL have either long migrated or are stuck discussing migrations.
I live in Germany, a country infamous for its strong employee protections. It’s very hard to fire someone here. Yet, I don’t see how this is in any way unjust. Your employer pays you for putting your skills and time to their use.

If you start working on a side gig, that will take up a chunk of your time and invariably occupy your brain; thus, your employer doesn’t get their full value out of you anymore. Up to a certain degree, employers (have) to tolerate this—in Germany, that would be when your performance at your job starts to suffer from it. But once your commitment to the side gig increases so much that you’re about to become CEO, there’s no reasonable way to claim you can still carry out your contractual duties to your employer.

If your employer then offers you to either step down from that side gig or lose your employment, that is completely reasonable and frankly something you should expect?

Put differently, if you pay me to paint your shed, and after finishing the front side I went off and painted my own house with the rest of the paint, you certainly wouldn’t consider the job done or full payment to be justified.
To throw another anecdote into the bucket, whenever I'm asked for the last four digits of my ssn or phone number, I have to mentally say the whole thing.
That might be what they meant by "robust permissions model".
many of these concerns are mitigated by ensuring you are using trusted documents (https://benjie.dev/graphql/trusted-documents)
I’m curious to know why it happened only today. Was it some new sanctions? Were they slow to apply existing restrictions? Does it have anything to do with official sanctions at all?
It's a well-argued piece which examines the phenomenon from a perspective outside of the cultural context in which it was created.

If you disagree with the author's argument, could you be more specific as to why?
I still love GraphQL, but much of the love comes from using tools like PostGraphile which generates the API for you based on your database schema. I then add my own Javascript plugins as necessary. Going back to REST and hand writing everything gives me the shivers, how much time am I spending just translating data A to data B?

Authorization: I do it in the database using roles, row level security and column level security. It works well and I defer everything to PostgreSQL's security controls, it feels like the right place to do it and I don't have to worry about it going out of fashion, PostgreSQL is here to stay. Anybody else who talks to the database directly is also subject to the same authorization rules, which is nice.

Introspection: this should really be disabled on production services. Only enable it for development.

N+1 problem: I don't really have a problem with N+1 because PostGraphile converts the request into an efficient query. In other cases this problem presents itself in REST too and the article proposes hoisting N+1 queries to the controller, but that's just really moving the problem around, and you can do this with GraphQL too.

The other problems, yeah sure they are present and a worry if you're running some highly visible/very loaded public API.
And the tip is to use a Syringe to "pour" the ink.
Important in this context is the board members insinuation that sam was unwanted. According to pgs account, that was not the case.

Perhaps we can agree that "firing" is a fairly fuzzy term, and maybe not entirely fit to meaningfully contain, both:

a) me losing my job because I am (apparently) not creating enough value for the company

b) me losing my job because I am not willing to split time between my current main gig and my unicorn startup
Can only agree with author on all points. GraphQL was nice for the types, and precious little else. But we have better solutions utilizing just the types now, so it was still valuable.
It's like the British Royals - way too many people obsessed with it...and keeping those obsessions going is a steady paycheck for way too many "journalists".
Whenever you see REST in the article, think RPC. The author even says REST is simpler than GraphQL but I suspect they hadn’t implemented a REST API… ever.
Previously:

Compiler Explorer (https://news.ycombinator.com/item?id=33224542) - Oct 2022 (107 comments)

Compiler Explorer (https://news.ycombinator.com/item?id=24066570) - Aug 2020 (48 comments)

Compiler Explorer (https://news.ycombinator.com/item?id=18671993) - Dec 2018 (44 comments)
Huh! That's my experience of performing, for sure, but Meisner wasn't presented to me that way. One of the teachers of a workshop I was in had studied with Meisner, and had led (I think?) the London Meisner Institute, so I figured I was getting it straight. She approached repetition exercises more like intuitive textual analysis - finding the subtext, as you (or someone else) said up-thread. I've never had trouble supplying more subtext than anyone could ever want, so that bit didn't do anything much for me.

Neither did the crying and the yelling. I did too, just so as not to be left out (crying and yelling is always good fun), but they all took it so damn seriously that I wasn't sure where the line was between useful work and self-indulgence.

Oh, and also I think a professional actor ought to be able to drop in without having to drag someone else through ten minutes of repeating the first three words of their lines back and forth until the syllables are drained of all meaning. True story! I was as good a sport about it as I could be, but gosh... It was drizzling, and the lighting guy fucked off for tea, and I sure wished I could too.

I know more direct ways to get students to drop their inhibitions and tune into each other than repetitions. (Oh, and the audience! Everything I've seen of Meisner neglects the audience, and I think being aware of them is really important for stage work. Camera, same, for screen acting.)

Anyway, I'm sure I'm just missing something, and being grumpy. Like I say, I've seen positive results for some actors (though not the chick in the rain), so it's doing something, and I'm glad it works for you.
It doesn't matter you wrote perl before PHP, actually. You're talking about PHP6 like it's a thing (spoiler alert: it was never released), and you don't seem to have ever used one of the famous frameworks PHP had seen since the 2010s. Even Symfony 1 was here in 2005, and PHP 5.3 brang a complete revolution and growth of the entire ecosystem (thanks to closures and namespaces, at first), which made people embrace PHP more willingly, Composer was released, incredible frameworks were created and used Composer (that's how we got Symfony 2, and Symfony later helped Laravel come as an extremely popular framework).
All of this was funded by companies that believed in PHP, while PHP-haters moved to something else (I know that: my older brother, who's also a dev, did some PHP back then, but was more appealed to other techs like Java).
You moved to Go? Good: PHP doesn't do everything that Go does, because it wasn't meant for that.
We do PHP instead? Perfect: Go wasn't created to develop web-apps in the first place, it's a low-level network-related project, and turned into something way bigger that allows you to code web apps quicker than in Go's early life.
PHP has always been about creating web applications, and will always be, even when some people try to tinker with it on some other levels (like servers using async & threads, or desktop apps).

And honestly, FrankenPHP is an incredibly good combination of both worlds: brings all the scalability of Go, with the flexibility of Caddy (which is written in Go too) in the infrastructure, while allowing us to continue coding with all the incredibly powerful frameworks we have in PHP to create the web app.
It's the best for all the people that have an interest in that.
You can't hate on that unless you just hate for the sake of hating.
WTF is Sam Altman, asks a random busy folk from the other side of town not really interested in personal fame but common progress.
If you do your side gig out of work hours, and it doesn’t affect your work (and you aren’t competing…) then what of it?
Where are you living? Asking because I think letting kids walk alone to/from school and friend's houses depends a lot on the culture of the city/country.
I think the hype is mostly over because of useReducer. It's the simplest thing that lets you structure your code in the way you want if you'd had chosen Redux (or similar).
I love my wife. My wife is dead (1946)
He was referring to specifically MS-13 gang members, a phenomenon that ironically originated in California but became a machismo thing in MX and Central America. And he was referring to individuals who had committed heinous crimes and also just happened to have body art that proclaimed their involvement in these gangs. It is something no public figure of any party would refrain from noticing. So a bunch of deceitful journalists got together and decided to "pretend" ignorance of the context and generalize his remarks. Trump correctly and righteously declared the MS-13 violent criminals were "animals". They pretended that he had declared it about migrants in general and clipped him saying "animals" with little surrounding context. Find the whole section of speech and see if he really said anything you'd disagree with.
For the browser network debugging tools: I'm using the Apollo GraphQL client and added a link that adds the operation name into the URL. So my URLs look something like "/graphql?op=getStuff" and my GraphQL queries: "query getStuff { ... }"
The post may not make it clear that this was a student of Paul Lockhart's whose main aim is not make maths fun. This is a good teacher, not parental training.

It was also similar to how I taught my home educated kids - do fun stuff. It worked very well. Both love maths (and hugely enjoyed studying in general). My older daughter is doing a degree apprenticeship in electronic and electrical engineering[1] and the younger one got a 9 in IGCSE maths[2] and plans to do A level maths and further maths[3]. The younger one hated maths while she was in school, which is common, and which is the problem Lockhart was trying to solve.

This is not about pushing kids or making them prodigies, it is about making them enjoy what they do, which leads to higher achievement and and happiness.

That said, not all prodigies are miserable. Ganesh Sittampalam who broke the UK record for youngest graduate taught himself for fun until he got into university!

[1] UK term for degree paid for by employer done while working (and getting paid). Good for parental wallet!

[2] UK exams sat at 16. 9 is a top grade.

[3] Closest American thing is APs.
Your employer found out you were planning on having two "real" jobs, you pretend you did not notice...and accuse others of maliciousness?
Yes, it has for years. https://github.com/lucaslorentz/caddy-docker-proxy
It was involuntary that is the point . It was not Sam idea to leave YC at the time

Your remote work example is not different companies ask a performance improvement plan they are saying improve your performance or leave. That “ or leave” doesn’t always mean you get fired legally , some companies would be more generous with severance if you resign voluntarily, but it doesn’t alter the fact you were asked to do so and effectively were fired.

Senior management typically leave by mutual agreement even if they “asked to resign”.

His employment was not terminated by YC legally yes , that would be rare and would happen if there is no trust left that he would do so properly when asked to resign, like it happened in OpenAI for him .
Be careful to never drop the subdomain on that one, there are some real fun types of people there.
PyAnomaly, Python Library for Asset Management Research: Factor Gen and Modeling
That becomes really fun when gpt takes knowledge from stackoverflow
> Since the triangle got turned completely around, the sides of the box must be parallel, so it makes a parallelogram. But it can't be a slanted box because both of its diagonals are diameters of the circle, so they're equal, which means it must be an actual rectangle.

I'd be careful with such "visual proofs", even more so if accompanied by such handwavy reasoning. Eg, do we know that both diagonals are diameters? Do we know that a parallelogram with equal diagonals is a rectangle? While in this case things do work out nicely, I'd say this is almost more luck than a real proof - it's easy to mistakenly "prove" stuff like Pi=4 with similar reasoning. I believe 3B1B even has a video on the topic.
Maybe you shouldn't assume that GP is talking about niche cases such as your example, but is instead talking about the kind of helicopter parent that would love something like this. Maybe assume the more charitable explanation that nearly everyone knows that pretty much every "rule" has exceptions, and nothing is absolute.
My guess would be they SSR those pages and partially hydrate the page on the client if the user is logged in.
I also found that people in Uppsala drink comically dark, over-concentrated coffee. However, there is a fantastic little shop there selling some excellent (if very expensive) beans; if I remember the name I'll post it.
Gotta love Apple's App Store. Search for "kino" and get a competing app as an ad, but then numerous other apps that aren't Kino including a variety of keno games. Search for "kino pro video camera", same situation, but finally find it in position #5 despite being an exact title match. Bravo App Store search team. (The same happened when Threads launched.)
> […] you can see it all without needing to be logged in.

No, you can't, Twitter is degenerating further:

Something went wrong, but don’t fret — let’s give it another shot.

[Try Again]

/!\ Firefox’s Enhanced Tracking Protection (Strict Mode) is known to cause issues on x.com

(Weird how no other website has issues like this…)
Reminder: the Go team consider optimizations in code generation only as far the the compiler is kept fast. That's why the Go compiler doesn't have as many optimizations phases as C/C++/Rust compilers.

As a developer I like that approach as it keeps a great developer experience and helps me stayed focus and gives me great productivity.
I like cutting edge tech because it's sort of the same. Early Facebook was an awesome community. So was IRC. So was reddit. So was Clubhouse. And Threads... for about a month, now it's far more toxic than Twitter ever was.

My favorite era of AI was GPT-3, pre-ChatGPT, but it seems like we've long blown past that. The RAG tools community is still quite fun though.
While it is of course most improper on this website to read the article:

> Tavares disclosed few details about the upcoming vehicle, saying it will be priced around $25,000 in the U.S. to emulate Stellantis’ pricing of the Citroen e-C3 SUV, a low-cost model starting at 23,300 euros, or about $25,200, in Europe.

I mean, reading between the lines, they all but say that it's going to be same platform as the e-C3; Citroen and Jeep are both members of the big happy family of car brands everyone had forgotten existed that is Stellantis. (Stellantis does seem to be slightly getting its act together now, but for quite a while it really was just a bunch of "wait, they still make those?" brands).

That said there's actually a 25k EUR version of the e500 available here; possibly the US only gets the higher trim levels or something?
Academics on Mastodon
What is that you find so complex about RESTful APIs?
Agreed on this - think wayve is attempting this - building out the tech to license to manufacturers. Honestly makes the most sense and love the idea that all cars can have this and take over driving in specific areas.
That is for me gut feeling about AI .. but that is not discussion about that topic.

So in general had the same feeling about graphQL because I still had to write layer of code that gets stuff from database, get it limited or paginated. Maybe once you have enough endpoints then you can change your front end against already existing GraphQL - but for me that was never the case as 90% of work is adding new tables, new endpoints so graphQL feels like additional work with additional footguns for almost no benefits.
> I want to get out of this learning loop where I keep experiencing that I know nothing so I keep learning and I think I am good for it and then I apply for jobs and the loop repeats itself.

So? Just stop learning. Close that book, video, course. Go make something people want. Or you want. What would you like to make?
I wish we would hold these standards to politicians with their many side-gigs.
FrankenPHP is just Caddy + PHP, but in one binary.

The threads thing, the worker mode, etc., all of it is optional, but basic Caddy + PHP is already production-ready, I've been using this kind of setup for a while, and switching to FrankenPHP when you already have Caddy is completely harmless.

The only thing FrankenPHP does not is providing multiple versions of PHP in the same binary. For that, I'd still use Caddy + PHP-FPM, and it's fine.
Sometimes a topic comes up that you not only don’t care about, that you can’t even conceive of a way to incentivise yourself to care about it. It’s not that you harbour some hidden like or dislike, it’s just that to the extent humanly possible, you really REALLY don’t care.

Reading the replies and the tribal colours / flag waving is fascinating. I suppose This tribalism happens for every topic but it’s just hard to be gifted this perspective on topics your career is invested in.

It’s been fun reading clearly fabricated explanations that don’t base themselves on any objectivity but on the posters inner desires.
>Other countries are smaller than California and as countries have more authority over their land

There are countries much larger than California out there - France (with public rail) is 1.5 times the size of California and over 2x the population.

>I still hold that the state of California would be ill-equipped and poorly prepared to be able to assume all the responsibilities for all of the electrical infrastructure in the state (which is far more than PG&E).

Perhaps. But that's on them. Not some infeasibility to do so with public (state) owned electrical infrastructure.
Surely they have cameras? I’d trust that a lot more than a taxi driver keeping their cab clean.
Never bothered to learn GraphQL - anything being pushed by big tech companies usually in 80% of the cases works for them, but its an overkill for smaller scale projects.

Stick to tried and true - monolith, asp.net, angular or blazor front-end, relational database.
IMO even the types are annoying because null is opt-out rather than opt-in
There's No Such Thing as "Just a Song"
The android app doesn't have an exit/stop/shutdown path. The app ignores android's back button, used by 99% of Android apps to exit, once they reach the landing page. On top of that, there is no dedicated close/exit button anywhere on the screen. Hence, I'm forced to minimize the app by using my android's home button, and then to kill it, by going to my android's settings->apps->recent->Paccto->Force Stop. Very bad UX.
I do have curiosity and notice quite a few problems. Translating that into a career is more difficult. I need to make money since I have a family to support. It would be nice if I could do that in a job I'm good at instead of one that seems unsable.
I use librera reader and I have no ads, are you sure you're using the F-Droid version of the app? If you're not, I suggest installing it through F-Droid, as the play store version may have proprietary code in it. Many apps have different builds for Play Store and F-Droid, with slightly different featuresets.

If you are already using the F-Droid version, it should be reported. The list of anti-features is kept accurate by user reports like yours.

https://gitlab.com/fdroid/fdroiddata/-/issues
The claim is about real GDP per capita, which is adjusted for inflation.
"I choose to be fired" is quitting in my books. There aren't enough hours in a week to work two 40-hour-a-week jobs if you also want to eat and sleep
Then you are dreaming (because of course running a second demanding company will affect your work, in some way, not necessarily negatively) but, more importantly, people might disagree about the impact and either side would have a hard time proving anything. So probably be upfront about the rules and make a choice, when you have to.
The Citroen e-C3 from the same manufacturer costs <25k eur and has a range of 300km or so.
Exchange rates?
Some psychologists say the only cure is staying away from it. Deactivating and deleting apps have been far more useful than any blocker apps.
No, you resigned. It’s completely possible to have adult conversations and to part ways without being terminated for cause (which “fired” is a euphemism for).