« first day (1481 days earlier)      last day (3467 days later) » 

user1646075
5:01 AM
@Mysticial ummm, isn't that done with -Wno-fucking-way
 
@aclarke It is.
 
user1646075
execpt one less leading dash I think... Trying to find talk about -W in the gcc man page is an adventure of detective work.
 
@aclarke But there's no --W-fucking-way option for it in the first place.
 
@Mysticial Can you give the full line of error?
 
user1646075
which warning, so i have something more concrete to search for
 
5:04 AM
Well, of warning.
 
> warning: integer constant is so large that it is unsigned [enabled by default]
 
user1646075
that'll be under one flag but wtf is it out of the fifty thousand available...
 
user1646075
Warnings about conversions between signed and unsigned integers can be disabled by using
-Wno-sign-conversion.
 
user1646075
does that do it?
 
lemme boot up my linux machine to check it
 
5:07 AM
abusing google drive to the fullest
 
Is that C or C++?
 
user1646075
@LucDanton the warning? it's a bit ambiguous f'sure. I'd say it's actually on because of a prior -Wall or other all-encompassing option
 
The code.
 
user1646075
@orlp I have no codec - boo hoo
 
Hang on, I'm about to push one of the files into a new github repo.
 
5:10 AM
@aclarke for h.264? in chrome?
 
user1646075
also -Wconversion gets a bit of a mention regarding sign
 
user1646075
@orlp my firefux has been saying that the last few days, for a few links. herp-derp moment: didn't think to fire up chrome.
 
I actually can’t get that warning with GCC 4.8 or later. Not sure what I’m doing wrong.
 
@aclarke I just encoded it as h.264
I could encode it as webm
but it's going to take a loonnnggg time
 
user1646075
it actually warned me differently between SuSE and Ubuntu - then I noticed one of the gcc was a version-point ahead.
 
user1646075
5:12 AM
@orlp that shoudl work in chrome. Un-herp-derping now.
 
aclarke: first ~15 seconds are derped, but that's in the source file, was too lazy to cut it off
 
> Primes3.h:30:34: warning: integer constant is so large that it is unsigned [enabled by default]
const uint64_t p3m1_P[] = {18086456103519911937,5832091148700614656,617158350571831296};
 
user1646075
worst part of this new sign-conversion warning was that I had to scratch my head for way too long tracking it down.
 
user1646075
@Mysticial that's 'before' I hope
 
Jan 17 '13 at 4:57, by Rapptz
warning: integer constant is so large that it is unsigned [enabled by default]

This warning sounds funny to me.
 
5:15 AM
@aclarke and after as well.
g++ *.cpp -std=c++0x -Wno-sign-conversion
 
user1646075
bugger.
 
user1646075
also -Wno-conversion which gets honourable mention?
 
same
 
user1646075
damn
 
gimme a sec to update the new github repo I just made
 
5:17 AM
@Mysticial I see. This is a grey area.
In 100% conformant C++ either the literal has an extended integer type, or if there isn’t any it is an error.
 
@Mysticial Why don't you suffix it with ULL?
 
The compiler may be more tolerant, but sadly I have 0 experience with what kind of settings will mollify it.
 
@Rapptz Because there are a few thousand of them.
 
So?
 
If there's an easy way out, then I'll go with that.
 
5:19 AM
Give me the numbers and I'll do it for you nub
 
I.e. it may be that your combination of flags ask for the strictest mode there is, in which case you can’t disable that warning in particular.
Kinda like for stupid pointer/ref conversions you need -fpermissive or a -std=gnu++14 or what have you. You can’t have C++14 + your own exception to a rule.
 
user1646075
even setting all the strict-as-all-hell options first, ones further down the command line should then switch off isolated items
 
user1646075
-Whard-core -Wno-fussy-issue ....
 
@aclarke Assuming there is such an item. My point being that there may not be one.
 
user1646075
it's kinda looking like that
 
5:23 AM
Example. If you bring in -fpermissive you bring in lots of lots of stuff, too.
 
user1646075
maybe the release notes for this new version has something to say.
 
A decimal literal with unsigned type is going to be one of those bending of the rules.
 
@aclarke how was the quality in chrome?
 
user1646075
@orlp shiney! unfortunately my net is busy elsewhere, so there were lots of pauses.
 
@aclarke yeah I was royal with the bitrate
@aclarke it's 8MBit/s
the hardest part is capturing the game at 60 fps 1080p though
without taking a FPS loss
 
5:29 AM
@Rapptz lol I've uploaded two of the files. Here's one of them: github.com/Mysticial/ProtoNTT/blob/master/Primes3.h
There are two more (7 and 9) which are not ready yet since I haven't verified that they content is correct.
Of course Visual Studio doesn't care. It compiles it quietly. :)
 
user1646075
watch out for the floats!
 
:v
 
All the numbers are generated by Mathematica.
 
user1646075
in perl i'd be trying s/(?<!\.)(\d+)/$1ULL/g;
 
user1646075
good luck
 
user1646075
5:33 AM
eek - there's some normal numbesr in there - better limit to at least many digits. Stand by for counting on fingers...
 
Word boundaries + digits? CBA to try.
 
user1646075
replace the + with {15,} - the problem numbers look around 19 or 20 digits.
 
user1646075
annnd . .. wait, I'll stop talking and that testing.
 
areuawizard.dll
 
user1646075
5:37 AM
perl -pe 's/(?<![.\d])(\d{15,})/$1ULL/g;' < myfile seems to do the trick
 
so wait
if you're generating this
why didn't you suffix it there?
 
Mathematica outputs arrays in that format.
I don't need to do any formatting.
I just copy paste.
 
user1646075
yeah, the floaters are clean (I looked in the bowl) and the little numbers (like number 1) are unaffected. Sorry for the poo humour
 
yeah I used \d{7,}
 
I guess I'll go ahead and upload 7 and 9. If there's any problems with them, I'll fix it later.
 
user1646075
5:40 AM
and if you're brave, inplace edit: perl -p -i.old -e 's/(?<![.\d])(\d{15,})/$1ULL/g;' myfile which includes the wussy option to rename the original to a .old suffix, so you don't have to be too brave
 
Uh oh its 6:40 am
 
user1646075
rise and shine!
 
Woah, I'm already up
Waiting in mcd because I left too early actually
 
user1646075
Or as my apple-cheeked grandma used to say: "hands off cocks! pull up socks!"
 
is the next set going to be hard mode
 
5:42 AM
First day in a new job isnt something you get late for
 
was this just level 1?!
 
It actually annoys me that I always have to add -i to do in-place modification with sed :)
 
user1646075
@LucDanton sed can do that now???
 
If I have the files open I just use sublime text
 
user1646075
5:42 AM
@LucDanton oooooo!
 
it uses Boost.Regex PCRE
 
user1646075
i should lurn vim's unique flavour of regex too. It does the equivalent of the hard-core PCRE stuff as far as I can tell, but with it's own approach.
 
@aclarke You need to escape the period.
Otherwise that's the regex I used.
 
user1646075
not inside a character class
 
user1646075
I hope! checking...
 
5:45 AM
Shit realtime tram system isn't working
 
It doesn't matter in this case
:p
 
7 and 9 are uploaded.
 
aw shit
hardmode
 
user1646075
"Most characters that are meta characters in regular expressions (that is, characters that carry a special meaning like ".", "*", or "(") lose their special meaning"
 
user1646075
but I had to know!
 
5:46 AM
I'm "hoping" they are correct as is so I don't have to muck with them again.
 
user1646075
@Mysticial eeeeezy
 
user1646075
what's your editor?
 
Visual Studio. lol
 
user1646075
oh. Well. No !Gperl for you!
 
When I was designing the implementation for ProtoNTT back in June, I was trying to decide how large I should go. Since I could theoretically go pretty high. But given that the E field grows quadratically as well as the runtime overhead, I decided to stop at 9.
 
5:52 AM
a delightful experience for all
note to self: never buy banana ice cream again
 
user1646075
@Rapptz Why?
 
it's not that good
 
user1646075
Also, never make eye contact while eating a banana.
 
user1646075
heh. I like it. Also rum-and-raisin
 
the only thing that was saving it were the dark chocolate chunks
 
user1646075
5:54 AM
might be cheap artificial flavours, vs. the expensive ones.
 
nah I checked
 
user1646075
Vanilla ice cream with banana Nesquik mooshed through it is v.nice.
 
it was made of banana puree
 
user1646075
Wish we could still get caramel nesquik here :-(
 
user1646075
@Rapptz damn - that should be premium!
 
5:57 AM
it didn't taste bad per se
it just didn't taste good.
it was a very neutral taste
 
user1646075
write to them and suggest they add artificial flavors. I'm sure they'll be happy.
 
it's premium ice cream!
 
user1646075
@Rapptz demand a refund!
 
I got it on a whim because they ran out of the flavour I actually liked and figured I'd try something new
 
user1646075
Well, that's a good thing then. Now you know you are right, and you can bask in the glory of being someone who tries new things.
 
user1646075
6:00 AM
I tried sesame seed icecream a few months ago. Bletch!
 
time to kill this boss in fantasy life
 
user1646075
aaaannnnnndddd - another day in the codemine has passed. The whistle has blown, and I must trudge to the mineshaft so I can reappear on the surface in 10 minutes.
 
user1646075
@Rapptz kill it with fire?
 
no with my arrows
 
user1646075
fire arrows
 
user1646075
6:02 AM
good luck!
 
6:12 AM
@aclarke oh you use vim
 
6:26 AM
Woo! My book c++ primer just arrived and it is awesome! Covers c++11 to!
 
cpx
6:37 AM
@Mixerman123 I'm reading section 2.3 of chapter 2.
 
Haha
 
I am now a master hunter.
 
cpx
I didn't know a reference was a compound type. I thought it was just an alias or something.
 
I need a job
 
How do I join this? github.com/LoungeCPP
 
6:44 AM
Hmm, does the latest MSVC + soome CTP support foo{} initialization?
@Mysticial What is the point of that, anyway?
 
No idea.
It feels like I should be a part of it. lol
 
The page says ask Cat.
 
that's futile
cats can't talk
 
cpx
MSVC 2013 has support for initializer lists.
 
@orlp But they do listen!
 
6:50 AM
@Mysticial in case you didn't recognize my icon, I'm nightcracker, this is my new name (initials)
@VáclavZeman lol no
 
Me: How do I join LoungeCPP?
You: Ask Cat.
Me: Cat, how do I join LoungeCPP?
Cat: No. Your code is bad and you should feel bad.
 
> "Meow" - Cat
 
@orlp I know. I was here when you asked how long it would take to update.
 
@Mysticial lol
 
@Mysticial oh my bad
 
6:54 AM
@orlp No worries. I lurk a lot. I just don't have much time to actually post anything.
 
@Mysticial what are you up to these days? chasing more digits of pi?
 
@cpx it must have some issues because people are complaining log4cplus does not compile when using it to initialize... Hmm. I need to check. It is either plain array or std::array.
 
@orlp Not quite. More like I'm helpdesk for the people who are.
 
Is pi all that interesting beyond the first few digits?
 
No it isn't.
 
6:57 AM
@VáclavZeman Only as a challenge AFAIK
@Mysticial I'm writing a paper (although I haven't worked on it for like a week now) about a variation of quicksort I invented that's O(n) on many common patterns, detects worst cases faster and more accurately than introsort without giving up performance in the average case (it's actually ~5% faster than stdlibc++'s std::sort)
 
All I'm doing at this point is answering questions from those who are using it. And fixing up all the bugs that are coming up. There isn't much on the developing side of things.
Ah. I see that the Lounge is no longer the most notorious room. Seems like we've got some catching up to do... — Mysticial 7 secs ago
 
7:20 AM
@Mysticial do you use vim?
 
@orlp Yes because I can't figure out how to quit it.
 
you don't like it?
 
I absolutely hate it.
 
how come?
 
It's ugly, I can't mouse drag-drop copy-paste.
I can't mouse wheel scroll.
 
7:22 AM
that's not true
do you use gvim or in terminal?
you can set up scroll in both
 
terminal since most apps default to that.
I usually end up changing everything to point to emacs. Not that I know emacs, but at least it resembles a real text editor.
 
@Mysticial set mouse=a
it also needs terminal support
 
Whatever the case, if vim requires a complicated setup process to make it look like notepad, then it's not worth using.
 
vim's out-of-the-box experience is bad, I agree
but if you hate it so much, why can't you quit it?
 
Because simply, I prefer editors that look and feel like notepad or gedit.
@orlp You obviously missed the sarcasm.
 
7:26 AM
oh
I did
sorry, english isn't my native language, and I have a very hard time detecting sarcasm in written text =/
I wasn't trying to convert you
 
lol, no worries.
 
just mitigating your annoyances :P
I thought you hated vim for some reason but got too used to the keybindings or something
 
Note that I hate both vim and emacs. But I hate emacs less because it somewhat resembles a text editor.
 
@Mysticial Use Sublime Text.
It's what I use.
 
sublime text is great
I think VIM is better, but requires serious investment, interest and niche
if you like a "notepad"-style editor, ST is probably the best out there right now
 
7:30 AM
If you're talking about code editors. Then it's Visual Studio. Nothing else compares.
 
Visual Studio has a horrible code editor
It doesn't even have multi cursors.
 
On Linux, I currently use Eclipse.
 
the debugger and other IDE functions I'm not talking about, purely the text editing component
ST is just a text editor
not an IDE
 
@Rapptz I'm not aware of a single person who actually uses that feature.
 
Now you do.
 
7:32 AM
@Mysticial do you know what ctrl+d does in ST?
ctrl+d single handedly saved me so much time
 
I haven't used ST, so no.
 
ctrl+d is kind of hard to explain, but it starts off with if you didn't have something selected it selects the word your cursor is on
 
then if you do have something selected it expands the selection with a new cursor at the next match
 
ctrl + d
 
7:33 AM
@orlp it humps your mom
3
 
pretty much that
 
@orlp In VS, it's double click.
 
quick variable renames, organizing
@Mysticial not really, look at the gif :)
@Mysticial it explains it better than my words
 
I feel scammed
eBay told me estimated delivery was Nov 10th
When I bought it they changed it to Nov 21 - Dec 10
 
@orlp Oh I see. In VS, I would type one line. Copy it and paste it several times. Then go back and edit all the differences.
 
7:35 AM
inefficient :p
 
@Mysticial what I like most about vim is that you can take things like this and macro the hell out of them
a lot of editing code is very repetitive
 
@orlp that's like * in Vim?
 
Ell
I can't do vim
Or emacs
 
@Rapptz I don't see how it's any less typing that gif. Note that I use the mouse and arrow keys.
 
Ell
Not properly at least
 
7:36 AM
@StackedCrooked except that it selects every argument, each match with a different cursor
 
I also have this webm
 
here's a tiny screencast I did for something I macro'd in VIM: 2fa1e05a75ecca5f9d1384536cc016eee0d8fcb4.googledrive.com/host/…
I intentionally did it slow to show what I was doing, in reality I'd do it much faster
(my fingers never left the keyboard there)
 
I hope this stupid thing comes around November 10th
 
If you want to rename Foo to Bar with the refactoring tool but the IDE doesn't find all matches then it often sometimes helps to create a dummy typedef int Foo; and then rename that one to Bar.
 
lol what
 
7:50 AM
@StackedCrooked I don't even use the refactoring tool in VS. For me either find/replace, or compile and run down the error list is easiest. The former works well because my names are usually unique. The latter is the fall back and is still fast because of double-click/CTRL-V.
That said, it works for me because I'm a mouse person.
 
 
Im So Meta Even This Acronym
 
8:12 AM
lol
new call of duty is out
60$
comes with 50$ of 0-day DLC
 
huh. latest VS 14 CTP update compiles boost without problem! And so far it hasn't barfed or ICEd with any template stuff I've thrown at it (but I'm sure I'm just not trying hard enough @R.MartinhoFernandes :p)
 
8:28 AM
The new CoD looks the nicest graphically thus far.
It isn't shades of grey/brown/green.
 
That time you accidentally click on a 1 GB file in WinSCP and it yells at you, locks up your computer and there's nothing you can do to halt the op...
Rpi is more powerful than I thought though. It's awesome. Overclocked it to 950 MHz, dumped 5GB of files on it for my research, in the process of installing all of the astronomy libs on it. Can't wait to see what else it can do
 
8:41 AM
You guys do some cool things
 
Occasionally I make this mistake if (!status == Status::Stopped) (should have been !=)
 
morning pips
¬_¬ I really need to sort out this logging thing in these tests. It keeps pointing out that the logging service thing is not running.
yes, it's a very good system™.
 
8:58 AM
@orlp ... Sucks
@Rapptz 50 shades :)
good mronings
> WinSCP
'nuff said
 
@sehe morning
 
I was asked to teach my students about the von Neumann architecture today. I'm gonna show them this:
Of course I'm not gonna show them BASIC, but 6502 assembly mostly.
 
9:15 AM
TIL that Rust won't have exceptions
 
Is that good or bad?
 
I actually kinda like it
and then again not
I don't know
To be fair generally exceptions aren't really useful
but in return Rust does have a lot of Optional values you have to open
 
@FredOverflow it's basically everything these days isn't it?
 
@FredOverflow it's bad.
 
@Abyx different for sure, may not be bad though. Probably is.
 
9:24 AM
@thecoshman Yes, although that may change someday with parallel architectures.
@Abyx I'm not too hot for exceptions.
Is Rust's type system powerful enough for Monads? Then you can simulate exceptions with Monads.
Although true exceptions would probably be a lot more efficient.
 
AFAIK Rust's metaprogramming is quite weak.
To make up for it it has macros
 
Hygienic?
 
?
 
Hygienic macros like LISP or terrible text-processing macros like C?
 
it's not text processing
you directly edit the AST or something
I haven't delved too deep into it
 
9:27 AM
@FredOverflow That and ram is really cheap... Von Neumon allows the ram to swap between being for instructions and being for program state. These days, maybe it's better, if we take advantage of it, to have a few gigs for programs to be loaded from and another few gigs for them to write to. Like you say, with parallel architectures, why not have a multiple ram controllers, 2 per 'thread', one for instructions, one for state.
 
welp without exceptions you have to write a lot of error-handling boilerplate
 
@Abyx that's the thing, in Rust that all happens semi-automatically
 
@orlp how?
 
@Abyx basically everything returns Optional types that can contain an error
@Abyx then if you don't wanna bother with handling errors you can just abort on error with the fail! macro
if you do wanna bother handling the error you can just do so
 
lolwut? I don't wanna abort the whole process or thread
 
9:30 AM
well that's what happens with exceptions in C++ too
unless you catch them
 
nope, in C++ I can catch it
 
catching = writing error handling code
 
and in Rust you can't.
 
I just told you
1 min ago, by orlp
if you do wanna bother handling the error you can just do so
 
ugh
do you see the difference between "single catch" and many?
 
9:32 AM
"handling an error" can mean passing it up one layer
by returning an error yourself
 
and btw, that fail! thing - does it allow you to catch error?
 
@orlp Sounds like Scala macros.
@thecoshman Also, if you seperate code and data memories, then the problem of code injection via buffer overflows disappears overnight.
 
@Abyx I confused things
@Abyx fail! is basically abort() with proper stack unwinding
try! is the lazy mans error checking
 
Has anyone worked with Atollic Studio?
 
9:36 AM
@Abyx basically the entire language/library design is built around making explicit error handling pain and boilerplate-free
it's a different way of doing things, and I can't say whether it's good or bad unless I use it for at least like half a year lol
 
@orlp how do you write this code in Rust - for (auto x : y) { try { f(g(h(x))); } catch (exception& e) { log.error(e); } }
 
@TonyTheLion Okay, I was having a weak day... Sometimes us polars get lonely
 
I'm no Rust expert, or even an intermediate, but I think it would look something along the lines of try!(f(try!(g(try!(h(x))))))
 
@orlp I don't see how it can work with different error types
 
@TonyTheLion Wow by the way. That's pretty beautiful footage
 
9:41 AM
@sehe Yea :)
 
@Abyx what do you need different error types for?
 
lolwut?
 
To decorate the cake with?
 
they only make sense in a try-catch world
 
oh I see...
 
Xeo
9:42 AM
crazy
 
black holes are indeed crazy
@Abyx however, you can have error types
@Abyx as long as it fits the Error interface
@Abyx there is one thing that exceptions can do that Rust can't
@Abyx and that's trickling exceptions through some intermediate function that never even knows about it into something that called it
@Abyx but that's really rarely useful
 
@FredOverflow what? you have to wait all night for that to happen?
Code injection could still be a problem, say if you are loading a file to 'working memory' and then load it as a dynamic code module into 'instruction memory'. But then, loading code is something to be careful with anyway.
@TonyTheLion eating?
 
@Xeo Looks like God's power switch.
 
@orlp You really need to plink more
 
@sehe why do people care so much if I click on an arrow before every message?
@sehe I do it if there's ambiguity or a long gap between messages but otherwise I don't really see the point
 
9:53 AM
>_<
 
@orlp It's best to use foam cleanser.
 
@orlp That's not the point
 
@orlp it allows you too see the flow of conversation easier. But that is not what he was referring to; you plinked Abyx five times in a row for no good reason.
 
oh
 
thanks pirate
 
9:54 AM
was that sarcasm?
please people
I can't detect sarcasm through written english text
 
engage brains :)
 
I assumed plinking = clicking the arrow
 
You don't start every sentence with "Hey you there, want a cup of tea?" Hey you there, would you like sugar in it" "Hey you there, it will be a few minutes, kettles just on" "Hey you there, would you like a bicky with that too?"
 
user1804599
4
Q: Is there a way to rename "Remaining" to "Apple Juice Remaining"?

StormeHawkeOn a MacBook Pro, is there a way to change the text in the battery life drop down? Specifically, where it says "X:XX Remaining" I want it to say "X:XX of Apple Juice Remaining" Why? Because a good pun is its own reword. Yes, this is a serious question. Yes, I tried googling first :) Running...

 
user1804599
lololol
 
9:56 AM
@orlp no, it's that god awful noise from Satan's arse that some inbred developer thought was a good idea.
 
@thecoshman I have it turned off
didn't realize some people kept that annoying ass shit on
 
@orlp Of course, but apparently it likes to remind you every so often by turning it self back on.
you still get the counter bumping up, which can be ass annoying when every message is yet another plink.
 

« first day (1481 days earlier)      last day (3467 days later) »