« first day (3751 days earlier)      last day (1180 days later) » 

12:03 AM
Some loungers are like Schrödinger's cat - they are both here and are not. It depends ...
 
12:19 AM
-_-
 
 
2 hours later…
2:24 AM
Scolding mum & little feeling bad chick.
 
 
7 hours later…
9:25 AM
I theren't.
 
 
2 hours later…
nwp
11:50 AM
Is Gravatar broken?
 
 
2 hours later…
user7659542
2:09 PM
Why do people nowadays put include guards in source files?
 
@traducerad because they are still required?
 
user7659542
@Mgetz you typically don't include source files, only headers. Making them therefor unnecessary in source files afaik
 
@traducerad well... it depends on how stupid you are ;p
 
user7659542
@Mgetz I m not the sharpes knife in the drawer, yet I don t do such shenanigans
 
user7659542
2:12 PM
If often believe that if you do stuff that even I consider stupid, you must be extremely stupid
 
I would blame the ridiculousness of build systems in the C and C++ sphere on that one. Someone apparently felt that configuring build variants with defines was a better idea than using some build-system specific mechanism
which I can't really blame them for, regardless of how dumb it is
 
tbf #pragma once is now supported by almost all major compilers
but why there isn't part of the standard that standard source files can only appear once I don't know
 
user7659542
4 mins ago, by traducerad
If often believe that if you do stuff that even I consider stupid, you must be extremely stupid
 
user7659542
I guess that s why some people consider me as being an utter arrogant dude
 
eh.... different times
the ecosystem was in many ways built around the unix philosophy IMO. Where source files are just text files and there is no implicit knowledge
 
nwp
2:18 PM
@Mgetz Figuring out if 2 paths point to the same file is too difficult. Network paths and symbolic paths screw with this a lot. Plus header guards work across files while #pragma once doesn't.
 
@nwp most other languages don't allow including files across network shares
 
nwp
I meant symbolic links. Rip concentration.
The most interesting thing I heard was that if you copy a file include guards will still work while #pragma once does not.
Then again maybe they don't need to be alternatives but could be considered different features for different use cases.
 
 
1 hour later…
3:45 PM
@Mgetz and around a set of minimalistic requirements where you only have a small bit of main memory
 
4:04 PM
What? you can't compile everything into a single TU in 640KB?
 
4:32 PM
you can if you don't do stuff like turing complete grammar
 
4:55 PM
Apparently quite a few early IDEs actually can't use EMS or XMS so not only did you have to run the compiler and the IDE in 640KB but they wouldn't use your extra ram that you'd paid so much for
 
@traducerad It's because of refactoring, that file used to be a header. You'll notice the include guard name doesn't match the file name, which is an additional linting error.
 
 
1 hour later…
user7659542
6:09 PM
@Mikhail myea, maybe
 
7:02 PM
So, what's everybody working on now days? COVID restrictions lifted so I might go to a coffee shop to spread some virus.
 
7:14 PM
So do we add [[nodiscard]] in front of operators? [[nodiscard]] bool operator== ?
 
 
1 hour later…
user7659542
8:21 PM
@Mikhail measuring realtime performances of a device used by the military. Very interesting!
 
user7659542
I dont remember the numbers qny more, but I was very surprised to see such a big perf improvement wheng going from O0 to O3 when compiling
 
If you want to rice it harder, you can try -Ofast
 
user7659542
8:35 PM
@Mikhail interesting, didn't know that was a thing. Thx :)
 
user7659542
@Mikhail Oh no I may not be able to use that :(
 
user7659542
0
A: gcc differences between -O3 vs -Ofast optimizations

yugrOfast enables optimizations which violate requirements of C standard for floating-point semantics. In particular under -Ofast (aka -ffast-math) it'll freely reorder float computations (which is prohibited by default because in general a + (b + c) != (a + b) + c != a + (c + b) for floats). Whethe...

 
user7659542
It freely reorders float operations. And the code in question does a lot of aerodynamic computations (which obviously uses lots of floating point compuations)
 
Basically try it, and then see if it passes the units
 
user7659542
Maybe what I could do, is compile the "aerodynamic calculator" shared object with O3 and all the rest with Ofast
 
8:38 PM
first try it and see if it does anything, at all
 
user7659542
@Mikhail of course :)
 
user7659542
You seem to think that it may not change that much or am I wrong?
 
Depends, i've seen like 10% in really pathological cases
on x86 it also helped vectorize stuff, which could be like 30% performance improvement
 
user7659542
@Mikhail im on ARM, imx6
 
make sure to set mtune and march
9
Q: gcc options for a freescale iMX6q ARM processor

nassI am trying to figure out gcc options for a toolchain I am setting up, for development board: Sabre-lite which is based around the Freescale's iMX6q quad processor. Now I know that iMX6 is basically a cortex-a9 processor that has co-processors vfpv3 and neon, and also vector graphics, 2D and eve...

 
user7659542
8:44 PM
@Mikhail Thanks :D
 
`Note that by default the compiler will not vectorize floating-point operating using NEON because NEON does not support denormal numbers. If you are fine with some loss of precision you can make gcc use NEON for floating-point by adding -ffast-math switch.

`
 
user7659542
I keep on learning new stuff!
 
@traducerad Much more fun than re-learning old stuff... :-)
 
user7659542
hehe
 
user7659542
:)
 
user7659542
8:46 PM
that old stuff pays the bills too and I like it too
 
idk, I prefer to spend my time bikesheding about stuff I don't know
 
user7659542
haha, I think many sw engineers are like this
 
@Mikhail That's a long ways from unique.
Oops--I got beaten to it.
 
one could interpret your comment as a bikesheding on traducerad's original statement
 
@Mikhail One could interpret almost anything in almost any way. If you think some interpretations are too illogical for anybody to consider them, all I can say is that a decade or so of marriage will disabuse you of that notion.
 
user7659542
8:50 PM
@JerryCoffin this man marries (for 10+ years).
 
weird flex jerry
 
@Mikhail Not sure how that would be a "flex", but whatever. If anything, I'm just feeling a little bitter at the moment.
 
take your soma
Sadly, all my research shows it's easier to get rid of men than women. When mankind reaches for the stars we can save on seats by carrying men in tubes.
 
user7659542
I am by no means a machist or anti feminist or whatever, but find this incredibly funny:
 
user7659542
 
user7659542
8:58 PM
I d like to emphasize this is just a silly joke (to me)
 
user7659542
silly, but funny IMO
 
idk, that one isn't too funny, especially in Russia women are in an increasingly unfortunate position
 
user7659542
@Mikhail Speaking about Russia, did you see Navalny's latest film on youtube?
 
user7659542
Fcking crazy. He just explained from A to Z how Putin managed to get where he is nowadays: loads of shell companies (him and many of his "friends"), bribes, etc
 
9:12 PM
Didn't watch it but it doesn't suprise me
 
user7659542
they also show plans of putin's house and how it is decorated inside: extremely luxurious furniture, casino room, multiple helipads, stripper room(?), etc....
 
user7659542
His palace is built in the middle of a training area from the FSB. This whole area is 3x larger than the neighbouring city. The palace alone is worth more than 1B.
 
user7659542
people are -obviously- not allowed to enter this area
 
user7659542
and much more. So many crazy things
 
user7659542
I hope that Alexei will post a new video where he manages to unveil how Putin eventually helped Trump to win the previous American elections
 
9:15 PM
the later would be useful
 
user7659542
@Mikhail the stripper room?
 
user7659542
Yhea no shit
 
Not the American election info, right now maybe less than a quarter of Americans understand how much Russia is actively trying to fuck them over.
 
user7659542
Yup. This being said both of those things are not mutually exclusive...
 
user7659542
On a more serious note. Yes, OK Russia tries to fck the US over. What will the US do about it?
 
user7659542
9:18 PM
Russians just do whatever they want and nothing happens: crimea, killings in Europe, etc...
 
user7659542
You will see in the newspaper things like "minister X condemns Russias interference in US elections". But that s about it. Nothing else.
 
I think fewer people would have voted for Trump if they knew how much Russia helped him
Many right wing organizations that "fight for freedom", especially the gun lobby, is heavily compromised by russian interests
 
9:45 PM
@Mikhail This seems to be rather a litmus test of our time. Those on the right are convinced that Joe Biden (via Hunter Biden) is completely in the pocket of foreigners. Those on the left are convinced that Donald Trump is in the pocket of foreigners. In each case, there are a few bits and pieces of what could generously be termed vague, circumstantial evidence--yet each side treats their belief as if it were a proven fact.
 
@JerryCoffin I think that not enough people on the left are convinced that Trump was in the pocket of foreigners...
Not to mention all the dark money in US politics...
So, if Navalny has more info on that it would be probably more interesting than his stuff on Putin (which simply reinforces the idea that the world's most corrupt, wealthiest person is wealthy and corrupt). Also probably why Navalny is using it as a security on his life?
 
@Mikhail Hmm...I'd have said pretty much all of them I know personally treat it as a proven fact.
 
Admitely, one of the overlooked things is how much of BLM is also foreign driven
 
How so?
 
user7659542
@Mikhail Isnt BLM a mostly American driven thing?
 
9:53 PM
I've only ever seen purported online twitter BLM accounts being linked to some foreign click farms
 
user7659542
I feel like it got a place in Europe because it is a thing in the US. If this wasn t so big/loud in the US I dont think we would have seen any BLM stuff in Europe
 
There were some more isolated BLM support demonstrations in Europe, but it wasn't ever as big as in the US
 
@PeterT No broken windows :-)
@PeterT Yeah, so the discourse really changes: washingtonpost.com/politics/2020/07/24/…
 
user7659542
@PeterT those support demonstrations appeared here, because it is so big there IMO.
 
We have Nazi and Anti-Nazi demonstrations for those in Europe
 
9:55 PM
^So russian trolls have been able on many occasions to literally get American protesters on the ground
 
user7659542
@PeterT I m worried about the nazis in Germany. I have the impression that nazi stuff and extreme right people are relatively common in Germany. I wouldn t be surprised that in some areas of Germany they are violent and attack foreigners.
 
user7659542
I have never lived in Germany, so might be wrong. But that s my impression
 
Yeah sure, in Germany and all around of Germany too
in Poland and France as well
 
user7659542
All around? Ok where in France, Netherlands, Belgium and Luxembourg?
 
user7659542
Yes there are extreme right people/nazis there too. But i m pretty sure it is not as bad as in Germany
 
user7659542
9:58 PM
Without wanting to sound disrespectful
 
user7659542
I just think this is how it is.
 
user7659542
There may be demonstrations sometimes in the neighbouring countries. But no violence AFAIK
 
user7659542
While there is such violence in Germany I think
 
user7659542
I agree with you for Poland, but that s it.
 
hungry, greece
 
user7659542
10:02 PM
@Mikhail I didnt state those countries on purpose
 
user7659542
I know about Hungary. No idea about Greece
 
Maybe it's just my neck of the woods, but I don't see much political violence, their political influence electoraly worries me more atm
 
user7659542
The political aspect of it can be worrying, yes
 
user7659542
That s a different matter
 
I can't remember who it was but there was a comedian who had a joke about how surprised he is that Germany is still allowed to be a country considering they've declared war on the world twice
And almost won
 
10:07 PM
Was it Joseph Stalin or de Gaulle?
 
I remember that as "still allowed to have an army" but I think I know the guy you mean
 
user7659542
@PeterT how does it come they almost won twice?
 
user7659542
Its not as of they outnumbered the entire world
 
I don't think they almost won twice
 
user7659542
Once?
 
user7659542
10:08 PM
Ww2
 
user7659542
Either way, they were incredibly good at warfare
 
Nah, don't think Germany was ever really close to "world dominiation" as something like Rome or the Huns were
but I'm not really a military history expert
 
Meh. Their airforce kept getting its but kicked. They were good at setting up a phony war.
 
They were actually really close to winning both WW1 and WW2
 
user7659542
I have the opposite impression. They managed to impose themselves in many countries
 
10:09 PM
I think the "we've almost had it" narrative was actually driven to a large part by Nazis
 
Yeah, I mean, they could have won WW2 if it meant not defeating Britain, Russia, or the USA. So really they only won against the Polish, Greeks, French, which is a much easier to war to win :-)
 
@PeterT Nazis didn't run Germany in WW1 and look at what historians say about it
I think the issue was that all three were attacking at the same time
 
No, I meant that more as Nazis shifted the WW1 narrative to even justify being aggrieved at the loss
 
Yeah, what PeterT said.
 
PeterT, I mean probably
 
10:13 PM
@Mikhail Little hard to say either way. depends a lot on what you mean by "win". Not to sound overly nationalistic, but once the US got involved, Germany was pretty much screwed. Not because the US was so great at doing things or anything like that, but simply because they had no way to actually strike at the US directly, so they had essentially no ability to affect production.
 
@CupOfJava not probably, very well documented: en.wikipedia.org/wiki/Stab-in-the-back_myth
 
very interesting
I've never understood the hatred of the Jewish people. Not just in WW2 but throughout history, everyone has tried to destroy them one way or another.
 
10:28 PM
@CupOfJava I'm not sure I understand it, but I see at least a few reasons to consider it sort of unsurprising. Jewish people have been quite a visible minority group throughout much of western history. There's also a little disagreement over the meaning of one phrase in the Old Testament, that's led to Jewish people being used as scapegoats all too often. In the old testament, there's something about charging interest on loans (which is echoed in the Koran, for what it's worth).
For a long time, Jews interpreted it as meaning you were not allowed to charge excessive interest on loans. Most Christians interpreted it as meaning you were not allowed to charge interest at all. This meant most banking was done by Jews, because Christians considered themselves prohibited from doing banking in a way that they it could be done profitably.
 
Well that, and Jews were already barred from many trade-associations and trades, so banking was also a refuge for them
it's not like they're absolutely uniquely hated. Sinti and Roma were also systematically oppressed for a long time, they're just not as prominent internationally nowadays
 
That, in turn, meant that in quite a few cases, when/if a country went to war, they borrowed money from (inevitably) Jewish bankers to do so. If the war didn't go so well, the king frequently did his best to stir up hatred of Jews, and the specific people to whom he owed money died in the ensuing riots. Or he felt it necessary to take control of their bank to stabilize the country, prevent further unrest, etc.
@PeterT No, it's not unique--but when you look at groups that have been oppressed in large areas for a long time, they tend to have a number of common characteristics--and Jews (by and large) have had almost all those characteristics.
 
That timeline is shocking, I knew they have been attacked throughout history but I never knew it was this often.
 
10:51 PM
@CupOfJava Some of that can be a bit misleading if you don't pay close attention. For example, a lot of what happened in the late 1400s and early 1500s wasn't really aimed specifically at Jews. The reformation and counter-reformation were happening through a lot of Europe. In many cases, this led to violence, expulsion, etc., aimed at anybody and everybody who wasn't (willing to become) a member of one specific religion.
For example, when country X decided to become Lutheran, Jews did get killed--but in many cases so did Catholics, Calvinists, and so on. And in a lot of cases, when somebody else took over, it became Catholic again, at which time known Lutherans were targeted--and Jews were often caught in the cross-fire both times, but not the primary target in either case.
 
user7659542
@JerryCoffin since when do christians believe that? Afaik the only people believing interests are bad are muslims. Which is why some of them, even nowadays don’t take loans with interests. They just go to some rich guy they know, who lends them money ( not kidding, i know people who have done this). They still have some peculiar agreement I guess though
 
well you weren't there in the middle ages were you traducerad?
 
@traducerad It's not so much "since when" as "when did they stop believing it".
 
for a long time a lot of the christian population was catholic, so a single pope could just up and change "what we believe in"
 
@CupOfJava On the other hand, it's also true that quite a few countries discriminated against Jews systematically as a matter of policy. For example, in Austria-Hungary, there was a "department of special taxes" that was effectively "the department of discriminating against Jews". And it was a pretty big thing--running it was often kind of the consolation prize (so to speak) for the emperor's younger brother.
 
10:58 PM
The Knights Templar were arguably the first international banking system and they weren't allowed to collect interest
 
@PeterT Strangely, that's a bit less true than most people think. The doctrine of papal infallibility wasn't (at least officially) accepted by the Catholic church until Vatican Council I (which was something like the 1860s or 1860's, if memory serves).
It had been suggested quite a bit earlier, but at least a few popes condemned the idea as clearly the work of the devil.
 
oh, so long after Protestantism already spread, interesting
 
@PeterT Yeah--and if I recall correctly, it's only been used like half a dozen times, and most of them are apparently related to Mary, such as an official declaration that Mary really was a virgin, or something like that.
 
user7659542
@PeterT who knows...
 

« first day (3751 days earlier)      last day (1180 days later) »