« first day (2594 days earlier)      last day (2579 days later) » 

19:02
if the light is really close to the target you might need a lot less power than, say, a camera flash
are they all illuminated?
also.. maybe the right wavelength can 'charge' it with less overall photons?
I understand tracer rounds have a different trajectory than non
I can't see the video. just talking out my ass.
@Luggage you definitely don't need as much light
a small strobe would work, and almost certainly LED
19:04
would work to expose youto the enemy
@rlemon @Loktar
cool
tracers expose you, but they can also tell your allies what you are firing at
I printed a test cube at 20% and only one side got messed up
look at you printing cool shit
what was up with the side that was messed up?
19:05
closest corner to us
it's missing
it's there, it's just bent
@ssube LEDs don't work well for strobes.
oh I read it as calibration cube
19:06
403 luggage
it melted halfway up and tipped over
I like my cubes better than your purple sex toys
@KendallFrey I have a few LED strobes...
@ssube How do they work?
19:06
well?
work party than turkey vacay
Normal LEDs can't handle the current, right?
they're not as bright as a gas bulb and mirror
a taco truck is coming
but they are quite bright
I don't think they're average white LEDs, no
19:07
@Webster to take you to turkey?
ha, i wish, mexican food truck
but even some of the police cars have LED light bars
thought it was weird for thxgv
(with strobes)
ohh man, I love when I'm on a reddit/imgur blast and I find the world champ of arm wrestling
19:07
but they said who wants turkey 2 days in a row?
dudes So ridiculous looking
@ssube That's not the kind of strobe I'm talking about
wank champ
@rlemon he has a condition
they have strobes between the red and blue
19:08
srs
I wish turkey only cost a nickel
@Mosho I know, and it allowed him to be the world armwrestling champ
regardless, LED strobes are totally a thing, but I'm pretty sure it's a special kind of LED
doesn't make him look any less funny
I mean like a camera flash or the kind of strobe you'd probably want in an airsoft gun
19:08
no it does not
in a failed handshake/high five thread i.imgur.com/5FXT0Hr.gif
look at his freaking arm
that ended sweetly
wtf
do they inject steroids in just one arm?
he favors his right is all
19:10
2 mins ago, by Mosho
@rlemon he has a condition
so this helps him to pick up chicks?
@Traitor well with one arm anyway
i see
@Luggage @Loktar so how many rolls of filament you got?
my collection is growing.
idk 10-12 maybe?
Looks like 14
19:13
I've got 7, just ordered #8
I picked up a couple colors samplers with the printer, haven't used them but the colors are cool
my white is like 60% done tho, so #8 is another white
I just wanna buy all the colours 😃 it's so hard not to just add one of each to the cart
LOL
@Cereal that had better fucking be a joke
19:16
It's what EA said about battlefront's microtransactions
Crossover memes!
@KendallFrey why so srs
@Mosho I'm scared because there are people dumb enough to say that in American government
but you know that guy is just a puppet for the ISPs
anyone know if it possible to run a file with typescript? i.e., don't bother outputing a js file, just run it
19:19
yes
I both know and it is
@corvid ts-node
you mean that's an additional module to install globally?
or locally
I don't install stuff globally anymore
19:22
@corvid what did you expect? your OS to ship with a typescript runtime?
This one's creative
@Mosho nah, something like tsc ./my-file.ts --interpret is what I expected
@rlemon Besides the starter roll, 2 rolls of Inland PLA. I want to get something else soon
maybe a flexible or.. get an all-metal hotend and try one of the higher temp ones
yea flex seems fun
I wanna try some petg
loke raves about it
I want yo make / buy some form of storage.
!!can I use petg without ventilation?
19:25
@Luggage Impossible
for storage I'm just gonna buy a rubber tote and some of those moisture pads.
!!even if I don't mind cancer?
stick em in the closet
@Luggage That didn't make much sense. Use the !!/help command to learn more.
Some form of box with a hole to let the filament out
Like, near the printer. not in the closet. I can always just put something in a closet :)
19:27
it's me or bash for windows is slow AF?
doing what?
@Neoares just you
it's you
4 min to download and install a 50mb package
19:28
python-virtualenv
pretty cool, but that looks like a LONG print
bash handles downloads? or like curl or wget was slow?
so you're thinking more like this: thingiverse.com/thing:961881 ??
@Luggage well you see they solved that problem for themselves by just having 5 3d printers
yea, like that.
lol when I do mkdir in bash for windows, it creates a dir with 777 permissions
19:30
So it's simple, really
which bash? WSL or the one that comes with git, or other?
with windows
ubuntu in windows
WSL doesn't do file permissions
hm. that one should make the right permissions, at least in the linux filesystem part of the drive..
how so?
if I do ll I see the permissions
and I can change them
19:32
it does depend on where you are
yea, other folder have the right ermissions, just not one created with mkdir
in ~/, not a mounted C:
@ssube it works for me
that issue is from Apr 8, 2016
I guess I just have to change the mask, wherever it is
get used to it. windows sucks and you'll always struggle with permissions
19:35
@corvid node -e $(tsc wat.ts --outFile /dev/stdout)
(not really)
ok, pip install pandas gives me a shitload of errors
bb ubuntu for windows, see you next time (AKA never)
@corvid node --require ts-node/register foo.ts
@Luggage er why not just ts-node foo.ts?
that's fine, too
the ts-node/register is useful with mocha and other tools, so I just kinda favor that
(or build, then run, no ts-node at all)
I build my own too
but I use ts-node to do that :P
19:50
I have two arrays of objects, CustomSections and FeaturedCustomSections. FeaturedCustomSections have a CustomSectionId linking it to CustomSections. There will be more CustomSections than FeaturedCustomSections
How do I change CustomSections to then contain a property called Featured which would contain the then-linked FeaturedCustomSection?
I was thinking of a couple ways but this seems clear enough:
data.CustomSections = data.CustomSections.map(sect => ({
    ...sect,
    Featured: data.FeaturedCustomSections.find(featuredSect => featuredSect.CustomSectionId == sect.Id)
}))
Anything immediately apparent as wrong above?
how do flat earthers explain tennis balls?
what about them?
because wouldn't flat earth make tennis ball flat too?
why?
aren't they denying the existence of spherical objects ?
19:55
no?
I don't think so at least
yeah no
no, just the earth
they still eat oranges and stuff
they have physical proof that spherical objects exist
they have physical proof the earth is round, tbf
not proof that they understand to be proof
19:56
nothing they want to believe
One of my wifes facebook friends is a flat Earther...
it's super fucking weird
i like the flat earther who's gonna launch himself in a self-built steam powered rocket over a ghost town
apparently has plans to launch himself into space too
I saw that headline, he's a flat earther too?
invite her on a trip around the globe
or him
19:57
bloody wifi
yeah that's hilarious
poor bastard isn't going to make it far
he wants to go out and get evidence to prove that the earth is flat
I imagine some of his math is a bit off
wouldn't it be easier to just go on a trip around the world
19:58
instead of atmosphere, he's launching himself into the atmosflat
@KevinB second test
first one put him out for 3 days
too many gs
@Loktar you should print a flat earth and share it
:P
@KevinB What exactly is a steam powered rocket?
no idea
i assume, just air pressure
to launch
If LH2 + LOX, no on calls that a steam rocket
i think it was lightly explained in the article
in a sentence
20:03
heated water under pressure released
steam rocket
A steam rocket (also known as a hot water rocket) is a thermal rocket that uses water held in a pressure vessel at a high temperature, such that its saturated vapor pressure is significantly greater than ambient pressure. The water is allowed to escape as steam through a rocket nozzle to produce thrust. Steam rockets are usually pressure fed, but more complex designs using solar energy or nuclear energy have been proposed. They are probably best known for their use in rocket-powered cars and motorcycles, and they are the type used in aeolipile. == Principle of operation == Water, while un...
maybe this
what a weird concept
You know that's not what I meant, @Wolfram_Alpha
lol
...
how'd they get 48?
random
not evenly distributed
gotcha
I thought I was deformed for a second
Then just realized I'm stupid
20:06
@rlemon haha
so I've got that going for me
@towc they have reasons
I can print a flat earth with my Lexmark
or well, not reasons, I mean explanations
btw, can confirm that is the output if you enter "48 random digits"
20:06
from what my wife was saying they don't even believe it's completely flat
@Loktar did I say otherwise?
> otherwise?
well you said invite them on a trip around the globe
@Loktar well duh there are mountains too
and my point is that doesn't matter
20:07
they have ways to explain that
@KendallFrey iirc I think she said her friend claims it's rounded lol
that was the joke
otherwise the whole thing would fall right apart
Something can be round and flat at the same time
flat bottomed booty earth
so that explains the curvature if you put up a weather balloon lol..
idk it's just really sad to me
this person makes it her identity too
20:08
one day they'll be able to go to space
her facebook profile, cover pic, everything is related
or we'll all go to space and leave them behind
rlemon - round earther.
either way
haha yea
20:08
omg. I'm updating fb. brb
Anyone that bases their identity on something clearly wrong is pretty sad
I'm in favor of convex earth theory
what about concave earth? The earth actually wraps around the and encloses the sun
done
too bad I have like no one on fb but you guys
20:10
@KendallFrey um hyperbolic as in highly exagerrated?
no, hyperbolic as in negative curvature
@KendallFrey why is that not concave earth theory?
concave is still positive curvature
the only conspiracy I'm willing to entertain is the one that Elon Musk is a stranded Martian just trying to get home.
negative curvature is then the angles of a triangle add up to < 180 degrees
20:11
what about Finland?
that one is hilarious. possibly one of my favs
and the circumference of a circle is > pi
I'm not sure how you're defining the curvature...
but it's redic.
@KendallFrey aren't angles of a triangle supposed to add up to 180 or it's not a triangle?
Oh, you're talking if it's circumscribed on the concave or convex surface?
20:12
what if the earth is a cuboid but form our perspective the corners just look like mountains?
PROVE THAT SCIENCE!
@rlemon wow that's dumb if we were dice shaped then where is the other dice?
(I think)
I couldn't find that Elon Musk conspiracy
The rumor that I'm building a spaceship to get back to my home planet Mars is totally untrue
20:14
@KendallFrey convex earth is what we have now
he doesn't try to hide it
4
@KendallFrey concave earth would be what you're explaining.
3
No
I'm explaining hyperbolic space/negative curvature
20:15
pi
tau
that's not a number
@KendallFrey ok, so concave and convex would both have the same curvature?
20:16
@Vap0r yes
@KendallFrey everything is a number
That's technically against everything I have ever learned in school, but I believe you
even ham
@Vap0r dude, just flip it over
they're the same then
@Vap0r curvature in this case is a property of a surface (sheet) itself, not of a given side
@rlemon same thing with a negative number
20:17
triangles still add up to > 180 in concave
from a given perspective.
parallel lines still converge
@rlemon same for your case you pedant
circles still have circumference < pi
)(()
20:18
i like palindromes
so do I
> in this case
@KendallFrey I thought I was talking about concave and convex then you came in disagreeing?
Wouldn't that make the context mine?
You said convex, I said hyperbolic
agreed
I am working on a multistep form with bootstrap and jquery. I have used the code like here: codepen.io/designify-me/pen/…
The for have 13 steps that is why I have to add the progressbar at the end of the form
under the form
the problem is when I click next there is nothing with the bar but when I click th pervious the progress bar go back at the top of the form
Can someone helpme with this please?
20:20
@user8124685 Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@user8124685 Don't just copy-paste spam questions in a bunch of rooms
And if you do, make it less obvious
@user8124685 Welcome to the JavaScript chat! It appears you copy-and-pasted your question and left out some important information. Would you like to try harder??? (I'm a bot [possibly] so please don't respond)
yeah sory
@Vap0r FYI I was thinking of a saddle-shaped earth that is neither convex nor concave, nor flat
I dont know if it has to do with javascript or css
20:23
donut world
@KendallFrey so concave on one axis, convex on another, and flat on the other?
who's riding the earth if its saddle shaped?
I am using example I got from here: codepen.io/designify-me/pen/qrJWpG
@KevinB ooh that gets interesting in terms of curvature
you could at least copy pasta the messages proper
:(
20:24
@erotavlas probably your mom
@Vap0r Just negative curvature everywhere
i remember a game in the past modeling a donut world
Which would be physically impossible in 3D space
@KevinB yeah with that attitude
20:24
was a civilization or sim related game
I'm a more "positive" curvature type guy
but I'm being hyperbolic
My game engine had a toroidal map
they're pretty cool
@KendallFrey do you have a positive curvature? Cause you're obtuse
I have to get the progress bar at the bottom of the form when I go to next page It works fine but when I go previous page the progressbar goes again to the top
none of the images here are loading, the security crap must be timing out
20:27
@user8124685 so you are basing your code of that codepen? And the progress bar that works on the codepen isn't working for you here?
is there a way to tell sublime that new files created with ctrl+n should be js and not plain text without installing a plugin?
@rlemon yes
@Vap0r Now I wonder if it's possible for a topological sphere to have negative average curvature on its surface
@KendallFrey can I cheat and use the interior surface?
But honestly I really can't imagine how that would be possible
@Vap0r No such thing
20:29
progres bar works fine but I want locate the progress bar at the bottom of the form. when I go to next page it stays at the bottom but when I go to previous page the progress bar go es at the top of the form
@KendallFrey I mean maybe not in topology but if you tell me a ball doesn't have an inside we're gonna have a problem
@Vap0r idk, but it's possible for any given region to have any curvature you want
I have tried to solve it with css but it keeps going to the top of the form
So, I have received a (potentally malicious) obfuscated script in email. If anybody wants to have some fun to decode it, here it is: gist.github.com/Kamilczak020/cf2dacc8fdeee09c88c5e32955a5c585
@Vap0r Not related to what I meant, but in topology a sphere doesn't have an inside
20:31
@KendallFrey so like a pretty tractricoid?
@Vap0r well?
the fuck is that
I f you tries in the example here: codepen.io/designify-me/pen/qrJWpG it does the same thing
In geometry, the term pseudosphere is used to describe various surfaces with constant negative Gaussian curvature. Depending on context, it can refer to either a theoretical surface of constant negative curvature, to a tractricoid, or to a hyperboloid. == Theoretical pseudosphere == In its general interpretation, a pseudosphere of radius R is any surface of curvature −1/R2, by analogy with the sphere of radius R, which is a surface of curvature 1/R2. The term was introduced by Eugenio Beltrami in his 1868 paper on models of hyperbolic geometry. == Tractricoid == The term is also used to refer...
hmm but that one is infinite and has singularities
@rlemon well it really depends on what you're looking for. IIRC it can be done globally or at the project level
20:33
@Vap0r I'm not seeing it. it isn't in sublime-settings
there are packages that allow for it
but I'm wondering if there is a native way
@Vap0r btw "sphere eversion" is a google keyword for you
@KendallFrey it would seem to me that a sphere wouldn't be a sphere (or a "perfect" one at that) if a particular region has a negative curvature
@rlemon I'll see if I can find it but I recall not having to use a package.
@Vap0r I said a topological sphere
I'm a topological sphere
don't be so hard on yourself
chrome is stuck on "waiting for cache"
20:35
wtf is default_file_type.sublime-settings
hesus
@KendallFrey dude thats Jose not Jesus
yea, hesus
@rlemon I'm having difficulties finding it but to me it appears you can't have default syntax highlighting until you save the file, which would make sense but isn't what I remember.
Any sugeestions?
20:42
wtf
GoDaddy just called me because I let 3 domains expire
yea guys, I got the three emails a day every day for the past 2 weeks, I know they're expiring. fuck off I'm at work.
Do you get those "scam" letters trying to get you to "renew" your domain with them?
no clue/ I ignore godaddy emails.
letters, not emails
not godaddy either
ohh haha
I haven't updated my address with my domains yet
they all have my apt
well that's one way to do it
20:46
greetings one! looking for a suggestions about how to overcome max array size
@AlekseiTselishchev Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
I don't get letters, but i do get a weekly email telling me that there's this domain that is similar to mine that I definitely should buy
it's often sent by like 6 different email addresses with different domains/names/business names on them
all for the same domain
Just such a dick move
I used to get monthly letters telling me that if i didn't pay for this additional warranty i'd lose warranty coverage on my truck, super misleading
so say I'm trying to split off websockets depending on user properties.
wss.on('connection', async (socket, req) => {
	const { role } = await Account.findById(req.payload.id);

	// should I check and assign a new method?
	if( role === 'foo' ) {
		socket.on('message', a);
	} else {
		socket.on('message', b);
	}

	// or assing one method and check in there
	socket.on('message', message => {
		if( role == 'foo' ) {
			a(message);
		} else {
			b(message);
		}
	})
})
20:53
one is less nested,
I need to process amount of simple records bigger than max array size
it should be sorted to calculate median value
@rlemon I lean toward the former, especially if there's nontrivial logic in a and b
oh wait the second one also separates that
But yeah, the first one for me
so the main question is about how to sort that amount of records ?
any suggestions please
split it up
that's two for the former
good enough for me
20:56
that was the first idea but it should be sorted and median value calculated...

« first day (2594 days earlier)      last day (2579 days later) »