« first day (2475 days earlier)      last day (2698 days later) » 

19:00
if the structure benefits from it, sure. but we don't know that for Kamils case.
it's just single-responsibility for the callback
@ssube I believe that for such case, ops won't ever matter, thus I think readability wins
you're cool with one callback doing both, I'd rather have two small (hopefully inlined) callbacks each with a single purpose
Actually we do know that. He had a function isParameter() :)
which did two things :D
19:01
true
bingo bango, we wants reduce.
the name gave no indication of doing two things
which is a Bad Thing
so you have two legit options, change the name, or change the functionality.
I think here we'll agree to disagree about which is better.
the only resolution is an appeal to authority and we'd have to cite functional programming, so...
I don't want to get my hands that dirty
19:02
@ssube im in the middle of learning JS and building this. This method changed its functionality probably 10 times already, but it started off as throwing out bool.
then they'll wanna talk about Haskell
.filter(isLemon)
.map(my foot)
.reduce(your ass)
@Luggage fitemeirl
how tall is Luggage?
.fill(my mouth)
19:03
I'd assume 177 cm
@rlemon hello
I'm as tall as whoever I hire to beat up Lemon.
anyways, danke for help. Back to work
doesn't matter anyways, I'm short.
and thick.
I'm like a beer can
^ how I prepare
19:05
love this question is still using flash player
@Luggage Is that a lemon vaccine?
Because those give you lyme disease
!!rimshot
19:17
Is there a specific name for a URL path elements
as in, for blah in /blah/foo/bar
path segment?
directory?
location.pathname
19:20
yes, but after you split the parts of the pathname
what do you call them
I like segments.
+1 segments is good
ur good
wait
!!s/ments/ways/
@William +1 segways is good (source)
if you split the pathname on the path separator, you get path segments
there's probably a parallel is mathematics
19:35
ugh, I hate design. I spend a day trying to make a form look good, and it doesn't even hook up to anything yet
HTML is about as simple as it gets though in terms of design IMO
that's why you hook things up first and hope somebody will pay for the ugly version until you can afford a designer :P
@ssube I know I should.. but ugh.
it's mostly just forms. I hate forms.
people make them pretty on other sites, I just don't understand how
!!magic
(∩ ͡° ͜ʖ ͡°)⊃━☆゚. * ・ 。 ᵀᴴᴱ ᴳᴬᴹᴱ
Bash peeps, how do I do something like .~/app-nw/nw?
19:41
what is that supposed to mean?
~ can usually be replaced with ${HOME}
Like, how you can do ./nw, but I want to reference ~/
. with source or exec depending on how you want it to run, unless you mean cwd
why can't you use ~ in bash?
I don't know the whole reason, but it's a like an alias that only exists within interactive sessions, maybe?
oh wait, I'm stupid
19:43
when it's set, it's always the same as $HOME (I think)
@ssube you normally can
he's doing this on a pi I assume, so idk. maybe some freaky bash version
I'm doing sudo .~/app-nw/nw, but that won't be right, since sudo will change that to /root, right?
user1596138
@BenFortune It has to be the first character in the word
why .~/
just ~/
19:43
why .
user1596138
Yea what does that even do
I thought that's how you ran executables?
if it's executable, you don't need the .
user1596138
~/ should be the same as ~/./ which apears to be what you're doing
user1596138
Like it's all just ~
19:44
Oh
As long as it's +x'd?
. is this dir
user1596138
Ohh I see now.
sort of, yeah
the rules are, as always, somewhat more complex than necessary
youtube is being weird.
but usually ./script-in-the-same-dir and /script/in/another/dir.sh work
19:45
when I move to that tab it pulls the volume down then fades it back in
Think I have it, thanks ❤️
with ~ expanding to $HOME in most cases, which expands to /home/foobar/whatever/etc
whoah, wtf is with that emoji
it's like it's 0 spaced
so it's a whole chain of things, in the unix fashion
I'm probably better off moving it to /usr/local/bin anyway
19:46
probably :P
then I can just nw
you can use it directly so long as it's on your PATH, but /usr/local/bin is conventional iirc
having to port this thing I made for work from electron to nwjs, because electron is slow as fuck on the pi
filesystem hierarchy standard is too gray beardy for me :P
ugh, it's still not booting and I can't see logs
19:52
@BenFortune is nwjs really that much faster on the pi?
Hey, is there any way to search a text in property values of an object. Like I added "requestOptions" object into watch, but it has too many nested layers, I am searching text of "username" in it.
@rlemon It seems so, uses less resources too.
I don't know if it's a bug with electron though
@BenFortune have you run any profiles?
Other than console log and ctrl+f, I was more looking for IDE support/plugin
19:53
I have a webview in electron, and it seems to hang for 2 seconds before any page navigation
@ssube What do you mean?
that doesn't sound right
the touch devices I'm using are not much more powerful than a rpi3
@BenFortune the devtools and the profiler
and electron doesn't lag at all, just freezes the OS occasionally :D
(not sure it's electron doing that)
@ssube I've hunted around the devtools, but not the profiler
Been trying to figure out why for like 2 days now
the JS or first-render profiles might be interesting
19:54
worst case scenario, Qt and QML should be stupid fast compared to both electron and nwjs
if you can get at that, they have lots of good details
there are definitely a bunch of rendering gotchas in Electron, but they seem avoidable, VSCode fixes a dozen every release :P
It seems to be 2 seconds before I even get the first byte
hold on lemme switch SD cards and I'll try it out
it looks like the devtools for most UI libraries work, too: github.com/electron/electron/blob/master/docs/tutorial/…
ugh, every time
ugh, wifes gotta hair appointment which means I have to kill ~2 hours in the damn mall.
19:59
Forget to install libudev-dev before installing the usb module
what do?
does rimworld run on linux?
get your hair did
I cut my own hair.

« first day (2475 days earlier)      last day (2698 days later) »