HNHacker News
TopNewBestAskShowJobs

sb8244

1,554 karma · joined December 2, 2013

submissionscomments
sb8244··on Large language models generate functional protein sequences across families
I know that Salesforce is committed to the 1% initiative, so maybe this falls into that. 1% can do a lot at their revenue.
sb8244··on How to sell Elixir again
I'm an Elixirist, love the idea of "let it crash", and I still code defensively.

To me these phrases are more about the guarantees—if it does crash it recovers—and less about dogmatic advice that everyone follows.

But there's time and place for different levels of defensive programs. I get to pick and choose based on where I see risk, but I know the whole app isn't going to blow up if I missed something.

sb8244··on PornHub blocks users in Utah, cites state’s age verification law
Addiction to anything is harmful. I don't make the leap that everything should be banned.
sb8244··on Stripe announces new round of funding and plan to provide employee liquidity
For sure. Recognized.

I've been in the situation where it's not a choice. So that is where my view comes from. It probably worked out better for me personally than if it didn't happen, so I'm not upset now.

sb8244··on Stripe announces new round of funding and plan to provide employee liquidity
I think you're right after reading more. Sounds like RSU are expiring. Not sure about options but 10 year is the options limit so that would align with the age of the company.
sb8244··on Stripe announces new round of funding and plan to provide employee liquidity
I'm a bit cynical when I see stuff like this. Is it a way for the company to exit employee shareholders and put that equity into investor hands? Especially at a discount from peak?

That can be good for employees (money in your bank is a good thing), but only if they want to sell.

Edit: there's another thread with more info. This round looks to address a specific issue that would affect employees very negatively. So it seems like a good thing and not corp greed.

sb8244··on Building a second income stream by writing a book
I believe that self pub can make the most, but I'd be hard pressed to recommend it for a first book.

Maybe survivorship bias in the results? I know plenty of self pub authors that never cleared $1000 of sales. But then you have people that hit it big. Those people always seem to have a large existing audience, though.

sb8244··on Building a second income stream by writing a book
Writing a book was a ton of fun. It's challenging but really makes you dig deeper into something you're already an expert in. Really accelerated my own learning while creating a product that shares my experience with the world.

Publishers are not all made the same. Pragmatic Bookshelf was great to work with and I'm thinking their estimate of 25k per book (to the author) is probably a good goal. Mine cleared that and then cleared my sales numbers goals as well.

You simply can't get that type of revenue unless you're at 50% royalty rate. Self publish is 100% of course, but pragmatic relationship definitely gave me a better product and marketing.

sb8244··on Building a second income stream by writing a book
I think I made significantly more working with pragmatic bookshelf than I would have self publishing. That may be particular to pragmatic though, as they have a fairly loyal reader base.
sb8244··on Steel Threads are a powerful but obscure software design approach
A small tweak to the "old style" plan that I'd look at is running the new service in parallel with the old but not actually taking customer facing action. For example, send all writes to the new microservice when the write happens in the monolith.

Pros: Gives a real work indicator of performance with very low risk. Data could be truncated and then backfilled before the final release.

Cons: not always possible depending on complexity or feature. Requires implementing the parallel path which carries some risk in itself.

sb8244··on Maybe treating housing as an investment was a mistake
I bought a house in 2021 and not only was the mortgage rate 2.75, they also waived PMI for 10% down. I don't think we would've gotten this same house without that combination. Feels like it will be a while before it's that low again
sb8244··on Phoenix Dev Blog – Streams
LiveView is also state and components. + It has a view of the DOM to optimize the data it sends over wire.

It's a complete way to build complex apps. I've personally built fairly decent complexity SaaS (18mo of dev) completely on LiveView + some react when it made sense.

Saying it's just HTML pushed over WebSocket is like saying React is just virtual DOM with components. There's much more to it when you get into it.

Plus it's enjoyable. I had significantly more fun and development speed building on it than the typical React+API approach.

That said it's still situational and I don't blindly recommend it to everyone. I think Elixir has one of the best graphql implementations (Absinthe), so I still recommend React+GQL as well.

sb8244··on Phoenix Dev Blog – Streams
"you just need to write better code to have composition with jQuery"

To be clear I don't believe that, but that's analogous to what I hear when I see this.

LiveView has composition of components, so there's an immediate answer to your question. You've already answered another piece with built-in soft real-time.

In all honesty, if you have looked at LiveView and don't understand what it brings then I'm not sure if you looked sincerely.

sb8244··on Phoenix Dev Blog – Streams
"What problem does React solve? You can just use HTML and jQuery to build websites."

To me LiveView is not about interactive apps so much as it is a way to build applications, period. You can build in a way that may bring you more joy, performance, and dev speed than you could otherwise.

Interactivity is a side effect, and it's a great one. But I wouldn't recommend LiveView if someone only wanted interactivity. I'd recommend LiveView if someone wants a different way to build than the React+API status quo.

sb8244··on Record-Breaking Egg Profits Prompt Accusation of Price Gouging
I've been eating the premium blue eggs at my store because they didn't increase their price at all.

Even though it's still a little more than a normal dozen, it's well worth it since they taste better.

sb8244··on Let's build a Chrome extension that steals as much data as possible
I don't understand this sentiment. Websites can't use these permissions so it's not applicable at all.
sb8244··on B2B startups stop innovating the day you give power to product managers
It also matches with my experience fwiw. The biggest issue I saw with qualitative is that it almost always was used to reinforce an existing idea that the PM has. I've never heard a PM say they learned something surprising and are reconsidering their initial idea.
sb8244··on FCC threatens to disconnect Twilio for illegal robocalls
I don't quite get the hate for Twilio here. I've found them to be generally responsive when issues are brought up.

How would it be possible for them to police every action of their customers? I expect actions to be brought against the individual violators, and then escalated to Twilio, and handled appropriately. As is the case here.

It would be different if they actively support systemic violation, but I don't think that's the case?

sb8244··on Astronomers discovered 1M new galaxies in 300 hours
Does the current location of the earth affect that coordinate system at all, or i is negligible due to distances?
sb8244··on Erlang's not about lightweight processes and message passing
Yes.

Being able to do this at the programming language level is extremely powerful and creates an entirely different way of building applications. My go-to analogy is building a city (lots of individual, isolated, separate stack processes) instead of a big skyscraper (deep stack requests, concurrency difficult, error recovery manual).

You can build that city in a limited way with k8s, but there's way more overhead along the way, to the point of it not being enjoyable for me.

sb8244··on Erlang's not about lightweight processes and message passing
I remember when I was learning Elixir—I asked my co-worker / Elixir mentor how Elixir solves concurrent programming, data access, etc. His cheeky but accurate response was "How do you solve a problem that you don't have?"

His point was that the paradigm is so different at the VM level, that many things become irrelevant to the conversation. That said, there still are concurrent programming challenges on the BEAM, but it's very minimal compared to languages where it's not baked in.

Ruby Ractor is a good example of how a VM-backed concurrency mechanism will likely change how programs in that language can be built.

sb8244··on Erlang's not about lightweight processes and message passing
Thanks for that. My thought is probably just semantics then.

I think it's even more nuanced, but doesn't really matter for this type of post.

(I am actively writing a chapter exploring this topic, so is has been top of mind.)

sb8244··on Erlang's not about lightweight processes and message passing
> just like the concurrent code of gen_server

I found this a really interesting read, but this stuck out because it doesn't jive with my mental model of gen_server.

gen_server is fully serialized. Even the code underpinning it is not concurrent.

Now I guess gen_server does expose some top level functions to simplify sending/receiving a message into the process, but the process itself is serial.

And this is part of the genius of gen_server to me. You don't need to think about your state concurrently because it processes a single message at a time. Your system executes concurrently, but the individual components do not.

Maybe that is what the post means and I misinterpreted it.

sb8244··on A cab ride I'll never forget (1999)
> I do not think that I have ever done anything in my life that was any more important.

My grandmother was in hospital on palatial care. We didn't know how long she would have, but it wasn't much.

I look an awful lot like my uncle due to having curly hair. I sat with her holding her hand for hours, just being with her and making sure she wasn't alone. She thought I was my uncle most of the time, but it didn't matter. (Very confused nurses when she called me her son.)

I still consider it one of the most important things I've done. Being there for someone in their final days is sad, but also a gift if they can be provided some comfort.

sb8244··on For your next side project, make a browser extension
I'd be curious about latency for frequent access and the 1MB quota. I think that may make it a similar solution on the surface, but fairly limited in usage.

I was powering a fairly large amount of state, to the point we had to diff state changes due to browser message costs. It was difficult to write, but was incredibly powerful.

sb8244··on For your next side project, make a browser extension
My favorite chrome extension pattern is state stored in background page that's communicated with injected content scripts via redux + actions.

You get a crazy powerful state management model that can allow traditional web pages to feel like SPA (your extension around it at least)

It's a shame manifest v3 absolutely butchers this use case because there's no long term live-state management other than opening an extension tab.

sb8244··on Anarchist Cookbook (1971) [pdf]
This happened in 2010 in USA high school.
sb8244··on Anarchist Cookbook (1971) [pdf]
We also tried to do this...

But it turned out that our chem teacher wore open-toed shoes that day (not a lab day for her) so she made us detonate it all ourselves.

sb8244··on Anarchist Cookbook (1971) [pdf]
We did not say that we got the idea / recipe from this book of course. We actually got the idea from our previous chem teacher who retired the year before. (Meaning first year for the new teacher.)

This was in 2010.

sb8244··on Anarchist Cookbook (1971) [pdf]
I used this to make NI3 (feather explosive) in high school as part of my senior project. It was somehow blessed by the teacher.

The book very specifically says to not make this due to how volatile it is.

We made it in the morning and put it in the undisturbed back room to dry for the afternoon.

We got news of it exploding during a silent study hall and scaring the crap outta everyone there, especially since it was a different teacher in the room. The air current from the AC set it off.

We were again (somehow) given permission to remake it since it went off.

← PreviousPage 5 of 21Next →