« first day (3959 days earlier)      last day (1211 days later) » 

01:26
posted on August 18, 2021 by Danielle Adams

Notable Changes fs: experimental: add recursive cp method (Benjamin Coe) #39372 Commits [a80c989306] - async_hooks: merge resource_symbol with owner_symbol (Darshan Sen) #38468 [69a2a6b6c3] - bootstrap: call _undestroy() inside _destroy for stdout and stderr (Matteo Collina) #39685 [5bc31ea0aa] - buffer: add endings option, remove Node.js specific encoding option (James M Snell) #39708 [09

 
5 hours later…
06:24
@lovgrandma Google will run JS.
07:09
@Cerbrus I wonder if they take meta tags that get changed into consideration, though. It makes sense for them to get the page, run the JS, then index any information needed. But they also might get the meta tags separately.
That depends on too many things to make any accurate assumptions
 
5 hours later…
11:52
@KarelG how come?
@KevinB where do you work?
12:03
also hi Cerbrus :)
13:00
get out me swamp
 
1 hour later…
14:25
eh, i prefer to not share that here
could probably find it if you dig a little
14:52
@KevinB You're a part-time Batman. That's what the B in your name stands for.
15:31
Am I missing something? This I am getting the response, but it is not parsing to JSON just staying in xml?
function loadChartData() {
    var xhttp = new XMLHttpRequest();
    xhttp.onreadystatechange = function () {
    if (this.readyState == 4 && this.status == 200) {
        var json = JSON.parse(this.response);
        console.log(this.response);
        // Map JSON labels  back to values array
        var labels = json.map(function (e) {
        return e.Deliverable;
        });
        // Map JSON values back to values array
        var values = json.map(function (e) {
        return e.Retained;
@BeerusDev Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and 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.
For posting large code blocks, use a paste site like like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
Tried setting the response type to json and nothing happens
lol
there is no built-in xml to json converter
if your response is xml, it's xml
if it's json, it's json
If the server is incorrectly specifying the type as xml when it is json, you can use responseText
Gotcha
16:37
@VLAZ both I think
Pretty sure Google has two runs, one with JS and one without
@BeerusDev why are you using XMLHttpRequest
To capture the users still using IE6? It's very niche but perhaps they are worth a lot of money.
Fetch polyfill!!
17:08
@KevinB vOv
@BeerusDev why?
@BeerusDev XML and JSON aren't exotic objects
you can represent anything you have in memory in XML or JSON (as long as you try really hard)
therefore....
@VLAZ not anymore
17:55
Hey Everyone,
I want to build a map mind app with js.
i'm starting to think about how to built it.
i'm not sure how is my canvas should be. i do want to be able to zoom/move items on screen, etc.
@SnirBenYosef 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.
@SnirBenYosef i wouldnt use canvas
Yes i was thinking that to.
so what should i use ?
|| mdn path
18:02
SVG? ok i will read about it.
it allow me to drag items ?
js to drag items
anyone else here have any other suggestions on how to do it? i've never done before
jquery
@ShrekOverflow that was just a joke in regards to me swamp
i mean, jquery is at least a better option than react for drag & drop
react doesn't even have such a thing
i'd do vanilla probably
18:15
throw in jquery ui and you even get handles, collision, etc
@JBis Not using the XMLHttp request anymore, was just trying to follow an example I saw where they used that. Went back to an AJAX and I got it working. Trying to display how I want to display this visually, a progress bar that shows the completion rate for each deliverable or a pie chart
(i'm mostly trolling, don't add jquery to existing projects that don't have jquery)
18:36
"caat".match(/c[a{2}]t/g); //null. Why?
||> "caat".match(/c[a{2}]t/g)
@JBis null Logged: [ ] Took: 0ms
    var barMSR = new ProgressBar.Circle(container, {
      color: '#aaa',

      strokeWidth: 4,
      trailWidth: 1,
      easing: 'easeInOut',
      duration: 1400,
      text: {
        autoStyleContainer: false
      },
      from: { color: '#aaa', width: 1 },
      to: { color: '#333', width: 4 },
      step: function(state, circle) {
        circle.path.setAttribute('stroke', state.color);
        circle.path.setAttribute('stroke-width', state.width);

        var value = Math.round(circle.value() * 100);
@BeerusDev Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and 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.
For posting large code blocks, use a paste site like like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
James wont even give me 1 second to fix it 0.o. for the to: color, any suggestions on how to conditionally apply the color? If value <50, red, 50>75, yellow, 75-100, green? Can't find anything in the docs
18:50
@BeerusDev he actually gives you 25 seconds
> You have 25 seconds to edit and format your message properly before it will be removed.
That was immediate
I am saying the message he sends, should definitely be a bit longer of a delay. (I) realize when I forget to format but before I can even click edit I get pinged
19:05
@DamodaraSahu Because your regex is wrong. You are trying to match c followed by one of the characters a, or {, or 2 or }, then a t.
||> ["cat", "c{t", "c2t", "c}t"].map(x => x.match(/c[a{2}]t/g))
@VLAZ 'SyntaxError: Unexpected identifier' Logged: [ ] Took: 0ms
@VLAZ [ [ 'cat' ], [ 'c{t' ], [ 'c2t' ], [ 'c}t' ] ] Logged: [ ] Took: 1ms
Almost everything in a character class (square brackets) loses its special meaning.
 
1 hour later…
20:25
20:35
posted on August 18, 2021 by Prudhvikumar Bommana

The Beta channel has been updated to 93.0.4577.51 for Windows, linux and Mac. A full list of changes in this build is available in the log. Interested in switching release channels?  Find out how here. 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. Prudhvikumar Bommana

 
2 hours later…
22:35
posted on August 18, 2021 by Ben Mason

Hi everyone! We've just released Chrome Beta 93 (93.0.4577.51) 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


« first day (3959 days earlier)      last day (1211 days later) »