« first day (2525 days earlier)      last day (2647 days later) » 

21:00
doesn't seem to make any difference to VS code
huh. I'll have to try that here in about an hour
I know docker does weird/bad things with some streams, but most of my tools are containers behind shell aliases now
I know a few other editors are capable of working that way
and nothing else breaks
but not that many
it might be specific to vscode
21:01
yeah, I think it's how they're validating it
Florian has a tool that will replace any command with a container
that might be enough to trick it :P
yeah, true
oh yeah, it was phpstorm that has the new support for that stuff
but I'm not running a monolithic java app for that
IDEA isn't worth the memory it runs on, much less the license price
heh, no shit
I've never seen an editor use so much ram
netbeans and eclipse can
21:04
and god forbid you ever need to open a second project
but, yknow... birds with enterprise feathers and all that
ugg, eclipse
see? this is why I use emacs
Oracle gave Java EE to Eclipse this week
good, maybe they'll kill it finally
I was done with java 10 years ago
I assume you mean version 10? :P
21:06
no, I mean Java
right, but Java 10 isn't out yet
so it's even more damning
heh
will it come with a new implementation of Swing?
gosh golly gee whiz I can't wait
doubt it, writing that many new bugs would be expensive
computers are no longer slow enough for Spring to pass for a windowing toolkit
heh
was Spring around in 2000?
I had to use some nonsense frontendish thing back then
21:09
hola
Has anyone built a restful service in node?
Particularly, one without a framework handling it
i mean...
depends on what you mean by framework
Express, for example
at that point... the difference between making a restful service and any other is pretty... simple. no?
I suppose
21:16
you give the server a request callback, and in that callback have logic that determine what to respond with based on the request parameters.
Any advice on how to structure it?
personally... i would structure it pretty similarly to how express works.
if not using express
That's what I was looking for
thanks
Either that or some cool alternative you'd come across
express is not a framework.
as for the structure, it depends on 2 things for me: (1) the project itself (e.g. are there multiple components?) (2) my mood
It's a pretty straightforward project as far as multiple components go
It's a nice early Autumn day
Fall is my favorite season...
21:20
too hot during the day and too cold at night
Yeah, it can get pretty brutal
I always have to try and not get sick when the weather changes seasons
Thank you all for your advice
21:37
-43
Q: Proposal idea. Let's create a beginner question section where downvoting is not allowed to not alienate new users

yoyo_funAt this moment the situation at Stack Overflow is not that good. Old users auto-downvote new users to feel better about themselves, and this discourages many to ask questions and it actually blocks them from asking more than one question. By creating a separate section of the website this proble...

see! he has proof! look at all those downvotes!
valid point though, SE can be pretty daunting when it's not being... well... a giant dick
it's called having standards
different issue
i would argue there's more people upvoting low rep people because they are low rep than there are high rep people downvoting low rep people because they are low rep.
yeah, perhaps
both practices are bad though
21:40
I very rarely see undeserved downvotes
you want to raise users to your standards, though.
it's not about 'deserve' but 'drive away'
personally, I'd be more concerned with the comments than the downvotes for new users
but... then we get blasted for not commenting on our downvotes
damned if we do, damned if we don't.
just look at how many downvotes all of my questions have from all those times i did explain my downvote
what I see most that seems problematic, is people ignoring the technical aspects of the question and instead focusing on the reasoning behind the question
(granted, they aren't great questions)
21:44
which is sometimes fair, but it's got to be discouraging for someone to ask a technical question about something only to receive a comment storm of "why would you do it that way?"
that said, sometimes people don't even know enough to be able to ask the right questions
either way, there's an approachability gap
i try to comment most of my downvotes, but i never state that it was my downvote
(unless it's someone being snarky and asking why the downvote)
snarkery = gloves off, most of the time
i do say that in my profile though 😎
Anyone want to help me with a bit of calculus?
only if it figurative calculus
21:47
well there's a dangerous question
may as well just ask your question
!!welcome Kendall Frey
@KendallFrey 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.
what's great is that doesn't say anything about keeping the question on topic
it does indirectly
"please review the room rules"
ssshhhhhhh
21:50
the room rules don't impose a topic
i think. i never read them.
don't they specifically note that there is no real topic
Basically, I'm trying to minimize some summation with respect to x and y. So I set the derivative to 0, and if d/dx is the sum c*y*f(x, y), is it valid to throw out the c*y (c is a constant)?
I've made it a very long-running habit to never read the rules for a chat room
> The room title is JavaScript, which only implies we all have some interest in the language. That does not strictly limit the topic of conversation to JavaScript, and often it is not about JavaScript. Please do not inturrupt and complain about this, if you have a comment about the language toss it in and if someone is interested they will stop and help.
21:51
shit, he wasn't kidding with the calculus
I knew he wasn't. He never is.
I didn't take calculus in school but I find myself needing it.
I took calculus in school but I don't find myself needing it.
@KendallFrey you mean can you divide by cy?
pretty sure that would be unbalanced
but hell, I don't remember much from calc
21:53
Yeah kinda, but since the derivative is fixed to 0, I just throw it out entirely
I'm not sure if that's ok since it contains one of the variables I'm solving for
asked my teacher to derive the non-recursive form of the Fibonacci sequence and then part of my brain died
@ChrisRasys what non-recursive form?
oh man
if c*y*f(x, y) = 0 you can divide by c*y if neither are 0
lemme see if I can find it
21:54
@Mosho I don't know if I can guarantee that it's non-zero, precisely because y is one of the variables to solve for.
then x = x0, y = 0 can be another solution
I guess this has it in there (kinda ugly): mathforum.org/library/drmath/view/52686.html
though, I think that's an inaccurate version of the formula, since it doesn't use e
actually, it's in: en.wikipedia.org/wiki/Fibonacci_number see: Closed-form expression
dammit, I hate it when other people named david come into chat and ask stupid questions
i get all these weird notifications
I love 8tracks so much
Nowhere else have I discovered so much music
I just hate other people named david
21:59
So, I think I can cancel it out, since if y=0 than it literally doesn't matter in the end what x is
the other way around is a bit tricker
@ChrisRasys oh I remember that
i saw/read a tutorial or something once that said i could go around killing all other people named david to absorb their javascript knowledge
but judging from the questions they ask maybe i don't want their knowledge
there's a process that comes from calculus for deriving closed-form equations from recursive ones
btw this gets even spicier when i make one of the variables a vector
it looks like calculus had a baby with long-division
math is black magic at its finest
22:04
no no
that's perl
@KendallFrey if you want c*y*f(x, y) to be 0, then that's going to be true in only 3 cases: 1) c = 0, 2) y = 0 or 3) f(x, y) = 0
you can solve those 3 equations (of which f(x, y) is the only useful one)
so you're not really 'throwing it out'
I think that's what he was getting at
or dividing by it
@KendallFrey whatcha calculating?
how long it would take all the davids in the world to fight to the very last david
22:10
@KamilSolecki Did you see my triangulized kerbal demo? I'm trying to implement the first idea I had, which involves calculating the ideal colour for a triangle
@KendallFrey I don't think I did see it, can you link?
requestIdleCallback nice
given a source image and a target image, render a semitransparent colour over the source to make it as close to the target as possible
21 hours ago, by Kendall Frey
https://jsfiddle.net/kendfrey/mxxofLh0/
Ah, like a filter?
21 hours ago, by Kendall Frey
slow as shit, give it a few minutes or half an hour
@KamilSolecki not really but kinda sorta
22:19
Wait, can you not use alpha combination?
What do you mean? I do use alpha values
3
A: Alpha blending a red, blue, and green image to produce an image tinted to any rgb value?

Philippe BeaudoinThe basic "equation" of alpha combination is: alpha * (R1,G1,B1) + (1-alpha) * (R2,G2,B2) When you have three layers with alpha you are actually combining 4 layers (the 4th one is black) so the final color is: alpha1 * (R1,G1,B1) + (1-alpha1) * ( alpha2 * (R2,G2,B2) + (1-alpha2) * ( ...

If I understand correctly this should be it
I think that's different, but I'll read it because it looks interesting
It looks like he's targeting one pixel, not the whole image
Ooooh so you wanna cover a multicolor image with a layer that would be the closest to the 'whole image color'?
That the result of*
22:35
@KamilSolecki Like what the fiddle is doing, but with optimal colors for each triangle, instead of random ones via trial and error
anyone used tightvnc before?
@KendallFrey it didn't load (maybe cause I'm on phone)
oh pooey
Bed too comfy ^^
22:43
anyone knows what this means?
I think that shows the process kinda
@Wietlol I'm not sure what it "means", but it's a vnc session into X.. but with no window manager.
so, its useless?
it needs more configuring.
@KendallFrey oooh.
user image
4
22:47
any ideas on how i can provide it a window manager?
its a linux vps
Cc @SterlingArcher
not without googling, nope
@KamilSolecki nice
i did this, but i dont really get the result
let's see your xstartup
22:52
ok, i think i just broke putty :(
also, xstartup claims to be empty
well, that's the file that you start your window manager in. the article you linked talks about it.
~/.vnc/xstartup
when i do "vi ~/.vnc/xstartup" i get just nothing
cool, so you know what's wrong, now. I helped. :)
ty :D
23:12
WOOOOOOOOOOOOT
\o/
i do have to manually start vnc server dough
@GNi33 How about a dockerfile example:
FROM node:6-alpine
ENV NODE_ENV production
WORKDIR /usr/src/app
COPY ["package.json", "npm-shrinkwrap.json*", "./"]
RUN npm install --production --silent && mv node_modules ../
COPY . .
EXPOSE 3000
CMD npm start
@Luggage is it a bad idea to run as the root account?
I'm not sure I like all the details of that example..
yes, it is for what you are doing.
"for what you are doing"?
messing everything up?
Learning. :)
23:23
also true
Anywho, GNi33, I see no need for nvm. You base your image off the node version image you want. or MAKE a node image for that version.
TIL "Learning" == "messing everything up"
You build docker images with specific versions baked in, but you can just re-build with another version.
I use to have a high opinion of Docker, but now it's just meh
I used to have a high opinion of meth, but now it's FUCKING AWEOSOME!!2!
23:35
Meh, now pizza with cocaine and meth.... Would be FUCKING AWSOME!!!
@Luggage im kinda in a dilemma
running the vncserver on a newly created user account shows nothing when its connected
as long as it's not wrapped in a conundrum.
but running it on the root works fine
A K
A K
had an onsite

I kind of bombed the technical portion; the infrastructure head asked me how the broswer worked and i wasnt able to answer it
however, i dont really want to connect with the root account :(
23:43
but the root account shows a windows manager, now?
ok, we have options. one sec.
@Ak I thought you got a job?
A K
A K
no; i never did
this fcking company led me along for months
what's in /etc/vnc/xstartup ?
A K
A K
23:44
and gave me bullshit excuses to why they couldnt hire me
funding; series c; project changed, a lot of fake responses
vnc map doesnt exist
A K
A K
scheduled phone calls, never called; gave me numbers, told me to call and all the times i did call, they sent it straight to voice mail
this went on for a full month; biggest waste of time of my life
3
Q: How can I have new ~/.vnc/xtartup files be configured for normal desktop by default?

Belmin FernandezWhen a user first runs vncserver, the following ~/.vnc/xstartup file gets created: #!/bin/sh # Uncomment the following two lines for normal desktop: # unset SESSION_MANAGER # exec /etc/X11/xinit/xinitrc [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/....

A K
A K
this new onsite, asked me browser questions, and performance for webpages based on parts of the world;
stuff out of my scope of knowledge due to never coming across it
@Luggage could it be that the user didnt have a user home at the time?
i created one later on
23:47
could be.
after i saw a message that it didnt have one and figured it should have one
how did you add the user?
useradd name
@Luggage alright. Thank you very much, I'll give it a try this weekend. Been reading the docs for a while now and I'm startinf to get a grasp on the concept. Still unsure how I want to use it really, I'll have to play around with it a little
use "adduser" not "useradd". It does more. I'm not sure if that was an issue here or not, though.
23:50
so, i should remove the user now and re-add it?
I'm no longer arrow, changed to Rick
if there it no data to lose, sure, worth a try, but you can also determine if that IS the problem and fix that without doing thta.
well, its a fresh server
everything that I can do wrong is just installing a shit ton of things that I end up not needing
turns out my account is in use by another process
!!shrug
¯\_(ツ)_/¯
ps aux
23:54
im confused
what am I looking at?
ohh, the ps?
got me. if harry is the user you are removing, just kill'em
you aren't sshed in as harry are you?

« first day (2525 days earlier)      last day (2647 days later) »