HNHacker News
TopNewBestAskShowJobs

nevir

2,815 karma · joined August 26, 2011

submissionscomments
nevir··on Claude Code is all you need
I see this too, also for engineers that have only interacted with relational dbs via ORMs & query builders
nevir··on U.S. bombs Iranian nuclear sites
If the regime survives, it is also going to target (and murder) a whole hell of a lot of innocent civilians that it suspects aided Israel (and many/most will almost certainly be innocent). Due process is not a thing with IRGC.
nevir··on Google’s OAuth login doesn’t protect against purchasing a failed startup domain
By looking the account up with Google's People API - https://developers.google.com/people

They would have to verify the account is active, AND the id hasn't changed

nevir··on Voice acting in Space Quest V
Oh my god, I need to play SQ6 again
nevir··on gRPC: The Bad Parts
> because really it comes down to the frequency of data parsing into and out of the protobuf format.

Protobuf is intentionally designed to NOT require any parsing at all. Data is serialized over the wire (or stored on disk) in the same format/byte order that it is stored in memory

(Yes, that also means that it's not validated at runtime)

Or are you referencing the code we all invariably write before/after protobuf to translate into a more useful format?

nevir··on Show HN: From dotenv to dotenvx – better config management
Many hosting environments give you this.

For example AWS gives you multiple ways of injecting secrets as env vars into your containers when they boot up (ECS + secrets manager, EKS, etc)

nevir··on Silicon Valley's best kept secret: Founder liquidity
Having been in this exact position multiple times now (once quite successful, others not), you should probably consider it a wash.

Unless the company hits unicorn AND your shares become liquid (secondaries don't count—you generally won't be able to sell enough shares to make a meaningful dent), you'd make just as much or more at a FAANG firm with way less risk.

Of course, I say this while not at a FAANG firm, because I prefer startup type work.

nevir··on Microsoft's official Minesweeper app has ads, pay-to-win, and is hundreds of MBs
outsource all the things?
nevir··on Carpenter's AirTags help uncover 'massive' case of stolen tools in Maryland
Yeah, our police force has definitely been struggling - but funding isn't the problem.
nevir··on Carpenter's AirTags help uncover 'massive' case of stolen tools in Maryland
As a Seattle resident: wat? No we didn't.
nevir··on After 6 years, I'm over GraphQL
One problem is performance.

(Most) GraphQL clients are optimized for relatively small/simple objects being returned, and you typically pay a cost for every single edge (not node) returned in a response / cached in memory.

It can quickly get to the point where your project is spending more time per frame processing GraphQL responses & looking data up from the cache than you spend rendering your UI

nevir··on Google Meet rolls out multi-device adaptive audio merging
Meet, to me, is the perfect balance of functionality and simplicity (as an end user). And features like this only make that more apparent.

Zoom and Teams always frustrate me, even though they're what I use far more often.

It's too bad that video conferencing is largely a game of who has the most boxes checked - IT admins and A/V folk are the ones that need to be convinced, and Meet just doesn't ...meet... their needs

nevir··on Days since it was DNS
I hope it's also reported as a DNS record
nevir··on Microsoft PlayReady – Complete Client Identity Compromise
Publishers demand it, but don't understand it.

The platforms roll their eyes, but implement it anyway; cause it's a rounding error, and keeps publishers happy

nevir··on A Single Div
Each "picture" in the list is rendered via css rules defined for a single div.

Lots of box shadow shenanigans, usually

nevir··on Teranoptia – a typeface that allows you to imagine chimeric creatures
Could ligatures be used to make the heads/tails automatic? (e.g. first letter of any word is rendered as a head, last letter always a tail)
nevir··on Flightradar24's new GPS jamming map
Iran maybe?
nevir··on Compression efficiency with shared dictionaries in Chrome
What are the chances that the ~60 bytes are going to push the request over the frame size and end up splitting into another packet?
nevir··on A beginner's guide to making beautiful slides for talks
Readability is a billion times more important than visual design for presentations…

…and I'd argue that a lot (but not all) of the examples here harm readability: drawing your attention away from content, etc

Visual design is certainly important to make a memorable presentation—but you really need to start from the foundations, and then layer visual design on top.

nevir··on Bard is now Gemini, and we’re rolling out a mobile app and Gemini Advanced
It won't take long for the interest in it to bump it to the top.
nevir··on UUID v7
Here are some reasons for using UUIDs; not apply to all businesses:

- client-side generation (e.g. can reduce complexity when doing complex creation of data on the client side, and then some time later actually inserting it into to your db)

- sequential ids leak competitive information: https://en.wikipedia.org/wiki/German_tank_problem

- Global identification (being able to look up an unknown thing by just an id - very useful in log searching / admin dashboards / customer support tools)

nevir··on In Praise of Buttons
Consider this approach:

<form> <button formaction="https://your/destination">Clicky!</button> </form>

nevir··on US developers can offer non-app store purchasing, Apple still collect commission
Oh, lol, I totally forgot about those technical limitations! We couldn't even have done it if we wanted to.

Also hi :) long time!

nevir··on US developers can offer non-app store purchasing, Apple still collect commission
The US courts thought so, too.

https://www.google.com/amp/s/amp.theguardian.com/technology/...

nevir··on US developers can offer non-app store purchasing, Apple still collect commission
Here's a little story / timeline from 2009-2010 (from my perspective as a dev on Kindle for iOS):

* we submit the Kindle app ...including an in-app bookstore... to Apple for initial app review

(Note: multiple ebook readers with in-app bookstores are already on the app store at this point)

* several weeks pass with no response

* Apple announces in-app purchasing (to be released several months later)

* Apple rejects our app: we have to give them a 30% cut of all sales through the app, or remove the store and all references / external links to it. We chose option 2.

* Apple forces the other ereader apps to remove their stores or go with IAP. Several (most?) just gave up and pulled their apps entirely

* Apple negotiates agreements with most of the major book publishers that if they want to sell books on iBooks, ebooks must be listed at the same price on ALL stores, and have a 30% margin

* Apple launches in-app purchasing and the iBooks store (with the iPad announcement, IIRC)

...aka even if we (or any other ereader app) wanted to sell books via our app, the terms Apple set forth effectively meant that ALL profit from those sales must go to them (and we would have to eat the bandwidth / service costs on top of that)

nevir··on Your last name contains invalid characters (2010)
Also consider that in some cultures, people have no last name, or multiple last names.

Have one input: "What should we call you?"

and, if you really need it: "your full name"

nevir··on Ideal monitor rotation for programmers (2021)
5k x 2k has been worth every penny
nevir··on A Brainfuck interpreter written in PostScript
The description is glorious:

---

A Brainfuck interpreter written in PostScript

This program aims at being accurate, readable and minimal.

nevir··on Rob Pike’s Rules of Programming (1989)
FWIW, that's typically the structure that Amazon is looking for in an interview (though, some interviewers are better/worse than others)

- start with the super inefficient solution, solve it pretty quickly

- point out performance problems or edge cases that would need to be solved for a larger scale solution

- go implement those optimizations

nevir··on Web components will outlive JavaScript frameworks
These days, batching DOM updates doesn't give you as big of a win as it did in the past (browser tech has improved, browser engines do more batching under the covers, etc).

Also web components tend to use more modern layers of the web stack (style isolation, shadow DOM, etc) - which allow the browser to perform more optimizations, as well. I think we'll find that they become more performant over time. Also consider that some "native" html components are effectively implemented the same way as web components these days.

Often you'll find that React/etc are perf hits (vs finely tuned components) because their declarative nature tends to lead to unnecessary work …which is totally fine 99% of the time, because the productivity win from that is HUGE.

← PreviousPage 2 of 16Next →