News for hackers. Stuff that matters.

skinowski

They meant "[0]uint64" probably, not 0[]byte.
Re:Reinvent the Wheel on Saturday May 24, 2025 @07:17PM (#44084353)
+1, also sometimes to avoid complexity due to unnecessary abstractions/modularity, etc.
Re:Goto on Tuesday April 16, 2024 @08:23PM (#40059032)
GOTO is useful when used in the right context. Heavy use of exceptions are more of a problem today.
Re:Generative AI for Beginners on Saturday November 25, 2023 @06:33PM (#38417791)
Seems like this requires Azure OpenAI access which is not granted for personal use but only for select corporate customers?
This is a fair point.

I've seen many frameworks shared in hackernews. But rarely do I see anyone commenting on their IDE's capability to be able to use that framework for go-lang, rust, c, c++, etc.

For example, Rust tokio 1.0:

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

I don't see anyone mentioning an IDE there.

Good job on distorting my comments. Hopefully the developer who made the original comment will read your recommendations and will decide to give this framework a try.
If a developer does not want to try this framework because an IDE does not yet support a particular version of java, then the situation has gone beyond an IDE being just useful.

Personally I use various IDEs, light weight IDE/Editors and even vi/vim depending on the language & situation.

Think of it this way:

If I asked my team to develop a project/POC with this framework and they came back to me saying that they have to wait for (or prefer to wait for, or whatever) jet brains to add java 21 support to do this, I would not be very happy.

If a developer says "The blocker for me is IntelliJ supporting Java 21", clearly there's an IDE dependency. Powerful enough for a developer not to adopt a new framework.
This is one of the things that bother me about Java; IDE dependency.
A better solution would be relatively new socket option:

IP_BIND_ADDRESS_NO_PORT

https://www.mail-archive.com/[email protected]/msg66879...

Re:The Ars guide to building a Linux router from scratch on Monday April 18, 2016 @12:54PM (#11521327)
ip_conntrack_tcp_be_liberal is still in kernel sources and it is enabled in distributions like openwrt. The author does not mention this, so very likely that his/her custom router will drop traffic. Recently I ran into the issue with Netflix traffic which seemed to use window scaling. In my case I did not disable scaling, but had to enable this option on arch Linux.
Re:The Ars guide to building a Linux router from scratch on Sunday April 17, 2016 @02:18PM (#11515564)
Looks like he hasn't hit the ip_conntrack_tcp_be_liberal problem/setting yet. Good luck with streaming Netflix with that router...
Re:Using Nginx to load balance microservices on Saturday March 12, 2016 @04:36AM (#11272131)
Reload runs old/new processes in parallel, so switch is super quick and new connections always land on new processes. So error rate between reload and restart is huge.
Re:Using Nginx to load balance microservices on Saturday March 12, 2016 @04:34AM (#11272125)
Any load tester will do the trick. Network latency and client keepalives enabled will also increase likelihood of errors.
Re:Using Nginx to load balance microservices on Saturday March 12, 2016 @04:32AM (#11272115)
Before making this statement, think of how the following states can really be non-disruptively handled:

1) requests in transit to nginx (in-flight) 2) TCP handshakes just completed (not yet accepted) 3) TCP handshakes in progress (clients will retry if server doesn't RST)

Nginx cannot know if requests are in transit nor it can handle just established TCP conns. It also does not drain the backlog queue in the old processes. It simply tears down estimated 'idle' connections.

Try a test with heavy load and you will see. More network latency more errors...

That's exactly why Nginx Plus offers dynamic upstream modification features as opposed to relying on reload.

Re:Using Nginx to load balance microservices on Thursday March 10, 2016 @11:06PM (#11264583)
"highly available web applications."

but nginx will drop traffic during reloads...

Regarding 3, buffering behavior is highly configurable in nginx.(eg. proxy_request_buffering, proxy_buffering on/off)
Re:Soon You'll Hate Group Chat as Much as You Hate E-mail on Sunday January 31, 2016 @02:59AM (#11005681)
This really reads like a filler article. And communication in the office depends on many factors.

The link to the said research on how awesome face-to-face meetings is just leads to another article written by the same author. Sigh...