π
> wakes up late
> needs to get to school by 2:30 for presentation
> takes a lada
> gets to the class
> no one is there
> checks telegram
> "class has been postponed to be at 7:00"
> wakes up late
> needs to get to school by 2:30 for presentation
> takes a lada
> gets to the class
> no one is there
> checks telegram
> "class has been postponed to be at 7:00"
The proper way to do IDs
1. Auto incrementing primary key
2. ULID visitor key
You shouldn't let anyone outside of the system know about the auto incrementing ID. This means you shouldn't use it in URLs, you shouldn't return it in your API responses. For all the above cases you should use a visitor key, which you store along wih the auto incrementing key. It's use is interfacing with the outside world, like in URLs and stuff. And finally you should only use the primary key for table relations.
1. Auto incrementing primary key
2. ULID visitor key
You shouldn't let anyone outside of the system know about the auto incrementing ID. This means you shouldn't use it in URLs, you shouldn't return it in your API responses. For all the above cases you should use a visitor key, which you store along wih the auto incrementing key. It's use is interfacing with the outside world, like in URLs and stuff. And finally you should only use the primary key for table relations.
π4
Frectonz
The proper way to do IDs 1. Auto incrementing primary key 2. ULID visitor key You shouldn't let anyone outside of the system know about the auto incrementing ID. This means you shouldn't use it in URLs, you shouldn't return it in your API responses. Forβ¦
but real men use a global variable as a db
their code never crushes and
they just buy more ram when they ran out
their code never crushes and
they just buy more ram when they ran out
Somebody should rewrite sqlite-web in rust with a better UI.
GitHub
GitHub - coleifer/sqlite-web: Web-based SQLite database browser written in Python
Web-based SQLite database browser written in Python - coleifer/sqlite-web
This is a very futuristic thing to do now and they were doing it in 1995.
[Lisp in Web-Based Applications]
[Lisp in Web-Based Applications]
π1
"Like the creators of sitcoms or junk food or package tours, Java's designers were consciously designing a product for people not as smart as them." - Paul Graham
[Java's Cover]
[Java's Cover]
We all knew this was happening. If yall are interested in lisp, join this group.
https://t.me/lisp_et
https://t.me/lisp_et
π1
Forwarded from A B
For anyone interested in the video he made: https://www.youtube.com/watch?v=hDJ5vXRPZCE
YouTube
Read the docs (don't skim them)
99% of developers will never do this one thing, which makes it super easy for you to get ahead.
As a blog post: https://aaronfrancis.com/2023/read-the-docs-like-a-book.
The original tweet: https://twitter.com/aarondfrancis/status/1723375705499574397.
Followβ¦
As a blog post: https://aaronfrancis.com/2023/read-the-docs-like-a-book.
The original tweet: https://twitter.com/aarondfrancis/status/1723375705499574397.
Followβ¦
Stop naming generic type params, with one letter variables. Use descriptive names as you would for regular variables.