« first day (725 days earlier)      last day (4447 days later) » 

11:00
lunch time!
Lunch time? Time to get out of bed!
Where are you?
Oh, lazy fuck student.
In bed?
a daknok, he's one of kind
@ThePhD in fact that's all we needed. I'd prefer to have "#undefine *" or similar. That is, after 'unuse name` or 'hide name'
58 mins ago, by R. Martinho Fernandes
Wait, who kidnapped sehe? Why is he in school?
@sehe Yeah, everyone is. How unique of him to be one of a kind.
bleh: fyi - kids go to school ^
11:04
I have a day off today. As every wednesday.
@R.MartinhoFernandes Ok, let me precise that: he's one of a singular kind
I want #exclude which undos an #include.
Or better yet, damn modules.
0
Q: terminate called after throwing an instance of 'std::bad_alloc'

FrankThis is my setup (boiled down). I have a "layout function": struct LayoutFunc { LayoutFunc( int limit , int value ) { lim.push_back(limit); val.push_back(value); } //LayoutFunc(LayoutFunc&& func) : lim(func.lim),val(func.val) {} LayoutFunc(const LayoutFunc& func) : lim(...

Warning: the stack trace is 'shopped!
@R.MartinhoFernandes Wut
I stopped reading at 'copy constructor'.
11:10
@daknøk #pragma damn module
Although I think that is a redundant pragma. Modules seem to be damned already :)
It seems your OS is having trouble recruiting 18446744073709551592 bytes(~17179869183 GiB) of free memory.Buy more RAM. Or allocate less? — sehe 8 secs ago
@R.MartinhoFernandes True. I was lazy, again
Oh, ffs, flags in gibberish.
gah, didn't see your edit @sehe
> NJobn comment pointed me in the direction to find this bug. if you post an answer, +1 BJobn. Also +1 for sehe to make understand BT
@TheForestAndtheTrees You missed for the trees, I guess :), also scroll up
11:17
@sehe I'm going to have to edit that. For Unicode.
Apparently, I made the backtrace more understanding :)
Wait. So now, they want me to review 15 flags, but I can't dismiss more than 1 per second?
Very time programming... I don't believe it. LOL — May 3 mins ago
^ lolwut
> You can perform this action again in 1 seconds
@tweetsbi Poorfreading is for wimps FTFY
^ lol Took me about 5 seconds before I got it
@R.MartinhoFernandes Wait... Your friend is an assassin? I'm going to be more careful now
I had a follow up joke, but it's too lame.
@sehe When I wrote it down I always referred to him as "that friend", so I guess I didn't remember anything about him (other than some friendship relation) when I woke up.
The example given just achieves obfuscation of the code. Why is that obfuscation deemed to be desirable? Should a solution incorporate even greater obfuscation, or just about the same amount of obfuscation but achieved in an "intelligent way" (and what is that)? — Cheers and hth. - Alf 3 mins ago
^ I like focusing on the essential instead of the X-Y solution requested.
11:48
0
Q: Emulation a hardware device

thakrageI have been assigned a task where I am to emulate one of my company's hardware devices. I am to use the device firmware written in unmanaged C++ Not necessarily all of the code, but stuff like communication protocols and such is working perfectly in the device and I would like to reuse that code...

I don't suspect that to be easy
@sehe an ass-assassin?
Software Y U NO INTUITIVE?
@thecoshman When he's around make sure to watch your ass!
Because it will be assassinated.
sfw... but wtf?
2000 kcal in one minute?
12:01
TIL the rubiks cube has 43 quintillion possible combinations.
@StackedCrooked editing
@TonyTheLion and only one that you want
yep
so fun fun
only one?
@StackedCrooked ¬_¬ I've never seen any one give a crap about a particularly well scrambled cube...
There might be multiple combinations where all sides have the same color.
12:07
everyone likes a good zombie
stupid one box!
@StackedCrooked Nope
meh
meh
meh
meh
meh
meh
meh
meh
meh
12:12
@TonyTheLion there was only nine
silly lions can't count
Lion can count to ROAAAR.
@StackedCrooked o_0
I can count to -1.
@R.MartinhoFernandes IMPOSSIBRU
@thecoshman "Mincir sans se forcer, de façon fun et ludique c'est possible" /cc @EtiennedeMartel Wut. fun is french now?
@sehe say what?
12:24
@thecoshman "what"
@sehe :D
Yeah, sorry for being slow. Initially I literally said it. Then I remembered you could not hear that, so I typed it as well
@sehe Actually, you literally said ""Mincir sans se forcer, de façon fun et ludique c'est possible" /cc @EtiennedeMartel Wut. fun is french now?"
@sehe really?
@sehe Yeah, like a number of other english words such as "cool" or "look"
12:26
@Neil No. That's what I typed
@kbok What's wrong with the French. They are supposed to be xenophobes and hate Anglicisms
@sehe Then technically you literally said nothing.
@sehe ooooh, I finaly see what the hell you are on about there
@Neil Meh. I can't hear you!
@Neil how do you know?
@thecoshman yeah, what a coincidence that it was a direct reply to the YT vid, don't you think?
12:27
@thecoshman Because he just said he typed it when he also said that he had said it.
@sehe The French academics hate Anglicisms because the people keep using them :)
@Neil You're missing the crucial point. I did say something. I said "what"
@sehe ¬_¬ never mind
@sehe Also the French have always been great admirers of the american culture, whatever they say
FOR SCIENCE! (literally) @surmair: Pornhub donates money to breast cancer research. You just gotta watch some porn. http://gizmodo.com/5949510/watch-porn-on-pornhub-to-donate-money-to-breast-cancer-research
6
@TonyTheLion your sort of news I am sure ^
12:28
that's old, saw that on Reddit like a week ago
@sehe Crucial point missed.
MusicBrainz is launching a real album cover API.
this is what was missing for one project of mine :D
@TonyTheLion then blame @KonradRudolph for being slow :P
I'm like neo, dodging points like bullets. *whish*!
12:31
haha
Sooo, indeed, I was right. The error was in the key or message input. — sehe 2 mins ago
^ spoiled PHP brats :) You spell it out to them and you can't even get an upvote. How does that work
PHP
it doesn't work
neither the devs nor the language
should be PHP's new motto: "We don't work, neither devs nor language"
> Didn't knew that C++ syntax can often be confusing.
heh
@kbok yeah. I have some scripts that calculate the MB_ID and look for covers on coverartarchive.org/release$UUID. Sadly, I found that nary a single cover could be found. The script has a fallback to use the scanner directly so I ended up wasting hours scanning stuff.
@sehe Well, the announcement is 10 days old.
12:46
@LuchianGrigore I find all code confusing. Unless I wrote it.
I bet you do :))
Anyone know what blt is?
nevermind
@LuchianGrigore the sandwich?
@thecoshman close
only in our application is 386602766 a valid port number... :)
03CD6260 2C030004 cmpwi r3,0x4
03CD6264 4180FFE8 blt 0x03CD624C 01 (03CD6260) REG
12:56
@LuchianGrigore Branch Larger Than
@TonyTheLion sure? I think it's less than (at least that's what I got from stepping through it)
not entirely sure
but it's definitely a branch
@TonyTheLion that would normally be 'branch greater than' wouldn't it?
well, I figured it out eventually. It didn't make sense in the direct context, but there were some hardcore optimizations going on. Thanks though
here's all the meanings
Branch Lesser Than
or Bacon, Lettuce and Tomato
13:02
@TonyTheLion how'd you figure it's ARM?
@LuchianGrigore because I've done ARM asm before, and also I only know that ARM names it's registers r1 etc
so why is @FredOverflow only updating the video list on Friday?
@TonyTheLion PPC names them that way too
Never done PPC.
because I'm smart.
IDK what architecture this is though
It's a PS3 though...
@TonyTheLion That's true.
@LuchianGrigore Oh god cell.. hide
Cell is a microprocessor architecture jointly developed by Sony, Sony Computer Entertainment, Toshiba, and IBM, an alliance known as "STI". The architectural design and first implementation were carried out at the STI Design Center in Austin, Texas over a four-year period beginning March 2001 on a budget reported by Sony as approaching US$400 million. Cell is shorthand for Cell Broadband Engine Architecture, commonly abbreviated CBEA in full or Cell BE in part. Cell combines a general-purpose Power Architecture core of modest performance with streamlined coprocessing elements which great...
Apparently it's something like PPC
13:08
ah so it's not ARM
in Unix when a process in running in USER mode,at that time is it controlled by Kernal or it uses CPU on its own?
the architecture is a layered model
so the kernel does certain things, like making sure a concept such as user mode can even exist
so the kernel always has something going on, even if it's just keeping track of all the data structures that make up what would be called a user mode thread
and then when user mode thread wants anything from hardware or filesystem, it has to make a kernel call (system call) to ask for it.
thanks..but i have read that CPU has mostly two modes.. user and kernal..so are they designed by kernal itself ?? or by CPU vendors...??
@kbok huh. how is that related? I'm saying something about the content of the old service
@aj8080 kernel and user mode are hardware enforced in terms of permissions. But the software kernel still has certain rudimentary things that need to run before a software user mode can exist
13:18
thanks...but i have already read both of them.. but dint clear my doubt so came here to chat room....
also it's kernel not kernal
oh...sorry for that.
CPU modes (also called processor modes, CPU states, CPU privilege levels and other names) are operating modes for the central processing unit of some computer architectures that place restrictions on the type and scope of operations that can be performed by certain processes being run by the CPU. This design allows the operating system to run with more privileges than application software. Ideally, only highly-trusted kernel code is allowed to execute in the unrestricted mode; everything else (including non-supervisory portions of the operating system) runs in a restricted mode and must...
Other info about the hardware protections
Though a CPU can just be running a user mode thread, and doing just usermode related work, which doesn't involve kernel calls.
but that the CPU is entirely doing just usermode or kernel mode stuff I think is trying tear it apart too much. These things are very much dependent on each other
user mode won't exist when there's no kernel.
What's the stance on answering a question & then voting to close it?
13:22
yea so user mode case ... process which is using CPU ,does that process contact CPU directly or via Kernel...??
also, don't take everything I say for granted, because I'm by no means an expert
@aj8080 User mode doesn't talk to hardware directly, it's not trusted to do that
@sbi ^ a special motivational for you :)
that happens through the kernel
13:22
@sehe covertartarchive is the old service ?
@sehe funnily appropriate
@LuchianGrigore I've done it before, so I don't mind
but user mode never uses hardware on its own ..
no because it's fairly restricted. It's all about permissions
@kbok Well, perhaps also the new, I'm not keeping an eye on that daily. But at least ~2 months ago
Seems OK to me too. Okay, great!
13:23
@aj8080 The processor is running those instructions directly though, it's not like the kernel is fetching those
Jul 23 at 11:23, by sehe
The best 'vague' link I had until now was trying to code something up with the MusicBrainz API to get their discid and see whether http://coverartarchive.org/ happens to share my taste.
and trust, usermode isn't trusted doing anything that requires talking directly through hardware. That's what syscalls are for, going through the kernel. A syscall is essentially a call into the kernel
@kbok If you want my script, shout, I can put it on github for you
afk - g2g
@jalf Erm. What?
@colin so kernel must me monitoring those user processes.. doesn't it ?
13:26
why would it monitor those?
@sehe I WANT YOUR SCRIPT
@aj8080 Yeah, it interrupts occassionally, but the hardware (once set up by the kernel) makes sure it doesn't access memory it's not allowed to
and in what sense "monitor"?
so to keep processes synchronized.
@LuchianGrigore If it's worth an answer why isn't it good for SO?
13:26
The kernel gets an interrupt when a process does something bad, which is when you get something like a segfault
well, things can be interrupted, it's called preemption
@R.MartinhoFernandes dupe
and threads have a time slice etc
but that's something you should read up on, because it's complicated
Also don't take what I say to be definite either, I'm slowly remembering a lot of this as we go
yea
same here
13:27
@LuchianGrigore Oh, in that case it may be worth an answer.
@R.MartinhoFernandes there's also questions that don't deserve answers, but you give them anyway - stackoverflow.com/questions/12287861/… :D
yea.. ok so here is what i hv understand so far... kernal helps kernel processes as well as user process...in short there is no process running without kernel monitoring it...am i correct ??
Hi. What is the rationale behind NetBeans logical folders? Usually I like my projects to be structured in physical folders, especially if using some SCM tool.
@LuchianGrigore lol
I have always problems appreciating IDEs if they do not explain how and why their features are supposed to benefit my work...
Actually I like to avoid them altogether, but this time I have to use NetBeans. :x
13:34
I dunno, did you check the docs?
oh ill read it bit more..anyways thanks @collin and @TonyTheLion
@R.MartinhoFernandes Yes. I checked stackoverflow, the NetBeans docs, google etc.
who invented i++ + ++i?
@Cheersandhth.-Alf trolls
@Cheersandhth.-Alf It's taken from '101 Code Snippets That Will Get You Fired'.
13:39
@Cheersandhth.-Alf can you pl tell me what is the role of kernel(Unix) in user mode process execution ?
@thecoshman This is your fault for mentioning 'trolls'.
At least, it is not all that difficult to work with physical folders in NetBeans. It's just a little cumbersome & redundant (you basically have to manage physical folders AND logical folders at the same time).
aaaargh, crap
In computing, the kernel is the main component of most computer operating systems; it is a bridge between applications and the actual data processing done at the hardware level. The kernel's responsibilities include managing the system's resources (the communication between hardware and software components). Usually, as a basic component of an operating system, a kernel can provide the lowest-level abstraction layer for the resources (especially processors and I/O devices) that application software must control to perform its function. It typically makes these facilities available to a...
@aj8080 well, why not
@robert (╯°□°)╯︵ ┻━┻
13:42
think about the requirements of a process
first, it needs to get created
looping..using hardware..etc
yes
well in that direction but not quite
@Cheersandhth.-Alf you're a patient man... :)
man... that maximum votes per day thing is a sneaky little trick
13:43
the most urgent requirements have to do with getting along with other processes
for example, it needs to get allocated time slices for execution
@thecoshman Dafuq?
it needs to have virtual memory set up so that it can access memory without trashing other processes' memory
@Cheersandhth.-Alf Aarrgghh! 'time slices' already..
@robert logical folders, stupid idea
13:44
it needs to synhronize with other processes
yea..
there we go
@MartinJames yes that's the most basic. it's the first thing you do if you set up a simple monitor: generate an interrupt stream, dole out them slices
don't mind me, I'm testing
@LuchianGrigore would you stop that! there is sandbox you know
13:45
@LuchianGrigore you know there's a separate chat room for that, right? ;)
well, there is. :)
then there are all kinds of other services, in particular access to shared resources such as files, monitor, network...
the kernel isn't necessarily involved in all that
@LuchianGrigore here now off with ye
but it provides the base functionality that makes it possible for processes to share resources safely
13:47
@thecoshman you just wanted to say "ye", admit it!
@LuchianGrigore hardly
a good way to learn about this is to have some simple computer (or simulation thereof) and set up a simple "monitor" that can execute concurrent "tasks"
it's like a poor man's operating system
teaches you what's important and what's not
@aj8080: protip: people have actually written books and things explaining what a kernel is, how it works, and what it does. You should consider reading one. Also, there is this cool website called "stackoverflow" where you can ask questions related to programming.
4
instant star
At least two.
also also, if you have any intention of being a programmer, then being able to seek out information is quite a useful skill to have. And simply going up to a random stranger and saying "can you please tell me all about kernels" is not really going to cut it.
so does this mean that kernel is only needed to support kernel mode processes and not during user mode process..?
@aj8080 (╯°□°)╯︵ ┻━┻
@aj8080 Nooooo! Get that book that jalf mentioned!
@aj8080 ... did you just let Alf spend 15 minutes explaining, only for you to completely ignore it and ask the exact same question again?
13:50
@aj8080 ..unless my initial guess was right and you are trolling.
@jalf s/a useful/the most useful/?

Sandbox

Where you can play with regular chat features (except flagging...
@jalf i have lot of respect for @Cheersandhth.-Alf ,i dont find any thing wrong asking him any doubt..(which u may found silly)
@kbok catching up are you?
@R.MartinhoFernandes agreed
@jalf I've also already spend 15 mins explaining the same dang thing to him
I vote troll
13:55
@thecoshman Yeah -_-' I only noticed later.
oh gawd.
Yep, that's Him.
@aj8080 If you have so much respect for him, then why did you completely ignore the extremely long and detailed explanation he gave you?
That is not respectful
13:57
Google Play's upload form is almost as retarded as Apple's one.
It would be respectful to say "I don't understand this specific part of what you just said, could you please explain that in more detail?" Simply ignoring the explanation and repeating your initial question is not respectful
"We're sorry, but the form you want is in another castle! (Because see, I can detect you already have this app registered and might want to update it, so you'll have to go over there and use "Update" form which looks and works exactly the same way! See ya there!)"
Xeo
Xeo
0
Q: What is 0x0000000,0x1000000,etc ?

Anirudh SudarshanI came across these in a program which handled input streams faster in a coding contest and I am trying to understand the program. Thank you in advance.

o__o
i have not ignored it...its just like it takes time for me of understand..imnot quick learner like you..
"Ooops, you've changed one version but not the other, can't have that, spend another 10 minutes compiling and exporting .apk have fuuuuuuuuuuuuuuun"
Fuck every mobile platform ever.

« first day (725 days earlier)      last day (4447 days later) »