« first day (848 days earlier)      last day (4098 days later) » 

12:00 AM
 
@DeadMG You commit the .vcxproj.filters file too?
 
@Rapptz manga freaks.
 
why not?
 
@Rapptz Piss where I want... Not even I knew that about America. This country just got 500x better!
 
I commit everything that I don't really know what it does and doesn't take up a lot of space.
why not commit the filters file? I don't know what'll happen if I don't have it and it's tiny.
 
12:01 AM
@DeadMG Oh, uh. WEll okay. :D
I think it just says where in the Solution Explorer the groupings of files go.
 
Ell
I can't use source control
 
that's what I think too
but don't intend to find out by breaking a commit
 
But I usually never include it because I always view by File System.
 
as do I
btw
I had to make Wide strings const char*, because when I made then const char[N], I couldn't figure out how to get LLVM to give me &str[0] :(
 
Dun dun dunnnnn.
Evil const char*
 
12:04 AM
yeah
 
but hey
on the upside, I discovered that Clang can instantiate simple function templates with no effort on my behalf.
 
Ell
@bartek I can only use it if I'm the only dev, tried using git with a friend and I just didn't understand it
 
just about the only thing I found about Clang that was a pleasant surprise/convenient
 
@Ell what can't you understand about using it with two people?
 
Ell
12:07 AM
Well what happens whe. Y
 
he died
 
@JohannesSchaub-litb hi
 
Ell
When you edit the same file? And what is the head pointer? And hoe often do you commit? Do you push everytime you commit?
 
Git is the user-unfriendlies compared to Mercurial
 
12:08 AM
@Ell One-commit-per-issue. Rebase if you need more intermediate commits. Don't edit the same file at once.
 
YAY
 
@Ell Commit whenever you want. Most people say its good to do it often, just because of versioning.
 
can we start become serious
 
@JohannesSchaub-litb hm?
 
I managed to remove the need for the only modification I made to the Clang source code.
 
12:09 AM
@ThePhD just not on the master -.-
 
Ell
It would help if I actually learned to use git instead of trying to pick it up as I go :L
 
@Ell it would help to use subversion first probably
 
@Ell It would also help if you just used Mercurial.
 
git is helluva more complicated imo
 
@BartekBanachewicz Please don't do that to him. :c
SVN felt terrible to me. I got lost so easily.
 
12:10 AM
That's your problem
SVN is much more intuitive than git anyway
 
how so?
 
SVN sucks
 
Ell
I don't think git is complicated, from what I've read, I just Dont use it enough
 
@Rapptz because?
 
It just does.
 
12:10 AM
@Ell it is. Just for sick that linux guy, whatever, ego
 
Ell
I have used git with another noob once and that is all
 
>:| (too lazy to type an explanation)
 
Ell
Isn't git by Linus?
 
@sehe I did it!! I solved the issue on my own!
 
@Rapptz that's not a very good reason
 
12:11 AM
git was made by Linus yeah
 
noobus
 
Someone asked me a leading question, it triggeed like the next 5 steps, and I did it!
 
I really can't distinguish them, they're all the same, speaking about opensource and shit
 
That's only Stallman
 
I actually like SVN, sure it has issues but on the whole it does the job imo
 
12:12 AM
@Ell Even I use source control.
 
@Rapptz you are just a mindless hater, like everyone here (including me of course)
4
 
I like hg and git, sue me
 
Also, I just made my own voxel minecraft
My GF hardcoded a cube, then went to sleep, and I'm sitting here, making voxels
 
0
Q: How many bytes would you need to represent the new Mersenne prime number as an integer?

Augusto Dias NoronhaHow many bytes would you need to store 2^57,885,161 - 1 as an integer?

 
Awww did Konrad delete his meta post about Retro filters?
 
12:20 AM
@BartekBanachewicz Wait, you’re … pair programming?
awww, that’s adorable!
 
user142019
This is why I love type-inference:
 
user142019
repoPtr <- malloc
returnCode <- c'git_repository_open repoPtr path'
 
@KonradRudolph Well, I guess you could call it that :) She's an artist, not a programmer though.
 
user142019
Return type of malloc (which is generic) is inferred from passing repoPtr to c'git_repository_open. :)
 
is C# like C++?
 
12:23 AM
no
 
6
Q: Eeeek! Gigantic Gravatar nearly gave me a heart attack on the spot - what gives?

George EdisonI was visiting this page and stumbled across this: I almost fell off of my chair! (Penguins aren't noted for their ability to remain seated on a chair for long periods of time. They also have really weak hearts.) The Gravatar is nearly 5.5 times the size of the others. The URL of the image re...

^^ lol
 
@user1690130 similarities and differences. depends
 
0
A: How many bytes would you need to represent the new Mersenne prime number as an integer?

RapptzAssuming we're doing two's complement and that 8 bits is equal to one byte; we'd need at least (57,885,161+7)/8 bytes. If you needed a simple way to possibly explain it is by using mathematical induction that says 2^32 - 1 is the maximum number that a 32-bit integer would represent, and 32 is a ...

 
I actually upvoted just as you posted it here. :)
 
^^
 
12:29 AM
@Zoidberg: how does one use your stylesheet? (The one you put in the Retro filter thread)
 
user142019
Install Stylish extension for Chrome.
 
Oh... chrome only :(
 
@Mistycial - I'm sorry, I thought int was already a format? I wasn't aware of any other formats... — Augusto Dias Noronha 11 mins ago
 
nvm i found it for firefox :)
 
@Mistycial
Mistycial
 
12:31 AM
@BartekBanachewicz I actually upvoted that because it made me lol
everything about it is funny, the typo, the assumptions
 
guy's awsum
but close that fucking question
bah, sleep
 
I don't know, I don't think it's that bad.
A silly question yeah, but not that bad
 
it's too localized
close.
 
how is it too localised?
Close Voters: If you're gonna close this, at least choose the right reason. This isn't "Too Localized". If anything, it might be "Off-Topic". — Mysticial 4 mins ago
 
@Rapptz nobody ever is going to store that effing number as an int
 
12:33 AM
And no one is going to.
 
user142019
libgit2 y u pointer to pointer.
 
He's asking a theoretical question.
 
that doesn't make sense
 
How so?
 
Can I ask another question, but about 2^123124151-3 instead?
or 21391723123?
 
12:35 AM
Too localised is closing if this only applies to the OP and OP only.
 
it does.
 
Curiosity is not an OP only thing
 
@Zoidberg: Is this what it does on your end?
 
user142019
No.
 
0
Q: Struct assignment globally gives name type error

yarun canI have a struct like this in "parser.h" struct obj{ char *filename; unsigned long nverts; unsigned long curvert; double (*verts)[3]; unsigned int *faces[3]; }; typedef obj obj; and in parser.cpp I am declaring obj objmesh; objmesh.filename="...

 
12:35 AM
@Rapptz curiosity how to store this concrete number? prolly yes
 
@Zoidberg Damn...
 
Not at all, like I said -- I'm not saying the question is good, so your previous argument of using loaded questions is silly at best -- I'm saying that "Too Localised" is the wrong close reason
If it needs to be closed at all.
At most it's Off Topic like Mysticial said, and I think even then it's kind of a grey area because it is related to programming in a certain way
but it seems to be more mathematically induced than anything
 
but then again
 
RT @marshallk @errolmorris: Twitter never suggests that you might enjoy following no one. (Possibly an oversight.)
 
2 mins ago, by Bartek Banachewicz
Can I ask another question, but about 2^123124151-3 instead?
 
user142019
12:37 AM
Horray my code compiles!
 
1 min ago, by Rapptz
Not at all, like I said -- I'm not saying the question is good, so your previous argument of using loaded questions is silly at best -- I'm saying that "Too Localised" is the wrong close reason
 
user142019
newtype Repository = Repository (ForeignPtr C'git_repository)

openRepository :: FilePath -> IO (Maybe Repository)
openRepository p = withCString p $ \path -> do
    alloca $ \ptr -> do
        err <- c'git_repository_open ptr path
        if err == 0
            then do
                ptr' <- peek ptr
                ptr'' <- newForeignPtr p'git_repository_free ptr'
                return . Just $ Repository ptr''
            else return Nothing
 
user142019
I wonder how much UB is in here.
 
@Rapptz well so it's bad.
 
@BartekBanachewicz please show extensive traces of own exploration of the problem first!
 
12:38 AM
@JohannesSchaub-litb i had to really focus on slamming random numeric keys
 
is it enough research effort for you?
 
Anyway it's down to one close vote.
 
So just cast it and I'm going to sleep
the question is terrible. If the guy asked "how to store a giant number, such as <the number>", I would upvote myself
 
too localised
 
12:40 AM
But it's as silly as "xoxoxo how many zigabytes of laptops i will need i want know cuz i want tell my friends yolo"
 
^^
 
@BartekBanachewicz but you was just about to ask a similar question
 
Your hyperbole is stupid.
Honestly his question was 100% curiosity
There is no need to insult the OP because he's curious
 
well, you're right
Still, "this question shows research effort" my ass.
@Mistycial - I'm sorry, I thought int was already a format? I wasn't aware of any other formats... — Augusto Dias Noronha 22 mins ago
 
@BartekBanachewicz so you expect him to count all those bytes himself
 
12:43 AM
I've had enough for today. goodnight boys. Sleep well.
@JohannesSchaub-litb he should be told to for pure fun of it.
 
Does anyone know what environment variable to set in mac for library search path?
 
@Zoidberg Damnit, Firefox doesn't support sepia filter. I need to point it to an svg element... This complicates things.
 
-1
A: Reading parenthesis from fstream object. C++

Pazei am not really sure, it might be because you are using a char on a io stream that returns a string ? :P

 
user142019
1:02 AM
I just wrote the ugliest Haskell code ever. gist.github.com/daknok/4747842
 
@Zoidberg I've written some pretty ugly code that can rival that.
 
Is there a way to have a local svg file that can be referenced in css such that firefox will find it?
or do i just put the filepath as the url?
 
@Zoidberg Yup, it’s official, I don’t understand Haskell at all
 
user142019
lol
 
user142019
I'm dealing with pointers here so I don't really understand it either.
 
user142019
1:07 AM
Cuz /fuck-pointers.
 
user142019
And hurray I need unsafePerformIO and all the pain that comes with it! \o/
 
For some reason that ugly code made me want to learn Haskell.
I have a thing for ->
 
user142019
And now only hope that libgit2's git_commit_id function will never ever perform any side-effects.
 
@Tony I don't. Trying to force a particular signature is a pointless exercise without benefit. You should only require some particular call expression to be valid. Do that with EnableIf or Require (just like EnableIf, but static_asserts on failure instead of SFINAE), depending on what you need to require it for.
 
user1357851
so many ants on my table
 
user1357851
1:11 AM
& on my keyboard
 
user1357851
:/
 
Ew...
 
user142019
 
user142019
And now only hope your table and keyboard aren't made out of wood.
 
Before I make an SO question out of it. In the CSS rule filter: url(); is it possible to use a local file path?
I tried filter: url(file:///C:/Program Files (x86)/Mozilla Firefox/sepia.svg#old-timey);
But it doesn't seem to work :(
 
1:29 AM
lol
 
Hmm apparently I was missing quotes. But now the whole thing is white
 
@R.MartinhoFernandes You’re using Octopress for your blog, right? Do you keep the source of your blog (rather than the content generated by rake generate) somewhere in the github repository?
 
user142019
If you use Jekyll you can just put the source on GitHub.
 
@KonradRudolph He uses github pages, so yeah
 
user1357851
@Zoidberg only hope ants have not found way to inside the motherboard
 
1:36 AM
@Rapptz Nah, Octopress maintains a separate repository for source and generated content, and by default pushes only the generated content to Github
 
user1357851
transistANTs
 
… and I find that very odd since it means that by default you don’t have backup for your sources
 
> The website is hosted by the GitHub Pages service. All pages are served statically; no content generation is performed on the server. The static pages are generated by the Jekyll engine running on GitHub pages from a mix of Markdown and HTML sources.
 
user142019
If I had a blog I'd either post PDFs generated from LaTeX or I'd scan in handwritten posts.
2
 
@Rapptz That doesn’t answer my question
 
user142019
1:37 AM
> The static pages are generated by the Jekyll engine running on GitHub pages from a mix of Markdown and HTML sources.
 
user142019
@KonradRudolph ^ Jekyll.
 
Hm. I thought it implied that all his content is on Github as well?
 
@Zoidberg I know that but it’s not what I’m asking about
 
user142019
Ohhhhh wait. XD
 
user142019
1:38 AM
Markdown sources are there.
 
user142019
Jekyll output isn't, for as far as I see.
 
@Zoidberg Yes but not the sources of the blog engine itself … Octopress is an additional layer on top of that
 
user142019
Jekyll supports blogs natively. What does Octopress offer on top of that?
 
@Zoidberg All that you see on the github repo is just the content of a directory called _deploy that Octopress generates locally
 
user142019
Ah.
 
1:40 AM
@Zoidberg Jekyll supports the basic scaffold. Octopress puts lipstick on the pig
 
user142019
I see.
 
(although I’m not really sure what Octopress offers me at the moment, tbh)
 
user142019
Some people have their blog in GitHub repos, written in Markdown. :P
 
Well yeah, that’s the point of GitHub pages
 
user142019
No not GitHub pages.
 
1:44 AM
hmm
also an idea
I was actually thinking about creating a blog on top of gists
that way you’d get the commenting functionality for free
… and then just use the REST API to pull the content of the gists into the website hosting the blog template
 
Curious, what's wrong with wordpress?
 
user142019
Besides everything, nothing.
 
@Rapptz everything
 
I've never used it
but it seems popular
 
I swear to god, I will never again touch that pile of steaming crap
 
user142019
1:45 AM
Keep it that way.
 
Hm..
 
do all of you have blogs?
 
user142019
Tumblr is fine except it lacks comments so you need something like DISQUS.
 
as long as you don’t want to customise ANYTHING and aren’t afraid of security vulnerabilities, go for it, Wordpress is your friend
but if you don’t want to run weekly critical updates or if you might at some point in the future want to customise the code base, run.
@Zoidberg well same for github
 
I've actually been considering dropping the comments.
 
user142019
1:48 AM
Bacon!
 
user142019
There is also gist.io, which would make for weird URLs.
 
@R.MartinhoFernandes Yeah, just link them to the lounge or something :)
Really, I would completely understand how the commenting business is annoying
 
People rarely comment anyway
Is it worth the hassle?
 
@Zoidberg Hehe, that’s very close to what my idea was
 
user142019
Then you can just have one index gist which you update whenever you create a new blogpost.
 
1:51 AM
@R.MartinhoFernandes Some people just automatically add a link to HN to the bottom of their posts …
 
user142019
Eww gist.io says "Github" instead of "GitHub".
 
user142019
Lol that project still exists?
 
(except that it doesn’t render full Markdown)
 
user142019
1:54 AM
It doesn't?
 
user142019
Oh <sup> right. lol
 
No superscript
 
Gist renders it correctly: gist.github.com/klmr/1900350
 
user142019
The Monad.Reader uses PDF and IMO it's superior.
 
anyway, night-time for me
 
user142019
1:55 AM
Though it's not really a blog.
 
user142019
More like a magazine.
 
@Zoidberg for some reason none of the CSS rules for the different type of code elements (pln, kwd, typ, ...) seem to work.
 
user142019
Use Chrome.
 
In firefox anyway
 
user142019
It's developed for Chrome.
 
user142019
2:04 AM
And tested only in Chrome.
 
I decided to give Haskell a try.
 
user142019
And only supported on Chrome.
 
I know, but CSS is CSS.
 
So I'm downloading the Haskell platform.
 
user142019
@Rapptz +1
 
user142019
2:05 AM
@Borgleader and like everything related to client-side web development, it is interpreted differently by different browsers.
 
Stylish is supported in firefox too. In fact the rules for the actual code section work (I got it rotated and all) but the element ones don,t work.
I feel dirty... I used !important
 
user142019
lol
 
user142019
Oh now I know why this library is so fucked-up.
 
user142019
The Haskell code is generated from C code.
 
user142019
So it uses IO a instead of a even for pure functions.
 
2:17 AM
That's #8 on my C++ list gist.io/3176551, though it applies to any language, really.
 
user142019
Haha. :P
 
user142019
Oh well, luckily we have unsafePerformIO lol.
 
Tehee, "SublimeOverflow"
Not as hipster as the other dude but wtv. I like it
 
user142019
@Rapptz And another mortal converted. \o/
 
2:33 AM
You're like the Z-Virus, you transform perfectly good programmers into Haskellites.
 
I don't like it already.
 
user142019
lol
 
I haven't even written anything
Maybe you can help
How do I use GHC?
 
user142019
 
user142019
Interactive prompt is $ ghci, GHC is $ ghc Main.hs.
 
2:34 AM
That's FredOverflow's avatar o.O
 
@Borgleader Did you... just find this out..?
@Zoidberg that's it?
 
@Rapptz Yeah. Why would I have known this sooner?
 
user142019
@Rapptz why would it be something else?
 
@Borgleader It's like, the prettiest language logo!
 
lol...
 
user142019
2:35 AM
@Rapptz muh, Python, CoffeeScript.
 
@Zoidberg Hm, I don't know.
Python's logo isn't as pretty as Haskell's IMO
 
user142019
Erlang's is also nice IMO.
 
user142019
And PHP's is fugly.
 
user142019
 
user142019
Why the fuck is there space between "hp" but not between "ph".
 
user142019
2:37 AM
And the bevel is also terrible.
 
@Zoidberg bin that shit
 
user142019
And the damn italic is not right.
 
Did someone say PHP?
 
user142019
PHP is so hilariously wrong, they even fucked up the logo.
 
@Zoidberg The reason is because the P is in italic.
 
user142019
2:38 AM
@Borgleader the H is too.
 
If you check the bottom part of the right P you'll see it comes as close to the H as the first P does.
 
user142019
So?
 
user142019
It should not be like this.
 
That's why there's a space
 
user142019
There should be space between PH or no space between HP.
 
user142019
2:39 AM
And everything should be equally italic.
 
Do we know what font it is?
 
user142019
A terrible one, at least.
 
I'm pretty sure if I type PHP in MS Word with this font it will give me exactly the text in that logo
 
user142019
Yes that one.
 
But I'm not paying 24$ to find out
 
user142019
 
user142019
> And oh, if you're wondering about the font we used, it's called Handel Gothic.
 
user142019
lol
 
That's where I got the link
 
user142019
The linked font is not italic.
 
user142019
They suck.
 
2:46 AM
I wish I could get rep on SO from something else than answering questions. It's too time consuming to find a question that won't get closed in 5 sec for being crap.
 
user142019
7 hours ago, by Zoidberg
There should be explicit "on-topic" or "not a bad question" opening reasons on Stack Overflow, and questions should be closed by default.
 
My point was not that questions were bad. But rather that I don't have the patience to refresh the question page constantly until I find a question to answer.
95% of the time it's either FGITW or crap.
And in the FGITW department, @LuchianGrigore kicks my ass.
 
now that I gave it a try, it seems okay
It can handle numbers well lol
 
My teacher suggested I try Haskell.
 
user142019
2:52 AM
I prefer let fac n = product [1..n] because product is implemented in terms of foldl, which is tail recursive.
 
I literally started 5 minutes ago
 
@Zoidberg Give him a break already :P
 
@Borgleader zoidberg just wants to kill people
 
also it says ghc is similar to GCC
it seems like it's ghc test.hs -o test
 
user142019
The UI is somewhat comparable.
 
user142019
2:57 AM
I rarely invoke GHC directly though. I prefer cabal-dev which is a build system.
 
I'm trying to make a build system for ST2
 
user142019
It invokes GHC for me.
 
What's the path for GHC?
 

« first day (848 days earlier)      last day (4098 days later) »