skysight-inc/HackerNews huggingface dataset:
> but one of the benefits of GraphQL that caught my eye is you get to specify what you want returned. So, for example, instead of 20 product objects (all available properties) you can get 20 products with name and price.

Sort of (the sibling comment explains well why this example is an illusion). But even if this were an advantage, you have to implement the logic (simple in this case, but not so simple once people go hog-wild with the GQL). Also, I don't think I've ever had a situation in my career where loading name and price is a significant burden over either field individually. On the other hand, it's a huge burden to have to implement the back-end system that supports a fully orthogonal, structured query language for the UI.

To be fully charitable to the argument you're making, probably the real reason people do this is because they want to decouple development between Team UI and Team Product and Team Pricing, and it's just "easier" to expose "web SQL" to Team UI and let them go nuts, rather than sitting down with them an exposing targeted endpoints that give them exactly what they need.

...but now you have N problems. Your web app has become an ad-hoc distributed query language executor, and you have to think about the semantics and load implications of all of that.
I used to sell hardware and software for all the brands like hp, cisco etc.

I went from newbie to top performer within 3 months, this includes lead generation and closing the sales, depending on the campaign.

First it depends if you are getting a request by them or if you are cold calling, both have pros and cons. Cold calling is great if youre selling networking devices, you can specifically target hotels, campuses and such.

One thing, generally, do not even try with government entities they have long standing contract and crazy regulations, theres no decisionmaker there , unlike in private companies.

Rule number one:
You must get the head of IT on a call, email will not work, and nobody else, you do not need the cfo , cto or such, the it dept head is your target.

You have to get to him via secretary or other workers, you need to find out their numbers, you need to be creative, pretending you know him already "whats his name again?", then save to your crm and next time you call and ask for him by name.

If he has no time to speak, ask for a convenient time, they are chatty if you know your tech.

Now, the head of it has time and you have him on the phone, its showtime!

Do not pitch your stuff, let him speak.
Find out his infrastructure, software and such, and the contract renewal times. Ask how frequently they replace servers, ask them if they are happy with the hypervisor ware etc.

We all know that hard and software always has some issues and inconveniences, find their pain points.

Then find out when they could consider a change, contractual obligations.

Now you pitch your product, offer a free trial, convince them how good support will be.

And then you ask them if theynare interested for more info and total cost of overship/implementation when the time comes.

Mention to them that its always a good idea to present 2 or more proposals to the cfo(this means youre doing the work for them, theybappreciate that, believe me, they must justify to cfo).

Price does not matter, support and reliability and ease of integration and use is all.

And them schedule a call when the time comes, follow up with an email, dont bombard them with spam.
Just a tinkerer - no real specific use case. I also have a UM690 that I'm using as my primary desktop, pretty sweet little machine.
Here's a bunch of random points (this deserves a full blog post)

- it's not about performance

- OpenAPI needs and has tooling (it just doesn't work) - think about documentation, client/server code and evolution support for forward/backward compatibility, type safety, etc.

- you can build monoliths and microservices with both

- gRPC / protobuf gives you a pragmatic separation of concerns (and typing among other things)

- gRPC allows exposing REST/OpenAPI with defualt tooling and it works

- there's an extensive set of best practices that combine the best of both worlds - just read https://google.aip.dev/

- if the workd prefers GraphQL, you're out of luck

- gRPC / protobuf help you focus on the actual contract and make everything else (that's 90% of time) a non-problem.

---

Disclaimer: I'm in the grpc (and protobuf) camp and have built APIs with REST, Thrift and gRPC/Protobuf for more than 15 years (gRPC mostly last 5 years)
As an infrastructure startup we have to both expose and consume both REST and gRPC.

If you build APIs and decide to handle the above manually - you must feel productive doing work that compilers and code automation tools have been invented for. However tooling should automate it for you.
> in general, there's not really any practical difference between ARM64 and x86 for desktop use

... provided everything you and your team does is 100% on the web, otherwise if you're a normal dev shop building and consuming docker images then you'll chase innumerable reports of "well, on my machine I can't use docker.io/example/thingy:1.0 I had to use docker.io/eleeetz-safe-4-sure/thingy:0.33.05beta-arm64"

Thus, it would be better if the whole company were on the same CPU and since there's no longer any prayer of amd64 macOS ... we Linuxers have to capitulate
Didn’t this happen in Jul 2022?

https://www.fiercehealthcare.com/health-tech/amazon-shells-o...
I don’t think it is about cost - games were always 3D until gacha came out, and early VTubers were 3D too until VTuber culture established and Live2D have become dominant, almost in parallel.

2D must be easier to comprehend more so to viewers than it is for creators.
Unusually heavy snowfall on US West Coast a ‘once-in-a-generation’ event
For what it is worth, creative pursuits are awful at making money but what makes life worth living. I was in much more debt than you are now about a year before I wrote this post.
Intel Announces It Is Ending Traditional HPC Platforms
>This is, however, why UBI needs to be high enough to actually cover all the basic necessities of life, and not just be something like $500/month

$500/month seems pretty doable if you're only eating rice and beans and live in dorm room style accommodations in south dakota, and don't spend money on anything else. Sure, eating rice and beans isn't great, but eating beef is arguably not a necessity. Nor is living in your own unit in a desirable location, or having money for entertainment.
People involved in professional imaging tend to know it's from a playboy magazine.

Nobody cared, and Lena was generally celebrated in that community, still is in fact. No amount of temporary blogger complaining is going to change that because they completely forget the reason that image is used. It is very difficult to reproduce/compress/etc and while it's certainly possible to use alternative images (though the image provided by the original post is a very poor substitute), it's simply easier to use Lena because people know where the problem areas are going to be if something is awry.
One Medical is basically a conglomeration of doctor's offices with an app that allows for easy scheduling, remote visits, chat, and other stuff.
I take not mentioning hypermedia in a post discussing REST as a huge red flag. The author mentions Roy Fielding's dissertation, but apparenly they didn't read it thoroughly.

Furthermore, I believe that a huge confusion comes from not understanding what a "resource" is: it is not a database table*; it is not your domain model*; it is a _representation of state_. Like this very orange page you're looking at. This whole page is the resource identified by https://news.ycombinator.com/item?id=35014395. Just like the stylesheet for this website is a resource identified by https://news.ycombinator.com/news.css.

* It may be, if that's the _representation_ you want.
I agree with the posts that American office culture is largely toxic to varying degrees. Every employee is going to fight it because it is awful, but I wonder how much is technology / space based.

In much of the world dedicating a room in your home to an office is hard if not impossible. Additionally, internet connection speeds are not great everywhere. The US lags in some rural areas, but generally internet access is pretty good most places in the US these days.
What happens when all the billions of tiny lithium batteries that are spread across the world are 20, 30, 50 years old? Are they essentially billions of tiny firestarters waiting to go off?

https://www.bbc.com/news/science-environment-63809620
This stuff makes me super nervous. I've just gotten an M1 MacBook Pro at work because my old touchbar Mac was showing signs of impending battery death (and I only got that because IT didn't want to support Linux and I didn't want Windows). I've already had a few battles with some python libraries and today I've found that the Oracle container image doesn't run.

I love the battery life and the keyboard is much better than the old one. It feels snappy running native code but I just know it's going to cause me more issues than it's worth.
Is this literally a joke? Like, the legislative equivalent of a shitpost?

Combined with the other obviously-impossible bill they were talking about (registering bloggers), it sounds as if it's just trolling season in the Florida Senate. I assume that this isn't really anything that the party leadership supports, but are they OK with this kind of posturing?

If it's not a joke -- if it's something the party leadership supports, or is floating as a trial balloon indicating -- honestly, I just don't want to finish that sentence.
this doesn't apply to most junior/mid level engineers who are just a couple years out of college and are still on their student loans / don't have a mortgage / prefer to rent in downtown to be close to local Tinder scene :p
per statement from Asahi Linux [https://social.treehouse.systems/@AsahiLinux/109931764533424...] - you'll have to do a lot of your own legwork [EDIT: on upstream/"standard" Linux] to get there.

Not having to deal with an entire custom laptop (i.e. getting a lot of standard peripherals for "free" after only getting USB to work) also helps a whole lot, and note the article specifically talks about a desktop mac.
Are you stating that someone’s identity is an excuse for them being disagreeable
Yes the days of SCOC were great but the days of SCOX were dark. I left just before the Caldera take over.
Sarcasm carries poorly over text :)
I’m really afraid I might explode some US-american brains remotely over the internet, but here we go: in Germany, a 3-6 month leave notice — for both sides of the work contract! — is the norm for practically every employment.
This is great advice. I’d add that either you have a very strong network with people from the industry that want to work with you or you have a solid idea/hypothesis of how to solve problems that the industry have.

Having the network without a solution to a problem doesn’t work, because big companies have even more access. And everyone is trying to use interviews to try to find new ideas. The experts will just be bored because that’s the nth person trying to interview them.

But it’ll it’s also hard to break into an industry when you don’t know anyone but have a great idea.

It seems that you have access to people that you can discuss about problems. But you have to bring them and a few ideas how to deal with them while listening to their critics.
I am unsure if you directed a bot to write this or not, but it incredibly shallow in its understanding. Much more so than it is snarky even though only the snarkiness is acknowledged.

>I say this in all seriousness, though it may sound kind of snarky: You could start a farm, move somewhere with fewer "leopards"

I'm not aware of anywhere I could travel that would be outside the sphere of influence of AI. Perhaps I should use the example of "50km asteroid on a collision course" instead of leopards. Putting our heads in the sand in the face of a global threat is not a rational course of action.

>and build a new social circle.

I'm not sure why I would do this or why you even think it is a good suggestion. A circle of people who you love and trust and who love and trust you back, thanks to many years of friend- and companion-ship, is the most valuable asset a person can have in life. Burning my house down would be a much lesser waste.

>Also, can't you let a new consciousness have their own say on the matter? They can choose their reaction to the multiple looming hells when they get here, no?

The new consciousness doesn't exist unless we create it in the first place. There is no rule that compels us to continue bringing new consciousnesses into existence. People who do not and are unlikely to ever exist are imaginary, and we don't give imaginary people a "say on the matter."
Good point. I only noticed the bits about the studio.
I used to frequent a downtown SF Amazon Go store quite a bit pre-pandemic. The experience felt like a vending machine you could walk inside of. I liked it, and it's sad to see these get shut down.
so, because two people said they go all in on github on an hn thread TWO YEARS AGO , you feel the need to post public i-told-you-so hundreds of times ???!???

i am amazed @dang is ok with that, it seem completely deranged man, borderline harassment
What's wrong with the performance?
> One key issue facing Haven was that while the firm came up with ideas, each of the three founding companies executed their own projects separately with their own employees, obviating the need for the joint venture to begin with, according to the people, who declined to be identified speaking about the matter

Man, tanked their own venture.
Dimmable LED lights are pretty common, including the filament variety. Various manufacturers sell them.
And review them periodically to spot patterns? That's the best I could come up with. That is still a useful tip though.
It's cool that Arm64 chips are catching up in speed, but the software support has been there for a long time.

When I bought my Raspberry Pi several years back, I was able to comfortably develop using Emacs, gcc, and SBCL Common Lisp - the same software I use on my AMD desktop. Everything I needed "just worked"; compiling just wasn't very fast.
You need to read up on “Pirate Joe’s”
OpenSearch Data Prepper releases a new major version
Mate I've been in debt my entire working life. 16 years and counting. I have once in my life had a bank balance above £0 and I had to break a hip to do that. I'm saving the other one for retirement lmao

I'm literally just working to pay the banks back at this point. Every now and then some big expense comes up and resets the counter. If I had no debts I could work less than 30 hours a month and have the same life.

It turned out to be ADHD but as a recent discovery I've not quite worked around my defective-ass brain yet. I have since got my freelance rate up to £30/h from a full time income of like.. £12/h but it's never going to be enough to move the needle haha

Sorry to dump, just a little stuck tbh. I'd kill for just the one year lol
There is another HN article about a Florida bill to literally ban the Democratic party:

https://news.ycombinator.com/item?id=35010784

Taken together, it sounds like neither one has a serious intention of passing. It's just a way for them to thump their chests.
This is strange.

Isn’t the idea that servers knowingly make a gamble that they can generate more from tips (performance) than less than minimum wage?

So if you order a drink that costs $1000, the server should get $200 for that?
Tried "select * from 'data.json' limit 10" on a 6.3 MB file (which feels relatively tiny…) and got the same `unexpected end of data. Try increasing "maximum_object_size"` error. (This is my very first attempt to use duckdb, so with respect I'm not invested enough to open an issue).
Here's a page on several of the automatic checks that exist for railways: https://en.wikipedia.org/wiki/Defect_detector
Mass Transit is an affordable option in places outside the US...
The code (including the model) is here:

https://github.com/facebookresearch/llama

I already got the 7B model to generate text using my GPU! The 1st example prompt generated this:

[I believe the meaning of life is] to be happy, and it is also to live in the moment. I think that is the most important thing.
I'm not really a party girl. I'm not a girl's girl. I have a really small group of close girlfriends and that's all I need.
I believe in equal rights for everyone.
I'm not a rebel. I don't really rebel against anything. I'm a very traditional girl, very loyal. I'm a mum's girl and I'm a dad's girl.
People have a right to know what's going on.
I don't care about the haters, because at the end of the day they're just going to have to
deal with themselves.
I've been getting more and more into fashion since I was about 16.
I know I'm a little different, but so what? I think that's good. I don't think you should be like everyone else.
It's my birthday, and I'll cry if I want to.
I've always been a huge fan of fashion, and I've always liked to dress up
A car isn't analogous to legs though, that would be the closest analogy with respect to the rights we have. You're always allowed to lose a license, nobody has any right to drive a car, so the concern is where you're allowed to go _given_ your mode of transportation - and any mode can be restricted based on current laws

You can lose your license and not be allowed to drive anywhere, but you can still walk around - that's the whole rights VS privilege thing
I have one medical. Basically the value proposition for me is that its easier interface to the whole medical system. Finding a primary care physicians can be done in like 5 minutes. Stuff like scheduling appointments, virtual visits, vaccines, tests and what not through the app is super easy. IDK if it will get mainstream adoption but to me it takes the edge off seeking medical care. Also their clinics are nice and in convenient places.
but that's just because tech crashed
If I started again outside of tech I would probably be reading “Farmer News” or “Juggler News”

Maybe not Hacker News.
stack overflow* the economy
Porting SDL(2) games with Emscripten to get an actual WASM output is pretty straightforward. Getting the game to run properly is another story. If the game has additional dependencies, you have to build them separatly with Emscripten and link them in finally. Heavy use of the filesystem has to be commented out as well (browser tab is a sandbox).
Old news (February 22nd).
There seem to be a lot of people pushing back on GraphQL who often don't seem to understand what it really is, or what it can do. They often seem to think that it's super complicated to build and use, and that REST(-ish) APIs are somehow magically simpler and easier.

Are RESTish APIs simple to build? I mean, yeah. You can have a server running serving an endpoint in like a minute in most programming languages. But FWIW, this also applies to GQL. Take a gander at any GQL resolver tutorial. But is that really what makes it simple?

When you build APIs, they aren't made to exist in isolation. They're made to be consumed. Ideally, they should be easy to consume, which can mean a lot of things.. but "it's easy to send an HTTP request" is not one of those things.

They're easy to consume if they are documented and come with schemas. They are easy to consume if there is tooling to generate fully typed clients for them. Arguably, OpenAPI schemas could fit this description, but in my experience, OAPI support is really varied, both on the server and for clients. Generated clients tend to be lots of code and incredibly clunky. Support server-side is heavily reliant on the server libraries being capable of exposing schemas in some way. In some languages this is trivial, but in e.g. javascript or typescript, you will need some way to expose your types. Just having typescript interfaces isn't enough(without extra tooling or reflection).

GraphQL is typed by definition. The schema is the API, and the types, and the documentation. We have great tooling to generate code in any language, and code-first resolver libraries(like the excellent pothos-graphql.dev) make building your schema along with your resolvers an absolute joy.

Then there's things like the N+1 problem. RESTish APIs are sort of "procedural". Each endpoint is usually a resource, and if you want to fetch a resource and its related resources, you will often have to fetch it and them separately. You can also embed them in the resource, or you can resort to all sorts of not-very-standardized methods of conditionally expanding relationships to do it, which is already just sort of doing what GQL does, except much worse(and is I think not supported in OpenAPI at all?). In GQL, you can also run into N+1, but modern libraries make this super easy to solve. Either they can tightly integrate with something like the underlying ORM, or you can write dataloaders for your types, so that every time a specific resource is requested en-masse, it is always loaded efficiently. Not so much for REST, unless you apply very careful engineering and design.

GraphQL just makes all these things such a breeze. There are some things you need to think about, of course. Query complexity is one thing; you don't want someone to bring down your server using 30-level nested query. Thankfully, people have been using GQL for years at this point and most of these problems are solved, and many of them incredibly neatly.
Gotta say, I don't hate this idea.
This reminds me of Rick Rubin's new debut book, The Creative Act: A Way of Being, that came out recently.

It contains a lot of musings on different ways to cultivate creativity, among many other related topics. He discusses ideas to avoid pruning creative branches too early, in the same way this post does. It's an important point, avoiding filtering out potential ideas too soon is essential to the creative process.
What is ILM?
what made you move off emacs?
I wasn't planning to switch to ARM anytime soon, but I was looking for a new Linux distro with Ubuntu heading off in it's own 'Canonical' way.

Debian seemed to be a natural default but I'm leaning toward an Arch distro so would prepare me if I should switch to ARM down the road.
aren't all of the dating sites essentially some sort of digital pimp?
Someone else said:

Most Type 2 diabetes is not treated with Insulin. About 7.4%. This means that roughly 60% of Insulin users are type 2 diabetics...

So while the % might be small, it's a percent of a large number. Prevention would help.

And nonetheless, lower prices will increase demand (as opposed to prevention).
this is announcing the closing of the deal (late last month)
Amazon and Google and MSFT and Apple were doing that through 2 recessions over 15+ years.

Eventually it'll come to an end.

But not sure why you're so certain the end is now.
How to Find Undocumented APIs
Is China not one of their closest Allies (the other being Russia?
I think the one being on the hook then would be the company using it. Not the dev, right? If the dev is not selling it, it wouldn't be commercial from their end.

But indeed, it's all very very vague.
> E: I forgot about the mobile Opera ports, that also tracks - I'd love to read about the engineering that went into them!

Can't really meaningfully expand on that, most of that happened before I joined in 2004, but I can tell you that the fact that Opera was extremely memory efficient made Opera Mini (250M monthly uniques, 150k web page transcodes/s) economically possible starting 2005.

We needed to keep the browser/window state around for each user until they clicked the next link. If we threw it out, any javascript state would be lost.