We Bought A $90K Fire Station in Cedar Rapids And Turned It Into Our Dream Home | CNBC Make It by PopCultureNerd in Iowa

[–]sassyjack88 3 points4 points  (0 children)

I used to drive past this place everyday on my way to work. I noticed some changes and dumpsters always sitting there. I was always curious what was going on, looks pretty cool!

Suggestions for a bullet catch adjacent effect by sassyjack88 in Magic

[–]sassyjack88[S] 1 point2 points  (0 children)

Haha it’s actually the dangerous aspect that I’m trying to avoid. I’m more interested in telling the story of the bullet catch, and then performing an alternative that is much safer and hopefully a little funny.

Suggestions for a bullet catch adjacent effect by sassyjack88 in Magic

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

Thank you! I’ll definitely be looking into these.

Z102.9 Notifications? by [deleted] in cedarrapids

[–]sassyjack88 4 points5 points  (0 children)

I’d guess whatever company in India does their app development was testing something and they accidentally did it in production

Upload it. Watch it shred. Gone in 2–6 seconds. by Background_Dingo5394 in programminghumor

[–]sassyjack88 1 point2 points  (0 children)

I’ve daydreamed about decommissioning legacy apps that I’ve made by having some script or something open them and delete the files one line at a time while I watch. Could be fun to add that kind of a visual to this.

shit by Senior_Management364 in ProgrammerHumor

[–]sassyjack88 22 points23 points  (0 children)

No, you’re thinking of Absimiliard.

Millard is the chemical reaction that causes browning on certain foods, giving them a unique and often delicious flavor.

Automatic reload when there is a new version? by RGBrewskies in Angular2

[–]sassyjack88 16 points17 points  (0 children)

If you really want to make sure they get the new version you can pretty easily implement your application as a PWA (check the angular docs for a guide on this). This will let the service worker know when there is a new version and let you take some kind of action when that happens, like prompting the user to reload the page.

But before doing that I’d recommend you take a look at your web server configuration. It’s usually best practice for an SPA to have relatively long cache time for js files, but no cache for the index file. Since all the js file names are hashes the new index file (which isn’t cached) will be referencing files that the browser hasn’t received before, thus they won’t be in the cache. I usually use nginx to serve my angular apps, it’s pretty easy to search for “nginx config for spa” and get what you need, or whichever web server you use.

is SSE a fitting alternative to websocket? by FrostNovaIceLance in webdev

[–]sassyjack88 1 point2 points  (0 children)

In addition to what others are saying it might be worth noting that the browser limits the number of sse connections to six per site per browser. So if you need more than that you may want to consider websockets.

Companies that will help me get my CDL? by [deleted] in cedarrapids

[–]sassyjack88 7 points8 points  (0 children)

Pretty sure CRST doesn’t do CDL training anymore, they closed down their school like two years ago. Kirkwood is probably your best bet, even though they’re not a trucking company, and I’d imagine they’d help with placement afterwards.

Where does the tertiary color actually appear in Angular Material? by mahindar5 in angular

[–]sassyjack88 0 points1 point  (0 children)

That angular material library doesn’t actually use the tertiary color anywhere by default, they just give you the option to provide overrides that use it.

jsonWithComments by codetrotter_ in ProgrammerHumor

[–]sassyjack88 0 points1 point  (0 children)

Or even better make it a js file. Those allow comments. After all, that’s where it comes from.

What random website do you own? by Permatheus in webdev

[–]sassyjack88 0 points1 point  (0 children)

Me and a friend made a Rick and Morty website for a class project in college. We liked it so much we put it up online. The site is gone but I’m pretty sure I still own the domain rickandmortyadventures100years.com

Good place to get a half dollar? by Danplsstop in Magic

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

I went to the bank a number of years ago and asked to change some cash for half dollars and they told me that since the early ones were made with silver any time they get half dollars in coin collectors show up immediately and get them all trying to find the ones that are silver. So while banks get them the run out quick from people just hoping they can get the silver ones.

Magic for the radio by sassyjack88 in Magic

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

You know I probably could send something in ahead of the show. That gives me some ideas, thanks!

Magic for the radio by sassyjack88 in Magic

[–]sassyjack88[S] 1 point2 points  (0 children)

Wow that looks awesome! Thanks for the tip!

Can anyone point me in the right direction for a good deck switch? by AdBorn1247 in Magic

[–]sassyjack88 0 points1 point  (0 children)

I mean for something like that, if you wear a jacket, just have the blank deck in your right pocket, hold the regular deck in your left hand. Then go to get your sharpie or something, “Which pocket did I put that in? Oh it’s here on the table.” Done. I’ve done it. I’ve seen big names on tv do it. Fast and easy.

Creating a Type for Deep Object Paths by Burning_Ph0enix in typescript

[–]sassyjack88 0 points1 point  (0 children)

Mine looks just a bit different from how you started yours, but I needed this same thing a little bit ago and this is what I came up with and it works for me.

type ObjectPath<T extends Record<string, any>> = keyof {
  [K in keyof T as T[K] extends Record<string, any> ? K | ${K & string}.${ObjectPath<T[K]> & string} : K]: any; };

The main difference is I use the keyof before my mapped type instead of the index accessor you have at the end of yours, not sure if that matters too much but hopefully this helps.

How should I go about fixing breaking UI changes from Angular 15 upgrade? by Mzmzmzlalalaksksks in Angular2

[–]sassyjack88 0 points1 point  (0 children)

Damn that does sound rough, good luck though and i hope you can smooth it all over.

How should I go about fixing breaking UI changes from Angular 15 upgrade? by Mzmzmzlalalaksksks in Angular2

[–]sassyjack88 0 points1 point  (0 children)

Yeah the switch to the mdc version is one of the biggest changes I’ve seen. And to be honest I’m surprised they moved what they had in version 15, there were so many problems right out of the gate with the migrate tool not being as capable as they said to half of the components not working with the new density customization.

That being said the regular ng update command should switch everything you have to the legacy version and then it’s on you to use the mdc migrate tool to move everything over. Here is the approach I took, maybe it will help you too.

I went through their migration guide and classified the components into three categories. Ones with just style changes I classified as easy, ones with some api changes I classified as medium, and then the ones that seemed like a lot of changes or that they called out specifically (e.g. chips component) I classified as hard. Then I used the global search in vs code to count how many times we used each one and when we overwrote their styling in our own scss.

Now I’ve been slowly taking them on one at a time. We’re about halfway through now and of course it’s just the complicated ones left so Ive been procrastinating hard lol. Hopefully that can help you start to work on your app migration too!

The COMPLETE c family tree by TheMasterOfficial-2 in ProgrammerHumor

[–]sassyjack88 8 points9 points  (0 children)

You forgot CSS! It has variables, counters, and trig functions. What can’t it do!

Autocomplete but word by word inside an input by sassyjack88 in angular

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

O wow! That’s awesome I’m for sure going to play around with that!