nspuma has quit [Remote host closed the connection]
nspuma has joined #openscad
nspuma has quit [Remote host closed the connection]
<Joel>
So, I am putting png's into github, but this is a terrible idea in terms of space used. What are folks out there doing for sharing screenshots? Recommend a free place to dump images that can be hotlinked back to?
ali1234 has quit [Remote host closed the connection]
ali1234 has joined #openscad
<buZz>
imgur.com
<buZz>
imho, putting png in github is totally fine ; but,
<buZz>
remember to lower bitdepth towards colorcount of the image taken ;)
<buZz>
you dont need a 24bit png to store a 6 color picture
<Joel>
buZz can diffs be recorded on pngs?
<buZz>
in theory? sure
<Joel>
as in, it's not a binary file?
<Joel>
any binary file in git == bad
<buZz>
does git do binary diffs? no
<buZz>
you could convert the png to a svg with inkscape
<buZz>
you can diff those easily
<Joel>
that sounds like not a lot of fun in a ci/cd pipeline :P
<buZz>
those arent ment to be fun :)
<ali1234>
here is a terrible idea
<ali1234>
open issues, attach pngs, link them in the repo
<ali1234>
i know people that actually did this
<Joel>
I'm trying to keep images in the readme.md
<Joel>
so even imgur isn't useful, thanks to random image naming
<ali1234>
the correct way to do this is to generate your docs with CI, including the images, and then host it on readthedocs or something
<buZz>
or a second repo with documentation
<Joel>
"correct" is debatable
<Joel>
I can just as easily route53 -> cloudfront -> s3 and drop there
<Joel>
which is what I'll probably do
nspuma has joined #openscad
nspuma has quit [Ping timeout: 250 seconds]
nspuma has joined #openscad
nspuma has quit [Ping timeout: 268 seconds]
nspuma has joined #openscad
ochafik has quit [Remote host closed the connection]
ochafik has joined #openscad
nspuma has quit [Ping timeout: 250 seconds]
ochafik has quit [Ping timeout: 264 seconds]
ochafik has joined #openscad
nspuma has joined #openscad
nspuma has quit [Ping timeout: 265 seconds]
nspuma has joined #openscad
ochafik has quit [Remote host closed the connection]
ochafik has joined #openscad
ochafik has quit [Ping timeout: 265 seconds]
gunnbr__ has quit [Read error: Connection reset by peer]
<JakeSays>
Joel: any binary file in git == bad is not an absolute
<JakeSays>
any binary file that is an artifact of the repo its in == bad
ochafik has joined #openscad
<Joel>
JakeSays `git clone` on a repo with a 100mb file checked in a couple thousand times will quickly teach you it's bad :)
<JakeSays>
Joel: i don't base my decisions on edge cases
<JakeSays>
and for those size files, there's git-lfs
<Joel>
Now you're making assumptions.
<JakeSays>
what assumptions?
<Joel>
git-lfs won't do jack for folks with low end internet, either.
<JakeSays>
... ok
<JakeSays>
so you have 100mb png's?
<Joel>
"here's an edge case".."I don't address edge cases"
<Joel>
That's all I needed to read.
nspuma has quit [Ping timeout: 264 seconds]
<dalias>
i so hate gratuitous large files in git repos
<JakeSays>
well, i was just stating that your claim is not an absolute. i tend to think more broadly and make decisions on a case by case basis.
<dalias>
git should have an option to just dummy them out when cloning
nspuma has joined #openscad
<Joel>
dalias agreed, skip any files over X, would be great if it could be a default that's checked in, too.
<dalias>
make an object that's nominally the large object (identified by hash) but that has no actual storage and that appears as an empty file or symlink to "large file omitted" or something
<teepee>
sounds like a git submodule :)
<JakeSays>
we have a repo that has 10's of gb worth of sdks in it. the entire repo itself is ~160gb.
<dalias>
no because it's not anything different in the data model
<dalias>
it's just a way to clone otherwise uncloneable shit
<dalias>
(by omitting the part you didn't want to begin with)
<teepee>
submodules are not cloned by default
<Joel>
teepee submodules have a stack of other issues though
<JakeSays>
teepee: right, but usually they're not much use until cloned
<Joel>
like, in that case, your artifact isn't tightly versioned with the parent repo
<teepee>
yeah, it's not perfect either
<teepee>
that's the point, openscad has MCAD as submodule for example
<Joel>
one can also fight the battle to re-write them out of history, I suppose, but again, huge problem when I can just dump assets into s3.
<JakeSays>
teepee: imo it shouldn't have mcad as a submodule.
<JakeSays>
or at least it shouldn't be distributed with openscad
<teepee>
well, I agree, but that ship has sailed about 10 years ago
<JakeSays>
when i first tried using it, it wouldn't run.
<JakeSays>
i had to go find a version that would work
<JakeSays>
so if the distributed version isn't maintained, then it's worse than useless
<teepee>
not true
<JakeSays>
which part
<teepee>
removing it will break for everyone depending on it being shipped alongside
<JakeSays>
that is true. i was looking at it from the perspective of a new openscad user, which was my experience with mcad.
<teepee>
but like I said, I think there should be at maximum a very narrow standard library
<JakeSays>
it was full of syntax errors. not knowing the language well made it difficult.
<teepee>
people advocated for including big libs like bosl and I'm going to push back on that best I can ;-)
<JakeSays>
and apparently there is no 'official' mcad repo
<JakeSays>
teepee: yeah i totally agree
<JakeSays>
a well maintained, well tested standard library would be great
<teepee>
by now the openscad one is maintained by hyperair
<teepee>
nobody comes forward doing the maintenance, which is why there's no standard lib
<JakeSays>
right
<teepee>
maybe we get a package manager going, that would be even better
<JakeSays>
yeah i was thinking about that recently. it would be awesome to have a thingiverse like site for packages
<JakeSays>
with an online openscad to experiment with
ur5us has joined #openscad
<teepee>
yes, that would be nice
TheAssassin has joined #openscad
bomb has quit [Quit: ]
<Joel>
is it possible to draw a bunch of shapes along the x axis in a file, but include them in another, and tell them to run along the y axis? I should set up a test, I just wasn't sure if anyone knew of a demo of this off the top of their heads
<Joel>
like somehow do the translate in a parent file, of an object from a child file
<Joel>
I guess I could pass the transform as parameters..
<Jack21>
Joel: the file need to save but then you could include a module from file A in file B
<teepee>
peeps[zen]: with funcutils added to the download page, do you have an idea for a logo or something like that? it looks a bit lonely with all the other libraries having images :)
<peeps[zen]>
idk, haven't thought about a logo, but being a sort of foundational algorithms lib, its not very conducive to pictures. I still need to update the README regarding all the "function literals are still **experimental** blah blah"
<teepee>
so it may have to live without an image for a while, not a huge problem I guess
<teepee>
I was thinking of creating someting with some source code, but that gets messy soon
<Jack21>
could show how arrays look before and after the function - still not very picturess
<peeps[zen]>
teepee: thanks for adding it btw :)
<Jack21>
maybe just some math signs and numbers spilled around
ochafik has quit [Ping timeout: 265 seconds]
Fleck has quit [Quit: GOSUB w/o RETURN]
Fleck has joined #openscad
peeps[zen] has quit [Ping timeout: 260 seconds]
ochafik has joined #openscad
nspuma has quit [Remote host closed the connection]
peepsalot has joined #openscad
<peepsalot>
bleh my isp just had an outage out of nowhere, they claim it will be fixed in another 2hrs. had to set up my phone to share its connection.
<peepsalot>
i hate flaky providers with monopolies/oligopolies. there's exactly 2 options where I live
<teepee>
I'm on one of those too, quite ok though for a long time already
<teepee>
you just must not ask them to change anything, that's causing all sorts of random issues
<InPhase>
peepsalot: Both outages more than a blip that I had this year were from contractors breaking my fiber connection in my house. Other than that, my Internet access has been very reliable lately.
<peepsalot>
fiber? ok bill gates
<InPhase>
One contractor cut the fiber line with a knife to make space. Another contractor yanked the fiber line really hard from outside the house while trying to make space to work on the wall.
<peepsalot>
i'm just salty that google fiber didn't extend to my neighborhood on the outskirts of austin. only cable modems here
<InPhase>
Verizon's FiOS services here, and is one of the few things Verizon seems to handle competently.
<InPhase>
Well, except for still not having ipv6 support.
<peepsalot>
i have spectrum (previously time warner), and only other option is ATT. all teleco are so terrible in US
<InPhase>
Yeah.
<InPhase>
I'm not sure why fiber deployments are so slow. It seems like there should be a lot of money to be made on this.
<InPhase>
It looks like annual revenue for broadband access is about equal to the cost to increase fiber roll outs from 30% of homes (current) to 80% of homes.
<InPhase>
Of course the infrastructure bill Biden signed also included the amount of money needed to make that same transition. So hopefully that will make it happen.
<InPhase>
The amount included was just short of the amount needed to reach 90% of homes, even if we ignore the fact that there's money to be made on this.
peeps[zen] has joined #openscad
peepsalot has quit [Ping timeout: 268 seconds]
peepsalot has joined #openscad
<peepsalot>
oops, thought service was fixed for a second there, but i guess its just off and on still.
af has quit [Ping timeout: 268 seconds]
peeps[zen] has quit [Ping timeout: 250 seconds]
<InPhase>
Perhaps your ISP is attempting to fix it by turning it on and back off again. That's almost right.