« first day (820 days earlier)      last day (4142 days later) » 

12:01 AM
hmm... ...only around 70wpm for me
 
I learned how to make tacos from him, @R.MartinhoFernandes :)
 
> Does this apply to green teas as well?
 
Hmm, not sure
 
This is one of the rare cases where I absolutely do not adhere with the humor
Wasting food is bad and that guy should feel bad
 
12:05 AM
if we only spent a carton of milk for each million of people to be entertained, it'd be pretty damn cheap
 
By that logic killing someone for the entertainment of billions would be pretty damn cheap too
 
By your own flawed logic, may be, idk.
 
Oh, well. Carry on being a little privileged idiot then. For my entertainment. Idk.
 
@R.MartinhoFernandes Dafuq is wrong with that guy.
basically everything he ever does is break eggs
the bread defrost one, I was like, "Cool, he's gonna set the bread on fire!". Nope, just more egg breaking.
 
@DeadMG And spill milk all over the table/bathroom.
 
12:10 AM
@R.MartinhoFernandes Far from just milk.
 
Ell
Hi guys
 
@NolwennLeGuen You're off by a few orders of magnitude. The value of a human life has been estimated as ~10 million USD, compared to a few dollars for milk. So you'd have to entertain a few trillion to be of the same damn cheapness.
 
Ell
Do any of you have a problem with power->micro USB in general?
none of mine seem to work reliably
 
> how much money do you spend on cleaning supplies?
@DeadMG Guy's just bananas.
 
@Ell You mean like a phone-charging adapter?
 
Ell
12:15 AM
Yeah
I have an Asus, a HTC and a generic one and none of them work reliably :o
Maybe its my tablet
 
0
Q: Javascript form validation, too many if statements?

MikeI have a form with five elements, firstName, lastName, username, password and passwordConfirmation function validateRegistrationForm(firstName, lastName, username, password, passwordConfirmation) { formReset(); //alert("validateRegistrationForm() has been called"); var firstName = firstName; //...

I'd like to reply something like "this is already pretty damn optimal"
 
@Mechanicalsnail LOL
 
I just got wrecked by that Zoltan ship.
 
Ell
Charger, y u no charge?
 
@Ell first, you need to define charge :)
 
12:26 AM
Well, night
 
Jan 5 at 10:56, by Ell
Hmm. Can anyone suggest a way to define charge?
 
Ell
Heh :P
 
@sehe #define charge
 
@Ell A good memory for useless things ...
 
^ confirmed
 
12:27 AM
Hehe.
35 mins ago, by Nolwenn Le Guen
usopro.jpg
 
@sehe About 30Hz I go down.
 
If it is accurate I drop at ~50 Hz
 
@DeadMG Me too, around that same area. Can't really turn the volume up though. And I don't have woofers. I'm sure otherwise... because my amplifier is THX certified and the PC is attached with optical cable
@JohanLarsson Ew. Small speakers
@JohanLarsson Yeah this is reasonably accurate
 
@sehe yeah small by computer sounds good though, you into hifi?
 
user142019
Something went wrong here
Internal server error
Everything has stopped
 
user142019
12:31 AM
Happstack is funny.
 
-1
Q: Arrays of strings with pointers

UnderDogIn the following code: int main() { char names[2][11] = {"Manchester","Party"}; char (*jk)[11]; jk = names; // LINE 1 char gaming[10] = {"Jetking"}; char (*po)[10]; po = &gaming; // LINE 2 cout<<"PO is "<<*po; Line 2 requ...

 
~55Hz
Anyway. Off to bed!
 
@sehe With my headphones I can hear it down till 3Hz. Are you sure that's accurate?
 
user142019
Are you sure your headphones are accurate? :P
 
@R.MartinhoFernandes I'm not saying your hardware rendering is accurate. I was gauging the accuracy of the frequency displayed relative to the sound signal heard
@JohanLarsson Yup. But I don't care much about computer noises
@GigaBass Rather nice site. 'real life' enough. Me with my (absent) typing system did 66 wpm on the first two samples (avg). That is a reprieve. It's certainly not very fast, but I always do very badly on the 'old fashioned' proper typing tests with random letter patterns
 
12:42 AM
@sehe What is wrong with computers? Have you tried/heard about this btw?
 
@JohanLarsson They make irrelevant noises. I have other players for media
@JohanLarsson Haven't heard about that. I use Edirol UA-25
 
@sehe ok, might be similar, same ugly studio look so it is probably good
I've been thinking about upgrading speakers & amp but am pretty clueless
 
I think it's actually the Roland 'B' brand, so not top of the line
 
@sehe what is the rest of your stereo?
 
user142019
1:03 AM
Hmm.
 
@JohanLarsson It's an Onkyo receiver 7x100 Watt THX certified
> What’s next, claiming that AdBlock is inspecting and subverting Internet traffic, and hence a crime under the Wiretap Act? -- here
 
anything thx certified is going to have amazing S/N and amazing low frequency performance
 
@StackedCrooked what's up with Mashiba's sister? She's been to all those fights and she >still< doesn't know it's Ippo that's crushing her brother's face in? LoLoL!
 
@doug65536 These days, THX certified is getting pretty common. I have ogled 'standard' desktops that come with THX sounds cards. However, my setup is >10 years old and that was pretty rare back then
@kfmfe04 A hippo will crush a face anyday. It just massively outweighs the odds
 
@sehe rofl - I was referring to Hajime no Ippo - an Anime StackedCrooked told me to watch... ...but I agree, a hippo would also crush her brother's face in
and so would a 10ton white polar bear
 
1:12 AM
I thought you were. However, for lack of context, I thought I'd just make a little fun
 
yes, sound cards commonly have amazing signal to noise ratios now. that's the main thing, power supply noise. todays motherboards have massive overkill power filtering on sound card for THX cert
it's trivial (today) to generate a really really good line-level audio signal
 
But then we spoil it all with amplification :)
 
yep lol
 
user142019
I'm going to write a distributed bug tracker.
 
that's where they start shoveling tradeoffs into it
 
1:17 AM
@Zoidberg wasn't hexapoda distributed?
 
user142019
No, all the rewrites were centralized.
 
@doug65536 and with some good reason
@Zoidberg that sucks.
 
I remember being able to hear motherboard crosstalk noise through my monitor speaker. You could hear the distinctive sector read loop noise pattern on commodore 128D
 
user142019
I think I'm going with a Git-like model.
 
user142019
Multiple remotes, multiple copies of the bug DB, clone/pull/push.
 
1:21 AM
@doug65536 is not the jitter a problem? I don't even know what it sounds like tbh but DAC's are pretty hot when reading hifi forums
 
user142019
And of course, comments.
 
user142019
On pull, you also get notified of any comments on your reports or reports you're watching.
 
well, if you run them at 96KHz or higher sampling frequency and mix in 24-bit format, the noise gets pushed into very very high frequencies. I'm no elecronics engineer though
you can easily filter those ridiculously high frequencies, and algorithmically compensate for any non-linearities that you find when testing the design. You end up with an excellent signal
 
@doug65536 from what I have read you want a clock that is not the cpu, but maybe the guy who wrote it was the guy selling a dac
 
@doug65536 yup me too, on my current PC as well, which is partly why I have the external sound card
 
user142019
1:26 AM
@sehe wat
 
lulz
 
user142019
klootzakz
 
you're welcome. It's public domain
 
user142019
A bug with its legs taped together with red and blue ducttape?
 
Naw. It's legs broken. To make it distributed. And some colour added.
 
user142019
1:27 AM
@sehe hey hey hey it's a derived work from something I'm the copyright holder of!
 
user142019
You can't just release it in the public domain. :P
 
user142019
Distributed bug tracker: written in Erlang and runs across multiple servers.
 
user142019
And it's web scale.
 
@Zoidberg Not really. I created this from scratch. And you didn't register a trademark nor a brand. You fail.
 
user142019
:P
 
user142019
1:30 AM
$ hxp init
$ hxp new
$ hxp remote add origin hxp@hexapodahub.com:daknok/hexapoda.hxp
$ hxp push -u origin
 
user142019
Workflow. :P
 
make it a git extension then
 
user142019
@sehe Okay, okay hxp@hexapodahub.com:daknok/hexapoda.git. git extension.
 
@Zoidberg That sounds rather silly.
 
@JohanLarsson no matter how perfect we make an audio device, audiophiles will never be happy with it
 
1:32 AM
robot
 
they want ∞ S/N
 
user142019
Who doesn't?
 
it occurs to me that the interface I have proposed for my encoded_string is vastly more amenable to performant COW than std::string.
 
lol
 
Most of the time I just want signal. Any signal.
 
1:33 AM
"Oh, this tool has a bug. Let's report it." ... "Wait, I need to install this thing and take n zillion steps." ... "Meh, let's go shopping".
 
user142019
I don't want signals. Signals are terrible.
 
user142019
Let me just use Mach messages already.
 
@DeadMG Would it perform reliably and well under concurrent programs?
 
ya but signals are great when you are testing an FFT you wrote
 
@Zoidberg :0
 
1:33 AM
@sehe I actually think that it might.
 
@DeadMG So, you don't use any locks, while keeping it thread safe? Sounds interesting
 
unlike std::string, there is no indexing operator, and the operator* is read-only access
in fact, there are very few ways to mutate the string
 
user142019
You can implement a string as a lock-free, atomic queue of characters. Not that it's a good idea. :P
 
@DeadMG That's a good start
 
that should keep the false positive rate much, much lower than std::string, where virtually every access could be a write.
 
1:36 AM
@doug65536 that is true, I read a discussion where they discussed if using RAID would hurt sound quality. My estimate is that 50% of the involved were serious :)
 
@JohanLarsson lol. That's rather extreme. Allthough, I do have a fetish for silent computers. And I mean silent
 
user142019
@R.MartinhoFernandes you only need to init and add remote once.
 
@Zoidberg So what?
 
user142019
That's probably even less effort than with most other bug trackers.
 
1:37 AM
@JohanLarsson lol. tell them to underclock and undervolt their CPU's for reduced switching noise and EFI
 
@Zoidberg not with bugseverywhere
 
EMI*
 
@doug65536 tell them to buy a piano and learn how to play.
(up-arrow to edit)
 
ya I know, too lazy this time
thx though
 
:)
I'm going to hit the sack. i've got a headache burgeoning
 
1:42 AM
@sehe I have a close to ideal setup for that, computer in another room, just keyboard & screens where I use it
 
@JohanLarsson I just have fanless computers. Works a treat
Only that day where you find that your new Samsung monitor has a buzz unless to set the brightness at precisely the right value... I was almost going to return it :0
 
ssd I assume? hdd's sounds quite a lot
 
@JohanLarsson ssd obviously
 
I had that with a Samsung monitor actually, it failed after a couple of months
 
mine is still going strong after about 4 years
 
1:46 AM
30"?
 
@JohanLarsson nah 23" (SyncMaster 2343BW) awesome resolution: 2048x1152 (which is hard to come by these days)
I want to replace my other monitor but keep finding that 'Full HD' (lol...) is about what you can realistically get these days.
So much for the HD TV revolution: it just means the end of decent computer monitor resolutions
 
Hey
all
 
ah a notepad! A wonder you didn't post a BOM first :)
 
can anyone point me to a way to learn c overnight
i have to take a course tommorow
 
1:50 AM
@Cygwinnian good luck. On a Sunday as well?
 
yup
:(
and c is very confusing
its whack
there are no objects :(
 
Well, I know only of a book that teaches C++ in 10 minutes. But C? That's gonna be tough
@Cygwinnian There are int x = 42; -- there, an object
 
@sehe I got the cheap Dell 30" after Samsung it works ok. 30" is a must for coding imo
 
0
Q: LNK2001 Unresolved external array,I can't manage to find the cause of this?

BogomilI've been getting a linker error in my C++ project for the last 2 days that I can't seem to fix, the error is: error LNK2001: unresolved external symbol "struct Engine::ThreadPayLoad * payLoad" (?payLoad@@3PAUThreadPayLoad@Engine@@A) C:\Users\Blight\Desktop\Engine\Engine\RendererDX11.obj It's ...

 
@JohanLarsson what's the resolution on the dell? (linky to specs?)
 
1:52 AM
@sehe 2560x1600
 
@JohanLarsson I guess that'd work on 30" - linky? Is it still being made?
Oh wait
That's $1000
 
@sehe I did not find model number on it but it looks like the one, guess it is still being made
 
@doug65536 Yes, boost::array was one of many.
 
@sehe You have that? Man you,re fancy...
I have one of those: newegg.ca/Product/…
 
@Borgleader I most certainly don't
13 mins ago, by sehe
@JohanLarsson nah 23" (SyncMaster 2343BW) awesome resolution: 2048x1152 (which is hard to come by these days)
 
2:01 AM
It would suck that you can brag with a 30" monitor ..with a Dell logo on it.
 
user142019
Damn.
 
@StackedCrooked My thought too. I'm not paying 1000 anytime soon
 
user142019
I want a type trait that tells me whether a type is an Objective-C class.
 
@Zoidberg It's possible
 
user142019
@StackedCrooked How?
 
user142019
2:02 AM
The C++ standard library doesn't have such a thing.
 
@Zoidberg It's called std::gtfo<T>::value
@Zoidberg amazing
 
Don't all objectiv c classes have certain methods or properties in common?
You can craft a type trait with SFINAE.
 
user142019
@StackedCrooked Nope.
 
user142019
Well wait.
 
user142019
They are all convertible to id.
 
2:04 AM
SFINAE? as in Some Fucking Idiom Noone Actually Employs?
6
 
@kfmfe04 Mashiba was a hell of an opponent though :)
@Borgleader Sorry I'll never do it agin.
 
@StackedCrooked lol I just tried to make a funny =/
 
Sorry For Inadveredly Nuking Any Eligibility.
Which doesn't make sense unfortunately.
 
i hate my life
:(
Hey @Andrew
hows it going?
 
user142019
You're not alone.
 
user142019
2:07 AM
I also hate your life.
 
You're surrounded by suckers lol
 
lol
 
user142019
You're not alone.
 
user142019
I also hate your life.
 
user142019
You know.
 
user142019
2:08 AM
@StackedCrooked Thanks.
 
user142019
Types that have a member of type id named isa, which is at offset 0 are Objective-C class types.
 
user142019
So I can use SFINAE.
 
@Zoidberg Is a user defined type declared in C++, but having a id isa member also compatible with ObjC/considered an ObjC class?
 
user142019
@sehe yup.
 
So off you go, on your merry way, armed with offsetof and some types of failsafes :)
 
user142019
2:13 AM
Wait. Damn.
 
@sehe offsetof is UB on non-standard-layout classes.
I think.
 
@R.MartinhoFernandes that's part of the failsafes...
I was being a bit sarcastic too:
11 mins ago, by sehe
@Zoidberg It's called std::gtfo<T>::value
 
I did know that. My point is "that isn't trivial"(/"why do you bother"?)
 
user142019
isa must be of type Class, not id. :P
 
user142019
2:15 AM
Objective-C classes are trivial, I think.
 
So, why is detecting them not? Perhaps they're too trivial
 
@sehe He is so young. He can still afford to blow all cannons on a squirrel.
 
Anyways, I reckon that if offsetof is UB for non-stdlayout types, then perhaps the 'at offset 0' isn't so hard or ObjC classes are always stdlayout (possible for all I know but unlikely)
 
What is a non-standard-layout-class?
 
user142019
One for which std::is_standard_layout<T>::value == false. :^)
 
user142019
2:18 AM
Damn. I need an Objective-C runtime library. :<
 
Oh, it can't reliably determine what the offset will be at runtime.
I would guess.
Although, if it can read from the members then it should now the offsets anyway.
 
user142019
Fuck.
 
user142019
#include <iostream>
#include <type_traits>

@interface Foo
@end

@implementation Foo
@end

int main() {
    std::cout << std::is_standard_layout<Foo>::value << '\n';
}
 
user142019
Output is 0. :'(
 
user142019
Oh, I know.
 
user142019
2:22 AM
I can just use std::is_convertible<T*, id>::value. :P
 
user142019
And if you use a class that defines operator id(), well... fuck you.
 
question
 
user142019
I could also use SFINAE and decltype([T class]) to check whether it responds to Objective-C messages. That may be a better idea.
 
i and trying to go throught my vector using size_t
any idea how i can do that?
 
user142019
You mean iteration?
 
2:26 AM
i know how to do with iteration
but i am trying to understand and use std::size_t
 
He wants thought.
 
can't one want to breify example to me?
 
user142019
for (std::size_t i = 0; i < vec.size(); ++i)?
 
user142019
But seriously, use for (auto& x : xs).
 
2:27 AM
@RyanFung You should not use std::size_t but std::vector<T>::size_type instead.
Technically.
 
what is size_t
isn't that just int?
 
user142019
No.
 
i see you increment i in size_t i inside the for loop
 
int is signed 32-bit. size_t is most likely 64-bit unsigned. (on 64-bit platforms that is)
 
so i was thinking whether or not it is just a int
 
user142019
2:28 AM
@RyanFung See here.
 
o...so it;s like an address
 
user142019
No.
 
size_t is unsigned int iirc
 
@@
 
size_t is an unsigned 64-bit integer.
 
user142019
2:29 AM
It's a type that can hold the size of any type.
 
user142019
@Borgleader no.
 
(on 64-bit platformas, that is)
 
user142019
On my machine, std::size_t is unsigned long (long?).
 
On my machine it fits your mom.
@Zoidberg Most likely unsigned long.
 
user142019
assert(sizeof(yo_momma) == 0); // warning: expression overflows
 
2:30 AM
unsigned int __w64
 
@Zoidberg during macro expansion
yo_momma breaks expands macro expansion
because they can't expand when she's there.
 
user142019
lol
 
lol
 
user142019
CoffeeScript-like language that compiles to C++.
 
user142019
firstHundredOddNumbers = (x * 2 - 1 for x in [1..100])
 
2:34 AM
python-esque
 
user142019
// compiles to
auto firstHundredOddNumbers = [&] {
    std::vector<int> _xs;
    for (int x = 1; x <= 100; ++x) xs.push_back(x * 2 - 1);
    return _xs;
}();
 
Very good!
 
@Zoidberg auto f100odd = boost::irange(1,101) | filtered(arg1 % 2 == 1);
 
user142019
I like f100odd = (x * 2 - 1 for x in [1..100]) better.
 
anyone how do i return a program status in my main?
just exit( a number here)?
 
2:36 AM
whoops auto f100odd = boost::irange(1,101) | transformed(arg1 * 2 - 1);
 
user142019
int main() {
    return 42;
}
 
@RyanFung lol
 
wow
i thought you can only return 0
lol
 
user142019
The implementation of the C runtime on my machine does this:
 
-.-;
 
2:37 AM
@RyanFung you mentioned "return"
 
in main
 
user142019
exit(main(argc, argv, env));
 
@RyanFung why would you have to return it then?
@Zoidberg UB. You can't call main inside your program
 
For professionalism!
 
return an error
 
2:37 AM
lol
 
@RyanFung but it can only be 0, you contradict yourself
 
user142019
@sehe Who cares. It's the implementation of crt0 on my machine.
 
user142019
@sehe You can in C.
 
if fail
 
user142019
And it's not UB in C++. It's impossible.
 
2:38 AM
@Zoidberg Verboten
 
Calling main. The fucker.
 
user142019
Implement division by three without using +, -, *, / or % operators.
 
user142019
Okay. x /= 3;.
 
user142019
People y no think outside the box.
 
New One Piece episode will soon be released. Meanwhile I can watch Fairy Tail.
@Zoidberg Oh you!
You broke the contest. Happy now?
 
2:42 AM
@RyanFung you can use the constants EXIT_SUCCESS or EXIT_FAILURE
 
user142019
l
 
m
ryanair
 
user142019
fifa
 
user142019
2:42 AM
uefa
 
user142019
ECMA
 
Are you guys retarded?
 
user142019
Yep.
 
Sometimes. Why?
 
Just checking
 
2:43 AM
Oh. Thanks
 
@Borgleader your checking behavior is slightly neurotic.
 
@Zoidberg banana football stigma etna
 
@StackedCrooked That's because I am slightly neurotic ;)
 
user142019
I'm going to do that CoffeeScript-like thing for C++ and I'll call it C++++.
 
but checking is a requirement for winning
according to the rules of chess
 
2:44 AM
non-neurotic checking
@sehe Oh you! You got me :)
 
@Zoidberg Nah. Call it ++C++
 
user142019
C+=1
 
@sehe Aiming for the ugliest name ever?
 
Whats a good way to parse mathematical equations? I can only think of Recursive Descent
 
user142019
Coffee++
 
2:45 AM
@StackedCrooked I'd call it UB++
 
user142019
TheLanguageOfCuntSuck++
 
user142019
@Borgleader Using a mathematical equation parser.
 
I was thinking of writing one
 
@Borgleader That depends on the grammar... Mathematical equations is hardly a welldefined notion
 
@sehe That doesn't sound so bad.
 
user142019
2:46 AM
As long as it's recursive descent and decent.
 
damn. I'm off
 
user142019
Goodbye.
 
Goodnight.
 
@sehe I wanna start with the simple (a + b)/c^d * e
 
Dec 30 '12 at 23:58, by sehe
Somniac hobbies and sack hitting: coming up
 
user142019
2:47 AM
Also, in C++++, unrestricted switches. :P
 
user142019
Anything with operator== will do.
 
user142019
Wait. Is there a proposal for unrestricted switches already?
 
@Zoidberg They already did that with C#.
 
user142019
Yeah, but C# is not C++.
 
@Zoidberg The # sign is
++
++
So C# == C++++.
 
user142019
2:59 AM
I know. Reddit.
 

« first day (820 days earlier)      last day (4142 days later) »