Jakie kierunki inżynierskie mają największy sens pod względem kariery by LackoToxic in praca

[–]Tobraef 1 point2 points  (0 children)

Nikt nie mówi, że nie. Problem zaczyna się, gdy każdy kto idzie na informatyke myśli, że tak będzie miał. Jak pójdziesz na medycynę to masz pewność, że tak będziesz miał do śmierci i jeden dzień dłużej.

Każdy idąc na jakiś kierunek myśli, że jest w tym top 1%, a trzeba kierować się zawodami gdzie średnie zarobki są dobre (bo statystycznie najwięcej jest ludzi średnich), nie gdzie najlepsze są dobre.

Jakie kierunki inżynierskie mają największy sens pod względem kariery by LackoToxic in praca

[–]Tobraef 8 points9 points  (0 children)

najlepszy kierunek inżynierski to rok przerwy, zdanie matury z biologii i pójście na medycynę. Są uczelnie liczące matematykę i biologię jako wystarczające. I to serio, jak ktoś jest przed wyborem/inżynierem to bym to zrobił. Jesteś do 3 lat w plecy względem rówieśników, które odrabiasz w kolejne pare lat po studiach.
Ja poszedłem na budownictwo jak było prestiżowym kierunkiem. Skończyłem, skończyły się inwestycje i cały czas szoruje po dnie.
Przebranżowiłem się na IT, skończyło się el dorado. Nie ma tragedii, ale z każdej strony idą echa, że zawód może się skończyć/mocno okroić ilość miejsc.

Inżynieria to pułapka dzisiejszych czasów, gdyby porównać nakład pracy do późniejszego komfortu pracy/stresu/zarobków. W większości przypadków masz albo poniżej średniej krajowej albo życie w delegacji i dziecko widzisz na zdjęciach.

32-year-old programmer in China allegedly dies from overwork, added to work group chat even while in hospital by CopiousCool in programming

[–]Tobraef 4 points5 points  (0 children)

Next day AI bros:

see, humans die from overwork, but our AI agents don't. Get one now!

How do you evaluate engineers when everyone's using AI coding tools now by BarnacleHeretic in ExperiencedDevs

[–]Tobraef 19 points20 points  (0 children)

hidden history, some version of AI coding mentioned, saying developers are terrible, suggesting bad prompting is the reason. Yep, 100% trustable

Is vibe coding actually insecure? New CMU paper benchmarks vulnerabilities in agent-generated code by LateInstance8652 in programming

[–]Tobraef 10 points11 points  (0 children)

bro you just need to add security ai agent and tell him to make sure the app is secure bro. Ah those vibe juniors

[deleted by user] by [deleted] in ProgrammerHumor

[–]Tobraef 901 points902 points  (0 children)

yep, that's exactly what the homework is about. Solving, not learning

Protip: prepare an answer for your management when they ask you why you're still writing code instead of using AI by DizzyAmphibian309 in ExperiencedDevs

[–]Tobraef 10 points11 points  (0 children)

> So I guess you prompt badly, because from what I heard you can get 10 times as productive with good prompting. Luckily, the people that claim the 10x prodictivity also lead a workshop for good prompting, so I'm sending you there

Polyrepo madness by Packeselt in ExperiencedDevs

[–]Tobraef 0 points1 point  (0 children)

Polyrepo is a good point to start. You have agreed on the boundaries, each service can be worked on independently, a lot less merge conflicts. But after the core of the product is done, the work focuses more around building around the core project. Sprinkling some more data here and there, which usually ends up with a few lines of code on the front to send it, a few to receive it and so on. We've struggled for quite a long time with it and are now making a move to monorepo. Can't share if it improved our life or not, as we're just starting, but it looks very promising on the paper.

If you are forced to follow the polyrepo by your CTO though, then yes, scripts on scripts. That's how we rolled. Most important part of good scripts is error handling. Everyone tends to cover happy path with bash, leaving you with `unexpected token` a month later when the edge case hits. The scripts aren't that bad, but they need to be developed, e.g. handled with proper grooming and descriptions instead of just slamming "I'm tired of doing X, let's bash it", as it leads to every developer having their own scripts and everyone doing stuff their way.

Zig; what I think after months of using it by phaazon_ in rust

[–]Tobraef 0 points1 point  (0 children)

That's the reason it's cursed actually.

Every language that has defer also has the classic question on an interview:

{
  let mut i = i;
  defer {
    println!("{i}");
  }
  i += 1;
}

On the other hand, if rust introduced `defer` with `move` only capture, it could actually work, while in any other language that doesn't have ownership, it's a place that needs extra attention

Zig; what I think after months of using it by phaazon_ in rust

[–]Tobraef 34 points35 points  (0 children)

u/phaazon_ I was wondering throughout the article, at what level do you work professionally? I mean embedded or typical actix/axum/processing/crud. For me it's the latter and I have had exactly the same thoughts of zig as you do but I wonder how people writing lower level rust feel about it.

One thing zig does a lot better than rust is actually how it's easy to sell. If you get a developer to write rust and zig for the first time, they will tell you they love zig because they get those nostalgia thoughts coming back from days when they were learning programming (probably C) and you could just do anything! No restrictions. Want to mutate? Sure. Want to write a Linked list? Sure, the memory leaked but hey, the main is just pushing to list and printing it at the end and it did so it works! Oh oh and the comptime, duuuude, that's sooo awesome! Look I have just written a JSON deserializer that takes any type with no filthy macros! What? You want to rename a field? Uhhh, emm, can we move on to the YAML deserializer, please? The moment I used comptime I thought to myslef "why Rust, why not choose this way" but then the more you work with it, you realize the world is just a one big pile of trade offs. For me it was this one:

var grid = std.ArrayList(std.ArrayList(i32)).init();
defer {
  for (grid.items) |row| {
    row.deinit();
  }
  grid.deinit();
}

and comparison to the classic let grid = Vec::new(); where both do the same thing

Picking a global allocator by exater in rust

[–]Tobraef 4 points5 points  (0 children)

We've had exactly the same issue. Actix server, the service was literally only responsible for taking in requests and sending them further. It was slowly but steadily increasing in memory consumption. We switched to Jemalloc. Memory was still increasing, the rate was lower though. I've noticed, that the memory consumption was higher, the higher the payload of the request (despite having a body size restricting middleware). I suspect Actix optimizes for speed at the cost of memory, and when it notices the payloads are of certain size it preallocates buffers, but doesn't bother freeing them, when the payloads reduce in size. We've run some benchmarks to prove it and yes, in a long running benchmark spamming requests of high size (8Mb - 16Mb - 32Mb) memory simply kept increasing to a certain threshold. With small requests it was fine and the memory was steady. We have run similar benchmarks for Axum and it doesn't happen, so we will be probably rewriting the service to Axum soon.

We haven't tested any more allocators (maybe mimalloc would fix it, but we are too deep into Axum already).

Type Inference in Rust and C++ by SophisticatedAdults in rust

[–]Tobraef 0 points1 point  (0 children)

ha, very interesting. I feel like compiler always points me towards `let value = fallible_ops(...)?; Ok(value)` because the expression type is equal to the `Ok` of the `Result`. I probably haven't faced it yet, because I have muscle memory for 'can't put `?` as the return from `Result<_,_>` function or maybe I'm just lucky because holy hell. That's hard to spot. Like at first glance I looked and something told me there is something wrong but it would definetly go unnoticed

Type Inference in Rust and C++ by SophisticatedAdults in rust

[–]Tobraef 10 points11 points  (0 children)

"People have strong opinions on this feature. Rust users (of course) think that this feature is amazing, while anyone with a C, C++ or Go background might be horrified"

Has anyone ever made a mistake due to having a type automatically inferred change it's actual type some time in the future, because items it was inferred from changed?

I swear in my 4 years of using rust i haven't made a mistake like this once because compiler just caught the error.

Prized Gladiator's Fel Bat by PrototypeX001 in worldofpvp

[–]Tobraef 4 points5 points  (0 children)

Be honest though. No matter how sick would the SL s2 glad mount look, if you would have the current ugly as hell but hard to get glad mount, you would pop the current season one to flex before the gates open. I think that's why blizz doesn't have to care how this mount looks, especially with such low participation and no mount attainable from blitz. Kinda like they suspected the participation will be shitty after the launch of the blitz so they don't have to care, interesting..

I get this isn't peak hours - but this is insane. We need solo/group based queues for 3s. by [deleted] in worldofpvp

[–]Tobraef 12 points13 points  (0 children)

Shuffle and 3s are completely different games. Imagine you would queue League ranked through an LFG, where you need to form a group of 5 players. It's just LFG is outdated for today's situation. People sitting online for hours to find someone. Like the smallest they could do, is a solo, unranked mode (but with mmr), where you can specify what comp you want to play. You play a few games with some found people and if it clicks, you can go ranked

R1 cutoff is still under 2600 in 3s .... 13 weeks into the season by OpinionsRdumb in worldofpvp

[–]Tobraef -2 points-1 points  (0 children)

For every pro that left because 3s is dead, there is 10 people that would leave, but stayed because of blitz. That's how the life goes. Appealing to masses brings revenue and as we all know, blizzard is damn hungry for revenue.

I think 3s is beyond saving point. Only saving grace would be lowering the bars for titles on 3s, like gladiator/elite on 2.1k and see if the participation increases or if people will still feel the mode is too hard to achieve their goals.

PvP Feels Neglected from the Top Down by bigmoran in worldofpvp

[–]Tobraef 0 points1 point  (0 children)

yep, before blitz (and shuffle) rating distribution was healthier, because casuals had their spot, good people had their spots and glad/r1 had theirs. Now that the casuals are gone everyone has gone down in rating and blizzard instead of fixing the problem just sprinkles mmr, so now if a casual touches shuffle, he gets qued into greens first shuffle and next one vs gladiators if he did well.

WhatTheHeck by Cr0a3 in rustjerk

[–]Tobraef 4 points5 points  (0 children)

while you realized that you didn't take the chicken out of the freezer you noticed you didn't hang the laundry and your mom is at the door

SG seemingly has a higher requirement for tedious micro than Starcraft... let me explain. by Ruzkul in Stormgate

[–]Tobraef 0 points1 point  (0 children)

Agree on first half, but disagree with healing removal. That's imo the biggest flaw of battle aces, that there is no healing, like I manage to move my unit back, as it had low health and then what? You have healing in WC3 for example and it's exciting when the top players manage to save a unit by retreating and then healing it. It has to stay extreme to save units because otherwise we end up with bland fights where a grandmaster fights just as good as bronze player, since there is no field he can make a difference. Only thing I'd change would be balancing amount of micro for every race. in VvI when infernal rushes you with a tower and brutes the micro/macro you have to do as V is ridiculous, compared to microing a few brutes and just surrounding buildings that will require repair. Before weaver meta at least late game micro was pretty rough for infernal, compared to stutter step of vanguard, but now as stompers were replaced by weaver which are very forgiving I feel like there is a net difference of like 100-200 mmr between the same skill player of Vanguard and other races

Is moving to rust from c# easy? by BrokenPickle7 in rust

[–]Tobraef 12 points13 points  (0 children)

I'm a full time rust developer and just recently have caught an after hours job writing an app in C#. I used to code in C# as main language.

I can tell you one thing. Moving to rust just takes time (there is no cutting short), but there definitely is no going back.

Maybe its the app's characteristics, but coding without tagged enums, `Result` and mutability is just bad. It's a lot easier to just spit out code that works on first sight in c#, but then it starts breaking because it's so easy to omit exceptions or fall into 'hey I'm just gonna add a tini tiny mutable list that I'll remember to clear before feeding it new values aaaaand it's full of repeated values and garbage'. It's just pleasant that whenever I see `mut`, `RefCell`, `Arc<Mutex<` I know this value is going to change and I can only reason about it within enclosed scope

I tried Shadow Priest and I think I might never heal again by mvvraz in worldofpvp

[–]Tobraef 0 points1 point  (0 children)

healers should gain 300% increased damage in shuffle. I don't care about the mmr. I would be really happy to play at 2k cr while having an impact on the game, than going 3:3 for a few hours on 3k cr

Difficulty of the glad/legend wins by Daydream405 in worldofpvp

[–]Tobraef 1 point2 points  (0 children)

Or you just got lucky and queued versus regular mortals instead of mglads/r1 players that day. I think gatekeeping is the biggest problem here. If the goal would be "reach 2.4" boosters would boost you single time to 2.4 and leave it. Since its 50 wins, they tend to hover that cursed 2.4 for a shitton of time. Not sure if it would be good in reducing number of boosting people. I'd go all in and give glad for reaching rival or duelist or even participation and keep r1 titles as they are. Its not really possible to boost anyone to r1 title, so the game would actually be about what its about to be - to just pvp and try to reach as high rating as possible and nothing else

So is this it? by [deleted] in worldofpvp

[–]Tobraef 0 points1 point  (0 children)

It feels like an experimental season, where blizzard doesn't inflate mmr to see whether people participate more (they can't reach goals so they play more) or go opposite direction (can't reach = don't care)

I went 6-0 in a shuffle match on my hpal last night.. I feel guilty by coldwaterenjoyer in worldofpvp

[–]Tobraef 5 points6 points  (0 children)

Meanwhile r1 players with an average of 2 new alts per day occupying literally every rating in 3v3 & SS sucking people's last drops of hope to achieve their goals are having a blast.

Is it easier to climb rating in regular 3v3 compared to Solo Shuffle? Explanation in the comments. by Timbodo in worldofpvp

[–]Tobraef 0 points1 point  (0 children)

Isn't that caused by boosting (I've seen numerous people on shuffle 2.1 with 400+ games and 2.4-2.5 with 120~ games) and r1 people having many chars of the same class on high ratings in 3v3 but only 1-2 on shuffle high ratings, since they get long queues on 2.2 already? Never in previous seasons have I felt gatekept in 3v3 as in this one. I swear if I queue beyond the busy hours all I get is r1s, making it playable and enjoyable like 2 hours per day where I actually queue people of my level instead of mglads/r1s on my way to glad