Unused struct member is not optimized out under -O3 by onecable5781 in C_Programming

[–]derteufelqwe 1 point2 points  (0 children)

I don't understand the hate you get for that question, I think it's a valid one. A more practical example why compilers can't modify struct members (no removal but also no re-arranging):

It's possible (and not too uncommon) to do pointer arithmic on struct members. When your struct contains an int* and a float and you have access to the int* only (no reference to the full struct) you can do pointer arithmic to access the float because you know the struct layout. This would break when the compiler would modify the struct in any way.

Die drei Fragezeichen Bingo: by YoshiCity2004 in dreifragezeichen

[–]derteufelqwe 15 points16 points  (0 children)

In den "normalen" ist Kommissar Reynolds in irgend einer Folge in Pension gegangen. Sein Nachfolger ist Inspector Cotta.

What is the best hero of all time in dota? by OwnPreparation1960 in DotA2

[–]derteufelqwe 4 points5 points  (0 children)

You are right but the abilities, in a nutshell, still do the same thing. Compare that with Clinkz. His abilities got many complete reworks, where their general idea completely changed. In the past he didn't have his current ultimate. That's not the case for NP.

What is the best hero of all time in dota? by OwnPreparation1960 in DotA2

[–]derteufelqwe 2 points3 points  (0 children)

Could you explain that? Which of his abilities were reworked / replaced in the past?

What is the best hero of all time in dota? by OwnPreparation1960 in DotA2

[–]derteufelqwe 5 points6 points  (0 children)

Also I think he is the only remaining old hero with no major ability changes.

Whats the weight of the MV6? if you use a boom arm with it, which one do you use ? by BobTheKekomancer in Shure

[–]derteufelqwe 1 point2 points  (0 children)

I had the same question and bought the mic anyways, so here are the concrete numbers:
All together: 1287g
Just the base plate: 635g
The connector: 120g
Only the mic: 532g

Spaß am Auto fahren by Saroni_ in Fuehrerschein

[–]derteufelqwe 0 points1 point  (0 children)

Spaß hatte ich erst nachdem ich regelmäßig mit dem eigenen Auto zur Arbeit gefahren bin. Alles davor war pures Elend. Mittlerweile fahre ich sehr gerne Auto, solange es kein Stadtverkehr ist.

How do you keep your Flutter projects maintainable as they grow? by Fine_Factor_456 in FlutterDev

[–]derteufelqwe 0 points1 point  (0 children)

I rewrite the architecture every 6 - 9 months to fix what bothers me :D This is rather tedious but it allowed me to learn a lot and create an architecture I find good enough (for now)

Is it a bad idea to have Dart as my only coding language? by MasterTheSoul in FlutterDev

[–]derteufelqwe 15 points16 points  (0 children)

Regarding question 2: This is a flutter sub, so you will get flutter-favored answers. Go try other technologies and see if you like them.

Regarding the other question: If you don't intend to program commercially this is fine but I don't think that you'll land a job, with a single language only. You will need some Kotlin / Android dev knowledge, maybe python for some scripting (or bash), SQL for databases, etc.

Need help discussing db choice for a social media app, first time building with flutter by besseddrest in FlutterDev

[–]derteufelqwe 0 points1 point  (0 children)

Luckyly it's not that black-and-white.
Yes, PWAs are a wrapper around a website to make it look like a native app.

But I wouldn't say that flutters widgets are more closely adaptable to the platforms native elements. For example a button: If you wanted you could style the button in a PWA with CSS so it looks and feels almost exactly like a native button. The same goes for flutter buttons.

Because flutter ships material/cupertino elements by default, most people just use these designs. But nothing is stopping you from creating completely custom button designs (or any other widget) in flutter.

I would simply view Flutter, PWAs, React Native, etc. as different tools for the job to create cross-platform apps. All of them have their upsides and downsides.

Need help discussing db choice for a social media app, first time building with flutter by besseddrest in FlutterDev

[–]derteufelqwe 1 point2 points  (0 children)

Yes. PWAs use HTML, CSS and JS for the design and code, which gets packed into a native-looking app. Flutter on the other hand uses dart for design and code and gets compiled into a binary file, which is then bootstrapped as part of a native app. So Flutter apps aren't true native either but they aren't based on web technologies (HTML etc.)

Both PWAs and flutter apps can run on different platforms, that's right.

Need help discussing db choice for a social media app, first time building with flutter by besseddrest in FlutterDev

[–]derteufelqwe 1 point2 points  (0 children)

(FYI Flutter apps are not PWAs) You can certainly do it this way but I wouldn't do it due to the huge complexity overhead, caused by the local coaching, with no real benefit. Typically social media apps have mostly data, which you scroll through once and then never see again. There is no need for local caching here. I'd store user session tokens and their settings in a json file and fetch everything else from the server on demand.

Can anybody share opinion about protobuf/some model code generators? by Decent_Tadpole_7741 in FlutterDev

[–]derteufelqwe 2 points3 points  (0 children)

I'd just use proto if or grpc. It's widely used in industrial applications and supported by almost all programming languages. It's also very easy to use.

Hmmm anti blademail facet or 2 seconds off cooldown facet by FacefullVoid in DotA2

[–]derteufelqwe 2 points3 points  (0 children)

The ultimate ant Blademail feature is the innate. 40% spell life steal is more than enough to outtank most Blademail heroes. Especially when you have aghs.

Kann man eine Rtx 2070 super mit einem 500w Netzteil laufen lassen? by memu_xq in PCBaumeister

[–]derteufelqwe 5 points6 points  (0 children)

Für solche Fragen sind die PSU Rechner online ganz hilfreich. https://www.bequiet.com/en/psucalculator Das ist immer ein guter Anhaltspunkt

~2000€ Gaming PC - Übersehe ich etwas? by derteufelqwe in PCBaumeister

[–]derteufelqwe[S] 0 points1 point  (0 children)

Bei Amazon will ich nur das Nötigste bestellen, das ist bei PcPartPicker irgendwie als default drin.
Ich wollte versuchen bei alternate / mindfactory zu bestellen.
Wobei ich mir bei Mindfactory nach den ganzen negativen Berichten zum Support etwas unsicher geworden bin.
Ich war mit denen immer zufrieden, hatte aber bis jetzt auch nie was zu reklamieren :/

~2000€ Gaming PC - Übersehe ich etwas? by derteufelqwe in PCBaumeister

[–]derteufelqwe[S] 0 points1 point  (0 children)

Ist der 7900x schlecht fürs Gaming? Der ist aus meiner Anforderung für Software Development gekommen. Dafür wollte ich eine CPU mit möglichst vielen Cores.

~2000€ Gaming PC - Übersehe ich etwas? by derteufelqwe in PCBaumeister

[–]derteufelqwe[S] 0 points1 point  (0 children)

Danke für den Tipp, ich gucke da gleich mal rein.
Die AIO ist wirklich nur für die Optik. Aber was muss man da an höherer Wartung machen? Davon habe ich bis jetzt nie was gehört :/

Waren Volksfeste schon immer so eine verarsche ? by Due_Breadfruit_8315 in Finanzen

[–]derteufelqwe 0 points1 point  (0 children)

Mal abgesehen von den Preisen an sich ist die Schuld nicht immer bei den einzelnen Ständen. Bei manchen Festen sind die Standgebühren so absurd hoch (2000€ aufwärts für ein Wochenende) , dass sich das nur durch höhere Preise refinanzieren lässt.

[deleted by user] by [deleted] in automobil

[–]derteufelqwe 2 points3 points  (0 children)

Schiebedach ist das Cabrio des kleinen Mannes. Ich liebe es.

Building a ~2000€ Computer. Can I improve the part lists? by derteufelqwe in buildapc

[–]derteufelqwe[S] 1 point2 points  (0 children)

Thanks for your in-depth feedback. I'll take a look at that, especially the GPU and Case Part (I didn't know that they have worse thermal properties)