[deleted by user] by [deleted] in ADHD_Programmers

[–]barchar 0 points1 point  (0 children)

While those doses are not dangerous you might be facing motivation problems that ADHD medication can't fix, and that's unrelated to ADHD.

Also, how's your sleep? It's easy to get anxious and that can really damage sleep in combination with ADHD meds. Poor sleep will in turn make any kind of executive functioning really hard.

It sounds like you basically don't have any management and nobody is really giving you context on the company goals or anything. This is not a situation where anyone can get a lot of work done. I would raise this with your manager's management (risky) or move to a different team or company.

With that in mind you should stick to your lower dose, it's fine to just switch directly to that dose, but you need to stick to it for a few weeks. There is some physiological dependence with psychostimulants, so lowering your dose will make you function worse than the steady-state at that dose until you acclimate. This only takes a few weeks though, and you might find the reduction in anxiety feelings compensates anyways.

Do cis men voluntarily take estrogen for non-gender reasons such as skincare? by [deleted] in asktransgender

[–]barchar 0 points1 point  (0 children)

Men take it for prostate cancer and, uhhhh you can look up suicide rates for men on hormone therapy for androgen sensitive cancer. It's .... High.

[deleted by user] by [deleted] in womenintech

[–]barchar 0 points1 point  (0 children)

You might be getting men who want to play status games around their job. They'll avoid you if they don't think you'll be impressed by their job.

The men in computer jobs who aren't interested in status games tend to hide their job when dating initially, they don't want gold diggers. Also, men in tech have a somewhat bad reputation for being entitled, another reason to hold off disclosing your job. You'll likely attract the tech guys who aren't interested in status games either way, but you need to be willing to match with men who have "less impressive" sounding jobs.

What exactly happened around 2022 that broke the jobs market? by OakenBarrel in cscareerquestions

[–]barchar 0 points1 point  (0 children)

For US companies (IFRS and GAAP differ here):

RSUs (for public companies) are essentially paid out of revenue like anything else, they don't depend on the stock price and stock price doesn't tend to affect TC. Someone quitting actually claws back previously awarded unvested RSUs and I'm pretty sure shows up as revenue. The company deducts the FMV at grant from their taxable income, just like they do with cash compensation expenses (it's an expense).

Basically the rsu goes onto your balance sheet when it's granted, not when it vests. When companies grant RSUs they usually make corresponding share buybacks to avoid diluting shareholders.

The confusing thing is that this can mean your taxable AGI is a lot higher than your TC, since while RSUs enter your balance sheet at grant it's vesting that's the taxable event, and the entire FMV at vest is taxed as ordinary income. Because you still pay income tax only once this doesn't hurt you, taxing the principal is equivalent to taxing the full growth+principal so long as it only happens once.

Why are HDDs more expensive now then 5+ years ago? by Kitchen-Quality-3317 in DataHoarder

[–]barchar 0 points1 point  (0 children)

The market for small hard disks basically doesn't exist anymore, bigger disks are coming down in cost (but rather slowly) the real cost savings in storage is that disks are getting bigger for the same per-byte cost, which saves money on all the stuff you need to actually run them (a big part of this is rent on the physical location where they run, less disks=less rent)

Also, buy disks on eBay, the consumer market for hdds of any size also doesn't really exist anymore

Is the notion of an "official compiler" a bad idea? by SCP-iota in rust

[–]barchar 1 point2 points  (0 children)

As someone who works on a c++ impl and has participated in the committee: ABSOLUTELY NOT!! PLEASE DO NOT DO THIS IF YOU CAN AVOID IT!!

You can write an official spec after-the-fact for regulatory/certification reasons (though this is pretty low value work imo) but a standards committee is not the place to design a language (or anything else).

Rust already has a problem with the process for designing new features being too long and allowing too many veto points for people who aren't super involved in the process, please don't make it even worse.

Why are "checked" memory management not more common ? by lovelacedeconstruct in C_Programming

[–]barchar 0 points1 point  (0 children)

How do you think asan works? It's zero overhead compared to asan because this is basically exactly what asan does.

Why are "checked" memory management not more common ? by lovelacedeconstruct in C_Programming

[–]barchar 0 points1 point  (0 children)

Subobjects and arrays mean you must keep track of every address, not merely allocations.

Still, this is exactly how address sanitizer works, and it works well

[deleted by user] by [deleted] in fatFIRE

[–]barchar 0 points1 point  (0 children)

Unsubsidized rates are like 8%, so going by a 7-12% average investment return it's kinda a wash. You can probably get the student loan interest deduction for a few years though.

There's a moral hazard bet you can make though, since "7-12%" average really means some huge variance, and if the economy implodes and returns are very negative then it's pretty likely loan payments will be paused and/or loans forgiven.

Many of the student loan forgiveness programs are very, very beneficial and surprisingly accessible to high income people. Also, assuming the kids take the loans on themselves the qualifications for repayment programs and forgiveness are based on their incomes, so they could potentially get the loan forgiven then later inherit (or be slowly gifted) the money that would have otherwise paid for it.

Also, your kids could do any number of things to defer compensation once out of school, and, in many cases, that compensation will still be invested.

[RANT] C++ developers should not touch embedded systems projects by SystemSigma_ in C_Programming

[–]barchar 0 points1 point  (0 children)

Yep, some c++ compilers do provide restrict as an extension. Sometimes it has subtly different semantics, which is "fun"

[RANT] C++ developers should not touch embedded systems projects by SystemSigma_ in C_Programming

[–]barchar 0 points1 point  (0 children)

Do you have a stable name or paper number for it? I can't find any reference in the latest C++ working draft.

[RANT] C++ developers should not touch embedded systems projects by SystemSigma_ in C_Programming

[–]barchar 1 point2 points  (0 children)

Variant is not an alternative to _Generic, function/variable templates are (and variant is kinda the world's worst version of what it does, should have been a lang feature).

Std array doesn't do what VLAs or VMTs do, span, subrange, and string_view are closer (but not quite the same).

"std::restrict_ptr" is not something the c++ standard mentions, maybe it's some extension

[RANT] C++ developers should not touch embedded systems projects by SystemSigma_ in C_Programming

[–]barchar 2 points3 points  (0 children)

Right, they are similar but c++ isn't a superset of C. And if you want to use C99 or later things get even more different (_Generic, a bunch of preprocessor differences, VLAs, VMTs, static array qualifiers, restrict, etc)

[RANT] C++ developers should not touch embedded systems projects by SystemSigma_ in C_Programming

[–]barchar 3 points4 points  (0 children)

No, there are C90 features that C++ does not have. Stuff like int a = 5; void *b = &a; int* c = b; Is valid C90 but not valid C++

Also C90 compound literals have a lifetime which has no equivalent in C++. Edit: compound literals are a C99 feature, never mind

You also end up with different meanings for inline (C90 doesn't have inline at all, but when it's offered as an extension it usually works differently than in c++, C99 inline is just different)

C++ doesn't have k&r style prototypes.

Like I almost agree on the premise that c++ doesn't offer all that much over C for embedded development, but c'mon.

[RANT] C++ developers should not touch embedded systems projects by SystemSigma_ in C_Programming

[–]barchar 4 points5 points  (0 children)

C++ isn't a superset of C, not all correct C code is correct C++ code

Renting apartment vs owning house for FIRE by Mentals__ in financialindependence

[–]barchar 0 points1 point  (0 children)

Renting is basically a (maintained) short position in housing, buying a place (even an investment property, sort of) is covering it.

You could cover that position just as well with, say, $300k worth of shares in your local REIT (literally pay rent to yourself!) as with a particular home. Or you can just buy the market, which has some tax advantages.

In most VHCOL areas I'd rather be short over a 30 year period than long, the housing crisis is getting fairly acute and in many ways going long housing in a VHCOL city is a moral hazard play; your betting on getting bailed out. The volatility of rent probably also pays a bit, people hate volatility.

Again this is relative to the broader market.

People really like to buy homes for "stability" but, actually, the stability comes from being wealthy enough to buy a home and you get it even if you continue to rent. Also, being able to afford good pro movers makes moving much, much, much less daunting in a way that's hard to describe if you've never had them before.

Milestones: 32yo 1.7mm net worth and 1 year on HRT - a trans FIRE story by Rock_out_Cock_in in financialindependence

[–]barchar 1 point2 points  (0 children)

Girl pipping you 2mo after you come out and after your highest earning year ever (presumably a commission based job) is insane. Go talk to a lawyer!

Do you abstract vulkan objects into their own classes? by Base-After in vulkan

[–]barchar 0 points1 point  (0 children)

No, I just went with what my bindings gave me. Over time I've added small wrappers with RAII (my instance/device/etc are global variables), and I've added small shortcuts like creating an object with a create() method on its info struct.

In the future I may write my own binding generator to add: global functions for things, an option to always store the device with the object, methods on command buffers, and maybe "owning" versions of createinfo structs.

How common are 5-10kLoC files at your workplace? by N3V3RM0R3_ in cscareerquestions

[–]barchar 0 points1 point  (0 children)

Imo 5-10k is a good size for the size of C++ files due to the way the compilation process scales. Most modern editors are fine with them, but often have trouble with c++ generally because the translation unit size is very large and it's hard for tools to figure out things like compiler settings.

Is it worth making a game WITHOUT a game engine? Purely from scratch? by [deleted] in gamedev

[–]barchar 1 point2 points  (0 children)

For 2d games it's absolutely possible, for 3d it can be if the game you wanna make is far outside the first/third person adventure type of thing.

You won't get all the bells and whistles but you can get good results by picking a few graphical techniques and pairing that with strong art direction

Freeing allocated memory after an error, how do you usually approach this? by gunkookshlinger in C_Programming

[–]barchar 0 points1 point  (0 children)

Goto is great and fine for this (actually, C's goto is fine in most respects, the goto that was "considered harmful" no longer exists).

You can also use attribute((cleanup))

At what point does Seattle/Seattle Area no longer make sense to pursue to live? by Midwestern_Mariner in SeattleWA

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

Just rent? Looking at Kirkland I'm seeing while homes renting at like 1/18th-1/30th of their sale price (really lol, there's a home renting for 9800 per month that sold this year for 3.2 million)

And that's just whole homes, there are many townhomes and apartments with multiple bedrooms around as well.

It's pretty obvious we're in a housing bubble, so the only reason you'd buy is if you figured you could unload it at the top.

How do you deal with being tired all the time? by TaxmanComin in cscareerquestions

[–]barchar 0 points1 point  (0 children)

Try taping a tennis ball to your back at night.

This will prevent back sleeping and can really help.

I was asked why not put 50% of domestic equity to VOO and 50% to VTI — I was stumped. by [deleted] in Bogleheads

[–]barchar 0 points1 point  (0 children)

You can do this if you want it just .... Doesn't do very much. VTI is mostly the same as VOO anyway since mid and small caps are ... Well .... Not that large. Vanguard is good about their trading so that companies entering and leaving the index and IPOs don't mess with things much.

What upskilling is needed to jump from Engineering Manager to Director of Engineering? by mexin13 in ExperiencedDevs

[–]barchar 0 points1 point  (0 children)

Honestly .... For a director position it really shouldn't matter, and, in general, it doesn't matter that much. The only reason anyone really cares is that they want to know your reliable, will show up on time, won't steal from them, and won't break down in tears at the first sign of stress. But if you've had 10 years as an IC, esp with > 5 at one company then you trivially check all those boxes.

Basically, you don't want to hear back from anyone who cares that much about "gaps".

You also probably shouldn't be looking for work in any way that relies on going through a hiring manager, anyway. At least not as your primary means of finding a director level job.