« first day (2288 days earlier)      last day (2665 days later) » 

10:00 AM
 
^ note that this is deprecated
 
There's also no reason to use MD5 today
 
@KARTHIKEYAN.A You don't decrypt MD5, you create another hash and compare them, same with any other algorithm.
 
can you give sample @BenFortune
 
what sample do you need? why do you want to decrypt a password?
 
10:06 AM
e10adc3949ba59abbe56e057f20f883e
 
Why?
 
this is my encrypted password using md5
how to decrypt this one
 
you can't
 
using npm module
 
you can't using any module -_-
That is not how hashing works
Its not ENCRYPTED its HASHED*
 
10:07 AM
lol
 
@KARTHIKEYAN.A 123456 isn't a very good password
 
haha
 
md5 is a hashing function and it's creating a hash of your entry, which is one-way. You cannot reserve it
 
@KARTHIKEYAN.A Let's say my password is "hello world"
!!> "hello world".length
 
@MadaraUchiha 11
 
10:08 AM
If I gave you 11, can you get "hello world" back from it?
 
@KARTHIKEYAN.A what you want to do is take the input, hash the input, then compare the hashed input with the stored hash.
@MadaraUchiha++
 
@BenFortune yes
how your are converting
using npm
send the procedure
 
@KARTHIKEYAN.A Please read what I said
 
@MadaraUchiha noobsnoob can't even brute force md5
 
you're a shame for crackers
 
10:10 AM
why u mod
 
> Apache Hadoop, Apache Spark, MongoDB, Oracle, Bottle, pymongo, pyspark, tkInter, nltk, PIL, Image, base64, TextBlob, nltk, re, Ipython, numpy, Scipy, cx_oracle, Ns2, xGraphs, Nam, HTML, CSS, Bootstrap, Node.js, Express, Mongoose, AngularJS.
> Apache Hadoop + md5 = boom! decrypt a lot :D
 
@Zirak I'm a jQuery expert, not a MD5 one.
 
@MadaraUchiha how 2 hack using jquery?
 
use the jQuery hack plugin.
 
$.hashCrack()
 
10:11 AM
$.hashCrack(password, 'md5') ?
oh wait its jQuery
 
yeah, it does that magically
 
$.hashCrack() don't even need to enter the password
 
you don't even need to pass a parameter
but make sure you have jQuery loaded before
!!giphy hack the world
 
and put it at the end of your HTML please :D
 
10:13 AM
!!giphy oh my so pro
 
fuck me, I can't even remember that phrase
 
wtf
 
best giphy ever
 
!!undo
huh, apparently I can't program
 
10:15 AM
Cap has become self aware. She doesn't listen to her creator anymore
and she posts orgasm gifs whenever she damn well pleases
 
single tear rolls down my left cheek I knew this day would come. I'm so proud.
 
!!giphy orgasm
 
LMAO
!!undo
 
@Abhishrek I'm afraid I can't let you do that, Abhishrek
 
10:16 AM
hahaha
yup, she's definitely a teenager now
 
she got evolved because of some male's desire to f*** a female robot since they have an advantage: they don't talk
 
Ok Ok
 
@KarelG That might motivate male teenagers to learn engineering, math, robotics etc.
 
they don't have to because such creatures exists already. And there is VR that can help " a lot "
 
10:34 AM
Hmm, how much hike should one ask to the next employer ? (newbie when it comes to salary negotiations)
 
100% or don't switch!!
and I am serious
 
@Shashi thats like asking to double the salary, will that even work ?
I am just an average guy
 
@FlyingGambit Depends on their need! I am an average guy too but I hustle wherever needed plus I create a mindset that I need to hustle if I am willing to ask that much.
It has worked with me once. THE CURRENT EMPLOYER
but on an average 60% figure is good (y)
if its an MNC look for at least 40%
although I will never settle below 60%
 
is it good or bad to leave "console.error()" behind in js code ?
 
Used to be fairly bad for IE-users
At least in older versions console would be undefined unless the devtools were open, not sure how that is for newer versions
 
there is no proper way to inform the dev if if(...) { // right } else console.error('functionName - unexpected'); the condition fails (which shouldn't happen, but others can change document structure eg
 
damn he got fat
 
throwing errors is fugly
 
@KarelG Consider using npmjs.com/package/warning perhaps, then it's a noop in production
If I recall correctly that's what react is using for its proptype warnings
 
just checked a newspaper feed " girl (17) awaits a lifelong prison after raping a male". That's quite rare to see that
 
10:50 AM
1 message moved to Trash can
Spamming your question isn't going to get it answered.
 
1
Q: How can I press one of keyboard's button by jQuery?

Martin AJHere is my code: $("input").on({ keydown: function(ev) { if (ev.which === 27){ // esc button backspace_emolator(); } else if (ev.which === 8){ // backspace button console.log('backspace button pressed'); } } }); function ba...

 
@Shashi Its too high I think
 
!!> let a = 1; let b = 10; let func = (nana, a, b) => (a + b + nana); func(100);
 
@KarelG "NaN"
 
Is it your second job? A solid raise when you leave your first job is something I'd expect but you obviously won't increase 60% every time
 
10:59 AM
!!> const a = 1; const b = 10; const func = (nana, a, b) => (a + b + nana); func(100);
 
@KarelG "NaN"
 
i need to recheck my ideas of arrow functions ...
 
@FlyingGambit if you are not confident don't go that high. It is always about confidence when you quote a salary.
 
o wait ... i have to use (nana) =>
 
OMG, why people don't even understand what's my question :-(
 
10:59 AM
but still 40% is minimum you should ask.
 
@Shashi How much experience you have ?
 
@FlyingGambit 3.2 years
 
@MartinAJ You cant physically make JQuery press Keyboard buttons
 
before that I did some live projects.
@FlyingGambit you ?
 
2.9 years
 
11:01 AM
@FlyingGambit kidding, right?
 
@MartinAJ Yes, XD
 
:-)
 
@FlyingGambit not much difference then, dude quote a good salary and wear the confidence, you will get it! TRUST ME
 
@FlyingGambit I'm glad, you know, you're the only one who at least understands my question !
 
@MartinAJ Just splice it
 
11:02 AM
@BenFortune can be please more specific?
 
@MartinAJ You already have a correct answer, what's up with that?
 
@BenFortune which one is the correct one? There is three wrong answers !
 
They're all right.
 
then you don't understand what's my question
 
Your question sucks, and can't be done.
 
11:03 AM
Ah .. then the answer is "doing that is impossible" .. thx
 
107
Q: Trigger a keypress/keydown/keyup event in JS/jQuery?

AlexWhat is the best way to simulate a user entering text in a text input box in JS and/or jQuery? I dont want to actually put text in the input box, I just want to trigger all the event handlers that would normally get triggered by a user typing info into a input box. This means focus, keydown, key...

@MartinAJ ^
 
@FlyingGambit I'll take a look at it, thx
 
@Shashi Please come to the private room
 
does anyone knows about a pigeon ?
 
the one that flies ?
 
user6619012
11:14 AM
is below code is wrong ?
 
user6619012
if (classN=="Black" || classN=="Green"|| classN=="Red")
 
user6619012
because its not working
 
user6619012
but when i used this code , its working :
 
user6619012
if (classN=="Black" || classN=="Green"||)
 
classN=="Black" || classN=="Green"|| is wrong
 
user6619012
11:15 AM
sorry that is typo
 
user6619012
if (classN=="Black" || classN=="Green")
 
user6619012
this is correct one
 
put a console.log() above your condition and check its value
console.log(classN)
 
@FlyingGambit yes flying pigeons
 
user6619012
@FlyingGambit you are champ, lovely its working, thanks a lot......
 
11:20 AM
@user5348fh8y5 is he a champ because console.log() solved your problem?
 
@user5348fh8y5 console.log was just for debugging , hope you understand that
 
user6619012
yes @NullPointer absolutely right......
 
@Shashi I don't use emacs because there are better operating systems.
 
@FlyingGambit i see you have learnt alot from me
 
user6619012
@FlyingGambit yeah buddy, JS is awesome if we learn......
 
11:21 AM
@NullPointer You are just Jealous
@user5348fh8y5 It gives you wings ;)
 
user6619012
@FlyingGambit yeah, right.... hope i will fly one day like you guys.... @NullPointer
 
Yes, flying gambler
 
flying gambler :D
 
little flying poot :D
 
I need to add something like this to a web page
like loads of them
just for fun..
 
11:27 AM
Annoying GIFs aren't fun
 
@OliverSalzburg suggest something better
not working here :( - jsfiddle.net/0deuvvu4
 
@Mathematics You're linking a webpage as an image...
 
@BenFortune all I want to do is to have birds flying over any html page, not effecting the page, this is the best I came up with
got it...
 
@littlepootis lol
@FlyingGambit I was AFK, you there ?
 
11:35 AM
@Shashi Yup was on a call
 
@FlyingGambit I am in the private chat room in case you wanna discuss
 
!!afk fun
 
@Shashi I am there
 
0
Q: Remove script tags only from variable containing entire web page

David StewartI have a webpage that gets most of its content via API calls to a cloud database solution. The HTML page is fairly barebones but gets much more data injected through a number of JS/JQuery commands, etc. The resulting page represents a "Quote" which I'd like to save back into the cloud database f...

Wurt?
 
!!wat
 
omg
 
Ohh yea.
@Loktar @FlorianMargaine @KendallFrey Friday Friday gotta ping you on friday
 
oh shit
 
12:02 PM
@Mathematics Drugs
 
that's a dirty database
 
@BenFortune few days ago, u sent me a JSFiddle for toggling multiple classes, remember :)
 
I member
 
now this thing is getting far complex... think I will have to add backend function to it
 
oh, I thought that web developer meant more like fullstack dev, not less than front-end dev: payscale.com/research/UK/Industry=Web_Development/Hourly_Rate
 
12:07 PM
@BenFortune do you still have link to that JSFiddle :)
 
also, are those wages realistic?
 
@towc if people is confused, then would they not enter incorrect data ? :D
 
why would u care
 
I guess I could only call myself a professional full-stack web dev once all of the list was green docs.google.com/document/d/…
 
12:11 PM
C++
yep, you'll definitely need C++ as full stack dev
 
@BenFortune thanks
 
dat irony?
 
depends on your definition of full stack dev
 
just wondering how many technologies should I know and how flexible do I need to be to get that £34/hr
£70k/yr sounds really sweet
($86k)
 
well, you'll probably be fine to start out with a good grasp of one of the major backend langs, a good understanding of the frontend, SQL and some unix knowledge, just to get your foot in the door
everything above that then is great, but you'd get into really obscure stuff to find a C++ or Haskell backend
modules maybe, but even that is not too likely
 
12:16 PM
haskell is worth learning regardless of utility ;)
it also looks good on a CV I guess
people may think I actually went to uni
 
sure, anything looks good, I'd still put Python (or in general something that might be useful for your employer) above it
but you pretty much did that anyways, so that's cool
what's Rainbows?
 
a joke
 
ah, okay
 
@towc I'd suggest focusing on things you'll actually plan on using.
 
@towc Its not about the money, it should be about your dedication towards the technology
XD
 
12:20 PM
@littlepootis I don't know what I'll use until I get asked to use it. Chances are I'll get asked to use something after I know how to use it
 
his rainbows reflect his love towards technology as a whole
 
^
 
@towc If all you want to do is webdev, don't bother learning a dozen languages.
 
well, ideally I would actually go into research
but it would have to be corporate research, as I'm not going to uni
and for that I need to get up the ladder
and for getting up the ladder I do need to be proficient in many things
 
can you build android app using heroku for storage? does heroku only suited for web apps only?
 
12:23 PM
talk about being proficient, I need to help some kids with studying maths
 
I'd be pretty hard to get into any kind of research without a strong academic background. .
 
@littlepootis I do realize that.... which again is why I want to learn a lot of things companies will like
 
But this is too many things.
What kind of research plan on doing?
 
@littlepootis if I could pick, I'd live in a world made of lambdas
but that's not going to be useful to the industry, so they won't let me
alright gotta bounce
 
you can go for haskell
there are some vacancies for that in belgium. Well paid but hard to find suitable candidates
i'm talking about 250k per year nett
that's...
!!afk
 
12:27 PM
hello again
 
@KarelG wat
 
user6820627
@TheSockpuppet hello
 
@LearnHowToBeTransparent My shoes are blue with yellow stripes and green stars on the front.
 
user6820627
@littlepootis see my bot just ping it and say a single word
 
12:30 PM
A quick question, I was thinking about starting with python tutorials tomorrow. Should I instead start with Haskell ?
 
user6820627
@FlyingGambit python is easier.
 
To be honest, I don't know what Haskell is even used for
 
user6820627
:number three and 5211211 python is suitable for both children and adults.
 
@FlyingGambit In the industry? Not much. But it's a great way to get used to functional concepts.
It's good for things like project euler
 
@KendallFrey Then its no use for me, what about python ?
 
user6820627
12:34 PM
@KendallFrey idkwtf is haskell. project euler? i only need js + brute force to solve all the problems. so simple. why should i touch haskell?
 
I want to learn technologies that will earn me some money
 
python is used in basically the same way as node.js
 
user6820627
@FlyingGambit ask @BhargavRao in SOBotics
 
serverside and desktop scripting
@LearnHowToBeTransparent ???
@LearnHowToBeTransparent You can't solve all the problems with brute force
 
@KendallFrey Anything specific I should be looking for ?
 
user6820627
12:38 PM
@FlyingGambit why dont you stick with js?
 
@FlyingGambit um. You appear to be looking for a new language to learn.
 
@littlepootis tru, unis in western europe are well financed through private and government contracts
 
@littlepootis it was a 5 year project, something about self learning algo's and automated trains. They were looking for Ada and haskell programmers
 
@KendallFrey Yes something that adds value to my career
 
12:41 PM
Not sure what happened. Either they redesigned it to a different architecture
or they dropped it
 
@LearnHowToBeTransparent I have worked on ExtJS and vanilla JS and kind of working in Angular JS now (planning to study this along with some other technology)
 
user6820627
@FlyingGambit if so imo the best is C
 
user6820627
but i think you know C
 
@LearnHowToBeTransparent well little, forgot many things, but at one point i could write a lot of C functions XD
 
user6619012
0
Q: Display related images based on text name

user5348fh8y5Instead of "Black and Green" text, We are displaying "Black & Green" images with help of below code. What we want is this concept should work for all colors, for that one solution is i need to write manual code for hundreds of colors as like below to make it work for all colors. but i think t...

 
user6820627
12:47 PM
1. Say H
2. Say He
3. Say Hel
4. Say Hell
5. Say Hello
6. Say Hello,
7. Say Hello,
8. Say Hello, W
9. Say Hello, Wo
10. Say Hello, Wor
11. Say Hello, Worl
12. Say Hello, World
13. Say Hello, World!
14. Everyone knows how to print text on the screen. What else can you do?
 
user6820627
Can you make Tetris? Can you make Flappy Bird with C? If not, learn how to make games in C. It would be very helpful
 
Helpful if your goal is making games in C
 
@FlyingGambit system programming, Rust, Go, C++, C, D, Nim, that would really be useful
 
@LearnHowToBeTransparent Have done all that, made a Taj Mahal in C Graphics, made tic tac toe, a sliding shooter game etc
 
user6820627
@FlyingGambit have you done 3D? i think yes.
 
12:51 PM
@FilipDupanović is Rust and R same ?
 
user6820627
nope.
 
@LearnHowToBeTransparent 3D is a no :C
 
no, R is more for statistical analysis methinks
 
user6820627
@FlyingGambit you know what to learn now. go learn it.
 
making a game in C is a very difficult thing to achieve
 
user6820627
12:53 PM
@KarelG that's what teachers say. making a game in JS is easier?
 
unless it's something simple...
if you compare that to C ? yes
 
SDL is pretty simple.
 
Have to write a lot to see results in C
JS games are much easier
 
user6820627
@FlyingGambit if webgl, you have to write a lot to see results, too
 
hmm true
Go lang seems to be picking up pace
So is Scala
 
user6820627
12:56 PM
can you recommend me an interactive webgl tutorial?
 
Read a book
 
Why webgl?
 
user6820627
@OliverSalzburg book is a non-option for me.
 
@LearnHowToBeTransparent Thats not good
 
user6820627
12:58 PM
because it's impossible to buy one. books on amazon?
 
After reading some chapters of the book YDKJS I feel empowered with knowledge. Some books are too good, you should not miss them
@LearnHowToBeTransparent Lot of free pdfs available
 
impossible to buy books?
 
user6820627
@FlyingGambit ah
 
@LearnHowToBeTransparent Back in the day, I got started with OpenGL at nehe.gamedev.net
I would assume if you know how to use OpenGL, you'll pick up WebGL pretty quick
 
@LearnHowToBeTransparent webglfundamentals.org is nice\
 
1:01 PM
The hard part isn't really the technology, it's 3D and math in general :P
 
@OliverSalzburg Where would indie developers get 3d models from ?
most of them are very costly
and to make one blender is tough and needs talent
 
eh don't talk about euclidian distance
 
@FlyingGambit for something specific?
 
@GNi33 yeah like baby trump model
thats an example^
 
hehe
Depends on the graphic style, I could make some for you probably
 
1:08 PM
a pixelized trump ?
 
@FlyingGambit I only used procedurally generated meshes
 
@FilipDupanović nice
 
Using professionally made models is a huge task. Loading those meshes can be complicated and you might need a complex animation system to make them work
Just go the Minecraft route ;P
 
@FlyingGambit there are enough model files on the web, created by designers.
 
user6820627
1:09 PM
@OliverSalzburg yes, math. i havent learned matrices
 
"trump is going to be a box, until we get better financing and make some hires"
 
@LearnHowToBeTransparent they are surprisingly easy
 
@GNi33 Yay, will keep that in mind, someday I will want a sparkling Trump baby
 
haha, alright
 
user6820627
@GNi33 i remembered i have killed myself by asking a stupid three.js question.
 
1:13 PM
> i remembered i have killed myself
so meta
 
@LearnHowToBeTransparent I've got a 3D math primer book. It has everything you'll need. I'll give it to you if you want.
 
@littlepootis can you share the title, I'm also looking for good math material to study
 
@FilipDupanović Fletcher Dunn
3D Math Primer for Graphics and Game Development, 2nd Ed
 
guys I gotta learn react-native in two days
do I not suck enough to do it?
 
good luck
 
1:26 PM
Depends on how much you like Java/ObjectiveC
unless you're not going to write your own components
 
I really dislike java :\ it's way too strict
 
and java really dislikes you :/
 
Well there's lots of components you can use so you don't have to write native code
 
☕️
 
Can you use swift instead? Swift is alright
 
1:31 PM
I dunno, I looked at it, went nope-nope-nope and found a package with material design components for react-native
Then it's pretty much like writing normal react but with a slightly more complex workflow
 
user6820627
webglfundamentals.org is acceptable for me. i'm reading it. will come back if i dont understand.
 
id go with linear algebra before attempting to learn webgl / opengl, vulcan or directx
Also knowledge of classic C really helps
 
user6820627
@Asperger i just want to get shit done real quick i dont want to learn the things i dont use
 
you don't know you can use it till you learn it
 
1:38 PM
@LearnHowToBeTransparent if you ask me thats wrong unless you just need something fast for a client
if you want to use it often learn it or you will be a parrot
You need some basic understanding if you want to transform a 2D image in 3D space for example. How buffers work, what index buffers (when they are good and bad) and so on
you need to know the graphics pipeline too or you will just be guessing, not knowing when to call which function. Webgl is a huge state machine by the way
so you need to learn how that state machine works
 
@LearnHowToBeTransparent That's not really how it works
 
user6820627
wow... there's so much things to learn
 
There you go. That's the attitude.
 
user6820627
!!afk bedtime
 
@MadaraUchiha creating an AST was the most productive advice I ever had. You were so right. I even managed to plan an IDE with sequence and class diagrams in visio thanks to the new direction xD
 
1:53 PM
@Asperger Generally speaking, you almost never want to be working with strings.
 
I think I saved months of time
 
You want to be working with objects.
 
Man im so thankful, seriously
 
Regex and string manipulation should be the very last resort.
 
ya you are right. Its far too complex and ends up pretty ugly
 
1:54 PM
Glad I could help :)
 
@MadaraUchiha id like to give you some bonus points. Any way to transfer those? I dont really care about points and thought you deserved 500 rep
 
Heh, you could always place a bounty, but I don't particularly need the rep either.
Tell you what
As a thanks, take any open source project you use regularly, and solve one ticket
Ping me on the pull request
 
how do people implement those links that open up external programs? Such as curse or the app store
 
Deal? :)
@corvid Special protocols
 
@MadaraUchiha haha ya, cool deal ; )
 
1:56 PM
Like mailto:
@Asperger Great, I'll be waiting 😀
 
@Asperger was sentenced to community service.
2
 
@Asperger you can update the docs, just skimmed and there are no topics on parsers, no link to astexplorer.net
 
@FilipDupanović sorry what?
 
Oh! thats what you mean.
 

« first day (2288 days earlier)      last day (2665 days later) »