News for hackers. Stuff that matters.

jayar95

Re:Friendship ended with Deno, now Node is my best friend on Tuesday October 06, 2026 @09:51AM (#49978495)
In casual convo, I often hear strong typing conflated with static typing. Its generally fine unless im being pedantic for sport. Typescript has a stronger typing system than javascript, but depending on your audience, some might not consider typescript a strongly typed language because of things like `any`, type assertions, and lack of runtime guarantees to name a few
The products we're building are more complex than they used to be, but I don't know if its true that backend development has inherently become more complex than it was in the past.

I've worked on everything from dinosaurs older than me to new greenfield projects using all the latest tech. I think over-complexity emerges in many ways, notably: too much abstraction, ignorance, dogma, and just straight up carelessness.

I think the abstraction problem is the most common and severe though. In enterprise software, I've spent an entire day in the past combing through several layers of services and repositories just to get the full picture of how a response object is being created for a single controller method.

Let me give another example: think about the great debate over ORM vs No-ORM. It's fundamentally a battle about the balances and costs of abstraction in software development. On one hand, you have a (hopefully) simple interface for defining a db's schema, but do I really want to obfuscate the developer from the implementation details of that `findBy` method and trust that the ORM will be 1) used correctly and 2) generate a performant, sensible query? What about security handling? Should I have my developers concerned about preventing potential SQL injections, or just let the ORM take care of that too? The answer depends on a lot of things.

Anyway, I believe for every abstraction:

- something significantly useful should be added (this seems like a truism as I write this, but i've seen a startling amount of useless abstractions)

- the cost should be carefully calculated

- understand where complexity is being added and subtracted

I believe thinking about abstraction in this way would've cut down a lot of the complexity I've seen in softwares past.

Re:libmill - Go-style concurrency in C on Wednesday March 16, 2022 @05:45PM (#30704535)
There's a lot of C out there homie
Re:The [Rust] Core Team Is Toxic on Thursday December 09, 2021 @04:36PM (#29503277)
> even Stalin would tell you that you are making an error in politicizing technology.

Thank you, I loved this haha.

Re:Flowchart: How should I run containers on AWS? on Sunday November 14, 2021 @01:08PM (#29219084)
Vendor lock-in can be a real issue as you scale. I work at a company going through a hypergrowth phase, and we're more or less locked into Azure, which has been objectively awful for us
Re:Flowchart: How should I run containers on AWS? on Sunday November 14, 2021 @01:04PM (#29219052)
It's been a year since I touched an AWS lambda, but I'd bet money that cold starts are still an issue. There is a common hack that half works: have your function run every minute (you can use eventbridge rules for this); in the function handler, the first thing you should evaluate is whether or not it's a warming event or not, and exit 0 if it is. Your results may vary (mine did lol)
Cool
Re:Logging Everyone Out on Friday October 02, 2020 @05:12PM (#24667071)
That doesnt surprise me. They will let highly problematic security issues persist for weeks
>signatures that are 3 lines long

What hath God wrought

Re:Beware of Google Bearing Gifts on Friday April 12, 2019 @02:28PM (#19647640)
I came here to say this. Literally every company ever does this. In marketing it's called a value-first proposition. I don't see it as evil by any means
Re:Unheard History of Bodybuilding Forums on Thursday April 11, 2019 @06:59PM (#19640150)
Any miscers checking in?
Re:Making Video Games Is Not a Dream Job on Friday April 05, 2019 @03:20PM (#19586059)
That's kind of a blanket statement don't you think?
Re:AirPods with Wireless Charging Case on Wednesday March 20, 2019 @11:56AM (#19443455)
Wow, imagine not having to charge your earbuds! Revolutionary
Re:A JavaScript-Free Front End on Tuesday March 12, 2019 @09:47PM (#19374980)
lol this needs more visibility
Re:Ask HN: How to speak like a leader, not like an engineer? on Saturday March 09, 2019 @09:53PM (#19349882)
I do both and it's probably less effective (comparatively)
Yes but you originally said alcohol is far less harmful than THC
Re:The most important software dev skills aren’t technical on Thursday March 07, 2019 @12:33PM (#19330038)
If you like the functional aspects of Java, check out kotlin. It's quickly become my favorite programming languages because you get all the benefits of java's strongly typed OOP system with a lot of elegant functional features, and type inference!!
Yeah, most organizations don't deal in _just_ weed. A lot of them deal in people too
Re:Show HN: Pipe To Me – Stream data over HTTP using curl on Thursday March 07, 2019 @10:59AM (#19329080)
how does it update without javascript?
Re:A backyard mechanic who is taking on Tesla on Wednesday March 06, 2019 @04:35PM (#19323074)
Honestly, autopilot software should have checks and balances already in place to prevent use if the system is compromised. Regardless if it was compromised by human hands or general use / wear & tear
I used to take a similar view on the war on drugs- now it's more nuanced given my immersion into the problem. It's hard to say wasting countless lives and millions of dollars to combat organizations illegaly smuggling harmless product (marijuana) into the states is hardly worth the mess left behind. Take a step back and it's easier to justify when the income of that product is going to large criminal organizations that also create problems such as the meth epidemic in california or the opioid crisis across the country. And to facilitate the delivery of these criminalized products, criminal organization have no hesitation of delivering those packs covered in the blood of poorest class of people in the hemisphere (the consumers are dying too, but from consumption, another problem entirely). Lots of people against the war on drugs will say "yeah but if it was decriminalized..." A lot of things would be different if it was decriminalized, but good luck selling that pipe dream to the traditional base of america that has a strong influence across the nation. Not happening anytime soon. In my opinion everything sucks here and I haven't heard a viable solution yet to this very complicated issue

Edit: I do want to say that decriminalization is probably the most hopeful option of them all, I just think it's going to take forever, generations probably. This is really a public health issue in my opinion, it's just not treated as one :/

You know it's always a concern, but context is everything.

> small little one-off apps that might need _some_ backend functionality

The security implications of serving a static website vs. a dynamic application that processes payment and queries the database are two different beasts

If security is a concern, this is probably a bad choice; this doesn't seem to be advertised as a bulletproof security solution to anything, rather a utility for small little one-off apps that might need _some_ backend functionality. Once you start adding features like file-uploading, youre obviously gonna want to pick a more robust option
Re:PHP code generated by GPT-2 on Tuesday February 26, 2019 @11:08AM (#19255406)
PHP is interpreted o.o
Re:Alternatives to JSX on Monday February 25, 2019 @04:42AM (#19244327)
I think a lot of readablity issues with jsx are caused by the amount of logic react devs will put in their markup. It's painfully reminiscent of old-school PHP templating
Re:Alternatives to JSX on Monday February 25, 2019 @04:38AM (#19244312)
To be fair, I see junior devs struggle with all build tools.
Re:Big ol’ ball o’ JavaScript on Friday January 04, 2019 @04:49PM (#18827983)
I found the political angle he took to be daft as well.

I became a full stack developer for the same reasons as you, I like assuming the responsibility of every aspect of a product's development- plus, working in different aspects keeps things fresh. Building beautiful ui with react is really fun, so is building the services that app talks to. Personally, being really good at both of those things has been super profitable for me.

Re:Ask HN: What technologies did you learn in 2018? on Sunday December 23, 2018 @08:52PM (#18749733)
Take a look at symfony