« first day (2596 days earlier)      last day (2353 days later) » 

4:00 PM
while on the machine
lightly.
 
the 3d printing chat intensifies:3
 
hard to get a good picture. It's a thin layer of plastic all over the very tip.
I heated it up and scraped most of it off, don't have any steel wool
 
yea mine has had that before
 
meh
 
for now I just swapped the tip
 
4:01 PM
the .3?
 
shouldn't really make a difference if it's just on the outside and a thin layer
 
Just the tip?
 
@rlemon well, extruding with it up in the air, it's enough for the string to stick and make a loop, which starts twisting on itself
 
I have some shift int he x axis.. belt seems tight..
 
that always happens to me
 
4:02 PM
it was almost enough to form a clump around the nozzle with it floating
 
regardless of the gunk
 
it loops anyway
 
I always get a noose
 
huh, mine hasn't until now
maybe it's the filament
 
mostly. sometimes if you get it started straight it'll keep going from the weight
 
4:02 PM
I've tested it a bunch, swapping colors and just for fun, and always made a good rain drop
 
I like to purge 100mm between rolls.
I've never had it not loop
 
the clean 0.5mm isn't having trouble, but that's two differences
 
Mine were not labeled.
So I assume I have a .4 on there. No clue what the other is
 
mine came with a 0.4 on it (I think), bag marked 0.3, and unlabeled "replacement" (probably 0.4)
however
these are labeled
the little screwdriver also got the nozzle off when the flat wrench was just cutting into it
 
I'd probably use a socket to get it off
 
4:10 PM
I don't have a socket small enough. It's also the perfect depth, which is cool. Nice touch for a cheap tool.
I do have a ratchet driver the bit will fit in, though...
 
I need to get a set of long hex bits
I have a short set, doesn't work out well when I have to get at the ones inthe bottom of the control box
 
I want to get rid of the control box, it takes up too much room
 
same, it's a pita
I just need to design a new one first.
this weekend I'm going to start planning out my station, and I will incorporate it into the table.
 
my shelves arrive today, and I might be able to mount the camera and filament from them
I think I have the bits to attach it
 
I wanna do similar to this
but instead of the keyboard, I'm going to put a 6" touch display on the rpi
 
4:18 PM
@rlemon why do yo use the rpi?
 
that's a nice setup
 
I mean, what's its purpose
 
also I have 2 of that exact keyboard lol
 
the rpi connects to the printer, so I can access it on my network and not have to control it from the actual box
and it has a bunch of other features that are nice to control you printer
 
can't you connect the printer to the computer?
 
4:18 PM
oh boy
Black Friday has started.
 
you can, it's just a python package
 
@Neoares a rpi is a computer
 
mine is plugged right into an old desktop
 
@3d-printers-geeks hey I'm buying a 3d printer today hoping to get a black friday deal. pls advice meh!!!!!
 
it's a $30 solution
@FélixGagnon-Grenier cr-10
but it won't be on sale in Canada :(
 
4:19 PM
@FélixGagnon-Grenier banggood.com/…
 
$500 cad + shipping
would rather just spend $700 on amazon and get it next day
 
.... wat?
you'd rather pay more?
 
@rlemon so why the $30 computer instead of your (insert larger number here) one
 
@ssube that looks relevant
 
@Neoares and I can put it anywhere.
the printer doesn't live next to my desktop
 
4:20 PM
I thought it had wifi
 
the printer connects with a usb-serial connection
 
ew
3d printers with usb
 
most of my high-end hardware uses usb-serial too
 
@FélixGagnon-Grenier $600 and wait for it to ship from banggood, and then have to deal with them for support/returns/etc. or $700 and get it next day instead of in weeks or months
and you get a great return policy
 
it's common in network gear
amazon's return policy is probably worth $100
here it's a $330 difference
 
4:22 PM
what's wrong with wifi :/
 
@Neoares for appliances?
why do you want them cluttering up your wifi?
 
@ssube ohh yea, for that much I can totally see it, but after conversion and shipping costs. it's like $50-$100 difference
 
also, wifi is unstable, this is plugged in all the time
 
cluttering? you have 255 endpoints
and you can name them
 
@Neoares lets put it this way, the rpi is acting as a nice bridge so I can control the printer from any pc on my network (or outside of it) for an extra $30
 
4:23 PM
wat
 
the inner address
weren't you talking about that
 
nope
wifi clients
the printer would have a bad time trying to connect to wifi right next to the network/AV rack, too
 
:/
my 2d printer is connected via wifi and works great
 
I'm not worried about IPs lol, my home network is a /16, peered with 3 others, with various /24s handed out to different parts
 
4:25 PM
(first time I use the term "2D printer" to refer to a regular printer)
 
nice, I think I'm going to print this
then put the screen and the pi in one nice case
 
can you print 3d printers?
 
you can
well, most of the parts.
the metal bits and motors and shit you need to buy
 
you need many different materials
and an industrial printer
 
there is no 3d metal printers? :D
 
4:26 PM
you can print metal infused pla
 
AKA foundry
 
but I doubt that'd be anywhere near strong enough
 
there are, they're just in a different class
you go from < $1000 to > $15k
 
the frame of the printer needs to be very stable.
 
and they take up an entire room
 
4:27 PM
and you can't print steppers (yet)
 
@ssube but you'll have infinit 3d printers then
 
so, you can print 3d metal printers with a metal printer?
 
I got the leveling knobs installed on the work printer today, and the stress relief clip, and the extruder cover with the guide and cable holder
so now I just need to get the silicon for both mine and work and I think I'm good for upgrades for a bit
 
which one is the stress clip? I have the cover, haven't bothered with knobs yet.
 
4:30 PM
the bed heater cable
it's just soldered on the back of the bed
it takes stress on y movement
 
oh, I was wondering about that part
 
you can get the knobs and clip there
just ignore the cooling duct
 
const hsl = { hue: 0, saturation: 0, lightness: 0 };
const els = {
  ...(() =>
      ['number', 'range'].reduce((elTypes, type) => ({ ...elTypes,
        [`${type}s`]: Object.keys(hsl).reduce((properties, property) => ({ ...properties,
          [property]: document.querySelector(`.js--${type}.js--${property}`)
          }), {})
        }), {})
  )(),
  buttons: { /* stuff */ }
}
/* stuff */
I'm not sure if genius or absolute madness
 
why are you posting javascript in the 3D printing room
 
that's terrible code
 
4:34 PM
it's a mess
 
wtf is that
 
damn lol, rift is $350 now
 
might work, and be 'clever', but it's a mess
 
[${type}s]: Object.keys(hsl).reduce((properties, property) => ({ ...properties, this sequence alone
 
$ reminds me to PHP, so 0/10
 
4:34 PM
but it's not alone, it's in there twice
reminds me of Go in the worst ways
 
@Neoares meh, I've gotten over that
template strings are boss
embrace their awesomeness
 
what are template strings
 
foo + ' bar' === `${foo} bar`
 
context: while learning how to lisp, I started getting really mad at the fact that js didn't have proper macros
but want to use something similar anyway
 
@Neoares go check mdn on template literals.
 
lol use my link
 
the more I do that, the more I see that while the code might be a bit faster to write, it becomes an absolute mess
 
you're looking at the hebrew version
 
I know
it was the second result at google
 
the above is a shortcut to this:
 
4:37 PM
because I searched for "template strings" instead of "template literals"
by the way
it's not compatible with IE, soooo fuck'em
 
lol
and also,
> Template literals are string literals allowing embedded expressions. You can use multi-line strings and string interpolation features with them. They were called "template strings" in prior editions of the ES2015 specification.
so you'll still see a lot of refs and people calling them template strings
like myself. :/
 
welcome to 2k17, lemon
 
const hsl = { hue: 0, saturation: 0, lightness: 0 };
const els = {
  numbers: {
    hue: document.querySelector('.js--number.js--hue'),
    saturation: document.querySelector('.js--number.js--saturation'),
    lightness: document.querySelector('.js--number.js--lightness')
  },
  ranges: {
    hue: document.querySelector('.js--range.js--hue'),
    saturation: document.querySelector('.js--range.js--saturation'),
    lightness: document.querySelector('.js--range.js--lightness')
  },
  buttons: { /* stuff */ }
 
now it's template liiiiterals
 
and it feels like there's got to be a way to make this shorter and more malleable
 
4:39 PM
@towc why
 
@towc it is
 
yeah, it's called react
 
first, let dqs = document.querySelector
 
meh, I'd be using vue, but that's not the point :P
 
don't keep a map of elements or selectors
 
4:40 PM
and second, react
 
why not const dqs?
 
I'm questioning js itself, it doesn't really have much to do with the dom
 
@FélixGagnon-Grenier idk, const is good also
 
take document.querySelector out of the equation, and just assign them to the respective strings
 
4:41 PM
but that's not what you're doing
 
function foo(...keys) {
  const ret = {};
  for( const key of keys ) {
    ret[key] = document.querySelector(`.js--number.js--${key}`)
  }
  return ret;
}

const els = {
  numbers: foo('hue, saturation', 'lightness')
}
 
a map of strings is fine
 
boom
 
you forgot ranges
that's gonna make it so much longer
 
yea, so add that as a var too
 
4:41 PM
@rlemon well, the hsl object will be used later on regardless, and I wanted it to be an expression :/
 
not really.
you just need to add another option to foo to take in the precursor
 
but yeah, using a for...of might have been more sensible
 
I know
I was being sarcastic
 
your sarcasm is bad and you should feel bad
 
using a proper function makes it a one line change
instead of 19 lines with ... everywhere you can possibly jam it
 
4:43 PM
I think to piss people off I'm going to start making demos with function foo(...arguments) { }
😉
 
oh you're evil not really
how to underscore Q_Q
well not underscore, this thing when you put a line in the middle of the text, like if it was deleted
 
--- word ---
 
I don't even know how it's called in english xD
word
 
---word----
 
thanks
 
4:45 PM
damn, 1 extra -
ohh well, you got it
@Neoares strikethrough
 
oh... and the action is to strike?
 
strikethrough is the action
it's a typographical thing
 
so
I strikethroughed the text
is a correct sentence?
 
yes, albeit odd to say
 
I think you can also say "I struck through the text," but what you've made is now a strikethrough
 
4:47 PM
actually, what's the most elegant way you can think of to turn an array of strings into an object with the strings as properties whose values are a function of their keys?
 
@ssube as long as you hyphen it, if we're being pedants.
otherwise you just punched the shit outta that text.
 
@towc you mean string functions as keys?
no wait
 
const objectify = (keys, fn) => keys.reduce((obj, key) => ({ ...obj, [key]: fn(key) }), {})
 
output example? xD
oh there you go
no that's not the output
 
4:49 PM
I somewhat like this approach, but I can see that it's really not elegant, as it hinders readability
 
indeed it does
 
so you wanna take ['foo', 'bar'] and turn it into { foo: fn('foo'), bar: fn('bar') } ??
 
so I'd call keys just params
 
    objectify(['1+1', '2+2', '3+3'], eval);
    // {1+1: 2, 2+2: 4, 3+3: 6}
 
that's a new Map(keys.map(key => [key, fn(key)]))
if the keys are dynamic, it's probably a Map
 
4:51 PM
@rlemon that's the idea, yeah
@ssube but I want dot access :/
 
why?
 
so it's easier to use later I guess. Not a great reason
 
no, it's not
 
"all of the keys are strings" might be a good reason in it of itself
 
99% of dicts have string keys
dict-as-a-server servers like redis do nothing but string keys
if the keys are dynamic, it should be a Map
 
4:53 PM
meh, I give up
 
if they're constant, a POJSO makes sense
 
it doesn't feel right for me to use a map for the thing I'm doing, that's all :/
 
why?
 
works well with an object when I write it in full. The idea was just to have a macro-like thing that allows me to write less while still keeping readability
 
function towcsucks(keys, fn) {
	return keys.reduce( (obj, key) => ( (obj[key] = fn(key)), obj ), {} );
}
 
4:55 PM
@ssube it seems it's even cheaper on gear best gearbest.com/3d-printers-3d-printer-kits/pp_441281.html?wid=21
 
and it still has nasty things for you to feel leet
like comma operator
 
@FélixGagnon-Grenier nice, that's even cheaper than what I got
 
@rlemon well, that way you don't keep creating a new object, right?
 
"macro-like thing that allows me to write less" is the long way of saying function, as lemon has illustrated
 
I am very near the point of no return and pressing that order button
this is so anti climactic
 
4:56 PM
@towc no clue what you're talking about
 
8 mins ago, by towc
const objectify = (keys, fn) => keys.reduce((obj, key) => ({ ...obj, [key]: fn(key) }), {})
 
yea no clue what that code is trying to do
it's confusing af to read
and I refuse to try
 
point was, it's really not elegant :P
 
@towc neither you are
 
remove the comma operator from mine and it is very elegant
 
4:58 PM
that's also not how reduce works when you're building an object
 
it does exactly the same thing yours does, except it merges the objects with a spread rather than an assignment and comma
 
(p, c) => (p[c] = v, p), {}
 
@towc reduce returns something new
 
pvc
 
following the tradition of abusing commas
 
4:59 PM
@rlemon in your case, it's always returning the same object, mine creates a new one each time
 
@towc so you make a copy every time and that copy has a different shape
just to really rub salt into what you've already done to v8
 
@towc because?
 
@ssube yes, I know it's bad, that's why I was somewhat impressed by rlemon's solution
 
lol, really? because mines a basic .reduce example :P
 

« first day (2596 days earlier)      last day (2353 days later) »