Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
4
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~900 People Reached
Favorite Tags

6 Posted Topics

Member Avatar for Dietrich_3

The input() problem in Sublime isn't really Sublime's fault. Its build system (Ctrl+B) runs the script with no stdin attached, so input() either hangs or throws EOFError. Two ways around it: install the Terminus package and use a build system with "target": "terminus_exec", which gives the script a real terminal, …

Member Avatar for Biiim
4
207
Member Avatar for spaculus

The mistakes that hurt most later are boring ones. Business logic living in controllers, so the same rule ends up copied into an API endpoint, a queued job and an Artisan command. Pull that into action or service classes early and keep controllers thin. On the database side, turn on …

Member Avatar for colorfulcms
0
70
Member Avatar for Norm_3

You can skip the clipboard and manual edit step entirely by keeping the markers in localStorage. It survives closing the browser and works fine from a local html file. function saveMarkers() { localStorage.setItem('placemarkers', JSON.stringify(placemarkerList)); } function loadMarkers() { const raw = localStorage.getItem('placemarkers'); return raw ? JSON.parse(raw) : []; } Call …

Member Avatar for Biiim
0
119
Member Avatar for stackshortlist

When I'm vetting a vendor or a site we're about to integrate with, I usually start with DNS and headers before reading any marketing page. dig +short TXT example.com # SPF, plus verification records dig +short TXT _dmarc.example.com # DMARC policy dig +short TXT selector1._domainkey.example.com curl -sIL example.com # Server, …

Member Avatar for Dani
1
39
Member Avatar for mathew0406

For Telegram you don't really need a converter. The desktop export (result.json) is simple enough that a few lines of Python turn it into readable text: import json with open('result.json', encoding='utf-8') as f: data = json.load(f) with open('chat.txt', 'w', encoding='utf-8') as out: for m in data['messages']: text = m.get('text', '') …

Member Avatar for stackshortlist
1
225
Member Avatar for Ramesh_40

We run local-first and it's been fine. The MMDB lookup sits in the request path, and the result gets cached per /24 (or /48 for IPv6) in Redis for a day, so the reader barely gets hit anyway. A hosted call only happens async from the Python worker when the …

Member Avatar for stackshortlist
0
131

The End.