<FromGitter>
<ImAHopelessDev_gitlab> what am i looking at
<FromGitter>
<ImAHopelessDev_gitlab> tfw you code in crystal for years, look at its source and like WTF
<raz>
holy ravioli, youtube is down
<oprypin>
ye
<FromGitter>
<ImAHopelessDev_gitlab> up 4 me
<FromGitter>
<Daniel-Worrall> well it's a global service and it's down in many places in the UK so
<FromGitter>
<ImAHopelessDev_gitlab> back to soundcloud it is then
<raz>
yup it's up again. twitter is funny tho (#youtubedown made it to top-tag immediately, that's like 100 tweets per second)
<FromGitter>
<ImAHopelessDev_gitlab> i want to live in a perfect world w/o yt or twitter
<raz>
i like youtube. twitter... i only go there when youtube is down lol
davic has quit [Ping timeout: 246 seconds]
davic has joined #crystal-lang
<FromGitter>
<ImAHopelessDev_gitlab> i tried twitter in the game dev and programming communities, def not for me. i'm against the circle jerk and do not fit in at all
alexherbo20 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 244 seconds]
alexherbo20 is now known as alexherbo2
Human_G33k has quit [Quit: Leaving]
HumanG33k has joined #crystal-lang
HumanG33k has quit [Remote host closed the connection]
alexherbo2 has quit [Remote host closed the connection]
Elouin1 is now known as Elouin
Dreamer3 has joined #crystal-lang
andremedeiros has quit [Read error: Connection reset by peer]
andremedeiros has joined #crystal-lang
yukai has quit [Ping timeout: 246 seconds]
f1reflyylmao has quit [Ping timeout: 260 seconds]
f1refly has joined #crystal-lang
early has quit [Quit: Leaving]
early has joined #crystal-lang
<frojnd>
What should I do... I thought I could use this shard: https://github.com/PlaceOS/google/issues/11 in order to easily use google translate cloud. As it turns out this shard presumes I also have G-suite business account which is paid... So another option is to authenticate with oauth2 but google suggest to use their official clients
<frojnd>
Google cloud translate is also paid, but I will pay like 2$/month at most...
<frojnd>
So either I try to reqrite ruby client or I learn how to use oauth 2 with google cloud translate
ua has quit [Ping timeout: 265 seconds]
ua has joined #crystal-lang
<frojnd>
And since google ruby is very big and I would have to port all these clients I think I'm stuck with oauth2 implementation
teardown has quit [Ping timeout: 240 seconds]
teardown has joined #crystal-lang
Xeago has quit [Ping timeout: 240 seconds]
Xeago has joined #crystal-lang
<frojnd>
However I can just write a bash script with a few lines and call it a day since this is gonna be called only once per day
<FromGitter>
<naqvis> +1 for bash script, as needn't to make things that complex for task which will get executed once a day :P
<raz>
bash script + jenkins. the backbone of every company
<frojnd>
Authentication with google is really hard not sure how I will transfer this to a server. When running gcloud (from command line) It opened my browser so I had to authenticate with my gmail account
chloekek has joined #crystal-lang
chloekek has left #crystal-lang [#crystal-lang]
chloekek has joined #crystal-lang
<FromGitter>
<wontruefree> what is the best way to run 1 spec file in the main crystal repo?
<raz>
frojnd: google translate is not very good anyway. have you looked at the deepl api? (might yield better results and be easier to integrate on top)
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Client Quit]
<FromGitter>
<wontruefree> thanks @Blacksmoke16
<FromGitter>
<j8r> raz +1 for Deepl
<FromGitter>
<j8r> not Google is a plus :)
Dreamer3 has quit [Quit: Leaving...]
<FromGitter>
<melopee> Hey, I am new to crystal
<FromGitter>
<Blacksmoke16> o/
<FromGitter>
<melopee> quick question about the `crystal` command (the compiler): is it normal that some options for the subcommand `run` do not behave the same whether `run` is explicit or not?
<FromGitter>
<j8r> this `crystal` command is not that great
<FromGitter>
<j8r> if you have a file named `run` or `build`... great
<FromGitter>
<j8r> this command has no point. If one want a shortband, just create an alias
DTZUZU has joined #crystal-lang
<straight-shoota>
@melopee Arguments to `run` command need to be passed *before* the filename. Everything *after* the filename is passed to the program. `man crystal`
<straight-shoota>
@j8r Yeah, if a file conflicts with a command, you have to use `crystal run` explicitly. I don't think that's a huge issue.
andremedeiros has quit [Read error: Connection reset by peer]
andremedeiros has joined #crystal-lang
<FromGitter>
<j8r> probably not, just find that having only way here will be less confusing. There is one command superior, more documented with more feature than the other
<FromGitter>
<j8r> just to "save" 4 chars ` run`... :shrug:
yukai has joined #crystal-lang
Andriamanitra has quit [Ping timeout: 260 seconds]
chloekek has quit [Remote host closed the connection]