« first day (3699 days earlier)      last day (1463 days later) » 

01:42
New package: apple-serial
what is @ᖴeeds doing here?
thats great haha
 
6 hours later…
08:14
> (removed)
0.o?
is @ᖴeeds ok?
08:26
Is it possible to start a seperate chrome browser with an desktop icon? For example, only when I click on this specific chrome browser 5 tabs with specific sites will get open?
09:23
Yeah, just setup a profile and get it to launch that profile
10:01
Hi, in express how can you create an endpoint that accepts both an authenticated and unauthenticated user?
10:26
Hello
@JBis can you help me ?
10:38
Hi overlapping after flip to landscape then flip back for Apple app in Iphone 8x
We have tried to adjust using meta content but not working in iphone8x other iphone v working fine.
How can remove this overlapping for iphone 8
 
2 hours later…
12:55
@KerrialBeckettNewham extremely implementation dependent
no idea without more info
@MileMijatović Just ask
13:26
@JBis well I've set up a middleware to check if the user is authenticated. gist.github.com/Kerrialn/03f0b7bf5e534c7265b5c5913c03203e
well maybe don't throw if there isn't a user
14:04
What do you guys use for continuous deployment?
@JBis was that a general question in the room?
Yes
Well, my company is using GitLab, so GitLab CI/CD (using docker runners) mostly
read about about jenkins and travis but never realy came to test/use it
@JBis Fuuuuuu!!!! been stuck on that for ages!
14:25
@makadev interesting
14:44
@JBis soso, since it was my first CI/CD I'm glad it was well documented and tightly integrated in GitLab. I did setup the runners, fixed several caching problems and whatnot, added a docker repository as pull-through cache and so on.
but it's not very flexible due to it's integration
If I get some time and ressources (maybe another dev/spare server) I'll check out jenkins.
15:23
@makadev I think I'm going to try and build my own CD service. Can't find something simple. Jenkins is way to robust for what I need.
is it possible to send ng-template to child in angular and apply a (click) on that child with a function from the child
15:45
hello
Anybody know why this code is only making one falling square?
var canvas = document.getElementById("ok");
var ctx = canvas.getContext("2d");
var y = 0;
var Rg = Math.floor(Math.random() * 480);
function newBall(x) {
  ctx.clearRect(0, 0, 1000, 1000);
  ctx.fillRect(x, y, 20, 20);
  y++;
}
function newFaller(x) {
  setInterval(() => {
    newBall(x);
  }, 5);
}
function generateFaller() {
  Rg = Math.floor(Math.random() * 40);
  newFaller(Rg);
}
setInterval(generateFaller, 1000);
:shrug:
what looks odd to me is how you're creating an interval in an interval
so every second you're adding one more interval that creates a newBall every 5ms
yeah
ok thx
dunno what that has to do with a square tho
this is what im trying now, but this just doesnt generate anything
var canvas = document.getElementById("ok");
var ctx = canvas.getContext("2d");
var y = 0;
var Rg = Math.floor(Math.random() * 480);
function newBall(x) {
 while(y<480){
  ctx.clearRect(0, 0, 1000, 1000);
  ctx.fillRect(x, y, 20, 20);
  y++;
}
}

function generateFaller() {
  Rg = Math.floor(Math.random() * 40);
  newBall(Rg);
}
setInterval(generateFaller, 1000);
tldr that's a recipe for unexpected results, you're flooding the callback queue with callbacks, potentially faster than they'll be processed in the expected amount of time
(to the previous version)
huh... wouldn't clearing the rectangle on every iteration delete the work done in the previous iteration?
i have basically no experience working with canvases, so maybe i'm just not understanding
15:55
@JBis Ye, simple they are not. Sometimes a good old commit-hook or monitoring script would do for CD.
what i do know is the while loop isn't going to wait for the square to render at x,y before it goes to the next iteration, which clears and then draws a new, repeat 480 times
so in theory the last square should eventually be rendered
but nothing in between
16:34
Any idea why the paddle isn't moving in this code?
var canvas = document.getElementById("ok");
var ctx = canvas.getContext("2d");
const Rg = Math.floor(Math.random() * 480);
function ball(x) {
  this.x = x;
  this.y = 0;
  this.width = 20;
  this.height = 20;
}
var firstBall = new ball(Rg);
function newBall() {
  if (firstBall.y < 480) {
    ctx.clearRect(0, 0, 480, 480);
    ctx.fillRect(firstBall.x, firstBall.y, firstBall.width, firstBall.height);
    firstBall.y++;
  } else {
    firstBall.y = 0;
    firstBall.x = Math.floor(Math.random() * 480);
the event listner isn't calling
17:02
kay solved that
 
1 hour later…
18:04
hello
18:18
anybody know why the paddle keeps moving faster in this game
var canvas = document.getElementById("ok");
var ctx = canvas.getContext("2d");
var loggingMachine = document.getElementById("loggy");
var score = 0;
const Rg = Math.floor(Math.random() * 480);
function ball(x) {
  this.x = x;
  this.y = 0;
  this.width = 20;
  this.height = 20;
}
var firstBall = new ball(Rg);
function newBall() {
  if (firstBall.y < 480) {
    ctx.clearRect(0, 0, 480, 480);
    ctx.fillRect(firstBall.x, firstBall.y, firstBall.width, firstBall.height);
    firstBall.y++;
  } else {
most likely because you're binding events to the document in a function that gets called more than once
18:29
ohhhhhhhhh yeahhhh
thanks
any idea how i could make more balls start to drop? i'm not sure where to get started, so a pointer would be great.
3
if i put the event listner outside of the render function i cant move my paddle
whenever i define the event listener inside of a recurring function, the paddle gets faster, whenever i define it outside of one, i cant move the paddle.
 
1 hour later…
20:07
Hey guys so long !
I know its not the most appropriate place to ask for it but maybe you could help me.
0
Q: Why is my font displayed locally if I have it on my computer but not anymore if I remove it?

BaldrániSO, I've got a font imported locally on my project. // assets/fonts/... > BrownhillScript > BrownhillScript.eot > BrownhillScript.woff > BrownhillScript.woff2 // _font.sass @font-face font-family: "BrownhillScript" src: url('~assets/fonts/BrownhillScript/BrownhillScript.eot') s...

 
1 hour later…
21:27
0
Q: Event listener not working when called outside of a recurring function, but being declared over and over again when declared inside of one?

LlamaButtI am making sort of a "catch the egg in the basket" game, and my controls using arrow keys, run by event listeners, will get progressively more sensitive as there are more and more event listeners that move the paddle, because they are declared inside of the function that sets the game's framerat...

21:54
posted on December 01, 2020 by Daniel Gagnon

The Beta channel has been updated to 88.0.4324.22 (Platform version: 13597.15.0) for most Chrome OS devices. This build contains a number of bug fixes, security updates and feature enhancements. If you find new issues, please let us know by visiting our forum or filing a bug. Interested in switching channels? Find out how. You can submit feedback using ‘Report an issue...’

Is there a way that I could create a new variable based on a variable, for example, I have a variable named X, with the value Y, could I do var X = example value and create a new variable with the name Y instead of redeclaring X to example value?
22:21
i mean
what
22:42
posted on December 01, 2020 by Srinivas Sista

 The Dev channel has been updated to 88.0.4324.27 for Windows, Mac and Linux platforms. 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. Google Chrome  Srinivas Sista

i figured it out i meant like this
1
Q: How to name the variable with the value of another variable? JS

EduardIs there a way to call a variable based on the value of another variable, which is not always the same? Example: var color = 'black'; var [color] = 'whatever'; // the variable name here would be 'black' Reason for usage: In the reducer of Redux I receive an action that holds a particular valu...

22:58
Is there a way i could check if a variable is a multiple of 10?
23:13
yes
23:35
heres some comp sci to blow your mind:
||> console.log(1380 % 10 === 0, 12 % 10 === 0)
@JBis undefined Logged: true, false Took: 0ms
@LlamaButt ^
23:52
Hello
I have a game where the point is to catch the 'eggs' with your basket, and I just don't really know how to get started on generating more eggs as the game goes on. My code is here, any pointers?
var canvas = document.getElementById("ok");
var ctx = canvas.getContext("2d");
var loggingMachine = document.getElementById("loggy");
var score = 0;

const Rg = Math.floor(Math.random() * 480);
function ball(x) {
  this.x = x;
  this.y = 0;
  this.width = 20;
  this.height = 20;
}
var firstBall = new ball(Rg);

function newBall() {
  if (firstBall.y < 480) {
    ctx.clearRect(0, 0, 480, 480);
    ctx.fillRect(firstBall.x, firstBall.y, firstBall.width, firstBall.height);
    firstBall.y++;
  } else {

« first day (3699 days earlier)      last day (1463 days later) »