« first day (1854 days earlier)      last day (3080 days later) » 

7:00 PM
That's how C++ works
 
no not really
not on embedded
hmm i could use a debugger anyway
 
user1804599
@sehe How do you compile code from Vim? Do you use makefiles?
 
Ell
@BartekBanachewicz well done you know c++ ;)
 
7:25 PM
@ElimGarak Yep. That's why the indies are leaving mobile platforms. It might be cheap to develop and release on there, but you're still gonna need a fuck ton of marketing money.
Because if you're not in the top 100, you might as well be invisible.
All major app stores have terrible discovery features.
 
Is it correct to say "meet a personality"
 
so
I can pause via openocd
can't print though
I don't even need a debugger, I'd just like to be able to print
maybe I could write to some memory address and then read that directly lol
it seems to hang on the call to printf
guys can anyone lend me a hand with that
you're all much more experience with noobduinos and stuff
 
7:42 PM
I wouldn't be caught dead using a noobduino
 
posted on November 13, 2015 by Scott Meyers

If you want to make an omelet, so the saying goes, you have to break a few eggs. Think of the omelet you could make if you broke not just a few eggs, but all of them! Then think of what it'd be like to not just break them, but to replace them with newer, better eggs. That's what this post is about: breaking all the eggs in C++, yet ending up with better eggs than you started with. NULL, 0, and

 
user1804599
let new_mangler () =
    let prefix = "_" ^ Int64.to_string (Random.int64 Int64.max_int) ^ "_" in
    let should_mangle name = String.length name = 0 || (name.[0] < 'A' && name.[0] > 'Z') in
    fun name -> if should_mangle name then prefix ^ name else name
 
user1804599
shiny
 
blech name mangling
 
user1804599
7:50 PM
 
hmm
you can't uninstall OneDrive in Windows 10?
fuck.
what a useless piece of shit
 
I just murdered the entire Railroad.
 
@ElimGarak luck seems pretty awesome
 
user3790646
@Puppy Actually you can just stop using it and setting it to not open.
 
I'm pretty awesome.
 
user3790646
8:02 PM
@Puppy Decide yourself, are you pretty or are you awesome?
 
hi, does anyone know the definition of `All` in

template <typename... Condition>
using EnableIf = Invoke<std::enable_if<All<Condition...>, enabled>>;

?
 
no.
 
@TamásSzelei find original @R.MartinhoFernandes's post for that
 
user1804599
Allah<Condition...>
 
@BartekBanachewicz thanks for the hint. It ultimately leads to this post: rmf.io/cxx11/almost-static-if/#evolution (from here: stackoverflow.com/questions/17748059/…) but it's not defined there either.
 
8:07 PM
only Allah<false> is defined
 
Thank you very much, @BartekBanachewicz
 
@Puppy Hey btw, I thought I'd let you know, finalize() seems not to be required by the orc jit because it doesnt have an execution engine. And also, I got rid of it and went back to mcjit and was able to run the hand written hello word main function. So I guess I'll stick with that one for the time being.
 
user1804599
8:25 PM
user image
7
 
user3790646
PHP... cof cof
 
> Fallout 4 Ships 12 Million Copies in One Day, Breaks Records
#thuglife
 
overhyped or what
 
It's a great game. :P
 
8:38 PM
so basically my gcc seems to be broken
 
> But despite losing some traffic, Pornhub understands.

> “As huge fans of the game, we can’t say we blame anyone for swapping Pornhub time for some Pip-Boy surfing instead,” said Price. “We would have done the same.”
 
> Pornhub vice president Corey Price
So, what do you do for a living? - Porn videos.
 
ROBOT
HALP
I'll give you one "instant shut up bartek" token
9
I can't get semihosting provided by GCC's rdimon to work
 
@R.MartinhoFernandes oh nice you have a hipster tld
 
8:42 PM
specifically it seems I need to call initialise_monitor_handles and it's undefined for me
 
@BartekBanachewicz Knock on the door twice and ask for Martinho Filipe Dias Fernandes. Or something like that.
 
@ElimGarak Nothing is great on day one.
great games need to be at least a few weeks old.
 
$ nm librdimon.a | grep initialise
00000001 T initialise_monitor_handles
IT IS THERE YOU FUCK
 
library linking order?
 
ooooohhhmmaaaybe
 
8:48 PM
if that's it, I win the instant shut up bartek token.
 
doesn't seem to work
 
Such token should be able to fetch you a nice price in the Lounge.
 
internets suggest -Wl,--start-group -lgcc -lc -lm -lrdimon -Wl,--end-group
and it's not working
YES
OMG
IM SUCH A HACKER
$ nm src/main.o
00000000 r $d
00000000 b $d
000000d4 t $d
00000000 r $d
00000000 r $d
00000000 t $t
00000000 t $t
         U __cxa_begin_catch
         U __cxa_end_cleanup
         U __gxx_personality_v0
00000001 T _Z13dbg_write_strPKc
         U _Z26initialise_monitor_handlesv
It's a mangled name!!!
 
I forgot extern "C" and all tutorials are for C and not for C++
holy fuck
 
8:54 PM
ITT Barket realizes C++ does name mangling
 
lol
 
let's see if it works at all vOv
 
the header doesn't have #ifdef __CPLUSPLUS extern "C" {?
 
badlets
 
user1804599
8:55 PM
badlambdaabstractions
 
latbeds
batbeds
 
spark.png
 
ITWOOOOOOORKS
 
@CatPlusPlus good job
 
printf didn't, but puts does
 
8:57 PM
WHAT IS IT
 
better than the custom asm routine that was printing char by char
@Puppy it wasn't in the header
I put in the decl myself
 
oh
 
this is great
k now to get openocd to flash my binary
 
@nick .io is one the few TLDs for which I could snatch a three-letter domain.
 
yeah it's tough to find domains that short
 
9:07 PM
ah fuck
I swapped in LLVM-from-a-package instead of custom-build LLVM, and now the linker can't find some fucking stdlib symbols.
this is bullshit
 
uh ok it seems that booting from ram is much more complicated
 
@BartekBanachewicz How do you boot from ram?
 
@CaptainGiraffe you first write into it directly from other device
 
@BartekBanachewicz pre boot?
 
yes
you halt the CPU, put the bytes into ram, reset
 
9:10 PM
neat =)
 
this is better because flash wears off
 
What kind of device?
 
a Cortex-M4 SoC
STM32F407 Discovery specifically
 
would it need to be powered constantly?
 
yes.
but it's for development purposes only
 
9:14 PM
i see
 
@BartekBanachewicz Again, neat device. 3 axis accelerometers.
 
@CaptainGiraffe and FPU and DSPI
 
@BartekBanachewicz Is it pricey?
 
@milleniumbug Yeah don't use Spark
 
9:18 PM
Justice is Christ!
 
@CaptainGiraffe I paid about €20 with shipping
 
I'd rather write my own computation distribution and deal with bugs in that
 
but I really don't recommend it if you're starting embedded dev
it's extremely noob unfriendly :/
 
@Borgleader SQL PROGRAMMERS PROGRAM IN NATIVE UPPERCASE. THEY DON'T HAVE LOWERCASE AWARE LOCALE
 
start with arduino :3
 
9:20 PM
much like Linux linking
 
eh too bad if my flash wears off I'll just buy a new one
 
@BartekBanachewicz I'm new to that scene. I only have a little bit of arduino experience. What would you reccomend?
 
I think ST says it should endure 100k writes
@CaptainGiraffe Arduinos are much easier I suppose
and the big ones are kinda beefy as well
you get everything ready to use in a nice package
 
also they're beautiful
 
@CaptainGiraffe Teensy board is nice for example
if you want something bigger, Arduino Zero has a Cortex M0+
only 32KB of RAM, though
 
9:24 PM
@BartekBanachewicz Thank you for the suggestion.
 
Zero costs over 40 euros though so it's getting pricey at that point
 
Was the Zero released recently?
I haven't been keeping track
 
it's about 1/4 as powerful as mine
 
Alrightie, evil playthrough. (m/f)?
 
but for starters it should really be enough
 
9:26 PM
@ElimGarak pansexual
 
@ElimGarak m
 
if you want something really big and fancy RPi is also an option
but that's a totally different kind of a device
 
user1804599
Just wrote let mangled_decls = List.map (Ast.transform_decl mangle mangle mangle mangle) modul.decls.
 
user1804599
mangle mangle mangle mangle
 
9:28 PM
I shall name him Bartek, he's going to kill in the name of Haskell in the wasteland.
2
 
Nice to see SE chat can still bug nicely i.imgur.com/TeXLCsi.png
 
@sehe How would that even work? Is there a character encoding with only uppercase A-Z?
 
ITT Cpt. G never saw SQL
 
so I have working printf GPIO and timers
in C++
 
@sehe =) I'm plenty aware of the stuck caps key of any SQL statement. The Cobol developers seems to have the same affliction.
 
9:30 PM
Woot. So you can have a struct that abstract printf
 
spectre was not as awesome as I thought it would be but I guess it was ok :<
 
@BartekBanachewicz I had real trouble decoding "Zero costs over 40 euros". Until I found out "the Zero" from context
 
time to write C++ template-based GPIO library <3
 
@AlexM. #disappoint
 
heh i'm actually happy i can write in C++
 
9:33 PM
also the james bond pattern gets more and more annoying lol
 
isn't that backwards
 
everything is literally a sequence of fuck -> beat up some bad guys -> fuck again -> repeat
 
I pissed around with the order and I even built them pointlessly as shared libs.
the symbols are in that fucking file.
fucking LD what the fuck do you want from me.
 
If you're using manual ordering then sometimes you have to mention the library more than once
So if you don't know what the order is, you won't guess by just permuting it
Use a group
 
user1804599
I want to play Minecraft.
 
9:38 PM
I know what the order is
 
If it doesn't work then you don't
 
I have the files listed in an order, but I've got undefined references from the first library that are satisfied by the second library.
 
@Puppy woopsies
 
Really just use a group, linking order optimisation is a dumb thing
-( a.o b.o c.o liba.a libb.a -) etc
 
really I would but I don't know how to do that with Premake and the internets said it's impossible.
 
9:40 PM
It'll figure it out
 
maybe I should just write a raw command and do it myself.
 
lol
If you're linking with GCC it'll be -Wl,-( and -Wl,-)
 
there were many frenchmen in the cinema today
 
9:42 PM
the issue is where exactly they end up in the command line, since Premake allows you to add flags but doesn't define or allow you to control where those flags end up.
 
but that's normal for this time of the year
college = inexplicable influx of french people
 
@Elyse yes. Vim + vim-dispatch +
nnoremap <F10> :Make<CR>
inoremap <F10> <C-O>:Make<CR>
 
Premake is garbage I don't know why you still use it
 
@Borgleader damn
 
@CatPlusPlus It's like Visual Studio - I don't actually like it, but I've yet to see anything actually better.
 
9:44 PM
is the chatroom slower than slow for anyone else
 
@nick yeah... it's crazy =/
 
perhaps what I should do is simply generate the makefiles with premake, and then take them as a base and customize them as I need
 
shit times out
 
@Puppy Generate build.ninja with a custom generator, run ninja
 
what kind of custom generator are we talking about?
 
9:45 PM
@AlexM. scroll up for my screenshot. Might be related
I guess a reload could fix things?
 
reloading only gives me the chance to reload again because it's stuck at loading the chatroom
 
Sup kittens
 
hey
 
NIIIIIIIIIIICK!!!
 
TONYYYYYYYYY
 
9:49 PM
wassup?
 
feeling betrayed
I just found out you're secretly a moose
 
@TonyTheLion Hides in the tall woods.
 
what happened?
@CaptainGiraffe no need to hide, I'm not hungry :)
 
also he can't actually eat you
 
@TonyTheLion Thank GOD I was so exhausted from running.
 
9:50 PM
heh
@nick hehe :)
 
I GOT HOME
AND IT'S FREEDAY.
 
@Nooble well done
 
@Nooble Proud of yeh
 
@Nooble Freedom units... do you feel them coming?
 
 
9:52 PM
@TonyTheLion From a mile away.
 
you've been outed
hello nooble
 
@Nooble :)
 
@Nooble almost saturday here
8 mins to go
 
@nick Hello.
 
@nick well done for noticing. Took long enough for anyone to notice
 
9:54 PM
@Morwenn Please be okay :(
 
@TonyTheLion I remember something like it from before
but I probably said "meh just another random thing loungers say"
 
meh
@Borgleader <3 <3 <3 :D
 
:( mad mad
 
@TonyTheLion <3 <3 <3
 
who wants to cuddle with me on mumble?
 
9:57 PM
Hey guys, did anyone watch Eric Niebler on CppCon 2015?
Ranking about ranges
 
I'd rather stay alive thank you
 
@CatPlusPlus TIL
 
@VillasV Your autocorrect is on fire bro.
 
Ranging about ranges
 
speaking of that, I find it frustrating that I cannot combine two diff languages when typing
 
9:58 PM
@CaptainGiraffe I always forget to change the keyboard language :/
 
want to use english words when your keyboard is set to romanian? TOO BAD BRO AUTOCORRECT
 
@CatPlusPlus: I did not find that to make any difference at all. I edited the makefile to add the --start-group and --end-group stuff, but there was no change in outcome.
 
google for "Paris", bad things are happening right now
 
@AlexM. Outlook has an experimental feature that it detects the language you're typing before trying to autocorrect. Not 100% success though, and it's the only application with this I've seen so far
 
@MarcoA. scroll up, was linked
 
@VillasV I find the desktop version of the new outlook to work well
 
@TonyTheLion seen it, thanks
 
minus its horrible SO HORRIBLE pattern matching when searching for contacts
 

« first day (1854 days earlier)      last day (3080 days later) »