« first day (3940 days earlier)      last day (991 days later) » 

1:45 PM
o/
Happy Friday
 
2:02 PM
meh
 
Why meh
 
just not a good day, got plenty of things to finish but don't want to :)
 
2:18 PM
I feel your pain
 
2:30 PM
This data is actually going into improving our self-driving car project, so hurry up--it's almost at the minefield.
3
 
wtf
evil
 
2:44 PM
he.. next sudoku capture please..
 
aren't you supposed to avoid clicking the mines
 
Finally, my boredome minesweeper training pays off!
 
brrr.. I realy thought this was one with multiple solutions and only solved the lower half...
I need more minesweeper training
 
3:00 PM
Does anyone know of a website that allows two friends to listen to youtube together and add tracks to the queue etc.?
 
can we subscribe to these chat rooms?
 
@Mr.Panda 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.
 
wdym subscribe
 
you can get an rss feed for a search term on stars
 
@Mr.Panda You can mark the chatroom as "favourite" which will alloy you to find it faster, if that's what you mean i.imgur.com/PCMswi4.png
 
3:17 PM
@JBis you can do it on turntable.fm, i believe
 
3:30 PM
@JBis no but that is a neat idea
 
4:01 PM
hmmmmmm
I'm very confused an unable to find anything on the internet about it. YouTube seems to have the following meta open graph tags for videos.
   <meta property="og:type" content="video.other">
    <meta property="og:video:url" content="https://www.youtube.com/embed/NUTGr5t3MoY">
    <meta property="og:video:type" content="text/html">
Notice how og:video:url points to an HTML page with a video embed NOT an mp4 file
Does anyone know how I can replicate providing an HTML page instead of an mp4 file?
 
is there such thing as a jquery .onClear event??
Have a .onChange that hides a div and I am displaying a new one, but I need to have where when the DatePicker is cleared, the original div redisplays and the new one is hidden
 
check if that library has a such event
 
6
Q: Embedding html5 video with opengraph on facebook

Tom JenkinsonI have built a web site for our student tv station and the concept is pretty similar to youtube. We would like for our videos to be playable directly in facebook when shared, with the videos themselves still hosted on our server and our stats being updated. The player on the site uses videojs an...

 
!!mdn jQuery
 
4:12 PM
can i reask this quesiton? the answer is worthless and otutdated
 
no
you can however ask a new unique question
 
What about if its about imessage not facebook, does that count as unique enough?
lets find out
 
Does not appear there is an event. This will be tricky
 
0
Q: How to emebed HTML file uisng open graph in iMessage like YouTube?

JBisiMessage allows rich previews, including embedded videos, in iMessage. Traditionally, the open graph tags og:video or og:video_url has an mp4 video url for it's value. However, YouTube has the following tags: <meta property="og:type" content="video.other"> <meta property="og:video:url" content="h...

Feel free to mark as dup, if it's not unique enough
 
4:34 PM
@JBis Probably fine.
 
> Covid spreading twice as fast in Republican counties than Democrat ones, report says
|| shrug
 
¯\_(ツ)_/¯
 
4:59 PM
Wow youtube is annoying
Looking into youtube-dl source code. Long story short, youtube provides the url in an encoded format. The algo to decode it is pretty simple. But the algorithm changes randomly. The algo is embded in js on the page so it can be scraped but youtube-dl is in python. So basically, YouTube-dl scrapes the js containing the decoding algo, then converts it to python instructions.
People have done the same thing in PHP.
 
"the algo is embedded in js on the page"
 
5:17 PM
Hey
Hypothetical question, you are a junior dev, and the lead dev leaves quits without a handover. Your expected to deliver a project the following month without much knowledge.
Do you a)look for another senior dev in the company to help out? b) Try to acheive the project milestones regardless without this guidance? c) Something else?
 
If that was me, I would definitely look for help mainly to prevent wasted time, and also because a situation like that would be an awesome learning experience from a senior dev who would probably have you figure stuff out on your own anyway but would be there to coach you along when needed
 
@EvanFraser 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.
 
b if you're confident you can deliver, a if you aren't
 
yeah exactly
 
Yeah im kinda confident that we could do it, but we would need more time than the release date
I have thought about bringing this up with my boss, the fact the lead guy left has been kinda ignored
 
5:28 PM
transparency is important, particularly when there's a good chance for delays
what i always have issues with is when i know there's a blocker ahead that i have no idea how to resolve, and thus can't possibly give a timeline
i could fix it in a single 8 hour day, or think i fixed it in that 8 hour day and realize a week later that i missed something and it can't be used
 
I'm currently working on a small project. There are a bunch of basic dom actions im creating, and im wondering if I should create separate functions for adding/removing them, or just create one function and pass a bool to add or remove, anyone have thoughts on that? im a junior with js so im just curious
 
with my normal work... that's not a big deal
i've been working in coldfusion for 13 years, there's not much there that i can't predict accurately
but... this livecode project?
for an ios app?
not so much
 
sorry i didnt give much detail, its a small ADA compliance overlay im creating. just a side project. Example, I have an option to disable sound, should I create 2 functions, 1 to store sound muted, and another to remove sound muted, or just do 1 with an if controlled by the passed bool?
Theres like 30 options. And some options can enable others if clicked
 
@KevinB yeah I think I'll do that Monday, we have project managers but they seem to be too proud to explain the issues about the project to the boss
 
@VLAZ lmao
 
5:53 PM
@BrianJ explain this to your manager immediately. They can start planning what to do. You can ask for help or you can say you'll do it yourself, if you wish but make sure management is aware of the situation.
The project might be de-prioritised and delayed for later to give you more time.
Or perhaps they pull extra resources to help finish it on time.
However, email any concerns you have.
Worst case scenario - you take up the project and you fail to deliver. You get thrown under the bus.
If you've kept track of issues as they come by and left a paper trail, then you can divert the bus.
 
@VLAZ Good advice, I'm gonna send an email about it
 
6:11 PM
If you have dailies (I hope so), that's also a good place to bring it up.
 
6:24 PM
Yeah I bring it up there, but doesn't get to the manager level
 
6:53 PM
how do you read an image and render in a canvas?
<input id="ts-select-image" type="file" />
 
@SuperUberDuper I can promise you a simple Google search will show you an answer
 
ive googled 20 times
so far no match
nvm
https://stackoverflow.com/questions/5802580/html-input-type-file-get-the-image-before-submitting-the-form
 
21st times the charm i guess :D
 
7:09 PM
Question, why do my console logs only work when I run the function in a try{}catch{}
 
Doesn't make much sense.
 
what do you mean by "work"
 
I mean log
 
What do they do without the try catch
 
with try{...}catch{...}
with try{...}catch{...} commented out
 
7:15 PM
lmao
!!woosh
 
IF I knew I wouldn't have asked
No need to joke
 
// Which of these console.logs would work?
console.log('foo');
// console.log('bar');
 
I delete the try catch and it still doesn't log
Its not because they are commented out, I never commented out the console.log()
 
in the screenshot, there's only one line that calls the function
and in the one where the log doesn't work, the call to the function is commented out
 
7:19 PM
Lmao. I really am an idiot
 
aka the function doesn't run, and neither do the console.logs
 
7:51 PM
Jul 27 at 17:50, by JBis
@BeerusDev just some general advice, I'd work on your debugging skills. I feel like many of your questions seem like little effort was put into debugging.
 
119
Q: What is a debugger and how can it help me diagnose problems?

RaedwaldThis is intended to be a general-purpose question to assist new programmers who have a problem with a program, but do not know how to use a debugger to diagnose the cause of the problem. This question covers three classes of more specific question: When I run my program, it does not produce the ...

 
Ia! Ia! JSthulu fthagn!
 
Hmm. So I want to build my idea, but i face the following problem. I want to access the audio/video files for youtube directly. In order to do this, I must make cross origin requests meaning I must do it server side. However, I will likely run into rate limiting issues quickly if it's not done client side.
hmm, i got an idea
 
8:16 PM
browser extension
 
 
2 hours later…
10:41 PM
posted on July 30, 2021 by Srinivas Sista

 The Dev channel has been updated to 94.0.4590.0 for Windows, and Mac. Linux update coming shortly A partial list of changes is available in the log. Interested in switching release channels? Find out how. If you find a new issue, please let us know by filing a bug. The community help forum is also a great place to reach out for help or learn about common issues. Srinivas Sista Google Ch

 

« first day (3940 days earlier)      last day (991 days later) »