Better HN
topnewbestaskshowjobs
Log inSign up

dvektor

916 karma · joined Jun 4, 2023 (3y ago) · 112 submissions

pthorpe92.dev github.com/PThorpe92 preston@unlockedlabs.org linkedin.com/in/pthorpe92
Submissions

1.

Absolute Beginner's Guide to Databasemaxxing(pthorpe92.dev ↗)

2 points · by dvektor · 8mo ago · discuss

comment 1y ago · link · parent

Absolutely love this article, couldn't agree with this more.

3.

Discovering Programming at the Darkest Point in My Life(h5law.com ↗)

28 points · by dvektor · 1y ago · 9 comments

comment 1y ago · link · parent

Yes unfortunately for a long time my whole life revolved around 'drug culture', and so did of all my 'friends' and my entire social circle.

I certainly cannot act like I did not deserve to come to prison, and it's definitely the only reason I am even alive right now. Coming to prison, specifically in Maine, was the best thing that ever happened to me.

comment 1y ago · link · parent

Thanks Gavin! Really appreciate the support.

6.

Working on databases from prison(turso.tech ↗)

849 points · by dvektor · 1y ago · 534 comments

comment 1y ago · link · parent

There is definitely a need for this, great idea!

Looks like there is a TLS cert issue on the public instance, but I'll be sure to check back in a couple days and check it out.

comment 1y ago · link · parent

I asked someone else what they use for rust. Normally I get by well enough with good structured tracing but lately that hasn't been cutting it.

comment 1y ago · link · parent

Yeah the whole 'git repo = helm chart' just does not feel great at all. As we all know, the only thing worse is not using helm and having to deal with writing all those service, pv, pvc, ingress yaml files individually :)

comment 1y ago · link · parent

Fantastic post, definitely could relate to quite a bit of that.

comment 1y ago · link · parent

Very cool! I have been using LLDB quite a bit lately so I am eager to try this out. The state of debuggers dev experience really hasn't caught up to what things like Cargo have done for build systems, so I am glad to see people working on things like this.

comment 1y ago · link · parent

Congrats OP. also: microsoft teams is an unholy abomination

comment 1y ago · link · parent

Reminds me of the scene in Silicon Valley where they team are excited to hear a VC interested in the details so they are explaining the technology on the whiteboard to the "investors" who were a team of engineers eager to copy their tech.

But seriously, it sounds like a weird version of "not invented here syndrome" where you are somehow OK with copy-pasting most of it.

comment 1y ago · link · parent

I store my secrets in gpg encrypted files and inject them into my environment in my shell rc file.

AWS_SECRET_ACCESS_KEY=$(gpg -d ~/.secrets/aws/key.asc)

type of deal. its annoying to put in a password every time i open a new tmux pane but hey, better than plain text.

comment 1y ago · link · parent

fun fact. in federal prisons (and some portion of state prisons), books of stamps are essentially $5 bills. It's common to see people with huge wads of stamps in their pockets much like you would with cash. a few years ago, it became much more difficult to convert stamps back to cash, so a few companies popped up that would accept stamps in the mail for some value on the dollar and books of stamps are the currency of (most) US prisons to this day.

comment 1y ago · link · parent

Love to see someone writing about vtabs, I implemented vtab support for a rust reimplementation of sqlite so I've recently learned a tremendous amount about them. They are very powerful and probably under utilized.

comment 1y ago · link · parent

Great read. Love those articles where you go in thinking that you have a pretty solid understanding of the topic and then proceed to learn much more than you thought you would.

comment 1y ago · link · parent

at least we all know what apache is, what it does and doesn't do, when it's running and how to start/stop/remove it :)

god knows what a microsoft webserver is doing.

comment 1y ago · link · parent

Surprised no mentions of sqlite yet :) I've always associated Tcl with sqlite because of how much it is used in their test suite and how you can have a tcl interpreter as a virtual table. Very interesting and seemingly often overlooked little language.

comment 1y ago · link · parent

Am I the only one that detected sarcasm? (cool business)

comment 1y ago · link · parent

Ouch, 13 days to triage that is crazy. I definitely wasn't in need of any more reasons not to use something like nextJS, but I'll add this to my list.

comment 1y ago · link · parent

Love it :) Glad to hear there are others who appreciate things like this

comment 1y ago · link · parent

Little did my guy know that he would be starting one of the more hackernews-ish arguments out there.

"is terraform code?", and despite everyone knowing exactly what he means, everyone must try to prove him wrong because he didn't choose the best example to prove his point.

comment 1y ago · link · parent

You are welcome sir, I quite enjoyed digging into your implementation a bit. I have been absorbing as much as I can to better understand sqlite and its general ecosystem.

Yup you are absolutely right. My thought was that my next post would dive into exploring whether or not this actually solved any of the issues listed about CGO. I updated the post to be a little more clear.

25.

Calling Rust from Cursed Go(pthorpe92.dev ↗)

38 points · by dvektor · 1y ago · 8 comments

comment 1y ago · link · parent

Fortune favors the bold, and this is nothing short of that.

I've really been enjoying contributing and watching the project continue to gain traction. Excited to see where this goes.

comment 1y ago · link · parent

this might be the best use of llm's discovered to date

comment 1y ago · link · parent

As much as I conceptually agree with everything in this article... git checkout -b {branch} is not leaving my muscle memory any time soon

comment 1y ago · link · parent

I was actually glued to that page for a few days recently, it's a great write-up.

io_uring is such a tremendous improvement over epoll, in both speed and user experience. With sqpoll, vectored ops and proper batching you can get some crazyy speed. I am definitely looking forward to seeing some of these seccomp and privilege issues getting fixed and getting container support in the future.

comment 1y ago · link · parent

Database engineering, and container engines/runtimes. I've become absolutely bored out of my mind writing backends, web services, etc.

For the past month I've been contributing to a sqlite rust rewrite, and I want to continue until such a point that I would feel comfortable working full time on that (not just on the relatively low hanging fruit). Also want to explore more OCI runtime internals is something I've been fascinated with for a while that I want to get into.

1234