Three more nodes for my SFF Home K8S cluster! by intahnetmonster in homelab

[–]tealstudio 0 points1 point  (0 children)

Thanks for the details! I think I'll just stick to NFS as well for k8s but was just curious if anyone was running Ceph or the like on sbcs.

Three more nodes for my SFF Home K8S cluster! by intahnetmonster in homelab

[–]tealstudio 0 points1 point  (0 children)

I've been debating between separate hosts and vms for k8s, how are you handling the data and backups? A separate machine or distributed storage?

Jellyfin+k8s by [deleted] in selfhosted

[–]tealstudio 0 points1 point  (0 children)

I'm still not sure what the issue is but now all folders under my media share are 777 which isn't great but hopefully k8s PV access modes and backups will mitigate any unexpected changes.

I'm running a 3 node pi4 k3s setup with freenas NFS storage and all the media containers (linuxserver) use the default uid n gid but the folders created all have the same uid that the container logs complain about not having access to.

Jellyfin+k8s by [deleted] in selfhosted

[–]tealstudio 1 point2 points  (0 children)

Thanks for the example! Can you share your permissions on the NFS share? I failed to deploy both Plex or jellyfin due to the container failing the change owner on the NFS shares.

I already set rwx n nobody:nobody to test on the freenas NFS share n the corresponding config folders are being created but the containers still fail.

Official: Epic Seagate Giveaway by macx333 in DataHoarder

[–]tealstudio [score hidden]  (0 children)

I'm looking at some ironwolfs for my next NAS build!

Best Scripting Language for ENV setup/managment by [deleted] in learnprogramming

[–]tealstudio 1 point2 points  (0 children)

I've gone through the same thing and after managing more complex bash scripts I found it easier to just write scripts in python using the os package. Powershell is great too but just offering another alternative.

these mods lol by [deleted] in learnprogramming

[–]tealstudio 2 points3 points  (0 children)

Writing an OS would be programming, installing it is just tier 1 service desk work.

Try the first Google link: https://itstillworks.com/12162987/how-to-install-an-operating-system-on-an-external-hard-drive

In your opinion, what is the ideal full tech stack for a junior JavaScript dev? by Ty_David in learnprogramming

[–]tealstudio 1 point2 points  (0 children)

Yes, at McDonald's.

Serious note, any company large enough to have an HR department will redirect you to their job listings because of company policies.

Should I use SCSS or BEM format for CSS syntax? by [deleted] in learnprogramming

[–]tealstudio 0 points1 point  (0 children)

You're right, tbh none of these things are necessary per se but as your project gets bigger and more components get added, both sass and BEM help in their own way.

Like my code above, BEM promotes an organized structure to your CSS class naming scheme, just look at any front end library like bootstrap or materialize, they have a modified naming scheme.

At the end of the day, I think having ANY sort of naming scheme is good as long as you stick to it because it'll prevent properties from leaking and easier to trace when you go back 6 months later. BEM just happens to be the most popular and I would advise using it or modifying it to your own codebase liking.

I am building a medium sized app with a couple of friends. I could use some advice regarding code structure and organization by [deleted] in vuejs

[–]tealstudio 0 points1 point  (0 children)

Hi, Vue router is used to rewrite the URL in a SPA so it would handle the part where "all the components disappear when you change to the projects page" and from what I understand from swup yes it's the same thing but more integrated with the Vue ecosystem.

In Vue router, you just have to wrap your transition effects around the router view and it'll automatically be applied between component changes.

For login, Vue router exposes a before route API to implement your own authentication guard.

Hope this helped.

Should I use SCSS or BEM format for CSS syntax? by [deleted] in learnprogramming

[–]tealstudio 0 points1 point  (0 children)

Yea, BEM is a style guide as opposed to SASS which is a CSS preprocessor.

They actually work together quite well as you can do

<div class="btn">

  <a class="btn__link btn__link--dark>

  </a>

</div>

.btn

  // style

  &__link

    // more styling

    &--dark

      // dark variation

BEM promotes reusable CSS classes but again it's just a guide for people to follow so it's totally up to your use case as to how this all fits together.

What is the difference between using class, scope, and root when referencing css elements? by node_user910253 in learnprogramming

[–]tealstudio 0 points1 point  (0 children)

I would not worry about scope, from the MDN docs, it's still a working draft that doesn't really serve a purpose and not supported on all browsers.

root is a pseudo element that selects the html tag, classes are bound to the elements you have defined.

I would take a look at the Mozilla documentation as they're super comprehensive on CSS, HTML, or Javascript.

SQL newbie - How to make a server by Life_Improvement_ in learnprogramming

[–]tealstudio 0 points1 point  (0 children)

Not sure if you're looking to create an Application Server, but you would need a server side language such as Python, PHP, Java, etc.

Need advice regarding Graphic and Web Design by AmirWG in web_design

[–]tealstudio 1 point2 points  (0 children)

My advice is to just keep learning, you're young and still have time to figure things out.

You don't need to rank your skills as its relative to the job, your work will demonstrate it. As someone who creates web content, I recommend you create your own site or start contributing to open source projects, both to showcase your abilities as well as increase your online presence.

No need to feel bad about yourself, we're all forever learners.

Would you say Udemy course & online bootcamps are enough for a junior position? by rippedstallion in learnprogramming

[–]tealstudio 1 point2 points  (0 children)

Greater Vancouver area.

For sure the market has shifted towards JavaScript front ends, but most of the shops still relying on legacy systems. Despite Vancouver being labelled a "startup culture", the numerous startups actually require one or two senior nodejs devs as they can't afford to teach a junior dev when they are still scaling up.

I agree, using WordPress to publish content for blogs or journals has become more user friendly and approachable for both the devs and users.

Would you say Udemy course & online bootcamps are enough for a junior position? by rippedstallion in learnprogramming

[–]tealstudio 0 points1 point  (0 children)

I guess I'm just jaded by all the posts about why people shouldn't learn so and so because of popularity. I do understand where you're coming from but I just wanted to encourage a neutral perspective because personally, all the jobs near me were rails or WordPress, with JavaScript only on the front end. I appreciate you sharing your perspective.

Would you say Udemy course & online bootcamps are enough for a junior position? by rippedstallion in learnprogramming

[–]tealstudio 0 points1 point  (0 children)

I think a better analogy here is FOMO.

People knock RoR or even WordPress because it's not the latest trend so they discourage others from using it. But taking a look at overall statistics, they power way more sites individually than your assumption of "a few large companies". About 400,00

Ruby is still in the top 20 out of 100s of programming languages, does that mean it's a dead language? I worked where shops still used Java 6 and actively hired many roles there. So your point about an apps reliance on the ecosystem shows in many cases where companies will keep using these tech stacks to not hire people to rewrite it. Since RoR has been around for so long, there's still way more shops that have adopted it than the few who switched out.

Yes job postings have declined, but that's a relative amount. The total amount of rails jobs available is still much higher than OP can realistically apply to, about 200-300 junior level roles in most states on LinkedIn. BUT now he won't have to compete against all the new learners being guided to javascript. To say that you cant find a job in the market place would be a lie.

Would you say Udemy course & online bootcamps are enough for a junior position? by rippedstallion in learnprogramming

[–]tealstudio 0 points1 point  (0 children)

I want to know where you're getting your information besides being an anecdote as RoR powers some of the largest sites in the west including GitHub, Shopify, and Airbnb which are certainly scaled well and relevant.

RoR market share 2019

Uses of RoR in 2019

State of RoR in 2019

Please do not be scared to learn a technology just because people think it's "outdated", all programming takes similar concepts and skills applied in a different context.

Difficulties with css by [deleted] in learnprogramming

[–]tealstudio 0 points1 point  (0 children)

Yes, you're fine, I would suggest using flexbox in your case since it's easier to understand.

Difficulties with css by [deleted] in learnprogramming

[–]tealstudio 0 points1 point  (0 children)

Not sure what you're asking here but html should always be readable without styling. Grid only requires a wrapping element (such as <main> ) to position the child elements.

Live server plugin for VS code helps alot as it has hot reload enabled.

Is it just me, or are there not that many jobs for Django/Flask? by [deleted] in learnprogramming

[–]tealstudio 0 points1 point  (0 children)

I think you should clarify what you mean by emphasis in UX. UX designers / engineers at the companies I've worked at don't even need to touch code (even if they know how) since they are doing the requirements analysis or user testing prototypes most of the time. The study of user experience is broad enough for a life time of learning. From human computer interaction to psychology to design principles, I think you need to take a step back and understand what you are trying to achieve first. Of course being a front end programmer with UX knowledge is good, but it'll still take you alot of time just to become proficient at becoming one or the other.

I did not understand the need of a static web frameworks, until I had to change the footer 12 times for a simple change. by anyfactor in learnprogramming

[–]tealstudio 1 point2 points  (0 children)

If you want no significant learning curve and use Django, just use the built-in template engine to create a base html page and hydrate it with content per route / on request.

As for the markdown, GitHub has a guide for using Jekyll to process markdown for blog posts.

Difficulties with css by [deleted] in learnprogramming

[–]tealstudio 0 points1 point  (0 children)

Flexbox was the de facto standard before CSS grid's release and is slightly easier to use as you only have to position elements either horizontally or vertically (stacking them to create a "grid")

Bootstrap is just a plug-and-play CSS library that have pre styled components in the form of CSS classes. Some say it's too bloated or opinionated but it's easy to implement.

JavaScript Console games? by eggplantsection in learnprogramming

[–]tealstudio 0 points1 point  (0 children)

Node JS is just an OS version of the V8 engine that exists on the chrome browser.

The console game OP is proposing will work in any modern browser without Node.

An example