Viewing profile — syntacticbs
syntacticbs
HN member- Joined
- Fri, Oct 13, 2023, 7:06 AM UTC
- HN karma
- 30
- Public activity
- 10 items
- HN profile
- View on Hacker News ↗
About syntacticbs
No profile information was provided.
Recent public activity
-
comment
Comment #47207676
I also worked on trading systems. Usually two methods `onMessage(long timeNow, byte[] buf)` and `onTimer(long timeNow, int timerId)`. All output sinks and a scheduler need to be pa…
-
comment
Comment #47191627
Interesting approach. I often get to the same goal by using the replicated state machine pattern. Where all inputs to a system are recorded. Both methods seem to rely on designing …
- story
- story
-
comment
Comment #42894449
I run Linux on my laptop and desktop and have a MacBook. I wouldn't recommend it for your laptop unless you're an enthusiast. Suspend/sleep is still janky, power saving is poor and…
-
comment
Comment #42668187
The local scope leak seems to only happen when you drop down the call stack. See below how I can call func2 from the top level and it's fine, but if I call it from within func1, it…
-
comment
Comment #42667685
Oh dear. I've been trying to get people to not use this feature for a while. One thing that has bitten me in the past is that, if you declare your associative arrays within a funct…
-
comment
Comment #38752229
I completed both parts of this on Coursera. It can be a very challenging course at times but it's thoroughly rewarding. One of the key takeaways was a working mental model of how t…
-
comment
Comment #38680932
Pre-allocating up front would also have been valid way of doing things. For the specific use cases I have worked on though, I'm not sure it would have had any additional performanc…
-
comment
Comment #38680332
I've worked in applications where a lot of IO is required. If performance is something your application cares about then you'll probably end up using direct ByteBuffers which are o…