jvisick

joined 1 year ago
[–] jvisick 5 points 1 year ago (1 children)

What are they going to do if they don’t pay? Evict them?

[–] jvisick 2 points 1 year ago* (last edited 1 year ago) (1 children)

What bike do you use and would you recommend it? I’ve been looking for an e-bike recently since I work so close to home, but I haven’t found any that seem reputable and a good value. I’m definitely looking for one that’s easily repairable and not paired to a specific brand’s software or proprietary parts.

Granted, I’ve only been passively looking (I.e. when I see an ad or doing a quick google search sometimes), but from what I can tell most of the advertised bikes are just the same handful of models with a different logo slapped on it and dubious claims about its performance.

[–] jvisick 4 points 1 year ago* (last edited 1 year ago) (1 children)

The Odin Project is an excellent resource. I’d recommend working your way through both the “paths” they have - take both the Ruby and JavaScript paths. To land a job you’ll want a thorough understanding of the back end and while Ruby doesn’t have as high of a demand anymore, I do think it’s important to build skills in more than one language to be a compelling candidate. If you don’t want to take the Ruby course, I’d recommend learning how to build a back end in C#/Java to make yourself more well rounded.

They also recently released a React course - I haven’t checked that out yet, but it’s a highly marketable skill and the rest of their curriculum is great so I’d imagine that is too.

In any case, they do a great job in teaching you how to “think like a developer” instead of just how to follow a tutorial- which should give you a good foundation for building your own portfolio. TOP played a huge role in landing my first job - but you do need to hold yourself accountable to studying every day if you want to succeed through self-studying.

[–] jvisick 2 points 1 year ago

You’ll never understand why people want to check out the latest app from a major tech company?

I get it if you aren’t interested personally, but it seems strange to not understand why people would want to try it.

[–] jvisick 2 points 1 year ago* (last edited 1 year ago) (1 children)

I only use packages that are from a reputable source and/or have a huge amount of downloads. It’s not a perfect system, but I’ve never had a problem so far.

If the downloads are low and I’ve never heard of the author, either a) I don’t need it and can build a solution myself or b) it’s a niche package that’s small enough that I can audit it by skimming the GitHub repo.

The normal common sense rules still apply - check for typos and any attempts to look like they’re a package or author that they’re not

[–] jvisick 1 points 1 year ago

There’s nothing to stop an admin from hosting a static front end for their Lemmy instance if they’d rather, but it’s clear that SSR is a goal here - and I think the default UI for Lemmy really should include SSR for plenty of reasons. And, if you’re already hosting a Lemmy instance, you definitely already have a host that can support Rust (at the very least, in a container).

[–] jvisick 1 points 1 year ago (1 children)

TypeScript is essentially the “measure twice, cut once” approach to JavaScript.

Yeah, anything can be anything in JS and the type declarations don’t make it into the compiled JS, but allowing anything to be anything starts to become fairly dangerous when the size of your projects starts to grow and especially when you’re working with a team.

Rather than writing functions and just hoping they always get called with a parameter that has the properties you expect to use, TypeScript helps you make sure that you always are calling that function with the right object in the arguments. You don’t need to debug some runtime error up and down 8 frames in the call stack because this week you named a property “maxValue” but last week you used “maxVal” or you forgot to parseInt some string because you thought it would be coerced - you just need to make sure your types match and eliminate that type of debugging altogether.

All in all, TS really just enforces a bit of sanity to the foot gun that is vanilla JS.

[–] jvisick 4 points 1 year ago

It depends what you’re using them for, but it’s pretty common to use the original icons of other services/companies if you’re using them on your website rather than a stylized version.

In my experience, anyways, that’s more common than using a stylized version of a 3rd party logo - and that’s not to mention potential legal issues with using an altered version of a 3rd party’s icon.

[–] jvisick 1 points 1 year ago

Out of curiosity, why?

[–] jvisick 5 points 1 year ago

https://join-lemmy.org/docs/contributors/02-local-development.html#frontend-development

That should get you running locally. If you’re familiar with React, you should feel right at home. In either case, the Inferno docs should help you out a lot.

You’re correct that it’s transpiled into minified JS, but the source is in human-friendly TypeScript. The transpilation is handled automatically for you by Yarn.

[–] jvisick 3 points 1 year ago

I’m super excited to see what the final release looks like for Blazor web apps. Clearly there’s a lot of hard work going into unifying server/WASM rendering and I’m ready to get my hands on it.

[–] jvisick 3 points 1 year ago

“Dependency injection” is just a term for providing a function or method with its dependencies rather than making the function go and gather them itself.

It’s (typically) done through parameters, but it’s still more specific than just invoking a function. It describes how that function was written and the reasoning for certain parameters. To the other commenter’s point, you’ll have a hard time communicating about your code with other developers if you refuse to use the term dependency injection just because you don’t like OOP.

view more: ‹ prev next ›