« first day (1567 days earlier)      last day (3364 days later) » 

12:01 AM
I often have better luck with silverlight player than html5
Not youtube
 
Silverlight is terrible for me
 
it uses flash player for some vids
 
I haven't encountered any yet.
I haven't installed Flash (as you can see) and I've been fine for 3 months.
 
nvm it's just me
it uses flash player for all vids
w/e as long as it works
 
HTML5 is the default in YouTube as of yesterday.
 
12:06 AM
must've forgotten to set to html5 for me then
 
@CatPlusPlus nipple salad
 
because I get "about flash player" an all right clicks
 
firefox can't do this
> Media Source Extensions
MSE & H.264
MSE & WebM VP9
is it bad
w/e I'll try
 
Oh you use FF too.
 
12:09 AM
I hope it doesn't lag
 
You can enable MSE through about:config
 
yup toggled it now
MSE & H.264 still unavailable but w/e
nvm there's a toggle for that too
which doesn't seem to be what I want
 
I got the player to stop loading and playing video after skipping back a bit
lolol
actually skipping anywhere in this video crashes the player
 
that's why I don't stream
 
12:20 AM
maybe it will work better tomorrow
I need to go to sleep anyway
 
nooo
sleep is bad
 
12:31 AM
Apr 18 '11 at 21:10, by Jerry Coffin
@GMan Sleep is a disease caused by <strike>Mt. Dew</strike> caffeine deficiency!
 
I've never had anything but issues with flash player. Latest - Android FF plugin runs for five seconds then blocks forever.
 
12:53 AM
 
I am rather annoyed that VC++ doesn't tab "private:" and "public:"
 
@iOSAaronDavid No, + is a message (at least in Smalltalk).
 
^ Glad I got that off my chest
 
1:01 AM
@StackedCrooked ...and thus the implementation of (multitudes of) QDisc (queuing disciplines).
 
I never knew I could make the while (cin >> foo) private i.e. helper func. Wow.
 
@JerryCoffin ah TIL
 
@StackedCrooked Hmm...I was initially surprised that you weren't aware of them, but I guess you mostly deal with your own stack, not the normal Linux network stack.
 
Yeah.
But I do educate myself!
At a slow rate..
 
@StackedCrooked Me too, I'm afraid. Far too slow at times.
 
1:09 AM
> Upon exiting loss recovery (via a large cumulative ACK), TCP’s window will slide and a line-rate burst of segments will be transmitted. [Hay97] shows that this burst — which is roughly half the size of the congestion window before loss — can result
in an overwhelmed queue at the bottleneck link, causing further loss and additional performance sacrifice.
Interesting stuff :)
 
^^ Wow, I didn't know they were released already. Intel's ahead of schedule.
Not too expensive either... They've really outdone themselves.
 
@Mysticial kek
did you see that AMD link I sent ya?
 
@Borgleader Yeah I did. Too far in the future. :)
 
@Mysticial Considering the technology in each, it's kind of scary to think of how similar prices of CPUs and shoes really are. We should probably have the standard discussion of "if shoes were like processors, they'd cost 3 cents, let you run 2000 miles per hour, ..."
 
There's like absolutely no reason to use // instead of /**/ right?
 
1:24 AM
Yes, /**/ is crap because they can't nest
so if you try to comment out a chunk of code and you already had /**/ youre fucked
wont happen with //
 
@Borgleader #if 0 :D
 
that's true.
but what if you're trying to run your program on another compiler that has less whitespace?
 
wat
 
@DonLarynx wat
 
@DonLarynx You mean IDE?
 
1:26 AM
Yeah, IDE sorry
 
@DonLarynx I don't see much technical reason to prefer one over the other. Mostly a matter of personal preference.
 
@DonLarynx Less screen/monitor space, specifically.
 
gawdummit
 
Morning BTW.
 
1:29 AM
kumusta
:lol:
 
ctrl+f what would I do without you jumps off bridge
 
I like programming A LOT MORE than math.
Brb still having the freedom to talk to people and not be in your head too much
 
@MarkGarcia "It is frustrating to see how many Go vs Node posts are happening here. I have been implementing a bluetooth LE module in Go, and due to lack of some robust libraries, had to go back to Node."
why would you write a bluetooth module in go... or node
 
@Pris Because C is soooo vulnerable.
 
Evening
 
@Pris Hahahahaha
 
1:59 AM
@Jefffrey Good evening.
lol
6
 
@Jefffrey I've always wanted to know, does the shopkeeper actually speak italian?
 
2:26 AM
hello everyone
i have a quick question about a SQL statement
can someone help
???
 
Ask and find out
 
@Osadellah prob not
 
@Osadellah Stack Overflow perhaps?
 
Ok i have two table T1 (T1id, name) and T2(T2id, username,T1id (fk))
I want to copy all the values of name under T1 to username of T2
 
@Osadellah C++ doesn't even have a decent SQL interface library. :(
 
2:29 AM
i am here because it's the only active room at the moment
 
insert into T2(username) select name from T1
 
"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"
36
 
@MarkGarcia SOCI?
 
btw why do you need username in T2 if you already have an FK to T1
that's beyond terrible
 
because i want to remove username from T1 and keep it only on T2
i agree with you
 
2:34 AM
@JerryCoffin Yep but haven't tried that one. I onced used OTL (because single header), but it seemed to be hampered by ODBC.
 
2:50 AM
@MarkGarcia I looked at OTL once. If memory serves, I tried it out a bit, but never really put it to enough use to form a meaningful opinion of it.
 
3:27 AM
I use Qt for SQL because it has tables to automatically represent my data.
 
KILL ME NOW
 
why?
 
Tinnitus is going ballistic.
 
50 rep says borgleader's thingy is gonna hit 20 stars within 24 hours.
 
What thingy?
 
3:39 AM
@R.MartinhoFernandes Stars above.
 
Oh.
Can't see the starboard
 
@Mysticial Easy for you to say, I have only a little bit over twice of that.
 
Funny thing. My "star these instead" message is recursive.
Also, ultimate starbait.
:P
 
@R.MartinhoFernandes eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
 
@AMostMajestuousCapybara Approximately 7.6945e+23.
 
3:50 AM
Let's say I have

Myclass::Myclass(int foo, int bar){
if(foo == bad_value){
//set it to a default constructor
}
}
How can I do the part in comments?
 
well shitty way is to do something like Class::Class(something* holdme,bool valid) : valid((holdme==nullptr) ? false : valid)
Anybody know if MSVC is allowed to optimize out unique locks? I put a lock but when I step through release, its just missing...
 
@AMostMajestuousCapybara Not just the variable, the entire constructor.
 
So you want to call another constructor if the value is bad?
 
@AMostMajestuousCapybara I was thinking that would work too, I just want to set the constructor to default if foo == bad_value
 
4:00 AM
okay so why not have a function call todefaultvalues() inside your constructors?
 
I think that's a reasonable solution
 
Okay, sounds good.
I forgot I can just return;
 
Have you ever found your self using unique_lock instead of lock_guard because it sounds like the right thing?
 
4:15 AM
You can’t conditionally choose what constructor is called. So you have to assign, one way or the other.
 
talk about new delete[] delete delete[];
 
@MarkGarcia What happened?
 
@LucDanton Finally stopped being lazy!
 
@Nooble Well isn't it obvious? Reddit, topic, mods.
 
@MarkGarcia Joke comments are against the rules in /r/science.
 
4:32 AM
Also that.
The mods probably are asleep when one woke up and deleted all of them.
 
anybody tried KDE5?
 
I prefer SHA1
 
I tried KDE4 and didn't like it.
:p
 
@Rapptz What distro is that?
 
Debian Jessie
 
4:39 AM
@Rapptz Nice VM.
 
?
 
I kid, I kid.
@Rapptz No fun allowed!
 
Yeah essentially.
It's the same in /r/AskScience
It's cause reddit jokes get old and boring over time and don't really contribute.
 
 
5:17 AM
I'm really bad with strings. Extremely embarrassing.
 
5:51 AM
@DonLarynx /cc @sehe
 
@DonLarynx They're just pointers. Easy-peasy, lemon-squeazy.
 
6:46 AM
Morning.
 
7:06 AM
Morning
 
Hello all
Anyone Online?
 
@iFarbod Sorry, but no. Nobody here right now.
@iFarbod So other than not being here, how are you tonight? :-)
 
Good, Thanks dude.
Still here?
 
inb4 Questioooooon incomiiiing
 
Can i ask something?
 
7:21 AM
@iFarbod It looks like you just did. Gandalf isn't here to say: "You shall not ask!", so I guess you can ask another too...
 
@JerryCoffin You aren't good at CPP?
Don't take it wrong :)
 
@iFarbod I get by all right with it, at least for some simple things, anyway.
 
OK, I'm starting a C++ Project, but i don't know start from where, Mostly, Directory layout
File names, Libraries
Can you help me out?
 
@iFarbod how big of a project do you expect it to turn into? Does/will it include many external libraries, or are you writing pretty much all the code?
 
To be honest, it is a Multiplayer Client and Server for a game, and it will be open source.
It will use Raknet. mostly
I'm getting nervous about the project structure
But i will some other libs too, like Squirrel, UnRAR, SQLite, MySQL, ...
Still here?
 
7:29 AM
@iFarbod My own tendency is to align directory structure with namespaces, so I'll have a number of related classes stored together. An external library will typically have a directory structure already, so it's usually best to leave that alone.
You can either create a libs (or whatever) under your project, and put each library's structure under that, or you can leave them entirely separate, such as at their default installation location.
If there's any chance you might modify a library, I prefer to keep it in a directory local to the project.
 
src? libs? include? docs?
this?
 
Yes. Pretty much project name, and then under that src, include, bin, docs, etc. Then under src, it's further split up (as I said before) by namespaces.
 
Sorry for the noobish question, but what should be name of the file that contains main()? main.cpp or <projectname>.cpp ?
 
It’s your call.
 
@iFarbod I've no real opinion on that. In most cases, there are several files that contain mains--in your case, I'd expect at least one each for the client and the server, and quite possibly a couple of others as well (related utility programs and such).
 
7:38 AM
Also, The Server project will be Cross-platform, so should i create a Makefile?
 
@iFarbod There are a number of choices. I still usually use make for smaller projects. At work (i.e., for larger projects) I've been using scons for a while, and am pretty happy with it. There are quite a few others as well, of course.
 
@JerryCoffin What language do you use in your daily grind?
 
What OS You use?
 
@JohanLarsson Swearing. Oh, wait...mostly C++ and Python.
 
Profanity is the baseclass of all programming languages.
 
7:41 AM
Windows or OS X? Or Linux?
 
@JerryCoffin You are a few "fuck"s short for the day :p
 
@iFarbod Mostly Windows, but the code I write runs on Windows and Linux (actually, Linux is the primary target).
 
Another question, should i use "Precompiled Headers"?
 
We have also built and run it on OS X, but AFAIK, that build's never been sent to a customer.
@iFarbod I certainly do. For our code at work, it cuts build time quite a bit (around 4-5x faster).
 
and also, What's a good thing for creating desktop applications in C++?
 
7:45 AM
How long is the build?
 
I Mean, for the Client.
 
@JohanLarsson A full rebuild is around 15-20 minutes, if memory serves. A normal build is more like 2 minutes or so.
@iFarbod If you care about portability, Qt is hard to beat (IMO). If you don't, it'll depend on the target (but Qt might be the best available choice anyway).
 
Client's target will be Windows (7 & 8 mostly, not XP)
Because the base game is for Windows
 
@iFarbod Okay. Are you planning on 3D graphics via a game engine, 3D graphics on your own, not 3D graphics at all, ...?
 
No, the game is GTA San Andreas, it's super hackable, don't worry about this.
 
7:51 AM
@iFarbod Okay--sorry, I didn't realize this was supposed to work with an existing game (I'm a bit slow at times...)
 
No problem :)
 
So the GUI for what you're writing just needs to be a fairly normal GUI, not heavy graphics, or anything like that?
 
I've currently designed a GUI in Qt Form, I Will take a screenshot, then i'll send the link
Using Qt 5.4.0
 
@iFarbod I'd probably continue with Qt unless you have a specific reason to do otherwise.
 
OK, But this is designed in a .ui file not a pure c++ file
isn't this a problem?
i made it with drag and drop
:)
 
7:58 AM
@iFarbod Why would that be a problem?
 
Because samples in Qt are designed in C++ Files, No problem :D ?
Anyway, the Client is actually a DLL, With some exported functions, how to call those functions from Qt?
 
> You've earned the "Haskell" tag badge.
Wooohooooo
 
If you have a specific reason to create your controls (and such) in C++, go ahead and do it. The sample files are (probably) that way for two reasons: first, their .ui files (and such) were added fairly recently, so older samples couldn't use them. Second, if you create the UI via a .ui file, that doesn't leave as much to show in the demo code.
@BartekBanachewicz Congrats. How are you feeling?
 
@JerryCoffin Thanks!
 
8:02 AM
@iFarbod You basically just create a header for the functions and link with the export library, and you're on your way.
 
Can you explain how?
Thanks for the help
 
@Jerry even more stupid than before :D. Otherwise it's OK, just a big bruise and a tiny patch of skin scrapped. I suppose it's good for me if it hurts a bit, maybe I'll remember to never try it again
 
@iFarbod The header part is about the same as if you were using normal object files, except you add __declspec(dllexport) or __declspec(dllimport) to specify functions exported from the DLL. The library is created automatically when you link something that exports functions.
@BartekBanachewicz Glad to hear it--certainly could have been a lot worse!
 
Aha, Thanks for the Help AGAIN!!!
 
@iFarbod Surely.
 
8:06 AM
I can walk w/o problems, the ankle hurts a tiny bit too but that's nothing, it's not even swollen
@Jerry I know :|
 
@JerryCoffin do you have Skype?
2
 
@iFarbod Have had at times, but it was having problems the last time I tried to run it. I probably need to re-install it (funny how software that used to work great suddenly starts acting up after MS buys it).
Anyway, it's past midnight here. I suppose I should act like a responsible adult and get to sleep. TTYAL.
 
Can i ask another question too?
It's about versioning, which version should i start with?
@Jerry Oh sorry, i did't know it's midnight there.
 
@iFarbod version 0.1alpha
 
user1804599
I'm happy.
 
8:21 AM
Be more pacific
 
@рытфолд lol
 
v0.1.0-alpha
?
 
@рытфолд 'すごい' - Random Japanese man in this video.
 
user1804599
Amazing.
 
user1804599
8:36 AM
let mutable is incredibly difficult to implement.
 
user1804599
Fuck mutable variables.
 
@StackedCrooked Yikes.
 
@рытфолд Immutable variables are an oxymoron.
 
user1804599
No.
 
user1804599
8:43 AM
Variables and mutability are completely orthogonal.
 
user1804599
They are called variables because their values vary, not because they can be assigned to.
 
volatile const long x; also seems weird
but could make sense I suppose
 
@StackedCrooked volatile is just weird.
 
for reading status code from hardware or something
 
user1804599
For example, in let x = f(y) the variable x may have no constant value since it depends on the result of evaluating f(y), which may be different on different invocations. However, x is still immutable.
 
user1804599
8:48 AM
Is a variable holding an immutable pointer a proxymoron?
 
@рытфолд o you
 
@wilx drop that topic while you still can
 
Please, it's Friday, don't exaggerate the pedantry.
 
@BartekBanachewicz lol
 
user1804599
I don't see how Boehm could possibly work.
 
user1804599
8:52 AM
How can it know where on the stack and where in objects there are pointers to GC-managed objects?
 
@рытфолд ~magic~
 
user1804599
No, there is no magic.
 
user1804599
oh, lol it scans memory for byte sequences that look like pointers
 
user1804599
horrible shit
 
> I learn Haslell
 
user1804599
8:57 AM
Guess I could use it.
 
user1804599
I wonder whether it works with Boost.Context.
 

« first day (1567 days earlier)      last day (3364 days later) »