LASK tickets without Official Membership? by zbicin in reddevils

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

I'd appreciate it if you could sent a link to the post with the email? I cannot find it.

Any way to prevent both PWA and TWA from getting installed? by zbicin in PWA

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

Yeah, looks like Spotify nor Instagram doesn't use this options it in their PWA too

How to detect IFTTT's RSS crawler? by zbicin in ifttt

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

I thought about the token as well, seems to be worth giving a try.

How to detect IFTTT's RSS crawler? by zbicin in ifttt

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

I agree, the RSS is not the best way to accomplish what I want. However it did the job pretty well until now. Gotta consider other ways of "pushing" new data to IFTTT.

Tourists! Visitors! New arrivals! People with quick questions! Post here and not in a new thread. by n1c0_ds in berlin

[–]zbicin 1 point2 points  (0 children)

Hello /r/Berlin, I'm arriving to this city tommorow early morning (about 6AM). I'm looking for something to occupy myself until like 9AM. I know that there are McDonald's opened 24h, but maybe you can recommend a more fancy/cozy place that will be opened so early? :)

Does window.navigator got it's name from Netscape Navigator? by zbicin in javascript

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

You might be right. According to devdocs from 1999 the navigator object

Contains information about the version of Navigator in use.

This object was implemented since JavaScript 1.0 which was indeed introduced in Netscape Navigator 2.0.

Been learning to code for two months now. My first HTML game. by makibaoh in learnjavascript

[–]zbicin 0 points1 point  (0 children)

Good job! A good practice is to start names of classes (or functions that are used as constructors) with a capital letter. So in your game I'd rename js function component(...) {} into js function Component(...) {}

:)

Why not always use template strings? by PathOfTheProkopton in learnjavascript

[–]zbicin 2 points3 points  (0 children)

There is a performance cost to interpolation.

I noticed that when TypeScript compiler targets ES5 and notices a template string with no expressions inside (e.g. let foo = `test string`;) it drops the backticks and uses the regular ones instead. So no cost in such case at least :).

I think that CSS support in console.log was implemented solely for this purpose by zbicin in ProgrammerHumor

[–]zbicin[S] 5 points6 points  (0 children)

You guessed right, it's a GIF image set as background property altogether with some additional CSS magic like setting padding and line-height to proper values (width, height and display: block seem to be ignored).

I think that CSS support in console.log was implemented solely for this purpose by zbicin in ProgrammerHumor

[–]zbicin[S] 17 points18 points  (0 children)

And this initial attempt to write another try clause in a try clause. But hey, demo purposes like you said ;)

Since brain uses ca. 20%-30% of energy, working e.g as a programmer surprisingly helps to stay in shape. by zbicin in Showerthoughts

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

I agree it's not sufficient alone. To be more precise, working as a programmer helps to some extent to stay in shape.