Better HN
topnewbestaskshowjobs
Log inSign up

briansteffens

260 karma · joined Jan 7, 2016 (10y ago) · 59 submissions

https://briansteffens.github.io/
Submissions

comment 10mo ago · link · parent

There are some things that I think become more fun, like dealing with anything you don't actually find interesting. I recently made a quick little web app and I hand-coded the core logic since I find that part fun. But I vibe-coded the front-end, especially the CSS, because I just don't find that stuff very interesting and I'm less picky about the visuals. Letting the AI just do the boring parts for me made the overall project more fun I think.

comment 1y ago · link · parent

Maybe it's time for me to stop using this website

comment 1y ago · link · parent

Is there anything that couldn't be justified with this style of thinking? Would this person support legalizing murder since more murders might raise awareness of how bad murder is?

comment 2y ago · link · parent

I believe the technical term is The Joey Special.

comment 4y ago · link · parent

> WE ALL HAVE THE OPTION TO FIND A BETTER JOB!

For now most of us in this industry do. This is not a long term solution to anything.

> Unions promote individual rights at the expense of the customer, product, and company.

Individual rights? It's collective bargaining of workers, no?

comment 5y ago · link · parent

> where lowercase letters operate on bang, uppercase letters operate each frame.

Anyone know what a 'bang' means in this context? Not sure if it's an Orca-specific thing or more general.

comment 6y ago · link · parent

As is tradition, we managed to get all the downsides of both shutting down and not shutting down, with none of the benefits of either.

comment 6y ago · link · parent

How much and what kind of experience do you think someone should have with a language before beginning to form an opinion?

comment 6y ago · link · parent

Ah, but you left out the first paragraph which clarifies the second entirely!

>riverrun, past Eve and Adam's, from swerve of shore to bend of bay, brings us by a commodius vicus of recirculation back to Howth Castle and Environs.

And you'll just have to read to the end of the book to find out how the sentence begins.

Joking aside, I actually love this style of writing even though I get virtually no narrative from it. I read it almost like some sort of abstract poetry, letting my mind wander as the words go by.

Also, I find it reads a lot better out loud than silently: easier to notice some of the strange dream-like word mixes. Like `venissoon` kind of sounds like `very soon`. I only saw `venison` until I read it out loud.

comment 6y ago · link · parent

> That feels like a leadership failure to me. In that case you'd look at the Chief, the union rep, the Mayor and any other folks who can change the culture but don't.

Yeah, I agree 100%, and this is why the "few bad apples" angle falls apart. This is a widespread problem with the culture of many police departments. It's not enough to fire the murderers themselves, we also need to ask:

- Who hired them?

- Who trained them?

- Who supervised them?

- Who looked into the previous excessive force complaints and decided they weren't a problem?

comment 6y ago · link · parent

Erlang/OTP is really cool and I found the Elixir language pretty reasonable and even nice but:

1. Elixir is still a pretty leaky abstraction over Erlang. In my experience it's not enough to learn just Elixir, I regularly had to dive into Erlang library source code to debug or answer questions. This somewhat negates the benefit of a small, stripped down syntax when you often have to learn another one in conjunction.

2. Maturity of ecosystem. This should improve over time but I've had challenges finding high quality libraries, especially for things like database connection drivers or making network requests. It's often hard to tell how well-supported or complete a library is and regressions were a regular occurrence.

3. Documentation. In practice I rarely found official documentation complete or even helpful (outside of big projects like Phoenix / Ecto). Even core Erlang libraries had surprising chunks missing. It's been awhile but I remember it being very hard to figure out what options were supported in Erlang's TLS wrapper. I ended up stitching together pieces from the OpenSSL documentation, Erlang source code, and lots of trial and error.

4. OTP overlap with other scheduling systems. This isn't a design flaw as much as a potential footgun depending on how you deploy Elixir code, but there is a lot of overlap between the cluster management support in Erlang/OTP and, for example, container orchestration in Kubernetes. Both support scheduling some concept of tasks, configuring redundant copies of tasks, detecting problems, and restarting tasks according to policy. Deploying an OTP application on top of Kubernetes (on top of Linux) results in 3 layers of OS-like task scheduling to learn, teach, maintain, and debug through, all with distinct tooling, terminology, and limitations.

All in all, I found Erlang/OTP to be a pretty interesting and compelling platform, especially for certain special purpose applications. If I ever use it again I'll probably skip the extra layer of Elixir syntax and write straight Erlang.

12.

Hello World from a Bootloader(briansteffens.com ↗)

1 points · by briansteffens · 6y ago · discuss

comment 6y ago · link · parent

They still ship to the US at least, I've ordered from them recently.

comment 7y ago · link · parent

SF weather is unusually consistent and most days it's on the cooler side but not super cold, often a bit cloudy/overcast. If you like that (I do), the weather is great. If not, the weather will be bad almost every day.

comment 7y ago · link · parent

Speaking from my own very limited experience, I think C++ can be pretty nice if you basically write straight C but borrow from the C++ STL. Smart pointers (std::unique_ptr, std::shared_ptr, etc), collections (std::vector, std::unordered_map, std::set, std::stack, std::priority_queue), and stuff like std::tuple and std::optional really make C feel less clunky without getting too gross.

comment 8y ago · link · parent

I was interested in working at GitLab a couple years ago but the salary calculator changed my mind. It lumped all the cities in Oregon together which gave some weird results depending on which city you live in. I can't imagine how wonky the data gets internationally, and it seems like the fairness of your salary would depend on the accuracy and granularity of the data GitLab has for your particular region.

comment 8y ago · link · parent

Coding interview books: how to use bit fields to save a marginal amount of memory while making your algorithm work only with values of n <= 64.

comment 9y ago · link · parent

I like the Aeron but I prefer the Knoll Generation.

comment 9y ago · link · parent

Mostly Haskell-related: http://www.stephendiehl.com/posts.html

comment 9y ago · link · parent

That's weird. You should be able to copy the document and then view the source in your copy.

comment 9y ago · link · parent

Awesome, nice work.

comment 9y ago · link · parent

Yeah I don't follow the parenthesis parser. Plan to do a write-up of some kind on how it works?

comment 9y ago · link · parent

Wow this is cool and you did this really fast!

So you did kind of a functional style where each row represents an instruction being run with a full copy of the state of the VM at that point in time. Then each subsequent row is based on the state of the previous one. Am I reading that right? (I'm not familiar with Brainfk)

comment 9y ago · link · parent

Awesome! I originally wanted to use only cell formulas to do this but couldn't figure out how to modify cell contents from other cells. Can't wait to see what you put together.

25.

Making a virtual machine in Google Sheets(briansteffens.github.io ↗)

6 points · by briansteffens · 9y ago · discuss

comment 9y ago · link · parent

I wonder at what point the complexity of interacting security systems hits dimishing returns? Not trying to be negative, I'm a fan of how much power AWS gives you. But seeing how many systems have interacting security implications laid out in a graph like that makes me curious how far you can take it before it becomes difficult to reason about. Maybe the systems are sufficiently isolated and well defined that it's not even an issue.

27.

Split buffers: a variation on the gap buffer data structure for text editors(briansteffens.github.io ↗)

1 points · by briansteffens · 9y ago · discuss

12