HNHacker News
TopNewBestAskShowJobs

shanemhansen

2,558 karma · joined December 10, 2011

submissionscomments
shanemhansen··on When your coworker does great work, tell their manager
> When you get let go, they ask in the exit interview if you were warned, if your manager gave you any feedback leading up to it, etc. And then they follow up if the person says, "it was a total shock". I've definitely seen managers make some bad firing decisions, but they were let go soon afterwards.

I guess "the firings will continue until morale improves?"

shanemhansen··on Hacking with environment variables
I did something like this once. My University had an full screen kiosk browser that was locked down. Well it turns out that you could "customize" Firefox, add in a missing button, get to the print screen and change the executable from "lpr" to $TERM which would immediately pop a shell.

Good times.

shanemhansen··on [dead]
Apologies for the "editorializing". I believe the title is more descriptive than the original linkbaitish: "fork without leftist propaganda".
shanemhansen··on Scaling Linux Services: Before accepting connections
I think for ALB you'll see pooled connections (http or http2) so I would expect the number of TCP connections to stay pretty low. In http2 it could theoretically be as low as one.
shanemhansen··on Life is 90% of my use cases for org-mode
On mobile it's really easy for me to read. Don't is at a natural size and lines wrap appropriately.

[edit]

Oh I see it looks bad in Firefox on mobile. Fair enough.

shanemhansen··on NYC passes POST Act, requiring police department to reveal surveillance tech
From this article it appears they can use private funding to purchase things without oversight.

https://www.theguardian.com/us-news/2020/jun/18/police-found...

shanemhansen··on The Next Step for Generics
Is there anything about this proposal that would have been surprising to someone 5 years ago? Anything to show for waiting most of the decade other than a decade lost?
shanemhansen··on How we use HashiCorp Nomad
Imo kubernetes isn't about "scale". Folks like cloudflare often run a very limited number of services (proxy plus control plane), which can make features like quotas/affinities/limits less useful because 100% of the machine installed in the pop is dedicated to one process.

I see kubernetes as more useful when organizationally you have more heterogeneous services and separate dev/sre groups. This allows them to divide up responsibilities more easily.

shanemhansen··on Remote work means anyone can take your job
This topic comes up so much and there's such a variety of misconceptions. Everyone thinks they are an expert despite mixing up basic terms. (remote/outsource/offshore)

For the last 12 years or so I've worked extensively in all arrangements and here's what you need to know.

Outsource: Generally this conflates 2 actions. One is paying for a cheaper labor market. The second is paying for less skilled people. Most of the projected cost savings come from the latter. Most of those projected cost savings don't appear. I remember folks hiring $10/hr DBAs in India and the result was about what you'd expect. India is full of great DBAs and they ain't charging $10/hr or at least they haven't for a long time. It is the case that you can access a cheaper labor pool. Most people do this and then negate that savings by not creating a remote-first culture and introducing massive language and time zone barriers and friction due to multiple companies interacting.

Offshoring: The key difference here is that these are part of your company. In the US it's totally possible to set up an office in central/south america in-timezone and staff it with amazing people and save some money. Well, except for most of those folks who are willing to relocate will eventually accept offers with FANG companies either locally or relocate. So it's a nice scheme while it works. (Hi to all my tico friends now at Google and Amazon)

Remote: this is what most people confuse for the above two things. Remote is about doing 2 things.

1) Expanding your hiring pool beyond a 30 minute commute from your office (turns out that the other 99.99% of the world's population also has some great folks).

2) Making your company culture remote-first. But that's synonymous with writing things down and documenting things.

Sure interpersonal relationships can be trickier to bootstrap and that's a real cost. But see #1, nobody talks about that cost.

The final thing to keep in mind is that for most big companies, there's no way to avoid the remote cost. As soon as you open up an office in another location you're a remote company. Hell, as many people can attest as soon as you ask people to attend meetings on another floor or an adjacent building you find out you're a remote company.

shanemhansen··on HBO Max taking on Netflix with human curation instead of relying on algorithms
There's a joke I saw somewhere. When you can Netflix someone picks up the phone and says "your show is greenlit, who am I talking to?"

Their overall quality feels like it's gone down and their non-netflix content feels incomplete (many movie series are only partially available). In that way Netflix has replaced basic cable for me.

Whereas HBO and Amazon Prime still produce shows that have a certain wow factor in terms of quality.

shanemhansen··on Why is AI so useless for business?
Maybe in a few years we'll have bridged the gap between computer and machine capabilities. Not by deciding computers think, but by realizing that what humans do is computing.
shanemhansen··on Org Mode – Organize Your Life in Plain Text
I love org mode and use it every day. It's killer misfeature for me is I can't collaborate on wikis or Google docs with org mode.

I've seen a great org mode webapp here, but Google drive permissions means you are forced to grant the webapp read/write to everything (not just a folder or mimetype).

In spite of that I still use it because I've never seen anything like it in terms of functionality.

shanemhansen··on MacOS Catalina: Slow by Design?
Surprisingly, wiggling the mouse actually speeds up some windows operations.

https://retrocomputing.stackexchange.com/questions/11533/why...

shanemhansen··on Windows package manager does not permit opting out of telemetry
My .02 cents. To me the arguments I read here around "but product improvement is hard so that justifies collecting the data" ring hollow. When your convenience at work is balanced against someones right to privacy, there's no middle ground. Privacy wins. You need active informed consent to phone home for reasons not related to the proper functioning of the application.

I wish most applications offered 3 boxes:

1) Don't send telemetry

2) Send data needed to catch bad rollouts (think SRE style status code and latency metrics).

3) Send anonymized data to help improve the product.

4) I want to be a beta tester/insider, you can capture my logs.

shanemhansen··on Welcome to C# 9.0
I was referring to the ecosystem (libraries that are commonly used that might only work on windows). I've had trouble for instance finding cross-platform GUI toolkits that support linux. Microsoft's newly released toolkit doesn't.
shanemhansen··on Welcome to C# 9.0
.NET ecosystem is large, but still windows-centric. If I was choosing between java and C# for a startup, I'd definitely consider C# because it does seem to be a better java (properties and LINQ are the first 2 things that come to mind).

But realistically if you're not doing .NET on windows, you're still an early adopter who's going to run into weird issues that you won't have to deal with on java.

shanemhansen··on State of Emacs Lisp on Guile
FWIW I think you could say FFI is possible. I've written a Golang module for emacs and build using -buildmode=c-shared and loaded it into emacs. I think for generic FFI you could probably wrap some sort of libffi.so using elisp.
shanemhansen··on Walmart says it will discontinue Jet
Walmart's a big place, so I don't mean to contradict my sibling comment.

Across the Walmart.com websites I didn't see anything from jet tech. The only thing I heard talk of was essentially reporting to push Marc's basket economics passion.

I believe Jet's acquisition was essentially a way to buy Marc Lore as eCommerce CEO.

I've met with many Jet folks and they are an awesome crew to work with, but Jet didn't really operate at Walmart scale.

shanemhansen··on The CPU Cost of Networking on a Linux Host
You're wrong and right, because "container" is ill-defined. If you run your container in the host network namespace, then there's zero overhead. It's more common to have your container's "nic" be one end of a veth pair. That's not free.

Finally many platforms like docker, in the past, will spin up userspace proxies (docker-proxy) which is even more expensive.

shanemhansen··on Do not Draw a Penis
Ha, I drew the first thing that came to mind: a shovel. I shortly realized that it probably looked like a penis, surprisingly the voice realized it was a shovel. Well done!
shanemhansen··on Subinterpreters for Python
I don't see the benefit of a subinterpreter compared to a subprocess. I wish python didn't have a GIL, but I don't see what problems this would solve for me that multiprocessing doesn't.
shanemhansen··on Elon Musk reopening Tesla factory despite Alameda County order
Sorry to call you out, but your link contradicts your statement.

> If Tesla has provided you with a face covering, you are required to wear it unless otherwise told by your local leadership. If Tesla has not provided you with one, you may bring or make your own following the Center for Disease Controls guidance.

shanemhansen··on AWS services to avoid
> If a sysadmin uses an RDBMS with relaxed fsync, they know what they are getting

Removing fsync is generally referred to as "running with scissors" mode, although postgres now supports it better with unlogged tables.

shanemhansen··on Dissecting an SSL Certificate (2017)
In all likelihood, what matters is of you're going to overflow a packet boundary when the server presents certs.
shanemhansen··on Backblaze B2 Cloud Storage Now Has S3 Compatible APIs
I'm curious what their load balancing layer looks like. There's alot of interesting options. (Disclaimer: I've worked in the CDN and the storage space in the past)

If their load balancer is smart enough it can call the dispatcher, and make use of something like https://zaiste.net/nginx_x_accel_header/ to figure out where to forward the request. Unfortunately this still requires uploads be proxied through the dispatcher.

You could get crazy and involve a CDN (akamai or cloudflare or fastly) that could do some smart logic, especially if you can emit your dispatcher as a lookup table that's updated frequently. I don't know what bandwidth costs would be for that though. Probably high.

It's an interesting problem space and I'd love to talk to these folks about it.

shanemhansen··on Zoom taps Oracle for cloud deal, passing over Amazon, Microsoft
No. I don't think so. They really don't like AWS. It's all openstack/azure/gcp/vmware depending on the use case.
shanemhansen··on Netflix now supports TLS 1.3
Just guessing: it could be related to the fact that they have been reported to use an unusual setup (kernel TLS on BSD). https://2019.eurobsdcon.org/slides/Kernel%20TLS%20and%20TLS%...
shanemhansen··on TclSqueak – IDE for Tcl
This looks like a delightful environment. I'm going to put it on my list of things to try out.
shanemhansen··on Zoom sued for overstating, not disclosing privacy, security flaws
I would say that anyone who ever tries to encrypt some data and does the bare minimum google/stackoverflow search for how to do it would see extremely vigorous warnings not to touch ECB with a 10 foot pole.

Unfortunately, crypto libraries have a history of having a terrible UI and defaulting to ECB. Years ago I ran into this with pycrypto. I worked on a team that joked about how important it was not to do ECB and it turns out they had done ECB. https://www.dlitz.net/software/pycrypto/api/current/Crypto.C...

shanemhansen··on Zoom sued for overstating, not disclosing privacy, security flaws
Oh wow. ECB mode? That's horrifying.
← PreviousPage 4 of 19Next →