« first day (4273 days earlier)      last day (658 days later) » 

1:50 AM
 
 
2 hours later…
3:45 AM
So apparently react native doesn't support yarn workspaces. There are zero excuses for this bullshit. It's fucking Facebook can they not resolve modules properly.
 
 
1 hour later…
4:57 AM
@JBis I don't blame you. It really is garbage.
 
 
2 hours later…
7:01 AM
how to combine key and get the same result?
 
@NetLordOfData Please don't post unformatted code - use the up arrow to edit your post, then hit Ctrl + K to format the code in that post. See the faq. You have 25 seconds to edit and format your message properly before it will be removed. Please separate code blocks from your actual question. Put your question in 1 message and then your code in a 2nd and format it.
1 message moved to Trash can
 
function keyPressed() {
    //if (keyCode === LEFT_ARROW || keyCode === RIGHT_ARROW)
    if ((keyCode === LEFT_ARROW) && (keyCode === RIGHT_ARROW))

  {score += 1;}
}
 
 
2 hours later…
9:06 AM
Hello World!
@NetLordOfData what do you mean with "combine"? Does the person has to press both left and right arrow to get a +1 score?
 
hi anyone worked with dokku?
 
hi special dude.
And no.
 
hi KarelG, did you guys manage to meet in real once?
 
No. But it has happened that a regular has met another regular ect. It all depends of time and location.
 
9:29 AM
@KarelG yes
 
9:41 AM
@KarelG There is a few folks from Europe. In theory, shouldn't be THAT hard to organise a meeting. Then again, not sure how many of the people around here like travelling more than, say, sitting at home.
And there is several people from the US, as well. Same thing applies to them, I suppose.
 
10:15 AM
you need to track it, listen to keydown and keyup events. When keydown is triggered, store this keycode somewhere. Remove it at keyup.
(for performance, you can use objects, may make it simpler. Or just go with an array)
down event -> obj[event.key] = 1
up event -> obj[event.key] = 0

then for score: look for obj[LEFT_ARROW] + obj[RIGHT_ARROW] === 2 (or something else)
 
10:33 AM
@KarelG thank for reply, a very interest information, but I prefer full code for me is better cause I can copy and paste the code and try to understand the shortcut to it
:54827020 //My full Code

var score = 0; //score starts at 0

function setup() {
  createCanvas(400, 400);
}


function draw() {
  background(220);
  textSize(20);
  text("Score: " + score, 20, 120);

}


function keyPressed() {

    if (keyCode === LEFT_ARROW || keyCode === RIGHT_ARROW)

                      {score += 1;}
                      }

/*
you need to track it, listen to keydown and keyup events. When keydown is triggered, store this keycode somewhere. Remove it at keyup.
(for performance, you can use objects, may make it simpler. Or just go with an array)
 
 
2 hours later…
12:20 PM
@JLCarveth Please don't post unformatted code - use the up arrow to edit your post, then hit Ctrl + K to format the code in that post. See the faq. You have 25 seconds to edit and format your message properly before it will be removed. Please separate code blocks from your actual question. Put your question in 1 message and then your code in a 2nd and format it.
1 message moved to Trash can
 
user17615929
How can I set an environment variable on a script that's installed globally? I would have thought that adding the envvar within package.json bin would work but it doesn't.
 
user17615929
"bin" : {
    "mycommand" : "NODE_NO_WARNINGS=1 ./bin/cli.js"
}
 
user17615929
3:28 PM
Instead of trying to suppress the warning, I went about solving the problem in a different way. ExperimentalWarning was firing because I was importing my package.json, so instead I use node's fs.readFileSync() function to read the file into memory and JSON.parse() to parse it into a valid object. This does not result in a warning the way importing does.
 
user17615929
// import pkg from '../package.json' assert {type:'json'}; <-- OLD WAY
import fs from 'fs';
const pkg = JSON.parse(fs.readFileSync('./package.json'));
 
3:51 PM
posted on June 28, 2022 by Giuliana Pritchard

LTS-96 has been updated in the LTS channel to 96.0.4664.214 (Platform Version: 14268.89.0) for most ChromeOS devices. Want to know more about Long-term Support? Click here.  This update includes the following Security fixes: 1324864  Critical CVE-2022-1853  Use after free in Indexed DB 1228661 High CVE-2022-1855  Use after free in Mess

 
4:26 PM
(removed)
 
4:52 PM
@VLAZ I am almost weekly in another country
 
is undefined == null?
 
because they're two diffrenent types, they will be coerced based on the coercion chart
 
I assume the above is truthy
 
it will be
 
o/
 
4:59 PM
!!mdn equality
 
!!mdn sameness
 
neither can be coerced to the other, so both will be coerced to boolean
false == false
 
@DimitrisPapageorgiou Yes. The only value null is loosely equal to is null or undefined. Same with undefined - it's only loosely equal to undefined and null. IMO, this is the only case where it makes sense to use loose equality. Otherwise you have to write x === null && x === undefined
 
5:07 PM
ok...
 
 
4 hours later…
9:28 PM
hi, wanted some help to name 2 propeties. have a job object, one attribute is its status in the pipeline (DEFINING, DEFINE_ERROR, SUBMITTING, QUEUED, PROCESSING, REQUEUED, DONE_OK, DONE_ERRS) another is its sub task's status, with values like QUEUED, DONE, ERROR, what to call these ? just status for both or more descriptive?
 
you could mess with future devs/future you and name it 'jQuery' and 'jQueryUI'
 
 
1 hour later…
10:39 PM
posted on June 28, 2022 by Release Managers

Hello Folks, The Beta channel is being updated to 104.0.5112.23 (Platform version: 14909.26.0) for some ChromeOS devices. If you find new issues, please let us know one of the following ways File a bugVisit our Chrome OS communitiesGeneral: Chromebook Help CommunityBeta Specific: ChromeOS Beta Help CommunityReport an issue or send feedback on ChromeInterested in switching channels?&nb

 

« first day (4273 days earlier)      last day (658 days later) »