Better HN
topnewbestaskshowjobs
Log inSign up

sickcodebruh

1,337 karma · joined Aug 17, 2017 (9y ago) · 269 submissions

NYC technology generalist and musician.
Submissions

comment 3y ago · link · parent

Can you elaborate on this? In particular, the use of "everyone" -- do you really mean everyone? Can you describe some of the common arguments about why not everyone can have an app and explain why they are logically wrong?

comment 3y ago · link · parent

I’m so happy to see this! I’m building a product with Next.js 13 now and I totally drank the Kool-Aid on RSC. (Vercel’s push of serverless — not so much.) But I am frequently aware that I’m working with Vercel’s framework in Vercel’s version of React that is best supported by Vercel’s platform. I happen to like their vision for the software so I’m happy to use it and appreciate their work. But alternatives are crucial to the health and longevity of React and the whole RSC concept.

Vercel’s opinions about routing and caching are two areas ripe for different perspectives. Next.js 13’s approach to routing is working fine for me, I enjoy a simple file-based router, but I know there are many people who do not like it. I anticipate it becoming hard to navigate as complexity and number of routes increases. The caching layer is highly opinionated and not for everyone. Both of these areas strike me as decisions influenced heavily by Vercel’s needs: file-based routing seems to make it easier to create serverless functions on their platform and aggressive caching is crucial when your customers pay by the request! If you don’t like their decisions on these things but React Server Components resonate with you, you’re out of luck until a strong alternative emerges.

So to the Waku maintainers, please keep going! I hope we read about this and many other frameworks soon.

comment 3y ago · link · parent

Not everyone needs an app. I’d argue that most products don’t need an app and would be better off with a fast website or web app that is responsive. A good responsive web app will work on all devices and let you avoid the boundaries of the Apple and Google stores. You’ll reach more people faster, ship updates faster, engage with more open source tools, and benefit from the constant arms race that is improving performance of browsers.

If anything, the need for everything to have an app or be a SPA is a fad. The complexity felt by every tiny team and product who thinks they must have multiple languages and deployment pipelines and microservices just because $BIGTECH does it is tragic. I’ve been a professional React developer for years, I love React and I have primarily built complex SPAs that truly required this technology, but I’ve also seen so many companies and people pouring energy into APIs and SPAs and apps that just should have been nice web sites sprinkled with JavaScript.

RSC is right at home with the countless server-rendered frameworks that were born before the “API ALL THE THINGS!” era. I’m building a product right now and it feels like being back in Rails, except I have TypeScript and I can drop into a client component at any time. And I can build an API endpoint when I need to for views that absolutely must have that SPA feel, since sometimes you do need that. Or ask anyone working with Phoenix LiveView, or modern Rails with Hotwire, or folks building in Django with htmx. The orthodoxy of “you must have an app” can’t be put to bed fast enough.

comment 3y ago · link · parent

This is why I am bullish on React Server Components. With a framework that supports it I can choose where client- or server-rendering is most appropriate but keep organization and expressive benefits of React, TypeScript, and TSX.

comment 3y ago · link · parent

I was also a holdout until I saw emojis described as "body language for text". That helps contextualize them and let me appreciate them. They let you add so much nuance and personality to text. In a world of async communication, they can be crucial signifiers of intent.

comment 3y ago · link · parent

I don’t know about that one, seems like there are some pretty serious allegations. But yes, it is likely that the number of people who are aware and talking makes up a tiny portion of their worldwide fans, despite the spread of the news online.

comment 3y ago · link · parent

I’ve seen and experienced this first-hand. It happens a lot in niche music scenes. The internet will explode with rage about something someone in a band did or didn’t do, it will seem as if the whole world is united in rage or ridicule! …And then they go on tour and nothing is different. Or they post a statement and receive a flood of “This is the first I’ve heard about it.”

comment 3y ago · link · parent

Someone who’s committed to learning them will understand them, so that usually works backwards: someone becomes a fan of a band, they feel motivated and committed enough to learn the lyrics so they can bark along.

Screamed metal vocals are a rhythm instrument and intensity amplifier. They serve as a focal point for the atmosphere that a band is trying to create. They provide a path for the audience to connect with music in a visceral way. It’s akin to listening to music in another language. I don’t need to understand Italian to appreciate opera or comprehend the emotion behind any particular moment, the presentation alone is enough when it’s done well.

The lyrics themselves serve different purposes depending on the band, genre, and topic. They often act as a signifier of identity, something that helps readers categorize genre and properly contextualize the complete package. Sometimes they’re just fun for the vocalist to bark, offering some combination of rhythm and sound that lets them perform with the intensity that they’re looking for. Some bands use more personal, meaningful lyrics, at which point they’re poetry. The DME piece is a brilliant glimpse into one kind of death metal lyricism but it’s far from exhaustive where the genre is concerned.

comment 3y ago · link · parent

This article was written by my good friend, bandmate, and former co-worker Doug Moore!

Doug is best known as the vocalist for extreme death metal noise maniacs Pyrrhon. https://pyrrhonband.bandcamp.com/album/abscess-time

He is also the vocalist for the death metal band Glorious Depravity, in which I drum. This makes best use of his DME skills. https://gloriousdepravity.bandcamp.com/album/ageless-violenc.... Look at the lyrics to “Ocean of Scabs” to see a master at work.

He’s also the vocalist of the experimental black metal band Scarcity. https://scarcity-nyc.bandcamp.com/album/aveilut

And let’s not forget his epic death/doom project Weeping Sores. He writes all the songs (everything except violin) and handles guitar, bass, and vocals on the recording. I had the pleasure of mixing this one. https://weepingsores.bandcamp.com/album/weeping-sores

Finally, the HM crowd will appreciate that he — like everyone else in Glorious Depravity — is a software engineer. He works for the fitness tech startup Proteus Motion, https://www.proteusmotion.com. I worked there with him for many years. He’s a very smart, talented person and I feel fortunate to be his friend and collaborator.

comment 3y ago · link · parent

Here’s a really fun review of the Jelly 2 that someone showed me a few months ago. https://maxread.substack.com/p/the-worlds-stupidest-smallest...

comment 3y ago · link · parent

Probably the most important research resource for any underground metal fan. The settler of many arguments. The ability to follow links from band members to their other projects is incredible, like an internet version of looking at the shout-outs in album liner notes for mentioned bands as hints at who to check out next.

comment 3y ago · link · parent

Doesn’t this strike anyone as overly cynical and just… incurious? Yes, hype and trends are obnoxious, there are individuals and organizations that reflexively seek sexy tech and apply it wrong, but isn’t this also part of how we find things that work and things that don’t?

It’s easy to run through decades of tech trends and present them as the only things that dominated the industry, just like it’s easy to rattle off one-hit-wonders or movies that flopped and claim that the arts are dead. But I remember Apache fading in favor of nginx. MySQL being shouted down by Postgres. Frameworks like Rails and Django becoming popular over the LAMP stack (with the aforementioned A and M…). Docker over Vagrant for dev environments. TypeScript, unidirectional data flow, the decline of OOP. I can go on and on and these are just the ones that spring to mind immediately!

I’m still very much a “choose boring tech” guy. I also sometimes feel frustrated by how fast technology changes and how the winners of hearts and minds are often the result of marketing effort, not good technology. But unless you’re a technology blogger, you probably don’t need to be bothered by this. New tech emerges for a reason. Some of it will be overhyped, some of it will be unfairly ignored, some things will win and some will lose. I feel fortunate to live in a time when there’s so much enthusiasm and creativity for new ways to solve old problems.

comment 3y ago · link · parent

I typed up a comment saying how much I’d love to drop this in alongside my Prisma code so I can keep using the ORM for simple things and have the option to drop into SQL as needed. It ended asking if anyone knew whether such a thing was possible. I decided to check the docs one more time and… here it is! https://github.com/valtyr/prisma-kysely

I’m excited. I enjoy Prisma but SQL can be so expressive. Looking forward to trying this.

comment 3y ago · link · parent

Speaking as a drummer and sometimes producer, the only people likely to have strong opinions about this are drummers. All of my drummer friends agree: audience mixes make some albums unlistenable on headphones. Nobody else will notice either way, so mix drummer perspective on the off chance that the drummers listening will appreciate it.

Live albums get a pass, of course. And yes, lefty drummers exist. If a lefty drummer wants their kit panned the way they hear it, that is of course fine.

comment 3y ago · link · parent

Add drum mixes panned from the audience perspective instead of drummer perspective and you’ve got my vote.

comment 3y ago · link · parent

I had the same thought just now. Reminds me of the good old days of forums, which was what attracted me to Reddit originally. Looks like they have equivalents for at least two of my frequently visited subreddits, so that’s an easy sell for me.

comment 3y ago · link · parent

Alright, this is more than you’re asking for but here’s the full story as I remember it. It was a long time ago so some of it is fuzzy. I don’t think I ever shared this story publicly before.

October 2011. I went to the rewards program site for my bank one day. I had a problem logging in and was frustrated. I’m fairly certain that it was telling me my account didn’t exist but I was sure I had previously registered. The error message stuck out. I was coding recreationally at the time, LAMP stack, and I was acutely aware of the dangers of SQL injection in PHP forms. The error message struck me as a database error, not an application error, and that combined with some other odd details on the page (I can’t remember what they were, it just seemed weirdly amateurish) made me wonder just how bad the page really was.

I wrote some basic injection query on the login form, some `GET * FROM… WHERE email=` on a users table. I remember limiting it carefully because I didn’t want to see other people’s data. And it came back with another error that was straight from the database! I think my query was malformed but it did show me something about the table. Then I thought, “there’s no way they’re using an account with write privileges, right?” I inserted a row, or maybe changed a row in another injected query and it was successful. I was freaked out! The most disturbing piece was a credit card number column. I can’t remember if I found my own row and saw my own number or what — for all I know it was hashed — but it worried me.

I wasn’t sure how to handle it. I just a moment ago found the old messages in my social media account and… oof. Looking back, I see why they might have been concerned. I was 27 and trolly. My internet behavior was obnoxious. I was the type who posted whatever “funny” thing popped in their head, random observations, argued with every troll, had an opinion about absolutely everything and wanted everyone to know it. In this case I posted a public message, paraphrasing: “Huge vulnerability on @big_bank site. Think they’d be pissed if I posted screenshot or did a blog post or should we talk direct?” Smooth. I can’t find their reply but I think they told me to DM them info. I see a DM that says “RE: vulnerability on your site, {my phone number} ASAP.” Very reassuring.

36 hours passed. I remember getting off the 7 train in Flushing, Queens after work and my phone rang. It was a VP at the bank. He introduced himself, told me they were very concerned about this, and wanted to know what I was looking for. “What am I looking for? I want you to fix it and tell your customers what happened!” Then he asked me to walk him through the timeline, including what (if any) queries I ran. I told him exactly what happened. It sounded like they had already found it through logs so they knew I had injected some simple data via the form. He told me that they had been in meetings all day talking about how to respond and confirmed that people were listening to the call. It was clear that they didn’t look me up in their system despite my name being on my social media profile and the phone number being associated with the account. We talked for maybe 10 minutes.

One interesting detail that came out was about the origin of the credit card reward site. When I was first poking at the page, I noticed that it had a .php extension. This was odd to me first because none of the other pages in their online presence presented that way. I was also used to seeing URLs rewritten — it looked sloppy. I had a hunch that this was built by an outside company, which would explain lack of compliance with the standards they likely had elsewhere. I asked him about this and he said “I can’t confirm that but I think you’re onto something” — something like that. I later did some more investigating and confirmed it. This bank started as a regional bank and grew. They used a web development group in their home town for this particular product. The same company provided it for other banks! I checked some of those pages and none seemed to have the same vulnerability.

So in the end, he was satisfied with my answers and understood that I was just an immature 27 year old with a big mouth but not a threat to anybody. He thanked me for bringing it to their attention. We got off the phone and I never heard from him again. The rewards site was down for a while after this. I still bank with them and have the same accounts.

Years later, I texted him to ask if he could help my retired mother get a job in one of their local branches. He never responded. It always bothered me.

Looking back, I think I did a lot of things wrong here. I should have stopped poking as soon as I saw an error message come back from a database, I never should have injected anything no matter how benign through the form input. When speaking with them, I probably should have consulted an attorney. I also wonder if I should have tried to charge them a consulting fee… but I also wasn’t trying to extort anyone and I’m glad they didn’t call the FBI. The end.

And on the topic of SQL injection and the FBI, I also have a stupid Bumbling Cohen Brothers Antagonist level story about two guys at my former job who hacked into a competitor’s custom CRM. It happened maybe 3-4 years before this. This one does involve the FBI!

comment 3y ago · link · parent

I discovered a SQL injection vulnerability in the credit card rewards site of a major US bank in 2011. A VP finally called me a day later and asked what I wanted — they thought I was a hacker trying to extort them, he told me they had been in meetings all day about it. They didn’t bother looking up my information to see that I had been an account holder for more than ten years.

The site was down for a few months while I assume they fixed and audited the whole product. They never told customers what happened.

comment 3y ago · link · parent

Serious question, possibly naive: how many of Reddit’s UX decisions come back to pressure from investors to make good on the $1.3B they’ve raised? Is every web product with users and influence obligated to raise as much as possible and grow to a size where they start chasing ad revenue no matter what it does to their product and its users? I’m sure that running a product at Reddit’s scale requires serious money, money must come from somewhere, investment capital gets you there… But was this really the only path?

comment 3y ago · link · parent

Right from https://github.com/features/preview/copilot-x:

“Context aware conversations with your copilot. If you're stuck solving a problem, ask GitHub Copilot to explain a piece of code. Bump into an error? Have GitHub Copilot fix it. It’ll even generate unit tests so you can get back to building what’s next.”

This is almost a Homer Simpson running for garbage commissioner level of over-promising. I think Copilot is an incredible tool, what’s possible right now is amazing and it can save time and offer value. But the degree to which it doesn’t just fail but completely misdirects is at serious odds with the breathless marketing.

comment 3y ago · link · parent

This is completely true but completely in conflict with how many very large companies advertise it. I’m a paid GitHub Copilot user and recently started using their chat tool. It lies constantly and convincingly, so often that I’m starting to wonder if it wastes more time than it saves. It’s simply not capable of reliably doing its job. This is on a “Tesla autopilot” level of misrepresenting a product but on a larger scale. I hope it continues being little more than a benign or embarrassing time-waster.

comment 3y ago · link · parent

What was the black metal band?

comment 3y ago · link · parent

$100/month strikes me as a “we don’t want you” price. I’m sure there’s someone out there who can justify it but it will immediately turn away a hell of a lot of people. Maybe this was the point? Reduce API users to only the most motivated people/organizations and expect that many of them will grow into the next tier?

comment 3y ago · link · parent

Playing to a click is standard for metal bands who play at high speeds. A band that sounds lifeless or bland on their albums is going to sound that way with or without it. It is standard for nearly every serious extreme metal band, with many of the pros also doing it live. There are plenty of extreme metal bands who don’t — Mayhem didn’t at least ten years ago — but it really depends on the band and the genre.

comment 3y ago · link · parent

That's really cool! And it's a small world. I've known Colin and the Krallice guys for years! Everyone in Glorious Depravity is a software developer and in other bands, there's a good chance that you crossed paths with some of us at some point.

comment 3y ago · link · parent

He will be glad to hear that! You should check out his other other band if you haven't already, Weeping Sores. Dramatic doom/death. https://weepingsores.bandcamp.com/album/weeping-sores

comment 3y ago · link · parent

My stuff is generally stupid enough that we can do it the simple and primitive way. One of the perks of playing certain kinds of extreme metal!

comment 3y ago · link · parent

This era of Metallica was the greatest metal band that ever did or will exist.

comment 3y ago · link · parent

This particular song won't be recorded until later this year but the last album is easy to find online. Glorious Depravity - "Ageless Violence". It's influenced by 90s American death metal in general, I'm not sure you'll get a big Suffo vibe throughout but there are moments.
12345
9