« first day (2922 days earlier)      last day (2019 days later) » 

12:33 AM
Also does an major company design their graphic interface based on the statistics of how often people use certain buttons? Sure design and button usage are interactive to certain extend. But what's the reasoning of hiding some of the most used buttons in layers of subdirectories? Shouldn't the design of layout based on the ease of accessing for most used items - like near the root of the tree structure being most used items and the tip being the least used ones?
 
 
3 hours later…
4:02 AM
Windows movie maker export into .wmv format, Mac imovie does not recognise it ...
Looks like MS and Apple purposely making things harder, so we waste more of our lives doing meaningless things.
 
 
4 hours later…
7:44 AM
Looks like CMake is finally gaining target_link_options
It was about fucking time they add a simple option to deal with link options x)
And apparently they finally made the option -B official
 
 
5 hours later…
nwp
12:25 PM
The code I'm working with now with the "new" gcc 7.3 takes a good minute to compile and a good 5 minutes to link.
That doesn't seem normal.
 
@TelKitty Microsoft, and it actually got them in trouble that's how windows 8 happened
 
not often used doesn't always not important.
for example with the new office GUI I have 3 layers of (very slow) menus to navigate before I can save as
it always annoys the crap out of me
 
12:57 PM
@nwp use the gold linker
 
nwp
1:07 PM
There actually is a ld.gold.exe in mingw 7.3. It seems it is not as easy as adding -fuse-ld=gold to the linker flags.
> ld.gold.exe: --enable-auto-image-base: unknown option
 
oh, you're using MinGW
I never managed to get the gold linker to work there :/
I didn't try super hard but still
 
nwp
> --detect-odr-violations Look for violations of the C++ One Definition Rule
Today I learned the gold linker can do that.
 
1:25 PM
oh, the gold liner apparently only works with ELF binaries x)
there's also -Wodr built into the compiler
 
nwp
--noinhibit-exec Create an output file even if errors occur exists. Adding that as linker flag makes gcc complain. Same with -fnoinhibit-exec. -Wl,--fnoinhibit-exec compiles but still causes the error.
Oh, I'm dumb. It needs to be -Wl,--noinhibit-exec.
But it makes no difference.
> It [gold linker] should not be included in a tool chain targeting windows
Rip
 
rip
Clang + lld it is then x)
 
nwp
I think we are seriously screwed until we get a proper toolchain. 5 minutes linking is unacceptable.
The same thing compiles and links on linux in a minute or so.
 
someone needs to make a super dumb linker that doesn't try to do clever duplicate or unreachable code elimination
I'm sure you can link even massive projects in under a second with a good symbol index table
 
nwp
2:00 PM
Looks like it's back to msvc for us. I was hoping for sanitizers getting ported to windows, but apparently even gcc is rather iffy.
 
At this time you've got more tooling with Clang than with MinWG-w64
 
2:45 PM
@Morwenn Do you know the status of [[unreachable]] ? (<http://open-std.org/JTC1/SC22/WG21/docs/papers/2017/p0627r0.pdf>)
 
You mean std::unreachable("reason")? :p
Slowly advancing through the committee
*latest
Contracts also have [[assert axiom: false]] which should give roughly the same result
 
nwp
3:36 PM
> as.exe: debug\scriptengine.o: section .debug_frame$_ZNKSt9_Any_data9_M_accessINSt8__detail12_CharMatcherINSt7__cxx1112regex_traitsIcEELb1ELb1EEEEERKT_v: string table overflow at offset 10000101
C:\Users\tr\AppData\Local\Temp\ccbd4HZl.s: Assembler messages:
C:\Users\tr\AppData\Local\Temp\ccbd4HZl.s: Fatal error: can't close debug\scriptengine.o: File too big
I want to cry.
 
 
3 hours later…
6:22 PM
@Morwenn thats unclear though IYAM
any chance we get this in 20? votes seemed favorable
 
7:17 PM
So, I've been somewhat haunted by incomplete types. If you make an incomplete type, like class implementation;, what is the underlying reason you can't overwrite it with a typedef like, typedef std::vector<float> implementation? On the other hand you can make the implementation holds a std::vector<float>...
 
2
Q: Why can't I complete the type with the typedef?

milleniumbugGiven an incomplete type in translation unit A: struct Incomplete; Incomplete* create_incomplete(); void destroy_incomplete(Incomplete*); why can't I use it in another translation unit, by using typedef? For example in translation unit B: struct Unrelated { int x; int y; }; typedef...

 

« first day (2922 days earlier)      last day (2019 days later) »