« first day (1073 days earlier)      last day (3875 days later) » 

4:00 PM
Is it abusive to use (call) a lambda to initialize a static variable?
 
@R.MartinhoFernandes A better example would probably be "compact". With emphasis on the first syllable, it's a noun that can mean either "small" or some sort of makeup thing for a woman. With the emphasis on the second syllable, it's a verb that means "to make something small(er)".
 
No, wait, the pair I found differs by pronounciation but doesn't differ by stress. I stand by my bet :P
@JerryCoffin Yeah, I honestly can't tell the difference.
 
@R.MartinhoFernandes Oh, another one would be "content" - "stuff that's contained" if you stress "con" and "happy" if you stress "tent".
 
@JerryCoffin Oh, thanks so much! That one I can actually make a distinction and pronounce it correctly naturally.
 
@R.MartinhoFernandes surely.
 
4:13 PM
@Rapptz nope. you can use the Windows subsystem (no automagic console) and still use the main() entrypoint :)
 
Yeah, I do that all the time.
 
Ell
Oooh halloween is coming up soon
 
Xeo
@R.MartinhoFernandes Turns out I do have 7.4 at home and 7.3 at work.
 
You're at home? Shit, it's late.
 
Xeo
4:17 PM
@R.MartinhoFernandes Yes
 
4:30 PM
Gotta love multiple assignments
o.x, o.y = x,y
vs
o.x = x
o.y = y
 
@BartekBanachewicz Kinda handy for returning multiple results from a function. Otherwise, meh.
 
@JerryCoffin I think it looks nice :S
like, it's logically one assignment
 
Ell
Anyone here have a samsung smart tv?
 
o.x, o.y = x, y seems a tiny bit easier to read
 
@BartekBanachewicz I have nothing in particular against it, but I don't think I'd spend any effort on designing the language specifically to support it either.
 
4:38 PM
@JerryCoffin it's a side effect of multiple returns, obviously
 
@BartekBanachewicz what language is that?
 
@Ell I have one that claimed to be at the time, but it's from 2008 (or 2007?), so its "intelligence" is minimal (to put it nicely) by current standards -- to the point that I never bother using that at all.
 
Xeo
tuple-deconstruction~
 
@Jefffrey Lua
 
@BartekBanachewicz You know what other language does that?
Ruby :3
 
Ell
4:39 PM
@JerryCoffin Ahh. I'm guessing then it doesn't have built in wifi and webcam?
 
@Ell No -- it has Ethernet (and no camera).
 
@Jefffrey amazing. Still sucks.
 
lol
 
@BartekBanachewicz oh hi
 
@JABFreeware hi there
 
4:42 PM
@BartekBanachewicz been a while. Can't say I've missed you :D
just kidding
 
Xeo
@Jefffrey So does Python
 
Wooot! Got super-secret access to Cards Against Humanity's international store before it officially opens.
 
Xeo
what
why
 
They requested that I keep silent about it :S
7
 
@R.MartinhoFernandes you suck at that.
 
4:45 PM
Now let's hope the postage doesn't kill me.
6-8 weeks.
 
Xeo
@BartekBanachewicz I can online imagine: Robot opens mail, reads first line, "YAAAY", tells everyone, reads next line: "Please keep silent about this", oh...
 
pretty much that.
 
Ell
@Jefffrey Woo! Team Ruby!
 
@Ell you can be Captain Suckage of Team Ruby.
 
Ell
@BartekBanachewicz you can be Captain Suckage of Team Lua. ;)
 
4:50 PM
@Ell Oh hai fellow genius. :)
 
@Xeo Let's call it bootlicking.
 
Xeo
lol
 
@Ell there's no team Lua
 
Ell
There is. It's just you.
I guess you're on your own ;)
How does lua do errors? does it have exceptions? o.O
 
Everything just works.
 
4:52 PM
@Ell and whole other lot of loungers
 
Ell
@BartekBanachewicz ...so there is a team Lua? o.O
 
also there are people that maybe don't use Lua, but also have proper opinion about ruby here
 
Lua is too mainstream here, to even be considered.
 
@Ell there's an error function
 
@Ell result, message = do_work(); is pretty common in addition to the error function
I don't like the idea of the first variant very much though
 
Ell
4:53 PM
error is like GetLastError?
 
Seems like C error codes
 
@Ell uh no
@MohammadAliBaydoun more like Either<Return, Exception>, which is more like Haskell
 
Ell
@BartekBanachewicz hence question mark. Please explain :)
 
@Ell you can signal an error, and the caller has to do something about it. if it doesn't, it gets propagated to the VM
and you get a call stack dump.
 
Ell
oh right, so it set's a callback?
 
4:54 PM
no.
it's closer to exceptions, really
but in general multiple results are used instead
so error is more like the tool to signal serious fuckup
 
hmm
 
is exception_ptr an owning object?
 
Ell
@BartekBanachewicz ahh wait I just reread your sentence
 
4:55 PM
k
 
Shared ownership.
 
@BartekBanachewicz ..but no "on error resume next", so it's still clearly useless.
 
@JerryCoffin all hail vb
 
@BartekBanachewicz "VB"? Is that some latter day corruption of the one true BASIC?
 
4:57 PM
@JerryCoffin true basic requires you to write a line number at the beginning
 
Great syntax highlight.
 
@R.MartinhoFernandes Why is it pinned? Just a joke? Or is there opportunity for us to pre-order or something?
 
@Jefffrey I like that vim can catch that.
 
@BartekBanachewicz ...and the middle, and the end. :-)
 
@JerryCoffin do you mean QBASIC?
 
4:58 PM
@JerryCoffin 20 GOTO 10
10 ? "LOL"
 
@BartekBanachewicz which language is that? (doesn't look like basic to me)
 
@StackedCrooked nah, that's more showing-off the syntax highlighting. Lua.
 
MS 6502 Basic is where it's at: 10 FORI=1TO10PRINTINEXTI
where spacing is optional
 
Ell
@BartekBanachewicz where does target come from? o.O
 
@Ell it's a member variable
 
5:00 PM
@Abyx Are you intentionally trying to make me feel old?
 
Ell
@BartekBanachewicz ah right
 
@JerryCoffin :)
 
hmm indeed should be self.target
 
@ChrisSmith Ah, somebody who at least has a clue what I'm talking about!
 
hehe
 
user1804599
5:02 PM
TIL the difference between <STDIN> and <>.
 
@StackedCrooked I didn't pin anything.
@JerryCoffin Does he need to?
 
anybody know if it's possible to hand off a newly established TCP socket to a child worker process on Windows?
 
Xeo
Daaaamn, why are automatic Mahjong tables so expensive :<
 
@R.MartinhoFernandes No, I feel quite old enough on my own. Every morning, my body aches enough to remind me...
 
@ChrisSmith google says WSADuplicateSocket
 
5:05 PM
@Abyx hmm yeah, thanks
 
:imap <Home> <Esc>^i <3
Look, ma, a constructor! setmetatable(p, { __call = p.new })
 
> the rock-solid architecture of Linux
 
@Borgleader linux for steambox
 
somebody in chicago?
 
5:14 PM
What world do they live in?
 
@Griwes hmm?
 
Linux is anything but rock solid.
 
@BartekBanachewicz Yeah. Yknow, if we can just dl and install this on our own PCs. I think I know what I just found a use for my old desktop!
 
@Borgleader meh, steam Big Picture mode is hardly new
so I don't know what are you so excited about
 
Ell
How will they get all the games on linux? o.O
 
5:16 PM
@Ell OpenGL :)
 
@Borgleader They probably want you to buy their hardware as part of the package
 
Ell
@BartekBanachewicz but the games still have to be written with opengl right?
 
@ChrisSmith Probably, doesn't mean they'll force you to.
 
@ChrisSmith Maybe at the beginning, but I don't see why they should limit it.
 
Ell
If that's all that's stopping them, why aren't there hundreds of linux games already :S
you have to use wine
 
5:16 PM
@Ell because nobody uses linux
 
^ this
 
and Steam has a lot of downloads for linux already
 
They've already ported several of their "source" engine games to Linux and OSX with OpenGL
 
Ell
they have 2% market share :3
 
@Ell ...because I've met games running under Wine working better than native games for Linux.
 
5:17 PM
now, if they prepare one distro and actually test their linux games on it, it might kick off
 
Gabe Newell is making a big push for Linux. Mostly since Windows 8 really.
 
but basement linux dwellers will still be basement linux dwellers
@Ell that's pretty much the definition of "nobody uses that"
 
Ell
I wonder if the steam guys will use/improve open source graphics drivers
@BartekBanachewicz I know haha
 
@Ell don't tell anyone, but they already are.
 
Seriously, if you can have EVE working without problems under Wine, and have DotA2 not even work properly using the lowest settings for five minutes...
Native DotA 2, obviously.
 
Ell
5:18 PM
But still, porting the games over to opengl will take a long time, right?
 
not really
 
Ell
why not?
It will take a long time for steam os to become popular, I think.
People won't just switch over
 
@Ell because you can emulate Dx on OGL for one
 
It depends on how well they abstracted the rendering layer in their codebase probably
 
Ell
@BartekBanachewicz I don't mean because of technical reasons
 
5:19 PM
@Borgleader Win8 was a big disappointment, but Linux is gonna need a large amount of work to be viable.
 
@Ell there are no other reasons
 
Ell
@BartekBanachewicz how about steam os being popular or not
 
people will use SteamOS because they want nice Steam gaming experience
 
Ell
the reason you just gave a second ago o.O
@BartekBanachewicz it's not going to be an instantaneous thing though is it?
It will surely take a lot of time
 
Reading this frustrates me really hard
http://www.remobjects.com/products/native.aspx
 
5:20 PM
@Ell depends on your definition of "a lot"
if SteamOS can show it's better than Windows for gaming, I see no reason why gamers wouldn't switch
 
@DeadMG Yeah definitely. But if Valve/Steam starts contributing that might be the start of something big.
 
a lot of people sticks to windows just for games
 
so if games start working on SteamOS properly, that one reason disappears
 
user1804599
omg nirvana
 
5:21 PM
@Borgleader Might be. Might well not be.
 
What i want is a functional mediecentre on it.
 
it's a pretty serious chicken/egg problem.
 
Ell
So is steamos just going to be a linux distro?
 
nobody wants to use Linux because there's no games, and nobody wants to make games for Linux because there's no players.
3
the real question is how attractive Valve can make their Steam distro.
 
Ell
@Borgleader well, they already ported source engines like someone said a second ago
 
5:22 PM
if they can make it genuinely user-friendly
 
user1804599
I want to use Linux because there is awesome tools.
 
unlike most of the Linux "er mah gerd, we hate our users, fuck all the users" stuff
then they might get somewhere.
 
@Borgleader I guess Stream contains about 2% of all major games.
 
Ell
@DeadMG what haha
 
@Abyx 2% I don't have stats but that seems a bit low
 
5:24 PM
Steam sells about 75%+ of digital games.
 
Xeo
okay, wtf. I ran the code at work, it worked fine.
 
Ell
that's a bit of a generalisation don't you think puppy?
 
@Ell he's spot on
 
Xeo
Pulling it here at home and building / running it, it runs in an infinite loop
 
@DeadMG as long as you don't need to sign into the OS with your steam ID, like windows 8 wants you to with a microsoft account...
 
Ell
5:24 PM
@BartekBanachewicz what, no he isn't
 
@Ell every distro except Ubuntu is fucking useless
 
Xeo
or rather, errors out because of that
 
user1804599
@Ell Butthurt puppy can't install Ubuntu.
7
 
Xeo
infinite recursion or something
 
@BartekBanachewicz What? No.
 
Ell
5:25 PM
@BartekBanachewicz can you hear yourself? :3
 
@Rapptz does it sell WoW, Lineage or maybe Battlefield?
 
@not-rightfold Did, twice.
 
@Abyx TIL those 3 make-up 98% of games.
 
@Ell yes, and I still think so. Of course count all Kubuntu/Xubuntu in
 
Steam distributes and has sales for over 70% of the digital games market. I'm sure there's a source somewhere.
 
user1804599
5:26 PM
@DeadMG You still kinda failed at least once. :P
 
if you're not in 0.001% of the society, you can't use linux
now that's the definition of "fucking useless" for me
 
You know Ubuntu is based on Debian right?
 
@not-rightfold That was totally not my fault. I used the installer exactly as it was supposed to be used.
 
user1804599
Linux is useful.
 
@Rapptz point is, that if it doesn't have my-favorite-game, I don't need it
 
5:26 PM
@Rapptz of course I do. Doesn't change a thing.
C++ is based on C
 
but it's my general experience of the thing.
 
the media player Ubuntu came with couldn't even play mp3s out of the box
 
@DeadMG Royalties..?
 
Ell
@DeadMG proprietary codecs :/
try a distro with them installed already :3
 
user1804599
5:27 PM
I’m reading Modern Perl. :3
 
@Ell who the fuck cares?
 
Ell
@BartekBanachewicz the ubuntu people, apparently
 
@Ell like, new Ubuntu
 
user1804599
Use FLAC.
 
@Rapptz What do I care? I'm pretty sure that WMP can do it for years now. Not to mention the other free programs I use that can, like iTunes. If there's a royalties problem, it's Ubuntu's problem.
 
5:27 PM
I thought you guys were good with software
 
@Ell no, I mean who cares about the reasons.
 
@not-rightfold *Ogg
 
@Rapptz it's not about us, that's the point
 
user1804599
Or Vorbis.
 
@DavidKron no, FLAC
 
5:28 PM
@BartekBanachewicz Sure, but not for replacing mp3 content...
 
user1804599
Ogg is a container, silly. Who cares about that.
 
@DavidKron then AAC
 
Ell
@BartekBanachewicz Oh. I guess any regular person o.O
I care about the reason that my computer doesn't work o.O
I don't just buy a new one every time it breaks
 
@Ell you're not a regular person.
@Ell that's bullshit.
 
@DeadMG Use a different player that doesn't mind the royalties then? Honestly the issue has an explanation (and a reason) with a possible solution. I don't consider this to be Ubuntu's fault.
 
5:29 PM
who are you trying to fool now, me or yourself?
 
@BartekBanachewicz Isnt that like, even more lossier, almost close to wav?
 
@Rapptz it was ubuntu's fault for not providing one
 
@Rapptz The problem is that you're approaching from the wrong angle.
 
@DavidKron no.
 
Ell
@BartekBanachewicz I honestly genuinely don't know what you mean. It's like everything, computer related or not, surely people want to know why something is broken?
 
5:29 PM
the explanation is irrelevant.
 
the solution is wasting my time.
 
that's your main problem.
 
@DeadMG Am I supposed to pretend I'm a retard when I use Linux?
 
Ell
Then you can know whether to buy new batteries or take it to the shop
 
5:30 PM
the only thing that matters is that Ubuntu does not come with a music player that can play mp3.
 
@Ell no, you go to apple store and you get working PC back
people don't give a fuck why it's not working
they want a working machine
 
Ell
@BartekBanachewicz yes they do!
Then they can know how much money they have to pay
 
1 min ago, by Bartek Banachewicz
who are you trying to fool now, me or yourself?
 
@BartekBanachewicz Which also explains why most people don't bother to use something else thank IE. It works (badly, but it works)
 
@Rapptz No, it's just the wrong perspective. If it's broken, you look to fix it. Most people do not look to fix it. They just install something that isn't broken. Like Windows. And most people neither know nor care about mp3 royalties. All they care is that it's an exceedingly common format that they expect that music players can play out of the box.
 
5:30 PM
@Ell they will see it on the receipt
 
(note: i'm agreeing)
 
@Borgleader yup.
 
@Borgleader it works ok, if you're not a web designer. I mean it shows web pages, users don't need anything more
 
@Borgleader And why the EU had to step in with sanctions against Microsoft. The user-inertia in favour of IE would be an insurmountable barrier.
 
I just pray to god that they are collaborating with XBMC.
 
Ell
5:36 PM
Need to throw a good Halloween party
 
Xeo
Fuck, I'm an idiot.
 
tell us something new.
 
Xeo
io :: IO a -> Bar a
io = io
global find/replace left me with this :<
Instead of io = liftIO
And -Wall doesn't even warn about this
 
@Xeo haskell has -Wall ?
 
5:51 PM
ghc is similar to gcc
 
Hey all, what libraries do I have to link when I compile via clang? something like libclang_rt.*.a? Or is that done automatically?
 
ITT haskell sucks at static checks
 
Except first is Glasgow and second is GNU :)
 
Hilarious.
Neat. 2 PM.
 
@Rapptz Hmm?
Dear #Valve, I don't like cliffhangers. Give us announcements 2 & 2.1 now pls so we can start the Half Life 3 grieving process. Love Beer.
rofl
 
6:03 PM
@Borgleader Beer after my own heart :P
 
Xeo
@BartekBanachewicz And one is Compiler while the other is Collection
 
maybe one of them will be that they finally started working on HL3
 
Xeo
@BartekBanachewicz Yes
@Abyx Blame GHC, not Haskell
 
@Xeo I'd think it's the default
 
Xeo
@BartekBanachewicz Nope
 
6:06 PM
@Xeo stop feeding the troll
 
Xeo
I have to admit that I'm kinda surprised that GHC isn't diagnosing that.
 
Lua should have builtin kvprint function
 
Xeo
also, TIL trace :: String -> a -> a
That one's neat.
 
hmmm
I need a manual break-to-shell
hm, lol, or maybe I don't
exiting main loop simply gives me the shell back with -i
 
Xeo
@syam: we should propose to deprecate reinterpret_cast<...>() and replace it by this_is_not_the_cast_you_are_looking_for<...>(). — Dietmar Kühl 4 mins ago
hahaha
@DietmarKühl i_take_full_responsibility_of_whatever_bug_ensues<...>() would be more of a deterrent I think. Responsibility scares people. ;) — syam 57 secs ago
 
6:16 PM
@Xeo poor fella. Did you see what he is trying to do?
 
Xeo
You mean the Lua VM?
 
> I'm writing a simple wrapper around Lua's C Api
> simple
> Lua C API
 
Xeo
-1 is of type int, or signed int to be specific. A conversion is required for Uint32. Since it's not an exact match, the specialization isn't chosen (pro-tip: function template specializations suck). — Xeo 8 secs ago
 
eh C++ at its finest
 
Xeo
If only -1 :: Num a => a :D
 
6:18 PM
All those people writing Lua wrappers for C++ should just use Terra instead
 
user1804599
Season IV I want to watch you. :<
 
user1804599
60 days. :c
 
Xeo
@BartekBanachewicz Maybe I'll take a look at your Api. — Dan H. 1 min ago
 
@Xeo I was wondering if he'll catch the hook suggestion.
 
Xeo
I'm surprised he went to your profile, tbh
He seems to be an earnest learner at least.
 
6:23 PM
@Xeo that's my sexy face
 
Xeo
I want a Mahjong group here. :(
 
I am wondering what's with you and mahjong lately
I've tried to play that game a few times and I just don't get it.
 
Xeo
@BartekBanachewicz Not lately, I've been playing it for 2 years now, I think.
No, 3 years even
 
@Xeo you started mentioning it lately vOv
 
Xeo
It's just that I'd actually have the time to play it again now.
@BartekBanachewicz Which version? There's the real one, and the solitair / fake one :)
 
6:25 PM
@Xeo the fake one, apparently.
 
Xeo
So the single-player one?
 
Xeo
heh
The only thing in common are the tiles
 
I guess that's like playing 9x9 Go compared to 19x19
or even more different
 
Xeo
Do you know rummy, the card game?
 
6:27 PM
my ear twitched
 
Hello, all.
 
user1804599
Ah.
 
user1804599
It's been a long time since I listened to J-rock.
 
user1804599
Wonderful.
 
@Xeo Maybe by a different name
 
Xeo
6:29 PM
In German, it's Rommé
 
@Xeo In Poland it's, as I suspected, Remik, but I haven't played it I think
 
Xeo
Rummy is a group of matching card games notable for similar gameplay based on the matching cards of the same rank or sequence and same suit. The basic goal in any form of rummy is to build melds which consists of sets, three or four of a kind of the same rank, or runs, three or more cards in sequence, of the same suit. The original form of rummy is called Sai rummy or Basic rummy. The Mexican game of Conquian is considered by games scholar David Parlett to be ancestral to all rummy games, which itself is derived from a Chinese game called Khanhoo and, going even further back, Mahjong. ...
It's a bit of a mix between that and Poker
just with tiles, way more patterns and kinda complicated scoring rules
 
@Xeo you really are otaku :P
 
Xeo
@StackedCrooked Eh, those two things aren't related
Mahjong is played all over the place in asia
 
6:41 PM
yeah yeah, very convincing..
 
Xeo
they even got Mahjong saloons
I will totally admit that Saki brought me to Mahjong, though :P
 
Haven't seen Saki, but Mahjong reminds me of Nana.
Of which I read the manga.
> Miyanaga Saki is a high school freshman who doesn’t like mahjong. Ever since she was a child, she would lose her New Year’s gift money during her family mahjong game. If she won, her parents would be upset, and if she lost, well, she lost. As a result, she’s learned to play in such a way that her score always remains plus/minus zero: not good enough to win, but not bad enough to lose. When we meet her, she’s being dragged to her school’s mahjong club by an old friend. How will a girl who hates mahjong, yet has become adept at the game as a result of her upbringing, survive in this environ
Nice.
 
I'm curious about the comment on this answer. Trying to figure out if anybody can see much I can do to be more explicit without just writing the code for him.
 
I bypassed the character limit somehow. I'm trying to remove the last line and it tells me my message is too big.
 
Xeo
Oh yeah, also, Akagi :D
 
6:45 PM
@StackedCrooked Multi-line has no limit (AFAIK).
 
@JerryCoffin I see.
 
@StackedCrooked However -- if you try to delete a line-break so it turns into one long line, it can be too long all of a sudden.
 
Because it's no longer multiline?
Weird rules.
 
@StackedCrooked Right -- and yes, they are.
 
user1804599
Haha.
 
6:50 PM
@JerryCoffin He should figure it out by himself.
IMO
 
user1804599
If you click on Fluttershy on Pony Countdown, she disappears.
 
@JerryCoffin he looks like he's a total newb in C
in which case this task is too hard
 
@StackedCrooked Yeah -- I'd pretty much decided I'd already given about as much direction as was reasonable, and it was (probably) time for him to do some Googling for things like "what's a trie?", but wanted some assurance I wasn't being overly terse or giving one of those answers that's helpful only if you already know the answer.
 
@JerryCoffin I suspect the assignment was given before they learned about tries. Because it would be a nice example to show how the students (O^2)code can be improved by using tries.
 
@StackedCrooked Could be. I really miss being marked as such. This is right at the border where I'm not sure whether it's really homework, and the root of his question may easily boil down to something like "what's the syntax for an if statement?", or he's writing real code, and just hasn't (for example) used a trie before, so he really just needed Google-fodder to get started.
The comment does tend to indicate the former though.
Though actually, rereading, I guess he does specifically say he's in a class. Not sure if I missed that the first time, or had just forgotten.
 
6:58 PM
Instead of asking you for a little bit of code he should first show his code.
 

« first day (1073 days earlier)      last day (3875 days later) »