« first day (2515 days earlier)      last day (2659 days later) » 
00:00 - 13:0013:00 - 00:00

13:00
@BartekBanachewicz If that's what you mean, then by definition, no.
"Unaligned" is wrong too. They're always aligned.
The only way for that to print "bigger" is with trailing padding (which is not needed for alignment purposes, from which follows that only Hell++ would do this).
Actually, also padding in the middle.
user784668
@R.MartinhoFernandes I think I've heard about real platforms where sizeof(T) was different from sizeof(struct { T x; }).
> For the first time in my life I wish I had a Turbo C++ compiler
That's arguably a compiler bug.
13:10
> Is there any arch where "int" wouldn't pack?
In either case, the padding would have to be a whole multiple of the size of int, and it would be completely unnecessary.
@R.MartinhoFernandes Is that a better title then? ^
@BartekBanachewicz Still wrong.
What do you mean, really?
Padding in the middle?
@R.MartinhoFernandes or at the end
there's code in the question
I don't see how an architecture would affect the layout of structs.
13:11
arch/system/compiler
"environment"
I was struggling to provide a good title summary actually
Then mention padding directly.
Phrasing it in terms of alignment is a tautology if you ignore blatantly non-compliant compilers.
> Is there any environment where "int" would cause struct padding?
Sounds better.
Anyway, consider that whatever reason would make this happen in a struct would likely apply to arrays as well, and in arrays there can be no padding.
(This is to say: I don't think it could happen in a "real" architecture, but Hell++ is allowed to have this happen in the struct but not in arrays because structs and arrays are not layout-compatible)
I think I need some sort of mass refactoring tool for Java.
nwp
nwp
Use rm, it's the quickest garbage collector for Java.
13:16
This project is accruing technical debt because nobody has the time to do boring changes.
user784668
@BartekBanachewicz that Bathsfajhfdhbas's "answer" though
I suppose an architecture that has structs and arrays as primitives could, in theory, force this requirement. But again, if it can make it work without padding for arrays, it stands to reason it could also be made to work with structs.
@Fanael yeah I giggled
> In my excitement, I forgot to check the source code.
Yeah that's the case, except when the operators are overridden as with boost::filesystem::path, then they have a different functionality — Jürgen Ladstätter 10 mins ago
Grgrgrgr
13:55
1
A: Is there any environment where "int" would cause struct padding?

R. Martinho Fernandes Is there any reasonable (not necessarily common or current) environment where this small program would print bigger? Not that I know of. I know that's not completely reassuring, but I have reason to believe there is no such environment due to the requirements imposed by the C++ standard. In...

If anyone could help me find the standard sections to refer to, that'd be sweet.
stackoverflow.com/a/46037967/85371 Fuck that. There's no way I can see that as a positive move.
nwp
nwp
He is clearly bearist.
14:22
Me when posting SO answers.
So true it hurts ç_ç
@Morwenn Thats true for so many of the comic strips she makes
I know right :o
nwp
nwp
To be fair you are supposed to baby-sit an SO-question to answer comments asking for clarification.
Not so relevant for, say, watching R2D2 be a badass.
@nwp I was talking about m posting an answer not a question.
14:36
@Borgleader Does she do it when she posts a new comic strip?
@fredoverflow I can only assume so
lol they failed to include a third option "file not found"
15:01
I want to go back to a time where the Lounge was always on the front page of the chat rooms.
nwp
nwp
> Are you gonna give us up? Are you gonna let us down?
time to induce yourself some amnesia, better grab a mallet
user784668
@R.MartinhoFernandes Your ref for (1) is an empty string.
@fredoverflow retry
15:25
@LoïcFaure-Lacroix null
16:16
> snakes are wide instead of long
wut
16:43
Just created finished setting up my sandbox just for submitting VS bug reports. It's the only box that I'll allow VS to access the internet.
wait what's wrong with letting VS access internet
spying?
autoupdates?
both
They send your source code to Microsoft to help reproduce compiler bugs.
17:09
Alright, filed 4 bugs already. Still one I need to track down. This one's an optimizer bug, so it's gonna be trickier.
17:32
Good lord finding nice icons that fit with the overall design is so difficult
17:46
@Mysticial can you really track a bug report to microsoft?
@LoïcFaure-Lacroix They send you email updates.
All the bugs I've filed in the past do get fixed - even if it takes a year.
Last time I sent a bug report to microsoft It was on windows XP and I had no internet connection... Somehow it sent the report successfully
I'm less sure about these once since they are functional rather than correctness.
May be if its a report and not just a crash report it does actually something
@LoïcFaure-Lacroix I think they do crash reports statistically. They only fix the most common ones. :)
17:50
May be they send reports statistically too, so if the problem doesn't occur often it never get to them
18:04
Anybody wrote a radial average function for a 2D image (or 2D spectrum)? I'm thinking I can to get the (x,y) coordinates of each pixel, convert to a radial distance (hypot(x,y)) and then sort based on those values. This seems like the most accurate but will probably take too long for a 4 MP image...
Also that results in a radial average that's like 1/4 of the original image, which is too big. There is gotta be a clever way to interpolate on the input side, but I can't come up with any ideas.
While the resize step is hard in CUDA, its pretty easy in GLSL...
user784668
18:31
@Mysticial is the component stress test the right thing to choose if I want to test RAM stability using y-cruncher?
@Fanael Either that or the largest computation you can fit into memory.
user784668
@Mysticial Also, how bad is 1000 seconds for 5 billion digits?
What kind of hardware?
4-core Haswell @ 4 GHz does it in 700 seconds.
user784668
i5-4590, 32 GB of DDR3 RAM
Sounds about right.
user784668
18:38
I think it was 1001 seconds with RAM at 1066 MHz and 1059 seconds at 800 MHz.
I would've expected it to matter more than that.
But it's been a couple years since I did that test.
19:23
> fucking luckers
that's what we are
19:51
*lurkers
nwp
nwp
nah, they are dirty terrans
Hmm seeing as how there's a new bug report about VS every 5 minutes, I doubt anyone will look at mine. lol
Depends whos reporting the other ones
You have a bit more presence online than randos like me
so unless the others ones are all reported by big name corps
20:00
It's been only 3 hours, and it's a vacation day in the US.
here too
It's quite obvious that MS didn't really test their AVX512 implementation.
then again, maybe ppl took the time to post bug reports because they had the time ;)
There's an optimizer bug somewhere in their AVX512 that I'm trying to track down. It breaks some of my unit tests and all the integration tests. But the unit test that repros it isn't exactly small.
20:55
@sherron_nick @dprvig I'm probably one of the foremost experts on software testing on the planet and I've never wor… https://twitter.com/i/web/status/898145727058243584
That's a bold claim (then again, I have no clue who this person is)
Writing nice code since 2011.
^I'm probably one of the foremost experts on software testing
 
1 hour later…
21:59
YESS. Managed to do a 3-line SSCCE for the AVX512 optimizer bug.
Looks like MSVC's optimizer is not properly handling masked moves. It treats it like a normal move and "forgets" that the destination register is an input.
also heh my Q is at +15 already so I guess thanks @Fanael
22:13
I posted a question for once.
Bug filed. That's #5.
user784668
@Mysticial I sometimes wonder if they test their compiler at all.
user784668
@Mysticial Is this why it's been nothing but an ICE machine for me?
^^ If my suspicion is correct, I can see how they fucked it up.
user784668
22:26
@Mysticial ahahahahahahahahahahahahahahahahahahahhahahahahahahahahaha
nwp
nwp
> Add a Solution
> Just use Debug mode.
user784668
@nwp The best solution: remove MSVC.
@Fanael inorite :)
They're also missing all the AVX512 VBMI and IFMA intrinsics. But that's fine since Cannonlake isn't out yet.
But both ICC and GCC support them already.
user784668
Is k0 always a constant or is it an actual register that can store masks that just happens to be unusable as the destination mask?
In any case, MSVC's AVX512 has much bigger issues to deal with.
@Fanael You can use it. Just not as an input to most instructions.
user784668
22:32
@Mysticial So kmovw k0, ax is fine?
yeah
I don't see a flag for /arch:avx512. So it's impossible to use any vector regs 16 - 31.
user784668
About BOUND: "#UD If second operand is not a memory location".
user784668
Yeah no.
user784668
BOUND with two register operands is a valid instruction, it just happens to not be BOUND anymore.
user784668
Intel, fix your manuals.
22:39
They're too busy trying to flash their cock in front of everyone after AMD caught them with their pants down.
Or maybe they got caught in the recent Intel layoff/restructuring
well people are expert at making simple things overly complicated
That's why most modern software houses use monkeys
I feel like I'm fixing the mess made by those monkeys
There is a part of the code I'm working on literally inspect the above stack frame to create a context for eval
There is one trick to get some translation to work... just create a variable named "lang" with the locale you want and it will be used within _() as it inspect the calling frames for a variable lang if no language is defined
Oh they do have an /arch:AVX512 flag. It just wasn't documented.
22:54
@LoïcFaure-Lacroix that's a nice anti-pattern.
But the AVX512 flag still doesn't let it use all 32 registers. lol
@LoïcFaure-Lacroix Reminds me of DCOM channel hooks or MTS call context
And of these horrific answers
ehe, that said, I don't have any way around this.
the worst part is the piece of code I'm actually working on could be expressed as an xml file with stylesheets on fields to output some excel file
But I have to write a template programmatically which eval things against the current local stack frame... I then moved the calling method within a "factory" calling method which contain the current object in the variable "obj"... then all "evaluable" template definition per object will reference obj
without this I'd have to know exactly how variables will be named in the template...lack of template
listening to Electric Light Orchestra makes the whole thing a bit less painful
23:10
@LoïcFaure-Lacroix Of course you do. But it's too painful, so you can't.
@sehe I could fix it, it's just not going to get merged as it's going to break things in the core application and I don't manage the code of the core...
23:25
Bug #6 filed.
Let's see... what else about VS2017's AVX512 can I break?
@nwp Scope guards are bad and dumb.
@Puppy tsk is okay until we get proper STM
I don't see how those two things are related
23:47
after gen X, Y, and Z will come generation W. They will be the homogeneous generation. They will both divide us and give us perspective.
Why is US petrol prior paid, now I spill oil all over my shoes
Coz I prepaid too much & I decided to be an idiot & tried to fit more in when I really should not.
00:00 - 13:0013:00 - 00:00

« first day (2515 days earlier)      last day (2659 days later) »