Hacker Newsnew | past | comments | ask | show | jobs | submit | th5's commentslogin

As a GraphQL consumer I rather enjoy using it over Rest. I always found myself making feature requests to backend teams before. Not anymore.

Maybe less true now, but it seemed like when products had public APIs in rest, they were different endpoints than what their own internal teams used.

Whereas with Gql it seems like internal and public frontend people used the exact same endpoints, which gave the public apis more power.

In this thread below, it seems like a lot of people on HN don’t like GQL.

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


Have you used an actual REST API? Cacheable, making use of hypermedia. It’s much more scalable than GraphQL.


Interestingly, Coinbase just posted an article about how their api usage 10x’d last year and migrating from Rest to Graphql has been a lifesaver:

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


I’ve NEVER gotten a spam or phish from a blue bubble. 100% are green.

Green could be any type of source. Android, Twilio, google voice, who knows.

But if a random number comes in and it’s green, more often than not it’s spam. If it’s blue, more often then not there’s a real person behind it.


I've never got a phishing message at all. And the last spam message I got was 6+ months ago. I guess at some point Google figured out spam SMS blocking, or some other event has drastically decreased the rate of spam messages.


I prefer laravel as well but it’s definitely not as snappy as an spa since I have to load a full page of html at each click. What are you doing differently that I should be doing?

Currently, I’m doing a hybrid sometimes where I’ll have jquery do a call inside the page when I want one particular area to be fast.


Check out htmx. I use it for thing like table pagination.

Server side I check for htmx headers, and if so omit headers/footers are just return the body. htmx then handles the html swap and boom, you’ve just turned the page without reloading the whole page.

Simple and straightforward. I also use a plugin to preload the responses on mouseover in some cases for even more snapiness.


KISS. Keep the HTML minimal and the full page reload is often just as fast as an AJAX call. For the parts that need to be realtime/interactive I use Livewire. Livewire is annoying to work with sometimes, and the author got carried away with that whole AlpineJS nonsense (reinventing the whole problem), and Livewire is still immature, but the basics work well (just keep your Livewire components extremely simple and it works great).


Yeah, I cant count how many times I have seen SPAs have tons of calls to an endpoint that passes back huge amount of data when the client needed a single property from the response. This can get artificially bad in large companies that require devs to onboard each endpoint through an API exchange/gateway...because they avoid creating new endpoints.


Keep your markup lean, serve styles separately so they can be cached.


Take a look at the tall stack. It abstracts away the js that does partial page updates.

https://tallstack.dev/


How long does it take your server to render the page? That would directly translate to client-facing latency. You want that response time to be as low as possible, definitely under 100ms.


+1

I find Laravel + Unpoly a great combination.


@pumpkinman - IMO in regards to business viability it’s just as valuable to see someone’s process of how they came to the conclusion as the conclusion itself


Thanks for the support. I considered the @pumpkinman's complaint quite odd!

To address their primary note directly: I do indeed speak this way when reviewing details and considering hunches on viability. If someone only needs a conclusion then I give them one. Most people legitimately considering something, like creating an ML implementation (something I do all the time) and mapping to business feasibility, benefit by understanding the "why" of a conclusion. That by chance you do not personally benefit is not pertinent. If I have read your comment appropriately, I recommend adopting this interpersonal wisdom: https://xkcd.com/1053/


I’m not so sure it’s complete bs. Ive worked with Steph on a dozen design projects through his brand. Typically I’m actually only interfacing with his team so I’ve only met him personally a few times and only for a few minutes. The last project I got to meet him again at the roll out. I pitched the idea of creating NFTs for his foundation to the guy running his foundation. The guy was totally interested. A few seconds later Steph walked by (and wasn’t being mobbed by everyone around) and the guy told Steph “this guys talking about NFTs” … Steph did a triple take and eyes wide and seemed genuinely juiced to talk about it. Moments later he got mobbed by kids for autographs and that was it.

Not saying NFTs are not a sham, just that I was super surprised at how interested he seemed in the subject.


> I pitched the idea of creating NFTs

> Not saying NFTs are not a sham

How do these two statements go hand in hand?


The art world itself in some ways could be a sham. But also there is real art and business happening.


The art world is definitely a sham(1). That doesn't mean there isn't money making opportunity, nor does it mean there isn't intrinsic value in artwork; if anything it tends to mean there are outsized winners and losers that are divorced from any intrinsic value of the art.

(1)Consider all the artists "unrecognized" during their lifetime; did their genius just get discovered after their deaths? No, it was just at that point their works were a limited commodity, and not well distributed yet, and so suddenly became good places to park wealth. That isn't to say there isn't good and interesting and thought provoking work being done, but it's definitely only loosely, if at all, correlated to price. A good artist with nothing else can expect to sell a custom painting for $1k, tops. A hack artist with a known PR person in the art world can get themselves selling them for hundreds of thousands, if not millions.


>A good artist with nothing else can expect to sell a custom painting for $1k, tops.

That's not really right, my wife is a painter without gallery representation who sells in $5k-$12k range. Through her I've met many other people in this "middle tier". A well connected gallery can get collector eyes on your art at fairs like Art Basel and further increase the price of paintings to the higher tens of thousands. Beyond that, there's a relatively small circle of prominent living artists selling for $100k-$1M; these are mostly talented hard working people with distinctive styles that find an eager collector audience. The tier beyond that is an even smaller group of "celebrity" artists -- which is maybe who you're referring to as "hack artists" since it includes some gimmicky work.


“I pitched the idea of created an app that people would want”

“Not saying apps are a sham”

… I don’t understand how those two sentences are contrary in your thinking. What do you see?


You missed a "not" in your second sentence.


Curious what you don’t like about Trello. I rather enjoy it. It’s the only “proj mgmt” software I keep coming back to for the last decade.


So I think Trello is great for some things and on a smaller board with a handful of tickets it's one of the better tools around.

There are several 'weak' bits of the UI though, like not being able to open a ticket in its own window, having a clunky search and an excessive amount of horizontal scrolling on larger boards.


My guess is too lazy to cut and re-terminate the cable.


Ordinary cable installation does not dig a hole big enough for a spool to fit. They tend to dig trenches just wide enough for what they are burying. They would have had to have done so much extra work for that.

Just lends itself to the story possibly being an urban legend.


The things I've seen 'round here in the telecom boxes and fiber concentrators... It's a miracle anything works at all...


In the early days of consumer DSL, I had really, really bad service and I kept calling to complain and the phone company kept saying they found nothing wrong. Finally they must have gotten tired of me calling and they sent someone competent. He traced my phone cable all the way back to the box a couple blocks away then came back to tell me that he found the problem. One of the wires in the pair was not actually screwed down (or punched down, IDK): it was just touching the terminal. So some of the time it worked just fine, but I'm guessing that if a big truck or something drove by, the vibration separated the connection, and my DSL would go all to hell.

His guess was that (a) nobody bothered looking in the box and (b) they were just testing voice quality, which was fine, but the actual DSL signal was showing lots of dropouts.


Betmoose.com


Deadlifts cured my lower back pain. I did take a class on form though.


i have an l5-l6 l6-s1 hernation from deadlifting.

it's a somewhat similar story across some of my friends who i deadlift with.

a number of of powerlifters we follow on instagram are on regular cbd oil therapy. i'm on lyrica and a truckload of painkillers every day. we still go out and do it. grit your teeth and grind through the pain.

i don't do it as much anymore after i realized that i'm killing my future quality of life for absolutely no financial gain - i'm not selling instagram views, not selling training or equipment and things. but for a long time it was all vanity. none of it is necessary for sitting properly at a desk.


What sort of weight are we talking?

I'm wondering if the stories we hear from more experienced weightlifters like you are because you were pulling, say, 400+ lbs. I don't know, but I think the danger probably goes up exponentially as you cross a threshold of average physical tissue capacity. My all time DL max was 405, and I generally pulled around 365. DLs only made my crappy back feel better.


Not the above comment but I find the story a bit suspect. I have many friends in the competitive powerlifting world and while many have nagging injuries, almost none of them came directly from deadlifting. That's my experience as well, I have pulled over 600 at 181 and never came close to an injury from the lift but I can't say the same for squat (knee, hip, and shoulder pain) and bench (wrist and lower back pain).


unlucky me i guess.

my physio basically said some people are born with better biomechanics and better structural strength for competitive lifting than others and i'm just not one of them.

if i can get back to at least a 400 lb DL i'd be pretty happy.


Yes I suspect the same. I personally find deadlifts by far the most effective and easy exercise for preventing back pain and generally feeling healthier and more comfortable with a sitting desk job that I have found. However I have experimented a lot and I can get that benefit from lifting just 1x body weight, which is trivially easy for me and doesn't seem to pose any real risk of injury.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: