<apotheon>
siaw23: For certain? I don't think that's really even an option -- to be perfectly positive. I'm pretty sure, though, considering that's the official release date.
<siaw23>
apotheon i thought i saw an RC2 somewhere but not sure
<siaw23>
RC2 will mean close to finishing i'd thought
jenrzzz has joined #ruby
ur5us has joined #ruby
hiroaki has quit [Ping timeout: 272 seconds]
<apotheon>
yeah, probably close
orbyt_ has joined #ruby
dfucci has joined #ruby
DaRock has joined #ruby
DaRock has quit [Client Quit]
zacts has quit [Quit: leaving]
dfucci has quit [Ping timeout: 246 seconds]
<Technodrome>
is there a british equivalent to a funnel cake?
zacts has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
chouhoulis has quit [Remote host closed the connection]
<apotheon>
Technodrome: I think funnel cakes came to the US from Germany, and to Germany from Persia, and never really made much of an incursion into the UK.
<Technodrome>
I see
<Technodrome>
yeah i mean she was just obsessed with them like it was some exotic treat
<apotheon>
Who was obsessed with them?
<apotheon>
I wonder if you meant to ask your question in a different channel.
<Technodrome>
a girl who works at the front desk of my building
<Technodrome>
she's from northern england
<Technodrome>
i did apotheon , by accident i put it in Ruby
<Technodrome>
still nice to know its sorta german inspired i guess
weaksauce has joined #ruby
chouhoulis has joined #ruby
<apotheon>
Technodrome: Funnel cakes became a big thing in the US thanks to Pennsylvania Dutch (which is a weird way of saying "certain German immigrant communities in the US") coming up with a cool way to make tasty cake-pastry things with funnels and a thin batter made with baking powder, then selling the stuff at county fairs.
<Technodrome>
I see yeah
<apotheon>
The basic recipe, except for the use of baking powder (I think), just came from Germany, though.
<Technodrome>
i mean they are sorta street food thing here in nyc as well
<apotheon>
I have some good memories of funnel cakes in the northern US midwest at fairs when I was a kid.
<Technodrome>
like a carnival?
<apotheon>
yeah, kinda like that
<apotheon>
The kinds of fairs I recall were sometimes carnivals, but often less carnival-ish -- maybe kinda like a renaissance faire, but without the anachronistic theme, instead with more of a "local rural" theme.
chouhoulis has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
<Technodrome>
apotheon i see
<Technodrome>
just coney island here in nyc really
<apotheon>
There was also a great renfaire when I was a kid that had some of the best spanikopita ever made. As a kid, I loved this fencing thing they had, where two people wear fencing masks with balloons taped to them and try to pop each other's balloons with the fencing foils to "win".
<apotheon>
I don't recall whether that renfaire had funnel cakes. My favorite things about that place were the balloon fencing and the spanikopita (which I called "spinach pie" at the time).
<Technodrome>
sounds amusing
<apotheon>
I really need to start building a file management web application in Ruby next year.
<apotheon>
Technodrome: As an adult, I ultimately ended up working at a renfaire booth (in a different state) where my job was to teach people the basics of fencing, either fence with them or referee as they fenced each other, and somehow be pseudo-anachronistically amusing.
<Technodrome>
and somehow you got into ruby thereafter ha
<apotheon>
yep
<apotheon>
BASIC -> Logo -> C -> C++ -> shell -> JavaScript -> PHP -> Perl -> Ruby
<Technodrome>
just curious how old are you apotheon ?
<apotheon>
That's my path through significant language adoptions.
<Technodrome>
BASIC in the 70's or BASIC in 2002
<apotheon>
I've been 42 for over 3.5 years now.
<apotheon>
(I stopped aging at 42.)
<apotheon>
BASIC at about 1980.
<apotheon>
I don't recommend it, but it was basically my only option at the time.
<Technodrome>
I'm 33 , so PHP was first for me at 15 quite honestly
<apotheon>
There were other languages along the line, but the above is the main thread through them.
<Technodrome>
it would be sexier if I started with some other programming language though
<apotheon>
I was playing with code at about five, I think.
gix has quit [Ping timeout: 240 seconds]
<apotheon>
PHP was the BASIC of the early 2000s, just as Java was the COBOL.
<Technodrome>
yeah, I mean I enjoyed PHP , i got into cherrypy with python shortly after and then rails like in 06
<apotheon>
I kinda enjoyed PHP for a bit, but I basically only used it as a templating language.
<apotheon>
Once I started pushing the boundaries of that, I started hating it.
<Technodrome>
it was fun getting stuff running and making money
<apotheon>
I actually used Perl before PHP, I think, but it wasn't as central to productive coding at first.
<apotheon>
Yeah, getting paid is fun.
<Technodrome>
we had a restaurant invoice script thing we made where a few local places would put their invoices in, then got sent to vendors, they would pay through our payment portal, we charged a percent, otherwise free
<Technodrome>
food trucks and stuff back then didn't really have computers and offices etc
<apotheon>
right
<Technodrome>
outside of working full time in Rails, i've never made a dime off anything rails i've created
<apotheon>
I've been paid to write Rails code.
<Technodrome>
for whatever reason the stuff that makes money either ends of being Python or PHP
<Technodrome>
yeah apotheon same, but i mean a creation of your own
<apotheon>
Yeah, I haven't made money off my own Rails project for my own purposes.
<apotheon>
That's really my fault, though.
<Technodrome>
yeah same, something about the early days with PHP , coding wasn't the result it was a means
<Technodrome>
now coding is sorta the "means" so to speak
<apotheon>
These days, most of my code is just for tools, basically.
<apotheon>
I write a lot of library, command line, and personal interest web application code.
<Technodrome>
there was a bunch of books being thrown away, I actually saw a stack of PHP ones, you know old ones like 2003 and stuff. Building shopping carts and this or that, it was sorta nostalgic so I took them
<apotheon>
The last time I wrote commercial code of any kind, I reimplemented an employer's website with up-to-date tools, because the toolset for the old website was unmaintained at that point. That was around the end of 2017.
<Technodrome>
Using even the php4 object system properly and using smarty for templates , you could sorta create decent web app structure for that time period
<apotheon>
That's not to say that I haven't been writing code for web applications for public use, but they're not really *commercial* sites.
<apotheon>
. . . like a nonprofit association website that I wrote and am going to have to rewrite soonish.
<Technodrome>
i am working on a non profit tool in rails for some people
<apotheon>
You write code for nonprofits? That's cool.
<Technodrome>
and probably going to get a rails position since i'm not a big fan of my python one atm
<Technodrome>
python job is django, so not micro frameworks or nothing but still
<Technodrome>
just doesn't feel as smooth as rails
<apotheon>
Yeah, I really have never enjoyed Python coding except when working with Flask.
<Technodrome>
i prefer django over flask
<Technodrome>
but maybe thats because i know the api like the back of my hand
<Technodrome>
which is half the reason i get pulled into python all the time
Xiti has quit [Quit: Leaving]
<apotheon>
Flask is basically just Sinatra written in Python, which is why I liked it.
<apotheon>
It was nothing like writing typical Python.
<apotheon>
That employer's website I mentioned got rewritten (by me) using Frozen Flask, which is a static site generator wrapped around Flask.
<apotheon>
Well . . . I'm off to other things. Ta.
<leah2>
is there a ruby markdown library that allows for filters on the AST (as pandoc e.g.)?
royo25 has quit [Remote host closed the connection]
dfucci has joined #ruby
royo25 has joined #ruby
dittonedo has quit [Quit: WeeChat 2.5]
prion has joined #ruby
tfreedman has joined #ruby
jhill has joined #ruby
ec has joined #ruby
englishm has joined #ruby
manveru has joined #ruby
<EdwardIII>
not long to dec 25th, exciting
chromis has joined #ruby
Lewix has joined #ruby
Lewix_ has joined #ruby
afisher has joined #ruby
r3my has joined #ruby
kevinsjoberg has joined #ruby
<EdwardIII>
i guess a lot of big ruby software cos will be adopting RBS once it's out and final
clinth has joined #ruby
kozowu has joined #ruby
CustosLimen has joined #ruby
dputtick has joined #ruby
stryek has joined #ruby
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #ruby
nowhere_man has quit [Ping timeout: 260 seconds]
lolol has joined #ruby
<lolol>
hi
Jack has joined #ruby
hiroaki has joined #ruby
Jack has quit [Ping timeout: 256 seconds]
lolol has quit [Ping timeout: 245 seconds]
dviola has quit [Ping timeout: 240 seconds]
leftylink has quit [Ping timeout: 240 seconds]
dviola has joined #ruby
leftylink has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
Emmanuel_Chanel has joined #ruby
dfucci has quit [Ping timeout: 240 seconds]
Technodrome has joined #ruby
dfucci has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
dfucci has quit [Ping timeout: 246 seconds]
prion has quit [Ping timeout: 240 seconds]
prion has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
somazero has joined #ruby
dfucci has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
<havenwood>
EdwardIII: We're already adopting RBS and using Steep. Really nice. :) Granted, we employ the author, but for critical Ruby code it's a lovely additon.
bsdbandit-01 has quit [Read error: Connection reset by peer]
stryek has quit [Quit: Connection closed for inactivity]
Emmanuel_Chanel has quit [Ping timeout: 258 seconds]
momo_ has joined #ruby
<momo_>
hello
<EdwardIII>
havenwood: employing the author must really help speed up adoption haha
Swyper has joined #ruby
<momo_>
can sorbet handle private definitions of initialize() when called with new?
<EdwardIII>
havenwood: en10n you use RBS and steep together? or you're migrating from steep? sorry i've been out of the loop with ruby for a while
<EdwardIII>
so sorry if that is a stupid question
<momo_>
I am getting an error: non-private call to private method initialize.
<havenwood>
EdwardIII: We use RBS and Steep together. (Soutaro authored both.)
Mia has quit [Write error: Connection reset by peer]
dfucci has quit [Ping timeout: 240 seconds]
<havenwood>
momo_: I don't know, but now that I think of it, #initialize is typically already private.
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
<momo_>
havenwood: think so to, I will ask in slack.
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
<EdwardIII>
havenwood: is that company square? as in square enix?
<Technodrome>
apotheon flask itself is a sinatra clone for sure, but the issue is, ruby is just more fun overall. People make gems to do more quirky slick things. You never really get the same thing in Python except for maybe 2005 in Turbogears
<EdwardIII>
no, different square
<havenwood>
EdwardIII: Nope, not Square Enix or Squarespace. Just plain 'ole Square. :)
<EdwardIII>
cool stuff though
<havenwood>
EdwardIII: Same CEO as Twitter—hat's how you can recognize us, hah.
Mia has quit [Write error: Connection reset by peer]
bsdbandit-01 has quit [Read error: Connection reset by peer]
HeavenDestroyer has quit [Client Quit]
HeavenDestroyer has joined #ruby
Emmanuel_Chanel has joined #ruby
momo_ has quit [Quit: leaving]
<EdwardIII>
havenwood: what kind of stuff do you do at work? webdev?
<havenwood>
EdwardIII: I lead the del rel team.
<havenwood>
EdwardIII: dev*
<EdwardIII>
developer relations?
<havenwood>
EdwardIII: yup
<EdwardIII>
sounds pretty fun! what does that involve?
<havenwood>
EdwardIII: Advocating for developers with product teams and engineers and evangelizing APIs and SDKs with things like videos, posts, tweets, and so on.
<tempate>
havenwood: I was thinking lambda functions may be more suited (and faster?) than those small functions I have
bsdbandit-01 has joined #ruby
<havenwood>
tempate: It's not a big deal, but File.open without a block doesn't close the file. Instead, combine lines 4 & 5 with: input = File.read("input.txt").split("\n\n")
<tempate>
havenwood: oh, alright
<havenwood>
tempate: Or maybe even?: File.readlines("input.txt", chomp: true)
<tempate>
havenwood: right, right, I haven't changed my editor yet
bsdbandit-01 has quit [Read error: Connection reset by peer]
<tempate>
apologies
<havenwood>
tempate: Run it with a --jit flag, assuming your benchmark accounts for warmup time.
<leftylink>
oh, completely forgot there's `push` that can take multiple args because of me using << all the time...
<tempate>
Do you like the small functions?
<tempate>
Should I just have that code in the main thing? Or maybe make lambdas?
<havenwood>
tempate: Extract even more methods from the long ones. Put these together in a class that initializes with the input and assigns an @input instance variable that the other methods use. Make them all private but for the one that runs it.
<havenwood>
tempate: Alternatively, don't use @input and put these in a module instead of a class.
<havenwood>
tempate: If the file is named "main.rb" the class or module should be Main.