News for hackers. Stuff that matters.

th5

Re:Rearchitecting Apps for Scale on Saturday May 07, 2022 @01:41AM (#31292411)
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

Re:GraphQL Is a Trap? on Saturday May 07, 2022 @01:36AM (#31292390)
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.

Re:You don't need that CORS request on Monday January 03, 2022 @10:12AM (#29781498)
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.

Re:The economics of pumpkin patches on Sunday October 31, 2021 @11:09AM (#29057516)
@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
Re:Are NFTs Status Symbols? on Friday September 24, 2021 @10:38AM (#28643025)
The art world itself in some ways could be a sham. But also there is real art and business happening.
Re:Are NFTs Status Symbols? on Friday September 24, 2021 @10:24AM (#28642845)
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.

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.
My guess is too lazy to cut and re-terminate the cable.
Re:Ethiopia's controversial mega-dam on Nile tributary on Sunday July 11, 2021 @01:16AM (#27798626)
Betmoose.com
Deadlifts cured my lower back pain. I did take a class on form though.
Re:Python Generated Sequence Diagrams on Saturday May 23, 2020 @10:57PM (#23288719)
AsciiFlow.com !

Not text to diagram, but creating diagrams in text that I check-in to the comments at the top of my code.

Re:Risks of Artificial Intelligence on Wednesday August 02, 2017 @12:53PM (#14912252)
Did someone say drones with chainsaws?

https://instagram.com/p/BU2TsdlFtf6/

Re:Waze for Android Auto on Wednesday July 26, 2017 @11:15AM (#14856872)
I find waze'S strong point is in dense metro areas where there are many routes to consider, like LA/OC.

That's where it shines. Other than that It seems to eat a lot of battery and make my phone run hot so I stick with Google elsewhere.

Re:What ORMs have taught me: just learn SQL on Monday August 04, 2014 @06:59PM (#8134536)
ah yes. foxpro! this is the first web language i ever learned. it was awesome because the db and application language live in the same space. You could run SQL directly inside the language...

When i learned the "best practices" of the time (1996 ish)... i thought it was extremely inefficient to have to "formulate a sql statement", then call it then retreive the result...

Re:Inside the Ghost Ships of the Mothball Fleet on Monday March 25, 2013 @02:06AM (#5435734)
wow... i've always dreamed of planning an exact mission like this. i've boated past the mothball fleet many a time... learned how to climb, rapel, bought all the gear, etc.. hoping one day i might work up the nerve to pull something like this off. hats off to these guys, amazing story and photos...
Re:Users don't like social login on Wednesday March 20, 2013 @10:20PM (#5412357)
wow, this is so interesting.... i cant even fathom that. getting old i guess
Re:Users don't like social login on Wednesday March 20, 2013 @10:16PM (#5412343)
+1 to your decision. I HATE site that use usernames instead of emails... i wont even use sites that do that unless i really really have to (like my health care provider).
Re:Users don't like social login on Wednesday March 20, 2013 @10:09PM (#5412313)
shouldnt be too bad, because the button they click to login says "Persona," as does the email. I guess if a person is already familiar with logging via fb/google/twitter, then they should "get it." but someone not familiar with logging to site A using credentials from site B.... yea i can see that being confusing.
Re:Keeping your Javascript clean on Thursday August 02, 2012 @02:21AM (#4327566)
can anyone give some detailed examples on "encapsulating/abstracting away state."
Re:A standing desk for $22 on Wednesday June 20, 2012 @12:00AM (#4135556)
I'm 5'9" 150#. I was diagnosed with scholiosis in jr. high, had lower back pain when sitting all through hs and college (back when i was 130#). I too tried the standing desk and it didn't help.

Here's what helped -- about 3 years ago I got into squats and dead-lifting. I got them up to 1.5x and 2x body weight, respectively. I didn't gain a whole lot of weight, but my core strength increased tremendously.

Maintaining good posture requires some (~10-30%) flexion of the core/abdominals at all times while sitting. Now, after learning proper form of squats and deadlifts, my body goes into proper sitting form without even thinking.

Back pain is completely gone. squats and dlifts -- highly recommended!

tldr-its not about weight, its about strength

Re:Microsoft Introduces New "Surface" Tablet on Monday June 18, 2012 @08:09PM (#4129377)
is this a joke? their gallery page images link directly to the images in the most unprofessional way. could've at least lightboxed it.
Re:Everything You Wanted To Know About Caching on Monday May 21, 2012 @02:56AM (#4001667)
in the scripts section he says "Generate Content-Length response headers. It’s easy to do, and it will allow the response of your script to be used in a persistent connection. This allows clients to request multiple representations on one TCP/IP connection, instead of setting up a connection for every request. It makes your site seem much faster."

does he mean, for example, when serving up a dynamic php page, where the content might change for each request, you should still generate a content-length header before outputing the content?

Re:Don’t work. Be hated. Love someone. (2008) on Sunday April 15, 2012 @04:35AM (#3843150)
Great post. I agree with your assessment of work and young people. I don't know if he's fully saying this in his speech though. In one part he is saying dont feel entitled to things and experiences...you need to work for it and make it happen.
Re:Don’t work. Be hated. Love someone. (2008) on Sunday April 15, 2012 @04:30AM (#3843145)
I dont know if you're married but i find the love part very practical. I dont feel he's saying "stick it to the man" as much as "don't expect life to happen to you", "dont feel entitled to things and experiences"... you need to work for it and make it happen.
Re:How casinos distract on Sunday February 19, 2012 @03:13AM (#3608931)
In the text it said he switched out that image from the original venetian to the casino ventian, so maybe you saw the old version. In this one, I counted 16 circles/round objects if you include the archways in the doorway.
Re:Stack Overflow running short on space on Tuesday February 07, 2012 @04:07AM (#3561095)
Is it not worrisome that they only have one db server with no hot-backup or fail-over db machine? I suppose many components on that one machine are redundant - disks, cpu's... but theres got to be many points of failure in there as well right?
Re:Stack Overflow running short on space on Tuesday February 07, 2012 @04:01AM (#3561075)
you would think MS would cut them a super deal on licensing, being that S.O. is such a major site utilizing and promoting their platform, (and its demographics match who they'd want to promote to). If S.O. goes down or has problems due to a SQL server issue like this, (or them not affording another license) that looks pretty bad.

Older »