News for hackers. Stuff that matters.

ozychhi

Re:Floating point numbers, and why they suck on Friday December 17, 2021 @08:59AM (#29592181)
Nooo unsigned integers suck, if you subtract 5 from 3 what would you get? Then I had a stroke of genius and figured it out, I have no idea what I'm doing.
Re:The case of the 500-mile email (2002) on Sunday November 14, 2021 @05:59AM (#29216531)
D'oh! How did they not think of that
Re:One Year Alone in Forest of Sweden Building a Log Cabin on Tuesday March 16, 2021 @04:39AM (#26474266)
If you are interested in similar content, I recommend you check out youtube channel Advoko Makes. https://www.youtube.com/channel/UCc1ufNROdAxto9Fr0jnEE2Q
Re:How bad is your Spotify? on Wednesday December 23, 2020 @10:01AM (#25518241)
Probably killed by hackernews, not everything is webscale unfortunately.
Re:Zstandard v1.4.7 on Thursday December 17, 2020 @11:53AM (#25457354)
We were using modified lz4 (very much molded over our data) that was actually faster than memcpy of data that we were compressing.
That looks like a cool tool (would be cooler if it didn't start freezing up after 15 seconds). But I have a complaint, how is Bill Nye on the same tree as Richard Feynman?

https://www.literature-map.com/richard+feynman

Re:Ask HN: Who is hiring? (November 2020) on Monday November 02, 2020 @12:35PM (#24970710)
Copy paste job gone wrong
Re:Ask HN: Good C++ code bases to read? on Wednesday October 28, 2020 @12:19PM (#24920590)
Yeah as others mentioned this is between C and C++, arguably taking best of each language. But indeed this library is based around the idea of having performant UI (as they mostly redraw whole screen on each frame, it has to be quite quick, though there are ways not to do this, this is the most basic case) and generic containers do not really cut it, also usage of exceptions is sort of impossible with the way you have to structure ImGui code. So it's more of a codebase that illustrates how to write performant code, not so much modern C++ guideline.
Re:Overloading by Return Type in C++ on Monday October 12, 2020 @08:05AM (#24753544)
TIHI
Re:What gives you anxiety at work? on Monday June 22, 2020 @11:35AM (#23601358)
Core dumps
Common sense
In my opinion, law is a bit irrelevant here. You should know what you want to do, if you don't want to do it then decline and see how it goes; If you feel like doing it accept it. Do not let those small details alter your aspirations, in the end all it matters is what you want to do. You are obviously skilled enough to find another job, so do not be afraid to stand up for yourself.
I'm always available for call whenever physically possible, mind you I work in finance. Depends what kind of ownership of the project you take, but you should NOT be forced into it; That should have been discussed when you took on the managerial role, as obviously you didn't have full understanding of responsibilities. Personally I don't think there's anything wrong with that request (again it should be request not forced), but bigger problem is that you might have other hidden responsibilities and that is a bit of a red flag.
Re:Do not Draw a Penis on Friday May 15, 2020 @06:07AM (#23190543)
I also drew an elephant but for some reason it said it was a hat? Ah, might've placed it in the boa
Re:Most-recommended programming books on Friday April 03, 2020 @05:52AM (#22767664)
Mandatory comment: Omg no K&R?
Re:Ask HN: Why did you quit your job(s)? on Thursday January 16, 2020 @04:36PM (#22069220)
Job 1 (18 months): Desperately needed to change industry, I worked in game dev, and it was most probably the most unfulfilling experience ever.

Job 2 (20 months): Was startup, so company matured a lot and lost all of its glamour.

Job 3 (8 months in - still there):

Re:Google Will Collapse on Saturday January 04, 2020 @06:19PM (#21958348)
Yeah, said a dude who posts on medium in 2020
Re:Stack Overflow is currently offline for maintenance on Tuesday November 12, 2019 @09:02AM (#21514105)
Up now for us.
Probably controversial, but eelco dolstra's PhD thesis was eye opening for me.
Re:Ask HN: Recommend one book I need to read this summer? on Tuesday July 02, 2019 @06:47AM (#20333832)
If I had to choose one book to save from 451, I'd definitely choose this one. Also rereading it is very rewarding experience, I've read it at least 12 times.
Was I only one who thought of Jim Carrey in God almighty?
Re:Requiem for a Sports Bettor on Thursday June 06, 2019 @07:26AM (#20113437)
For horse racing and football, Smarkets usually is better choice than Betfair. Especially when it comes to reliability and commission rates.
Re:Things to use in Python 3 on Wednesday May 15, 2019 @05:45AM (#19917781)
We actually tried switching to asyncio in production, but got worse cpu utilisation and worse latency (vs greenlet). After some benchmarking and tuning, we got a bit better latency, but CPU utilisation was still worse, so we actually ended up swithcing back to just using greenlet :(
Re:Ask HN: What are you reading? on Tuesday February 05, 2019 @06:18AM (#19084317)
Skin in the Game by Taleb
Re:Ask HN: How do you track your production deployments? on Sunday January 27, 2019 @03:57PM (#19013739)
Depending on how you deploy your projects the approach might differ a lot. One thing we are doing right now is that we write notes to the commit that is being deployed (ofc that is automated). Good thing is that you do not need any extra infrastructure/db/storage, the bad thing is that it can be quite fiddly and sometimes painful (in case you deploy from non master).
This should be top answer, it's very easy to learn everything else written in other answers, but this one is real hard to get right.
Re:Ask HN: How are you going to grow your business in 2019 on Tuesday January 01, 2019 @10:58AM (#18800632)
Have you tried doing serverless? I have and my experience with it was quite bad. Here are other people sharing the same opinion https://arxiv.org/pdf/1812.03651.pdf
I wrote a little wrapper around this library to check python scripts/services for profanity (checks strings and comments in files). https://github.com/ozychhi/prof-checker
Re:Ask HN: How are you going to grow your business in 2019 on Monday December 31, 2018 @07:11AM (#18794175)
My personal opinion is that it is not worth learning, serverless is not in a good place and i have a suspicion it won't be useful for next few years. it's not as cost effective as they are advertised, especially if you want to do something more complex than serving static files

Older »