« first day (2822 days earlier)      last day (2144 days later) » 

user7396942
2:47 AM
hi
 
user7396942
 
user7396942
i need help
 
3:23 AM
is anyone familiar with react motion
 
 
2 hours later…
6:40 AM
hi guys how are you all doing today
 
@user3548161 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.
 
can anyone guide me on how to make a node based user interface
looks like everones asleep lol
 
 
1 hour later…
8:14 AM
@towc what the cheapest host that will let me serve my app in VUe html5 mode?
 
github pages
 
you still need a hash in the URL bad for SEO
 
Digitalocean
 
thx, what about AWS or google?
would using a hash bang fix the seo issue?
#! at the end
 
 
1 hour later…
9:53 AM
okay so i am using jest and react-native and I'd like to test an async action creator that returns a promise. however, doing this: Actions.myAsyncAction()(mockStore.dispatch).then(d => console.log(d)) prints nothing to the console. i've put console.log's in every step in between, and they do get printed.
 
@AkaZecik 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.
1 message moved to Trash can
@AkaZecik Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
 
@SuperUberDuper heroku is free
 
^ lol
 
1 message moved to Trash can
@AkaZecik Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
 
it takes 30 seconds for the server to boot up if it hadn't received a request for a while, though
otherwise, again, glitch.com
 
9:56 AM
Well... can't I have both a regular message and a formatted code in the same message?
Ok. I would like to create a function with it's free-value variables somehow changed to its local constants. The example code is here: https://gist.github.com/AkaZecik/61f7f4ee015d144492b199e2f333d5ee
One way to go is to use eval or Function(...), but both solution are kinda inconvenient, because they disable IDE support as they use strings to build/run a function.
 
10:23 AM
AkaZecik like a macro?
idk if JS supports that, since there's not really a compile step
maybe you can program it into your transpiler or something
 
Yes, like a macro.
From XY problem's (https://meta.stackexchange.com/q/66377/369514) point of view, I'm asking Y. My initial problem is I'm creating chrome extension, that injects a code to a webpage and sends a message back. To do that I need to insert an ID of extension. This is a place where I want to change `chrome.runtime.id` to a constant before injecting a function to a webpage (which is serialized before that)
 
AkaZecik, ah - I don't have experience with chrome extensions, so maybe there's a way you can achieve that result that I'm not aware of
a quick google search shows there are some packages for js that emulate macros, so maybe you could start there? sweetjs.org
 
I was able to do that, but it was really difficult to deal with (multiple functions with regexes or plain strings, both inconvenient).
And thank you for the link, I will check it out.
 
11:25 AM
Morning People
Could someone explain, why, If i set an eventlistener to a variable it returns as null and doesn't run
for example - assigning the ID to variable button - then attaching an eventlistener to the variable - It gives me Error: button is null in console
 
11:53 AM
screenshot?
 
12:19 PM
I managed to get it working now
Not sure why it wasn't working in the first place though :/
 
12:54 PM
Hi can someone please help me with file path for my jsx file
I want to get Header.jsx file inside my headerhelper.js file.
Header.jsx is present in client-> imports->Header.jsx
How can I get that file path if I am currently in templates->shared->league_header->headerhelper.js
 
 
3 hours later…
3:43 PM
my express server is returning my index.html file for /dist/bundle.js
i don't know how to configure my routes to prevent this
 
4:09 PM
these two configs are not playing nicely together
```
app.use(express.static(dir));
app.use((req, res) => res.sendFile(`${__dirname}/index.html`))
```
if i swap their ordering, i wind up with different problems
 
 
3 hours later…
6:48 PM
Anyone here with some advanced knowledge on React Context? I need a function as setter, not the component
 
 
2 hours later…
8:35 PM
W-what
I am the only one online here?
lol
 
 
1 hour later…
9:39 PM
Wow, what has just happened to this room?
It was pretty active when I first arrived here.
 
Most off-topic discussion was moved elsewhere
And you haven't said anything too interesting
So no one commented
 
Is it possible to issue a certificate to a client and have javascript silently install it?
 
Nope
JavaScript doesn't install certificates
Well, on Node.js - yes, but not on the client.
 
can I send a certificate through a HTML envelope or something... that installs it?
I'm trying to use/create certificate-based authentication on a massive scale. Getting a user to install it will deter them from using the system. I thought a normal SSL connection created a certificate to a client when a connection is formed, but I wish I knew how to access that certificate and use it as a unique id to secure a session. Instead of a token stored in a cookie
Does any of this make sense?
 
Guys, I installed VSC
And installed ESlint
The problem is that it gives me this message error:
No ESLint configuration (e.g .eslintrc) found for file
I searched in internet about this but I still didn't find any solid solution
 
9:51 PM
@JustinKaz you want users to talk to each other or to your server?
To your server - you'd use https, to each other you'd use p2p tech like WebRTC - in either case you don't need to get anyone to install certificates manually
 
I want to secure a session to a device. But I want the device to be encrypted using the certificate. Kind of a cheat - instead of using a session token in a cookie file I want to use a certificate.
 
printf '\e[3J' is the most useful thing I have learned in a while... It clears your terminal scroll buffer thing in mac terminal
 
10:32 PM
Anyone happen to know anything about this? github.com/foreverjs/forever/issues/1000
 

« first day (2822 days earlier)      last day (2144 days later) »