« first day (3563 days earlier)      last day (1386 days later) » 

2:31 AM
@JBis hah nah it's useful, I'm just pushing them towards our teams
 
 
8 hours later…
10:40 AM
@MisterSirCode that's the second time in two years :P
 
 
5 hours later…
3:43 PM
Hi All
im having an array of objects like below.
{
  "name": "Groupong Name",
  "levels": [
    {
      "description": "Initial Description",
      "count": "1000",
    },
{
      "description": "Initial Description",
      "count": "1000",
    },
{
      "description": "Secondary Description",
      "count": "2000",
    }
  ]
}
 
@SamSam 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
 
im trying to check the duplication based on count and description fields in the levels property
i can do that looping in an using the temp variable, but is there any other way of doing it.
 
Hi there! I've reached the question limit so I'm not able to ask a question at the moment. Can someone help me to create an HTML5 audio player? I have created the needed markup in my chrome vue.js app and I have a range input type powered by bootstrap. I'm getting the audio track form the iTunes search API and I want to show the duration and use the input range to take track of the preview status.

From the iTunes API i get the tracks duration in milliseconds like this `trackTimeMillis: 175520`, I suppose that I first need to convert the milliseconds in minutes and then I can use javascript
 
@ki.ko 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.
 
3:58 PM
My vue HTML markup is this, I need to implement javascript logic:

            <a class="h6 text-decoration-none font-weight-bold d-block" :href="trackViewURL" target="_blank">{{ trackName }}</a>
            <a class="h6 text-decoration-none d-block" :href="artistViewURL" target="_blank">{{ artistName }}</a>
            <!-- audio track -->
            <audio id="player" crossorigin="anonymous"></audio>

            <div class="d-inline-block">
              <a class="text-decoration-none text-body mr-2" href="#" v-on:click.prevent="play()"><i class="fas fa-play"></i></a>
 
 
1 hour later…
5:07 PM
can i get all The circles in an SVG to have transform relative  to their centre on hover?

ie this isnt good enought

     circle:hover {
                transform: scale(1.2);
            }
            circle {
                transition: all 1s;
                transform-origin: 50% 50%;
            }
 
@SuperUberDuper 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
 
it transforms to a global point, not each individual
 
6:05 PM
Hello everyone
 
@RazaKhan 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.
 
 
3 hours later…
8:47 PM
Hey how can I close a Node.js Proccess / Server from a SCRIPT?
I keep googling
and looking everywhere
but everything is "how to close a node.js server from command line"
and I already know the Ctrl+C thing
 
 
1 hour later…
9:53 PM
HI
 
@Chris 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.
 
From MDN: "WHATWG forms spec selectionStart, selectionEnd properties and setSelectionRange method apply only to inputs of types text, search, URL, tel and password. Chrome, starting from version 33, throws an exception while accessing those properties and method on the rest of input types. For example, on input of type number: "Failed to read the 'selectionStart' property from 'HTMLInputElement': The input element's type ('number') does not support selection".". Any workarounds?
So far all the answers online are outdated...
... not working
 
10:36 PM
just use text
why does it need to be type number?
@Chris
@MisterSirCode Depends what you are doing. If you want to end to current process just use process.exit()
otherwise you need to kill a specific process nodejs.org/api/process.html#process_process_kill_pid_signal
 
 
1 hour later…
11:45 PM
Remember coding in Notepad. Wonder if that experience is helpful for developers..
 
@JBis I must not change the visuals or types of the element. It can be any type that isn't supported, not just number, and I'm using this for browser extensions/add-ons
Seems quite impossible to me though I'd really love to make it doable
 

« first day (3563 days earlier)      last day (1386 days later) »