« first day (2139 days earlier)      last day (2809 days later) » 

11:00 AM
I can't stand loud crowds
Or people who try to mosh
 
11:25 AM
weeeeeird
so, I tried putting another debian iso on a usb
tried booting from that usb
I must have forgotten a step because I was stuck in the grub loader
so logged back in to my normal debian to see what was cracking
 
don't lvm this time
 
and now my root partition is half empty?
why not @littlepootis?
 
or.. next
 
got so many people to tell me that it's very useful if you don't quite know what you're doing
user@debian:~$ df | grep /dev/dm-1
/dev/dm-1                     9480420 4560724   4415072  51% /
also @littlepootis, any idea what could have caused memory to no longer having been able to be used?
 
it can be a pain in the ass "if you don't quite know what you're doing"
@towc memory?
 
11:28 AM
2 hours ago, by towc
Filesystem                  1K-blocks    Used Available Use% Mounted on
/dev/dm-1                     9480420 9222888         0 100% /
@littlepootis but not using an LVM can be even worse
 
from what I've heard
 
I'd be interested in knowing who you heard that from .
 
a lot of people? Also read a few articles to make sure
 
LVM has always been a pita for me (because I didn't, and still don't know much about it)
 
11:30 AM
I'd need to learn how to do offline changes to the partition
which in my current state of stupidity is suicide
anyway, any chance you could know what caused the Available=0 thing when there's clearly a huge difference between overall and used?
 
Output of df -h?
 
isn't df same as df -h?
oh, nvm
currently:
$ df -h
Filesystem                   Size  Used Avail Use% Mounted on
/dev/dm-1                    9.1G  4.4G  4.3G  51% /
 
-h = human-readable I guess
 
yeah
 
what toaster is that? o.O
 
11:33 AM
a new make of toaster
so, my machine overall has 1TB of memory
 
like wot
1TB?
 
but apparently the default for my root partition was just 9.1G
the only other partition I have is the home one
 
Oh.. 931.5G disk space...........
 
$ df -h
Filesystem                   Size  Used Avail Use% Mounted on
/dev/dm-1                    9.1G  4.4G  4.3G  51% /
udev                          10M     0   10M   0% /dev
tmpfs                        1.6G  9.2M  1.6G   1% /run
tmpfs                        3.9G  232K  3.9G   1% /dev/shm
tmpfs                        5.0M  4.0K  5.0M   1% /run/lock
tmpfs                        3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/sda2                    237M   35M  190M  16% /boot
/dev/mapper/debian--vg-home  892G  4.6G  842G   1% /home
 
eh, wtf?
/dev/dm-1                    9.1G  4.4G  4.3G  51% /
 
11:35 AM
is the root way too small?
 
weird
yes
 
I mean, this exact setup served me well for 7 months
never had an issue
 
I wouldn't have been concerned if line 4 from bottom was:
/dev/mapper/debian--vg-root  892G  4.6G  842G   1% /home
but it isn't
what that means is..
you dun fucked up
 
also, I did try to expand my root partition both yesterday and this morning, but failed miserably
how did I fuck up?
 
What does gparted say?
 
11:37 AM
oh and again btw, why is there so much difference between available and all-used?
 
probably by setting the default size of root to 9.1G?
@towc I see no difference
 
892G 4.6G 842G
!!> (892-4.6)
 
@towc 887.4
 
!!> 887.4 - 842
 
@towc 45.39999999999998
 
11:39 AM
Probably because you have a lot of free space on /home
 
45 GB aren't accounted for
 
oh that
 
also, what am I looking for in gparted?
 
unused blocks, probably
@towc your.. device?
post a scrot of it
 
11:53 AM
[conversation was continued in private chat]
according to pootis LVM+luks-crypto is a very bad combination if you want to resize a partition
 
12:13 PM
also, I accidentally deleted /usr/share/locale
any way to repopulate it?
 
@towc sudo dpkg-reconfigure locales maybe?
 
yup
had to do a few more things first tho
 
12:38 PM
!!define antithethical
 
*thet
 
well, she's out anyway
> directly opposed or contrasted; mutually incompatible.
dafuq, downloaded the .tar.bz2 file from firefox' official site
in the tar there was this thing:
/firefox/browser/chrome/icons
which contains firefox icons
wtf
 
they're the browser chrome icons.
 
wut
chrome
but
not firefox?
 
Not the browser "Google Chrome". Chrome is the visible part of an application - the viewport/main thing.
 
12:53 PM
wut
 
The borders, other buttons, etc.
 
I had no idea
 
you should be getting used to that by now
(sorry) :P
 
that was deserved
and woops wrong chat on all of that
the motto still holds
!!learn towc <>http://chat.stackoverflow.com/transcript/message/32464595#32464595
 
@towc Command towc learned
 
12:55 PM
what should I make for a work sample to submit to companies? What's in demand and cool?
 
@towc Command towc learned
 
@corvid ice packs
 
Roll them a well crafted joint. Preferably nicely tapered.
 
@corvid me too
uh, why are surgical tapes so pricey
I'll stick to a wrap..
 
F4z
1:13 PM
I'm a little curious, editors like Brackets use javascript combined with other languages, however how does Brackets have an editor where you have text and do things just like a normal text box in a windows application? Is it a text area with fancy plugins to include spellchecker and other sorts?
 
@F4z 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 forget if brackets is webkit based, but yes. Many new editors (atom, vscode) are actually like web pages, so they can and do use code editors that web pages can also use
e.g. see "ace editor"
I don't think they are text areas, though.. probably ContentEditable.. not sure.
looks like brackets is it's own webkit-based shell, not related to atom and vscode
 
F4z
how do I get more info on things like that, really interested in trying to make one, everytime i look for "texteditor using css, html" etc, I keep getting text editors within a webpage :P
 
ace editor and code mirror are two popular ones. also: en.wikipedia.org/wiki/…
 
1:19 PM
well.. these ARE within a web page..
@F4z was that what you wanted or did I misunderstand?
 
I'm so perplexed by this company's interview process
 
Do go on.
 
But can you fizzbuzz?
 
So there's no footer equivalent of <th>?
boo
 
put it in a tfoot
it is still a heading even at the footer.
 
2:03 PM
wait
 
also, i think <td> is valid there, too
 
<th> doesn't appear on the left side of a table?
 
wutchutalkin bout willis
 
<th> is a mostly pointless alternative to <td> inside a <thead>. It appears int he same spot
 
I want a table with header rows on all 4 sides
so there's thead, tfoot, and th
 
2:05 PM
th calls out explicit headers in a thead or tfoot
it is more for semantics
 
According to MDN, th doesn't belong in thead or tfoot
 
my life is a lie?
 
<thead>
    <tr>
        <th>Header 1</th>  <!-- could have been a <td> -->
    </tr>
</thead>
 
I may be misunderstanding
 
in a <tr> in a <thead>
 
2:06 PM
is th a row header or column header?
 
column
 
column. there is no such thing as a row header
 
shit
 
and using <th> in a normal row is invalid. just add a class
 
I guess I'll just use tds for everything
 
2:06 PM
no
 
well, you can still use them for your normal column headers..
 
or use grids/flex?
class all the things!
 
assuming this is actual tabular data then a <table> is the right choice.
@KendallFrey you can use <colgroup> and <col> to define a "row header" but I think you may still need to put a class on the <td>s to style it completely.
 
It's a grid with an extra cell on either end of every row and column
or you can think of it as a grid with the 4 corner cells missing
 
and it's for data, not layout, right?
 
2:10 PM
yes, i guess
 
user1596138
2:21 PM
Hey @KendallFrey
 
user1596138
Ah fuck
 
straw's cheaper
 
user1596138
 
user1596138
When the wrong window is active lol
 
hah, someone else working on charts right now
 
user1596138
2:24 PM
@Luggage Lol lots of charts i.imgur.com/lK5D7IH.png
 
nice. what are you using? anything?
I'm using react with various d3 helpers and I like it.
the "no" icon for "has children?" should be a dollar sign. :)
 
user1596138
@Luggage Umm the top Geography chart is FusionCharts I think, but when they look at only a single state it's Google charts. @Loktar made the bar charts below in canvas
 
user1596138
@Luggage haha!
 
my charts are mostly for print: snag.gy/ceNDiI.jpg
 
i.imgur.com/hlK9vJR.gifv taser bike seat
 
2:29 PM
I make them in react, then use juice.js for inline the css and pass off to a process to make pdfs. a complex tool chain but using all open source and/or starndardized parts.
 
@rlemon fantastic
 
@rlemon I love how they all fall the same way.
 
user1596138
@rlemon LOL it always surprises me how easy it seems to get people to steal a bike
 
user1596138
They're not even worth much
 
bike theft is still on the rise
 
2:33 PM
not worth much? They start around $400
nice bikes are $2k+
 
@ssube not the bikes that people leave around
 
for approximately 0 effort, bikes are the best to steal
 
you can get a decent 10 speed for $150
 
user1596138
@ssube No you can get a 21 speed for $100 lol
 
you can get used bikes here for $20
 
user1596138
2:35 PM
I know there are expensive bikes. The ones being stolen are not those..
 
the bike stores here straight up don't sell anything under $300 or so
 
user1596138
My lil brother has an $800 bike but he rides 2K miles a year lol
 
target usually doesn't carry bikes because we have so many bike stores
 
@ssube don't go to the bike stores. those are for posh hipsters
 
people leave the nice ones out on the street all the damn time
 
user1596138
2:35 PM
I used to do 25 miles every Saturday in the summer for 4 years straight.. My bike got stolen cause my sister left it out lol
 
@rlemon which is everybody here, especially ndugger
 
user1596138
@rlemon I walked past a "Bicycles and coffee" shop with @ssube haha
 
And jerling jarcher
 
user1596138
I was like that's the hipster shop right
 
@Jhawins :(
 
user1596138
2:36 PM
Then we found a Whole Foods with apartments above it
 
in Sandbox, 2 hours ago, by Kishore Kumar
@SankarRaj bro post question to reactivate @CapricaSix
 
user1596138
I would get a nice bike if I lived in that city. Seems so much better than cars for downtown anyway
 
this is going to meta?
 
@rlemon it's true, the name of the store was literally "Bicycles and Coffee" and it was near the part of town that should be strip clubs, not bike shops.
 
user1596138
@ssube Lol especially @ndugger
 
user1596138
2:38 PM
We were gonna go buy cigarettes at "Sex World"
 
user1596138
Your downtown is strange af..
 
yep
 
Those aren't cigarettes, Josiah
 
it's pretty sweet, cause you can just wander around
@KendallFrey sex world is the only store on that side of downtown that carries smokes
 
user1596138
Also cigarettes cost me like $9.20 over there....
 
user1596138
2:39 PM
Last night I bought a pack in Omaha for $4.69
 
@Jhawins why do you think I got a vape? cost maybe 2 months worth of cigs
I buy way too many different flavors of juice and it's still cheaper
 
$14 a pack here
 
@Luggage The questions from the interview are mostly like high school level logic problems, which are easy to solve correctly with a bit of thought, but they only give you around 20 seconds to solve each one. I don't get what the point is.
 
user1596138
@ssube I would be much more inclined to quit if I lived there lol. That's crazy... Not as bad as NY tho
 
£9 a pack here ($12)
 
user1596138
2:40 PM
@rlemon They don't grow their own tobaccy in CA? Expensive to import?
 
did this guy completely forget about oxygen?
 
Shane smokes o.O
 
user1596138
Yeah they're like $5.70 here unless you find the dollar off packs (which are literally everywhere...)
 
The dollar off ones are like $7 here :(
 
@Jhawins they tax the fuck outta it
the native reserves sell dirt smokes for like $30 a carton
but they come in one big bag
 
2:42 PM
lol gross
 
user1596138
Lol eww
 
user1596138
What's that American made brand? @ssube you know what I mean they are absolutely dirt cheap and marketed to patriotic peoples
 
user1596138
They are literally like $2.80 a pack in Indiana
 
no jokes. people just roll around and sell these
 
2:43 PM
@Jhawins most smokes are american made, we grow tons of it, but I have no idea what you mean
@rlemon that gets you shot here :D
 
there are tobacco farms nearish me
 
user1596138
@ssube I know, my family owns ~300 acres of tobacco farm just across the KY border lol
 
user1596138
But I forget the name of these...
 
hence why the natives around here do this
 
user1596138
Not Pall Malls but basically the same thing...
 
user1596138
2:44 PM
/me googles "American cigarette brand cheap asf"
 
when I smoked, a pack of Belmonts cost me $13 and change. now they're closer to $15 I think
they are not the cheapest. the value brands are like $9 a pack I think
idk. 2 years since I have bought smokes
 
user1596138
i.stack.imgur.com/qjcwi.jpg : these are like under $3 a pack back home lol
 
@Jhawins You're the only one who spells af that way
 
user1596138
@KendallFrey I'm only abbreviating the "fuck"
 
!!urban asf 1
 
2:46 PM
@KendallFrey asf A wrong way of abbreviating the words "as fuck", the right one being "[af]" (or "a.f./AF/A.F").
 
@corvid to prove you can think? got me. interviewing is hard
 
cc @SomeGuy
 
wouldn't that just say if you can think quickly and under stress, though?
 
I wouldn't want a job where I was required to work under stress tbh
20 seconds to solve a problem? They're looking for people who go for the first thing that falls into their mind then...
 
2:52 PM
don't be stressed about high school oogic problems.
be more confident
 
@rlemon My world won't be the same again, will it?
 
lean back in the chair, put your feet on his/her desk and ask what they are willing to pay.
 
@SomeGuy most are pretty commonly known, but a few are like "woa what?"
 
@ivarni yeah I got all the questions right with no time limit, took ~40 seconds per question to answer it and verify it was right
 
user1596138
@KendallFrey Lol
 
2:55 PM
In my last interview I was asked to explain the architecture and reason for tech choices in a project of my own choice that I was involved with.
 
@rlemon I have a tendency to pay almost no attention to the lyrics, so this feels more life changing to me :P
 
user1596138
@rlemon Pumped Up Kicks should be in there.
 
does anyone here work in tech management? or plan to move into management ?
 
user1596138
A song about shooting up a school.... lol
 
@ivarni I had that question in my last interview too
I think it's a good question
 
2:57 PM
That's way better than the pop-quiz-hotshot style
 
@Jhawins Flagged for telling me not to flag for flagging out of context.
 
They also asked me about the lessons I learned and what I'd do differently
 
Those are the kind of questions you want to be asked. Take those jobs.
 
user1596138
@Trasiva Flagged for telling me you flagged me because I told you not to flag
 
connectAsync() {
    return new Promise((resolve, reject) => {
      this.once('connect', resolve).once('error', reject);
      super.connect(...arguments);
    });
  }
In this method, will the once handlers be garbage collected once the promise is either resolved or rejected?
 
2:58 PM
@Jhawins Flagged for flagging me for telling me to flag you because you told me not to flag the thing I flagged for telling me not to flag out of context.
 
the only one that really got me was how many police songs are terribly bad
who knew sting was a perv
rather, that big of one
 
...really? He never gave off that 'I touch kids' vibe to you?
 
> You know I like my girls a little bit older
I just want to use your love tonight
Source: Your Love by The Outfield: play.google.com/music/preview/…
 
Toss a frock on him and he'd fit right in at the Catholic church.
 
23
A: Can someone underscore the importance of [tag:underscores]?

Jason C I doubt there are many people who are subject matter experts in the matters of the underscore. As a professional scorer of unders, I resent your cavalier attitude towards this topic. And also, yes, I agree. Truth is, I spent all that money studying Underscoring and ended up working in sof...

2
 
3:06 PM
^ funny I grew up with a Jason C who dropped out of college and is now a "rapper"
 
I believe the term is "rappist"
 
haha
Drake is a rappist
 
no, Drake is just a sadboi
 
Drake is my hotline bling
 
that can only mean one thing
 
3:11 PM
blinga linga ding dong!
 
3:37 PM
hii
i declare a class A object in the Class B . does Class A object act like instance Variable for class B? if yes that mean it can access all instance variable of Class A?
 
@Lalitkumar 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.
 
@Lalitkumar mostly, yeah
that's inheritance
 
@Lalitkumar show us the code you mean, please.
 
wouldn't you have the answer to the second part of that question by trying it?
 
well, the question could mean a few things
 
3:40 PM
bye
 
// @Lalitkumar is this what you mean?
class B {
    constructor() {
        this.a = new A(); // class A defined elsewhere
    }

    foo() {
        this.a.bar();
    }
}
var b = new B();
b.foo();
 
is there a valid case for extending a class without calling super?
 
I can think of some, but I thought you had to..
or maybe that's jsut eslint..
 
well it doesn't work without
but I'm struggling to think of a case where you would want to extend but not call super?
 
If you really wanted to REPLACE the constructor, not just call more statements after it
 
3:43 PM
but that .. ugh.
 
if you're replacing the constructor, though, you probably shouldn't be extending
 
true.
or jstu make the parent constructor do nothing, if that's the intent, so it's safe to call.
 
but then you take the methods
just seems like something that if done, means you're doing it wrong
so why not make super() automagically called when you run the extenders constructor?
 
I think we all agree.. just always call super().
ohh.. not sure.
 
@rlemon so you can control the args going into it
constructor(options) {
  const {foo, bar} = options;
  super({foo});
  this.bar = bar;
}
 
3:46 PM
ohh right. I do that and forgot.
 
@ssube I suppose, I mean you could use alternatives rather than calling super in the parent
 
super has to be called before any use of this
so you can actually do plenty of stuff pre-super
 
If you don't want to call super and just inherit methods you probably want a mixin instead surely?
 
!!afk lunch
 
@ivarni JS doesn't have interfaces, so that's not possible.
 
3:47 PM
or just a noop constructor..
 
and TS doesn't have default methods on interfaces, so it's extra not possible.
you can hack it, but it's super hacky and gets really ugly
 
@ssube well, it's js after all
 
the way Java does default methods on interfaces (inheritance of behavior) is the best
I'd love to have that in TS, but prototypical inheritance makes it impossible, I think
 
-1
Q: Using the script tag to use NodeJS in a browser

user6753352I have been a bit confused on how to use the script tag to import NodeJS modules into a web page in order for a NodeJS script to work. How would I import a module with multiple files and scripts using the script tag and have a NodeJS script work on a website? Here is an example of what I mean. s...

 
I wouldn't mind abstract classes in JS but I don't see the point of having an interface, then again I didn't realise we were talking about TS so my bad I guess
 
3:50 PM
we weren't :)
 
@ivarni an interface can't have properties, so it's safe to have multiple inheritance
simple interfaces are contracts (method definitions, no method bodies, no fields)
 
though, interfaces don't have method bodies.. so they aren't the same as a 'mixin'.
 
good interfaces are mixins (method definitions and bodies, no fields)
 
just Object.assign() yourself a prototype to use mixins.
ok, i am thinking of c# interfaces which are definition only. I thought Java was the same
 
@Luggage they can, in some languages, and it's absolutely amazing
not with Java 8
you can implement the method, but you can only use other methods to do so
 
3:52 PM
What's the point of interfaces in a weakly typed language?
 
nothing.
except code clarity..
 
which JS doesn't value
 
I value.
 
because TS turns into JS, you can't really use it there either
the real problem is how prototypical inheritance works
 
// is a duck.
You can always just make up your own interfaces if you need them.
 
3:55 PM
but you can't use them as mixins without fucking with prototypes, which is a shame
 
but you can extend any expression that returns a class.. so..
 
uh.. "fucking with prototypes"?
 
What is stoping the TS transpiler/compiler from introducing the concept of an interface?
 
class MyClass extends makeParent(Duck) {}
Nothing. It has them.
 
Ceylon does that, and compiles to JS
Oh ok
 
3:56 PM
How the hell do you style an SVG to be auto width based on the rectangles in them, and have no padding? My svg has crazy padding and I can't find where it's coming from
 
They are basically just compile-time contracts.
which is mostly all you need.
 
they get erased after compile-time, though
 
I don't think SVGs acan be auto width..
 
I recently ran into a problem with that, cause I wanted to call a function with an interface as a param
can't do it because they get compiled out, because prototypes
 
svg.attr("height", itemSize*(Object.keys(obj[category]).length+1))
 
3:57 PM
you can't do a foo meets Contract assertion before you do stuff, either
 
svgs use coordinates to place objects. you need a defined width and height
a viewBox
 
I'm setting the section height by using this, but there's uneven space between the svgs
 
but.. you can width: 100% it..
ok. maybe I made some assumptions.
 
That. Set the width on a parent div and have the SVG do 100% unless I am also missing something
 
3:58 PM
See how those gaps are uneven? I don't get it
 
what does the inspector say?
you should be able to have chrome tell you where the gap is coming from
i would need to see html+svg to be able to tell.
and css, probably
 
I can't atm, in training, just casually asking.
There's serious overlap issues i'm seeing with the inspector
Which is weird as fuck because they should all have a set height. Something with the placement sounds fucky
 
yea. probably something simple..
 
@Luggage this is code link hastebin.com/keyopuyira.vala
 
That is not javascript.
looks like java
 
4:05 PM
yep it java
Sorry i posted in the wrong room
 
:)
 
4:40 PM
@SterlingArcher svgs seem to take up proper vertical space.. must be another style leaking in: codepen.io/anon/pen/dXBXbL?editors=0111
 

« first day (2139 days earlier)      last day (2809 days later) »