• 0 Posts
  • 34 Comments
Joined 1 year ago
cake
Cake day: June 30th, 2023

help-circle
  • Because you would be using std::shared_ptr<> rather than a raw pointer, which will automatically deallocate the memory when a shared point leaves the scope in the last place that it’s used in. Along with std::atmoic<shared_ptr> implements static functions that can let you acquire locks and behave like having a mutex.

    Now this isn’t enforced at the compiler level, mostly due to backwards compatibility reasons, but if you’re writing modern c++ properly you wouldn’t run into memory safety issues. If you consider that stretching the definition then I guess I am.

    Granted rust does a much better job of enforcing these things as it’s unburdened by decades of history and backwards compatibility.





  • i’m having a lot of trouble with doing so because i have a very rough history with jobs ( quitting without notice many times when i was much younger )

    The neat part about writing your resume is that you can leave out parts of your employment history that make you look “bad” (kinda like japan does with WWII). So let’s say you had 4 jobs over the course of a year, skip the two jobs that you had for the shortest amount of time. After that do some stretching, ex say you started a job a month earlier than you did and tack on a ~month - month and half to the end of it. Now never say you were fired or quit for no reason, you could say that it was a temp position from the start cause your employer had more business that time of the year and that there was no prospect of staying longer from the very start. Try to keep the gaps between jobs small (I’d say two - three months at most). Now if you have a lot of jobs where you quit early on you could just skip that entire part of your employment history and say you starter working later in life. Employers generally don’t care about how old you were when you got your first job, and they have no way to get your employment history (some government jobs can and will check tho I think) so don’t mention stuff that makes you look bad. And yes this will shorten your work experience but being inexperienced is more desirable than frequent job changes on a resume (dumb af, ik, but it is what it is).

    Now regarding embellishing how long you worked at a certain place, the further back the job was the better. Employers will typically only check with your last one or two employers if they check at all ( again some gov jobs might be an exception). One more tip, most place won’t keep a digitalized employee database where they could easily search up your contract, so when embellishing try to avoid jobs that you believe might have kept digital records ( like chains etc). A lot of customer facing jobs have a huge turnover anyways so there’s a good chance that there’s noone you worked with that stil works there, let alone rembers you by name to be able to dispute what you said on your resume. Lastly if you get confronted about embellishing the time you worked a specific job, there’s two things you could do: I didn’t have my old resume on hand since I haven’t worked in 2yrs so I wrote it from memeory or (better imo if you can project confidence during the interview and if you claimed you started earlier than you did) you can claim that you were on a trial position before signing the full contract so the one they looked up probably doesn’t reflect your actual time there. If you can sell this with enought confidence they won’t bother calling again to check, as it’s a perfectly reasonable explanation and they already confirmed you worked there. If you aren’t feeling confident about lying about any of these things, first lies by omission are much easier to sell and second just practice with your friends/parents.

    Now depending on how confident you are there is another approach (which is more effective imo and it’s what I did). You could only list a year on your resume and then just positions and places where you worked during that year (again feel free to omitt some jobs here) without specifying the duration. This lets you wing it during your actual interview where you can meet, judge and lie just enough based on the person interviewing you. It also lets you avoid some lies that would be easily exposed by not telling them in the first place (ex. If your interviewer worked at the place you were gonna lie about there’s a good chance they’ll mention it when the topic of that job comes up, so you just don’t lie about that one). Note that some jobs might not even invite you to an interview without specifying the length of employment at each position, but in such cases, of you notice you aren’t hearing back from them at all, you could just reapply with version according to the first approach I gave. Fixing a resume and reapplying is super common and you aren’t really losing anything (except some time ofc).

    As for the two year gap as some have suggested saying that you worked freelance is an option. If you aren’t feeling confident with that approach you could say that you had to take care of a sick/injured parent/relative, they can never get their hands on their medical records and asking about details would feel kinda rude for most people (but not all, so be prepared for questions just in case, but also know that if the question seems to detailed refusing to answer would be pretty normal) so that might be an easier sell.

    Anyways hope you find some of this usefull, feel free to ask if you have any questions.





  • At the (SQL) database level, if you are using null in any sane way, it means “this value exists but is unknown”.

    Null at the SQL means that the value isn’t there, idk where you’re getting that from. SQL doesn’t have anything like JS’s undefined, there’s no other way to represent a missing value in sql other than null (you could technically decide on certain values for certain types, like an empty string, but that’s not something SQL defines).



  • Not riverboat businesses, rather we have plenty of restaurants and clubs on rafts on the Danube river in belgrade.

    But that’s the least of our worries rn, we had elections last week and the current president and government organized massive theft of the elections. There have been massive protests for a week since. They drove people from Bosnia to vote in our elections, hell the Bosnian minister of security voted in the Belgrade mayoral elections and proudly posted about it on twitter. Apparently he’s a resdient of Belgrade lol. Last night they sent a thousand cops at us to beat us up and break up the protest. Today student orgs are blocking infrastructure in Belgrade, and from 6pm we’re going to the parliament building again to block it off.

    Our president claimed that there were barely a thousand people gathered when he spoke through state media:

    For the uninitiated our current president is Aleksandar Vucic, also known as Milosevic’s minister of propaganda.



  • Linking to the great firewall article is completely nonsensical in this context, and you would be aware of that if you had bothered to open the link in my previous comment.

    just so we on the same page, I’m talking about data is gathered, not whether it’s protected ( legally ) , idc

    Which is exactly what I’m talking about, which you would again know if you read what I linked.

    I’m not a lawyer but I think somewhere in the DSL it mentions data is collected from companies within China and outside

    It doesn’t, what I linked to discusses the very laws you are talking about at length if you are actually interested rather than just spouting nonsense like “it’s in the constitution”.

    Just so we’re on the same page you have no idea about Chinese laws on gathering, processing and handling of data, but you heard it somewhere, repeat it, won’t bother to research further and then claim there’s no propaganda.

    but why is it hard for you to swallow, knowing that US based companies ( with all the power they have, lawyers… Etc ) comply with data collection laws

    Because they don’t. Evidenced by all the fines the EU is handing out to google, meta, etc. You could also look to all the stuff Snowden blew the whostle on. Do you think they just stopped doing mass surveillance on a global level?


  • especially when you know that that country is heavily invested in cyberwarfare, espionage and censorship.

    Which country isn’t? The US does more spying on its own citizens than China could ever dream of doing. The UK is currently trying to pass a bill to break e2ee.

    Even their constitution states that every Chinese product ( software or hardware ), must send data it collects to the government.

    This is false as far as I know, can you provide a source? China has some of the strictest laws on data protection, you can read more about it here: https://academic.oup.com/idpl/article/12/2/75/6537091?login=false

    This is like Apple saying your Android spies on you… lol ( I believe they did say that )

    Not sure where you were going with this. My point is you don’t hear any of these concerns raised about any other and as we both agree it’s not something unique to China.

    The real reason why you hear a lot of talk about moving production out of China lately is simply because Chinese manufacurers have narrowed the the gap a lot in terms of chip designs and are becoming an actual threat to western comanies’ profit margins.


  • Now, is all these news nothing but propaganda?

    Literally yes, not because chinese companies don’t spy on you, literally all companies spy on you. You prove it by linking a video about samsung. Google and Apple do the same shit. The fact that software is riddled with spyware has nothing to do with the hardware being manufactured in China. China isn’t some big bad, moving production elsewhere will change nothing. Lastly you should be far more concerned about western companies spying on you, the ones that cooperate with your local government and leave backdoors in their OS for NSA and the like. What do you think the CCP is gonna do to you? You’re outside of their jurisdiction completely.

    So yes it js just propaganda, in a sense that it’s trying to make you think this kind of behavior is somehow unique to Chinese companies or a result of tech being manufactured in China.


  • Using something like DOS is neither preferred nor more safe. Last time MS DOS received a security patch was 23 years ago. It’s open to pretty much any security vulnerability you can think of. In case you depend on a DOS app it’s preferable to run it on a modern OS that is DOS compatible, windows 10 32bit for example (I believe Win11 still has support). Or even better sandboxed in an emulator like DOSBox on a more secure OS.



  • Exactly this, you need to ground this type of argument in material analysis. Getting into a moral grandstanding contest with libs is an extremely pointless waste of time. Noone likes civilian (debatable how innocent you can claim israeli citizens are when they are actively participating in settler colonialism) casualties, what’s the cause? How do you stop it? By dissolving the illegal state of Israel.


  • Saizaku@lemmy.dbzer0.comtoMemes@lemmy.mlDefediverse
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    You said “directly responsible,” which means all or most of the blame in a given situation.

    No it doesn’t, it means exactly what it says. The actions of the US directly led to the war.

    I just said Russia was solely responsible, because they chose to invade.

    Completely oblivious take. Tell me why did the US arm and train ultra rightwing groups in ukraine well before the war started? Going as far back as 2013. What was the goals there exactly? You should take your own advice and read a history book cuase the US has been destabilizing regions like this for a while. And every single time it has led to war in the region where they did it. So yes, the US is directly responsible, because this is exactly what they wanted.

    just stop licking Putin’s boot

    Is this supposed to mean anything? I’ve never said a positive thing about Putin in my life. Two things can be bad at once, trying to boil everything down to “Russia bad, NATO good” is completely disingenuous. Furthemore it’s detached from reality. Both are bad, a critque of NATO and the US for the part they played in making tha war happen isn’t absolution for Russia invading and escalating it to war.

    And the reason all that is important is because, like I said, this isn’t anything new. The US has been doing the same thing for decades and will keep doing it as long as people like you keep ignoring it and spouting such nonsensical takes.


  • Saizaku@lemmy.dbzer0.comtoMemes@lemmy.mlDefediverse
    link
    fedilink
    arrow-up
    7
    arrow-down
    13
    ·
    edit-2
    1 year ago

    You libs are the absolute fucking worst. When did I say that the US is solely responsible? Ofcourse the majority of the blame lies with Russia and Putin, that doesn’t excuse what the US has done to contribute to this war happening. And this isn’t some new thing, they have been doing this for decades and constantly destabilizing other regions for their own profit. You should try for once to think a bit deeper about an issue than the absolute surface.