JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Sep 15, 2018 00:48
It reads as hilariously passive aggressive
Sep 15, 2018 00:47
@ShrekOverflow Google's like, "so tired of you people asking this"
Sep 15, 2018 00:42
Not the pointer I meant, but I appreciate your being proactive, Google :P
Sep 15, 2018 00:42
user image
2
Aug 22, 2018 02:41
Arch was the first distro I actually got to work on my Optimus laptop after trying to install like 5 other distros. I liked it but the AUR freaked me out, so I switched to Ubuntu. :P
Aug 22, 2018 02:37
I'll need to look into it
Aug 22, 2018 02:26
@rlemon That's the reason I don't mind gnome. But the issue of scaling remains. I don't really notice it as much until I boot to windows and feel my eyeballs relax
Aug 22, 2018 02:23
^
Aug 22, 2018 02:23
I did not like Unity at all
Aug 22, 2018 02:21
@rlemon I mean UI/font scaling. I find the default too small, so I tried to change the scaling settings but it doesn't work for all apps consistently. Especially Chrome, which is very stubborn.
Aug 22, 2018 02:17
Which driver are you using?
Aug 22, 2018 02:17
@rlemon Same here, but on Windows the trackpad works much better. Also the scaling and the design are more consistent, it is just a much more polished experience. But I hate using Windows for anything productive.
Aug 22, 2018 02:11
@rlemon Do you like the trackpad?
Aug 22, 2018 02:07
Screw the Nvidia card, I want better trackpad drivers. :(
Aug 22, 2018 02:07
I think it works better on a desktop than a laptop
Aug 22, 2018 02:07
And the driver support is lackluster
Aug 22, 2018 02:07
I like Linux but I don't like Linux DE's.
Aug 22, 2018 02:04
What about G Suite?
Aug 21, 2018 02:36
The code should work I think, but what Sterling is suggesting would be cleaner
Aug 21, 2018 02:35
document.getElementById("magic").style.display = "none";"" Accidental quotes?
Aug 21, 2018 02:21
@Aaron You have buttonBasics.addEventListener("click", tabBasics) but the id is ButtonBasic without the s
Aug 21, 2018 02:00
@Cereal Cakes need very even temperature distributions, ovens have convection fans for that. I don't know if you can achieve that with a grill as the heat is very directional.
Aug 17, 2018 20:31
My college doesn't have almost anything which isn't Java...
Aug 17, 2018 20:31
:(
Aug 17, 2018 20:22
https://manta.cs.vt.edu/cs3754/Images/CS3754-CloudSD-Poster.png
^ This is a class I can take this semester. Does it look like it'll teach me anything about cloud?
Aug 8, 2018 21:52
Update: Original version wasn't height aware - this one is dist-htgclybaav.now.sh (arrow keys for control)
Aug 8, 2018 20:55
@JBis if you mean what you can do in the game, nothing much at the moment. You can move around and there is a FOV.
Aug 8, 2018 20:52
no ground detection yet xD
Aug 8, 2018 20:52
(arrow keys to move)
Aug 8, 2018 20:52
^ just something I've been working on :P
Aug 8, 2018 20:52
Aug 7, 2018 19:23
@LadyBird There were forced updates, it happened in front of my eyes. Twice. The poor machine could barely handle just running the DE, which is why we decided to switch to Mint.
Aug 6, 2018 18:24
But when I pass it as

        .queue(
            ... other args ...
            boundaryFilter.topLeftCorner.upperBound
        );

It throws an error that the upperBound is not compatible with [number, number] which is the tuple
Aug 6, 2018 18:21
const boundaryFilter = {
     upperBound: [BOUNDARY_WIDTH, BOUNDARY_WIDTH],
     ...
}
Aug 6, 2018 18:20
I have it inside an object like this
Aug 6, 2018 18:16
Hey guys, I'm having some ts issues. I have declared a type like export type Bounds = [number, number];, but when I pass [BOUNDARY_WIDTH, BOUNDARY_WIDTH] to my function, it tells me that "Argument of type 'number[]' is not assignable to parameter of type '[number, number]." How do I get it to recognize it as a tuple?
Aug 1, 2018 17:30
So is India
Jul 27, 2018 05:29
Ah, makes sense
Jul 27, 2018 05:27
@david Looks cool! What are the circles/blobs for?
Jul 27, 2018 05:24
Tweaked it a bit, I think this is a good land/water proportion now. Also this is just a height map, green is just a height and not actual vegetation
Jul 27, 2018 05:23
Jul 27, 2018 05:10
Yeah, the voronoi looked really good to me. I'll probably use it as a base and add noise for prettification.
Jul 27, 2018 05:01
@david Those look cool! I am actually trying to generate something which could be used as a map for a ship-based game. So currently trying to figure out how to make it more game-y. :P
Jul 27, 2018 04:31
Not atm, it's in typescript. I'll put it on codepen later
Jul 27, 2018 04:27
Looks kind of like contours from intersecting surfaces.
Jul 27, 2018 04:26
Ohh I get how that works now
Jul 27, 2018 04:23
I haven't tried that
Jul 27, 2018 04:23
Oh
Jul 27, 2018 04:22
I am using 6 octaves (which I tweaked randomly) and other than the boundary I haven't added any other gradient maps.
Jul 27, 2018 04:11
Thanks!