« first day (2288 days earlier)      last day (2646 days later) » 
00:00 - 16:0016:00 - 00:00

12:00 AM
That's so sweet. You're the first to notice, as ever!
 
I suck at reading syslog.
 
@StackedCrooked That should not be possible, strictly speaking, right.
@StackedCrooked Keeping that link
 
Thanks to quick support, coliru is back, I edited the answer with the Live Demo using asynchronous background workerssehe 14 secs ago
 
Nice.
 
12:50 AM
 
floof ^_^
 
1:10 AM
An quality GPU kernel:
uint x = (blockIdx.x*blockDim.x)+threadIdx.x;
uint y = (blockIdx.y*blockDim.y)+threadIdx.y;
int index = x+(y*pitch);
int regIndex = dRegionIn[index];
if(regIndex >= 0) {
atomicAdd(dOutRegSize+regIndex, 1);
}
Would be interesting to compare to the CPU serial version
 
 
1 hour later…
2:35 AM
The question is actually quite simple: The answer is, "no".
 
@Mysticial I'm supposed to work on. At least OP is honest.
 
2:50 AM
My C++ course started yesterday. First class. I was afraid they'd be teaching bad practices akin to using namespace std;.
What followed made me want to kill myself.
 
ask them about singletons
 
@Mikhail That's not good for your health.
 
Its my favorite interview question to ask :-)
 
#include <iostream.h>

int main() {
  cout << "Hello world\n";
  return 0;
}
fuck my life
 
You're probably in an introductory class. I'm aware of very few schools who have a real C++ class.
 
2:56 AM
This is a semester-length course on pre-standard implementation-based (TC++ 3.0; 1992) C++.
18
 
I'd be out of a job if India started teaching real software development
 
@littlepootis my condolences
 
Ell
@littlepootis oh no
Why do they teach that?
 
Because India
 
user406009
3:50 AM
@Ell My guess is because they don't want to update the materials.
 
4:04 AM
@littlepootis TC++?? Seriously??
 
 
2 hours later…
6:04 AM
> If there is any factual mistakes please inform me as this was written and researched on a bus ride home.
 
6:33 AM
@littlepootis Well, at least they use \n instead of endl :)
 
also no void main() in sight
 
Ven
7:09 AM
Hi
@sehe i got stars.
 
Morning guys
 
Quantum ARR280-192R - Exxact Corporation -- This is interesting. I did not know ARM CPUs were being used in servers and such.
@Mysticial: Make your Pi calculator run on that. :)
 
We get warnings on our 64 bits builds
 
Received a card to collect a parcel @ local post, so did. Went 2 local post office but they couldn't find the parcel. Came home, found the item tracking number and contacted them on the phone and was told that item was ready to be collected. Apparently the track number they put down was 1 letter off. So I went to the post office again, then was told that the item is not there because the put down the wrong post office (there are two in the same area).
 
Mainly stuff like "possible loss of data" from integer demotion from size_t to int
How does it get fixed? With C-style casts of course! /cc @CheukKinSing
 
7:25 AM
so the delivery person put down both the wrong track number as well as the wrong post office
 
Un classique pour ce matin @Ven : youtube.com/watch?v=NonWfgHegDU
 
Ven
J'regarde en arrivant
 
Tu connais déjà normalement
 
tomorrow I will visit the post office again trying to collect the item ... went there yesterday as well because thursday night is late shopping night - everything in the shopping center closed at 9pm except the post office which closed at 5pm
 
@Telkitty Apparently post offices are a mess regardless of the country they are located in
 
7:28 AM
tomorrow is the 4th time I will be visiting for the same parcel
@Rerito apparently ...
next time I learn, I will call to confirm before visiting
take extra vigilance against known incompetent people
 
@wilx So, the only advantage ARM chips can have is if they push some kind of innovative packaging, for example 1024 cores on a 2U or 6GHz clock with cooling. Something crazy. Intel has something like 99% of the current server market, and that ain't going to change if ARM vendors offer the exact same thing with significant engineering startup costs.
 
@CheukKinSing anet has been outdoing itself this week so it’s been hard finding just the right bug to showcase, but this one should do the trick
 
lol the title
-1
Q: When I use file as the input of a c++ programs, it Corrupts

HardyI use a file as the input for a c++ programs, and the input is not complete. When I output the results to another file, it meets some problems. Because of the uncompleted input, I think the programs will shutdown after the program, but it doesn't. It continue running and drop into a loop that nev...

 
7:45 AM
Quick question if anyone can help
Is there a way to remove cv/ref qualifiers from a type in libclang API?
Can't find anything in the doc
(or to get the underlying type, stripped from said qualifiers)
 
Ven
8:04 AM
@Rerito toi et ton école du code d'argent
 
@milleniumbug so much corruption nowadays
 
Anyone here playing warframe or clash royale?
 
8:22 AM
the facebook games?
 
nope, warframe is a "regular" pc game
while clash royale is a mobile game
 
@Telkitty Haha. Sounds like the post offices down there are similar to those here. :)
 
tell me about it, hours wasted for collecting a parcel
 
@BartekBanachewicz If you like FPS games, you'll like warframe
 
@Mikhail It seems to me that they are of low power consumption might be an advantage for them. 48 CPUs and just 900W PSU seems quite interesting.
 
8:35 AM
@Rerito oh wait that was that mmofps
I think I saw a friend play that, meh
 
@BartekBanachewicz With a space opera touch
 
I've been playing Helldivers mostly recently
and the usual - Factorio, FTL, Hearthstone
I kinda like those games in that I'll probably never really stop playing them
also Minecraft
 
I got bored of Hearthstone
 
I tend to get bored too, but then I give it a break for a while and come back with fresh ideas
last time I actually skipped the whole set, IOW came back when the Gadgetzan was released
still got the C'Thun thankfully
 
write software then release them on to the market
never boring
might not be profitable, but not boring
 
8:45 AM
I hate mobile dev
 
yeah, fuck the application life cycle
 
teh market
 
I have an idea for a software that might make good cash
 
user1804599
^ lol, SMS compression uses an ambiguous grammar
 
8:52 AM
hey fam did you know french people are the best at compression algorithms
bet you didn't know that
 
user1804599
Yeah, but they're terrible at mass nouns.
 
user1804599
> a software
 
can't be awesome everywhere all the time
 
@slaphappy It's a full time job
 
Hm, I'm learning about python generators.
 
8:59 AM
 
user1804599
@StackedCrooked They're awful, don't use them.
 
user1804599
Return (possibly lazy) lists instead.
 
Ven
@Mikhail someone shop a snake instead of the gun
 
@rightfold does python have lazy lists?
 
user1804599
Yes.
 
9:01 AM
What's bad about generators btw?
Are they like stackless coroutines?
 
@slaphappy I have an idea about cars
I need to do a patent search
 
hit me
 
well that was actually one of the ideas
but I guess finding the patent for the other one will be similarly easy
also lol 1973
fuck me, it's hard to be an inventor these days
 
well, cars are... not new
I guess you could patent some bitcoin shit
 
bitcar
 
user1804599
9:05 AM
@StackedCrooked You can only iterate them once, i.e. they're impure.
 
user1804599
 
@slaphappy I don't care about those things
 
I guess you could invent stuff related to electric cars.
 
3 mins ago, by Bartek Banachewicz
but I guess finding the patent for the other one will be similarly easy
@slaphappy I know very little about e-engines
at least that one is from 2006
 
You can fix that though
 
9:09 AM
I met a girl obsessed with electric engines once
that was kinda scary
well I guess I could refresh my basic knowledge at least I suppose
 
@fredoverflow
 
user1804599
best music
 
user1804599
best gaem
 
can someone give me link for our discord :\
 
what a team effort
 
Ven
9:47 AM
buttiful
 
Synchronized down shift rev-matching system (SynchroRev Match) is a technology invented by Nissan for use on manual transmissions. The technology was first used on the Nissan 370Z. In combination with the Engine Control Unit (ECU) and various sensors, the engine blips the throttle for the driver during both downshifts and upshifts to allow for better and smoother shifting, and improved handling. == Purpose == When a car with a manual transmission is in motion with the clutch engaged, there is a mechanical connection between the engine and wheels which keep them in sync with each other. Wh...
lel that even has a wiki page
now I want a car with that
funnily enough, in the motorcycle world that's called a Quickshifter
unfortunately my car's engine doesn't spin up nearly fast enough to "blip" reasonably
 
10:06 AM
@BartekBanachewicz with clutch disengaged the throttle response is usually a lot faster
 
@ratchetfreak nah, it's just how the ECU is tuned I suppose
 
and the speedup only needs to be around 1-2k rpm usually
 
@ratchetfreak my problem is the lag, not the revving up speed
if I press the clutch down, and momentarily press the gas all the way down and then back up (in like 0.5s), it won't even move
 
but the blip can bypass the ECU induced lag
 
10:10 AM
using a different tuning when clutch is disengaged
 
I suppose this is just how it works in this one
 
Bah, so I have applied for a C++ related position. Now I am getting nervous because my C++ is rusty. :(
Why do I do this to myself?
 
I got a task to do some changes in the C++ component
 
@wilx want to borrow a reference?
 
I already regret taking it
 
10:30 AM
@ratchetfreak It will collapse as all my references do!
 
10:50 AM
@sbi I did refer to it, it was a bit above the one where I mentioned you!
@LucDanton very good
 
 
1 hour later…
12:09 PM
@milleniumbug Your new project looks fun, but way too much work D:
 
indeed, I probably won't handle it
 
What motivated you to start it?
 
all our rants at discord-lounge
 
:D
 
What projekt?
 
A new BLAS library.
 
that's... ambitious to say the least :D
But the name is gud
 
knowing me, I'd write readme file, write a rant, and drop it
 
xD
 
Do you have your copy of Numerical Recipes ready? ;0
 
12:18 PM
@milleniumbug plz gib cholesky matrix decomposition
 
@Rerito AFAIR that's available in boost
 
does that include making breaking changes to the api?
 
so renaming vector to dyn_array, making allocators actually focus on allocating raw memory, dropping iostreams, ...
 
stuff like that, yes
 
12:23 PM
(you can take those as suggestions BTW)
 
That's good to know, thanks. OS X (as of 10.8.2) still uses 3.2.48, and stackoverflow.com/questions/10418616/… tells me that, unfortunately, "Apple use quite an old version of Bash, as they don't ship code that's licensed under GPL3." — mklement0 Sep 21 '12 at 15:29
Good jerb, Jobs
@BartoszKP You can buy mine
 
as an extra note on allocators I would not return just a void* from malloc but instead a Tuple<void*, size_t> to account for some allocators over-allocating and letting the user code use that extra bit of free memory.
 
@sehe I have my own somewhere, thanks ;)
 
@sehe s/Jobs/Stallman/?
 
:iguess:
What's more bad in GPLv3 (disclaimer: I didn't even know it exists)
 
12:26 PM
@sehe It makes you include Stallman's bio in your repo
 
Could be worse
 
In all languages?
 
In Spanish, even
 
lol
>This means that if you break the DRM, you'll be free to distribute your own software that does that, and you won't be threatened by the DMCA or similar laws.

https://www.gnu.org/licenses/quick-guide-gplv3.en.html
 
@sehe "bad". It blocks things like tivoization.
 
12:30 PM
:o is that a thing?
 
Guess where the name comes from.
 
I wouldn't have guessed as I'm far behind ;)
 
TiVo (/ˈtiːvoʊ/ TEE-voh;) is a digital video recorder (DVR) developed and marketed by TiVo Corporation and introduced in 1999. TiVo provides an on-screen guide of scheduled broadcast programming television programs, whose features include "Season Pass" schedules which record every new episode of a series, and "WishList" searches which allow the user to find and record shows that match their interests by title, actor, director, category, or keyword. TiVo also provides a range of features when the TiVo DVR is connected to a home network, including film and television show downloads, advanced search...
 
@R.MartinhoFernandes TIL
How ethically correct of Apple to actually abide by it. And how transparent of them to state their objectives :)
 
@R.MartinhoFernandes yes, yes, got it, TY
 
12:33 PM
The WP article on "Tivoization" was probably nicest
 
Good morning fellow loungers
 
I'm not sure whether it's scary or funny
 
Why not both
 
but the discussion between Torvalds and Stallman really interesting indeed
hehe
 
Where?
(no doubt about not GPLv3-ing the kernel)
 
12:35 PM
in the WP article, well, part of it
 
the idea of putting my low resolution game on high resolution apple TV indeed fascinates me
 
@BartoszKP Torvalds nor Linus appear in the article.
Ah. Under [Tivoization] indeed
 
yup
The freedom to constrain someone's freedom to constrain someone else's freedom
 
1:00 PM
-4
Q: Hi, I've hit a brick wall with C++; and am looking for programmers

JonPHi can anyone help me please; I desperately need a programmer for a project that I'm working on; will provide details on receipt of your answer

/cc @Mysticial
 
didn't last long
 
@Shoe Good morning fellow shoe.
 
@Shoe How are your laces?
 
Ell
lol
that question
 
@Morwenn <3
Ok back to work now
 
1:14 PM
@BartoszKP Dirty ( ͡° ͜ʖ ͡°)
 
@Shoe and tangled?
 
> Les jeunes noirs ou arabes ont 20 fois plus de chances d'être contrôlés par la police
@Ven Injustice, c'est quoi ce privilège spécial beurs & blacks ?
 
Ven
Moi aussi je veux que Jean-Mich' me tripote :'(
 
The spies are among us
 
Perso ça me choque
En tant que blanc je devrais en moyenne passer 20x devant un flic avant de me faire contrôler ? Scandale
 
Ven
1:20 PM
@sehe and what do they use?
 
@sehe but how much use, exactly
 
@CheukKinSing You could just ask them
 
Ven
@CheukKinSing Cette france qui fait gagner du temps aux sans-travail ! Ça me dégoûte !
 
>impliquant que les b&bs sont sans-travail
je trouve tes insinuations puantes
 
@CheukKinSing Si tu passe 20x devant le même flic il y a moyen oui
 
1:22 PM
:) je trouve ta gibberish puante
 
lol une gibberish
 
@slaphappy That's suspect behaviour :)
 
la femelle du giber ?
 
@CheukKinSing Clearly female
 
Ven
on se paint une gibberish ?
 
1:23 PM
paindre?!:!
 
ci-gît berish
 
Giberbère
 
Ven
@sehe je fais des jeux sur les mots aussi
I should finish my haskell shenanigans, but parsing XML doesn't really trigger interest
 
@Borgleader <3
 
@Ven Does it? :D
 
1:33 PM
Haskell makes everything fun
 
But XML makes everything boring
 
Haskell makes fun of everything.
 
Those of you who still use C++, how do you manage dependencies? Some script? Local? Global? Use a package manager (conan, etc.)?
 
Organization-local mirrors.
 
How do you fetch them?
 
1:36 PM
@BartoszKP Yup :(
 
do you use one big tree (include/ lib/ etc), or one per package?
 
@slaphappy git
 
submodules?
 
@slaphappy Wait for modules to release the library/executable
 
@Shoe :D
"every change on hold until modules"
 
1:37 PM
@slaphappy There's a small python tool that git clones/pulls everything.
That tool is the only thing in a submodule.
 
So, those git repos contain binaries?
 
If necessary, yeah.
 
@slaphappy Easy: there's the standard library, then I just steal and modify code I need from other libraries.
Ok, that only works for small projects...
 
Then, you add each dependency to the include path prior to building?
 
No, the tool generates CMake stuff for that when doing the clone/pull.
 
1:39 PM
@Morwenn We have big-ish project. 300kLoC AFAIR
 
@slaphappy Well, I don't :p
 
@R.MartinhoFernandes Sure, but you keep the packages separately right?
The situation is that right now the dependencies system is catastrophic and I'd like to do better
I can't really use standard stuff because the repo server is a clusterfuck
Still, I'd like to do it proper and consider the pros and cons of decisions
 
@R.MartinhoFernandes Is that the google thingy?
 
@slaphappy Yeah, each in a separate repo.
@Rerito No, it's developed in-house.
There's a small yaml file to specify which dependencies to fetch and which branch or tag.
 
One last thing
Do they weight a lot? If yes do you use a global folder to put them in?
 
1:54 PM
They go in individual version subfolders of a folder named 3rdparty or something outside the project, so all projects you work on can share them.
 
for some reasons phone keeps on making weird noise when stop at debug points
unless I mute the phone
 
@R.MartinhoFernandes Do you have a mechanism for cleaning up old, unused packages?
 
Not sure. It was never described to me, but it might be there somewhere.
TBH if I wanted to do that I'd just nuke the folder and start over without even asking if the feature exists.
 
I guess, yeah.
Well, thanks a lot. I am now going to implement exactly the same thing. :P
TBF it was what I had in mind.
 
2:07 PM
@Telkitty probably just the speaker line being clamped to zero
 
Fuck.
So I have been working on some Selenium tests.
I have had my testbed only for two days.
The...people have just completely changed the page implementation, breaking all of the tests I have coded.
FML.
 
oh jeez
 
nwp
@wilx Maybe you didn't test for the right things then and got lucky that it broke after 2 days and not after 2 years.
 
@nwp Nope. The elements have different IDs, some are missing, tables have different number of columns, etc.
 
nwp
2:21 PM
In my naive world either you were not supposed to test IDs of elements or you write a bug report that the IDs of the elements are not as specified.
 
@nwp Yeah, naive. :)
 
@ThePhD :3
 
In real world, you're simply fucked.
 
Unlike usually, there were no test case descriptions, but that would not help here. They are still developing this and wanted help with the tests so I got loaned to them. But they are pulling the rug under my feet.
 
nwp
do you really parse test results from an html page?
 
2:23 PM
@nwp No, I test the page itself with Selenium.
 
nwp
I want to do proper testing too one day. Recurrent bugs are annoying.
 
@wilx what? How?
@wilx maybe you should try to just demo a very small test case to them that you can get signed off and they can agree that keepinmg that test pasing is their job
 
@thecoshman Thanks :3
 
2:38 PM
@Morwenn lol
you're welcome
 
Always.
 
57
Q: Why does cout print "2 + 3 = 15" in this snippet of code?

Hokhy TannWhy is the output of the below program what it is? I am completely new to C++. #include <iostream> using namespace std; int main(){ cout << "2+3 = " << cout << 2 + 3 << endl; } produces 2+3 = 15

lol
it's a cool puzzle imo
 
why? Isn't it a bit obvious
 
any one know any good resource for pthread and mpich library where every thing is defined with example
 
speaking of this, this change broke my old program which did bool f() { std::stringstream ss; /* ... */ return ss >> value; }
 
2:51 PM
@slaphappy shouldn't be closed imo
It may be a simple thing, but it's an interesting answer and not marked as a dupe
 
@slaphappy The oneboxing makes it obvious.
 
oh look how lovely
 
>_>
 
open/close war
 
it's also in the HNQ list
 
2:53 PM
I didn't know what to do with that so I just downvoted and voted to reopen. :D
 
figures
time for work tho, toodles
 
I completely concur with the close-voters. Either the OP was aware of misleading formatting (making it a trick question, OT), or he wasn't (making the question unhelpful/irrelevant)
 
@sehe I'd agree with that if OP compiled in C++11 mode.
 
not really. It's a simple typographical error anyways. At best
 
so... if you make a genuine mistake... your question is unhelpful?
 
2:57 PM
But he's seeing funny behavior due to using a prior version of the standard and while imo it deserves to be downvoted due to "not enough research done by OP", I don't think it should be closed.
 
@thecoshman To others, yes
 
@sehe It's not an obvious problem for a beginner to debug.
 
I don't mind it being asked.
I don't mind it being closed either.
 
but buy closing it, you are basically saying that it shouldn't have been asked in the first place
 
Just a comment (hey, you have that typo) and move along. Perhaps link at cppreference for the implicit conversion. Or one of the many existing questions about these contextual conversions in c++{03,11}
@thecoshman That's correct. Note I don't suggest downvoting
 
3:02 PM
@slaphappy how is that not a duplicate?
 
@Mgetz if it is, find it and mark it as such
 
15
A: What's the difference between cout<<cout and cout<<&cout in c++?

MSNcout << cout is equivalent to cout << cout.operator void *(). This is the idiom used before C++11 to determine if an iostream is in a failure state, and is implemented in std::ios_base; it usually returns the address of static_cast<std::ios_base *>(&cout). cout << &cout prints out the address o...

 
@R.MartinhoFernandes unfortunate
 
I can't actually mark it as a dupe
because it's closed
 
1 more vote
 
3:08 PM
@Mgetz you mark it as a dupe then ¬_¬
 
Pirate, you can read
 
@thecoshman It's closed, you can't mark it as a dupe when it's already closed.
 
I can read, but can also ignore things :P
 
My life goal is to launch a barge into the air and have it land on one of Elon Musk's rockets.
5
 
3:43 PM
"What do you think of western civilization?" "I think it would be a good idea."
There's a zinger if ever I saw one
 
user1804599
I'm so happy.
 
Ven
nice
why?
 
He's finding many bugs and shortcomings in the languages he's now using :)
@rightfold Say hi to the shark in ~10 days
 
pills
 
00:00 - 16:0016:00 - 00:00

« first day (2288 days earlier)      last day (2646 days later) »