News for hackers. Stuff that matters.

lcfcjs

Re:The Costs of Microservices on Monday October 30, 2023 @10:50AM (#38070129)
Interesting article.

Although one point I'd like to contest is the first "pro" which is you can use a different language for each service. We tried this approach and it failed fantastically. You're right about the cons, it becomes un-maintable.

We had 3 microservices that we maintained on our team, one in Java, one in Ruby and one in Node. We very quickly realized we needed to stick to one, in order to share code, stop the context switching, logging issues, etc.

The communication piece is something that solid monoliths should practice as well (as is it touched on in the article). Calling an 3rd party API without a timeout is not a great idea (to be it lightly), monolith or microservice.

Thought-provoking nevertheless, thank you for sharing.

Re:Bipartisan Legislation to Ban TikTok on Tuesday December 13, 2022 @01:04PM (#33973011)
Because we are a democracy with freedoms protected by the government. If we copy their tactics on digital democracy, where do we draw the line? Should we also start locking people in their houses if they have covid?
- Lack of stability - Equity instead of salary - Long hours - Wearing multiple hats (hate having to do QA, Operations, even some product development)
Re:I’m Nat Friedman, Future CEO of GitHub. AMA on Thursday June 07, 2018 @04:48PM (#17260113)
As of January 2018, over 144 million copies had been sold across all platforms, making it the second best-selling video game of all time behind Tetris.

^ from wikipedia

If they sold each for $10, then thats $1.5 bil (if my maths right). So I think it's safe to say that they have not made their money back ... yet.

Re:VPNs Are Absolutely a Solution to a Policy Problem on Wednesday March 29, 2017 @04:16PM (#13990157)
This isn't about expansion of the NSA, it's about this bill in particular.
I think the question you should ask is why can we not expect humans to act ethically. We are all human after all.
Re:Server APIs Project on Tuesday October 25, 2016 @04:19PM (#12791305)
Thank goodness, I just made an app last week and it was surprising how difficult it was to actually make an http request and handle the response.
This is almost exactly the same for me. Except I was 28 when I became a "Development Manager". It quickly became clear that I felt I wasn't accomplishing anything, and the times when I was able to actually code felt completely liberating.

Some people enjoy managing, unfortunately I just couldn't get into it.

Re:Saved Replies on Tuesday March 29, 2016 @05:48PM (#11385181)
Would love to save replies on a per repo basis, so that we can store our jenkins commands in saved replies
Re:Ask HN: How do you debug your code? on Tuesday March 29, 2016 @01:35PM (#11383186)
This is a great question and I am curious as to how others do it as well. I primarily code in nodejs and usually I just add console logs to give me visibility, however I feel like this is primitive and time consuming.

I have played around with node-inspector, but I have found that it's awfully slow, particularly with really large arrays or objects. So I eventually just abandoned it. It seems like a good idea, and might be worth revisiting in the future.

Re:Sources of ICQ desktop client by mail.ru on Tuesday March 15, 2016 @04:15PM (#11292626)
Subseven always worked well with ICQ :D
Re:Caffeine use disorder on Monday March 14, 2016 @07:17PM (#11286305)
Thanks for sharing, I drink a ton of tea, black tea has about 30 to 60mg of caffeine in it. So I find that caffeine doesn't do much for me, but the Vitamin B2 is interesting, i'll try it!
You'd have to look for an opporunity elsewhere :(
Very interesting article, thanks for the submission.
Re:Why junior developers are learning bad habits from Angular on Thursday January 29, 2015 @11:27AM (#8967064)
Fix the site! this sounds interesting
Re:What does it take to run a web app with 5K – 10K users? on Friday January 09, 2015 @03:02PM (#8864162)
Probably the first thing would be to drop ruby and use the PHP Zend framework or node and a nosql db.
Re:Hacking PayPal Accounts with one click on Wednesday December 03, 2014 @06:44PM (#8697077)
Should have used js, fuckin noobs
Re:Java Doesn’t Suck on Wednesday December 03, 2014 @01:09PM (#8695312)
Wow makes me dislike Java even more lol @jamesward
Re:2 years with Angular on Monday November 24, 2014 @11:22AM (#8653069)
Bizarrely enough, I've built about 4 web apps ( using Angular over the past 2 years also. However, I've found that scalability (mainly due to it's reusability) is one of the strongest points. I've worked with enormous applications built entirely with jQuery.

I love angular, but perhaps thats because I'd only worked with jQuery before.

Re:Why I Don't Use CoffeeScript (2011) on Friday November 21, 2014 @03:52PM (#8643314)
Interesting article, I like some of the points the author makes. I did want to bring up use for(var i=0; i<10; i++) rather than a for .. in loop. But isn't a for in loop for objects, while the first for example is only for arrays? I don't think you can reference an object's keys with an incrementing counter (unless the object is specifically designed like this?
Reading Item 20. Worm Holes, after watching Interstellar, is really intriguing and thought-provoking
Re:Amazon Echo on Thursday November 06, 2014 @09:36PM (#8570972)
Since my 2-year-old's name is Alex, I don't think "Alexa" is going to work out in our household :/
haternews.herokuapp.com application is down. lol should have used javascript.
Re:Hjson, the Human JSON on Thursday October 09, 2014 @12:24PM (#8433389)
I totally agree with this, JSON was designed as a standard.