Do It by Code
54 subscribers
710 photos
99 videos
14 files
1.24K links
We uhhhhh... do things by coding them.
Download Telegram
New feature in Telegram Beta: Account info for unknown accounts

Telegram will now show basic information about an account when they message you first, such as shown in the photo.

#telegram
after some experiments with both sonnet 3.7 and gpt 4.5-preview
I got to this conclusion that gpt 4.5-preview has so much better personality than sonnet 3.7

and that's exact reverse of what happened in previous models:
sonnet 3.5 had so much better personality than any gpt model (4o, o1, etc..)
Paid messages in chats

#Telegram
Paid messages in private chats

#Telegram
Withdraw stars from user’s balance

#Telegram
A Captive Portal & Access Point setup for use with the Raspberry Pi (no Internet access)

https://github.com/Splines/raspi-captive-portal
#python #CaptivePortal

A captive portal is a web page accessed with a web browser that is displayed to newly connected users of a Wi-Fi or wired network before they are granted broader access to network resources.
Do It by Code
Mozilla's New Terms of Use Are Out of Step with Firefox's Direct Competition Article, Comments
When you upload or input information through Firefox, you hereby grant us a nonexclusive, royalty-free, worldwide license to use that information to help you navigate, experience, and interact with online content as you indicate with your use of Firefox.
Do It by Code
New feature in Telegram Beta: Account info for unknown accounts Telegram will now show basic information about an account when they message you first, such as shown in the photo. #telegram
here is an example of the information telegram sends:

Code:

await app.get_chat_settings(user_id)


Result:
{
"_": "ChatSettings",
"can_report_spam": true,
"can_add_contact": true,
"can_block_contact": true,
"can_share_contact": false,
"can_report_geo": false,
"can_invite_members": false,
"is_autoarchived": true,
"is_business_bot_paused": false,
"is_business_bot_can_reply": false,
"need_contacts_exception": true,
"request_chat_broadcast": false,
"registration_date": "08.2022",
"phone_country": "KE",
"name_change_date": "2025-02-27 23:20:08"
}


The TL:
peerSettings#f47741f7 flags:# report_spam:flags.0?true add_contact:flags.1?true block_contact:flags.2?true share_contact:flags.3?true need_contacts_exception:flags.4?true report_geo:flags.5?true autoarchived:flags.7?true invite_members:flags.8?true request_chat_broadcast:flags.10?true business_bot_paused:flags.11?true business_bot_can_reply:flags.12?true geo_distance:flags.6?int request_chat_title:flags.9?string request_chat_date:flags.9?int business_bot_id:flags.13?long business_bot_manage_url:flags.13?string charge_paid_message_stars:flags.14?long registration_month:flags.15?string phone_country:flags.16?string name_change_date:flags.17?int photo_change_date:flags.18?int = PeerSettings;