Back
Shaked Klein Orbach 🤸‍♂️

Is this something specific to Node? I am using PHP, in this example it just goes recursively with sleep method: github.com/kolar/telegram-pol…

No idea. Maybe don't use PHP :D

Are you using a service that loops over or just a cronjob/schedule task every X seconds?

It's a websocket connection to the Telegram server and keeps the process alive, so the bot never quits running.

Is this something specific to Node? I am using PHP, in this example it just goes recursively with sleep method: github.com/kolar/telegram-pol…

No idea. Maybe don't use PHP :D

Are you using ngrok for webhooks?

Nope, I'm using polling with Node. github.com/yagop/node-telegra…

Are you using a service that loops over or just a cronjob/schedule task every X seconds?

It's a websocket connection to the Telegram server and keeps the process alive, so the bot never quits running.

Is this something specific to Node? I am using PHP, in this example it just goes recursively with sleep method: github.com/kolar/telegram-pol…

No idea. Maybe don't use PHP :D

I saw the word components last time, but maybe they meant modules? Main point was ppl are dropping Bootstrap for other frameworks

Bootstrap is like WordPress — old, bloated, and it's got everything you might need to build a basic site or app. But it's also very well tested. Downside is you have to spend a lot of time customizing Bootstrap to make it look like it's not Bootstrap.

There are other libraries that are more modular and slim like Tachyons or Bulma. They don't cover as many components and elements as Bootstrap, but they have more neutral styling that you can customize more easily.

From one of the creator of Bootstrap (@fat) - source (twitter.com/jashkenas/status/…)

❤️ this quote, wherein @fat talks about looking back on Bootstrap.

From “People are going to fucking love this sauce” to “Oh my god … did I just make all sandwiches taste like my sandwich?”