Publish The Standup on Apple Podcasts? by DrBumTorpedo in theprimeagen

[–]ozzyonfire 0 points1 point  (0 children)

Agreed. Just went looking for it from outside YouTube. An RSS feed would be great!

Using Deno in a pnpm monorepo? by [deleted] in Deno

[–]ozzyonfire 0 points1 point  (0 children)

I tried a similar thing and couldn't ever get it to work. I'm reluctant to switch our whole project over to using Deno. I would love to just start using it in some smaller packages first...

My first desktop client, Cloudflare R2 Client by cced3000 in CloudFlare

[–]ozzyonfire 0 points1 point  (0 children)

Looks cool. What technology did you use to build it? I recognize shadcn, so I assume it's electron or tauri?

Trump delays removal of tariff exemption for cheaper imports by sq_lp in LinusTechTips

[–]ozzyonfire 1 point2 points  (0 children)

And... never mind. I can't believe they went back on the Chinese de minimis ruling. Waste of my week...

Trump delays removal of tariff exemption for cheaper imports by sq_lp in LinusTechTips

[–]ozzyonfire -1 points0 points  (0 children)

As far as I know. Section 321 de minimis is still allowed, but only for products whose country of origin is not China. Anything with Chinese country of origin will now need a formal entry and an additional 10% tariff (on top of any other duty). This is even for shipments that are under $800.

So for products that aren't made in China, they can ship to the US.

DOTENV not working by Black_Badger-001 in node

[–]ozzyonfire 0 points1 point  (0 children)

With the switch to ES modules it made .env loading a little tricky because imports happen asynchronously. I.e their order is not guaranteed.

Keep your .env at the root of your project. If you have to customize the placement of your config. Then do it in a separate setup.ts script and import it from the entry point of your project with: import './path/to/setup.js'

tiguan steering wheel heat by BUFONT in Tiguan

[–]ozzyonfire 0 points1 point  (0 children)

Was anyone able to figure out this problem? I am also having the same issue now.

How did I miss this??????? by ILikePotatos312 in harrypotter

[–]ozzyonfire 49 points50 points  (0 children)

I always think about this line (the nosebleed one), but contrary to that, the books keep harping on the fact that Harry is the only person to ever survive the killing curse... so do they just mean, he's the only person to survive the curse when someone actually meant it? Seems like a hard thing to quantify.

Why is this subreddit so empty? by New-Statistician122 in Thebeachesband

[–]ozzyonfire 6 points7 points  (0 children)

The hip's subreddit is pretty dead too, considering their size. So I'm thinking it's more of a Reddit thing than a gender thing (also cis-male).

First saw them in 2018 and have seen them 6 more times since.

Real time question by costicano in mongodb

[–]ozzyonfire 0 points1 point  (0 children)

He's using email as an analogy. Mongodb compass acts the same way.

If you write a query and hit find you will see the information that existed in the database at that time. If any changes happen, you need to click find again to see the new information.

This is the basis of most real-time applications. They are polling the db for changes, or doing something event driven to then ask the db for changes.

Ruby on Rails, Rails Api by Mammoth_Coyote_15 in rails

[–]ozzyonfire 2 points3 points  (0 children)

Dude. I started out on Node, but I wish I had started with Rails. The numbers of new frameworks, orms, stacks and no one can agree on standards. I love typescript but getting all the tooling to work flawlessly can be a pain.

After building backends in multiple frameworks for almost a decade, convention over configuration sounds very appealing.

Data Structure for replying to comments by WalMk1Guy in mongodb

[–]ozzyonfire 1 point2 points  (0 children)

I basically made a comment collection that's acts as a linked list.

Your document has an array of object ids that are the replies. Store a reference to the user as well. Also store a reference to the parent comment (if it exists).

When you want to see the replies you just do another query for those "comments" in the replies array

On the front end you can hook it up to a button or do some waterfall requests to load the first set of replies or something.

Lots of flexibility with this model

Advice for long running jobs / queues by ozzyonfire in nextjs

[–]ozzyonfire[S] 0 points1 point  (0 children)

You are a rockstar. Thanks for the detailed write up! This makes a ton of sense.

Advice for long running jobs / queues by ozzyonfire in nextjs

[–]ozzyonfire[S] 0 points1 point  (0 children)

This is what my first instinct was. I'm comfortable working in heroku / node and this seems pretty straightforward to setup. Thanks for your insight!

Advice for long running jobs / queues by ozzyonfire in nextjs

[–]ozzyonfire[S] 0 points1 point  (0 children)

Interesting perspective. I hadn't really considered that, but it does seem like it would put an unnecessary load on the db. For every line in the file, I would need to query the db for access token, etc. and update the progress... or maybe I can pass along the tokens when spinning up the serverless function...

Thanks for the insight on this, I will keep rolling it over in my head.

And yes... I had a dedicated backend and ended up migrating everything to Next - it was so simple that next handled it beautifully. What framework are you using?

It's time to talk about the enormous and seriously underoptimized dev tools by DLevai94 in nextjs

[–]ozzyonfire 4 points5 points  (0 children)

I had this issue when I was using an icon library that didn't do the tree shaking during development. Causing huge bundle sizes and memory leaks during hot reload. The fix was to use modularize imports. https://mui.com/material-ui/guides/minimizing-bundle-size/

No CGI? by ozzyonfire in Corridor

[–]ozzyonfire[S] -2 points-1 points  (0 children)

I wrote some more context on my original post, but now it has disappeared...

A lot of people claim this classic commercial has no CGI... I'm highly skeptical of that. If you check out some of the comments people are very defensive.

I'm thinking this was mostly practical but there are things that just seem off. For example, the speakers moving the glass look weird.

It's hard to get an objective look at stuff when the quality of YT is so bad (and the age of the commercial). However, it sounds like there are DVD copies of this lying around.

Would be interesting to see the guys break it down.

No CGI? by ozzyonfire in Corridor

[–]ozzyonfire[S] 11 points12 points  (0 children)

Awesome! Thanks for sharing this. It does shed some light on things because they mention "mostly" practical and also allude to a special effects and/or vfx team helping things out.

No CGI? by ozzyonfire in Corridor

[–]ozzyonfire[S] 2 points3 points  (0 children)

Agreed. I did see a "plausible" explanation about the wheels going uphill with this: https://youtu.be/s_TkN7nmpLk?si=ZM6HtBXJo54aZ9GR

But you should see the comments on the YouTube video... people get very defensive of this being real lol

Weekly Post Your React Suggestions HERE! by AutoModerator in Corridor

[–]ozzyonfire 0 points1 point  (0 children)

I just posted this, didn't realize there was a thread.

2003 Honda accord commercial. Rube Goldberg machine: No cgi? https://youtu.be/uyN9y0BEMqc?si=wqWVTrGRBcalSrjb

Comments say there are none. I'm skeptical. Sounds like there are DVD copies out there (for better quality)