HNHacker News
TopNewBestAskShowJobs

nieksand

1,113 karma · joined July 12, 2012

https://reprep.io
submissionscomments
nieksand··on Ask HN: Pros and cons of working at a startup in 2018?
Three quick thoughts:

* The base compensation and benefits alone, even if RSUs became worthless, are still serious money.

* I would expect startups founded and running in today's boom market to fair worse than established firms. Short runways, limited revenue, and a sudden contraction in funding availability is not a great mix.

* If the lucrative comp packages of the big companies collapses, the world of startups will still be there for you. You'll have the added advantage of a very healthy bank balance going in.

nieksand··on Ask HN: Pros and cons of working at a startup in 2018?
Just a few cons....

The big players have drastically pushed up developer comp. The "maybe" money that might come from a best-case startup exit isn't holding up well against the RSUs of the big players. I have friends pushing total comp north of 400K / year at the usual suspect companies. Over a five-year-span-till-liquidity your "maybe" money is competing against a near-guaranteed $2M in comp.

Equity grants for early hires haven't kept up well with both the afore mentioned industry comp pressure and the drastically increased time till liquidity. An early hire employee will be in the soup nearly as long as the founders but with significantly less upside.

That said, working at a startup can be great fun. It's also a fine opportunity to learn on somebody else's dime.

nieksand··on YouTube’s top creators are burning out
I'm getting that too with Linux+Firefox. Quite the ransom letter vibe.

Though strangely, if I zoom to a smaller or larger size, it looks fine.

nieksand··on Protesters toss scooters into street to block tech buses in SF
The article doesn't mention anybody getting arrested. Is that an omission or are there really no consequences for this kind of behavior?
nieksand··on Ask HN: Would you be interested in a Remote-Team as a service product?
How is this different than hiring a consulting company?
nieksand··on Tidelift raises $15m Series A for a better open source business model
Their pitch towards open source maintainers is definitely promising:

"Open source sustainability is a noble goal—who would stand in the way of these creators and maintainers, who invest so much of their time and effort in our shared digital infrastructure, trying to make ends meet?

But basic survivability? Let’s set the bar higher than that."

It will be interesting to see where it goes.

nieksand··on Show HN: Gojay – Performant JSON encoder/decoder for Golang
When it comes to parsing JSON, they are indeed not doing the same thing. Buger's parser is not unmarshalling into an annotated struct.

But often that struct isn't your end goal in life, such as when your data is being transformed, dispatched on, or being moved into another yet data structure. In that case unmarshalling to an intermediate structure, while convenient, is also extra computational work.

Buger's parser isn't the first thing I'd reach for, but if JSON parsing performance is an issue, ObjectEach() can be used in many places where you'd otherwise invoke json.Unmarshal.

nieksand··on Show HN: Gojay – Performant JSON encoder/decoder for Golang
I've written some high req/sec projects in Rust, but nothing that would be apples-to-apples to that particular Go project.

The memory access patterns are straight-forward enough that the remaining GC could definitely go away. If I had to make a wild, from the hip, and unsubstantiated guess, maybe a 2x to 5x performance multiple. That would include a comparable amount of time spent optimizing and would depend greatly on the quality of the Kafka crates for Rust (which I've never used).

nieksand··on Show HN: Gojay – Performant JSON encoder/decoder for Golang
Essentially a gloried batcher / data transformer consuming from Kafka.

Even with the GC overhead, I will still able to hit my performance goal of 40k msg/sec per AWS c3.4xl.

In a vacuum I would have picked Rust over Go for this. But Go is widely used at my work, whereas I'm the only Rust guy.

nieksand··on Show HN: Gojay – Performant JSON encoder/decoder for Golang
You are right. I totally missed it in the first few tables.

The lack of allocs for JsonParser was definitely a big win for my project. When processing at high rps (40k msg/sec), GC is near the top of all my performance profiles. Driving allocs down with Buger's parser was very helpful for getting the throughput up.

nieksand··on Show HN: Gojay – Performant JSON encoder/decoder for Golang
The fastest Go JSON parser I know of is https://github.com/buger/jsonparser. I've used that one in production quite successfully.

I don't see that in the comparative benchmarks for Gojay.

nieksand··on TCP and BBR [pdf]
I've been interested in BBR since the ACM Queue article and finally turned it on yesterday on my home workstation.

But slide 27 in the slide deck is incredibly troubling, where it shows BBR completely destroying the throughput of a neighboring host using Cubic. (Cubic being the default on modern Linux).

Even if everyone upgrades to BBR, slide 30 shows more trouble in paradise with BBR not getting to a stable bandwidth allocation. I have a hard time reconciling this with the ACM Queue article, since supposedly Google saw great results rolling it out at Youtube.

ACM Queue article: https://queue.acm.org/detail.cfm?id=3022184

nieksand··on Startup School Beijing
I'm unclear what you're saying regarding Ms. Manning.

Though if you want to update my two examples to use a protest poster for/against her, I don't think the point changes.

Unless you mean that she faced legal consequences for her actions?

nieksand··on Startup School Beijing
It seems very fashionable to pull out moral equivalency every time China's autocracy and misbehavior is mentioned.

Simple experiment:

1. Walk down Pennsylvania Avenue with a sign that says "Trump is a pussy grabber who should be impeached". 2. Go to Tiananmen Square and hold up a poster-sized picture from the 1989 massacre.

See how equivalent the governments are then.

(As an aside... if I was employed by the Chinese government to spread propaganda in other countries, your comment is roughly what I'd write).

nieksand··on Apple’s 2019 Mac Pro will be shaped by workflows
"it’s not that bad"

That is not the most ringing endorsement for a very expensive and supposedly premium laptop.

nieksand··on More than 200,000 children married in US over the last 15 years
Looks like the article hyped things up.

They pick an arbitrary large interval of fifteen years. And does seventeen really qualify as a child while eighteen is somehow bonafide? Seems silly.

The real number is: "More than 1,000 children aged 14 or under were granted marriage licences."

So the real problem is much closer to ~65/yr than ~13000/yr. That's still very messed up and should be fixed. But it's not what the headline is trying to sell you.

nieksand··on Introducing S2n, a New Open Source TLS Implementation
This is from 2015.
nieksand··on Why I Quit Google to Work for Myself
Under this system, how do you keep a semblance of uniformity in promotion standards in a large organization?

Sounds like this would lead to "easy" teams for getting promoted in while others with higher standards lag. End result would be grade inflation where titles becomes even less meaningful.

nieksand··on Google doesn’t necessarily need innovation
Adsense, Analytics, Docs/Sheets/Slides, and Google Earth belong in the acquisitions bucket.
nieksand··on Amazon Go and the Future
Indeed.

The article didn't touch on how this approach reduces friction for buyers, which is hugely important. For the short-to-mid term, I suspect that frictionless shopping is a bigger deal than change in cost structure that comes from booting cashiers.

nieksand··on We Can Have Nice Things
Seriously?

"Because the US government issues its own currency, it can’t “run out of money” or go bankrupt. That means “We the People” can — and should — spend what we need to spend on what we want and need without worrying about “how to pay for it.”"

Garbage. See hyperinflation in Zimbabwe or Venezuela for trivial counter examples.

nieksand··on Rust vs. C++/Qt complete ecosystem?
I love Rust and use it for my personal projects.

But for the next few years, C++ seems like a clear winner for maximizing career opportunities. The ecosystem is already mature and you'll find plenty of existing job listings in Germany.

nieksand··on Ask HN: Best non-cloud cross-platform CLI secret manager?
For my personal use I wrote a small credentials manager in Python. I use it daily for my non-critical secrets and am quite content with it:

https://github.com/nieksand/pman

You'll need Python 3.6 or later. (It uses f-strings and some type annotations).

nieksand··on It’s Not Too Soon to Debate Gun Control
The pro gun control position is fascinating. Even ignoring the constitutional issues...

How do you deal with the fact the horse left the barn a long time ago?

Squinting at online sources, there's around 270M firearms in the USA today, is the plan to kick down doors and gather all those? Proof of concepts for 3D printed weapons already exist, should printers be controlled too? Machine shops? Does the southern border need to be locked down to prevent the emergence of future smuggling routes? Also, given that so many leftists believe Trump is a Hitler redux, is disarming the public really wise?

nieksand··on Waymo Will Test Self-Driving Cars in Snowy Detroit
In the case of a real car, you aren't just reacting to the environment. The actors in the environment (cars, pedestrians, traffic light sensors) are reacting to you as well.
nieksand··on Efficient pagination of a SQL table with 100M records
Mysql would fall back to a disk based sort once the data set is too large.

Perhaps it's his client that is OOM-ing? Back in the day, I remember the PHP mysql client loading the entire result set into a local buffer unless you explicitly asked for the output to be streamed.

Edit: Found reference to PHP behavior I mentioned: http://php.net/manual/en/mysqlinfo.concepts.buffering.php

nieksand··on Ask HN: What are some good resources for programmers to learn finance?
This is what I used: https://www.amazon.com/dp/0465078982/

If you poke around you'll find plenty of books with similar titles and target audiences.

nieksand··on Times I've Messed Up as a Developer
I have a hard time seeing how this was your fault. It seems like a poorly designed system is the root cause, not you.
nieksand··on Fully driverless cars could be months away
Depends on how half-baked.

From a PR perspective it's a definite "no". Even a single self-driving fatality would lead to global news headlines and a lawyer feeding frenzy.

But from a protecting people perspective? If making it "live" quicker would speed development and adoption... then maybe.

E.g. the first 5 year increase fatalities net by 1.1x. After that tech is actually dialed in and fatalities drop to 0.5x. Holding off gives you 400K fatalities whereas pushing earlier adoption gives you 320K. That would be 80K lives saved. (Under the assumptions of this shoot-from-the-hip model).

nieksand··on Fully driverless cars could be months away
On the flip side, the status quo is killing 40000 people per year in the US alone:

http://www.nsc.org/NewsDocuments/2017/12-month-estimates.pdf

← PreviousPage 4 of 6Next →