« first day (4928 days earlier)      last day (245 days later) » 

00:48
@1.21gigawatts No, I actually love using backticks. It's the only way to cleanly write multiple lines in a string, plus it automatically inserts "\n" after every line. And don't forget it's way easier to just add a variable in there instead of closing the string, adding 2 addition signs, and then opening the string back up again. I actually prefer it most of the time over regular strings.
@duhaime That doesn't sound like a z-index problem, it sounds more like a pointer-events issue.
I've had this same problem in the past. Also, if the modal is displayed in front of the one that's getting clicked, and there are no display problems, it's most likely not a z-index issue.
 
3 hours later…
03:43
@VLAZ: Thanks for the explanation. I have trouble comprehending this,
```
const logNumber = arity(1, console.log);
const numbers = [10, 20, 30, 40, 50, 60];

numbers.forEach(logNumber);
```
 
3 hours later…
06:51
@codeandcloud arity would be a function that changes another function's arity - the number of parameters it accepts. Lodash has an implementation as ary. Since console.log accepts any amount of arguments, using numbers.forEach(console.log) would print more than just each number - the callback is given 3 arguments. So, you need a console.log that has arity of 1 - it takes only a single parameter.
||> const arity = (n, fn) => (...args) => fn(...args.slice(0, n));
const logNumber = arity(1, console.log);
const numbers = [10, 20, 30, 40, 50, 60];

numbers.forEach(logNumber);
numbers.forEach(console.log)
@VLAZ undefined Logged: [ '10', '20', '30', '40', '50', '60', '10', '0', '[10,20,30,40,50,60]', '20', '1', '[10,20,30,40,50,60]', '30', '2', '[10,20,30,40,50,60]', '40', '3', '[10,20,30,40,50,60]', '50', '4', '[10,20,30,40,50,60]', '60', '5', '[10,20,30,40,50,60]' ] Took: 0ms
OK, that's not a great display - here is a jsbin
 
10 hours later…
17:17
Just wanted to share: I built a weather prediction model in Node.js. It took me hours, but I've finally got my second version of it.
If you don't already know, I think I mentioned it here before, but I'm building a homemade weather station soon and that's what the prediction model will be for.
I've tested it in my area, with 6 previous days of weather data fed into Tensorflow.js, and here's what it has come up with:
Predicted weather for tomorrow:
-------------------------------
Temperature: 71.64°F
Humidity: 47%
Pressure: 26.25 in
Wind Speed: 6.11 m/s
My weather app that I use generally, says that it will be 84°F here tomorrow. We'll see who's more accurate :D
I also hope that Tensorflow is a good AI model because I really don't want to have to switch it for hours.
18:09
@JamesBot thanks
@VLAZ thanks a lot. Understood

« first day (4928 days earlier)      last day (245 days later) »