« first day (2323 days earlier)      last day (2621 days later) » 

12:06 AM
@Mikhail what the hell is that
 
@jaggedSpire :3 /cc @Morwenn @Ven @Xeo
 
12:33 AM
Does anyone know how to print A2 onto multiple A4 pages?
I need a tool to auto-split the content on A2 in A4 sizes
 
@Borgleader aww
 
@sehe Wait, what's the water fountain stuff
 
@набиячлэвэли I admit I had to google it for specifics. But it was exactly what I expected: google.nl/…
 
@sehe ah
so, as usual, apartheid
 
Oo paint does the splitting automatically
 
12:42 AM
@набиячлэвэли Segregation. Apartheid was Afrika.
 
@sehe But apartheid has more ring to it (and yes I know where it was because I had to google it to check my spelling)
 
Well. People like to confuse history a lot. Rebranding things "because it has more ring to it" may not be in the best interest of history right now.
 
Okay, "apartheidal thinking"
 
I anticipate a log of "History is fake news" the coming years. Up to and including a lot of "The holocaust didn't happen" and "Hitler wasn't an antisemite"
 
What do you mean the Hall of Cost wasn't built
 
12:45 AM
@набиячлэвэли Why not call it segregation? Because that's exactly what it is, was, and how the phenomenon was know at the time in the US
@набиячлэвэли It may have, but the gypsies never paid for it
 
@sehe cripes man that's just a memepun
@sehe dunno, probably because I like generalising things to Proper Nouns
In similar vein: "you pulled a hitler"
 
But the gypsies never paid! Look it up at the conservapedia
 
Creeps. Didn't mispredict the popularity of that tweet on Takei's thread. 52 likes and counting as far as I can tell.
 
@sehe Which one is "that tweet"
 
12:51 AM
@набиячлэвэли I didn't.
(inb4 nab's head explodes with sheer irony)
@набиячлэвэли The one I posted
 
@sehe In a world of irony a cynical man is king, and baby you should see me in a crown
 
I believe you
 
@sehe 37 likes and no RTs, pretty bloody poor if you ask me
 
Oh well. I don't think I've ever had this much of a response to anything I twote.
I saw it coming, because I think it was really to the point. But you know.
 
@sehe You're not hip with the kids, then, eh?
 
12:53 AM
Why would I be. Nah. Too much effort.
 
@sehe May I suggest this attitude then
 
But. Why must anybody be wrong? I can be boring without kids taking the blame
 
You mean you're alt-exciting
 
Gladly
 
@jaggedSpire bonus
 
12:58 AM
adsflhdsjsd
so soft and fluffy
 
@jaggedSpire bonus...er
 
I'd be lion if I said those weren't cute :3
 
1:23 AM
Hm, rdtsc and rdtscp seem to be slower than steady_clock and high_resolution_clock.
Not on Coliru, but they are when I test on my machine.
 
Are you on Windows?
 
rtdsc benchmark and steady_clock benchmark (Ignore the results. Coliru is bad for benchmarking.)
@Mikhail I tested in OS X and Linux.
 
Just as a note, I always heard that clock_gettime(CLOCK_MONOTONIC_RAW) (through HPET) was a more modern way to get time on Linux.
 
Yeah, that's what system_clock maps to.
Oh, wait.
No system_clock maps to clock_gettime(CLOCK_REALTIME ..).
@Mikhail That's steady_clock. It's good for measuring durations. But you can't use it to get the current time.
But in practice the steady_clock is what I tend to need most.
 
Another fun line:
std::chrono::microseconds timestamp()
{
auto microseconds = std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::system_clock::now().time_since_epoch());
return microseconds;
}
 
1:36 AM
I've written this type of code a lot. However, it's actually bad because it reduces type safety. Better to keep working with the system_clock::time_point object.
Howard's recent talk on this was pretty enlightening.
 
Oh god, its over an hour, I don't have the std::chrono for that :-(
 
It's an investment :)
 
What I personally do is keep two clocks, a reference pair of { system_clock, high_resolution_clock } and then compute the delta with high_resolution_clock
 
What do you guys use your clocks for? I typically use them to control the timing of things that move on my microsocpe...
 
Scheduling delayed tasks. Measuring network latency.
 
1:44 AM
So, for things like scheduling delayed tasks I've always had to use something OS specific, like Windows Multimedia Timers to get at the us scales.
 
@Mikhail Performance measurement and ordering of events across multiple processes
 
@Mikhail I'm currently using asio::io_service (which kinda sucks because then I need to convert from std::chrono::system_clock to boost::posix_time::ptime).
However, it's also possible to implement a threaded scheduler using a mutex and condition variable. The wait_until method is useful here.
 
boiling eggs, brewing tea
 
@Mikhail Dunno about windows but on Linux microsecond resolution seems standard.
No spam please.
 
@StackedCrooked what spam! how can I post code then?
 
1:53 AM
@StackedCrooked It isn't unless you elevate the PIC or similar. Things like TimeBeginPeriod(1)
 
@rockethon Read the rules first.
 
@StackedCrooked they say to post a link so I did
 
HPX is pretty cool.
 
@StackedCrooked not with asio::high_resolution_timer
 
2:06 AM
Ah. Interesting.
 
Anyhoops, it's a templated class anyways, so drop in whichever std::chrono clock you want
 
If Boost were a company, it's slogan would probably be "It's a templated class anyways".
 
2:25 AM
About right
 
"C++Next"
 
> Vault: […] This skill is now affected by quickness.
later
> Vault: Removed this ability’s interaction with quickness.
 
Whereas physics is math with the constraint of reality, engineering is physics with the constraint of money.
I have always known the first part but not the second ...
but after this, I kind of understand ...
why pay $45 when you can DIY for $4.5 and it pretty much serves the same purpose ...
 
2:40 AM
@Telkitty Good luck convincing string theorists that physics should be constrained by reality.
 
Except engineers have a ton of money
 
@JerryCoffin that's because humans live in a fish tank
just because we don't see it, that doesn't mean that it doesn't exist ...
@Mikhail you need to have higher standard
 
The paper sign will get wet and tear apart, its not the same thing as a real sign
 
@Telkitty How does living in a fish tank remove physicists willingness to grasp reality?
 
@Mikhail it's laminated
 
2:55 AM
I'll give it two days at most
Also laminated signs look like crap. Anyways, this is a great example of two things that are most certainly not equal.
 
@JerryCoffin Humans eyes are designed to perceive the most abundant wavelength on earth, so do human ears. Maybe human brains are designed to do the same - understanding the most common phenomenons on earth?
@Mikhail for my purpose, it's the same
 
Also human eyes miss quite a lot of the spectrum, see volker-quaschning.de/articles/fundamentals1/figure1.gif . It would be extremely useful for us to see other wavelengths, for example, many plants have clear visual signatures in the IR. But that isn't how evolution works. Also it would be great if my feet had built in roller skates.
 
I am not selling it, I am using it to notifying the passersby on one of the busiest roads in Australia that my house is for rent, and providing the contact method
 
@Telkitty But most of the common phenomena observed on earth have little apparent correspondence to anything the string theorists advocate.
 
3:30 AM
@Mikhail HOw are you?
 
Riding the caffeine train
 
@Mikhail if atmega operate at 1MHZ CRystal O its mean its speed is 1 million cycle per second for calculation NOt 16?
 
Its impossible to estimate throughput, as operations can take more than 1 clock cycle to complete. Typically the vendor will give you a throughput estimate.
 
@Mikhail I don't want to estimate. I just confuse.
Atmega meximum support 16MHZ but its set to 1MHZ. So its mean just saying its current speed is 1 million cycle i am correct?
 
Something like that
 
3:37 AM
@Mikhail if we need to increase 1MHZ to 16MHZ.
we need to use external oscillator i am correct?
 
I think in you also need to set some pins
 
understand.
But is that possible if not use external oscillator.
and can use speed 16MHZ?
 
So, most Arduino boards already run at 16Mhz. I think the mini goes at 8Mhz, mostly to save power.
 
but arduino uno have 8MHZ oscillator. Its run on 8MHZ.
and i try to find crystal oscillator in motherboard. but i cannot.
 
I mean, the R3 goes at 16Mhz. Its easier to spend $10 dollars than to fuck around with the oscillator.
 
3:40 AM
The things the internet has on record
 
processor speed 3GHZ. Internal speed maybe 1GHZ. So they must to use 3GHZ crystal?
@Mikhail Why atmega need external oscillator to reach speed 16MHZ?
 
That is a loaded question, for example Intel's Prescott used a double pumped adder which ran at 7.6 Ghz. There are many techniques to double a clock coming from the oscillator.
 
@Mikhail leave intel processor sorry i ask about that. Just tell me about relationship between atmega and crystal oscillator?
i got crazy study atmega datasheet from last 2 week.
 
Basically, buy an Arduino with the clock speed you want
 
@Mikhail that is a easy think to do. I just want to understand the concept.
 
3:48 AM
The external clock is not required for many uses of the chip, so its "optional".
 
so why need one?
@Mikhail thank you i read first.
 
@набиячлэвэли not shabby
 
How come C++ doesn't have standard string manipulation functions like Split() included in their libraries like most modern languages do?
 
stock response: because you didn't propose it :)
 
/ignore sehe
 
aw
That's a good question. Why does C not have it. I suppose C++ is not that general purpose, or people couldn't decide whether they wanted Java-style (Qt, anyone?) or lean views (string_ref anyone?)
C++ being C++, if the standards committee can't agree, they will let you choose. And that's how you end up with Boost String Algorithms
 
4:14 AM
@Mikhail you here?
 
/thought snap judgement is dumb
Nice to meet you too.
 
4:29 AM
The Lowest bug bounty reward I have ever seen lol
https://hackerone.com/reports/200503
 
@sehe I want to crack just cause 3 where would i start?
6
c++?
 
4:48 AM
I don't understand the implications of the Cloudflare leak
 
@Mikhail Thank god. I read it all.
just one line don't understand.
but 1/16th of 200 milliseconds. The delay results in a “frame rate” of 80 flashes per second
what does this mean?
 
They implemented the timeout for the LED blinking by figuring out how many clock cycles occupy 200ms of time. When they made the chip go from 1MHz to 16MHz the chip everything started running faster, and the light started blinking faster.
1Mhz the delay was 200ms, the blinked at 5 frames per second. At 16Mhz the same amount of clock time occupies 12.5ms, or 80 frames per second.
 
so how he calculate 80 flashes per second?
 
5*16 (its is sixteen times faster)
 
how you calculate that?
where you get this formula?
 
4:57 AM
The delay is 0.2 s seconds, so 1 cycle / 0.2 seconds = 5 cycles per second... Then they made it run 16 times faster.
 
and how you calculate 1MHZ was 5 frames per second?
@Mikhail you are genius thank you very much. I fully know about directui or duivision or mfc if you want any interface i can create for you free no money.
 
That is fine, I only use Qt :-)
 
i am at home nothing to do just study something.
duivision is very beautifull.
@Mikhai so processor speed is depend on clock speed correct?
 
It is exactly the clock speed, but modern CPUs can have more than one clock. Also there are methods to generate a faster clock speed from a slower oscillator.
 
@Mikhail your meaning clock speed and processor speed is same?
 
5:04 AM
Yes, but inside there might be a different clock speed, for different parts of the chip. For example, the adder on the Prescott chip is a famous example.
 
@Mikhail just general knowledge question. Atmega datasheet say maximum clock 16mhz. what if i try to set it too 24mhz what will happen?
 
your cat dies
 
@Mikhail MCU not work?
 
For Arduinos, most of the time the chip will run faster, other time stuff will get corrupt, in rare cases the chip might break.
 
@Mikhail Thank you.
@Mikhail do you have any email address?
 
5:10 AM
A fun project would be to see how fast you can push the chip. You might be able to sneak into a research lab and get their liquid nitrogen.
 
:) hahaha
@Mikhail if you don't mind any contact information?
@Mikhail if you don't mind any contact information?
 
Sorry, I use email for professional correspondence
 
@Mikhail anything for lower correspondence?
 
5:25 AM
this chat (maybe)
 
@Mikhail i don't have any friend intelligent friend.
@Mikhail always bother people on stackoverflow our try to find information on google.
 
I don't know if this is a valid question , i am just curious two days ago i posted "I want to development"
` here in chat asking for guidance that received 14 stars, why is it so interesting , it won me a batch though talkative.?
13
 
@Mikhail Its ok i just want your email if i have some question i can send you. if i cannot find answer. But its ok.
@Mikhail my email alexcerry900@gmail.com. Anytime.
 
 
2 hours later…
7:03 AM
lol this guy
 
7:27 AM
Looks like I missed the party
@SurajJain you still want to development?
 
7:59 AM
@ProblemSlover I want to develop . I by mistake wrote I want to development. And there are so many languages so i am getting confused
 
@SurajJain Don't look further, the stars come from that mistake
 
Oh, I Also wrote I Love C , I thought that would be one reason.
 
8:11 AM
@Borgleader oui
 
8:51 AM
So what do you guys think of the HDF libraries or formats?
 
@Mikhail WTF HDF?
 
ugh
 
@Mikhail There is some reasonable criticism, it seems.
 
No, actually the criticism is kinda bullshit. For example, complaining the format is too complicated when the HDF gives you free tools to read/write it...
 
8:55 AM
je suis bored.
 
@edition Get a job!
 
@wilx I'm trying.
 
@edition Try harder!
 
>>>I live in New Zealand,
RIP
 
@edition: Your nickname always reminds me of this song:
 
9:01 AM
@Mikhail people seem to like that. I dunno why.
nice place to live, I guess.
 
Why did New Zealand become independent?
 
@Mikhail false.
 
Did they get kicked out? Anyways, I'm confused on this point.
 
@Mikhail what? no. Do you mean the commonwealth?
 
I don't really get the Cloudflare leak. Since it's HTTPS I'd expect everything to be encrypted all the way to the user's machine.
And that data can only decrypted in the browser using the private key of the user.
 
9:09 AM
@wilx what dis?
@StackedCrooked people are bad
 
@thecoshman Men Without Hats. Do not even tell me you have not heard of them?! :)
 
@wilx I will not tell you that... but I'd be lying if I said I was familiar with them
oh, it's music from the decade the rest of the world tries to forget ever happened
 
@thecoshman 80s music is awesome, you heretic!
 
@wilx agreed.
 
9:33 AM
Hii
We are planning to use netbeans IDE in our project, i proposed using netbeans but my manager asked about the license to use it ..
As per the license terms :: This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means.
so is it ok to use netbeans in our company??
 
Yes this is the Netbeans License room
 
@KartikV Ask your company lawyer.
 
user2015064
Is it better I use spaces to indent code instead of tabs? Many places recommend using spaces instead of tabs.
 
@xersi Spaces!
First!
 
Depends, are you using a compiled or interpreted language?
 
user2015064
9:38 AM
I am using an IDE and tabs indent the code pretty well.
 
@xersi The most important is to be consistent.
 
Consistently use both.
Spaces on odd lines, tabs on even.
7
 
user2015064
Is there any way to convert the code full of tabs to spaces later on? Some places do not accept the code with tabs and I always use tabs.
 
user2015064
I means, if I change every tab to four spaces it means work and there is chance I might make mistakes.
 
Ven
that's why I don't indent my code.
You can't get indentation wrong if you don't indent.
 
9:45 AM
Hello fellow APL user.
 
Ven
I'm not your fellow, mate
 
user2015064
But is there anyone who uses tab just like me?
 
show whitespace in the editor and make sure tabs and spaces look different it's easy to stay consistent from then on
mixing tabs and spaces then looks like a clusterfuck of symbols thrown on your monitor
 
Ven
@xersi probably. Do you know just how many people program in the world?
There's got to be idiots.
 
@BogdanMarginean But what if the language you're using is already a clusterfuck of symbols?
 
9:47 AM
@Bartek cool profile image.
 
Ven
bartek
 
@AldwinCheung E_NOTARIGHTFOLD
 
Ven
I win.
 
@wilx well we do not have a lawyer .. we are planning to use it for remote dev for C++ on solaris, which oracle dev studio is the only option
@AldwinCheung i do know this is not but C++ is what i am using it for
 
9:50 AM
>solaris
do you also have a pet dinosaur
 
user2015064
I have one more question : Should I name a namespace like this?
 
user2015064
namespace Program
{

}
 
Ven
no
 
user2015064
I've recently read all namespaces must be all lowercase, otherwise it is bad style.
 
Ven
@AldwinCheung it probably got suck in a CVS incident
 
9:56 AM
@xersi Use whatever style you want, be consistent.
 
@xersi namespaces may contain multiple classes, so give a name that reflects what the classes are for.
why does that sound gay?
 
user2015064
Thanks as long as the code looks "consistent" to me. There is no need to take away the freedom just because you see something fancy on the web. I am very tired of code style problem actually. :)
 
@xersi every should just use K&R brace style anyway
 
10:20 AM
@Ven amazing
 
Ven
yes!
 
@edition yes that's me
@xersi not really, no.
also you can alias the namespace so...
I just got an email from Robert Bobbett
what an unfortunate name
or maybe fortunate actually
 
@Bartek you have changed.
 
have I?
my hair is longer again because I'm too lazy to cut it vOv
 
nah this is just stock bartek
get it there's a pun somewhere in there
 
10:26 AM
get it, it's a good one
 
@BartekBanachewicz That's secretly me
 
so keeping formatting information in the AST
 
@AldwinCheung not anymore.
 
I'm hungry.
 
uh shit I can't do that monad reasonably :F
 
user1804599
10:45 AM
ASSOCIATE ( Z => EXP(-(X**2+Y**2)) * COS(THETA) )
  PRINT *, A+Z, A-Z
END ASSOCIATE
 
user1804599
Fortran is so cool
 
11:04 AM
@rightfold So it is basically let?
 
11:40 AM
Florentine biscuits are so good.
 
11:52 AM
function m() return 1,2 end
> a,b,c = m(), m()
> a,b,c
1       1       2
ugh
 
user1804599
@wilx It's more like a macro.
 
this will never not throw me off
 
Time for a round of password changes.
 
@R.MartinhoFernandes oh yeah, just saw that on a polish security blog
 
user1804599
11:52 AM
I think.
 
@BartekBanachewicz Also interesting: it seems 1password uses cloudfare, so...
(SO too, btw)
(and Discord for you stalkers from out there)
 
@R.MartinhoFernandes it's such a nice place :)
 
Yeah, whatever.
Traitors, is what you all are.
 
I don't understand stalkers and hackers ... lurking in the shadow doesn't seem to be fun to me
 
user1804599
12:11 PM
How do you backup keep ass?
 
The same way you backup other things?
 
user1804599
The only other things I want to backup are emails, and Gmail already does that, and my code, and GitHub already does that.
 
I back up a lot of things, all the company records, rental history, ads pictures, descriptions, pictures for my apps etc etc
 
user1804599
There is nothing else I care about.
 
print them out and store them next to your computer?
 
12:16 PM
I even keep a record of my chickens weight over the past 2 years in a file somewhere
weighting pet chickens can be tricky ...
 
user1804599
???
 
@rightfold I use git for my passwords.
 
user1804599
I want to store my Google and GitHub passwords in KeepAss too.
 
user1804599
So Google Drive isn't an option.
 
12:17 PM
I don't need any passwords to use a git private repo.
 
user1804599
Ah, I have a great idea.
 
I just push to a remote repo, which in turn gets mirrored by a local one.
The local one is physically accessible, and the remote one is accessible via ssh, using a key I keep in a SmartCard and have backed up on a USB drive I don't use for anything else.
There's also a paper backup as a last resort.
 
I do like how all the security and stuff, and it falls down to "slip of paper" XD
 
@thecoshman What about it?
 
if a top hacker wants to hack you, you will still stand no chance
 
12:24 PM
It's durable, and it's physical so I can prevent access to it.
 
@thecoshman can't access a slip of paper remotely
it all depends on your threat model
 
and the acceptable costs of threats getting through
 
Ideally I would have transcribed the backup to paper by hand, but I stopped there.
 
@R.MartinhoFernandes and if your place catches fire?
 
then he has bigger problems
 
12:27 PM
And I can make a backup again?
If you read properly there's three copies around.
(Actually four, because there's probably an unintentional one in some printer's memory)
 
if that print job is a while ago that cached copy will have been verwritten by now
 
@ratchetfreak You'd be surprised.
 
that printer is never used except to print your master password list then ofcourse the most recent copy will still be in there
 
@R.MartinhoFernandes just funny, so much smart stuff, ancient technology still the fall back
 
I used to keep keepass backed up on dropbox until I forgot my keepass password
ever since I resorted to long and memorable passwords and limiting my footprint on the internet
 
12:38 PM
I would suggest to spread your stuff around otherwise hack one = hack all
 
by saying that I'm limiting my footprint on the internet
 
I had hackers trying to access my accounts using the wrong email address :p
 
I mean I limit what I put out there
and where I put it
yes hack one hack all, I'll take that risk over manually managing a multitude of accounts I may or may not need
that could or could not provide links and tips to accessing my smaller set of important accounts
 
speaking of passwords; cloudfare had a heartbleed like vulnerability for a bit: blog.cloudflare.com/…
2
 
I use dropbox to store my keepass db
 
12:41 PM
time to change all the passwords again
 
which means it's stored in many locations
 
my next step is to get rid of my old yahoo mail, but it's a bit annoying because both github and facebook use it so I need to migrate those among others
I don't know what changing my email will do to my github history
with commits being pointed at the old email
 
@ratchetfreak that;s why we are talking about passwords :P
any way, lunch time :D
 
another mistake I made way back was to use facebook to login to sites like edx and coursera XD
if I ever close my fb, tough luck
unless there's a way to switch to regular email/pass
btw did this arrive here too, it's kinda old but funny
 
Ven
please no reposting of the unspicy memes
 
12:48 PM
vous prendrez un supplément harissa mon cher ?
 
Ven
Salade tomate oignon.
 

« first day (2323 days earlier)      last day (2621 days later) »