« first day (1004 days earlier)      last day (4169 days later) » 

23:00
@LoïcFaure-Lacroix because?
@sehe Excerpt from a discussion I just had with a colleague.
@LoïcFaure-Lacroix you can change the WM FYI
@BartekBanachewicz yes, it looked a bit different from then, I thought, very minor though.
user142019
Beh GNOME.
For the record, the word in question is "masturber".
23:00
@sehe you can afford to you have all the cool privileges already!
@EtiennedeMartel Oh. TMI?
last time my computer wasn't able to switch language because ubuntu has a very old library
maybe you weren't updating? :F
Ubuntu changed a lot in the last years
@Borgleader "cool" - that must be some strange meaning of the word "cool" I was previously unaware off :/
23:01
I've started on 6.06 and man, did it suck back then
@BartekBanachewicz That's the main problem
updated everyday and even found a bug on the bugtracker that has been there for almost a year
@sehe problem?
@BartekBanachewicz so if I ensure 0x1234 really contains an int and do those conversions, there shouldn't be a problem right?
@EtiennedeMartel I read that as "You keep saying that word" (you seem to have just one word in the mouth) / "I have so much more in my mouth"
23:01
@LoïcFaure-Lacroix ok, I am starting to take you a bit more seriously from now on.
Has any screensaver in the history of ever had sound?
@sehe Yeah, but it makes more sense in French.
@Tuntuni sigh
@EtiennedeMartel evidemment
@Pawnguy7 it would be extremely annoying.
23:02
Keyboard layout doesn't show in GNOME Shell session, using two layouts. Ubuntu 12.10.
gnome-shell (Ubuntu)
Medium / Fix Released
user142019
1  [|                                                0.7%]     Tasks: 24, 0 thr; 1 running
2  [                                                 0.0%]     Load average: 0.00 0.01 0.05
Mem[||||||||||||||||||||||||||||||||||||||||||  184/994MB]     Uptime: 1 day, 02:00:03
Swp[|                                            0/1023MB]
user142019
Wonderful.
My thought exactly.
what, this oneboxes.
@BartekBanachewicz why sigh? it isn't correct after all?
23:03
@Tuntuni let me ask differently; are you hacking a game?
@sehe Being able to see all the deleted stuff is cool. I wish I could do that =/
@rightfold What, a display mess? "Wonderful"
@BartekBanachewicz no, another guy who asked me to help him (doesn't know much c++) is. he's a total noob and i saw he's doing integral constant to pointer conversion
@Borgleader 5.8krep more
23:03
@BartekBanachewicz It's a bug!
@Tuntuni and why are you helping him instead of doing proper coding, ha?
user142019
@sehe I can't help Chat lacks support for ANSI escape code coloring.
@Borgleader I see dead questions...
@sehe it onebugzes.
23:04
/me
also citation
:(
and smileys
@BartekBanachewicz A month and a half if i keep up my current rep-whorism

Sandbox

Where you can play with regular chat features (except flagging...
@BartekBanachewicz because he asked me to help :D, but that's irrelevant. point is, i saw that code and i wanted to make it standard compliant
@Tuntuni point is, the code is doing such fucking weird things there's no point in doing that
user142019
@sehe Hmm. Eight cores is nice. Is that your VPS or your desktop?
23:05
accept it's a hack and live with it vOv
@rightfold Nah. It's my desktop
@rightfold he has an i7 with HT
@BartekBanachewicz i would if i could find something that states what exactly happens on windows when converting from integers to pointers (it is implementation defined)
And enough memory to run a java application.
6
the value is the same but i want it in written form. i want to read it somewhere and be sure it is standarised
23:06
@Nican lol
@Tuntuni why would you want that ever? If it works it's ok, nobody is going to run it on any other platform ever
Standards Compliance is ok and all that, but for such a specialized solution you can't avoid UB
@BartekBanachewicz i see ... i guess you're right then
@Tuntuni (But you shouldn't listen to me - I was the one wanting to write a proposal for constexpr placement new to make it map to embedded registers)
isn't it implementation defined instead?
@rightfold These are my vps-es:
user142019
user142019
I'm afraid I run too much as root.
it's UB, but you can make assumptions based on platform.
23:08
UB basically means "don't run it on any other platform or else"
user142019
> whoopsie
uptime 90 days
user142019
Cool.
> An integer may be converted to any pointer type. Except as previously specified, the result is implementation-defined,
@rightfold wut?
user142019
23:08
Dat username.
@BartekBanachewicz what about that link? it's from a c standard but c and c++ should be compatible
> c and c++ should be compatible
@rightfold It's my username, already. It's not secret.
@sehe I am curious; What are you running with mono?
I should go to bed really.
user142019
23:09
I know a guy who runs everything as root because he's lazy. :P
Ell
Ell
oh dear
@Nican I think it's some MVC3 toy application. I was playing with Telerik controls once. It's basically mod-mono
@BartekBanachewicz ugh. herb sutter actually said that's why C++ is so popular, because it is backwards compatible with C. so that link then doesn't apply to c++?
@Ell if you are still interested, I've pushed someshit to my branch on GLDR
@Tuntuni that was true 20 years ago. perhaps it does, perhaps it doesn't
@BartekBanachewicz it was one of the recent build conferences. maybe even the latest one, i'm not sure
23:11
@Tuntuni it still doesn't mean I have to agree with him
certainly C++ makes transition from C easier than any other language
> 3997 /usr/bin/mono /usr/lib/mono/2.0/mod-mono-server2.exe --filename /tmp/.mod_mono_server2 --nonstop --appconfigdir /etc/mono-server2
user142019
I think I'm going to run two workers for my web app.
but the fact C++ is popular is because it's actually a decent language compared to C
@BartekBanachewicz isn't he the chairman of the ISO committee or something similar
1 min ago, by Bartek Banachewicz
@Tuntuni it still doesn't mean I have to agree with him
user142019
23:12
One is enough because it'll have only two users. :P
@BartekBanachewicz and also because it's derived from C
Would anybody like to help out somebody who is new to git and Github?
@Tuntuni that's the reason for C++ suckage
@Pawnguy7 sure. Want to do it the easy way or the hard way?
@ScottW have you decided yet?
@BartekBanachewicz Hm? I am just trying to learn both.
@BartekBanachewicz well i guess it's a double edged sword then. it's both popular and sucks because of C :/
lol, this guy's profile is hilarious
@Tuntuni I think that C backwards compatibility is causing more harm than good really
23:13
@ScottW which pony?
@LoïcFaure-Lacroix 132 days uptime? jeez.
@BartekBanachewicz why wouldn't you agree with a man who's the chairman of the C++ standardisation process?
@Pawnguy7 still. You gotta pick one for first time, huh?
@AndyProwl did they add on recently?
@Tuntuni see above
23:14
@Pawnguy7 I think so
@BartekBanachewicz i'm asking why. surely he knows more than us
"The worst thing that you can do is to ask someone to solve your problems for you with code that you can cut and paste, using a site such as stackoverflow.com."
@ScottW quebecois ou néerlandais
"One of the problems with crowd-sourced sites like stackoverflow.com is that they are heavily crowd-edited. What you see is not what actually happened."
He totally understood the purpose of stackoverflow.com
23:14
2 mins ago, by Bartek Banachewicz
1 min ago, by Bartek Banachewicz
@Tuntuni it still doesn't mean I have to agree with him
@Tuntuni why would you?
@BartekBanachewicz As in, one then the other?
@Tuntuni He doesn't know my opinion
@AndyProwl history of edits is never deleted anyway
@sehe is that a serious question? why wouldn't you?
user142019
user142019
>
@Pawnguy7 one has to be first, huh?
@rightfold
user142019
> Don't do one thing, or in the end, you will be a C++ programmer
wat
user142019
Perl is nice. I've never used Tcl (is it worth learning?).
23:15
lol
@rightfold NO NO LIKE FUCKING NO EVER
user142019
Why not?
hm, let's say I've met a few people that actually worked with Tcl
@sehe @BartekBanachewicz and I are dicussing about C and C++ being compatible. Herb Sutter said they are. Since he's the chairman of the C++ committee, I guess he knows what he's talking about?
Tcl is better than Perl, but that doesn't say much.
23:16
@BartekBanachewicz Sorry, I am lost. I have been trying to learn the basics of local things - good, so far - and now was looking into the remote parts. The immediate question was pretty simple, actually, I think.
> I am a private person, don't belong to any social networks other than LinkedIn, and find chat rooms and crowd-sourced stuff disgusting.
when they spoke about it, their eyes turned dark, they lost all the smile, all the will to live, just... uh
It's stringly-typed.
@AndyProwl I'm thinking, is he Ron Hubbard? Maybe he has 8 wives, too
23:16
As in, literally, everything is a string.
@Tuntuni Er, actually, he posted a paper complaining that they weren't compatible at all.
"One of the problems with crowd-sourced sites like stackoverflow.com is that they are heavily crowd-edited. What you see is not what actually happened." - What?
user142019
That doesn't matter.
user142019
It may be suitable for certain programs.
@DeadMG Really? mfw
23:16
@Pawnguy7 Well then the easiest way is to get GH windows app
> The following is a real problem that has been communicated to me from academia and the corporate world alike.
@rightfold no. It has superior alternatives in every possible use. It's like B language.
@BartekBanachewicz that is how I got what I have. I want to learn the command line way though.
@sehe it's just too funny
@sehe LOOK AT ME I'M SO IMPORTANT I KNOW STUFF
user142019
23:17
I've decided to learn Tcl.
@rightfold nobody cares really
Fuck that guy.
@DeadMG
//assume 0x1234 is a valid address and that it stores an integer
int *ptr = static_cast<int*>(reinterpret_cast<void*>(static_cast<uintptr_t>(0x1234)));
@CatPlusPlus "People (from academia) tell me things"
fuck you with this again.
user142019
23:17
0x1234 isn't a pointer.
user142019
It's an integer.
@DeadMG Is that correct then?
rightfold, If I correctly remember some parts of the gimp are written in Tcl
@Tuntuni No.
assume it's a valid address, that's what i meant
assume there's an int there
23:18
there is TinyScheme and Python but tcl I'm not so sure
@LoïcFaure-Lacroix haha a really nice thing to ensure I will never again use that piece of crap
@Tuntuni Assume we give a shit
7
@Tuntuni what the hell are you doing
@sehe saves my evening, really
@melak47 assuming
23:19
direct control?
reinterpret_cast<T*>(reinterpret_cast<void*>(ptr)); would be valid for some valid T* ptr;
AFAIR everything with pointers and integers and reinterpret_cast is at best IB and at worst UB.
@Pawnguy7 git add stuff & git commit -m "stuff added" & git push
Don't do this.
13
Q: void* with static_cast vs intptr_t with reinterpret_cast

edA-qa mort-ora-yI want to know if there are specific, standards-based differences between two different types of casts of very particular types. In particular, given: type T and a variable T * object is: intptr_t opaque = reinterpret_cast<intptr_t>( object ); T * result = reinterpret_cast<T*>( opaque ); equi...

23:19
@Tuntuni hint, what I told you?
uintptr_t = integer -> 0x1234 can be cast
@Tuntuni wtf go away dude
3
uintptr_t -> can be reinterpret_cast'd to void*
Integers are not pointers.
@BartekBanachewicz First two parts done. For the last part, though. How do I get the... public push url? On an already created repository. I know for new ones it lists it.
23:20
Pointers are not integers.
@CatPlusPlus but can be represented as ones
Not are pointers integers.
if i have an integer representation
i want to get it into a pointer
Are integers pointers not.
@Pawnguy7 ah, you have to set the origin. Well the easiest way usually is to clone the remote first
23:21
how would i do it otherwise
Then you're shit out of luck.
@Pawnguy7 git clone the repo first...I think
Not pointers integers are.
There's a list of cases in the standard when reinterpret_cast is valid.
30
A: Git... setting up a remote origin

Clement HerremanUsing SSH git remote add origin login@IP/path/to/repository Using HTTP git remote add origin http://IP/path/to/repository However having a simple git pull as a deployment process is a bad idea and should be avoided in favor of a real deployment script.

23:21
No pope inters garage!
and it is valid for uintptr_t to void*, no?
I'm p sure integers to pointers and back shit is not on that.
I'm pretty sure it's obscure UB shit.
So UB is for undefined behavior right?
@ScottW you have no idea
23:22
@LoïcFaure-Lacroix yep
Lounge is also pretty UB
now that makes lot of sense
^^^^^^
Jul 10 at 15:10, by Lightness Races in Orbit
Greetings, Lounger! New here? We have some newbie hints and an acronym list for you. Old here? Yeah, we really have nothing for you whatsoever. Sorry.
I am going to bed
that's way too much for my poor head
think about pointers and integers
:D
user142019
23:23
@BartekBanachewicz go sleep in hell.
@rightfold awww snap nice
@rightfold oh that's so cute sweetheart <3 (still stands)
we say laku noc
It's IB.
user142019
It's RB. Retarded behavior.
7
23:24
@CatPlusPlus isn't it? @BartekBanachewicz keeps saying it's UB..
look like Ruby files have .rb extension. just saying
Tuntiny, if you can write to other process using a pointer, you can't definitely create a pointer locally
@rightfold i lol'd
The only well-defined conversion is T* -> large enough -> T*.
The address space is different and you risk to access invalid memory
user142019
23:25
@CatPlusPlus How about subtyping WRT T*?
@CatPlusPlus "conversion"
user142019
Or is D* -> large enough -> B* also unwell-defined?
Probably.
@rightfold Nope.
23:25
the WinAPI function can probably only write to a specific address but you'll have to keep your pointers in standard types and it also means you can't use them like pointers
@rightfold Needs static/dynamic cast
it's definitely UB.
user142019
Ah.
Who cares.
the issue is that the B subobject is not guaranteed to be stored at the 0 offset in the D subobject
which that code would only be correct if true.
user142019
23:26
Oh right.
user142019
Casts are bad.
it's never going to work it's simply not valid, it's not even undefined behavior
else, the compiler would normally have to alter the pointer a smidge to perform an implicit cast from D* to B*.
Cas?
user142019
Cats are good, jij ijsbeer.
23:27
@LoïcFaure-Lacroix Er, it will compile, so it must have some kind of behaviour, and UB is a safe bet.
@LoïcFaure-Lacroix wait. what
@Tuntuni memory timing
If he convert a pointer from a remote process into his own process, what it's going to point is undefined. It could be anything or just invalid memory.
If I correctly understood what he tries to do
I'm off to bed.
@BartekBanachewicz clone the remote? Also, are remote/origin special terms/keywords, or just an identifier?
PS. @LoïcFaure-Lacroix you should mention web-scale in your profile bio
user142019
23:29
~/Desktop [ tclsh hello && ruby hello                                 ] 1:29 am
Hello, world!
Hello, world!
@sehe why is that?
user142019
A polyglot!
er, it seems to me like it's just a Bash command that executes both TCL and Ruby.
@DeadMG zsh != bash
@LoïcFaure-Lacroix and you don't want to end up in the middle of invalid memory!
user142019
23:30
@DeadMG With the same source file for both!
@sehe As if I'd know (or care about) the difference
@DeadMG It's a hint to replace bash with shell in parlance :/
user142019
set foo 42
set $foo 3.14
puts $foo
puts $42
user142019
Yup, Tcl sucks indeed. It reminds me of PHP.
23:31
@melak47 git on windows... using terminal. Hardcore
PHP learned a lot from Tcl
@melak47 Just use TortoiseGit
@LoïcFaure-Lacroix command prompt* :)
@LoïcFaure-Lacroix inb4 "Bad command or filename"
user142019
$foo = 42;
$$foo = 3.14;
echo "$foo\n";
echo "${42}\n";
23:32
@melak47 at least use cygwin
user142019
Hahaaaaaaa :D
@DeadMG @LoïcFaure-Lacroix He wants to do it this way. I do it straight from visual studio :p
@melak47 extension?
@rightfold sig(11) I suppose?
user142019
@sehe What is that?
23:33
@rightfold SEGV
user142019
No.
reminds me when they told me I was going to work on windows... and visual studio
installed cygwin and programmed in vim
@rightfold Then why the laughs? Looks like perfectly usual PHP
@Tuntuni nah
user142019
~/Desktop [ cat foo.php                                               ] 1:34 am
<?php
$foo = 42;
$$foo = 3.14;
echo "$foo\n";
echo "${42}\n";

~/Desktop [ php foo.php                                               ] 1:34 am
42
3.14
user142019
23:34
@sehe ^
user142019
Variable variables ($$foo) are terrible.
Ell
Ell
oh gosh
@melak47 then how do you do it? does it have support for git?
@rightfold I was just beginnning to suspect that. That's awesome. We need that in C++
@melak47 says the destination already exists. I can explain. I, not knowing anything, had used the Github Windows client, origionally, moving files to a folder for that. (of the same name as the project folder as VS makes it). I just now actually am attempting to make it in the actual project directory (git init).
23:35
@rightfold what?
user142019
@sehe You'd need a per-scope dynamically typed hash-table. :P
why are they printed in different order?
@LoïcFaure-Lacroix ... define different
user142019
@LoïcFaure-Lacroix $foo equals 42. $$foo, which is a variable named "42", equals 3.14.
23:36
@rightfold just why?
man i don't get php programmers
@Pawnguy7 if you did a thing with the github gui thing, it probably already did all the things there are to do
user142019
@LoïcFaure-Lacroix Because PHP is horrible.
how many question I saw on SO asking how to access php variables from js
23:37
@LoïcFaure-Lacroix well: how can I access my C++ variable in js?
and give me a second it's worth reading
(inb4 emscripten)
user142019
@sehe jslinux and lots of time.
@rightfold emscripten: much saner
user142019
> C++
user142019
23:38
> JavaScript
Sane!
user142019
> sane
@melak47 Your probably right. Should I delete the repository and start fresh?
I read an article once how there was a patch for php fixing a stack overflow or something like that
@Pawnguy7 just clone it anywhere, then move any stuff you already have in there (but not the .git folder)
23:40
void some_func(int params) {
...

if ((params * numbers / numbers) > MAX_INT) {
// more code
}
...code
}
user142019
There was a bug in PHP which made PHP segfault when you called two functions in the wrong order. :P
I need an artist really bad...
user142019
Nice.
Needs better tie / bowtie, though.
user142019
Ceci n'est pas une artiste.
23:43
@ThePhD what for :p
@melak47 Everything.
I'm just gonna man up and draw it myself, though.
It'll look like shit, but.
Shrug. Meh.
whatcha gonna draw?
New blog post! F-algebras in C++. Tired of polymorphism? Try catamorphism. http://ericniebler.com/2013/07/16/f-algebras-and-c/
^ now that's something for C++-infatuated Haskell junkies
@melak47 Ghostbusters!
@rightfold That's wasn't Monet
user142019
Haha, nice.
user142019
@sehe Het was een foto van Pietje.
23:47
> I won’t dwell on the horribleness of this hack, why it works, and why sometimes it won’t. The less said the better.
@melak47 Everything.
Hello
Goddamn Ruby. Apparently (...) \n && ... is a syntax error, while (...) && \n ... is not.
user142019
((...) \n && ...)
@CatPlusPlus Awww, what are you doing in Ruby?
user142019
23:54
I have a similar problem in Haskell sometimes with let-bindings, requiring me to use id $.
@rightfold Was in parens.
Exactly because I didn't want a syntax error like that.
user142019
Okay then wtf.
Cat using Ruby is so cute.
I'm thankfully closing last tasks on this project, and probably won't touch it in a long while.
23:57
Sweet.
Awww yisss i hit repcap just in time for reset.
LOL: i = 1; i[4] is valid ruby and yields 0.
The long-term plan is to get rid of that Ruby-based part and replace it with Angular/JS-powered thing that communicates directly with an API.
So hopefully no more Ruby ever.

« first day (1004 days earlier)      last day (4169 days later) »