HNHacker News
TopNewBestAskShowJobs

andreyvit

902 karma · joined February 24, 2008

I build magical tools for people who pursue their dreams.

Maker of LiveReload, CTO of Bubblehouse, focused on startups and startups-within-enterprises my whole life.

Email: andrey@tarantsov.com

meet.hn/city/ge-Tbilisi

Socials: - t.me/andreyvit - github.com/andreyvit - instagram.com/andreyvit

Interests: Entrepreneurship, Mentorship, Mobile Development, Open Source, Remote Work, Startups, Web Development, Writing, Marketing, AI/ML

---

submissionscomments
andreyvit··on NilAway: Practical nil panic detection for Go
This is a popular view, but, again, does not match my experience. I have only lead small teams (say 3 to 10 people) of either senior or very intelligent and motivated middles, but for those, limitations of Go are not a problem in any shape or form. Comparatively, we had significantly more mess (and debates) in Swift.
andreyvit··on NilAway: Practical nil panic detection for Go
I write a lot of Go and used to write a lot of Swift. Swift is what you’ll consider a modern language (optionals, generics, strong focus on value types), while Go is Go.

I appreciate both languages, and of course Swift feels like what you’d pick any day.

But, after using both nearly side by side and comparing the experience directly, I’ve got to say, I’m so much more productive in Go, there’s SO much less mental burden when writing the code, — and it does not result in more bugs or other sorts of problems.

Thing is, I, of course, am always thinking about types, nullability and the like. The mental type model is pretty rich. But the more intricacies of it that I have to explain to the compiler, the more drag I feel on getting things shipped.

And because Go is so simple, idiomatic, and basically things are generally as I expect them to be, maintenance is not an issue either. Yes, occasionally you are left wondering if a particular field can or cannot be nil / invalid-zero-value, but those cases are few enough to not become a problem.

andreyvit··on NilAway: Practical nil panic detection for Go
Default gender male not how this works in practice. Instead, you define an extra “invalid” value for almost every scalar type, so invalid would be 0, male 1 and female 2. Effectively this makes (almost) every scalar type nullable. It is surprisingly useful, though, and I definitely appreciate this tradeoff most of the time.

(Sometimes your domain type really does have a suitable natural default value, and you just make that the zero value.)

andreyvit··on How Zoom’s terms of service and practices apply to AI features
Not to mention other super-important features like background blurring. It has very recently become available with in-browser solutions, but still not exactly on par, and with less options (e.g. no green screen support). That alone justifies using Zoom.
andreyvit··on Show HN: GPT Repo Loader – load entire code repos into GPT prompts
Hey, I got inspired by this and built https://github.com/andreyvit/aidev, it sends a slice of repo to OpenAI with a prompt, and saves the results back into files. It's in Go, and has built large chunks of itself. (As one of my friends said, that gives “self-documenting code” a totally new meaning.)
andreyvit··on ChatGPT passes the 2022 AP Computer Science A free response section
Sorry, but that's highly unlikely. A better response is to reflect on the origin and the amount of un-obvious-ness of those storylines.
andreyvit··on AirDrop is now limited to 10 minutes
Sure, in any particular case, users could handle multiple options. But if you add multiple options in every similar ambiguous case, your phone suddenly becomes an Android or worse. And those who want that can already use Android; as someone who prefers the minimalistic design of Apple, I sure don't want options to multiply and spread in the UI, even if it occasionally means working around some limitation.
andreyvit··on A Digital Rumor Should Never Lead to a Police Raid
It's a textbook case of base rate fallacy. [1]

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

andreyvit··on Reasons not to use (i.e., be used by) Facebook
FWIW, as a single data point, I've never heard of Ray Kroc and didn't know that McDonalds was a name (although I would guess so if asked).
andreyvit··on A Message to Our Customers
Secure Enclave is _not_ hardware; despite being isolated from the main OS and CPU, it is still software-based and accepts software updates signed by Apple.
andreyvit··on A Message to Our Customers
It is, of course, possible; any iPhone can be forced to enter the restore mode or the DFU mode (don't remember which one) and be erased/reflashed via iTunes.

It won't get unlocked by that, because as soon as the new iOS takes over, it will detect the activation lock and require the Apple ID password to be provided. Also, going through iTunes erases all the data.

But presumably a custom DFU update can only replace the OS without replacing the data. The iPhone doesn't try to protect against valid updates, and will happily run anything signed by Apple; the locked/unlocked state is only about the encrypted user data on the device.

andreyvit··on A Message to Our Customers
Their security PDF says that the system has a chain of trust established, anchored at an immutable loader residing inside the chip, and each step verifies the digital signature of the next step against the hardcoded Apple CA certificate.
andreyvit··on A Message to Our Customers
Secure Enclave is not really ‘hardware’; despite being isolated from the main OS and CPU, it is still software-based and accepts software updates signed by Apple.
andreyvit··on A Message to Our Customers
It's not really built into ‘hardware’, it's enforced by the Secure Enclave, which is software-based and accepts software updates signed by Apple. It's secure against kernel exploits and third-parties, but not against Apple.
andreyvit··on A Message to Our Customers
They state that they can push an update that makes brute-forcing possible by disabling software-enforced delays between attempts.

Apple's security PDF says that the iteration count is calibrated so that one attempt takes 80ms in hardware, so that's the hard limit on the brute forcing speed, regardless of any updates Apple releases.

This means that a long alphanumeric passphrase is secure, but a 6-digit passcode could be broken in half a day, and a 4-digit passcode would take just a dozen minutes.

andreyvit··on A Message to Our Customers
My reading of that PDF is that Secure Enclave software can be updated too, it simply does an independent verification of the Apple's digital signature.

So while the Secure Enclave enforces the delay between brute force attempts, Apple could still release an update that removes that delay.

andreyvit··on Apple fans are coming to hate Apple software
Depends on your definition of a hassle. I am a happy user of Apple software, I love iTunes. I do experience occasional issues — AirDrop not finding peers, iOS asking for a password when it's not supposed to, iMessage failing to sync SMS read states between the Mac and the phone. If you're okay with occasional problems like that, go ahead and try it.
andreyvit··on Things every React.js beginner should know
I explicitly do _not_ state that it applies to React, because there's no domain logic in React components. (Or at least there shouldn't be. It is certainly possible to write a spaghetti component that would do everything.)
andreyvit··on Things every React.js beginner should know
Actually, the issue with spaghetti PHP is not (only) string concatenation; it's mostly that view logic, domain/business logic and database boilerplate code are intermixed in a single file.

React components only ever contain view logic, which already solves a part of the problem. Furthermore, you typically split that logic into multiple components, many of which are stateless, independent and small.

andreyvit··on Why Software Outsourcing Doesn't Work Anymore
Easy: in a market economy, your salary depends solely on how much a developer like you can be had for, not on anything else.

So if you're a unique, highly sought-after expert, the country doesn't make much of a difference directly, because people like you a generally hard to find.

But for a pre-senior level, there's a lot of people available, so the amount the client is willing to pay is determined by how much other people like you (from a place like yours) are willing to work for, which obviously depends on the country.

And then there's the selection bias. If the reason you got found is because the client has been looking for developers in your country, chances are that the client is looking to save money and isn't willing to pay much. Those clients who are willing to pay more generally look in different places.

And finally, a US-based client working with a US-based contractor is protected by US laws, unlike when working with a contractor from a developing country with a less reliable judicial system.

andreyvit··on Writ – Opinionated, classless styles for semantic HTML
I think that, no, the point was to style elements A that happen to have B inside, while :matches will apply to elements B that are wrapped in A.
andreyvit··on Telegram team left Russia and looking for a country to work from
Citation from a Facebook post by Pavel Durov (founder of vk.com and Telegram), for those who don't want to open Facebook:

---

As you probably know, I am out of Russia. Me and my team of 12 engineers have a temporary HQ in Central Europe, and we are now looking for a permanent base to work from. We are choosing a new home, a country that will allow us to develop our projects with privacy and freedom of speech in mind.

Our team includes 6 ACM champions and 6 winners of other programming contests. These guys made it possible for Telegram Messenger to gather 40 million registered users worldwide just within 8 months after its launch. Several members of this team, including my brother, were crucial in making VKontakte what it is today — the only social network that defeated Facebook in an open local market. We are now going to build our next project, a mobile social network.

What country or city do you think would suit us best? Please feel free to comment below. To give you an idea of our preferences, we dislike bureaucracy, police states, big governments, wars, socialism and excessive regulation. We like freedoms, strong judicial systems, small governments, free markets, neutrality and civil rights.

P.S. If you happen to represent a government that meets our criteria, you are welcome to share ideas with me at durov2016@gmail.com.

andreyvit··on Burnout Comes in Three Varieties
Sounds very much like myself (except that I'm a freelancer, so can procrastinate much easier). I'm still trying to solve it, but I found that some things help:

1. A cardio workout. (Came highly recommended by a dear client of mine, and indeed significantly increases the amount of energy I feel during the day. Does not solve procrastination by itself, but helps with that sleepiness.)

2. Pair programming. (This is a true deal breaker. Maybe we're just not created for solo work, and that's it?)

3. Eating less, and less carbs in particular. (I've been diagnosed with insulin insensibility, and it really shows; I usually get very sleepy after eating.)

4. Doing work you can be proud of, way before the deadline. Not always possible, but when it is, it can keep me going for a bit. Relax, take those extra few hours to make the code clean, polished and well-documented.

In my case (and perhaps in yours as well), it's not really about work being boring or not. I had a very exciting side-project of mine, which is now selling on the Mac App Store for great profit, but I started to procrastinate on it after a few months as well.

Feel free to email me to talk some more.

andreyvit··on JXCore LLVM JavaScript Frontend
Found this via [1], would love to hear some opinions from knowledgable people here.

[1] http://www.echojs.com/news/8496

andreyvit··on You’re infected—if you want to see your data again, pay us $300 in Bitcoins
Well actually, looks like we're getting there.

The problem is seemingly solved by OS X app sandbox and Mac App Store review process (the sandbox alone is not enough, because it allows to declare 'exceptions' like full disk access, so human reviewers are needed to watch out for those).

The sandbox may occasionally be causing some pain (in fact, would be very painful if I had to support OS X 10.7), but at the same time my app can no longer access any user data that the user hasn't explicitly whitelisted, which is a good thing.

Windows Metro apps also live in a sandbox, but they are sort of a different platform (no access to the file system at all, as far as I know). Over time, I can see them gaining some access to a subset of the file system, perhaps via SkyDrive.

andreyvit··on Wakeup.io Wakes You With a Free Wake Up Call, Anywhere in the World
Yeah. Although I happen to be in Russia, and WakerUpper only works with US and Canada.
andreyvit··on Does Pinterest own the word “pin”?
I think the point here is that all of those companies still work, and hardly take any effort to find, so Pinterest does not care anyway.
andreyvit··on SSH2 client written in pure JavaScript for node.js
Re .ssh/config, this only makes sense for cli tools.

If you're on a Mac and writing a desktop sandboxed GUI app, reading .ssh/config isn't even an option. Same for W8 Metro apps (if those can even contain a Node.js runtime; not sure about that).

And if you're using an ssh lib on a web site to access user-provided data using user-provided credentials, you most certainly don't need .ssh/config.

andreyvit··on How we designed our logo for $30
Just wanted to say that $100 gets you pretty high-end medical diagnosis here in Russia. Unlike in US, doctors and lawers are not highly-paid professionals in here (unlike, say, IT guys).
andreyvit··on Ask HN: An online 'doers' community for bootstrapping developers?
Looks like more of a how-to-start-a-business coaching. I think that's different; I'm looking for a day-to-day ‘companionship’ rather than coaching.
← PreviousPage 2 of 4Next →