« first day (1815 days earlier)      last day (3125 days later) » 

12:00 AM
It's not rebindable
 
Ell
my system looks pretty bland atm
 
I know those songs.
 
like, how long would a non-default state usually persist?
 
@CatPlusPlus you suck McBain
 
Ell
not sure I'm a fan of the sans serif font
 
12:01 AM
Serifs are garbage
@jaggedSpire Uh, until someone decides they'd rather have defaults again?
@Lalaland That's a matter of adding confirmation
I'm getting rid of state changes as navigable buttons and I don't want to require mouse therefore it needs a key/button
 
@CatPlusPlus fair enough. I was more thinking about whether it was supposed to persist across instances, as custom settings for a program, or alterations to the basic state of something more like a form.
 
It's game settings
 
F12 would be nice.
 
I honestly think a state change is more than appropriate here.
 
Well it is a state change, I just don't want it as a button you navigate to with cursors
We're switching to a common button bar on the bottom of the screen
 
12:04 AM
That’s what I meant.
The thinking goes: if you have a default binding action, you have something to rebind things. Why can’t the reset to defaults thing go there?
 
I could make it rebindable, but that's really not very important
Menu buttons are always displayed when they do things
 
@CatPlusPlus uh I think you missed the point
 
@Ell woah... thats pretty cool. how many kernel recompiles did it take to get that? :P
 
F12 is semi-commonly used for saving things. F8 and F9 though seem a bit more program-dependent.
 
Where is F12 ever used for saving
 
Ell
12:09 AM
@Borgleader it's not mine unfortunately :(
 
@LucDanton If you don't mean that then I don't know what you mean
 
@CatPlusPlus MS Office stuff, I'm pretty sure. It's all document access. Of course, it does exactly the same thing as ctrl-s so I don't think many people use it
 
@CatPlusPlus What does it take for a user to rebind something?
 
Go to input settings, and rebind things; but menu profile buttons are not rebindable, and 'reset to defaults' contextual action applies also to non-input settings so I don't see why is that relevant
 
Oh I get it.
I thought you were asking for reseting just the bindings to defaults, not everything.
 
12:16 AM
Is it possible to rebind your mum?
 
I'm removing screen-specific actions like 'save' and 'cancel' and replacing them with a common action bar like this dl.dropboxusercontent.com/u/26824/ShareX/2015-10/…
Because it's a mess at the moment
Also UI work is boring
 
Ell
Oh man
okay I'll stop posting these now
but just look at that beauty
 
lol NetBeans
 
Ell
lol
 
@Ell The screensaver is p buttiful
 
Ell
12:18 AM
@ʎǝɹɟɟɟǝſ wallpaper? :)
 
Where are you getting them from
 
yeah, that
 
Ell
@CatPlusPlus reddit.com/r/unixporn
they are on /g/ also
 
lol Unix and posting Linux screenshots
 
What's funny?
 
Ell
12:20 AM
@CatPlusPlus yeah idk why it's called unix
there are OSX shots too
I think it should be r/nixporn
but nix sounds like an actual porn name kinda
 
@ʎǝɹɟɟɟǝſ Linux is not an Unix
 
Ell
nothing is an unix
 
OSX actually might be
 
Ell
I thought it was BSD related
> OS X (pronounced /ˌoʊ.ɛs ˈtɛn/;[11] originally Mac OS X) is a series of Unix-based graphical interface operating systems (OS) developed and marketed by Apple Inc.
 
BSD is an Unix fork
 
Ell
12:23 AM
Oh right
 
Linux is a unix-based OS
 
Ell
if os x is unix based I'm willing to say linux is too
 
No it's not
 
Ell
> Linux (pronounced Listeni/ˈlɪnəks/ lin-əks[4][5] or, less frequently, /ˈlaɪnəks/ lyn-əks[5][6]) is a Unix-like and mostly POSIX-compliant[7] computer operating system (OS) assembled under the model of free and open-source software development and distribution.
 
how do I pronounce Listeni
 
12:24 AM
You can't call something X-based when it has nothing to do with X code
 
Ell
okay fair enough
its unix-like
 
I'm so bored
Fuckin UIs
 
Get rekt with beer
 
And now Unity decided to render some shitty grid on top of everything
 
12:29 AM
@ElimGarak Is that what you are doing?
 
I am on Somersby, so getting rekt is unlikely. :P
 
You theoretically could though
It would probably get very expensive
 
Ell
@ElimGarak you're in the UK?
 
@Ell Nah, Croatia.
 
Ell
Oh
I thought you meant you were in Somersby, lincolnshire
 
12:43 AM
 
Ell
Oh you mean you are drinking it?
sorry I thought "on" was a typo :P
 
Flatmate refusing to refund deposit, how fucked am I/10
 
lol flatmates :D
 
Also PSA: it's monday
 
Ell
@GregorMcGregor Hmm why did you pay your deposit to your flatmate?
I thought it was the landlord you gave it to
 
12:44 AM
Monaday, @Bartek's favorite day
@Ell They do it like that in HK
(It's illegal to sublet btw :D)
 
Ell
@GregorMcGregor on what grounds is he refusing?
 
On the grounds of the sacred fuck you, overlooking screw you :D
 
@GregorMcGregor Put it in losses and/or go to court
 
livestream court session for the lounge's entertainment
 
If it's not some huge sum I'd just let go because not worth time and energy
 
12:48 AM
It's 1250 euros
@Ell No logic whatsoever
Oh well
 
Do you have a contract
 
Ell
@GregorMcGregor so he is just telling you "I want to keep it, sorry."
 
Anything that says you paid deposit money
 
@CatPlusPlus A written agreement but it has no legal value
 
If it's signed and says he should give you the money then it has value
 
12:51 AM
I'll try with the police
 
lol no it's not a criminal case
 
Then who
 
Civil court, breach of agreement
 
damn it, cat, we were so close to a swat call
 
If you want to consult then with a lawyer
Police will laugh at you and tell you to go away
At best
 
12:53 AM
don’t consult for 1250€ :v
 
Eh, legal advice is not THAT expensive
Well, at least it shouldn't, do ask for quota first :v
 
It looks like HK handles small claims, I’d start looking there.
 
Anyway your choices are file a lawsuit or forget about that money
 
Alternatively break everything in the flat
 
You gotta decide how much effort is 1000€ worth
 
12:56 AM
And soak it in extinguisher
 
Yes give them a good cause to sue you, good job
That'll surely not cost even more
And in the future maybe don't lease anything with random people you can't trust
 
Meh, what can he do. The flat is in his name and subletting is forbidden. "My subtenant broke things!". How are you going to sue for that
 
Ell
> You've earned the "Tumbleweed" badge (Asked a question with zero score, no answers, no comments, and low views for a week) for "Lightdm Won't Start in Test Mode With OpenRC"
:'(
 
You broke his things
That's destruction of private property
Whether you're legally a tenant or not doesn't matter
 
No I soaked them in extinguisher powder to prevent any potential fire
 
1:01 AM
People can tell if things were on fire or not
 
watch a few episodes of breaking bad and learn how to dispose of bodies then
 
Also are you 12
 
Ell
@ElimGarak they only have bad ways :P
 
avoid bath tubs :P
 
Ell
1:05 AM
hydrofluoric acid doesn't even eat through flesh that quick :L
 
I haven't had a chance to subject flesh to it :P
 
Ell
hmm
never mind
it seems that it does a lot :P
okay sleepy time
night folks
 
Having a C++ issue
Using cin to get a float, I need it greater than/equal to 0 and less than/equal to 0.15
Using while (interestRate < 0 || interestRate > 0.15) {}
When I enter 0.15, its returning true
So I did
cout << (interestRate < 0 ? "YES" : "NO") << endl;
cout << (interestRate > 0.15 ? "YES" : "NO") << endl;
cout << (0.15 > 0.15 ? "YES" : "NO") << endl;
I get NO, YES, NO?
 
This guy. ahahahahah. I'd star all of that.
 
1:18 AM
why star it?
:P
Why would this be reporting that 0.15 > 0.15 is true? Makes no sense
Ill have to do > 0.16 but thats annoying
 
According to you, the third line you get is NO.
 
It does, but from the number I get from cin (also 0.15, printed it out as well) it says YES
 
Oh, right.
 
so it has a problem with the float value I get passed in, but if I just do it from code it works?
¯_(ツ)_/¯ never seen this before ever
 
printed value != actual bits
 
1:20 AM
Are you dealing with actual strings or floats?
 
floats
 
Read some IEEE754 first :P Comparing floats requires special attention.
 
`float interestRate = -1;
while (interestRate < 0 || interestRate > 0.16) {
cout << "Interest Rate (0-0.15): ";
cin >> interestRate;
}`
Is the exact code
 
sigh not this question again
 
I moved it up to 0.16 in that, but with 0.15 it doesn't work
 
1:22 AM
What people here are saying, is that floats are more accurate than you think.
 
oh... well that sucks
Never had this issue before comparing floats in any other language (that I noticed)
 
it doesn't matter that both numbers will display as .15 with two significant digits, there are numerous float values that display as .15 with two significant digits.
 
0.15 is not a float
 
Poop floats
 
114
A: Floating point comparison

Gregor McGregorint main() { float a = 0.7, b = 0.5; // These are FLOATS if(a < .7) // This is a DOUBLE { if(b < .5) // This is a DOUBLE printf("2 are right"); else printf("1 is right"); } else printf("0 are right"); } Floats get pro...

 
1:23 AM
oh right, it's a double
 
I thought doubles were longer and more accurate?
 
Regardless, this happens.
 
floating point numbers, yo
 
Read IEEE 754. Then read even more stuff.
 
You know what else is longer and more accurate
 
1:24 AM
Oh.. I changed it to a double and it worked first try
 
Is it even available for free anywhere
 
that is... strange
 
afair it's one of those bajillion€ standards
 
Just read my answer for fuck sake
And upvote it
 
1:26 AM
done
 
Upvote all of them just in case
 
Thank you all
 
@GregorMcGregor downvoted
 
@Maximilian what it means is that the code that converts a string to a float doesn't always produce exactly the same result as the code converting a the closest representation to 0.15 available to a double into a float.
 
@LucDanton lol
I'll call the rep police
2 rep is no small claim
 
1:27 AM
I’ll call voting ring on your ass!
 
what's your calling convention for the voting ring?
 
+49
 
Ugh I moved files in VS and of course now Unity references broke
 
dawwww
 
1:32 AM
@Borgleader chokes
 
1:45 AM
Delicious, delicious cuteness.
Seeping into your SOUL
 
is there a way to get the number of character's in a number? similar to string.size(), in simple terms the number of "digits" in a number?
 
HMM how do I get the length of a string representation of something HMM
 
@CMS_95 float or int?
 
@CMS_95 What base? What numeral system?
 
1:49 AM
@Borgleader double
 
length after turning it into a string like cat said
 
other than to_string(ze_float).length() nothing that i know of
 
May 23 '12 at 18:38, by Cicada
Have you tried logarithms?
the original
 
@Borgleader why would you do anything else anyway
I'd turn to string then do length even if it were integer lol
 
omg 2012
 
1:51 AM
@AlexM. But you’d be missing on all the cool side conditions that can make a math-based implementation broken!
 
@AlexM. see luc's message
 
what about it
 
Turning numbers into length of their digits is critical to my business
 
49
A: How can I count the digits in an integer without a string cast?

Nicholas MancusoThis should do it: int length = (number ==0) ? 1 : (int)Math.log10(number) + 1;

like hell I'm going to remember that .ToString().Length all the way
 
It's not a very useful thing to do anyway
 
1:55 AM
ez life gotta sleep now
 
@AlexM. nn
 
Nighty night.
 
If you want that then you probably want the string repr anyway
 
@LucDanton yeah because the length of "1.001e-030" is such a useful number :D
 
Not much less than the length of the expanded thing
 
2:04 AM
so I managed to convert the number to string and get the length() of it but do I need to convert it back or will it still be a number in its base form?
 
You need to convert it back
Otherwise it will remain a string
Computers are not magic
 
well I set the string to equal the number so the numbers variable has not changed .
 
impossible
numbers live on the stack while strings live on the heap
what you are saying is utterly wrong
 
What
P strong :ironicat: there
 
Psyduck.
 
2:13 AM
ccon = string:: cost = number :: ccon = cost;
cost = ccon.length();
 
c con
 
"cost converted"
 
makes sense
 
I may need to change the second one though
it seems to throw a warning saying convert from double to char?
 
2:19 AM
you need to force the cast
it's a known compiler bug
 
2:34 AM
what is the wildcard character?
 
thank you!
 
your welcome
 
it says $ is undefined? should it be used without " " or with " "?
 
what version of javascript is it?
 
2:38 AM
I am talking about c++ ...
 
What happened.
Looks like all the regulars died.
 
@Nooble no
 
@jaggedSpire Hi.
 
@Nooble hi
I am back from NY
 
2:43 AM
@CMS_95 std::rand huehuehue
@jaggedSpire Sad.
 
@Nooble int rand(){return 4;}
 
I need to change that annoying output " $3.9 " to "$3.90" but how to do it?
 
@Nooble I had a good time
 
@jaggedSpire Works too.
@jaggedSpire But you weren't even in the good part.
 
@Nooble It still feels like October. :)
real October, instead of this high of 29C nonsense
I mean, what?!?
last year it only got down to 0C on the 9th of December. :(
 
2:48 AM
Cannot comprehend because not Freedom Units.
Cannot wait for July 2018.
 
@Nooble 29C -> 89F, 0C -> 32F
@Nooble why?
 
@jaggedSpire No more high school. Eternal July!
 
do you turn 18 then?
 
@CMS_95 multiply by ten
 
@jaggedSpire That too :)
 
2:49 AM
@GregorMcGregor you seem fun
 
I am the embodiment of fun
 
yes but how would I identify when it needs to do so?
 
you count the number of spaces at the beginning of the string, of course
 
@GregorMcGregor genius
 
> U can facetank anything lupi throws at you with a druid in team (everything besides the big aoe at phase2)
thanks anet
 
2:52 AM
I assume there is a context where that makes sense. I don't want to know it.
 
lupicunt
 
too much fun like this. :3
 
if I am understanding this correctly I need to count the number of characters after the decimal?
 
@VermillionAzure hi
 
2:53 AM
otoh only the big p2 blast is really a concern so I don't know how to exactly feel about it, pls advise
 
@Nooble lol wait you're 17?
 
@VermillionAzure I'm 15.
 
@Nooble Sooo are you graduating high school at 16?
 
@VermillionAzure cannot into math
 
2:54 AM
@VermillionAzure No I graduate at 18.
In 2018.
 
2018 is three years from now
 
I think I'm graduating in 2017
Hmmmmm....
 
@VermillionAzure You're 16?!
 
@Nooble I'm 17 actually
 
2:55 AM
@GregorMcGregor that doesn’t tell me how to feel regarding druids
@GregorMcGregor Now Ice Bow is nerfed too!
 
@VermillionAzure I see.
 
Aughhhh god all my friends are like gone
Midterms suck
 
Apparently, CSI Cyber was renewed for a second season. lol.
 
@GregorMcGregor Dynamic skill and reflex based combat system
 
exactly
 
3:02 AM
"My name is Avery Ryan, I'm a cyber psychologist."
ahahahahah
 
is a cyber degree in psychology similar to a theoretical degree in physics
 
Probably, also damn you... Now I feel like playing Fallout New Vegas, just to visit the guy with the theoretical degree in physics at the Poseidon solar array.
 
@GregorMcGregor ~11s pre-Ice Bow nerf, who needs Fiery Greatswords
perhaps more surprising, without reflect abuse—I guess it takes as much time to push him into the wall anyway
 
@ElimGarak Hahaha.
 
"I got a binary dump off the phone, but the data was misaligned, so that's going to take a while."
 
3:12 AM
Stop it.
 
3:30 AM
@ElimGarak lol. At least you won't crash.
 
@LucDanton 47s video, 12s intro
 
4:03 AM
@ElimGarak The correct name for a cyber psychologist would be Mannie O'Kelly-Davis.
 
it’s weird, I find revenant so-so but herald is pretty fun
 
4:23 AM
lol, they used the kinect to solve a murder ahahahah. This is so obnoxiously lame.
 
4:42 AM
It would be cool if two functions of the same name could have different return types, and the compiler would figure out which type applied.
 
...and if both of those types were implicitly convertible to the assigned type?
 
Error, just like arguments, and would require an explicit cast.
Just like arguments.
Also why am I still doing Linear Algebra at this hour. ;~;
 
@ThePhD fun?
 
That is... an opinion.
Wait
Why are YOU still up?
 
4:59 AM
o/
 
I randomly checked one-way tickets to Denver in the Christmas week, for no reason whatsoever other than to compare LH's Economy and Premium Economy prices; ...apparently in that particular time Premium Economy is 80% of the Economy ticket when buying directly with LH o.O
 
Denver the Last Dinosaur?
 
what
 
@ThePhD no more circadian rhythm alteration!
I am going to bed now though
 
Denver, the Last Dinosaur is an American-French cartoon for children originally released in 1988 by World Events Productions. It was nationally syndicated throughout the United States in 1988 with reruns airing until 1990. Episodes often focused on issues of conservation, ecology, and friendship. The show ran for two seasons, as the dinosaur boom that had followed The Land Before Time waned, causing viewership to drop. The series received a recommendation from the National Educational Association. == PlotEdit == The show revolves around the adventures of Denver, the last dinosaur - a Corythosaurus...
 
5:10 AM
@jaggedSpire Oh. Well, sleep well then.
 
I’d love to see a dinosaur boom
 
Its actually a remake of The Last of the Mohicans
 
5:30 AM
SUUUBSPAAAAACES.
Is a fucking HORRIBLE name, because it doesn't have to exactly be a sub space or a space that is contained within another space.
Rather, it's just the set of elements for which certain operations land in the exact same space.
A better name would have been contained space.
 
Don't worry modern mathematician prefer fun names like the spark of a matrix
probably all used perl
 
@ElimGarak genius
 
Hello.
 
5:47 AM
hi
 
@Rapptz You're up late.
Also hi.
 
Are you being sarcastic
lol
It's only 2 AM
 
That's, uh.
p. late, I guess
I 'unno.
 
Do you not know me anymore friend
I stay up til like 7 AM
 
5:53 AM
@ThePhD Rapptz is never down
he's got like nearly zero downtime
 
Well, yeah, but I thought you moved to morning shifts with your job?
Maybe I'm just imagining this. I probably am. It's late. I'm doing linear algebra. Forgive me.
 
@Rapptz who even does that
 
You do it too!
People just don't notice it because time zones.
But I'm onto your tricks Luc.
 
Can you guys think of a C++ std RAII wrapper other than unique/shared_ptr, lock_guard, unique/shared_lock, string, vector, i/o/fstream, and thread?
 
5:59 AM
lmao
what a list
 
yeah rip me
 
Uh. deque, and all the other collections too, I guess?
 

« first day (1815 days earlier)      last day (3125 days later) »