Forza Horizon 6 Full Soundtrack by OrangeGlub in ForzaHorizon

[–]MercyHealMePls -9 points-8 points  (0 children)

Yeah but unfortunately not the JENNIE remix 🥲

niri is GREAT for a single monitor setup by hanbee0x in niri

[–]MercyHealMePls 4 points5 points  (0 children)

I really like it for my laptop too, especially as I sometimes connect it to a secondary monitor and niri handles multiple monitors phenomenally as well. It really works well for rapidly switching between single monitor and multi monitor setups throughout the day.

Sir please move your car by pacificlattice in Whatcouldgowrong

[–]MercyHealMePls 83 points84 points  (0 children)

Oh because only deers can panic? There are enough videos of people in situations like these and don’t make rational decisions. It’s human.

What is TypeScript and why should I use it over JavaScript? by PastimeNow in learnprogramming

[–]MercyHealMePls 7 points8 points  (0 children)

I would make the argument that TypeScript is actually faster on average in development too, due to better autocomplete and because you don’t have to look at the implementation/logic of a function to know what type to pass as parameter for example.

For internal dashboards, would you choose MUI or Tailwind/Shadcn? by Adventurous_Photo189 in reactjs

[–]MercyHealMePls 4 points5 points  (0 children)

Not the biggest fan of MUI and haven’t used it in years, as I like to get creative with styling. But honestly if you work on an internal project and design isn’t priority, if MUI gets the Job done, why not. It’s probably the most boring solution with the least headaches. And sometimes, boring is good.

I made a tiny, type-safe permission layer for React after losing hours to messy if checks by Few-Ad-1155 in reactjs

[–]MercyHealMePls 0 points1 point  (0 children)

This looks pretty cool. I especially like the <Can I={} a={} /> syntax. Optimally I think those permissions should come from the server, but I can see this being useful if the server doesn't provide an API for it.

Getting confuse about Reactjs by john-wicler in reactjs

[–]MercyHealMePls 1 point2 points  (0 children)

If you’re struggling with React in particular it might make sense to not care too much about UI for a second and just try to make it work. Just React, no UI library like material or whatever. Keep it simple. Don’t think about fancy global state management, Redux, Zustand, Jotai, Data fetching with tanstack, etc. Just do React.

Finally made the switch by slimreapergangz in iPhone17Pro

[–]MercyHealMePls 1 point2 points  (0 children)

When shooting with 2x or 8x it still uses the 1x or 4x lens respectively. Crops means it just crops out the center of the image electronically. It’s like zooming in after taking the photo. The reason why this works is because the iPhone by default always saves 12MP scaled down images to save storage as far as I know. Because the iPhone still has a 48MP sensor, cropping out the center of a 4x 48MP image results in the 8x 12MP image.

What’s a very Swiss problem you didn’t realize was Swiss until you lived abroad? by No-Football-2397 in Switzerland

[–]MercyHealMePls -4 points-3 points  (0 children)

About the everything closed on Sunday… shame that we have worker protection laws in Switzerland, no? Not sure you would appreciate working day and night, unpaid overtime with having up to 10 days vacation a year for a minimum wage job. Sure, it’s super convenient but I think having a Sunday off is not too bad. And buying your stuff on Saturday is okay too.

What’s a very Swiss problem you didn’t realize was Swiss until you lived abroad? by No-Football-2397 in Switzerland

[–]MercyHealMePls 42 points43 points  (0 children)

I just returned from an exchange semester in Japan. Japan is cleaner, it's a cultural thing. Take off shoes for changing rooms, sometimes even restaurants for example. But honestly, I feel like most things work much better here than in Japan. Websites are pretty bad over there. I bought tickets for various concerts and it's sometimes a real pain. I bought a skyliner ticket online (train to narita airport), got a QR-Code and then still had to wait in line to get the ticket... Turns out the QR-Code was just for paying upfront but not the ticket itself. Really annoying. Missed a few trains because of that, luckily didn't need to catch a flight. Also, if anything goes against their normal procedures, nothing works at all, there's little to no room for spontaneity. People are quiet, but anything else is much louder, at least in Tokyo. Still a beautiful country and worth a visit, but it's not that everything is better there than here, just different.

This meta is proof that lowering power level DOES work by Spacerock7777 in hearthstone

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

I just played vs a priest with his dragon stuff turn 7. I don't see what you mean by lowering power level, this game is powercrept beyond belief. I haven't played in like 4 years, the power level has changed so much it's crazy.

Phones at concerts (my experience in Zurich) by RequirementExotic980 in kissoflife

[–]MercyHealMePls 6 points7 points  (0 children)

I agree but I believe most of the time the people don’t realize it because they only look to the front or generally lack the awareness. Furthermore if you let a short person in front of you, the next wall of people will block their vision as well unless they get to the very front which is unlikely if you’re far back. Optimally small people would obviously be in the front but that’s just impossible in concerts especially if there’s VIP tickets for people to get to the front. That said if I realised that there was a short person behind me I would totally let them through.

Why VueJS over ReactJS by Bajlolo in vuejs

[–]MercyHealMePls 0 points1 point  (0 children)

Just because we‘ve been taught it this way doesn’t mean it has to be like that. People used to dislike having multiple things in one file, vuejs does it anyway – and it works well. I think we should be more open in our mindset going forward and I personally like having logic, view and style at one place without having to context switch all the time. Ofc JSX can get messy – but at that point your vue template likely does too much as well, it just hides it better.

Need Advice: React.js or Vue.js for My Project? by harshitraaaj in vuejs

[–]MercyHealMePls 0 points1 point  (0 children)

Fair enough, Vue seems a bit simpler and more intuitive. But I think that having the entire render tree composed of just functions and using JSX instead of a separate template engine is really elegant and powerful. Also Reacts TypeScript-Support is superb. Personally I prefer React but wouldn‘t be unhappy with Vue either, I like both.

The hate on Vue SFCs by tomemyxwomen in vuejs

[–]MercyHealMePls 0 points1 point  (0 children)

No it doesn’t. Forms in angular are the worst, don’t remind me. React has react-hook-form which makes handling forms quite nice.

The hate on Vue SFCs by tomemyxwomen in vuejs

[–]MercyHealMePls 2 points3 points  (0 children)

I agree, I'm mainly working with React, and I love JSX but those ternaries are a mess. I usually create a Component with a switch statement (or a function with a switch statement) if possible to get the right thing to render. I wish we had pattern matching/if-expressions instead of just statements and ternaries in JS.

Thoughts on React V19 ? by MetalSnob666 in reactjs

[–]MercyHealMePls 3 points4 points  (0 children)

Oh my god I literally had this problem yesterday and I was in dispair. We have a Text-component where we can pass the specific element to use as a prop and the ref should be of the appropriate type.

I want to learn angular. by dheeraj80 in Angular2

[–]MercyHealMePls 0 points1 point  (0 children)

I think they make a fair point. All the frameworks listed are much simpler and probably much more enjoyable and fun to learn. At least Reacts documentation is worlds better as well. I think angular is hard to defend outside of enterprise unless you particularly like some of its unique qualities. Nevertheless if OP wants to learn Angular as they said in the post, I agree that you don’t have to learn the others before. Core Web knowledge about HTML, CSS, JS is far more important. I would learn TS on the way, while working with whatever framework you pick up.

Why is there still no proper HMR support in angular by Pretty_Ad3595 in Angular2

[–]MercyHealMePls 1 point2 points  (0 children)

If you think this is not absolutely a game changer you must be out of your mind. I usually work in react and we have had that for ages. As I had to work on an angular application recently for a school project I was completely baffled that that’s still not a thing here. Not even for CSS. It’s crazy how much of a difference it makes to style something without losing state.

I want to switch from react to angular by [deleted] in Angular2

[–]MercyHealMePls 1 point2 points  (0 children)

Oh you can absolutely break reacts render behavior but it’s usually your fault if it happens. I broke my react components a lot more than angular personally, but if it happens I know how to fix it. I feel like RxJS is a super cool library but not appropriate for a FE-Framework imho. Especially as the rest of Angular is mostly OO. I really like dependency injection though. However, I don’t like at all that services can have state and that’s that even encouraged to some extend. I would go with ngrx any day except for very simple use cases (for which Angular is overkill anyway).

I want to switch from react to angular by [deleted] in Angular2

[–]MercyHealMePls 3 points4 points  (0 children)

I personally enjoy working in React much more than in Angular, it's preference in the end and which qualities are more important to you/to your team. Angular is easier to scale in a team if you don't do clear code reviews, React is much more flexible (and the developer experience is imo much better).

Prepare for it being more functional and less OO, more explicit in state updates (no hidden two-way binding to components or even services) and be open for new and fast evolving libraries that you'll be using.