skysight-inc/HackerNews huggingface dataset:
In my relatively naive opinion, graphql exists to solve a few things (which are mostly benefits for large scale companies):

1. Reduce the total number of HTTP connections required to get the data for a specific component or page. Imo this is presumably less important with http3 but the driving force is probably similar for both.

2. Give backend-for-frontend style services more autonomy to provide an interface that works for a specific feature on the front end without coupling it to specifics of how the backend organizes resources

3. Allow performance issues with frontend query logic to be addressed without changing anything on the front end

I think the situations where it would be useful are large teams that want to operate more independently where the overhead of dealing with graphql is worth it.

An example being someone trying to render a component for a list of comments. It would be great if the front end could just write some "magic" query that gives them everything they want and they don't have to worry about batching requests to specific endpoints and the order in which they should make those requests. That doesn't mean the problem magically goes away, but it's now someone else's problem and that's good: the app development can free itself from things it shouldn't care about.
This may interest you

https://www.edgedb.com/docs/edgeql/
> Same how if the US Airforce purchased 100k GPU chips, you can safely assume they won't be using them to play Fortnite, no questionnaire necessary.

My intention was to gently counter this statement. I took Fortnite as a proxy for video games and I meant to add to the conversation that it does use video games. For a while the military was even publishing video games.
Zoning restrictions make sense - without them, rabid capitalism takes over, and the only thing that matters is extracting the maximum profit out of any given piece of land. That in turn means no green anymore, ugly AF buildings (especially high-rises), a severe issue with traffic because public transport usually isn't even in the picture and the existing roads can't take up the traffic resulting from the newer density, and as a result of that a whole ugly neighborhood with no quality of life for the inmates. If you want an example just how ugly a city can turn out, just visit Frankfurt.

Thanks but no thanks. I'd rather like if people can move towards rural areas where possible.
> The R1T explodes — and I mean explodes — down the pavement. We go from zero to well above 60 miles per hour in what seems like an instant. The G force feels tremendous.
It’s too much raw power for me. I immediately feel nauseous, like I might pass out.

I was wondering what this speed may be and it seems like it’s between 3.1-3.3 seconds depending on the specific mode [0].

It’s surprising to see such lazy journalism in FT. This is certainly a fast time, but the Tesla s has been around for a while and they have a 2s time. Porsche Taycan has 2.4s.

So this description is more a failure of the reporter rather than a useful description of the truck’s capabilities.

[0] https://www.0-60specs.com/rivian/r1t-0-60-times/
i found a lot of his advice somewhat silly.

why would you come up with some to-the-$1,000 asking price in a salary negotiation rather than just asking for 30% more than you'd be okay with?

i know he has another version where at some point in the negotiation (rather than the beginning), you whip out some very precise number, but that would immediately strike me as a psychological play rather than the honesty/thoughtfulness it's designed to convey.

in a different situation it's certainly more effective, like when requesting a budget/expense for a specific project, since it signals you've done the math and not just throwing inflated approximations.
It's not really sarcasm (which usually connotes contempt or mockery, which I suspect the blog writer didn't intend). It's irony, and irony has been widely used in written communication since we stopped using writing exclusively for record-keeping.

It can and does work on the internet, provided (i) the writer is prepared to accept that a subset of readers won't "get it"; they'll fail to pick up on contextual clues that signal irony and (ii) you have to be a good enough writer to include those clues so that at least your intended audience knows not to take it literally.

EDIT: To clarify, in this case, irony was a bad idea because it was badly executed. The context that would allow readers to interpret "The solution is trivial" as ironic was only available to people who were privy to the original conversation, while the blog post was intended to be read and understood by a much wider audience who lacked that context.
You can query multiple endpoints and have the server return the most restrictive cache time.

https://www.apollographql.com/docs/apollo-server/performance...
The article makes several important criticisms of EA that are obscured beneath self-parodically uncharitable language. The insults are self-defeating in that they suggest the authors can't think calmly about the targets of their criticism.
The fact that international confusion over billions doesn't arise more often points out how bad people are at thinking about large numbers. We mostly don't notice the difference between a billion and a trillion.
Similarly I reached for VB6 any time I needed to consume a COM component. Stunningly easy compared to the absolute nightmare of consuming COM in C++. There really was no better way to do it than VB6.
Unix was born to play Space War on a machine. Rogue gave us Ncurses.

This is not as odd as you would think. But, well, I'd use Perl and GTK2/3 for that.

Perl is in base, as X. GTK2 is a few ports away. If GTK's dependencies are too much, I'd use Perl/Tk.
That's eye opening - to know that effective altruism and the whole movement exists, the article itself is the opposite of right of course. Next time I am to donate time or money to charity I will instead choose to invest in in improving the infrastructure for evaluating the performance and impact of existing charities to help people better decide where yo donate their moneys instead of getting emotionally-hijacked by the charities with the best PR.

I think we should all take better attention to this, there's a lot of money in philantropy and tons of either ineffective or downright predatory or manipulative charities!
You can now play Fortnite for free in your web browser
I still have my times tables memorized decades later. Frequent use is the key, if the parent regularly engages with their child in this way I expect they'd remember them for years.
Purpose Driven Tokens: Solving the world's problems with crypto
I think it can be unfair to characterise single zone failures as being an failure to adequately deploy or architect.

There's many opportunities for failure even if only a single zone goes away; most (if not nearly all) database solutions elect leaders for example, and "brown-outs" (as in, not total failures) can lead to the leader maintaining leadership status, or at least messing with quorum.

other situations can exist where the migration out of a zone leads to hardware becoming unavailable for consumption for other people, after all, the cloud is not magic and if peoples workloads auto shift to the surrounding (unaffected) zones then it will impact peoples ability to do the same migration as all the free hardware could be used up.

I can think of dozens of examples honestly where even if you had built everything multi-zonal you could be down due to a single zone; for instance if some unknown subsystem was zonal (like IAM?) or you use regionally available persistent disks and now they suddenly perform extremely bad with writes because they can't sync to the unavailable datacenter.

I believe multi-zone is less possible than we would like it to be, there are many cases where you can commit no error but still be completely at the mercy of a single zone going away.
>anyone with a brain knew the cards weren’t going to gamers.

you answered this yourself.
Something is wrong here. The whole point of GQL is to serve things in exactly the format the front end wants. Even the other negative comments here mention how it is easy to use on the front end.
I have heard the case that the Fed can't raise rates due to the high debt to GDP ratio we currently have and this would make the interest payments too high. Is there any truth to that?

I am by no means an expert, but this doesn't make sense to me. If the choices are runaway inflation and making higher interest payments and making the debt to GDP ratio worse, the choice seems obvious.
No doubt they are there, but they are there by chance/habit (I think) not because the platform serves them well.

TikTok has all sorts of time limits and you can't even upload professionally shot content lasting more than x seconds. It's an app which revolves around the smartphone environment. That's very limiting

Instagram allows for much more flexibility.
I read it as member of the open source community rather than the Microsoft community.
An alternate thesis to Karl Marx:

https://en.wikipedia.org/wiki/Impact_investing
Have you tried Hasura?
Where would novelty come from, since all code has to be written in advance? Even code that writes code must be written in advance.

The ability to make something truly new is a unique quality of people, not shared by machines.
Financing? In 2022?
just let your toddler to save some porn in that dirs and you'll see if he needs your help in the next time.
Not hard to do, just hard to do well. You have On Error GoTo and On Error Resume Next. There is no indication that any particular statement will have an error. Even if it is obviously something that could error, you don't necessarily know what kind of error.

The evidence shows that most writers of VB apps neither predicted errors nor found these error situations in testing.
Worker output fell 7.5% in the first quarter, the biggest decline since 1947
They don't need to police how their GPU's are being used.

They simply need to release fiancial statements which accurately reflect material information they know.

That securities law can be abused unscrupulous profit seeking lawyers is not news, and isn't really germane to this case. The issue at hand was disclosing information essential to financial results rather than fanciful hypothetical risks.
That is a better order to put it in. Thanks!
Yes, these are real problems - it is a whole lot easier to measure 'engagement' with the proxy of [screen time in our app], which is a very good proxy, whereas measuring app effectiveness is much harder as you point out.

The problem is that measuring 'engagement' is like the drunk looking for his lost key under the lamppost because that's where the light is, not because that is where it will be found - and almost he entire industry is using the wrong metric like that hapless drunk . . .
Car dealerships are a black box; feel like so much depends on timing and where they are with their sales numbers for the month.

I tried to lease a car last year and after some research knew what was a fair price for a well stocked model; when I suggested a range one sales manager laughed at me.

I emailed a finance manager at a different dealership with exactly what I wanted and told him I could get all of the paperwork done in the next hour if it was a good fit. They agreed and dropped the car off in my driveway a few days later.
They didn't disclose that information that everyone even vaguely involved in the tech and gaming industry knew!
Interesting, I see how that would not be as easily replicated with traditional REST. You would either need a bunch of requests or your client would need to be intimately familiar with the API. This leads me to think GQL has some benefits when used for semi-public/cross-team consumption (as opposed to a tight relationship between server and client or more monolithic apps), as there is more “opinion” in place by design to allow clients less familiar with the intricacies of the API to still use it efficiently. This is also furthered by another commentor pointing out the cross-protocol capability of GQL, as maybe different teams or companies integrating your API may have different needs in that way. Thanks for the info!
I recently had to consume a GraphQL API (Shopify's) after being interested in it for some time.

Wow, not a fan.

Everything was poorly documented (both in the actual API and GraphQL itself) and fussy, and required a huge amount of code to get anything done. Nesting and union types were really hard to figure out.

Frankly, the more I used it, the less I liked it.

Is it possible that the API design was bad? Sure. But my googling to figure things out didn't make me think they were doing anything out of the ordinary at all for GraphQL.
I am aware that hypothetically fortran code is the fastest possible. That said, I am not sure how great this aliasing difference is in practice.

There is a reason why most BLAS implementations have been rewritten into C.
> NVIDIA did not disclose in its Forms 10-Q, as it was required to do, these significant earnings and cash flow fluctuations related to a volatile business for investors to ascertain the likelihood that past performance was indicative of future performance.

Basically they were dishonest about the nature of the business that was driving the short term growth.
The sarcasm was evident to me, FWIW. I don’t think you have anything to apologize for.
Maybe, maybe not. But the point isn't who the products were going to, it's just that the explosive growth was driven by an unusual, unpredictable customer base, and Nvidia should have disclosed that future growth would be affected if the cryptocurrency mining landscape (something far more volatile than the "regular" market for GPUs) were to change.

I agree that it seems dumb for the average investor not to know this, but this is just how this sort of thing works.
Mortgage Rates Hit 5.27%, Highest Level Since 2009
I looked at it the other day after the discussion thread about JS frameworks, but bounced when I saw ".svelte" files.

I accept (demand, really) TypeScript but I've become allergic to any attempt to add much more on top of JS than that. I can just see the next poor bastard coming along in a short year or two and going "oh god, WTF is a '.svelte' file? What did my piece of shit predecessor fall for?"

I'm looking into Vue today. Possibly I'll settle on something even simpler.

React's certainly out, and thank god the mood is finally shifting enough that I can abandon it without harming my career (much). Slow, janky, and god they've made some weird choices with it in the last few years. It was always a bit heavy, but it felt like it had some degree of elegance to it before that—if only in parts of the API itself, not the implementation.

[EDIT] Oh good lord, '.vue'. Don't any of these just use normal-ass code? Sigh.
> I have a strong dislike of the modern focus on personal measurement and metrics. It implies a sort of mechanistic existence. It’s also often connected to a focus on productivity optimization, which given that the OP may be suffering from burnout, seems like it might be the wrong direction.

Those things actually help reduce burnout, in my experience. An hour of sleep can make a big difference.
> the Fed can't raise rates due to the high debt to GDP ratio we currently have and this would make the interest payments too high. Is there any truth to that?

No.

The Fed is raising rates. They raised rates yesterday. They say they intend to keep doing so through the end of the year. Net interest is a low single digit percent of the federal budget; it's lower as a fraction of GDP than it was in the 90s [1]. Most of the federal debt is fixed rate--raising rates now only affects future borrowing.

The real limit on rates is growth and employment. If the economy falters because people are spending all their money on servicing debts over goods and services, we'll see a crunch. That's not happening. The opposite is happening: inflation is surging.

[1] https://www.cbo.gov/publication/56910
Specifically, profit made selling goods at their equilibrium price is made by exploiting workers. If you introduce a new good, you will have a monopoly on it for a time, meaning you could turn a profit selling it without exploiting your workers, theoretically. That's my understanding, at least.
In fundamental physics, that's literally what it's all about. We know some of our assumptions must be wrong, because we know the theories we have conflict. That's been perfectly clear since the time of Einstein and Bohr. One thing that has been hugely helpful has been data such as from the big particle colliders, but that data is getting harder and harder to get as the required energies have gone through the roof.

The thing is there is no shortage of theories, or whole classes of theories, the problem is getting the data we need to verify and refine them.
Actually… You could potentially consider a GPU an arm subject to EAR/ITAR regulations. EAR/ITAR are overly broad (in a way that could be unconstitutional), so I wouldn’t rule it out. https://wccftech.com/us-government-bans-intel-nvidia-amd-chi...
Gaming, yeah, that's the problem, not the environmental damage...
In Hasura, you authenticate externally -- can be custom API endpoint that signs a JWT/auth webhook, or an auth provider like Auth0, Okta, Firebase, Keycloak, etc. Doesn't matter, just have to return some claims values.

You can then use these claims values in your authorization (permissions) layer.

IE, when a user logs in, you can sign a claim with "X-Hasura-User-ID" = 1, and "X-Hasura-Org-ID" = 5, and then put rules on tables like:

> "Role USER can SELECT rows in table 'user' WHEN X-Hasura-User-ID = user.id"

> "Role USER can SELECT rows in table 'organization' WHEN X-Hasura-Org-Id = organization.id"

There's more depth to it than this, but this is the gist of it.
30 years ago my neighbours didn't have garden lighting running until midnight every night.

Today they do.

That's only one example of a lighting application which LEDs have enabled.

It's just not that we crank up the lumen output in every lighting fixture (though that happened in many cases).

It's not just that we've started illuminating parts of our houses, offices, and exteriors which were never previously illuminated (though that's also happened).

It's that activities and populations which never previously could afford to run a 60W bulb now have multiple 10W LEDs. Those might be mains or battery powered (or a combination).

There's also the reliability factor. Mains power which shuts off for hours per day is useful, but has limits.

Mains power which shuts off for only a few minutes or seconds per year is far more useful.

Access to electricity has increased from 78% to 90% of the global population since 2000.

That's nearly a billion more people with access to lighting.

Kenya is a reasonably modernised country in Africa, with 47 million citizens. Its total electric generation capacity is about 2.6 GW (roughly the equivalent of a single major US or EU power station). That works out to 55 watts of power per person. Less than a single 60W light bulb.

(Actual peak demand was 1.9 GW, November, 2019, or 40 watts/person.)

With such a limited supply, availability of LED lighting could very well lead to far more lighting, and a shift from other energy uses.

https://en.m.wikipedia.org/wiki/Energy_in_Kenya
https://en.m.wikipedia.org/wiki/Kenya
We've given everyone who wanted a mediocre social media product, a mediocre social media product.

There are plenty of improvements one can make - but the power positions are all taken and it'll take 20-30 years for those useless idiots to die and/or retire.

The golden age of the internet is over and when they and/or life finally exhausts Elon Musk, there won't be anyone who isn't a useless idiot left that has any power.

We'll be right back where this species loves to be - useless idiots controlling the minds of the idiot masses, while the non-idiots quietly engage in creative pursuits.
it is an extremely violent and dangerous place, and not reflected in crime statistics due to peoples distrust of the police and general motivation to "not be a dirty grass".

I hear it's getting better with the students these days, but, as mentioned, it's quite dangerous to be any amount of affluent in Coventry.

It's actually hard to convey how frightening it can be, to randomly be targeted while walking through the streets.. I'm having a mild panic just thinking about it.
I accept lower salaries to never have to care about reporting to the SEC. The lost revenues are offset by doing work that matters.
Hi Evan, they do have a masters in software engineering through the extension school. I'm currently working on my degree there. It's not 100% remote. I'm very happy with the school though. Anyways, here's the link for the masters program : https://extension.harvard.edu/academics/programs/software-en...
You just handle this part my your code and leave the rest to Hasura.
I also don’t consider HN to be in the same category as Twitter and Facebook. Another reason for this, on top of those you mention, is because identity is very weak here. I don’t have any persistent relationship with any HN commenters - I have no idea who you are or if I’ve replied to you before! That cuts out a lot of social dynamics that breed long-term feuding behaviour on other platforms.
Plus, I'm adding more and more as I box in the problem. If I left that in I'd have an extreme level of detail around an aspect of the program that's very unlikely to have a bug because it's been thoroughly analyzed and fixed while being blind to everything else (except the parts that have received similar attention).

Maybe I'm just bad at it.
I still don't understand the objection. Your example of invalid Lit is something I would never write. Lit is perfectly helpful without it. What makes you say the .value and @click attributes are invalid? In some older HTML spec, you mean? They certainly work correctly in modern browsers.

You can definitely mix data binding with regular HTML. It might be "invalid" according to a spec that makes no difference. The point of all of this is to write apps that work and can be debugged.

What is the rallying cry against Lit, exactly?
Americans are exempted from a great amount of capital gains as well.
dupe https://news.ycombinator.com/item?id=31269176
'Rater' is paid $10 hourly to teach Google's algorithm
Windows Terminal is a separate project from PowerShell. It's just a terminal that you can use with different shells (including PowerShell).

I have no idea what their blog posts are saying, but at least I've always found it pretty nice.
Disclaimer: Meta employee but speaking only for myself.

I like to think of media to the brain like food to the body.

Most of us don't have the resources to gather our own raw news/info so we outsource this to others, just like most of us don't grow our own food but outsource to others.

Good stimulating media is mentally nourishing like good food is physically nourishing. But a lot of the media out there, social and otherwise is junk. Like junk food, occasionally good for fun but not a constant diet.

Many know how to evaluate the healthiness of food. But many don't have the critical thinking and evaluation skills needed to evaluate the healthiness of media and to ensure a "balanced diet", and developing or teaching these skills something we should be doing more of.
a $5 million fine with no admission of wrongdoing on a company with quarterly revenue > $7 billion? This is barely a wrist slap.
Absolutely, especially if you are a regular commenter, ever glance at your karma, etc.
> The "knowing" part seems to be a forgone conclusion, or at least SEC must have ironclad proof.

The SEC doesn't need ironclad proof for a civil fine. The standard is preponderance of the evidence, not beyond a reasonable doubt.