« first day (3293 days earlier)      last day (1649 days later) » 
00:00 - 13:0013:00 - 00:00

1:00 PM
also hi! i'm not new to js but i'm new to here!
 
@Atulkumar lemme give you a hint
 
Well, pasting code and asking people to tell you whats wrong isnt the correct answer
 
> if((e.keyCode==13||e.which==13) && !event.ctrlKey){
 
ok.
isn't that Ctrl key id?
 
euw.. that if statement gives me PTSD from the Lua age
ffffsssss
 
1:01 PM
also FFS use spaces
 
factorio uses lua
been wanting to learn so I can create my own scenarios
 
factorio uses lua like roblox to modify data and create scripts
 
@Neil all software uses Binary
I have been wanting to learn it 😃
(</reallybadjoke>)
 
binary?
 
I believe games just use lua because its a simple logic language
 
1:03 PM
On a more serious note, I have been trying to program something to parse youtube.com/watch?v=nlowbwDaMn4 @MadaraUchiha
 
thats why roblox and cheat engine use it
 
oh, that was a joke?
┌─┐
┴─┴
ಠ_ರೃ
 
you cant really... learn binary.. its just a 10101010101 format to store bytes
but you CAN learn how to dissasemble Assembly
which is basically Binary converted to words
 
@ShrekOverflow As in, input a video, output a string of hand signals?
 
No
input a video, control a game characters actions
 
1:05 PM
it is confusing like COW Language.
 
COW Language?
 
binary i mean.
 
lol sounds like a deprecated thing from 1980s
 
oh yea
cow lang
 
but I am realizing the sad fate, it might just be easy to just let the user play match 3 instead ._. for mana
 
1:05 PM
._.
nice.
 
.-.
 
hand signs are in-consistent so each possible move becomes explicit keyword
(Yeah I took the hand signs -> turing complete language thing seriously)
@MadaraUchiha to make things more fun its actually - youtube.com/watch?v=EjlMyQeWUt0
(long term)
 
can you make sites with node?
 
Node is js...
you can make node packages for websites
I believe you can also use node extensions and libraries (installed via npm commands)
 
IKR.
 
1:08 PM
?
 
oh
that node is js
Thank you both :)
 
node.js
read the name of the program XD
 
yes.
 
@EchoDino yes
You can make websites with anything that can open a pipe / socket
so --- even bash
 
Im moving to IT Class period
 
1:09 PM
kay
 
be right back
 
why it doesn't have any mascot?
 
i can make bots by node.js
 
yes
the answer is always yes (can I do X in Y langauge)
 
1:12 PM
of course.
my pfp is not updating?
 
where X belongs to reasonable possibilities
for instance
can I make an Arc reactor in node
 
@ShrekOverflow my bad thanks for the help i'm sorry a bit stressed out with the project
 
-- no
 
oh.
i see.
i have a node.js bot btw.
 
Lol I just heard that in IT class we may be making websites tomarrow
good thing I already have whole website created H-H
Im doing IT class on purpose for free Technological Education Credits for highschool
 
1:19 PM
you might learn something useful
 
and because I already know a lot of stuff in this subject
Weve mainly been working with networking though
 
knowledge !== application of it
 
^^^^^
Thats also why I joined this class
 
so don't "H-H" it
 
I want experience physically doing something
 
1:20 PM
Knowledge is knowing a tomato is a fruit. Wisdom is not putting a tomato in your fruit salad.
3
 
im starring that...
 
knowledge is knowing how to build a computer. Wisdom is not wasting your time doing it.
 
^
 
@ShrekOverflow i have seen yours process :P
it takes time, true
but if you follow up hardware, then it goes with a bit ease
 
It's not worth it if you are paid enough
just pay someone else, save time
unless you wanna do it as a hobby :P
 
1:26 PM
that is why Loktar follows hardware news often
 
I follow it too
(for the stocks)
 
stocks?
do you invest in hardware company stock shares?
 
for once my class is actually talking about programming
how fun...
Some of the kids here get amazed by watching me write "div" and then a magical box appear
 
Oh.
I prefer coding as hobby because it is fun to me.
 
Hi
I try putting trim
but it doesn't remove '(\t abc)'
 
1:36 PM
@Neil @Neil how would I do this?
 
Trim on js?
 
yes
 
What's your trim data?
 
$('input').val(function(_, value) {
   return $.trim(value);
});
Like this
it is still "\t abc"
received in my controller
 
@Shad trim removes only whitespaces ...
 
1:38 PM
@zadders modify the backend to send all the information you require in the response
 
As you said.
 
no tab space :P?
I can trim at backend
 
If I request to update record 1, then the response could be to return the newly updated data for record 1 in json form, that I could use to update the page
 
but it should be right in front end
 
@Shad it does trim tab spaces, unless if it is not literal
 
1:39 PM
@KarelG how are you!? :)
hmm
I wonder why it doesn't work
 
eg '\t foo'.trim() should yield 'foo'
but literals
 
'\\t foo'.trim() does just give that back
 
Ello
 
hi Echo
 
1:41 PM
@Neil Is there no way for this to be done from the front-end? to re-display a n updated list upon POST request submission?
 
but Shad, you're using jquery trim
I am not responsible for jquery quirks :P
 
Oh i was answering Shrek. XD
Can js trim work like php one?
 
hmm
@KarelG you never come in c# room?
 
I mean like php doestrim($value, "/")to trim / from the string
 
@zadders if you use ajax for this, then you could in theory download the whole page..
but you'd have to literally extract this information you require from the page itself..
far from ideal
 
1:52 PM
I am using AJAX form
I try to reset value using onBegin
function but it has no effect
in controller the parameter seems to be mapped to take the object (via same name attribute)
but I can't make any dynamic change?
 
@Shad no?
I am active in 2 rooms (and sometimes lurking in C++ lounge) but managing/lurking/following more rooms is hard to do
 
@Neil I'm surprised there isn't a much easier way to just reload the component without the page refreshing. because the new data is getting added to the API, I just need it to simply load in the new set of data
 
@zadders you're limited by what the server lets you do
if the server says "access the page to see an updated version" and provides no other way, then you're stuck with that
 
2:14 PM
"kubernetes" is fun to say
 
What?
Oh i get it.
 
No joke it's just fun to say
 
If you're an antivaxxer, you'll get this: measles.
 
 
2 hours later…
4:28 PM
posted on October 22, 2019 by Bethany Nicolle Griggs

Notable Changes assert: If the validation function passed to assert.throws() or assert.rejects() returns a value other than true, an assertion error will be thrown instead of the original error to highlight the programming mistake (Ruben Bridgewater) #28263. If a constructor function is passed to validate the instance of errors thrown in assert.throws() or assert.reject(), an assertion error w

 
 
1 hour later…
5:29 PM
Hey guys
Any idea why is this not rounded ?
 
user8729657
What's not rounded?
 
Lol
I'm tired
The effect of this fiddle
 
5:49 PM
@Baldráni can't say if it's correct or not, but you can try giving .cart-badge__background a width and height of 1px
 
Yeah dude !
It works well seen :)
 
 
1 hour later…
7:21 PM
@KevinB Your input is requested as well. Any major issues you see? (sorry to ping but relevant to chat)
 
Oh man
 
Uh oh
 
No worries, it's just exciting code
Hold on, arguing with stormhunter about decentralization
 
k thanks
finishing up testing
 
8:22 PM
skimmed it, lgtm
 
 
1 hour later…
9:45 PM
@forresthopkinsa @MadaraUchiha @KevinB I have given the three of you permissions to use eval on my bot for beta testing, if you find and security issues please tell me see below for link to script and how to use:
||> console.log('Hello World');
 
@JBis undefined Logged: "Hello World"
 
Super hot
 
|| eval const x = 5; x
 
@JBis 5 Logged: ``
 
hi
 
9:48 PM
@forresthopkinsa thanks!
 
Can you test it real quick to make sure permissions work?
 
|| eval 3/0
 
@KevinB null Logged: ``
 
||> while (true) { console.log('oof') }
 
9:49 PM
@forresthopkinsa Error running script: Maximum execution time exceeded
 
good boy
 
Hello Friends.
I need your help.
 
|| afk 🚽
 
@KevinB \o
 
@JamesBot this is wrong I think
 
9:51 PM
I have a question. https://stackoverflow.com/questions/58512654/how-to-detect-page-is-updated-after-change-product-options-in-amazon/58512707#58512707
Please help me. Thanks.
 
@KevinB Test afk?
 
@JBis KevinB is afk: 🚽
 
yay
 
it got my name wrong
 
?
 
9:59 PM
trying to trick a recaptcha right now
I think Selenium is adding http headers or something
the recaptcha is not falling for me
I'm doing the tests manually but it's making them way harder than they've ever been for me before
 
I wager they get harder the more you hit them as it gets increasingly concerned about how frequently you're getting tested.
 
That would make sense; however, yesterday, I hit this site manually a number of times and it never doubted me
As soon as remote-controlled Chrome opened the form, though, the captcha immediately didn't believe me
 
Oh, there's a configurable difficulty slider: https://stackoverflow.com/questions/23314528/how-to-reduce-recaptcha-difficulty-level
TIL
 
But I can't find any traces of it in the http headers; the User Agent header looks normal
oh that's neat
this particular site probably has all the features turned on
 
Not sure what you are trying to do but there is a chrome extension to bypass recapchta. Great for testing.
 
10:07 PM
How can that possibly abide by the Chrome Web Store terms? lol
link?
 
(Ok it doesn't really bypass, it uses the audio and a (Google) API to solve it.) But its better than you doing it.
It is very accurate
 
neato
danke
 
Instead of fight fire with fire, fight google with google
 
I'm into it
 
Google is pushing people towards the new "watch every thing a user does and passively determine if they're a bot without ever telling them their humanity is being judged" reCAPTCHA v3, though, so they probably are less concerned with gaming the current iteration.
 
10:19 PM
Well that's basically what it already does
Any page with a recaptcha on it starts watching your movements as soon as it loads
 
Well, in this case, it's watching you from the instant you get to a website as you navigate from page to page and move your mouse, long before you're even looking at a checkout or login form.
 
Hmmm ok
 
So just another small step towards the panopticon.
NPR did a little story on it: npr.org/2019/05/03/720097308/…
 
need to figure out how to escape the "`" character
 
10:29 PM
looks like the chromedriver uses the Chrome Automation Extension, which injects a bit of HTML into every page, and recaptcha looks for that bit of HTML
the PDF doesn't mention the Chrome Extension thing, I just found that info in an SO answer
 
Checks out. SO is just the user service manual for the Internet.
 
yes sir
 
11:22 PM
ended up just using the stupid Selenium IDE extension and rewriting my code in there
downside is that it's very restrictive on what you can program with it, and the script can only be triggered manually
upside is that it runs the script in the active browser session and doesn't make itself known in any way, so recaptcha reads my very-familiar Google tracking cookie and lets me through every time
I've run it like six times now and it still has yet to even test me. so I'm calling this a win
(OTOH if it does end up deciding that I'm being disingenuous, then I've lost six months of Google tracking trust, and I'll probably end up getting prompted everywhere for a while)
 
00:00 - 13:0013:00 - 00:00

« first day (3293 days earlier)      last day (1649 days later) »