riklaunim

joined 1 year ago
[–] riklaunim 2 points 5 months ago* (last edited 5 months ago)

Two of our customers who were interested in SMS marketing or SMS WiFi login are on some tourist heaven islands and Twilio is expensive there so they used GoIP on their own as it's way cheaper to send local SMS there without the need to go outside to the continent.

[–] riklaunim 1 points 5 months ago
38
submitted 5 months ago* (last edited 5 months ago) by riklaunim to c/python
[–] riklaunim 3 points 1 year ago (1 children)

% string formatting is still valid and used in Python 3. It's not removed or deprecated for now.

[–] riklaunim 1 points 1 year ago (1 children)

Using a browser would be quite heavy, especially for one of those meme sites that handle a rather large flow of new content.

[–] riklaunim 1 points 1 year ago (3 children)

It's not Python 2.

 

How to take a few images and create custom graphics with Pillow - memes, info-graphics, custom banners and the like.

 

Examples of how to use amateur astrophotography and machine vision USB cameras with Python (or IronPython sometimes).

[–] riklaunim 2 points 1 year ago (1 children)

The thing is Google has a big search monopoly and they do like to have Search Console and Analytics plugged in for a website they are indexing.

[–] riklaunim 3 points 1 year ago

Not sure if monetization by ads will work no matter the source (aside from very aggressive and very clickbaity ads?). If you want some reliable monetization it would have to be some sort of sponsored cooperation, merchandise, or services.

[–] riklaunim 2 points 1 year ago

PHP seems to be getting a lot of positives lately, especially Laravel. Many years ago I moved from PHP to Python and Django to now also use a few other Python frameworks like Flask as well. On the frontend, I've used Ember.js for two big SPA dashboards and also Vue 3 for WebSockets and API-based dashboard. With the dashboards bias, I would not pick anything that doesn't have a good data layer :)

Recently I'm also into static site generators like Astro and 11ty which are kinds of frameworks that generate a static site but the effect can be quite lively edited website through various git based headless CMS systems.

[–] riklaunim 0 points 1 year ago (1 children)

Why do you want to store them? I used socket.io in one app and I used channels to manage who gets what but disconnects/reconnects would happen often so I didn't use the connection directly, but emitting messages to clients currently subscribed to a given channel.

Agents log into the dashboard - connect and the server subscribes them to the "agents" channel to which ticket list items messages are emitted. Clicks on a ticket - that's a ticket_id unique channel to which he gets subscribed. Any disconnect/reconnect would create a new connection, the old one is dropped and the agent is once again subscribed to these channels based on where in the dashboard he is in.

 

SSG setup, image optimization, page load optimization, limiting the use and delaying JavaScript, and a few other tips and tricks.