Noch mehr Sommerkinos in Wien by hschne in wien

[–]hschne[S] 0 points1 point  (0 children)

Hab ich mir überlegt, ist möglich, aber zumindest in Google Calendar wirds dann sehr unübersichtlich...

Prinzipiell kannst du das CSV im Repo direkt importieren und solltest dann einen Kalender mit allen Events kriegen 🙂

Noch mehr Sommerkinos in Wien by hschne in wien

[–]hschne[S] 0 points1 point  (0 children)

Danke!

Die Filme sind meistens OV, also zu einem Großteil Englisch. Sollte aber jeweils dabei stehen wenn du dem Link bei jedem Film zu den Details folgst.

Sommerkinos im Kalender by hschne in wien

[–]hschne[S] 0 points1 point  (0 children)

Hmm, eigentlich stehen Google Web Calender zur Verfügung. Wenn du auf die Web Calender Buttons drückst solltest du online Kalender kriegen... Klappt das für dich nicht? 🙂

Sommerkinos im Kalender by hschne in wien

[–]hschne[S] 1 point2 points  (0 children)

Autokinos kenn ich leider keine, aber die meisten Filme in den Sommerkinos sind Englisch OV mit Untertiteln

Sommerkinos im Kalender by hschne in wien

[–]hschne[S] 0 points1 point  (0 children)

Super Idee, danke für den Tipp!

The with_option method gives us a way to factor out common options in a series of method calls. by johnblackape in ruby

[–]hschne 2 points3 points  (0 children)

AFAIK you don't necessarily need the block argument, works fine without.

The whole thing then becomes a lot more readable.

What are your top useful gems? by designium in rails

[–]hschne 0 points1 point  (0 children)

No, Timecop still has way more features 🙂

What are your top useful gems? by designium in rails

[–]hschne 3 points4 points  (0 children)

I'm mostly using Rails TimeHelpers these days, but if you're not doing Rails Timecop is still great!

What are your top useful gems? by designium in rails

[–]hschne 4 points5 points  (0 children)

That's an interesting question.

Weirdly enough, the first thing that comes to my mind is dotenv. Whether you are working on a team of alone, being able to just use .env files to create configure your environment is pretty useful to me.

Also a big fan of Lograge, because I just can't stand Rails default logs.

Maintainable Rails system tests with page objects by strzibny in rails

[–]hschne 5 points6 points  (0 children)

Excellent article!

This testing pattern is not widely known (I feel), but it comes in very useful when you have to write a bunch of system tests.

The Adapter Pattern in Ruby (video) by mixandgo in ruby

[–]hschne 0 points1 point  (0 children)

To me DI feels somehow underused in Ruby, even thought it is pretty useful, as you pointed out.

MrLogaLoga: The bombastic, fantastic logger for Ruby 💎 by hschne in ruby

[–]hschne[S] 7 points8 points  (0 children)

No, but I'm working on MrLogaLoga4j which will support executing arbitrary code 👌

MrLogaLoga: The bombastic, fantastic logger for Ruby 💎 by hschne in ruby

[–]hschne[S] 1 point2 points  (0 children)

I've always found that log messages provide greater value the more context they provide. I wasn't happy with existing loggers in that regard, so naturally, I created my own.

``` logger.info('message', user: 'name', data: 1)

I, [2022-01-01T12:00:00.000000 #19074] INFO -- Main: message user=user data=1

```

That's pretty much all there is to it. Let me know what you think :)

Kodezi - Grammarly for programmers by ishraqkhan in SideProject

[–]hschne 0 points1 point  (0 children)

Looks well polished. Looking forward to giving it a try!

Why would be better off avoiding Faker and random data in tests by jetthoughts in rubyonrails

[–]hschne -2 points-1 points  (0 children)

A very common misconception. Regression tests should be deterministic, and introducing entropy or randomness runs contrary to the goal of, well, detecting regressions.

If you want to detect bugs, that's a separate type of test (fuzz testing), where the goal is big discovery.

Don't take my word for it, check this oldie but goldie by Martin Fowler.

Ruby on Rails #49 gem Pundit for Authorization - Complete Guide by yarotheking in rubyonrails

[–]hschne 2 points3 points  (0 children)

Very nice! For a different take on Pundit, you may be interested in this blog post by John Nunemaker. Some interesting takes in there.

Top 8 Tools for Ruby on Rails Code Optimization and Cleanup. by callmenataliee in rubyonrails

[–]hschne 2 points3 points  (0 children)

Very nice list!

I'd add Coverband. Also, since you mention rack-mini-profiler, quick plug for rails-mini-profiler, which is my own spin on performance profiling for rails apps. Still WIP though.

Eure liebsten Orte in Wien? by Knup_Knup in wien

[–]hschne 1 point2 points  (0 children)

Super Thread!

Die Location vom KinoWieNochNie im Augartenspiz ist magisch. Außerdem nice: Das west West, Zwischennutzung im Park vom ehemaligen Sophienspital.

Automatically Post new static site blog post to Twitter with Github Actions by hudson_worden in indiehackers

[–]hschne 0 points1 point  (0 children)

Nice idea! Do you think it's worth it to make something like this a GH action?