« first day (2186 days earlier)      last day (2762 days later) » 
00:00 - 19:0019:00 - 00:00

12:00 AM
@Borgleader just got back from my trip to Albany. Because I'm me I had an interesting encounter with someone in the airport in St. Louis
it's like if I'm not already bemused while traveling I'll go out of my way to make it happen
this incident involved an angry elderly white hindu man extolling the virtues of vegetarianism, and a preacher
 
@jaggedSpire o.O
 
@Borgleader :D
He was seated behind a sign posted by the airport stating they had nothing to do with him and that he was only allowed there because of the first amendment, and he opened with "do you believe in karma"
or it was asking if I was a lawyer, lawyer trainee, or a housewife
I forget which came first
he was very earnest about the entire thing
it's just perhaps he should not have informed me that I was obviously unlike all the other hormone-driven women that obviously avoided him because he was ugly, and was thus smart
I...I don't think that's a good tactic to use when attempting to convert people to a religion
 
@jaggedSpire wait wut
 
@Borgleader I know, right?
I think there might be something about my "I'm listening to you speak" face that people mistake for "I agree with you, please continue"
I only went over because I thought it might be someone trying to spread information about the limits of free speech and why you shouldn't always believe whatever people say, because people are allowed to say anything
well, there are a few limits on it, but not very many, and slander laws are only enforced when the originator is given a certain amount of credibility, I'm pretty sure
and random people behind "this person is only here because of free speech" signs tend to have verrrry little credibility.
oh well
eventually, after a long while getting a word salad tossed at me that might have had some coherence were I not contemplating exactly why these conversations always make me feel like an alien, a man in a grey suit and spectacles arrived
Free Speech Guy asks him if he is a lawyer, or a lawyer in training
he says "No, I'm a pastor"
Free Speech Guy gestures at me and says that I'm just not getting convinced, and suggests that maybe the holy man might be able to make me see the light
I take this opportunity to lob atheism into the conversation like a smoke bomb, and flee the scene
 
12:23 AM
You should have shouted some Russian and make yourself seem like a commie
 
I'll be sure to make a note of that for next time
 
. @MattStrawder @SwiftOnSecurity What a nice way to give a security researcher a heart attack
@jaggedSpire nice story telling
 
@sehe thank you. I try.
 
 
1 hour later…
1:49 AM
@wilx It needs to be veganism++, also supporting software libertarianism
@wilx Seems pretty simple as I learn more about it. Just use memory like a civilized programmer and don't try to do anything outlandish like allocating 10 different objects for every piece of data you need.
 
2:40 AM
@sehe Jesus Christ.
That gives me a PTSD Flashback
To when my parent first started learning how to use a computer
 
@ThePhD :3
 
And that was literally what the top bar looked like.
 
@ThePhD D:
 
Cleaning that computer out was a lot of fun.
 
4K monitors are becoming a necessity
 
2:47 AM
yo
does anyone know java?
 
Can i add here a link to codereview ?
 
@feen Lol...wrong room to ask that question
 
you probably wont even need to know java to help me though
 
@feen Why would you come here to ask about Java
 
no one is in the java chat
 
Jan 30 '15 at 2:30, by Borgleader
"Hi I have a question about my retirement fund"
"Sir this is a convenience store..."
"I know but it's the only thing open at this hour"
5
 
lol ok i get it
 
The fun part is we probably all know Java but I personally hate bullshit questions
and Java
 
can someone just help me plz. It's a simple question you guys can probably help
 
@feen no
 
2:51 AM
if its so simple its probably been answered already, google it
 
@feen that's what Stack Overflow is for.
@Borgleader probably?
 
@feen Delete that question from codereview dude.
Questions is for stackoverflow.
@Mikhail -argpromotion What this aditional flag should do ?
 
what is codereview for then?
 
@feen Somebody can help you, but your question is probably not important or difficult if you're pleading to strangers in an unrelated chatroom to help.
 
@feen Really ? CODE REVIEW
You can't read title? xD
CODE REVIEW.COM
 
3:04 AM
@feen Really, if you need help, just ask the question in the Java chatroom and one of the users will probably respond within a few hours. You can also ask on stackoverflow if you need a detailed explanation (and constructive criticism). Be sure to read the guide before posting a question
 
3:48 AM
Give this phone a try? but no matter how good it is the question how long it will be supported by google.
http://venturebeat.com/2016/10/08/10-reasons-why-i-preordered-the-google-pixel-phone/
 
4:07 AM
@ProblemSlover Honestly I don't think those are compelling reasons to purchase the phone. Certainly some of them have value, but most of them are novelty features that can be had with other flagship phones from this generation. Take my opinion with a grain of salt because I'm still using a Galaxy S4
 
@Aaron3468 Ok. I just sold my Galaxy 7 because it\s a piece of ...but i need an android phone for testing purposes anyway
 
4:44 AM
Hello Everyone
 
Holy shit this framework is a fucking brick wall.
No, I REFUSE to benchmark this PoS.
 
Rick James would benchmark the fuck out of that brick house
 
user6857832
What is thread interference in java?
 
Simply put, when two threads try to access a shared resource simultaneously.
 
@Aaron3468 Yeah, there isn't much that can surprise me at this point. :(
 
user6857832
4:50 AM
@LuisAverhoff Can you please give me an example?
 
The most classic example is if you have a global variable and two threads try to increment that variable.
you dont know what the output may be and at what order it may execute.
@Hemlata Here is a very simple example docs.oracle.com/javase/tutorial/essential/concurrency/…
 
user6857832
That means if two threads will try to increment that variable so, it's possible for one thread to jus store the value in a variable and the other thread sees that variable and increment it to 2 (assuming we've x =0). Later thread 1 still prints out 1?
 
Maybe. It depends on which threads access first.
 
user6857832
@LuisAverhoff I already been through it. I was lookin for any more good example
 
The example that I have given you is non-deterministic.
Well is there any else that you dont understand about it?
 
user6857832
4:58 AM
It says "Interference happens when two operations, running in different threads, but acting on the same data, interleave." Does here two operations means c++. As it's not jus one operation. Like it retrieve the value, add 1 and then store in that variable
 
correct
 
wtf is interference, go your school and ask for your money back
 
in fact, if we were doing assembly there would more instructions that would take place.
The point is that these operations are not mutually exclusive.
 
user6857832
@LuisAverhoff I got it. Thanks
 
Cool
@Mikhail XD
 
user6857832
5:04 AM
@Mikhail They do teach us but they're not really good...
 
Ya usually you have to do your own self study.
@Hemlata Though I would like add that a better term to replace thread interference would be race condition.
 
user6857832
@LuisAverhoff are they both same?
 
user6857832
Cool
 
Race condition is when two or more threads perform two or more operations at the same time
 
user6857832
5:08 AM
Do you know any good blog for learning concurency?
 
Concurrency can't be learned through blogs. It's learned through blood and sweat.
 
@Hemlata Think of a problem that would benefit from multithreading.
@Hemlata or concurrency or whatever.
 
user6857832
@LuisAverhoff yea but still you need some resources to learn it, right?
 
Ok then here is a post from programmers exchange with links to resources containing concurrency and multithreading topics. programmers.stackexchange.com/questions/135709/…
 
I got a problem where getting good IO performance (400 MB/s+) causes a hardware device on my system to fault. Should I play around with Windows thread priorities in vain hope that something will work...
 
5:15 AM
@Mikhail Unstable hardware. Check your connections. Happens to be a lot.
In my experience it's usually a cable or controller problem.
 
Well its a $20k camera, if I run it slowly it mostly runs, but it runs below spec in terms of FPS
 
user6857832
@LuisAverhoff Cheers!
 
@Hemlata Alright see you later.
 
I wonder if there is some way to "limit" io resources on a Windows thread
 
Can you use a semaphore for that?
 
5:20 AM
lol
 
maybe to control the number of threads that can write to the disk
:/
 
#if __cplusplus < 201402L
I'm really sick of seeing this check in code.
 
It means fucking nothing in the real world, only to faries who compile on g++/clang++.
 
5:25 AM
You meat furies not faries
 
It doesn't tell me what features are ACTUALLY implemented. It's a ham-fisted, fat-lipped sloppy check for the supported compiler architecture.
It's fucking useless, it blocks my builds, and more often than not has NO correlation with the supported features of the compiler.
 
that is a very analogy you got going there ;)
 
It's just some fucking idiot who has to add it so they can calm their OCD and say "WELL GAWRSH I GUESS YOU NEED A MORE UP TO DATE COMPILER THERE, FRIEND."
 
Dont worry it will all be over soon.
Well I have to go to sleep now. See you later.
 
 
1 hour later…
Ven
6:56 AM
Hi
 
7:14 AM
howdy
 
Ven
7:33 AM
Monday
Goodenuff answer? :p
 
Morning folks
 
Sam
Good afternoon guys!
@Rerito Morning!
 
@Ven Tu vois jveux dire ou pas
 
8:31 AM
look at the terrifying civility and decency of these polite-ass canadians GOOD LORD https://t.co/Dp7fwXi8hj
 
@Griwes yeah, that was funny
so, KSP guys, what do you think a control panel should present
I am planning to do the CAD drawings for the panel this week
 
user1804599
Competence Pride
World Wide
 
Ven
@Rerito yo
 
user1804599
@Borgleader I don't get it
 
Ven
@rightfold you do
 
user1804599
8:41 AM
Oh I have to click on the picture.
 
user1804599
Fucking Twitter UI is so bad.
 
Ven
it's worse on mobile.
 
9:22 AM
It's not that bad, come on.
(Or maybe this is just Stockholm syndrome I've developed?)
 
Ven
@Griwes mobile? yes it is. You can't click on picture
 
@Ven Are we talking about the client? You just... tap the picture.
 
Ven
@Griwes I'm talking about the web interface
 
Nah. Then you're just guilty of not using the proper means of accessing Twitter. vOv
 
Ven
They fucked the URL more than 6 months ago, by using https// instead of https://, and it's been broken since
No they're guilty of writing broken shit
 
9:28 AM
why don't you tweet them with that bug report
 
Ven
I don't have a twitter account, nor do I plan to get one again
 
9:45 AM
too bad you can't get them in 8-port variant though
 
got a new tablet for android app testing ...
 
10:09 AM
hey fellow vimmers, do you have a handy trick for resizing a vsplit to 'textwidth' or around there? I’m about to add my own thing but just in case I missed something cc @sehe @R.MartinhoFernandes
 
10:22 AM
actually, um can I get just those inner boards somewhere?
 
@BartekBanachewicz they be called 'patch panels' normally, if you are struggling to find them
 
@LucDanton Nope. I don't sweat my window sizes. Only time it irks me is when debugging using Pyclewn (in which case I resort to mouse-enabled vim so I can naturally drag en drop. Using gvim even adds the elusive balloon texts)
 
@thecoshman nah, i can find the whole package. I just don't need the rack enclosure, and I specifically don't need a huge 24 port package; I'd just like to get the board with 8 sockets
 
10:39 AM
@BartekBanachewicz oh right, like just the PCB with the port sockets attached?
Maybe buy a cheap switch to rip apart, or custom PCB?
 
10:59 AM
@LucDanton Nah. I just have the zoom thing you helped me sort out recently.
 
:execute 'vertical resize ' . (&foldcolumn + &numberwidth + &textwidth) it is then
 
@thecoshman the switch will require soldering and work, those things you just put wires in
 
11:19 AM
@LucDanton + some margin, maybe?
 
I’m trying a tight fit. I can always <C-W>+ if I need tweaks I suppose
 
git checkout @{-1} <3
 
fwiw I don’t expect to use that for code, it’s for text paras I systematically rewrap around the text width
 
Gonna alias that to git popb, I guess.
 
Good morning
 
11:30 AM
Morning
 
11:47 AM
You really shouldn't take random code snippets from non-experts online without ample scrutiny. I just added some more error-handling/exception safety. Perhaps you can put the code up on Code Review for any ICU gurus to review? — sehe 31 secs ago
@R.MartinhoFernandes -1? What does that do. I routinely use HEAD@{1}
 
@R.MartinhoFernandes Same as @sehe
 
@sehe Not the same.
HEAD@{1} brings you back to the commit.
Detached heads and so on.
 
Only if you checkout?
 
What do you do instead?
 
I was asking what @{-1} means. I guess I can look it up
 
11:53 AM
Oh.
It goes back to the last branch.
 
@R.MartinhoFernandes Anything, diff, log, etc.
@R.MartinhoFernandes Oh wow. That's... Such a timesaver!
Almost said OMG. Let the record show I almost said it.
 
You just did actually :D
 
That's because I wanted to let the record show such.
 
That's neat, I had such hard time remembering the previous branch I was working on when interrupted to fix anything unrelated
 
Oh I know it all the time. It's just harder to type and completion doesn't really help for release/2.1....
 
11:55 AM
Solution: don't use branches.
 
Solution: stop working
 
Declare unlimited strike
 
Sounds french
 
One strike, two spares
 
I had a linker error rubbed to my face: violation of the one definition rule
But only one source file actually defining the symbol
answer: ppl had included the file in two different project
 
12:03 PM
Checked my apps on tablet, they look terrible
 
and since I'm now refactoring stuff to make more sense dependency-wise, the two said projects were linked
 
@sehe Hey man how is it going :)
 
boom in my face
 
12:14 PM
I’m looking for examples of algorithms that are bidirectional in nature (in the iterator sense of the term). Is unicode a good fit, e.g. equivalence? cc @R.MartinhoFernandes
 
12:27 PM
@BartekBanachewicz ah yes, where you just use a punch tool to attach the cables... yeah, no idea where you'd get one
I don't see there being enough of a market to make it worthwhile to not have those full width of a server rack
 
Those server racks get quite expensive actually
Using rj45 would be pretty nice though
 
what's this for?
and yeah, it's amazing how expensive passive stuff like that can be :S
Why is there purple?
 
12:48 PM
iphone images ... went right from IMG_9999.JPG to IMG_0001.JPG
 
nwp
well, at least the GUI looks well designed, that's what's important
 
1:00 PM
@R.MartinhoFernandes I believe you can use - as shorthand for @{-1}. I routinely use git checkout - to swap between my last branches.
 
1:11 PM
@TannerSansbury Come to room.
 
oh, that's a nice touch with gmail
not only does it have a number in the favicon for how many unread emails, it has a little pip if you have new emails that you've yet to not bother with yet
 
I have this weird thing where if I don't drink enough water, I start feeling bad and then die of dehydration.
7
 
0
Q: Buffer implementation

RamyFeel free to comment if you see some buffer overflows, some undefined behavior, assert is used correct here. Can it be optimized more? And yes, with this code, I get some overflows in my main application. buffer.c #include "stdafx.h" void buffer_realloc(LPBUFFER &buffer, int length); b...

 
how rude
 
Ven
1:34 PM
@Ramy you're pretty rude.
You should know there are nicer ways to ask the Lounge for some downvotes.
5
 
Sweetness for the ears:
 
@Ven I really do not care about downvotes, I was accustomed to people like.
 
nwp
@Ramy so, did you delete it or was it someone else?
 
Not me. xD
 
nwp
a question needs to be pretty terrible to be deleted on code review within like 5 minutes o.O
 
nwp
@Ramy ok, then I don't understand this line
 
try now the link
 
nwp
do you care about trying to make it a good question?
 
Sure, but i can't give more Information. Code is used intro a big application. Function names say all.
 
nwp
First thing you need to think about is if you want people to tell you what is wrong with your style or to find the buffer overflow.
I no know how to use edit :(
 
1:51 PM
I'm not sure which path is wrong , or if overflow come from those codes.
 
nwp
that sounds like you care about the overflow, which is off-topic on code-review and on-topic on stackoverflow
then you should not post code with #include "stdafx.h" unless it is specifically about visual studio's precompiled headers
people are lazy and want to copy/paste your code and not fix it first and then not be sure if their fix changed the behavior, so you don't get a good answer
meaning you should merge your header and source file into 1 for easy copy+paste, maybe with a comment which is which
And then you should add some info such as "When I run the code in the debugger I get an out of range error in line X. That should not happen because I made the buffer bigger than size Y and one can never write more than Y."
 
2:49 PM
@TannerSansbury True! Even better, then. /cc @sehe
 
@Ramy The problem here is simple: "with this code, I get some overflows in my main application". To belong on CodeReview, the code must already work as intended.
 
3:12 PM
cableplusplus
 
user1804599
@sehe ik geef je een kerstrtoll met Kerstmis
 
@R.MartinhoFernandes cableplusplusa
 
3:25 PM
@Griwes (cables (plus (pl usa)). Damn. How did I end up writing Lisp again?
 
more importantly
 
@R.MartinhoFernandes After last night's debate, the USA does not get a C+ (or even a C). Lucky to get a D-.
 
why are you adding Poland and the United States of America together?
 
nwp
NATO expansion!
 
@Griwes Obviously that would represent a cable between the US and Poland.
 
3:28 PM
@JerryCoffin Hah.
A coworker coined "trumped" as in "I feel trumped" to mean that feeling you get when you hear something real funny but you get depressed instead of laughing because being reality takes away all the fun.
 
As to why to connect to Poland: because of its central location in Europe. As to why to connect to the US: because of its central location between Canada, Mexico, the Pacific and the Atlantic.
 
@R.MartinhoFernandes You mean the state I feel all the time while at work?
 
@rightfold kerstroll
@TannerSansbury Oh my
 
@sehe Makes you wish Linus had designed a programming language, doesn't it?
 
@TannerSansbury I don't need to completely prejudice you about Ramy, but let's say he's quite desperate for ~a year now to get me to fix his ASIO woes for a shady game project. The main thing driving me away is the fact that the project only exists due to leaked source code from a commercial game, and his clinginess. Just saying so you don't need to waste too much time.
@JerryCoffin Minus Torvalds: consistency across cd - and git checkout -
@TannerSansbury Nice to see you here again, btw
 
3:42 PM
obviously git checkout - should be reading the refspec to checkout from stdin
 
Refspecs are not files, so, not really
 
herp de derp
 
@sehe is there any problem in using acceptor.async_accept (* stream.rdbuf ())?
 
3:58 PM
@sehe Thank you. I had been able to piece some of the information together based on some search results. Also, it is nice to be here.
 
You are not prepared
 
4:18 PM
@PatrickM'Bongo Obviously need more DD statements (warning: IBM JCL, so NSFL) to prepare properly.
 
MY EYES
JCL at this time of the day is not acceptable, Jerry.
(s/this/any/)
 
@R.MartinhoFernandes Better?
 
what the hell is that
 
:)
@milleniumbug Famous last words.
 
nwp
@JerryCoffin after a minute I'm 34% into setting my cookie settings, amazing
 
Ell
4:21 PM
okay so turns out in the lecture I skipped they taught Data.Fix and now I'm having a difficult time understand it :3
 
gotta Fix this
 
if you have this you don’t need Fix
 
@milleniumbug IBM "Job Control Language". One of the reasons those of us with any sense used Control Data mainframes instead. After all, anything had to be better than that, even if it did mean machines with 6-bit characters, 60-bit words, only 18 address lines, and oh so many more oddities....
 
Ell
specifically
data L a b = Nil | Cons a b
type List a = Fix (L a)
I [think I] understand fix on the value level, to implement recursive functions for example
but on the type level this confuses me
oh wait
 
Xeo
Fix (L a) => L a (L a (L a (...)))
 
Ell
4:26 PM
I just got it. Ignore me completely
@Xeo yes :3
thanks :)
 
4:43 PM
BREAKING: Billionaire Warren Buffett fires back at Donald Trump's comments about his taxes http://cnb.cx/2dDXEoQ https://t.co/LXBWt8uyPu
 
4:58 PM
well I used call Bugffett a Clinton's b**ch
 
> […] it uses statements such as "READ OUT", "IGNORE", "FORGET", and modifiers such as "PLEASE". This last keyword provides two reasons for the program's rejection by the compiler: if "PLEASE" does not appear often enough, the program is considered insufficiently polite, and the error message says this; if too often, the program could be rejected as excessively polite. Although this feature existed in the original INTERCAL compiler, it was undocumented.
 
@Columbo Whhhhhaaaaattt?
 
nwp
Sounds like C+=
 
Ven
5:35 PM
No it's VIGIL
 
as part of her job at a zoo my wife breeds bugs and releases them into the wild I never realized how similar our jobs were before now
 
user1804599
 
user1804599
What would happen if a sun made of ice would collide with a normal, lava made sun? The suns would be exactly same size and the overall temperature of the sun made of ice would be -1000 C° and the overall temperature of the sun made of lava would be 1000 C° also.
 
user1804599
Would the suns nullify each other in a way that only empty space would remain or would a sun of zero C° be generated?
 
nwp
lava? Wouldn't the ice sun collapse and start fusion until it is hot?
I don't even know why I replied.
 
Ven
5:42 PM
@nwp are you rightfold sensors failing? :p
 
user1804599
Lol "C°"
 
user1804599
I want to design a text-based protocol
 
Ven
No you're already bored with that idea
Yes I'm that mesmerizing
 
user1804599
No I'm doing it in Haskell this time
 
user1804599
I always confuse Paul McCartney with the lisp guy and the Y Combinator guy
 
Ven
5:54 PM
McCarthy and Graham?
 
user1804599
Yeah
 
user1804599
Because Paul
 
user1804599
And because McCart%y
 
@rightfold -1000 degrees Celsius? Really?
 
user1804599
XD
 
6:02 PM
@wilx In rightfold's bizarro universe, everything is possible.
 
6:34 PM
@rightfold Empty space would only be possible if it's an antimatter sun, and even then, only because the stuff exploded to everywhere else rather than because it's actually empty.
 
6:50 PM
wtf is this
> hehe bjourne makes it sound like we're going to get an action move series with him. The Bjarne Identity
lol
 
@fredoverflow I thought the video was ok.
The C++98 solution is bad but owell
 
I find the voice very irritating, and together with the background music, I get some weird kind of TV shopping vibe.
 
That has like nothing to do with the content though lol
ESL :v
 
Buy two rvalue references for the price of one!
Nothing forwards more perfect than our tea refref!
Get your own initialized bracelet, with a uniform!
 
Ven
A coilleague of mine often writes foo&& a = bar(x);
:(
 
00:00 - 19:0019:00 - 00:00

« first day (2186 days earlier)      last day (2762 days later) »