HNHacker News
TopNewBestAskShowJobs

azov

2,891 karma · joined July 30, 2011

submissionscomments
azov··on I love building a startup in Rust but wouldn't pick it again
> It almost always make sense to handle an error locally if you can

Yes, but “if you can” does a lot of heavy lifting here. In most cases you can’t, and this is when Rust’s ? is used.

azov··on Ask HN: Whatever Happened To Freelancing?
Depends on where you are. California LLCs are at least $800/yr and AFAIK don't give you much of a veil.
azov··on Ask HN: Whatever Happened To Freelancing?
How is it in California/Bay Area? Anyone still does 1099 directly? What do you do for one-off short term gigs? Form an LLC with all the fees and paperwork that entails? Give a cut to a middleman?
azov··on A Limited Interest Article on Employer Value Prop and Hiring
Frankly, optimizing streaming for adult content might well be one of the most innocent things one can do in our industry :)
azov··on Show HN: Filmbox, physically accurate film emulation, now on Linux and Windows
You may be interested in checking this out: https://www.dehancer.com/.

I believe they have Adobe + Da Vinci plugins for film & video (and maybe a standalone app as well. At least they used to when I played with the beta, but it may be plugin-only now, I’m not sure).

As far as I remember, they try to do some physically accurate emulation as well. The founder is a big fan of film photography and also runs some interesting gigs (like, repackaging cinema film for use in still cameras) - also blogs about color and film photography.

azov··on Don’t teach during code reviews
> I'm really confused as to why there are so many people assuming I don't give a shit about quality when I have CODE REVIEWS.

Having code reviews is an incredibly low bar. The very fact that you offer this as an evidence might be the reason people make those assumptions.

azov··on Don’t teach during code reviews
Well, here is one way to read your comment:

"A feature not making it into a sprint" is your problem. You will get in trouble for that, it will make you look bad in front of your boss, etc. "Not following best practices" is not your problem. If the code turns into a mess, it's not you who will have to deal with the consequences, at least not you directly. As a manager you will demand that your senior developers fix that (while still shipping features, of course). After all, that's what expected of senior developers. So, the incentives for you and for your senior engineers are not aligned.

Of course I don't know if that's even remotely close to your reasoning. I don't know you or your project or your priorities, I have no idea what "best practices" we're talking about and how reasonable it is to follow or not follow them in a given situation. I might be totally wrong, you may have all the right reasons to be mad about those reviews. But the comment makes it sound like your senior engineers are idiots who block PRs for no reason, and that can't be good for your team.

azov··on Don’t teach during code reviews
I’m not sure if I understand what this article has to do with teaching?.. Oh, I get it now, sorry for being slow! Do you think we could rename it to "Don't be an asshole and lie about (not) understanding things" or something along those lines? :)

PS. But, titles aside, do we actually want to do teaching during code reviews? There are many activities when teaching and doing are better kept separate (like, you don't want to teach your partner how to dance while you're dancing). Do code reviews fall into this category? Should we consider them a doing phase or a teaching phase?..

azov··on U.S. No Fly list publicly shared on a hacking forum, government investigating
I honestly don’t understand the use case. Let’s imagine the list is public and the process is transparent. Who would you put on it and for what purpose?

Who are those people dangerous enough to never be allowed on a plane (despite being searched, xrayed, water bottles and corkscrews taken away from them), yet not dangerous enough to roam free everywhere else?

azov··on Avoid exception throwing in performance-sensitive code

  "On their face, the benefits of using exceptions outweigh the costs, especially 
  in new projects. However, for existing code, the introduction of exceptions has 
  implications on all dependent code. If exceptions can be propagated beyond a
  new project, it also becomes problematic to integrate the new project into
  existing exception-free code. Because most existing C++ code at Google is not 
  prepared to deal with exceptions, it is comparatively difficult to adopt new 
  code that generates exceptions." (https://google.github.io/styleguide/cppguide.html#Exceptions)
So, basically, Google forbids exceptions for historical reasons, not because of performance.

But, sadly, countless companies parroted this section of Google's style guide for all the wrong reasons (mostly just cargo culting Google) leading to unfortunate fragmentation of error handling in the C++ library ecosystem.

azov··on The Cost of Exception Handling
Indeed. It doesn't make sense to compare code designed to handle errors with code that simply ignores them - yet I see it all the time when people talk about C++ exception handling.
azov··on How Iran can track and control protesters’ phones: hacked documents
There is/was FireChat [1], which does exactly that. AFAIK it gained popularity during Hong Kong protests. Looks like it's now discontinued, not sure if there's a successor app.

[1] https://en.wikipedia.org/wiki/FireChat

azov··on DRY is an over-rated programming principle?
This is like saying "database normal forms are overrated - they make my SQL more complex and harder to read!"

Well, yes, they do. They also make your database slower. This doesn't mean they are overrated - this means they are tradeoffs. Like everything engineering.

With DB normal forms you buy integrity (i.e. keeping the data consistent as it changes) and you pay with performance and schema complexity. Usually this is a sensible tradeoff because integrity is more important. But, for example, if your data never changes - you will be paying for nothing. Or, perhaps, you can't afford the performance price and you have some other way to ensure integrity. Then you de-normalize.

DRY is similar. As mentioned in the sibling thread, it's not about mechanically avoiding repeated code - just like normal forms are not about never having the same value in two different rows. It's about maintining logical integrity of your code as it changes. PI=3.14159265359? Probably safe to copy around. An implementation of some use case? Probably not.

I'd say following DRY/STEP principle is a sensible default. If a reviewer asks you why your code is not DRY - you should be able to articulate a reason.

azov··on Driverless robotaxi fleet paralyzed for hours in San Francisco
> The robotaxi can only compete on price because that's its only advantage.

With robotaxi you get a driver that:

  - never gets tired
  - never gets distracted
  - never gets drunk
  - never gets upset
  - never falls asleep 
  - has reaction time in milliseconds
  - ...
Of course it has tons of problems of its own, but it's not like price is the only advantage over human driver.
azov··on Coinbase is reportedly selling geolocation data to ICE
On the other hand it’s hard (and illegal) to create backup copies of cash :)
azov··on What's New in Python 3.11?
This is what you get when you missed a chance to namespace standard library many years ago. Should have been std.toml.
azov··on “Code” 2nd Edition
What's your mental model of a dog?.. What's happening inside when he barks or wags his tail? Why does he like carrots more than cheese? How does his memory work?..

The way you think of dogs is probably not very different from the way many people think of computers.

azov··on A year with the Elgato Stream Deck
They have touch bar on some MacBook models. Or is it about the tactile feel of physical buttons?..
azov··on No code reviews by default
Coming up next: “We don’t use source control. Git just slows us down. Our engineers don't want to spend time writing commit messages when they can be writing features instead. We keep all our code in a shared folder and we trust our team members to not mess it up!”

Well, this can be done. Lots of software was written before code reviews or source control existed. But I’m not longing for that time.

azov··on Facebook Recruiter Correspondence
> bear in mind that “free speech” refers to the government ...

First amendment refers to the government not precluding your speech. "Free speech" is a much broader concept.

azov··on The Uncertain Future of Ham Radio
You can talk to your local repeater on a $30 radio that fits in a pocket (and the license is easy to get and super-cheap, like, $15 or so).
azov··on Google, Apple remove Navalny app from stores as Russian elections begin
There is a law in Russia (going into effect next year) that large IT companies must have local presence, otherwise they will be banned from operating in the country. I believe this is inspired by a similar law in China.
azov··on Tupolev Tu-144: The Soviets' doomed rival to Concorde (2017)
There was no regulation prohibiting overland supersonic flights over USSR (and hearing sonic booms from military jets was pretty common in some areas)
azov··on Gap to close all 81 stores in UK and Ireland
Old Navy and Banana Republic are both owned by Gap.
azov··on Microsoft is bringing Android apps to Windows 11
Typing on real keyboard, for example, is much better than typing on a phone.
azov··on Try This One Weird Trick Russian Hackers Hate
> The worst that could happen is that you accidentally toggle the language settings and all your menu options are in Russian.

Did the author even try his own trick?.. Switching to Russian keyboard the way he describes will not change the UI language or menu options, it only applies to the text you type.

azov··on Am I Doctor Stallman?
This is weird. Is there anyone even remotely familiar with free software for whom the Doctor part in "Doctor Stallman" sounds more credible than the Stallman part?..
azov··on People-tracking wristbands tested to enforce lockdown in Bulgaria
If the punishment for “failing” the test is having to wear this thing - good luck getting people to test. You would also need to legislate mandatory testing.
azov··on Sweden’s central bank says it has begun testing an e-krona
The term you’re looking for is “Merkle tree”. Git and Bitcoin are both Merkle trees.
azov··on Backcountry.com sues anyone who uses its namesake
"For life" is such a misleading statement I'm surprised companies get away with using it without running into legal trouble. It most definitely does not mean that your jacket is guaranteed to last as long as you're alive. They are not talking about your life, they are talking about "useful life of a product", which can mean pretty much anything.
← PreviousPage 2 of 8Next →