Frectonz
3.45K subscribers
1.91K photos
82 videos
32 files
1.64K links
A place for me to talk about my projects, stuff i find on the internet and what I am currently thinking about.

By @frectonz
Download Telegram
This is how you should hire people and read the roles 😂.

https://gilga.com/
🔥1
Somebody just made this joke and i can't stop laughing 😂

A: She is engaged?
B: 🤷, Engaged ain't married.

A: She is married?
B: 🤷, Married ain't dead.

A: She is dead?
B: 🤷, Dead ain't rotten.
😁6
The Rust Sermon
[source]
Found this in Critical Thinking class module 😂
😁2
Forwarded from Dagmawi Babi
EP 1 - Orientation.pdf
88.3 KB
Read it out and comment under here with what you think about it? And what to improve?
1👍1
Dagmawi Babi
EP 1 - Orientation.pdf
Somebody is going to become a writer 😁, Really good read check it out. Very Lovecraftian it will leave you wanting more like

what's up with the weird library, 🙈
what did it mean by "self-discovery" (at the suspicious paths), 🤔
there is a time-machine 😳,
what's up with "The Diggers", and
finally yeah art club people are weird 😁
1👍1
A nice article about how Visual Basic came about, dominated the application programming space and slowly faded into obscurity with a mix corporate conflicts between engineers and mangers.

Really cool read! I liked it very much and the website looks gorgeous 🤩. Fun fact the first script i ever wrote was a .vbs file the creates a message box

msgbox "Hello World!"

https://retool.com/visual-basic/
🔥2
A week is 2% of the year.
👀7🤯43
የጣሊያን ጠቅላይ ሚኒስትር በኢትዮጵያ ይፋዊ የሥራ ጉብኝት ሊያደርጉ ነው

አዲስ አበባ ፣ ሚያዝያ 4 ፣ 2015 (ኤፍ ቢ ሲ) የጣሊያን ጠቅላይ ሚኒስትር ጆርጂያ ሜሎኒ በኢትዮጵያ ይፋዊ የሥራ ጉብኝት ሊያደርጉ ነው።

ጠቅላይ ሚኒስትሯ በኢትዮጵያ በሚኖራቸው የሁለት ቀን ቆይታ ከመንግስት እና ከአፍሪካ ሕብረት ከፍተኛ የሥራ ኃላፊዎች ጋር እንደሚወያዩ ይጠበቃል።

https://www.fanabc.com/archives/188933
💩2
I have been watching this series recently called For All Mankind. It is set in an alternate reality where the Soviet Union beats America to the Moon and this leads to the space race continuing through the 70s, 80s and leads to humanity going to mars in 1995. It is a really cool thought experiment to see what changes that single event would have lead to. Plus it is a really cool drama that explores the lives of astronauts and the people around them (especially gordo in S01E07).

I guess i am late to the party with this sow it started streaming on Apple+ on November 1, 2019. It has 3 seasons out now (i am on S01E07) and season 4 is being made.

It is a good show check it out
3👍1
I don't know what this is or how it started but I love it.

(be on the look out for famous take personalities in the video)

https://twitter.com/azlenelza/status/1644789222082244613
1
How the turn tables 😂
😁8
I finally got around to implementing "Login with Telegram". Check it out https://telegram-login-widget.deno.dev
It asks you to Login with Telegram after you have logged in it sends you a welcome message from this bot @LoginWithTelegramTestBot

[code] [website]
🎉3
Frectonz
I finally got around to implementing "Login with Telegram". Check it out https://telegram-login-widget.deno.dev It asks you to Login with Telegram after you have logged in it sends you a welcome message from this bot @LoginWithTelegramTestBot [code] [website]
I noticed some annoying things when i was trying to implement this thing

1. It is not regular OAuth it is kind of weird. You need to add a srcipt tag that links to a file called telegram-widget.js when that script runs it creates an iframe inside your page which contains the "Login with Telegram" button. Due to some security reasons around using iframes the website needs to be hosted to work (it doesn't work on localhost) 😕. I got around this issue by using ngrok.

2. You need a bot to implement this feature and your bot needs to be connected to the domain name you hosted your website at. The annoying part of this is that you can't programmatically set the domain name you have to go into @botfather and do /setdomain to manually change it every time. (this was especially annoying to me because `ngrok` generates a random domain every time you use it)
But on the bright side you probably won't need to change it after you deployed your app so ...

Finally i think it would be nice if they properly implemented the OAuth spec but it works and we can use it.

BTW I am storing your data (everything telegram tells me about you when you log in) if you choose to try out the page the following is the data i am storing.

CREATE TABLE users (
id INTEGER PRIMARY KEY,
username VARCHAR(32) NOT NULL UNIQUE,
auth_date INTEGER NOT NULL,
first_name TEXT NULL,
last_name TEXT NULL,
photo_url TEXT NULL
);

[code] [website]
👍5