« first day (831 days earlier)      last day (4342 days later) » 

00:01
@CatPlusPlus What should I put you down as? If you don't mind.
What do you mean?
@CatPlusPlus Minecraft name.
PiotrLegnica
OK, that answers what I need. Thanks!
Hoooo boy.
Time to learn how to parse FBX files.
I think I have to make Levels out of Maya too, because creating my own level editor would be far too much work.
00:13
why was @CatPlusPlus fired, and how come he is still italicised?
@Non-StopTimeTravel Joke, and probably cache.
Usurpers trying to dethrone me
But in vain
36 mins ago, by Cat Plus Plus
I'm the king of the lounge for a reason
posted on January 24, 2013 by Scott Meyers

For the cover of the first edition of Effective C++, I envisioned Alexander the Great cutting the Gordian Knot. I'm getting ready to start work on Effective C++11 (about which I'll have more to say in a later blog post), and this week I've been reviewing a manuscript for a new book in my Effective Software Development Series, so recently I've been thinking a lot about what makes an effective

@CatPlusPlus I've opped you so that you can /whitelist people in. I completely trust you to not abuse your powers for evil of course.
Of course
Ell
Ell
Put me on the whitelist !
I'm going to bed.
00:26
@Ell name?
44 mins ago, by sehe
> 2013-01-24 00:43:13 [INFO] [Minecraft] [@lucdanton: Saved the world]
^ In related news, not only can he save it, he now knows how to remotely hot-backup it too. Woot
Sleep well, all
@Ell The process for whitelisting is for an op to go on the server and do it. But I've shutdown my gaming rig!
can anyone confirm that xmm4-xmm7 and xmm12-xmm15 are callee saved on amd64 ABI? tons of pages talk about the general regs but omit xmm's
Ell
Ell
Elliotpotts
Do it whenever, I'll play tomorrow :)
@Ell Ping me right now, I'll see the notice tomorrow.
00:34
@Ell you might want to ping an op (^dat)
Ell
Ell
@lucdanton add elliotpotts to the whitelist :)
heh, up for review: 0 First Posts, 0 Late Answers, 0 Low Quality Posts, 0 Reopen Votes, 0 Suggested Edits, 47404 Close Votes. Guess what nobody wants to do
I remember once I built a mini (like, really mini) "castle" "floating" on a lake barely bigger than the castle in minecraft. I discovered to my amusement that I could just hang out there, and monsters would spawn, run toward me, swim under the castle, and drown. I could just jump out and grab the goods every once in a while.
-2
Q: bizarre cout behaviour

champostI am trying to make sense of my visibly simple code: #include <iostream> using namespace std; int main(){ int i = 6, j = 7; cout << i << "=" << j << "\n"; cout << i << '=' << j << "\n"; cout << "=" << "\n"; ...

Ell
Ell
I built a mob spawner
But I built it at ground level, it took about 9 piston lifts to get the items up
@DavidFrank in case someone didn't break it down for you: the VM doesn't have a notion of List<Integer>. It can only deal with List<Object>. Which is why 1.5 code could (largely?) be run on 1.4 VMs, code is always shared, no type safety exists at the VM level and containers of value types will never exist. Java has no generics. It has type hints for the compiler/lexical analyzer
Ell
Ell
00:43
took a ridiculous amount of time to build
@Non-StopTimeTravel lol
Why is this downvoted? If I got THAT output from THAT code I'd turn to SO as well. — Andrei Tita 22 secs ago
Does anyone know if it is possible to parasitize an existing UDP socket already connected to a peer using some library, and C++?
@R.MartinhoFernandes ZING
I just need to send packets to the remote host using the existing socket(since the remote host checks source port), and read received packets. I don't need to modify any in transit.
@ObsessiveSSOℲ "UDP" and "connected" in the same sentence? Really?
00:48
@ObsessiveSSOℲ you're looking for "promiscuous" mode
allowing you to see all traffic
Yeah. I'm only bent on parasitizing ONE, though.
By "connected", I used the wrong term. I mean that Windows won't allow me to steal an existing local port aeady used by another socket of another executable
I'm saddened by how many days I have zero or negative rep
@ObsessiveSSOℲ steal?
@doug65536 Referring to whom? Me?
@Ell a matter of principle: if it were ok for some people to end their lives, that means it is ok to disrupt society around those people. Also, it might seem to be okay to help some people to end their lives etc. There is a slippery slope that is ... just not traditionally accepted/needed.
00:50
Use.
As Zoidberg aptly pointed out: you don't usually care about legality of suicide after the fact
Wish I could ping random SO users in here :(
@doug65536 I need to send a few extra packets over an existing socket held by another program.
@MooingDuck Wut. You can, I suppose. And I wish you couldn't :)
@ObsessiveSSOℲ what OS?
00:51
@ildjarn did I do it wrong?
Windows, but hopefully portable, as I may need to port to Linux if possible.
@ObsessiveSSOℲ heh, dream on
@ObsessiveSSOℲ msdn.microsoft.com/en-us/library/ms740548%28v=VS.85%29.aspx should allow you to spoof the source port
Oh, thanks! I won't annoy anyone in here much now.
forces you to provide the full IP packet with header
00:54
But, raw sockets require being root, or using setuid on Linux.
you need to acquire some kind of priv in win32 IIRC
Looking for someone who can work in ASM, altering a file and also checking one thing I need to know.
@doug65536 Every Windows "user" keeps their machine logged in as an administrator, but I'll keep looking. Thanks!
yes, I was just AFK and thought of something that seemed funny at the time: make a linux called "UAC Linux". sudo prompts play a sound and a dialog comes up forcing you to click continue for root privs lol.
Graphical sudos exist in every major DE
00:57
Well, on Windows, I'll need UAC elevation anyway, but on Linux, root is unnecessary. Anyway, I have to go. Bye!
yeah but they always require password. the continue button was the joke
@doug65536 ahahahahahahahahahaha.... no, wait
5
Q: How can I prepare for getting hit by a bus?

enderlandAs a member of small teams, I had significant responsibility. Whether driving progress by organizing meetings or maintaining/creating/understanding a large percentage of specific technical information, I often had such responsibilities. Sometimes I was the only person working on technical aspects...

Dat title
"take a deep breath"
0
A: How can I prepare for getting hit by a bus?

Lightness Races in OrbitDocumentation. Reasonably frequent code commits. Documentation. Document your ideas, your designs and your code. Any gotchas you're aware of. Documentation. Document your bug fixes explaining what the problem was and how you've fixed it, and why. And did I mention documentation?

dat obvious fucking answer
01:07
And, it doesn't have nice rhythm. And you need to propagate your profile pic or you'll keep confusing the hell out of me
You monster.
My evil knows no bounds, bitches.
@ObsessiveSSOℲ yeah I just noticed on my other monitor - all you need is to be administrator to use raw sockets (if you're still here :)
@Non-StopTimeTravel they use "bus"? I typically say "hit by a train", seems like it might be messier
01:44
@doug65536 yeah "bus factor"
@Rapptz You broke it o.o
02:03
poop
02:26
@sehe But if you tried and failed, you'd care. Can you imagine failing at suicide? If I was that much of a failure, I'd want to kill my....umm....waitasec. :-)
03:02
@JerryCoffin Endless Recursion of Failure. =[
you saw nothing
</troll>
-4
Q: Where can i find some real good information?

user192339i want to find out how to hack computers better by writing exploits , however first i want to find how binary goes to machine language then to assembly and then into stuff like c and C++ etc. However i haven't been able to find a really good doccument or video on how this works so i was wandering...

Haha, he gives us a name. On to the FBI watchlist.
Lovely.
03:36
script kiddie ftl
re that guy wanting hacking info: If I were mean I would post a link to the Intel CPU manuals and say, "figure it out"
hi all - I'm making a basic multiplication table and for some reason it duplicates the first column: pastebin.com/LbGD68ZU any ideas?
@KevinMurphy Indent your code properly first
Then post it on ideone.com with the "Run code" box checked
forget that other link, use this: ideone.com/clone/9AJZ3l
Bad code formatting is the leading cause of cancer.
@Kevin: Well, you cout i, then you cout i*1 as well.
You haven't run through your program's behaviour step-by-step, on paper, have you?
03:44
thats the row header I thought
@doug65536 You thought wrong!
its missing the loop that prints the corresponding numbers across the top
@doug65536 (Or at least the OP's surprise implies this.)
but it behaves the way I expect except it duplicates the first column
indenting it now - not sure why I didn't in first place but.. yeah:
yeah now that I think of it, the top row and left column would already be 1,2,3,...
@KevinMurphy this is fixed: ideone.com/clone/cviK9g
just took out the first cout mentioned earlier by someone
gotcha I saw it - works perfect thanks!
04:02
@Rapptz That there be sum dam gud gramma!
Two people actually approved it too.
My ratio is now 26 approve - 23 reject.
From what I've seen, I have more rejects than most people who review =/
@KevinMurphy just for fun I made it calculate the optimal width for the times tables ideone.com/jE2sK9
@Rapptz My ratio is usually something like 2 accepts, 3 rejects, 14 edits.
I'd do that, but I don't know what else to add.
For example, this one and a bunch others that are so useless.
04:23
@Rapptz o.o
@Non-StopTimeTravel Amazing grammar isn't it?
@Rapptz I'd agree -- there's not much to do about that but reject it.
05:01
1
Q: Freeing the heap on destructor

NoctisI have a class called 'Byte' that makes me allocate/deallocate dynamic memory.but i am having problem,i don't know where to free it on destructor ? or code new functions like free() let me explain. Byte string; // Default constructor created a heap saved in a private variable in class. void as...

yeah, upvote this, but downvote my puzzle
@ScottW What
duh that's easy
05:32
Dammit, I have an inline assembly macro. But I'm not using all the outputs. So GCC gives me this:
warning: variable âtemp0â set but not used [-Wunused-but-set-variable]
Is there a way to disable that warning for only 1 function?
05:50
-8
Q: Query String Problem

Atif Imtiazi faced a problem today that when viewing recent questions there are several options down there on the page to view 10, 30 or 50 records per page. But if the user enters some other number it works. i entered 1 at the end of the query string and it worked(showed only one record). I dont know if it...

Another person who thinks he's right and everyone else is wrong.
anybody here who has ever worked with BullsEye Code coverage tool?
@Mysticial #pragma GCC diagnostic
@CatPlusPlus Yeah, I found that, but it only works at the top and for the entire compilation unit.
You can't do it on a per-function basis.
Er, no
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
void foo() { ... }
#pragma GCC diagnostic pop
hmm
gimme a sec
> Also, while it is syntactically valid to put these pragmas anywhere in your sources, the only supported location for them is before any data or functions are defined. Doing otherwise may result in unpredictable results depending on how the optimizer manages your sources.
Did I misinterpret that?
06:04
Will a code coverage tool make a build to fail ? If the code coverage tool is not turned on , the build is successful, while if its turned on the build fails - is it normal ?
ahaha, I should probably look at what version of the docs I managed to google.
06:23
@NullUserExceptionอ_อ perhaps i should talk to someone with right authority to change that. — Atif Imtiaz 3 mins ago
^^ Damn this guy is persistent.
Fine. Everyone disagrees with him. What makes him think that the devs will be any different? :P
06:41
how can I set the language in markdown?
06:56
@bamboon eh
oh, code language
read the formatting FAQ
> If this is an intentional "feature" it's insane.
@Mysticial lol
Please, please, please never work in QA. — Cat Plus Plus 39 secs ago
I'm tired, this is the best I can do
I want to go to sleep make the uni go away
@ScottW Ohh, the topic
Random old posts of mine are getting upvoted for some reason
Talk to me so I don't talk to myself fammit
07:23
@CatPlusPlus Hi.
@JerryCoffin appreciate the inevitableness of the joke. However, I disagree with the starting premise: I don't think you'd care even if you failed.
@sehe I don't think I'd be suicidal if I failed, but I have failed at things at times, and I generally did care quite a bit about it.
About it failing. Not about suicide being illegal?
morning all
how long did feeding the beast last?
07:45
@sehe Yes, cared about failing. Never really thought much about suicide being illegal.
Oh ok. Never mind then
@thecoshman What even is that?
@sehe you set up a feed the beast server last night didn't you...
You mean, I mind crack? Yup --dealing--- serving still
"Committing suicide is unlawful. Violators will be punished with up to 5 years in prison."
Is that a qoute? A joke? A Juote?
07:48
Obviously... I made that up.
@sehe how well was it running do you know?
What's the point in punishing people who commit suicide?
@thecoshman Gorgeously. It has moved, you know. Ask @lucdanton or @EtiennedeMartel if you want to know more. I left it up to them to announce it in the lounge once they were happy with the access controls
@Mysticial attempted suicide is still (normally) a crime.. I thought, apparently not though
@Mysticial Protecting other citizens. Committing suicide can sometimes be an extremely irresponsible act
07:50
"Suicide is unlawful. Violations may be punishable by death."
"Smoking is lawful. Inhalations may be punishable by death."
Point being "may be punishable" in combination with "by death" - meh :)
"May be punishable by long-drawn legal proceedings, jail time and eventually followed by the death penalty" is much more vexing (and realistic)
@sehe what's the server you are running it on like? curious how it compares to what I am running
Some countries (like Singapore) take this death penalty stuff seriously.
I don't know how true this is, but from what I've heard:
@thecoshman 1G, 64bit linux. Nothing else to say, really
If you are caught with any amount of illegal drugs in Singapore, you're a dead man - regardless of whether it's your fault.
07:54
@sehe hmm... I'm running with 2G... what's your CPU like, or is it VPS?
Which means that, if I want to kill someone. I just put some illegal drugs in their baggage on their way to Singapore.
@thecoshman 6 core physical, 2 core guest VPS
@Mysticial yeah, but Singapore is an odd place
@Mysticial I'll remember to never take up an offer of a free holiday in Singapore from you then
@Mysticial :7348856 I'm not contesting it. I'm just interpreting/judging the effectiveness. I mean, "death penatly" wouldn't really scare people off if it were guaranteed (instead it would become a kind of insurance policy, should the suicide attempt fail)
@sehe Well, Singapore has a mandatory death penalty for drug traffickers.
07:56
@sehe hmmm.... sounds like my server is more powerful for running MC... need to determine where this lag is coming from, see if I can help improve the situation
any hoops, work time
However, if it could become a longdrawn process, then surely people would 'postpone' their attempt and make very sure they succeeded - as far as they are capable of 'planning' this rationally. (Usually, these things are planned for years, even if subconsciously)
And from what I heard, it doesn't matter whether you've been framed, or are being blackmailed. You die.
@thecoshman Well, is your server on a public IP and can you run it 24/7?
@Mysticial I'm sure there is a little bit of a catch with non-Singaporese citizens?
@sehe I dunno about that, or how much leeway they give. But I've heard that there is little to no leeway.
08:09
> There is a big difference between self-defense and personal safety. Self defense is predicated on the fact that you are in a very bad place to begin with. Things have already gone to hell in a hand basket. here
-6
Q: C Programming For the following details

JananiUnix C program to open one file and to check for the details in that file

@Mechanicalsnail Surely that might depend on context, not?
Oh aha. Lol, saw the link now. I think he's asking for delete votes :)
@sehe This is the C++ room and nobody'd made that joke yet?
We waited for you to arrive.
@sehe The guy has 2 other (just-as-incomprehensible) questions. Maybe more that are already deleted.
Xeo
Xeo
08:27
Mornin'
This truly is a nice answer — sehe 5 secs ago
^ SO is a marvelous site. This spells too localized, but I'm so happy stuff like this lives on.
I learn the most from just reading stories like this. I keep it in the back of my mind, and invariably it springs up at just the right time when I'm in a similar situation
@DeadMG Are you referring to the Maybe monad?
hello room
user142019
Damn good morning.
user142019
08:36
Wow GLib is terrible.
user142019
It allocates all the things on the heap.
user142019
Y u no let me decide where I put things.
I had a strange adventure tonight... I solved my problem by not scaled up the brower window (which is almost impossible) but creating a pop-up window already scaled up for my applet to go full screen. And yes it works
took hours
@RolandSams ?
@Zoidberg Would you rather it maps everything to disk :)
user142019
08:41
@sehe Stack.
@Ell Done
user142019
I mean the struct that holds all the information.
user142019
Of course, the contents of the hash table can't be on the stack.
@thecoshman Keep me in the loop!
user142019
(With the exception of an optional small array optimization.)
08:42
@Zoidberg Wut, they keep the control data on the heap?
user142019
@sehe yeah.
user142019
GHashTable *g_hash_table_new(GHashFunc hash_func, GEqualFunc key_equal_func);
I can only imagine they want to this for versioning reasons: it's pimpl idiom, observed from generated code side
user142019
ALL THAT INDIRECTION ;_;
user142019
SO MUCH WASTED MEMORY ;_;
user142019
08:43
SO MUCH CLOCK CYCLES WASTED ON CALLING free(void*) ;_;
user142019
They just have a contract with computer vendors.
By decoupling the external interfaces from their implementation details (including object sizes) they can update the library without users of the shared library having to recompile, even though classes change layout/size/alignment requirements
user142019
It must be as slow and costly as possible.
@LucDanton what loop? if there is a loop, I'm not in it, or perhaps I am and don't even realise it
@Zoidberg Nah. They just understand their audience and the needs of their audience. (Hint: not* you)
user142019
08:45
So people will buy a new computer because the old one feels slow.
user142019
@sehe > Implying I'm serious.
@thecoshman If you find a new home for the server lol.
@Zoidberg I know. I'm just thinking aloud. Also, I agree that in this respect Glib is a poor choice over a high level GC language.
@LucDanton what do you mean? Are you refferring to the one sehe set up and I have nothing to do with, or my own one?
@thecoshman Both; i.e. move the world from the former to the latter if you want to provide one.
08:47
@LucDanton so is there currently no 'lounge FTB' server running?
user142019
Well, time to implement myself some MurmurHash3 then.
@thecoshman There is.
@Non-StopTimeTravel thanks for the hint, thought that was official markdown, but obviously isn't.
@LucDanton hint: I wasn't on last night nor read through the entire transcript like some deranged primate hoping to find a tail
@thecoshman Sorry, my SO feed showed me some messages but maybe they weren't in the right order.
i.e. I thought you were in on this
user142019
08:50
Hmm.
oh man, I turned of my pi last night and never plugged it back in... it is currently the only way to my dedicated server :(
@LucDanton up to sehe first firing up a server for it
user142019
I could also just use a sane language instead of C.
2
@thecoshman I thought you found something more robust.
@LucDanton not sure :P I have my own server, that sounds more powerful then what @sehe can/is willing to spare, but not too sure how well it is performing, as still need to determine if lag is client side of because of server
@thecoshman Ya, so as I said, keep me informed!
08:55
oooh
@LucDanton any idea how many here where wanting to join in the FTB fun?
@thecoshman No. It tends to arouse attention but so far I've only received one whitelist demand.

« first day (831 days earlier)      last day (4342 days later) »