« first day (3456 days earlier)      last day (1483 days later) » 

Tay
9:15 PM
Hey, guys, whats a good way to just remove the latest array value, and use .push to push it into a different array, and do the same backwards
My array is storing every change and every update, so undo would be really easy to setup
functflow.github.io/DynamicDrawingUtility - As seen here, Im using 3 canvases, 1 = Final Ouput, 2 = Main Drawing Table, 3 = Drawing Table for Shape Tools
and then everything I want to store and render is all hidden in the class within the this.history array
this.history = [
  [0, 0, 5, 5], // Line Shape Tool
  [4, 7] // Free-draw Tool
]
And they stack up infinitely
 
!!mdn array
 
Tay
Oh I've been passing in and out all day, I must be light headed
wtf, I just realised how dumb my question was
lol alright I got undo and redo finished :P
That was easy
Although its not technically a real undo, It goes off the latest change in the array (everything is stored based on when it was created)
pops it, then pushes to redoHistory and updates the drawing Board.
Same thing for redo, but backwards
Even better, since it goes off latest changes, I can undo specific portions of the line
like a smartboard
Yup, finished, https://functflow.github.io/DynamicDrawingUtility/

Test it out for me, to erase lines, hit ctrl+z once, to erase free drawn lines, hold it down. same for spray can

Ctrl+y is redo obviously and works the same way
 
 
1 hour later…
Paz
11:03 PM
For some reason the 'await' keyword is not working on Build version of this next code:
https://pastebin.com/inJ3FYh1

any ideas? It's a small function. rsa.generateKeyPair returns a promise which later resolves.
 
posted on April 02, 2020 by Ben Mason

Hi everyone! We've just released Chrome Beta 81 (81.0.4044.91) for Android: it's now available on Google Play. You can see a partial list of the changes in the Git log. For details on new features, check out the Chromium blog, and for details on web platform updates, check here. If you find a new issue, please let us know by filing a bug. Ben Mason Google Chrome

 
11:23 PM
Hi
 
@Mr.Jo Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
 
Is someone here?
 
what's up
 
user11867329
Yo
 
user11867329
Anyone know what's the smartest way to download all medias from a product's picture gallery?
 
user11867329
11:28 PM
programatically ofc
 
@OakDev Sadly not
Does someone has worked with chained method calls?
 
user11867329
You speak for everyone?
 
@OakDev Selenium?
 
user11867329
Ill check it out
 
of course not
 
11:31 PM
@OakDev Nope. Just for me sir
 
Or Puppeteer as mentioned earlier
@Mr.Jo Elaborate
 
user11867329
Puppeteer!
 
user11867329
Also, is it possible, from what you guys know, to use the payment info submited by user on Site A
 
Just ask your question
 
user11867329
to do an order on Site B with
 
user11867329
11:32 PM
with curl or wtv
 
smells like xy
 
user11867329
Say for dropshipping purposes
 
what is the scenario
dropshipping? you're going to have to give more detail than that
 
user11867329
so the client doesnt have to wait
 
user11867329
Ok ok
 
user11867329
11:32 PM
Website is an agglomeration of 1000001 products
 
user11867329
from many other sites
 
if you mean that you're hosting a website and you want to harvest payment info from other websites the user has visited
 
user11867329
Nonono
 
then you're going to hit a dead end really quick
ok
 
user11867329
nothing fishy
 
user11867329
11:33 PM
dont get your panties in a twist
 
I wish i had panties :(
 
it doesn't matter what your intentions are if you're breaking the same security rules
 
user11867329
but if I need to order, and reship, it will take too much times
 
user11867329
I'll take care of securing afterwards, I need to know if, first of all, it's doable
 
your question isn't making sense
where do the users input their payment info
 
user11867329
11:34 PM
What is the question you're looking for
 
user11867329
My payment platform
 
user11867329
Direct to my account
 
okay, are you asking how to store their payment info?
 
user11867329
Ok, I mispoke, (sorry, not super sharp atm)
 
user11867329
Basically, client order item 1023
 
user11867329
11:35 PM
I get payment, I order with MY payment details but ship to client's address
 
user11867329
on another site
 
user11867329
because I do not manufacture or store items (dropship from various sites)
 
right right
 
user11867329
but I would need to have it done programatically
 
user11867329
otherwise, it'll end up being work
 
user11867329
11:36 PM
and I'm not into this whole coding stuff to do work
 
programmatically enter payment details into a website?
same answer as above, use a webdriver. selenium or puppeteer
 
user11867329
Yeah but
 
user11867329
captchas and account creations
 
user11867329
right?
 
user11867329
different shipping addresses
 
user11867329
11:38 PM
same billing
 
user11867329
hit me with smarts
 
user11867329
a good 2x4 of pure smarts
 
user11867329
Okok, I spoke to myself.

Do you have leads about how to use harvested shipping info to include in a puppeteer script that is already done for that purpose
 
user11867329
(ordering from websites programatically, provided you feed it user:pass or something)
 
user11867329
Do I need to go to sleep?
 
11:46 PM
No shortcuts
 
user11867329
Depends
 
user11867329
There's always snap guns and nylon ladders
 
I have no leads for you
I think that this is the whole point of dropshipping
This part is automated away by signing resale agreements with the manufacturers and then you're just a retailer
 
user11867329
but The Social Network, he did the whole thing with no approvals
 
user11867329
<:(
 
11:52 PM
10/10 by the way
 
user11867329
Big ups to my italians
 
user11867329
for my theatrical personality
 
never watched tsn
 
user11867329
me neither... ?
 
user11867329
Oh
 
11:53 PM
what? then why....
 
user11867329
I thought you meant the sports thing
 
user11867329
TSN
 
user11867329
sports channel
 
ok good
 
11:53 PM
oh. lol no I don't know what that is
 
user11867329
I mean
 
user11867329
Say there's a popular website
 
You won't be disappointed, whenever you can, watch it
 
user11867329
that sells, idk, tools
 
user11867329
super popular tools
 
user11867329
11:54 PM
very good/cool tools
 
user11867329
but they dont have any reselling programs
 
user11867329
I have a website that recollects many tools
 
user11867329
that brand included
 
Anybody experience with Firebase?
 
user11867329
I do
 
user11867329
11:55 PM
but they have 20 variations of the same tool
 
user11867329
So I need a variable product for all variation
 
user11867329
but there's 60 products and 50 different similar brands
 
user11867329
How do I not spend the next week manually doing it AND having to keep an eye on price changes and such
 
user11867329
(gigantic question, I know)
 
user11867329
What's your take on that @forresthopkinsa
 

« first day (3456 days earlier)      last day (1483 days later) »