pizzahoe

joined 1 year ago
[–] pizzahoe@lemm.ee 17 points 7 months ago* (last edited 7 months ago)

As long as Netflix doesn't do 1080p on Firefox and reduces their price considerably and gets rid of stupid limitations on account sharing and ads, I'm never paying for it. Same for games with DRM. I'm not suffering from DRM bs when I can pirate the same without DRM. Why should i pay these asshole companies more and be more restricted than a pirate lol.

[–] pizzahoe@lemm.ee 4 points 1 year ago

As someone who actually lives here.

Good things include: nice food, diverse places to travel to, socialist programmes to support poor people so they don't die of hunger, simple lifestyle, fast internet connection, okayish job market.

Bad things: a huge population means lots of criminals as well, politicians here loot the poor, the cities are fucked with lots of people, little space to hangout, public transport sucks, culturally regressive society in regards to individual, women and trans rights, people are becoming more violent, Hindu vs Muslim bullshit rather than focus on making things better.

I rate 2.7/5.

 

I'm new to this weekly syncup thing with my manager and he already knows the things I work on through daily standups, the issues I've faced or things that have gone great through retros after every sprint.

This gives me little to talk about with my manager except personal goals sometimes, a bit about our lives in general, etc. I was wondering what you guys discuss and how do you make best use of this meeting?

[–] pizzahoe@lemm.ee 2 points 1 year ago

I didn't have much idea about these so was trying to use the router itself. I'll look into nuxt and pinia and see which ones might be ideal for my use cases. Thanks a lot for answering!

[–] pizzahoe@lemm.ee 2 points 1 year ago* (last edited 1 year ago) (2 children)

I understand that the cleanup thing is a bad idea. I had a really simple use case where i have a list of persons fetched from a database with their id, names and a link for each displayed using v-for. The link for each person is a router link which when clicked redirects to respective person/:id.

I want to display some stuff on this new component but didn't want to make the api call to fetch the person again from the database. This is why i wanted to pass the name as well in the props through the router link. But as you said maybe I should use pinia or some state management library for use cases like this?

[–] pizzahoe@lemm.ee 1 points 1 year ago* (last edited 1 year ago)

The code isn't visible for some reason on lemmy. I'm not sure if it'll be in this comment. Okay it wasn't. Removing brackets to see if it works now.

router-link :to=name "url", params:id:1 router-link

 

I haven't found a good way to do this. Basically the props that you can pass as params, end up getting displayed in the url as resource or queries.

The above code makes the url look like "url/id/1"

What if i want to pass multiple props like "id" and " name" through router-link but don't want the url to have the "name" field?

Hopefully, someone can answer this. Thank you.

[–] pizzahoe@lemm.ee 32 points 1 year ago

Win a tournament and have a man sexually harass you in return. Should've knocked that motherfucker's lights out.

[–] pizzahoe@lemm.ee 32 points 1 year ago (1 children)

What the fuck!!! This was absolutely enraging to know. Linus is a piece of shit. I can't even comment on one specific thing as worse in the whole thread. Everything is fucked up about how they treated her.

fuck linus media group and fuck that motherfucker pretending to be a nice and friendly guy. How you treat your people behind closed doors is your character not the fake YouTube shit.

[–] pizzahoe@lemm.ee 1 points 1 year ago

Stupid fucker would drive the hospital staff crazy

[–] pizzahoe@lemm.ee 31 points 1 year ago

No I don't know why. What have they done to you?

[–] pizzahoe@lemm.ee 2 points 1 year ago

Me doing mental gymnastics to write a 1000 word essay in my exams

[–] pizzahoe@lemm.ee 17 points 1 year ago (1 children)

Fuck! Now it makes sense to me. I thought it literally meant an interface. Thanks a lot for clarifying!

 

let's say there is a Shape interface.

interface IShape { double Area(); }

A Rectangle class and a Triangle class implement it. Now should i write tests for:

  1. IShape interface and test both implementations in a single test file?
  2. Write tests for Rectangle and Triangle class separately, testing their implementation of Area() ?
  3. Do something else?

From what I see I am testing implementations either ways. How do you even test an interface without testing the implementation? Can someone please help clarify my doubts? Thanks!

[–] pizzahoe@lemm.ee 4 points 1 year ago* (last edited 1 year ago) (1 children)

I own a MacBook Air now but prior to that I've used thinkpad, dell xps, Asus zenbook and hp envy lineups.

If i were to ditch MacBook I'd have picked up a zenbook since they're budget friendly, great oled screen, long battery life, lightweight and good build quality. You can even do casual gaming on it.

The biggest thing i miss switching to mac has been losing my steam library and unable to play games with my friends.

 

No surprises here. Just like the lockdown on iPhone screen and part replacements, Macbooks suffer from the same Apple's anti-repair and anti-consumer bullshit. Battery glued, ssd soldered in and can't even swap parts with other official parts. 6000$ laptop and you don't even own it.

 

So my company has a budget of around 200$ which would expire by the year end if I don't spend it on courses, books, trainings, etc.

I'm interested in knowing what you'd do or suggest. I'm in a full stack role and have tried the below.

  1. Pluralsight has good material for many topics but they're outdated many times, especially for cloud topics.
  2. Udemy has mostly up to date content and many really good creators but lacks coverage of advanced topics like pluralsight.
  3. Coursera has good University courses but make little sense in real life development.

What are some of the ways you'd have spent this budget? What are some other sites worth looking into?

 

I came across this video and it's been a great watch with lots of practical examples. As someone who had worked with java, I am in awe with the powerful concepts c# has. Hopefully, someone will find this course useful as well.

 

In my short career I've noticed that employers are notorious for underpaying you to the point that people with 3-4 years of experience are getting paid the same as freshers. The management always has an excuse to not increase pay or increase it very minimally. The best way to increase pay has been to keep moving every 2-3 years from one company to the next if switching means at least 1.5x or 2x the current salary.

This means major interview prep requiring solving leetcode style questions, solving system design questions, then some more. I just wanted to how often do you prepare? Are you always interview ready or start prepping a few months before switching jobs?

view more: next ›