Better HN
topnewbestaskshowjobs
Log inSign up

sastraxi

67 karma · joined Jan 31, 2018 (8y ago) · 36 submissions

wearing lots of hats sastraxi dot com
Submissions

comment 4mo ago · link · parent

Cool! More digging to do. I used ALARM to build some rpi images, it worked really well but alas we ended up going back to the base rpi os (Debian) due to the rolling release schedule making reproducible builds more difficult. I’m still thinking through the conceptual correct solution for an appliance…

comment 4mo ago · link · parent

How does this compare to https://archlinuxarm.org/? I'm surprised to not see a reference to this prior art in the article.

comment 7mo ago · link · parent

Thanks for sharing your workflow. My question is about why two databases on the same server would need two separate postgres instances.

comment 7mo ago · link · parent

Yeah, that's the one. My use case is largely for local development, so the active connections thing isn't a limiter for me.

comment 7mo ago · link · parent

Yes, that's what I'm referring to.

You're still making the assumption in this comment: why does my 2nd (cloned) database need a separate postgres instance? One postgres server can host multiple databases.

comment 7mo ago · link · parent

I’ve done experiments using BTRFS and ZFS for local Postgres copy-on-write. You don’t need anything but vanilla pg and a supported file system to do it anymore; just clone the database using a template and a newish version of Postgres.

Looking at Xata’s technical deep dive, the site claims that we need an additional Postgres instance per replica and proposes a network file system to work around that. But I don’t really understand why that’s needed. Can someone explain to me my misunderstanding here?

comment 8mo ago · link · parent

Yeah, I understand it's hard to find the balance here. I'd imagine you feel the need to ship at the same time as writing about it. For me, the post you shared in your reply as well as in the OP have been expanded to be about 3-4x as long as they need to be, and I'm going to assume you're using AI to generate them due to the writing style. My feedback is to consider writing shorter posts, but doing it by hand -- your prose style here is friendly, engaging and direct. I wish that your articles were the same.

TL;DR: I feel like my time is being wasted when I read AI-written articles, so I stop reading. Do with my anecdote what you will!

comment 8mo ago · link · parent

The idea is interesting, but have some more respect for your potential readers and actually write the post. There’s so much AI sales drivel here it’s hard to see what’s interesting about your product. I’m more interested in the choices behind your design decisions than being told “trust me, it’ll work”.

comment 10mo ago · link · parent

Contrary to some of the other anecdotes in this thread, I've found automated code review to discover some tricky stuff that humans missed. We use https://www.cubic.dev/

comment 11mo ago · link · parent

I find their SQL database’s latency to be absolutely unusable, though I haven’t tried in a few months. Otherwise I agree, great free tiers for what I’ve used it for.

comment 1y ago · link · parent

Looks good! I might have missed it but it would be helpful to have a link to the jujutsu home page in your README.md.

comment 1y ago · link · parent

Great writing style and articulation of thought! That was a fun read

comment 1y ago · link · parent

DRF-spectacular is an okay choice here, you have to manage consistency with return types yourself but the docs and customization options are well done.

comment 2y ago · link · parent

Can anyone recommend a guide for full stack devs that have mastered other stacks (e.g. django) and want to learn how to use rails correctly?

comment 3y ago · link · parent

Perhaps this is the answer to the question “how do we combat the epidemic of loneliness?” —- once the internet truly cannot be trusted, we’ll be forced to once again connect offline (where, at least for now, deepfakes are not possible).

comment 3y ago · link · parent

I’d prioritize finding someone else in the company that can give you another viewpoint on the situation. These types of situations make us feel isolated, so see if you can find a way to be “seen”, even if it’s by someone who has no way to help you professionally.

The get the heck out of there and find somewhere that is willing to treat you with more respect.

comment 3y ago · link · parent

The "ongoing maintenance cost of software" can also be the additional complexity in the mental model of developers that have to deal with nearby parts of the codebase. Even if no maintenance is needed for a specific feature, it doesn't always make sense to keep around.

There's also knock-on effects, e.g. an offering like this could attract the type of user that would add a lot of additional support burden for the value that the company _and_ the user gets out of the feature.

comment 3y ago · link · parent

Agreed re: there being randomness with each hit in a live performance. I wonder, though, if the distribution of one hit is in fact independent of the previous -- perhaps the inner feedback loop of "am I falling behind / speeding up" in a musician causes the next distribution to be skewed differently or centered at a different instant.

In which case I can understand the thought process of it being uninteresting, in a way. And you're absolutely right that when the randomness is applied into a short loop and repeated it falls into a strange uncanny valley (at least to my ears).

Perhaps another aspect of this is that the randomness, added based on e.g. a seed to the whole track, would be hard to control as an artist. I know when I apply randomness to MIDI I tend to go back with a fine-toothed comb and re-distribute hits that don't go where my mind wants them to.

comment 4y ago · link · parent

At this point I'm just worried about debt collectors / credit score type stuff. What an absurd and unethical move by the new owners.

comment 4y ago · link · parent

I'm going through something similar and was able to negotiate some time off with my employer. In my experience, there's no way to push through burnout, and you're not going to be doing anyone you work with any favours by trying to "be there" through it.

comment 4y ago · link · parent

I'd love to hear more about the lightmapping interpolation for moving objects. I wonder what kinds of efficiencies the author had to find to make it performant.

comment 4y ago · link · parent

Really impressive site, thanks for sharing it! Bonus: I'm just used to sites not having data / support for Canada; this was a pleasant surprise.

UX observation: clicking to create a start and end was relatively intuitive, but it took a while to find "Close route" to reset it (and be able to click for start / end points once more).

comment 5y ago · link · parent

A couple years ago I built toy backends for the same app using both technologies so they could be compared as-directly-as-possible. The code* takes you through the architectural decisions: https://github.com/sastraxi/great-bear-postgraphile and https://github.com/sastraxi/great-bear-hasura

Edit: I forgot that I was trying a "learning repository" pattern where I put longform comments throughout the code. A little more difficult to discover than markdown, as I've learned.

comment 5y ago · link · parent

One of the things I liked about this submission was its tone: the lack of vindictiveness.

We are quickly made aware that we are reading an article made by the author of faker.js. The facts are laid out, mostly without embellishment. Though we understand the author is biased, they leave it to the reader to form their own conclusion. Overall, I appreciated how I was treated as a reader while reading this piece.

As for the matter at hand: despite the MIT license's permissive attitude in this case, it just speaks to the company being complicit somehow in... I don't know what to call it? Shady-ness? I hope you find a worthwhile resolution.

comment 6y ago · link · parent

I've done exactly that with a sample food delivery project. Same frontend, but two different backends (one with Hasura, one with Postgraphile).

Feel free to check it out: https://github.com/sastraxi/great-bear

comment 7y ago · link · parent

0.10.6 is released with a fix :-)

comment 7y ago · link · parent

Just a note for anyone trying to download this -- please first try `pgsh@0.10.1`. The `.2` bugfix release caused a regression that I'm working through now. Thanks :)
12