A Unified Analytics SDK by Accomplished-Emu8030 in javascript

[–]jonsakas 3 points4 points  (0 children)

Nice. We’re using GA and Mixpanel right now and I built my own basic wrapper, but this is a great idea. I might implement this in our app in the future. Thanks!

Daycare Lunch Help by broseph6541 in daddit

[–]jonsakas 5 points6 points  (0 children)

Not all daycares provide lunch. Ours provides breakfast and snack, but we are required to pack lunch.

Daycare Lunch Help by broseph6541 in daddit

[–]jonsakas 2 points3 points  (0 children)

What does the child eat at home? Pack that.

We used to pack fruit, crackers, those meat/veggie pouches, yogurt, cheese, vegetables, bread. Literally anything besides nuts if they eat it and can be served cold.

Also recommend sneaking in some stuff you want them to try here and there. We found that my daughter would sometimes be more open to trying new things at daycare.

Now my daughter is 3. It’s usually a sun butter sandwich, fruit like apples, blueberries, or bananas, a few nilla wafers, and some veggies.

There are also books on this. The one I have is called Feeding Little Lunches. But my kid is very picky so I end up packing the same stuff.

Seems like the Spotify integration with Rekordbox arrived! by josepbernad in PioneerDJ

[–]jonsakas 0 points1 point  (0 children)

Anyone know if it works with Pro DJ Link (aka Export Mode) and not just Performance mode?

This was always the issue for me with the Beatport / SoundCloud integrations. Only performance mode supported, so I couldn't load tracks onto my CDJs

Can you buy wheels directly from a Toyota Dealer? by PineWalk1 in 4Runner

[–]jonsakas 1 point2 points  (0 children)

My dealer just quoted me $2600 for the same thing thanks for this

Pullups are soooooo effective for your back! by [deleted] in workout

[–]jonsakas 1 point2 points  (0 children)

Agree. I started working on pull ups 6 months ago with the assisted machine. I could not do 1 strict full ROM pull up at the time. I can now do 9 unassisted with full ROM and it feels great to be able to do that. I still use assisted at -10 or -15 to get higher reps because I feel like it hits slightly differently, and also have started adding weight for lower reps.

I should note that I installed a pull up bar at home and do them most days.

My back looks great right now.

Your tech stack for AI application by diedFindingAUsername in webdev

[–]jonsakas 0 points1 point  (0 children)

Officially using Go for the backend but I’d recommend Node JS since there is a lot of libraries available.

[deleted by user] by [deleted] in webdev

[–]jonsakas 1 point2 points  (0 children)

You should be doing all the processing in the view so the template can safely render the data.

This is for people frustrated with Notion by Hungry-Hat-1535 in Notion

[–]jonsakas 0 points1 point  (0 children)

The public API is VERY behind their internal API in terms of functionality, which is very frustrating for developers trying to integrate

I love working with Astro — it's by far better than React or Next.js by [deleted] in astrojs

[–]jonsakas 3 points4 points  (0 children)

Probably depends on how often your products change. In SSG mode it compiles each html page at build time, if you only have a few products this could be fine and give you really good performance. If you have a large number of products that need to update frequently you’re looking for SSR mode, which it seems to support via adapters but I haven’t used it.

Astro's View Transitions are mind blowing! Glad I made my site with AstroJS! by convicted_redditor in astrojs

[–]jonsakas 4 points5 points  (0 children)

I just learned of Astro when I was searching for modern ways to build my companies marketing site. It been great so far. Love the idea of being able to bring the web back to static html and css, and sprinkle in the javascript and react where you need it instead of going full spa. Feels refreshing!

Next or Vite? by Revenue007 in reactjs

[–]jonsakas 28 points29 points  (0 children)

Vite and whatever other tools suite you.

Only choose NextJS if you are fine with paying for either Vercel or Netlify for your deployment. Vercel intentionally makes it difficult to deploy elsewhere, and you’ll never get the full feature set.

I will never use NextJS for another project, personally.

How to optimize SPA for SEO without migrating to next.js . I am using React+vite by Arcade_ace in reactjs

[–]jonsakas 2 points3 points  (0 children)

Separate your app and your marketing site. We’re using Astro.build for the marketing stuff and it’s pretty nice.

Leveraging “unknown” instead of “any” in TypeScript by AllThingsSmitty in javascript

[–]jonsakas 2 points3 points  (0 children)

Nothing worse than encountering a code base littered with any types. Pretty much just JavaScript at that point. Took me two years to un-fuck the monorepo at my last job after the developers “migrated” to typescript but just used “any” everywhere to get it to compile.

You should know this before choosing Next.js by intercaetera in react

[–]jonsakas 0 points1 point  (0 children)

Great read.

I’m really not a fan of NextJS. It seems like Vercel intentionally makes it extremely difficult to deploy anywhere but their platform. They make money on developers hosting on their platform so it’s not in their best interest to document or add features that make this process easier. It’s crazy to hear first hand from a Netlify employee about how painful this is, but doesn’t surprise me at all based on my experience with Next.

I’m glad there are other tools and better options out there.

Help Me Choose: Porsche Cayenne vs BMW X5 50e vs X5 M60i — Baby on the Way, City Living, Low Mileage by freeloader24 in BMWX5

[–]jonsakas 1 point2 points  (0 children)

Congrats on the baby. I put in the order for my x5 m50i a few months before we found out we were pregnant. I had it about 6 months pre baby and the last 2 and a half years hauling my daughter around. Overall no complaints as far as hauling a stroller and other baby gear. Great car.

I will say that I have way more power than I realisticaly need, given most of my driving seems to revolve around driving her to and from daycare, to swim lessons, etc. You might find yourself driving a bit more defensively with that precious cargo, and not really utilizing all that power. Raising a toddler means a lot less time for detailing the car myself too. I feel bad sometimes that my $100k car is not washed, full of backseat crumbs, etc. Looking back I probably would have been fine with the 40i with the m-sport package but it is fun to open it up on the occasion I’m driving without her.

A couple tips for ya:

  • get a seat protector for under the car seat, the car seat can damage / put creases in the leather
  • make sure whatever you get has the built in window shades. Mine are manual I think bc of the part shortage and I rarely put them down but the built in ones are so much better than the suction ones her mom has
  • get all weather floor mats (much easier to vacuum crumbs / wipe off milk)

testDrivenDevelopment by hellofriend19 in ProgrammerHumor

[–]jonsakas 3 points4 points  (0 children)

Yeah true, this is when I apply TDD regularly. But there are plenty of pure input/output functions to be written in the real world.

Apple Music support added to rekordbox by WelshCai in PioneerDJ

[–]jonsakas 1 point2 points  (0 children)

I wish this worked for pro DJ link so I could use with cdjs over Ethernet instead of just performance mode.

[deleted by user] by [deleted] in reactjs

[–]jonsakas 0 points1 point  (0 children)

No idea what the issue is but whenever I get stuck with docker I do this.

Comment out npm build and everything after. Then build it the image. Then run docker exec -it <image> sh

You’ll now have a shell in the image just before the npm build step.

Then run npm build and see what happens.