« first day (1399 days earlier)      last day (3544 days later) » 

10:00 AM
@Rapptz of course, I'm not interested in autogen at all
 
yeah yeah
 
you're ... browsing PHP questions?
 
Xeo
@Puppy Remember, he has a PHP gold badge
 
@Puppy 24/7
 
well I wonder
maybe I could use VS compiler
OTOH why on earth would I want to use VS compiler
 
10:03 AM
Hi guys!
 
pretty sure VS only targets WP8 on ARM.
 
if it can generate raw .o files then it's halfway there
 
if you want an OS-less ARM target, you need Clang with -ffreestanding or GCC if you can find one built correctly for ARM.
 
Do you know if Plustache is going to work with C? github.com/mrtazz/plustache
 
@SufiDeveloper no. It clearly states C++.
and you really can't do such things in C
 
10:04 AM
Oh ok. So far I've not been able to find any templating engine for C
 
guess why
 
good luck
wrong room
 
well I hope that you find one.
 
I have this board BTW
I am going to order one soon I think
and for now the borrowed one should do
 
Well, if for that I'm going to just embed the html code then. I write part of the code in C++ and other with C and happened to have to implement a template engine in C.
But ok, thank you guys!
 
10:06 AM
I have no idea why you're telling us this.
 
@Puppy Because I didn't find any templating engine for C?
 
did a quick search out of curiosity
the only decent C one is GPL licensed
sounds fun
 
@Rapptz ahahaha
fuckers
 
@SufiDeveloper So?
last I checked, this is not a C helpdesk.
 
10:07 AM
Really? What's called? C templating engine did return C++ results for me
 
aaah this has windows binaries too
 
@SufiDeveloper seriously it's pretty retarded idea to do that in C
 
@Puppy I'm not asking you to fix or take a look at my code. Calm down. I just asked if there was one because my search didn't return anything.
2
@BartekBanachewicz I know. I am forced to do that unfortunately :/
 
@SufiDeveloper why, if you can use C++ in other places?
 
10:10 AM
Not that one. My boss told me not to mix C++ in that particular directory where the web page parsing occurs.
 
meh
this g++ is 4.8.4. I suppose it will do
 
hm
 
> 5. Install Eclipse on your machine
 
Yeah I know. I can't just tell him that I don't think it's a good idea
 
I spent like the last ten minutes just making faces at the camera.
 
10:11 AM
@SufiDeveloper why?
that's the first fucking thing to do
Now the last step is to enable the floating point unit at the beginning of your main:

SCB->CPACR |= ((3UL << 10*2)|(3UL << 11*2));  /* set CP10 and CP11 Full Access */
lol
Missed that clear code
 
dat code
 
@BartekBanachewicz He's the person who "I-know-it-all". Every time I try he backs my statements off and threatens to take someone else for the work. And I need the wage ya know
Anyway thank you all for the help :)
 
Ell
@BartekBanachewicz what are you doing with your board?
 
@Ell I'm making a hardware pc control panel
 
hmm
I always tilt my head slightly to the left.
the camera shows my eyes as level when I think I'm tilted to the right.
 
10:16 AM
Now you just have to puff your lips.
 
what, so I can look like a pufferfish or something?
 
@Puppy no silly
 
Yes. Do it.
 
@Puppy a pufferdog
@Puppy pufferpuppy
 
lol
 
10:19 AM
@Puppy hmm I think I do that too
 
Xeo
hmm.. oops, div by zero
 
C library function names are awful. strrchr, strstr, strcpy, strtok Just looking at the names, its hard to tell what it does
 
they had to ration vowels after the war
 
lol sounds like it
 
10:32 AM
@Puppy I hte thm nd I lwys hve to lk thm up fr fnctnlty nd prmters.
 
@MartinJames I also despise vowels, along with people who need reminders to feed their animals.
 
@Puppy lol he's been done today. The occasional miss just keeps the roundness down to an acceptable level:)
 
19
A: Why are C names shortened?

Reed CopseyThis is partly historical. In very old C compilers, there was no guarantee that more than the first 8 characters of an identifier name would be used to determine uniqueness. This meant that, originally, all identifiers had to be eight or fewer characters, so method names were all made short. F...

 
the night I went to the hospital for my op, Daisy didn't get fed.
 
@LightnessRacesinOrbit 'determine uniqueness' - I read that as 'determine ugliness'
 
10:35 AM
there are two things makes me panic in my dreams - didn't study for my exams & forgot to feed my pets
 
@Puppy I'm sure you got forgiven, even by Daisy who did not understand:)
 
It's extremely disappointing to see such a well-known and long-lived SO contributor posting a textbook crap question. You can do such much better than this. Try again. — Lightness Races in Orbit just now
 
it wasn't me who failed to feed her
it was my family who failed (since it's normally me in the evenings)
 
I think that was the guy who I had on FB but then he turned into a cunt so I deleted him
 
and Daisy herself who failed to mention it to us
I've never heard of that guy.
 
10:36 AM
bah "such much" wtf
 
@Puppy Heh.
 
@MartinJames Amazing that on a normal day, she'll bark at me to feed her, but on that day when I was away, no problem.
 
@Puppy 'Shit - the one human I can always con into giving me extra food is not here'.
 
it's always me and I always give her the regulation amount at the regulation time and never a scrap more or earlier.
 
I am sure if human can go a day without food on diet, your dog can handle a missing meal without much trouble ...
 
10:39 AM
"regulation amount"
ITT Puppy and his puppy are a military tag team
 
our previous dog died of heart problems due to being overweight.
 
@chmod711telkitty How many missing meals can telkitties handle?
 
so this muttkins gets a much stricter diet.
 
@Puppy That's.... terrible
You overfed your dog to death
 
I know.
 
10:39 AM
Should go to jail
 
well it wasn't really me.
it was my mother mostly.
 
it was just a few tidbits.
 
it's just that if it's a few tidbits practically every mealtime then it adds up
she had a reasonable lifetime for her breed and heart problems are genetic for them but it coulda been a lot better if we hadn't overfed her.
 
10:40 AM
Well yes "a few tidbits" × 50 = "not just a few tidbits"
 
Xeo
Hm, I almost tracked "Lynch" in my time tracker, instead of "Lunch".
that said, time for lunch
 
well, this particular breed of dog was down to 6 individuals by the end of WW2 so they have loads of genetic problems due to inbreeding.
 
@LightnessRacesinOrbit I had way too many people telling me to 'stop eating so much' at various times
 
fortunately we had Daisy pre-screened for all of them and she has none.
 
10:44 AM
Maybe I should feel embarrassed about it, instead I told them "I did half marathon, many overnight hiking trips, sydney 2 gong (90km) bike ride, can you do it too?"
 
Ell
purebred dogs are pretty fucked up
 
yeah, pretty sure this breed ain't the only one
 
Ell
All breeds I mean
 
BTW, my baby pet chooks love cheese and bacon ~facepalm~
 
bah
I recorded 20 seconds of it and it's shit.
 
10:49 AM
0
Q: Something funny with the pointers

HabbaI have a class, nothing fancy, just variables and few setters/getters for them. Let's call it a Component class. I have made a global variable comp out of it. It has a simple function, that returns a bool variable, called IsActive(). Following code gives me a segmentation fault: comp.IsActiv...

two upvotes WHAT
@Puppy ouch
 
hmm
not really sure how to phrase it.
 
11:06 AM
Interwebs shit again today. Anne is moaning too so it's not my box. I'll try power-cycle the router:(
 
interwebs always shit here
 
Xeo
@MartinJames Maybe Anne's just sucking all your interwebs for porn?
 
I should just record something.
worst that can happen is that nobody likes it.
 
worst that can happen is that we make you feel really bad about that
 
11:12 AM
yeah, but I'd probably just not tell you about it
 
@Xeo I just checked. She's on a chat site, so no big load:)
 
& you are on a chat site too ...
 
@Mgetz It's not a question of being out of touch, it's a question of wanting to make money.
they'll fail, of course.
can't stop that any more than they can stop people using thepiratebay.
 
@Puppy Trying to make money at the expense of fan engagement pisses off fans
 
@chmod711telkitty She doesn't have an SO account, so I'm safe.
 
11:14 AM
she could have many SO accounts ... just saying ...
 
well I kinda feel like the sight or sound of a thing is no longer a thing you can effectively control.
 
@chmod711telkitty If she was on here, I would probably be divorced or dead by now.
 
I know there are people who stalk me online, so maybe you have people stalking you too?
 
@chmod711telkitty I'm not worth the bandwidth for stalking:)
 
you never know ... internet is a dangerous place ...
 
11:17 AM
> :-1: error: Invalid macro invocation found in C:\PROJECTS\STM\stm32cubef4\STM32Cube_FW_F4_V1.3.0\Projects\STM32F4-Discovery\De‌​monstrations\Makefile line 19
 
Sup, who's still getting read-only wiki site?
 
fucking makefiles
 
Not me.
 
what the hell is this invalid macro invocation thing
 
Test
 
11:22 AM
it didn't work
 
@LightnessRacesinOrbit Oh:(
 
Also pretty important thing I should remember to install: cron
> INFO: Server startup in 299830 ms
The fuck is wrong with this thing
 
fucking make
 
So much failure and sadness in these last messages.
 
QtC OTOH is really nice
My coworkers are planning to move
too bad I can't point it to use make from some othjer location
 
11:31 AM
@CatPlusPlus Ask again in five minutes.
 
> We implemented the HTML5 parser in IE10. The standard doesn't mention conditional comments so they aren't supported. -- Adrian
XD
 
unknown type name uint32_t
what now?
 
Tomcat does some stupid JAR scanning and that takes forever for some reason
 
-std=c11?
 
With <absolute-ordering/> added to web.xml: "INFO: Server startup in 740 ms"
:lol:
 
11:40 AM
@BartekBanachewicz #include <cstdint> ?
 
let's try building with g++
oh, better
I think it's Clean C
woah, this STM thing is pretty potent
 
Like your farts
 
you get a few usb profiles ootb
so, it compiled
but didn't link
c:/dev/gcc-arm/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/lib\libc.a(lib_a-abort.o): In function `abort':
abort.c:(.text.abort+0x10): undefined reference to `_exit'
uh
 
12:00 PM
-1
Q: Selenium Webdriver-- getting error while Taking screenshot

SAYANTAN TARAFDAR public void testTakeScreenshot() { try{ File fscreenshot = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE); System.out.println(fscreenshot.getPath()); File fdest = new File("E:/"); FileUtils.copyFile(fscreenshot,fdest); Syste...

wth
 
C:\Users\Bajtek\AppData\Local\Temp\ccN4gkkR.s: Assembler messages:
C:\Users\Bajtek\AppData\Local\Temp\ccN4gkkR.s:299: Error: selected processor does not support ARM mode `rbit r2,r2'
HALP :|
 
Your CPU settings are bad
hth
 
the only CPU setting I did was a define
that's correct
CXXFLAGS= -DSTM32F407xx
maybe I need to tell the compiler something about it
 
You need to change tune options probably
Gah I think I finally fixed that long startup time bullshit
 
12:16 PM
CXXFLAGS= -DSTM32F407xx -mcpu=cortex-m4 -mfloat-abi=hard -mthumb
well
woah
that did the trick
ugh wtf make
why the hell are you building it like that
 
It was /dev/random all along
Argh
FIXED
 
make -pn
Src/stm32f4xx_hal_msp.o: Src/stm32f4xx_hal_msp.c
#  Implicit rule search has been done.
you sad piece of fuck
you're doing nothing what's asked from you
for some reason it's falling back to a default rule
which is obviously fucking retarded
 
12:41 PM
you know ... makefiles are anti-idiots ...
this f*cking site, paid those f*cks $99, getting less response there than from the free ad I put on gumtree for the rental property
p.s. gumtree rocks
 
man that was a good sleep
ok, 3 day weekend, what do
 
Xeo
sleep moar
 
well I've already slept 12 hours, gotta do something before attempting to do that again
 
12:58 PM
eat something terrible for you
then sleep some more
 
okey
so this uVision tool seems really nice
too bad free edition is limited to 32kB :|
it has a nice GUI package manager
and automatic everything
 
1:17 PM
^ probably @MartinJames
 
1:31 PM
@AlexM. play a game
 
I think I'll do that
 
Like Solitaire.
 
solitaire lol
 
Xeo
Play SpeedRunners!
 
I don't like games where your mistakes can lead to an unwinnable state
e.g. mahjong
 
Xeo
1:32 PM
*solitaire mahjong
 
(and solitaire)
 
Which method would you prefer standard wise in regards of separating template definition and implementation in a header and source file?
Saying it shouldn't is a valid answer
 
Xeo
Hm, the new steam client update..
 
I hope stronghold crusader 2 will have a collector's edition
 
Xeo
It still doesn't have tabs, but at least you can open store pages in seperate windows now
 
1:44 PM
I can only find the normal edition on amazon
 
@DavidKron Really, the Standard needs to introduce both concepts and modules to solve this problem.
 
It is possible tough
http://www.codeproject.com/Articles/48575/How-to-define-a-template-class-in-a-h-file-and-imp
http://stackoverflow.com/questions/115703/storing-c-template-function-definitions-in-a-cpp-file
 
Xeo
@Puppy Why concepts?
 
But il take that as a "I wouldnt, yet" (?)
 
@Xeo Because constrained functions can be separately compiled if you convert the concept to a dynamic interface, or, the compiler knows what semantic information to export about the intantiation arguments to instantiate it at link-time.
 
Xeo
1:48 PM
@DavidKron Yeah great. Defeat the biggest advantage of templates.
 
@Xeo I know, that's why i feel preference not to..
 
incidentally, this is what I'm planning on for Wide.
either use a dynamic concept to separately compile the generic function, or, bring template body/semantic IR to link-time and instantiate it there.
 
Xeo
@Puppy The latter doesn't help with dlls, does it?
 
no.
not unless you were going to essentially replace the dynamic linker.
or defer instantiation to run-time, so effectively converting it to a CIL/Java bytecode style solution.
 
@Puppy ugh
 
1:53 PM
for modules
I'm going to implicitly-pimpl or implicitly-pad-out types, and not export data about member variables.
so I think that a lot of the ABI awkwardness of C++ can be avoided.
 
Im working with a vstudio package that generates header and source files from a unified file format. Sometimes get the feeling I'm working against the whole community...
 
C++ just needs the entire ecosystem replaced, really.
 
"just" :p
 
lol
 
If only d where a bit more c++ compatible
 
1:58 PM
take a look at codepuppy.co.uk
 
They are building 20+ storey high residential towers near the two stations before the station that's closet to my place and 20+ storey high residential towers near the station after it. Just not around the 1 that's only 580 metres from my place. why! why! why! One of my parents friends sold their home to a developer for 3 million because it's rezoned. But it looks like it would take a while for that to happen to my place, better build the 2nd dwelling and get a some small rental money, sad life
 
for (int oo = 1; oo <= 51; oo++)
this is the first time I've seen someone use a pair of balls as a counter
 
@AlexM. :D
 
2:17 PM
@AlexM. How about one ball used as a counter (or table, anyway)?
 
programming a game like ping-ping requires a variable named o.
to represent the ball
pingpong:
    o = ping(o);
    o = pong(o);
goto pingpong;
this code probably sucks
 
do tennis games use O?
 
@AlexM. no, they use â—‹. O is for volleyball games
 
@ThePhD I things dogs could do potentially more damage.
 
2:28 PM
@StackedCrooked Dogs are far less likely to.
 
@StackedCrooked: Oh, you'd asked for clarity about the Jessica Alba "thing". Is this clear enough: mrcollectoronline.com/images/bowen/…?
 
Yay I can see through her clothes.
 
ok, I forgot ... do I have to do anything after someone endorsed me on linkedin?
 
I can hardly see anything, it's just a mess of white lines.
 
@ThePhD or you know
discipline your cat
if I had a cat and it did that I'd consider it unsafe to still keep it and I'd get rid of it
 
2:33 PM
@AlexM. Better plan: don't wait for that to happen. Just don't get a cat to start with.
 
last time I went out with my colleagues, they talked for at least 40 mins about how they want to move out and have to choose apartments in such a way that their dog won't jump off the balcony
and how awesome apartments are either too high or too low
like seriously just don't get a dog
 
> As a Software Developer you will be using C/​C+​+​ as well as other languages, including PHP on UNIX and Windows operating systems.​
 
I remembered that I had to approve it, but it happens that I did not have to this time, at least there is no field for me to tick to approve it?
 
the moment I have to limit myself from awesome opportunities just so my dog has it good too, I consider having a dog is not really in my best interest
 
2:39 PM
@AlexM. you sound like you would make a terrible pet owner, I would also recommend never having children.
 
that's good because I'm not interested in either :D
 
@JerryCoffin Not really a choice that I can make :P
 
@StackedCrooked Coliru is broken, only says "Broken pipe"
 
again?
 
are the problems because of the host or coliru itself?
 
2:44 PM
I would share a testcase, but clicking share produces this
 
so
I need proffesional help
 
@BaummitAugen try again
 
@StackedCrooked Works now, thanks.
 
I'm making a little progress on tracking down the "Internal Server Error" issue.
 
@StackedCrooked Do you use linode by any chance?
 
2:47 PM
rackspace
 
@BartekBanachewicz you are unlikely to find any professionalism in the lounge, but are welcome to try.
 
@StackedCrooked so you self-host it?
no wait
you don't
 
@SamDeHaan I have a Cortex-M4 board and need help in setting up my toolchain
 
it runs on a vps
 
2:48 PM
I think I'm going to deploy RTX on it
where is @Griwes when you need him
or @JerryCoffin!
> STM32F4-DISCO\STM32F4-DISCO.axf: error: L6050U: The code size of this image (46318 bytes) exceeds the maximum allowed for this version of the linker.
ARRGRGRGGRGR
 
Well, if anybody uses Linode, let me know so that I fake to be a referred or something so that you get the 20$ bonus or whatever there's now.
 
recompile with -Os
 
user3010322
@BartekBanachewicz Use LLVM to take your C++ Code, output C Code, and then dump that into ST Electronic's C compiler (which I'm sure they have, as some flavor of GCC).
 
@ThePhD it's really not that simple
 
@BartekBanachewicz Hmm...what?
 
2:56 PM
> 46318 bytes
> exceeds the maximum
 
user3010322
45kB?
 
@JerryCoffin I was wondering if you have any experience with CMSIS.
 
user3010322
Well, hot damn.
 
@ThePhD The LLVM C backend is dead.
and has been for a long time.
 
user3010322
@Puppy You can't crank out C Code?
 
user3010322
2:56 PM
Well, damn.
 
no, that's not a problem
 
LLVM IR is considerably below the level of C and many LLVM operations have no C equivalent.
 
that's the least of problems.
 
@BartekBanachewicz Sorry, but no.
 
the C backend died because you can't express hardly any interesting LLVM IR programs in C.
 
user3010322
2:57 PM
That's a shame.
 
not really.
it was inevitable and also fuck C.
 
puppy is right
@Abyx I'd need a paid version
 
3 mins ago, by Puppy
recompile with -Os
 
user3010322
Well, since Embedded people usually only deal in shady versions of C, it's the only fully-practical way to have all the niceness of C++ and then still make it onto an embedded device.
 
GCC and Clang can both emit some fairly crazy things that save code space.
 
2:58 PM
@Puppy I'm not using gcc now
 
@ThePhD It's neither practical nor nice.
 
@ThePhD bullshit
 
VS has an "Optimize for code space" option too.
 
I was using the compiler provided by Keil.
 
hm
 
2:59 PM
because it's nicely integrated in uVision IDE.
 
presumably, the guy didn't invent his own C++ compiler
it must be GCC or Clang-based, you'd think
 
user3010322
I haven't seen a good C++ compiler for an embedded system to date. vOv I know Sbi's group uses C++, but they're still locked to gcc 4.4.1, IIRC?
 
seriously, 32kB is too low anyway
@ThePhD what.
 
@ThePhD 4.2
 
user3010322
@Puppy Gross.
 
2:59 PM
and that's after the vendor hacked together a script for it that allows it to use the same ABI as 2.9.5, the official compiler.
 
@ThePhD I have 4.8.2 now.
 

« first day (1399 days earlier)      last day (3544 days later) »