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

12:00 AM
pseudocode for an implementation?
I don't see what you're trying to do
I mean, it's a stack
and you want to use it as a stack
of values
I mean, it's a stack
damnit wifi
 
@KendallFrey what is it now?
 
Hmm will they have Pizza?
 
:40136012 function getFlag(flag)
{
    for (item of stack (top to bottom))
    {
        if (item.contains(flag)) return item[flag];
    }
}
 
@KendallFrey sure. What's the issue now?
examples of answers you could expect?
 
Is there a data structure/pattern that does this?
 
12:03 AM
oh
 
the longer you look...
 
I was expecting a penis
 
someone spent a lot of time making that picture
but you have to play the game to understand
 
I don't understand
 
12:07 AM
inspect the base. look at what does what
nothing makes sense
 
well yeah
 
but more than just sloppy design
 
wtf is that thing in the middle right
i don't recognize that icon
 
looks like pipe
well that's neat
@Loktar @Luggage @ssube
kendalls already here
 
sigh I'll see it eventually
there's two frames
 
12:12 AM
woa, 17mb
how is that gif so big?
 
@Loktar :/
After I move out of TrollLand I am building a decent computer myself
Oh my god!
@littlepootis ^
 
@Loktar in simplify3d can you set variable layer heights? like, if the incline is < x degrees print at .2mm otherwise .14mm?
I wanna speed up functional prints without supports. lower layer height helps me with no supports, but takes freaking forever
 
someone should define a famous constant and call it x to fuck with every kid's equations and physics
 
@towc You do it!
 
I contributed by putting the idea out there
 
12:21 AM
@towc remember, x gon give it to ya
 
doing the trivial work of a major discovery is someone else's duty
 
hi
 
@LeoDog896 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.
 
!!run or sleep
 
@towc run
 
12:27 AM
Ok :D
 
some people
 
it's impressive
 
12:45 AM
I think I have an amazon addiction
damn you buy with 1 click
 
I have ask about wordpress plugin issue. i am making wp plugin.
 
@Jincowboy 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.
 
ugh, I keep putting semicolons after my decorators.
@inject('foo', 'bar');
fail.
@Jincowboy this isn't the wordpress or php room
 
to answer your first non-question, you never have to ask
 
and you already asked in the php room.
 
12:57 AM
a set of decisions and values brought you to a state where you decided to ask
 
yeah, i asked in php room
 
but as JPS said, you always have a choice
 
but any response.
 
unless your single goal in life was to ask the question
 
Wait, why is this room titled "Roombas and JavaScript" now?
 
12:58 AM
because there was a heated roomba discussion earlier
room topic changed to JavaScript: Topic: JavaScript, ECMAScript. Read this: javascriptroom.github.io/rules. Before asking inform yourself on the XY problem goo.gl/taIqf | devdocs.io Documentation™ Helps. Room meta discussions: github.com/JavaScriptRoom/culture [3d-printing] [ecmascript] [ecmascript-6] [flowchart] [javascript] [nodejs]
 
and if so, I applaud your conviction and your simple requests from life
but then the question is: what now? Once you've fulfilled your dreams, what's next?
make other dreams? That'd be unfair to previous you
should you be like "oh, uhm, guess I'll just wither away now" and go jump of a cliff? maybe
or maybe you could pick less reasonable dreams, so that you're very very unlikely to be able to realize them, so in a very small fractions of the universes will you need to deal with what comes after them
so, now that that's clear
 
dude, lay off the drugs
 
you'll have to take them from me!
 
is there wp expert?
there is no wordpress room here
 
somewhere, there's gotta be
just like there's definitely a leading expert in ass roombas
 
1:05 AM
thanks, @towc
 
always a pleasure :)
 
could i speak question, @towc
 
only if you get no answer from the php room in 1 hour
 
usually here is developer?
 
@Jincowboy there may or may not be a wordpress room. there is an entire wordpress stack exchange tho. however you shouldn't enter random rooms asking about completely different languages
 
1:08 AM
yea,sorry
 
@MadaraUchiha Just finished watching the War part of Naruto, holy shit.
 
@towc reddit.com/r/node/comments/7ejthc/… might interest you
cheap limited hosting
 
not sure why you thought about me, but it does
 
because you're cheap and need limited hosting
 
tbf sounds like cheaper amazon lambdas
 
1:13 AM
@rlemon I don't think you can programatically like that
you can with processes though
like layers 200-230 do X
 
@Loktar damn, I guess I was hoping for too much :P
would be GREAT to be able to setup a single profile and not need to worry about a per-print basis
my first print just failed. :/
it's always a shame when they fail like an hour in and not right away
 
Hello everyone, you could provide project of wordpress development for me. thanks
 
dude.. imagine after 10 h ours
alien torso did that twice to me
was soooo frustrating
 
I can imagine
 
almost gave up, but was like damnit no I want a 4 ft alien for no reason damnit!
 
1:16 AM
@Jincowboy dude, we're not the wordpress room. ask a JS question or something
hell, even chit chat.
 
lmao yea
 
no one wants to do wordpress in here.
 
wtf kind of question is that even
 
ok. yea, but if you need, you could do it. I will ask about javascript here
 
like, I don't mind OT discussion or even interesting discussions about other technologies. they happen all the time.
but no one wants to be working wordpress support.
 
1:17 AM
k, yea
if you have javascript project, could provide to me
thanks
 
what does that question mean?
are you looking for open source projects to contribute to?
 
no question
i am trying to get project
 
that doesn't mean anything
 
yea, sorry.
 
ahh looking for work
I get it
looking for people to work for
definitely the wrong chat though
 
1:21 AM
project = work?
okay, that might make a lot more sense. but google translate failed hard there
or I'm just annoyed at my printer and am grumpy
 
Hello, @loktar
I could work for you
 
might be the latter
 
What project
 
:?
 
Let me know your project description
 
1:22 AM
no projects here.
 
you said that you are looking for people to work
for
 
no I didn't
 
yea
 
well if you understood English better you would have understood my intent
 
no, he was explaining to me what he thought you were talking about
 
1:23 AM
^
You are looking for work, we have no work available here for you
this is a developer chat
not freelance.com
 
upped the bed temp to 65 and added a brim.
 
silly me trying to print without a brim even
 
@rlemon directly on glass?
hey @EarvinNillCastillo
 
1:25 AM
yea
 
anyone doing bitcoin mining? planning to invest in the future
 
it's been better (the bed sticking) lately. but with so little touching the bed on this print, and the size of it, and my stupid pads with terrible heat distribution....
 
is it worth to invest?
 
every little bit helps
 
!!welcome EarvinNillCastillo
 
1:26 AM
!!undo
I swear to god if you !!welcome one more person without provocation ... boi u gonna get banned again
 
Hi @Loktar
 
it's not like I do it just to annoy them
I main, mainly to annoy them
but they have a reason to be there :P
 
Just an OT question like what are your thoughts about it
hahah
 
in what particular aspect?
are you expecting a bipartisan "good idea" and "bad idea"?
 
something like that?
 
1:29 AM
what kind of answer are you expecting then?
what's your context?
how much are were you planning to invest?
how much research have you done already?
what's your mother's maiden name?
 
yes thats what im pertaining to. the good and bad. if some are bit mining in here
 
well, it's disrespectful to ask if you haven't researched a bit first
unless you're sterling. He deserves all of our attention
your lesson for today: other people are not substitutes for google
 
@towc hahaha mothers maiden name
 
I'm bad at naming things. when designing an api, should your endpoints look like methods? or be more generic
like if I wanna get all devices my user has access to, /devices/list or /devices/getAllDevices
 
wow, you've been on that endpoint for about a month now, haven't you?
 
1:32 AM
@towc chill. I just wanted to have a conversation
 
now you made it awkward
 
@towc products evolve. I've been working on my companies mobile solution for 5 years
 
congratulations
@EarvinNillCastillo we were having one
this wifi is sending messages in a completely wrong order :/
 
😬
so annoying, my insurance selections
 
@towc my friend invested a 100k in peso and he says every 16days youll receive 40k.
 
1:34 AM
have to choose the lowest basically.
per pay period.. so every 2 weeks
 
@rlemon I guess you just want a second opinion, but feels like as long as you're consistent, it doesn't really matter. An interesting concept to play around with is to make it look like common bash commands, so /devices/list would be more appropriate
 
@Loktar don't you guys have a startup making this stuff easy?
 
what do you mean? @ShrekOverflow
 
I'm not just looking for a second opinion. I'm asking for a discussion around api design
 
@towc are those stable for investment do you think
 
1:35 AM
and I feel like that is something that is pretty established (to a degree)
 
@rlemon didn't mean it like that, sorry :/
I'll back off now
 
but googling api design just shoves a bunch of crap back in my face about the code and not the 'design' of it all
 
@EarvinNillCastillo if there's something bitcoin isn't is stable
 
@Loktar I have seen / talked to a bunch of startups who are solving the insurance problem, all in US. And I have yet to know one person who is happy with insurance selection. Just curious ;)
 
oh well these are through my job
 
1:37 AM
My 1st paid job was wordpress
 
no other choice :/
 
I meant B2B
 
@Loktar wait, cheesus, $250/mo for auto insurance? is that right or is that all insurance?
 
health
😒
 
probably all
 
1:37 AM
250 every 2 weeks
just health
 
ahh, health.
 
not eye, dental
 
investing in bitcoin is probably like snorting cocaine before an important public event. You may absolutely nail it because the cocaine helps and you might be a lot more social and get a lot of good things out of it, but you might also just OD in a few seconds
bitcoin has been a fairly safe drug so far
inb4 wtf towc
 
see, here's where I am with bitcoin. the best time to invest was a few years ago when everyone was saying "DONT INVEST"
so now I'm like, who the hell knows.
still not going to mine them or setup anything, but wishing I had a few years back
coulda banked.
 
I had a friend that mined and sold it off quite a while ago. I know I would sold as soon as I made a profit
 
1:42 AM
@Loktar Yikes!
 
But yeah who the hells knows is right
 
> Maynard Keynes was once asked, “Do you think in words or pictures?” to which he responded, “I think in thoughts.”
 
heh, I made a 340% profit in btc so far
remember when I tried day-trading btc in my spare time?
 
@William my brother did as well. made a few hundred bucks
 
turns out forgetting about it worked quite well
 
1:43 AM
but this was way back when bitcoin was hovering around $100/coin and everyone thought that was the ceiling
 
that's 3 months of rent in profit right there
so, I've filled the cover's covers with the cover
maybe putting more physical pressure in weight will help me sleep
but it's also hot af in here now
I need to buy a heavy chain mesh, that might do it
 
> Your Cost
per pay period
376.63
bah so annoying.
Went up $50
 
a guy told me to buy some when it was $20 v.v
there was wisdom in his beard
i should have listened
 
the way I see it, it might just be coincidence
hundreds of people might tell you to bet on some different things for the similar reasons, and maybe only one of them would be right
the way I see it, they'd all be equally right and equally wrong, in a sense
no, it's not that you should have listened to the guy who said the right thing. I mean, you should have now that you know which one it is, but don't go around listening to people claiming miracles
I think most of us actually did the right thing not investing in btc from early on, even if it didn't end up well for us
like gambling
sure, someone's going to win the lottery, but that absolutely doesn't mean you should play
 
Only way to get big/rich/what have you is to gamble
or take risks rather
 
1:50 AM
I mean, it's an easy way to get rich
definitely not the only way
 
only if it works out
I mean in anything though
not just btc or actual gambling
someone rich took a risk at some point, or their family did way back
I just need a small loan of 1 million
 
what's the economic philosophy where you don't need to be lucky to be rich?
I mean, you can always be unlucky
but I don't think there's ever a good reason to take above a certain amount of risk, if you're willing to put the work in
sure, someone might get ahead of you, but fuck them, you were the one who did the right thing
on the other hand, I can't think of any examples
 
I posted a question that is very similar but wasn't answered. Sorry if it's the wrong place. If anyone has time, could you tell me why my clear interval isn't working on a script? The game runs well but the clearInterval doesn't clear the setInterval.
 
@Bonstark 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.
 
@Bonstark please provide some relevant code
 
!!tell Bonstark mcve
 
@Bonstark If you would like assistance, please create a Minimal, Complete, and Verifiable Example
 
Thanks, one minute, I'll bash something together
 
also, for your future endeavors, consider using a single interval throughout the whole game, and managing the rest internally from that
abstract the shit out of time
 
@towc what's OD
 
1:58 AM
overdose
 
it was a shitty analogy and my brain is on fire, nvm me
actually, I'm off
 
I tried to recreate the problem in mcve, jsbin.com/ninakeyopi/edit?js,console,output
 
2:14 AM
morn
 
morning
nice to meet you
 
@Luggage pesky squirrels
 
well, the squirrel was on my side :)
A herd of deer was migrating through. I like that new event.
Meat and leather for days
@Bonstark Line 9 and 13. You have an extra 'var timer'.
That causes the timer value you get from setInterval to NOT be the one that is passed into clearInterval.
actually the one on line 13 needs to stay and the one on line 4 needs to drop the var (don't re-declare timer as a local variable, just set the one in the parent scope.
 
2:30 AM
Thanks Luggage, that works perfectly, I'll try to incorporate that into the javascript from the game.
 
@ShrekOverflow jesus christ
 
@littlepootis i m tempted to post it in Lounge
 
2:48 AM
if I have a shell that was used to run a program with certain env variables, can I see what those variables were from another shell?
 
218
A: Environment variables of a running process on Unix?

drAlberTcat /proc/<pid>/environ If you want to have pid(s) of a given running executable you can, among a number of other possibilities, use pidof: AlberT$ pidof sshd 30690 6512 EDIT: I totally quote @Teddy comment to achieve a more readable output: xargs --null --max-args=1 < /proc/self/env...

you didn't specify OS
 
ubuntu
 
$ ps eww
 
nice
thanks
 
3:04 AM
Some OSes dont have /proc mounted.. :O
 
!!s/mounted//
 
@Luggage Some OSes dont have /proc .. :O (source)
 
> Write a program to merge two arrays using C++ classes
the fuck does that even mean
 
I guess you won't be passing that class.
 
No, I just don't understand what classes have got to do with merging arrays.
 
3:08 AM
You aren't thinking enterprise enough.
interface IMergeStrategyFactory
 
3:41 AM
You also need to use C++11 lambda functions.
 
and C++20 metaclasses
 
I'm trying to refresh my site in js - window.location.reload() typed into console works but in js nothing happens. I'm using chrome, think that's some security thing they keep js from refreshing the page?
tried ~5 more ways of refreshing the page through js no dice
 
does this happen to be running in an iframe?
 
How about window.location = window.location
 
It's not, I am using typescript though I think my on save compiler might be screwed up I'm rebuilding everything
tried window.location = window.location
 
3:53 AM
Just whack a debugger statement in after window.location.reload() and inspect what's going on
 
I prefer to slap
 
yeah the ts to js debugger is flakey
looks like that's what it was :headdesk: sorry for the goose chase
 
sourcemaps are shit
 
that's why i use sourcegps
 
SourceLive realtime 3D view
 
4:07 AM
I reckon it's a fair tradeoff, what with the time ya save through the predictability of types
 
damn
another failed print
 
What if typescript could compile down to wasm
 
heh for what it's worth I'm liking typescript quite a bit even with the hiccups, been porting a huge wpf app to web and was able to keep a lot of the same structure the c# used
 
lol I ordered water from amazon
$12 for 72 bottles including prime shipping
wasn't aware I could do that
 
4:24 AM
i get water from the tap
i can get it cold or hot with very little delivery time
it's free too
 
@hsimah it ain't free from the tap here.
 
thats a shame
water is, like, vital man
 
I'd imagine most places have worked it into your utilities
 
I suppose it isn't free free, it's funded by rates and taxes
just not directly metered
 
But that's an assumption
!!afk sleep and dreaming of successful prints
 
4:31 AM
electricity and gas are directly metered and billed for use
water is just water
 
 
codepen.io/anon/pen/qVoJjZ anyone familiar with three.js? Trying to get the camera to automatically rotate around the scene
 
three.js has a lookAt command doesn't it? just move the camera in a circle and use lookAt
 
oh right
 
Every time I get a new mac I have to google how to enable inspect in safari, as it's not on by default (and I literally only ever use it for testing that shit ain't broke)
 
4:50 AM
I never understood the attraction of wall-mounting a tv
but I just did
and it feels good
 
5:03 AM
 
5:18 AM
In soviet russia else preceeds if
 
6:05 AM
console.log(this._status, this.constructor.name, (new Error().stack.match(/at (.*)Component.eval/) || [])[1]);
I'm in a pretty dark debugging place rn.
 
Can someone please help me on it:
https://stackoverflow.com/questions/47304675/show-overlay-on-image-on-mobile-devices-using-pure-javascript
 
@TavishAggarwal 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.
 
Yes, thanks.. @CapricaSix
 
6:21 AM
@TavishAggarwal she's a bot
 
lol..ok
 
6:34 AM
can I not cast just my video with chromecast
what the hell google
 
6:49 AM
wtf is yogurt powder
I'm about to find out
 
7:01 AM
Hahaha
I guess like, powdered milk?
If I have a function that is triggered every time the page is scrolled, and inside that function I define some big functions, is it going to affect performance even if the big functions aren't being called?
 
i think no
 
I wouldn't think so either but I thought I would check, anyways :B
And, does repeatedly setting an element (or many elements) CSS property to the same value via JS effect performance?
 
Morning
 
o/ mornin'
 
7:35 AM
morning
 
@AmitArya 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.
 

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