HNHacker News
TopNewBestAskShowJobs

02020202

-14 karma · joined August 10, 2020

submissionscomments
02020202··on Eliminating Task Processing Outages by Replacing RabbitMQ with Apache Kafka
kafka is the jehovah's witnesses of tech. not even going to bother reading it.
02020202··on I wrote a new tool in Rust to convert M4A’s to MP3’s
this is easily done without ffmpeg. but it is rust after all so it must be a really good and fast and cool wrapper :D
02020202··on DuckDuckGo Founding Member in Global Privacy Control Standards Effort
they use bing only for some stuff, not as their backend. they will do just fine without bing.
02020202··on Ask HN: Steady 4-5% on $5M?
stocks, stocks and stocks. if you want something safe, buy some index. maybe something form a sector you understand a bit about or just go with s&p500, etc.... there is nothing safer than that.

personally i pick my own stocks. so far i am +35% since december and i was at +60% recently. it fluctuates but i am a long term investor so i just chill and don't sweat about it.

in the end it depends on how much work you are willing to "invest". you can flip alcohol or houses or daytrade but it all requires time and effort and it just becomes a job. hence i advocate for long term investing.

02020202··on Principles of Data Oriented Programming
simple read. good points. this is very useful in event sourcing or in general for sensitive data where mutability might become an issue(ie. financial transactions). also i think this maps to value object perfectly.

i have implemented ES into few projects and am now writing a ES library, since I think it can be done much simpler than my previous implementations that felt too verbose, and I will take some pointers from this into account.

02020202··on Fibers, Oh My
Am I the only one who read that title in George Takei's voice?
02020202··on Ask HN: Why Paul Graham’s Website Isn’t Using HTTPS?
if there is no sensitive data input(like login) https is just a waste of time. being cool just for sake of being cool is not cool.
02020202··on Ask HN: Do ”blue light” glasses work?
Yes but you don't need them. 99% of people use their computers wrong. That is not a problem for normal user but for someone who spends the entire day stairing into the screen, it adds up.

So you jsut have to do the following(it takes hlaf an hour to an hour to get used to these but then it becomes normal):

- take you brightness and contrast down to 50%, no more than that, this will be weird for a while, stick with it.

- scale your DPI up by 1/4(125%) or more, until you feel like you are an old man that needs reading glasses

- make all your fonts larger, don't be affraid to go nuts, you will fine tune the size in short time - this is most important for your editor, use the font for half an hour, then see if different size fits you better. you should end up in the 15-18 range.

- put your monitor at a distance where you can't touch it with your hand when your back is touching the chair and you sin in comfportable position

- use f.lux for later hours, it removes the blue color, no need for glases, it totally works but you also need proepr light source in the room(ie. warm, not white/cold)

- never work in a dark room, always have a light source on, beside the screen itself, more is better but you have to have a solid contrast on the screen so too much light is bad.

- never sit next to a bright window, use drapes or blinds or whatever, always sit in a way that a window is sideways to you, not behind or in front of you

- don't use screen without antireflective coating or have polished plastic, if you have this monstrosity(apple'n'shiet) trow it in the bin and get a new one(dell for example)

this alone will ensure your UX will be good. there are other things for ergo like chair and desk but this is about eyes so there you go.

02020202··on Ask HN: What should a software engineering Hippocratic Oath equivalent be?
I shall not force my own political opinions on users of my code.

I shall forego code of conduct for the users of my code and let them behave freely.

02020202··on Why American cities can’t keep up with infrastructure maintenance (2017)
don't even need to read the article. the answer has been, is and will be always the same - welfare aka communism.
02020202··on French bar owners arrested for offering free WiFi but not keeping logs
It's France, don't worry about it.
02020202··on Ask HN: Best Tools for Log Management?
tech is irrelevant. all you need is to keep the correlation id, and possibly causation id, in the events and you generate the entire graph of user's movement(or whatever is the subject of the event stream).
02020202··on UK supermarket Tesco sets 300% sales target for plant-based alternatives to meat
well, i guess it is time to short this stock :D
02020202··on JPMorgan to pay nearly $1B for metals market manipulation
...just dont ask about the silver...
02020202··on Do things that don't require scale
I would also add:

- don't do anything that is based on user-generated content(email, social network, ...)

- it cannot be anything the customer can make himself on his own(e-commerce website with woocommerce, payments with stripe, data storage with s3 ...)

- a NEW idea must be monetizable from the get-go to avoid big players coming in and taking over in shorter time than it takes you to get up and running and building a customer base

- it must be a new idea that has no market yet or existing players have insufficient offering

- if you cannot draw the idea on one A4 paper, the idea is too complicated

- if the price of switching providers is too low, you will lose customers when new players come in and vice versa if you are entering existing market

- if you cannot put out MVP in three months, the idea is too complex

- if the MVP(or even production version) software product/service cannot run on one single VPS or bare-metal server, it is way too complex

- if implementing gdpr and alike are too complicated, the idea is too complicated

- you should avoid storage of any user-generated sensitive information(invoices, payment/transaction details, passwords, keys...), sooner or later it will bite you in the ass

I have recently talked about the world of startups being done for since many large companies offer services for free, even if it is not their core business, they prevent new players form entering the market and pump up their stock by adding value to their name. If you have something new, the big players can take over the entire market whenever they want. Doing something simple worked in 2000s but nowadays a single developer cannot do what was passible back then and you need a team, and as mentioned above, massive financing to be fast to market. So essentially the world belogns to large corporations these days :(

02020202··on We cancelled standups and let the team build
daily standups were my favourite thing. i always tried to make them as long as possible by acking innocent questions, since i got literally paid for not working. best idea some moron ever came up with.
02020202··on Ask HN: People who stick to Windows, why?
since windows is on like... 96% od desktops, this question is quite nonsensical.
02020202··on Physicists argue that black holes from the Big Bang could be the dark matter
just fyi, "dark matter" is not a matter at all. it is just a label for the leftovers in the mathematical equations that we use today to calculate "space stuff". scientists have made this up so they can keep using the math, even if the numbers don't add up. it's the same thing when large corporations use "good will" for differences in assets and liabilities in their accounting.
02020202··on Ask HN: How do live video streaming services handle encoding?
I have checked [1], so the VP9 already has generally available hardware support, and Intel just a few days ago releasted their Tiger CPUs that do support AV1 [2].

[1] https://en.wikipedia.org/wiki/VP9#Hardware_implementations

[2] https://en.wikipedia.org/wiki/AV1#Hardware

02020202··on Biscuit: A monolithic, POSIX-subset operating system kernel in Go
they say its go but the soruce code is full of C...
02020202··on Ask HN: How do live video streaming services handle encoding?
ok, i see what you mean. though vp9 usually gets me 1/4 or 1/5 of h264 video so i thought it was worth to save the network traffic(even av1 got me larger file at incredibly slow speed) but as you directly pointed out, without direct support on the hardware, like h264 has these days, it will become a bottleneck so i would have to sacrifice traffic for speed and practicality and i guess vp9/av1 makes sense for youtube, bitchute or simply video HOSTING service, not for lvie streaming. thanks for lighting the bulb above my head :D
02020202··on Ask HN: How do live video streaming services handle encoding?
thanks for the info. i did not say there are two streams. i said there are two levels of transcoding - normalizing the ingress into some standard codec and container and second one is the lower bitrate variant - that does not mean just one but as you said - it is/can be 240p, 360p, 480p, 720p, 1080p(source) and so on. in other words the encoding takes place at least two times.

> FFmpeg (x264) is plenty "fast enough" when tuned on commodity X86 hardware, when you have things like AVX extensions. Generally transcoding a 4-6 second segment of video should only be taking a couple of hundred milliseconds at a maximum

can you elaborate on this? i find that hard to believe from what i have seen and from the ton of "ffmpeg is slow" google search results. if that is truly the case, there might be light at the end of the tunnel. annecdotally, today i encoded 2sec h264 mp4 into av1 and it took only 2-3 minutes... vp9 took 8 seconds(still 4x). sure, that was not on a server but still, it's not like i am computing PI on the background.

02020202··on Show HN: Compile Ruby to C
i have discovered it just today, lol. but it kind of works and mostly not, unfortunately. it would be AWESOME if Go core team would implement something like this into Go itself, since Go is just better C anyway, with GC. that would revolutionize the programming world, i think. i still dont understand why we dont have transpilation between the major languages being something one does not even have to think about, it just IS and WORKS.
02020202··on Show HN: Compile Ruby to C
im not fan of ruby but python was on its death bed and it came back to life only because of "data science" and "machine learning" since it was wasier to write it in python than in some compiled language and so it exploded since every big tech jumped on it right away and here we are. never say miracles don't happen :D

ruby has nothing to offer so it was left behind. maybe possibility to take your old code and ccompile it into C and gain massive performance will put ruby back on map, but i would not count on it. ruby was just a sillicon valley favourite pet that's no longer the case so i would not keep my hopes up for a big return.

02020202··on Show HN: Compile Ruby to C
I wish there would C to GO compiler, that would make my day.
02020202··on The Dark Side of the ‘Angel’s Share’ (2019)
well, this sucks. you cannot enclsoe the barrels in a air-controlled room since that will siply stop the agin process qutie a bit. not to mention the size of the warehouses. i think the people should just move away if possible since this is a zero sum game.
02020202··on Ask HN: Should I write Terms and Conditions for a free-to-use service?
nah, no need. but it is always good to have ToS so you have something to point users to. but when you write it, write it in inclusive manner, not exclusive. most people burn themselvs with it. in other words, by default, you guarantee nothing that is not specifically listed. that way you know excatly what your responsibilities are and what penalties, if any, you are liable for. same goes for users and their responsibilities and penalties. but be careful with agreements and changes made to it later on and getting NEW consent from users. again, if it is free, it is waste of time, but it "might" be handy.

ps: even if it is free, be careful if you are handling user data. if the service onyl provides your own data and does not receive or store any user input, then there not much to worry about...although you might damage user data even if they were not submitted into your system so...think about your needs and ymmv.

02020202··on Ask HN: Job prospects for pure C and C++ programmers?
very good, neither of them is going anywhere any time soon...or ever. but it is mostly about what yo uwant to do and learning the language to get you there. c and c++ are the low-level languages so you will be doing low-level stuff. it might be fun or not, depends on you.
02020202··on Ask HN: Facebook now requires an account to view business pages?
yep, i have noticed it yesterday. i say fucke em, fuck entire facebook and companies that have only fb pages.... but if you have a direct link to a post, it will show up.
02020202··on Airbnb REQUIRES recording you call but if you want to record they REFUSE call
i never talk when someone records me. there is never a positive outcome of such call. if they want some kind of proof, they can send me an email. when they record you you often agree to things you would normally not or changed your mind later on, since you have no time to think about it. they know what they are doing. so never, ever, be part of such calls. use email, think before replying and you're good.
← PreviousPage 2 of 3Next →