« first day (2329 days earlier)      last day (2603 days later) » 

6:00 PM
Hmm, I must be going senile because I can't see why that works. Oh well, I'll try it and see what happens.
 
@SirCumference People don't usually ask in this chat before subjecting us to them :P
 
vzn
@SirCumference does she just want to pass/ do well in her class or something more
 
res = a; for(i < d) res = res * a % n
 
@vzn She likes learning about the world, so she wants a good understanding on it
 
@JohnRennie Just to be clear - Slereah's bracketing is a bit ambiguous
 
6:01 PM
Who needs brackets
Just use polish notation
 
@ACuriousMind I drew a comic of a stick figure with root beer. He pours it into a square glass. Now he just has beer.
 
What's meant is you compute $a^2 \mod n$, then multiply that by $a$, then take mod n, then multiply by $a$, then take mod $n$, etc
 
vzn
@SirCumference physicsforums.com/threads/… ... so youre studying physics in college? what year? what country? ps tell her about this site/ chat room
 
there are faster ways if everything is a power of 2, btw
but I dunno what you're using this for
 
@vzn Freshman, U.S.
 
vzn
6:03 PM
@SirCumference what state?
 
Huh?
 
Since mods and powers for powers of 2 are just truncations and shifting of bits
 
I thought you were in Israel
@Slereah are you doing this for GR or for programming?
 
@vzn Uh, not too sure about that. No offense to anyone here, but some of the people are a bit...condescending to physics noobs
 
I'm doing it because @JohnRennie asked it
And he is our good friend, as you well know
 
vzn
6:04 PM
@SirCumference aw geez man we have 2 regular girls now & they like it :P
 
Not to mention, most of the conversations are well above high school math
 
you don't know they're girls
there are no girls on the internet
@SirCumference depends on what high school
 
@0celo7 Yeah, but a lot don't go above calc
 
People don't use the word "noob" anymore
 
vzn
@SirCumference theres a ton of basic content on the main site & this chat room content varies widely, heather is 14/ kaumudi is ~18, they can also start their own chat room (shocking suggestion around here)
 
6:06 PM
Cool kids say "pleb" nowadays
 
Sam knows what's up
 
@0celo7 Sam?
 
user228700
@0celo7 Ahem.
 
$\therefore$ Sir Cum. is not a cool kid
 
Thanks chaps, it appears that works :-)
 
6:06 PM
@0celo7 Verified
 
@Kaumudi.H ::hands lozenge::
 
@JohnRennie Jolly good, then!
 
lol
 
user228700
@0celo7 Lol :-P
 
ACM is now British
 
6:07 PM
@vzn I don't know if heather knows a lot of things taught in usual high school physics classes
 
user228700
Whoa whoa, @JohnR is still around?! :-o
 
And isn't @Kaumudi.H studying for the JEE? That's a huge level above high school physics where I'm from
 
vzn
@SirCumference dont know either, but it cant hurt man, unless your friend has "thin skin" np ... ps correction heather has ~5K on main site so she does know some physics o_O
 
Don't you dare mention that word
 
@0celo7 JEE whiz
 
6:09 PM
We already had to get one person banned because of it
 
@Kaumudi.H I generally clock off around 18:00 UK time, at which point I find a bottle opener, a bottle of beer and my armchair, in that order.
 
@SirCumference >:(
please don't
 
user228700
Right. I'm surprised u're still around. It's almost 12 AM over here...
 
@0celo7 Ok ok JEEz
 
vzn
@SirCumference JEE is not physics related is it? thought it was something else, she never talks about JEE
 
6:09 PM
wtf people
 
@vzn Engineering, which incorporates lots of physics
 
I like you guys, why would you do this?
 
@SirCumference lol
 
@Kaumudi.H 18:09 here
 
user228700
Ah, OK. Enjoy the rest of ur evening :-)
 
vzn
6:10 PM
JEEzuz!
 
@JohnRennie Which apparently some clock arithmetic is preventing you from currently?
 
I got interested in that problem of Bernardo's ...
 
user228700
@vzn It is. It's Physics, Chem. & Math.
 
@vzn Knowing it qualitatively and knowing the formulae are different
 
vzn
@Kaumudi.H wow you never mentioned JEE, its nearly a 4 letter word around here these days... its not what youre studying for are you? o_O
 
6:12 PM
Joint Entrance Examination (JEE) is an all India common engineering entrance examination conducted for admission to various engineering colleges and courses all over the country. The test comprises of two stages - JEE Main and the JEE Advanced. The exams are of the objective pattern. JEE Advanced is regarded internationally as one of the most challenging engineering admission tests. In 2012, the government-run Central Board of Secondary Education (CBSE) that earlier conducted the AIEEE, announced this common examination that replaced the AIEEE and IIT-JEE. JEE consists of two parts, JEE Main and...
 
user228700
::0celo7 punches laptop::
 
> JEE Advanced is regarded internationally as one of the most challenging engineering admission tests. ~Wikipedia
 
@vzn Yes, a three letter word is nearly a four letter word, not only around here :P
 
JEEsus
 
user228700
@vzn :-) It certainly is. I didn't think many people would know about it (before), which is why I didn't bring it up.
 
6:13 PM
In the U.S. we have the SAT or the ACT
The ACT (/eɪ siː tiː/; originally an abbreviation of American College Testing) college readiness assessment is a standardized test for high school achievement and college admissions in the United States produced by ACT, a nonprofit of the same name. It was first administered in November 1959 by Everett Franklin Lindquist as a competitor to the College Board's Scholastic Aptitude Test, now the SAT. The ACT originally consisted of four tests: English, Mathematics, Social Studies, and Natural Sciences. In 1989, the Social Studies test was changed into a Reading section (which included a Social Studies...
 
vzn
@Kaumudi.H didnt see you in all the JEE dialog, did you notice some have showed up to chat to focus on it? saw they had their own room at one pt
 
You pick either
 
user228700
@vzn Yes, I did. I was briefly even one of the owners of that room :-)
 
vzn
@Kaumudi.H so all this time youve been working on/ studying JEE, not some other test? shocked o_O
 
user228700
Lol, why are u shocked?
 
6:15 PM
In Germany, we don't have a standardized test that's a big deal :P
 
@ACuriousMind What is this dream land
 
user228700
^
 
vzn
Feb 18 at 8:04, by Kaumudi. H
When did this place become the IIT JEE prep. room?
 
@SirCumference Oh, the education system has its fair share of fucked-upness here, too. Just standardized testing is not one of its faults, thankfully.
 
vzn
lol apparently when kaumudi arrived, missed that! chat.stackexchange.com/search?user=228700&q=jee
 
6:16 PM
@vzn A lot of people here (most?) are from India
So it's a pretty big deal
 
I quit.
 
At least it wasn't when I was in school. I haven't followed recent developments very closely.
 
Also a lot of people in high school
 
user228700
@vzn ...it didn't feel comfortable to talk about Physics keeping in mind the exam rather than the learning itself.
 
@yuggib Of course you can approximate the closed ball by the open balls
I'm STUPID
 
vzn
6:17 PM
@SirCum theres your answer for your friend, just get her a JEE textbook! :P
 
@vzn Dear lord, I'm not trying to make her collapse from stress
 
user228700
@vzn When I arrived?
 
vzn
@Kaumudi.H lol, whatever, you said from the very beginning you wanted to do better on the exam & it was your motivation...
 
@yuggib I'm concerned about points in $b(X'')$ with $||x''||=1$, but you can take a sequence $x''_n=(1-n^{-1})x''$...that converges to $x''$ by definition of topological vector space...
And each $x_n''$ can be approximated by points in $b(X)$ by Helly's theorem
 
user228700
@vzn It really was but the exam was never constantly on my mind.
 
vzn
6:19 PM
@SirCumference actually do very much like the idea of approaching physics from an engr pov :)
 
Yosida really should have a comment there on what to do
 
0
A: Implementing Miller-Rabin in C

John RennieWith Visual Studio 2015 Community edition I found two problems. First the line: while (!d&1){ needs to be: while (!(d&1)){ Secondly, as mentioned in the comments your modpow function is overflowing. Try: int modpow(int a, int d, int m) { int c = a; for (int i = 1; i < d; i++) ...

 
user228700
@SirCumference I haven't... yet.
 
@Kaumudi.H Keep kicking :)
 
vzn
@Kaumudi.H look think theres absolutely no shame in trying to do well on particular exams. aka "test prep", its actually a very big industry in US. its been that way in US for decades wrt SAT/ ACT, took SAT in jr high myself! US is obsessed with ("stdized") testing, its a bit out of control...
 
6:20 PM
Damn!
 
And with that I'm done for the evening. I'm going to open my armchair and sit on a bottle of beer. No ... hang on ....
 
@0celo7 $\mathrm{Proof?}$
 
@0celo7 [citation-needed]
 
user228700
@vzn Sure. However, when learning itself is done whilst keeping the exam in mind (at every step of the way), quite a lot is...not conveyed properly. "Tricks" are invented etc.
 
@EmilioPisanty mathjax doesn't work on that SE apparently :P
 
6:22 PM
@0celo7 ah, well, then you're on your own, and suits you right for venturing that far off the beaten track
 
vzn
@Kaumudi.H there is some pt there, but would actually take contrary opinion in some ways. some students who optimize for exams sometimes learn material better than others. & there are some very elite/ prestigious "exams" eg math olympiads. in fact the only winner of a millenium prize, perelman, was a young math olympiast (learned that myself reading a great bio on him).
 
@EmilioPisanty I would fire back but I just spent 4 hours on a functional analysis proof and am done
I'm done with life
but I have a damn lab I need to get to
 
user228700
@vzn Hmm. I've come across far too many people (& even teachers who are recent graduates who did their studying just like us) who don't know very much about the subject because they didn't concentrate on the learning.
 
user228700
Key-words: Some students.
 
vzn
@Kaumudi.H pt taken but this is a sort of philosophical problem with edu, not nec with individuals. schools are full of students like that all over the world. its a cultural issue. not everyone is in school to learn. its a kind of shocking concept in some ways, banal in others...
 
6:25 PM
Functional analysis is objectively the worst math
 
user228700
In fact, it was one such teacher that screwed me over completely.
 
@Kaumudi.H Proficiency is not a guarantee of competence, but lack of proficiency usually correlates strongly with incompetence.
 
@BernardoMeurer: I hate your programming style. What's wrong with some white space? Did you get beaten up by a blank line as a kid so you have a permanent grudge against them?
 
user228700
Ur points are perfectly valid :-) But to each his (her) own.
 
vzn
@Kaumudi.H sorry to hear that (wonder about the story) but when considers how many teachers one will have over a lifetime, (some) bad ones are inevitable. & can actually lead to other types of "learning experiences"... o_O
 
user228700
6:27 PM
@vzn I've had far too many bad ones for my liking, I'm afraid.
 
user228700
@JohnR has been one of the best (top 5, perhaps) teachers I've had in my whole life and that's really saying something, seeing as he's not even literally here.
 
vzn
@Kaumudi.H india edu culture is probably a bit different than worldwide. its even more "assembly line" than elsewhere due to the massive #s involved. know this is a radical suggestion for you, but if youre really serious consider another locale.
 
@JohnRennie link?
 
user228700
@vzn I'm curious; are u from India?
 
vzn
@Kaumudi.H US, but do talk to a lot of indians on SE chat over the years.
 
6:28 PM
1
Q: Implementing Miller-Rabin in C

Bernardo MeurerI'm trying to implement the Miller-Rabin primality test in C99, but I'm coming across some problems getting it to work. I crafted a small test-set to verify whether or not the implementation works, here's how I'm checking for primes int main() { int foo[11] = {0, 1, 2, 3, 4, 7, 28, 73, 125,...

 
Hi, everybody.
 
user228700
@vzn I see. Anyhoo, yes, thanks for the suggestion. I'd like to talk with you more about all the ways in which my education system is f*ed up but I'll save that one for another day for I am too tired now :-)
 
user228700
@DanielSank Hello :-) How's it going?
 
@Kaumudi.H meh.
I have to review a paper.
grump grump grump
 
vzn
@Kaumudi.H np, deep (intl) topic, have studied it, wrote a blog on it once awhile back, keep in mind ppl have similar complaints about it everywhere...
 
user228700
6:30 PM
@DanielSank This too shall pass..? :-P
 
Very K&R (which is a good thing), but I'm with John about splitting the logical blocks with not just white space but also with a few comments.
 
How are you doing in your quest to reduce world suck?
@Kaumudi.H Yes, indeed.
 
user228700
@DanielSank "meh" as well. Exam's coming up in 10 days.
 
@Kaumudi.H Wow!
 
10 days! Eek!
 
user228700
6:31 PM
And I still remember this:
 
user228700
Sep 9 '16 at 5:41, by Kaumudi Harikumar
@DanielSank I'm not cramming per se :P My exam isn't until next YEAR.
 
Most of that code is reasonably clear for c, but some guidance will make it more comprehensible come maintnence time.
 
Make sure to drink plenty of cow smoothie before the exam.
@Kaumudi.H Man, time goes fast, eh?
 
user228700
@DanielSank Ugh.
 
user228700
@DanielSank So fast >.<
 
6:32 PM
@Kaumudi.H Yes, it does sound quite disgusting.
 
deliciously sacred
 
user228700
@JohnRennie :'-(
 
vzn
enjoys goring sacred cows
 
I really don't see anything wrong with that @JohnRennie
@Kaumudi.H wow
You ready?
 
I am making burgers for dinner right now
 
user228700
6:34 PM
@0celo7 No, not really. I still have a crapton of things to do.
 
user228700
Speaking of exams...@Koolman how was Math yesterday?
 
@Slereah I'm proud of you
Did you inject bacon grease before cooking
 
Nope
 
That gives it a nice juice
 
I do use beef tallow for french fries, tho
all beef cuisine
 
6:36 PM
So, uh... yeah.
Anyone wanna explain path integrals to me?
 
u integrate over the set of all paths
 
I can explain weak topologies to you
 
feel free to read my great master thesis on the topic :
(it is a little in French)
Writing those diagrams in latex wasn't fun
 
vzn
 
@ACuriousMind please remove ^
 
6:39 PM
No, no, don't get 0celo7 started on balls again!!!
 
That's not appropriate
@JohnRennie I spent all of today proving things about weak balls :)
 
alright wht my conclusion is
 
vzn
@0celo7 havent you been to NYC? and your ball talk is appropriate here? :P ... ps its hard to outdo slereah for comedy :|
 
I wanna make a company that will help humanity develop as a species
like a multi billionaire level company
 
Is it a eugenics company
 
6:40 PM
yeahhh
lets do it
and this is now jabbering its serious lol
 
@0celo7 some Googling suggests that to do with covering your balls
 
@JohnRennie Shouldn't you guys be chastized for sexual innuendo?
How come you're allowed to get away with it?
 
@JohnRennie Sorry, right after I asked I had to go to class
your fixes indeed solved it :)
Thanks!
 
@BernardoMeurer Dude.
You got helped by someone who runs their life on malware. How does that feel?
 
@DanielSank Chastised eh? Now you're talking. Do I get to chosoe the method?
 
6:42 PM
@DanielSank It hurts
 
@JohnRennie Heheheh
No
I'm in charge.
 
@JohnRennie I hope some day you can free yourself from all this proprietary malware you run
 
@DanielSank Yes master
 
user228700
What is happening...
 
@Kaumudi.H You're too young.
 
6:43 PM
@JohnRennie The lack of spaces is called a deadline :P
 
^LOLOL
 
@BernardoMeurer the thing is that I couldn't care less about the OS. Operating systems are only there to allow me to run apps, and they all do basically the same thing once you get into the kernel.
 
user228700
@DanielSank I'm only a smidge younger than Bernardo here.
 
That's a fantastic play on words.
 
@DanielSank :) <3
 
6:44 PM
@JohnRennie DOS didn't have a task manager
 
@JohnRennie Except yours is malware
 
@Slereah I liked DOS. I felt like I knew what it was doing.
 
@BernardoMeurer shrug. It runs my apps.
 
@JohnRennie <3
 
DOS was very easy to program assembly on
trying to program assembly on a modern computer is pretty awful
You have to ask permission for everything
 
user228700
6:46 PM
@BernardoMeurer I like your liberal and carefree use of the "<3" emoticon :-P There, this time I wasn't at all insulting you.
 
wow, jesus, look at the language on this thing
 
I liked Windows 98, even though it was proprietary malware
 
> We focus below on knot solitons with linked rings that are associated with orientations of a nematic vector in a superfluid.
 
@EmilioPisanty eh?
 
My favorite story about the shittiness of 90's windows is the story of Sim City
 
6:46 PM
they somehow managed to get that into the second paragraph of a Nature Phys
 
@EmilioPisanty dafuq?
 
@Kaumudi.H Really You're just going to call me a liberal now? Wow. I hope Windows ME installs itself on your machine
 
For you see, Sim City originally did not run on windows
That was because Sim City exploited a bug in DOS
Very poor form but it was convenient
 
user228700
@BernardoMeurer Sigh, nothing I say will ever fix past mistakes :'-(
 
Of reusing a recently freed memory block
 
6:47 PM
@DanielSank apparently a Nature Phys editor felt that that was self-explanatory enough for a general physics audience
 
@Kaumudi.H :P
<3
 
But 90's windows was big on backward compatibility
 
user228700
:-P
 
So what they did was
 
no wonder this guy is confused
0
Q: Do quantum linked rings of quantum knots have energy?

NaxminnThere has been an experiment where infinite quantum linked rings were created to make a quantum knot. The structure is topologically stable and the knot can't be untied without breaking the rings. If these rings have energy and allow the structure to be stable, wouldn't there be infinite energy a...

 
6:48 PM
They allowed that bug to happen, but ONLY if sim city was the program asking for it
 
I hope Windows ME installs itself on your machine
 
And that is a story that illustrates why Windows was so awful back then
 
^ Probably worse than wishing death on someone
 
@Slereah Back then?
 
@Slereah If this is true I require a reference because it's hilarious.
 
6:48 PM
Or do you simply impy that the current suckiness has a different cause?
 
Well Windows is still awful
But for other reasons
 
@Slereah It's malware
 
In all honestly I suspect that my biggest complaints about window now are training issues that I could overcome if I cared enough.
But it would take some mighty powerful motivation to bring that to pass.
 
@dmckee I genuinely fail to understand the Windows hate. I use it all day every day and never run into any problems with the OS.
 
vzn
6:50 PM
@EmilioPisanty SOLITONS ROCK =D
 
that was part of the big problem of 90's windows
They tried their best to be backward compatible with MS DOS and that left giant security holes
 
@vzn solitons meh
 
@Slereah reading
 
this one definitely looks overhyped, at least from a first reading
 
@JohnRennie Come on, Windows aggressive upgrade policy is a PITA
 
6:51 PM
Because a lot of MS DOS programs were written very poorly and used unsecure things that would not be possible on a modern OS
 
vzn
@EmilioPisanty same thing said about einsteins papers :P
 
OS's are for losers
 
@BernardoMeurer I don't find it so. Once a month the PC tells me it needs to restart out of working hours to finish the update. So what?
 
I will just do all my stuff on VHDL now
 
@JohnRennie Before all windows derived from NT the damn thing just wasn't well protected. Of course, the Mac OSes of that era had the same problem, but I knew the internals pretty well and could recover from a lot of bad problems that left me baffled on windows.
 
6:52 PM
@JohnRennie Not update, upgrade, from W7 to W10 and so on
 
@dmckee You mean more than ten years ago? My, you bear a grudge a long time :-)
 
After than it's been—for me—mostly about the way they structure their access to controls. I just don't like the logic they apply to where to put the knob for things.
 
MacOS is almost as bad as Windows, it's proprietary malware
 
Like I said: a training issue.
 
@vzn If you want to sidetrack the discussion into completely different topics, and put words in my mouth, again, go right ahead, but I'm not interested
 
6:53 PM
where do you put your knob, @dmckee
 
@BernardoMeurer yes, but that was easily disabled.
 
I'm happy to discuss the physics of this specific example if you have read it and think it's not overhyped and can present a credible case for that
 
@BernardoMeurer But the underlying core—Darwin—is open source.
 
@JohnRennie What about Microsoft doing sketchy deals with people like Netflix so you can only stream 4K on W10?
 
@dmckee I don't like the general dumbing down of the management tools, but I spend only a tiny fraction of my time at the keyboard using the management tools, so it's largely a non-issue.
 
6:55 PM
@dmckee Yes, and BSD-licensed. If you run Darwin I don't judge
 
@BernardoMeurer how is that to do with the design of the OS?
 
@JohnRennie It's not just about the design, it's about who you're giving money and supporting when you use it.
If North Korea made a kickass OS with a microkernel that worked I wouldn't use it
I would, perhaps, convert to communism though
 
:-)
 
@JohnRennie My laptop is mostly unusable because the windows updater never stops running
 
Because if it can make a microkernel viable it can make anything work
 
6:56 PM
It just eats CPU for no reason.
 
And I've had a long running problem with Microsoft for actively trying to break working protocols and standards.
 
The official forums literally say to turn off the automatic updates.
 
That's their solution.
 
The curious thing is that among my hard core nerd friends Apple is seen as the evil empire.
 
6:57 PM
What on earth is a microkernel, and why would I want one?
 
This is so, so incredibly not ok with me.
 
Microkernel is a tiny OS to run on a tiny machine
 
Apple used to be a pretty good citizen that way. These days they just ignore standards in favor of their own ways which also sucks but perhaps a little less.
 
If you have like maybe a MB of memory to work with
 
@dmckee Their decision to not care about hardware standards is vexing.
 
6:58 PM
Quite.
 
@ACuriousMind There are two main approaches to kernel design, monolithic and microkernel. The former is all the ones you know; all the drivers, everything, belongs to the kernel and run in "kernel mode", i.e. have full access to the machine
That's bad because if something fails the whole system goes down
It's good because it's fast, simple, and efficient
 
@DanielSank I have two laptops running W10 and another, erm, four or five running Win7. All had a nice clean install done by me. None ever give any problems. People tell me their laptops run like crap, well my own laptops are proof that it ain't necessarily so.
 
@JohnRennie Who said "necessarily"?
 
In a microkernel the kernel is tiny and handles very little. All the other things, drivers, filesystem stuff, display stuff, runs in user mode; so if they crash the system is fine
 
This problem I describe is common enough that there are multiple forum posts about it. Microsoft's response is "turn off your computer's basic security measures".
 
6:59 PM
@BernardoMeurer Hey now. Some of us have run Minix, Darwin and some embed real-time OSes for data acquisition.
 
It's good because it's super reliable and elegant, but it*s amazingly hard to implement well, since all the pieces have to talk to one another with very low latency
 

« first day (2329 days earlier)      last day (2603 days later) »