Chapi Dev Talks
8.69K subscribers
971 photos
111 videos
12 files
621 links
My name is Chapi and I am a Developer.

I post my thoughts about tech here.

Message to our assistant to give U Feedback: @sophiservebot

Join https://t.me/chapidevtalks_group

Urgent? Contact Me: @chapimenge (Don't say hi or ask Meta Questions )
Download Telegram
Forwarded from Hacker News
Show HN: Embed an SQLite database in your PostgreSQL table (Score: 150+ in 11 hours)

Link: https://readhacker.news/s/6icWC
Comments: https://readhacker.news/c/6icWC

pglite-fusion is a PostgreSQL extension that allows you to embed SQLite databases into your PostgreSQL tables by enabling the creation of columns with the `SQLITE` type. This means every row in the table can have an embedded SQLite database.
In addition to the PostgreSQL `SQLITE` type, pglite-fusion provides the `query_sqlite`` function for querying SQLite databases and the `execute_sqlite` function for updating them. Additional functions are listed in the project’s README.
The pglite-fusion extension is written in Rust using the pgrx framework [1].
----
Implementation Details
The PostgreSQL `SQLITE` type is stored as a CBOR-encoded `Vec<u8>`. When a query is made, this `Vec<u8>` is written to a random file in the `/tmp` directory. SQLite then loads the file, performs the query, and returns the result as a table containing a single row with an array of JSON-encoded values.
The `execute_sqlite` function follows a similar process. However, instead of returning query results, it returns the contents of the SQLite file (stored in `/tmp`) as a new `SQLITE` instance.
[1] https://github.com/pgcentralfoundation/pgrx
⚑20πŸ”₯6❀2πŸ‘1
This is not related to tech at all but I urge you to find couple of minutes and read the below story.

https://www-bbc-com.cdn.ampproject.org/c/s/www.bbc.com/amharic/articles/c2e714vekk1o.amp

I really am out of word at this point. May God help us and follow the right path.

Out kids might live in this country at least for most people and do we really give this to our kids.

Hopefully our generation will bring the good out of humanity.

Thank you for all of you who reads this. πŸ™
😭24
Me going out to office from home(aka around semit fiyel bet)

Me arrived at the office (aka 22)

Me go upstairs 4 floors fyi no lift

Me realising I forgot my office key Infront of the door πŸ˜‚

Me now drinking coffee eventho I have to work trying to decide what to do πŸ˜‚πŸ˜‚(aka anqi coffee)
😁41πŸ‘4πŸ”₯1
Samson Endale πŸ‡ͺπŸ‡Ή
Get ready for Black Friday πŸ”₯
How i love black Friday sales.

it is already started and since i am working heavily on US sites and other sites i think i needed a strong VPN which proton VPN best at it.

https://protonvpn.com/blackfriday

Billed at $35.88 for the first 12 months best deal so far i think.

i was tempted to go for Proton Unlimited which Billed at $77.88 for the first 12 months.

Anyways if you are want to buy something and was waiting for discount this is your chance.
πŸ”₯1
Windows Clock with Focus Session + Microsoft Todo is making me more productive than i expected.

I used to avoid most todo apps and other productivity applications but i think i might like it more. I will plan my day ahead and everything is just so amazing so far until i hate it again πŸ˜‚
⚑18
Forwarded from Tech Nerd (Tech Nerd)
I bet this "chill Guy" is gonna be on the next Fireship video😁

@selfmadecoder
😁4
What on earth this guy smoking to make this much amount of money.

The difference from number 1 to 2 is $86.4bn 🀯
😁21πŸ”₯4πŸ‘1🫑1
የ WebFlow αˆαˆα‹΅ α‹«αˆˆα‹ αˆ›αŠ•αŠ›α‹αˆ αˆ°α‹ αŠ₯α‰£αŠ­α‹ŽαŠ• α‹ˆα‹° @SophiServebot መልαŠ₯αŠ­α‰΅ α‹­αˆ‹αŠ© αŠ₯αŠ” Small Task(α‰΅αŠ•αˆ½ ሚሰራ ሡራ አለኝ) plus αˆˆα‹ˆα‹°αŠα‰± αˆŒαˆ‹ ሡራም αˆŠαŠ–αˆ­ α‹­α‰½αˆ‹αˆα‘α‘

Max 1 hr bihon new so please text on the bot your username.

very very small task.

Task Detail:

yehone website ale esu lay and page weyim demo and section form mechemer new keza. i will send you the fields. formu submit sidereg yemihedibet aws lambda ale keza success message masayet new.

lela form pagu lay silale copy paste new mostly
πŸ‘3πŸ”₯2
Got a question for android nerds is there any good network monitor application you know?

Please send playstore link πŸ™

trying PCAPdroid - network monitor as of now but would love to know if there is any good ones
πŸ‘1
Nextjs people can you tell me your opinion on this?

I mean I personally use nextjs a lot because of the convenience and easy to use.

But dont have deep knowledge on this
😁13πŸ‘4
READ THIS AND YOU MIGHT SAVE COUPLE OF HOUR OF DEBUGGING
❀4😁3πŸ’―1
Happy Thanks giving they say so if anybody is celebrating Happy thanksgiving
❀8😁6
Make sure to check if you have 2FA added in your important applications if not set up today.

i recommend using Google Authenticator Playstore | Appstore but feel free to use any kind of authenticators.

i have set it up in almost all the application i use so this is a friendly recommendation
❀9
Google Doc Integrations on Claude.ai
I mean i didn't tell you all that i have a talk in DevFest Addis - 2024

Time: 10:40 AM or 4:40 local time
Title: Career Paths in Tech: How to Choose the Right One
πŸ“ Track 2


What do you want me to cover on this?

i already have some plans tho
πŸ”₯11
What do you think if we could bring back out weekly stream on every Saturday night like we used to do but with a bit modification?

I was thinking about having a bit mentorship, talks and may be building stuff.

Tell me your idea? I want some feedback so make sure to voice up
πŸ‘40πŸ‘4πŸ₯°2πŸ”₯1