Grandmastér Trû

1.6K posts

Grandmastér Trû banner
Grandmastér Trû

Grandmastér Trû

@GrandmasterTru

(C++ | OpenGL | CMake | Bash | MacWinNux | True | Beer | more C++ | GLSL | Outdoor | Berlin | /dev/null)

Berlin Katılım Kasım 2013
358 Takip Edilen130 Takipçiler
Sabitlenmiş Tweet
Grandmastér Trû
Grandmastér Trû@GrandmasterTru·
@paniq @rygorous 0.5 - the third most frequently used constant after 0 and 1. 4 shalt thou not count, neither count thou 2, excepting that thou then proceed to dividing 1 by it and use it as a multiplier for further calculations.
English
0
0
2
0
Grandmastér Trû
Grandmastér Trû@GrandmasterTru·
@br Support the user to be more productive in basically every area: automation, entertainment, research, education, art, marketing, bookkeeping... you name it.
English
0
0
2
51
Brenda L Romero
Brenda L Romero@br·
A serious question for professional programmers: What is the purpose of programming? I am looking for one- or two-sentence answers for an essay. (It's surprising how challenging it is to find progressional programmers, even language creators, talking about this basic concept.)
English
303
15
114
104.4K
bmcnett
bmcnett@bmcnett·
What else we got to drink, graphics people?
bmcnett tweet mediabmcnett tweet media
English
24
10
92
17.1K
Grandmastér Trû
Grandmastér Trû@GrandmasterTru·
@ChrisGr93091552 Oh I generally agree that the notion that a function takes N arguments but returns none or one value is a bit anachronistic. This may very well be a real issue in more modern codebases. I was just wondering about the practical implications in the general case.
English
0
0
0
0
Grandmastér Trû
Grandmastér Trû@GrandmasterTru·
@ChrisGr93091552 I would have thought that this is less of an issue with inlining - shouldn't this result in "optimal" register usage? So if this was the case, hot code (inlined) wouldn't be a problem and cold code wouldn't be either because going thru memory shouldn't have a big impact on perf.
English
0
0
0
0
Grandmastér Trû
Grandmastér Trû@GrandmasterTru·
@MarcusPretzell @levikrasnitz @RvonButler Ich finde es schon schwer dem Kontext eines Satzes zu folgen, wenn darin fünf Mal explizit Frauen und Männer getrennt genannt werden. Das verkompliziert die Sprache meiner Meinung nach vollkommen unnötigerweise.
Deutsch
1
0
1
0
Grandmastér Trû
Grandmastér Trû@GrandmasterTru·
@MarcusPretzell @levikrasnitz @RvonButler Naja alles zu Doppeln, gerade bei Berufsbezeichnungen, ist schon nicht so normal. "Liebe Ärzte" z.B. halte ich für völlig ausreichend - habe es persönlich nie auf Männer begrenzt. "Sehr geehrte Damen und Herren" hingegen ist Standard. Muss man ja auch nicht im jeden Satz doppeln.
Deutsch
1
0
1
0
Marcus Pretzell 🥨 🇦🇷
Marcus Pretzell 🥨 🇦🇷@MarcusPretzell·
Gendern weicht Gehirne auf. Der Herr General erklärt wichtigtuerisch, dass er gendere. Tatsächlich redet er seine Soldaten mit „Soldatinnen und Soldaten“ an. Die Nutzung beider Geschlechtsformen unter Zuerstnennung der Damen ist allerdings Jahrhunderte alt. Normal! @RvonButler
Marcus Pretzell 🥨 🇦🇷 tweet mediaMarcus Pretzell 🥨 🇦🇷 tweet media
Deutsch
9
7
119
0
Niels Pfläging | Deutsch
Niels Pfläging | Deutsch@pflaegingniels·
Wahnsinn, wer heutzutage so alles transformiert, Transformationen begleitet, Transformationen führt usw. Bei all diesen Transformationen muss es einen ja wundern, dass sich so wenig verändert. Oder? #transformation #solutions #inecht
Deutsch
4
2
17
0
Grandmastér Trû
Grandmastér Trû@GrandmasterTru·
@iquilezles I would move all functions into base. There is no standard way of doing what you ask for and all hacks should be avoided if the solution is so simple, imho.
English
0
0
0
0
Grandmastér Trû
Grandmastér Trû@GrandmasterTru·
@Senfdazugeber4 @tagesschau Danke für den Senf :) Die Werbung wird pro Ausspielung bezahlt. Die Raten sind natürlich nachts günstiger wegen geringerer Reichweite. Aber sie helfen ebenso, Miete und Instandhaltung zu finanzieren. So lange die Miete nicht ebenfalls korrigiert wird sind Verluste zu erwarten.
Deutsch
0
0
1
0
Der Gelegenheitssenfdazugeber 🤓
Der Gelegenheitssenfdazugeber 🤓@Senfdazugeber4·
@GrandmasterTru @tagesschau "Programmierung" der Inhalte macht ein Content Manager in einem Baukastensystem so nebenbei. Klar müssen die Systeme gebaut und gewartet werden, aber durch das nächtliche abschalten würden erstmal keine Arbeitsplätze verloren gehen. Geht ja nur um eine zeitliche Begrenzung.
Deutsch
2
0
0
0
Grandmastér Trû
Grandmastér Trû@GrandmasterTru·
@mknejp It does indeed look a little user-hostile. But to be fair - they offer a... workaround. ;)
English
0
0
0
0
Miro Knejp
Miro Knejp@mknejp·
The GCC development community is really one of a kind. User: please add an option for <use case>, Clang has it and it is very useful. GCC dev: no, the option is useless. go away. gcc.gnu.org/bugzilla/show_…
English
2
2
16
0
Grandmastér Trû
Grandmastér Trû@GrandmasterTru·
@FlohOfWoe @tom_forsyth @poole_brian Why is it a problem? Sure a nifty UI thingie can go a long way. But people may wanna decide. To be honest I hate fucking autocompletes, autoformats, autowhatevers. I just want to type. IDEs were necessary for Java crap (import shit) but they just annoy me with pseudo-usability.
English
0
0
0
0
Volker Beck 🐋 🇺🇦🇮🇱🎗️
Wer #trans* angreift, meint es auch mit Lesben & Schwulen nicht gut. Hier ein weiterer #Vollbrecht Fan:
Markus Kühbacher@Kuehbacher

@LyllithB @Volker_Beck @Frollein_VogelV @Volker_Beck sollte lieber dafür sorgen, dass die Ausbreitung der #Affenpocken eingedämmt wird. Hier ist nämlich vor allem der männliche Wirt, der Sex mit anderen Männern hat, das Problem. Gendern ist hier ein echtes Problem der Risikokommunikation.

Deutsch
107
4
46
0
Grandmastér Trû
Grandmastér Trû@GrandmasterTru·
@OERRBlog Sie lassen bewusst eine kleine Pause, um *klick*. Ich konnte mir das nicht länger zumuten. Wie geht es weiter? "Um den Leuten mit ihrem Scheißdreck auf penetrante Art und Weise auf den Sack zu gehen"?
Deutsch
0
0
2
0
ÖRR Blog.
ÖRR Blog.@OERRBlog·
In den ZDF Logo Kindernachrichten wird Werbung fürs Gendern gemacht, obwohl eine große Mehrheit die Gendersprache ablehnt. #ReformOERR #OERRBlog
Deutsch
130
185
1.2K
0
Grandmastér Trû
Grandmastér Trû@GrandmasterTru·
@BriHasselmann @_FriedrichMerz Als wären Sie eine Instanz, die den #Atomausstieg als Voraussetzung für die zukünftige Sicherheit der Energieversorgung mal eben bescheinigen könnte. Die aktuelle Situation erfordert eine umsichtige Planung ohne Tabus. Hören sie auf die Experten - nicht auf ihre Gefühle!
Deutsch
0
0
0
0
Britta Haßelmann
Britta Haßelmann@BriHasselmann·
Als wäre der #TÜVSüd eine Instanz, die eine Verlängerung der Laufzeiten der Atomkraftwerke mal eben bescheinigen kann. Es geht @_FriedrichMerz & #Söder um die Rückmahme des #Atomausstieg, nicht um Zukunft der Energieversorgung. Nicht mit uns! Denkt mal an TÜV Süd und Brasilien.
Deutsch
929
186
1.4K
0
Grandmastér Trû
Grandmastér Trû@GrandmasterTru·
@SebAaltonen @ougi_washi I mean.. don't you *always* define auto values with an initializer? I don't get the OPs problem. The type is right there. auto without initializer is valid only for replacing what is normally done with 'template <typename>' syntax, which is very useful for generic lambdas.
English
0
0
0
0
Sebastian Aaltonen
Sebastian Aaltonen@SebAaltonen·
@ougi_washi std::function isn't that long. Lambdas of course need auto, since you can't type their type. But that's fine since you define the type in the right hand side. No need to repeat that info in the left hand side.
English
2
0
1
0
Sebastian Aaltonen
Sebastian Aaltonen@SebAaltonen·
I use auto only when I declare the type on the right hand side (= constructor()). Or in cases where it's obvious (such as iterators). Saving characters when writing code is only worth it when it doesn't make the reading experience worse. Code is witten once, read N times.
Mathias W@mwesterdahl76

Using someone elses C++ code, and yet again, "auto" is the opposite of helpful. I wanted to print a value, but as it was only declared as "auto", I had to open another file, find the function, and look up the type. Turns out the value was an "int"...

English
7
13
127
0
Grandmastér Trû
Grandmastér Trû@GrandmasterTru·
@mwesterdahl76 Can you give an example? Unless 'auto' is used as a replacement for 'template <typename T>' how can it be declared in another file? auto always requires explicit initialization directly on the right hand side.
English
0
0
0
0
Mathias W
Mathias W@mwesterdahl76·
Using someone elses C++ code, and yet again, "auto" is the opposite of helpful. I wanted to print a value, but as it was only declared as "auto", I had to open another file, find the function, and look up the type. Turns out the value was an "int"...
English
31
9
161
0
Grandmastér Trû
Grandmastér Trû@GrandmasterTru·
@gedaliap Bit code. I always think I got it sorted out and end up printing binary digits until I facepalm and finally use the right combination of and, or, xor, invert, etc. Makes me furious
English
0
0
1
0