« first day (1647 days earlier)      last day (3298 days later) » 

10:00 PM
Done Python tutorial 3
i still feel like a don't know anything about the language though
 
it's good that you're discovering other languages, but ...
should the smalltalk about py not be there, in their chat ?
 
:p
no cuz
this room is best :)
 
try learnxiny @cat it is very useful if you know programming in general.
 
@AwalGarg xiny?
 
learnxinyminutes.com
 
10:07 PM
eh, that's not good
 
@AwalGarg Cool it's like a quickread
 
why arel?
 
learning a language should go by tutorials and a small project with that language
to get it " in the fingers"
 
i have learned haskell by that large tutorial here
then tried a small project using haskell
 
MGE
10:09 PM
How can I hide all http request to chrome/firefox inspector 'network' tab? For example Spotify & whatsapp web version hide all request from the inspector. How can I do the same?
 
Nothing is hidden from the inspector. Nothing.
 
Look my new profile pic
it's a pic of my kittie
he's soo cute
 
@KarelG Yeah, it is just to get an overview, not to learn.
 
yes
 
The name is not good but the docs are.
 
10:10 PM
didn't knew that there's a language "whip"
let's get whipped
 
didn't know*
 
MGE
@AwalGarg try play.spotify.com
the search request and the music file
doesnt appear in the network tab
 
It wants me to login :/
 
MGE
dammit
 
His eye looks weird in the picture, idk why Lol
 
MGE
10:14 PM
spotify search is hidden from the network tab inspector
 
@MGE There is simply no way for a request to escape the network tab. It is just how it works.
 
your avatar gets changed, but mine doesn't ...
 
@Catgocat is that your cat?
 
MGE
I don't understand you
they are making calls
 
ye
but he looks weird in that pic
 
MGE
10:15 PM
for the search suggestion, and it doesn't appear on the network tab
 
I think he looks lovely
 
@MGE What I suspect is they cached some stuff on your side in either app data or indexed db or something, and aren't really making a request. Try doing it in an incognito window.
 
@BadgerCat i found it funny that you just came up when he's talking about his cat
 
@BadgerCat That's my brother
and my cat
 
Or search or load something entirely new :/ Or they are piping all the requests from a websocket connection (unlikely ~_~) so you need to inspect frames.
 
MGE
10:17 PM
@AwalGarg hidden too
and if i search any search it show the suggestion
 
I don't believe you. Signup for me and give me the login details.
 
MGE
but not in the network tab
 
:P
 
@MGE Maybe they have a websocket open?
 
MGE
and im using whatsapp version
 
10:19 PM
ugh
I think I may have fallen in love with git, again
 
MGE
and the same, they are protected
 
@Catgocat This was my cat
 
@AwalGarg wrong
 
MGE
whatsapp web version
 
@BadgerCat He looks so cuuuuuuute
 
10:20 PM
@FlorianMargaine eh?
 
@AwalGarg flash
 
Yeah, but then he ran away :(
 
never came back?
 
I will get a cat when I marry
 
or came dead
 
10:20 PM
@FlorianMargaine that's not an xhr request then now is it?
 
Never came back
 
son of a bitch slap that bitch
 
@AwalGarg that's an http request
 
omg sorry
 
@KarelG :)
 
10:21 PM
once Florian ran away too
 
I came back when my wife started cooking though
 
u fat butch
 
lel, do you have to log out / in to change the avatar picture ?
 
i have the power
i asked time to stop while I logged out / in
thats why it changed suddenly
 
@Catgocat probably reflecting paint stripes from the wall on his eye
 
10:25 PM
@FlorianMargaine Just checked, I can catch flash originated http requests from the dev tools just fine...?
 
@AwalGarg really?
 
@taco ur so smart
 
i no
 
@FlorianMargaine yep, wait. annotating screeshot. Will take 3 days :/
@MGE did you even read the messages I wrote?
9 mins ago, by Awal Garg
Or search or load something entirely new :/ Or they are piping all the requests from a websocket connection (unlikely ~_~) so you need to inspect frames.
 
10:27 PM
@JanDvorak You use ruby, maybe you know, I searched all over without finding a solution: I've got a function foobar, how can I pass it to map, like [0, 1, 2].map(foobar)? map expects a block, so I can't do [...].map(method(:foobar)) or anything of the sorts, since that's passing as an argument, not a block.
And I don't want to do [...].map { |x| foobar x }, that's ridiculous
 
awesome screenshot won't let me select the dev tools area... ughh!!
 
MGE
yep, but as the user says, in websocket doesn't appear
 
that disturbed me for a moment ... (check the numbers)
 
@FlorianMargaine I can't annotate because.. reasons. "initiator" shows "other" ^^
try it at the flashgames website
 
MGE
10:31 PM
@AwalGarg but the problem appears whatsapp and in spotify
 
(I don't play flashgames .. almost)
 
actionscripting
it's been a while that i've seen shockwave flash install window
 
Hello all
 
@AlexChin Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
new avatar
 
10:37 PM
what does that link to?
 
some text
 
@FlorianMargaine w3.org/TR/resource-timing see section 5, can't see why it will not monitor requests from flash origins :/ this is the api used by the network tab.
 
@KarelG what am I missing here?
 
@phenomnomnominal 4
 
i get used with I - II - III - IV - V ... but these roman clocks have I - II - III - IIII - V
 
10:40 PM
oh no shit
 
and each time it disturbs me a bit
 
Aren't both acceptable?
 
there is a reason behind that notation. forgot which one
 
> Roman inscriptions, especially in official contexts, seem to show a preference for additive forms such as IIII and VIIII
How civilized could the Romans really be if they never achieved the great wonder of Standards Committees?
 
Maybe I am stupidly ignorant, but why exactly do we use Roman numeral system at all?
 
10:45 PM
We don't we used to.
But there are many cases we do.
 
it's a choice of the clockmaker
 
> The legions were identified by Roman numerals, though the spelling sometimes differed from the modern "standard". For example, in addition to the spellings "IV", "IX", "XIV", "XVIII" and "XIX", the respective spellings "IIII", "VIIII", "XIIII", "XIIX" and "XVIIII" were commonly used
 
For example Mercalli
The Mercalli intensity scale is a seismic scale used for measuring the intensity of an earthquake. It measures the effects of an earthquake, and is distinct from the moment magnitude usually reported for an earthquake (sometimes misreported as the Richter magnitude), which is a measure of the energy released. The intensity of an earthquake is not totally determined by its magnitude. It is not based on first physical principles, but is, instead, empirically based on observed effects. The Mercalli scale quantifies the effects of an earthquake on the Earth's surface, humans, objects of nature, and...
 
is richter not a better scale ?
 
I learned in my Geology class
Richer is quantitive, Mercalli is qualitative
one measures intensity, other energy
 
10:47 PM
you can replace those roman numbers to numeric ones ...
 
no you can't
cuz you know, you're not a scientist
 
What? Sure you could.
 
there is a table of that ...
 
shutup roman numerals are great
 
2.0 – 2.9 II – III
 
10:48 PM
u're all ignorants
 
@AwalGarg One of the things I really enjoy about this chat room is that the folks here seek to understand, instead of making wild claims to impress internet strangers. Thank you for continuing to contribute to that culture!
A lot of people use them to seem fancy
 
7
Q: Why are Roman numerals still used?

Ambo100Why are Roman numerals still used today primarily on clocks and film titles?

Which... yeah, looks like it's just "cause they look cool"
 
*they look classic
 
@SomeKittens lol @"impress internet strangers" :D
but that is indeed quite a good thing about this community. quora people don't follow that, sadly :(
otherwise, quora could have been the bestest community ever.
 
@AwalGarg Yeah, it's a bit problem in the Freenode channel I'm op on.
People show up, start talking like they're experts, actual experts realize they don't know what they're talking about....
It's a mess
 
10:55 PM
@SomeKittens OPPED on freenode, color me impressed!
:p
 
you're op on #sojavascript
 
im op in a few other channels too, I was just being dumb :P
seemed relevant to impressing random internet strangers
 
OP = room owner equivalent of IRC?
 
yea
 
yeah
there are several levels on irc
voice, mod, op
and mortal
 
10:58 PM
 
I went to ##javascript once...
 
voice don't have much power, they can talk when a certain mode is on, mods can kick and stuff, op can moderate mods
 
I remember why, and it was such a bad reason :(
 
>>> def factorial(n):
	if n < 2:
		return 1
	else:
		return n * factorial(n - 1)


>>> factorial(4)
24
>>> factorial(100)
93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000
I'm gonna cry
 
I idle in ##javascript, if I don't ignore parts/joins its hard to see wth is going on
SO many people in the channel
 
11:00 PM
@AwalGarg My one interaction in that room was some guy hitting on me
 
lol
 
@Catgocat what's the max you can calculate?
 
factorial(400)
640345228466238952623479703195030058507025830260029594586844459428023971691868314362784786474632646762943505750358568108482981628835174352289619886468029979373416541508381624264619423523070462443250151144486708906627739149181173319559964407095496713452904770203224349112107975932807951015453726672516278778900093497637657103263503315339653498683868313393520243737881577867915063118587026182701698197400629830253085912983461622723045583395207596115053022360868104332972551948526744322324386699484224042325998055516106359423769613992319171340638589965379701478272066063202173794720103
 
@Catgocat quick. memoize it. quick quick quick!!!
 
factorial(900)
675268022096458415838790613618008142242694278695893843121982687036850916431804169691324469526983037942260103705786729085931983476998869285919065010315876518469767596811126095247870938480044286361868933952727844506303540802432176466580246966590659517937572235202292355775486538336811021709738937460546491264159091431501728607211566858106557592300114501329921764549832275386963401126104470290023370048878772663877045860772935854331516125188001477644611826808228670927866949828318386418009974998193392065794153256497484862652339189110871145924408965940626759142949258167198621783746792
Dude I'm crying here
 
11:01 PM
I can go up to ~85k in sbcl
 
flashgames247.com/play/645.html this is somewhat addictive. Don't play it :(
 
I can do up to ~985, with normal recusion.. Does Python have tail recursion?
 
CL-USER> (defun factorial (n)
           (if (< n 2)
               1
               (* n (factorial (- n 1)))))
 
What's factorial of 84.000 ?
 
a number with 377 162 digits
CL-USER> (length (write-to-string (factorial 84000)))
377162
I don't think I can paste this number ;)
 
11:04 PM
LOL omg you guys see this new lip trend?
 
Midwhile in python
RuntimeError: maximum recursion depth exceeded in comparison
 
@Loktar ugh
@Loktar I thought it was a lisp joke :D
@Catgocat meanwhile*
 
@Loktar UGHHHH wtf
 
hahah nah, just came across these videos
people are saying others are doing it on FB
 
@FlorianMargaine tenkx am tryen to imprav mi inglish
@Loktar Is she alright?
 
11:07 PM
lol no idea wonder how long it takes the swelling to go down
video 2 shows how a different girl did it
 
top comment though on the youtube video
 
@Loktar what. the. fuck. * 1/0
 
@Catgocat lol hadn't seen it
 
its called the shot glass challenge I guess..
 
kids these days
put their mouth in glass and record it
 
11:09 PM
Back in my day, we used to just make mud pies and listen to satanic cassette tapes
 
cya tomorrow bye
 
Is something wrong with me if I write every piece of code in a way that it won't be seen in the "inspect elements" tool easily out of fear that they would have complete access to the front source code with just a click?
 
Yes.
 
@taco haha
 
yes
 
11:10 PM
yes, something's wrong with you
 
Elaborate.
 
google security by obscurity
 
not even that
 
@FlorianMargaine just start with that?
 
@DemCodeLines what do you mean by "it won't be seen in inspect elements"?
 
11:11 PM
lol also that ^
 
/me has been looping this song for an hour now
 
in Python, 48 mins ago, by Stormy
What can you guys teach me
^ first message of guy in python room
 
lol
 
life
shrek
 
11:13 PM
We should invite him here.
 
Here is a very simple example. I'm using an HTML5up template that shows the "hamburger" menu if the window is resized past a certain point. Initially I wanted to remove that button completely when there is enough room for all the links to show. But now I want make it into a dropdown even if there is enough room, and preserve the default code of the slide-in navbar if not enough room.
 
@Catgocat it's 1 252 904 digits in binary
CL-USER> (length (write-to-string (factorial 84000) :base 2))
1252904
 
The problem is, there will be two separate blocks of code, one that only shows up when on mobile, the other when on desktop. The one that doesn't show up will have a display:none, but someone can go into "inspect element" and change the display property.
 
Yes, so?
I can also delete the document element from the inspector. In that case, you shouldn't be writing any code at all?
 
Then they can understand how stuff is being manipulated.
 
11:17 PM
yes, so?
 
I have this thing where I feel it might pose a security risk. Sometimes it's completely baseless.
 
oh, it's about security?
well yeah, you shouldn't be doing anything sensitive on the client side
 
@copy yep
 
@FlorianMargaine have any keybade invites?
 
11:20 PM
@FlorianMargaine Are you being sarcastic?
 
@AwalGarg yup. Send email.
@DemCodeLines no
 
I will take then for 2 cents
^deleted message above
 
Build failed... too many tests
 
@AwalGarg sent
 
got it, Thanks! <3
 
@DemCodeLines if you're worried about people stealing your code, it's a fools errand. If you're worried about security and deal with credit cards, just follow the PCI guidelines, and don't do anything sensitive on the front-end.
 
@taco It's a Q&A site.
 
@DemCodeLines I can use a tool like cURL or Burp Suite to send any sort of request I want to your severs, completely outside of the browser
 
You could still follow their guidelines and not get accredited. pcisecuritystandards.org/pdfs/pci_ssc_quick_guide.pdf
 
@SomeKittens or telnet
 
11:29 PM
What @SomeKittens said. There's probably an IP scan going on right now, if not earlier today.
 
11:41 PM
I was invited to join here I guess
 
@Stormy Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
even tho I know only like how to make variables and print Hello in Javascript
thanks
@SomeKittens invited me I think
 
@Stormy Hello!
 
@AwalGarg Hey
 
I invited you, not SomeKittens.
 
11:45 PM
@Zirak You can do [...].map(& Kernel.method(:foobar)), but I'd opt for the ridiculous option instead. [...].map(&:foobar) might also work (I think not) if the mapped over objects don't have a foobar method of their own.
 
Ah
 
Debian is porting errything to Python 3. Wooo!
 
&foo converts a Proc to a block, but (top-level) defined functions are methods of Kernel.
 
Ah python, I will understand this now :P
 

« first day (1647 days earlier)      last day (3298 days later) »