HD retweeted
Codex can do incredible things on demand, but it cannot experience life for you.
Donโt forget to get out there and remember who youโre building for.
HD retweeted
uv is the best thing that has happened to Python devs!
And you won't find a better cheatsheet than this:
HD retweeted
Check it out: remkusdevries.com/how-to-fixโฆ
HD retweeted
๐ฎ My current 'philosophy' and defaults when building AI features in Laravel: gist.github.com/ashleyhindleโฆ ๐
Tell me what I missed, or which bits you disagreed with so it can be better ๐ซถ
HD retweeted
Need a temporary production-grade Postgres DB to quickly test something?
๐ Run `npx create-db@latest` and get a connection string, no login needed!
Bonus: You can keep the DB beyond 24 hours if you need it, just claim it ๐
๐ pris.ly/create-db
HD retweeted
FilamentPHP Power Tip: Reuse resource forms in relation managers for a smoother workflow! #filamentphp #laravel #php #devtips
HD retweeted
Japanese colours you can use instead of #ffffff for your UI design
HD retweeted
just discovered that you can use `scrollbar-gutter: stable;` to prevent layout shifts when scrollbars appear
HD retweeted
๐ง๐ผ๐ฝ ๐ฎ๐ฌ ๐ฆ๐ค๐ ๐พ๐๐ฒ๐ฟ๐ ๐ผ๐ฝ๐๐ถ๐บ๐ถ๐๐ฎ๐๐ถ๐ผ๐ป ๐๐ฒ๐ฐ๐ต๐ป๐ถ๐พ๐๐ฒ๐
Here is the list of the top 20 SQL query optimization techniques I found noteworthy:
1. Create an index on huge tables (>1.000.000) rows
2. Use EXIST() instead of COUNT() to find an element in the table
3. SELECT fields instead of using SELECT *
4. Avoid Subqueries in WHERE Clause
5. Avoid SELECT DISTINCT where possible
6. Use WHERE Clause instead of HAVING
7. Create joins with INNER JOIN (not WHERE)
8. Use LIMIT to sample query results
9. Use UNION ALL instead of UNION wherever possible
10. Use UNION where instead of WHERE ... or ... query.
11. Run your query during off-peak hours
12. Avoid using OR in join queries
14. Choose GROUP BY over window functions
15. Use derived and temporary tables
16. Drop the index before loading bulk data
16. Use materialized views instead of views
17. Avoid != or <> (not equal) operator
18. Minimize the number of subqueries
19. Use INNER join as little as possible when you can get the same output using LEFT/RIGHT join.
20. For retrieving the same dataset, frequently try to use temporary sources.
Do you know what is ๐ค๐๐ฒ๐ฟ๐ ๐ข๐ฝ๐๐ถ๐บ๐ถ๐๐ฒ๐ฟ? Its primary function is to determine ๐๐ต๐ฒ ๐บ๐ผ๐๐ ๐ฒ๐ณ๐ณ๐ถ๐ฐ๐ถ๐ฒ๐ป๐ ๐๐ฎ๐ to execute a given SQL query by finding the best execution plan. The query optimizer works by taking the SQL query as input and analyzing it to determine how best to execute it. The first step is to parse the SQL query and create a syntax tree. The optimizer then analyzes the syntax tree to determine how to run the query.
Next, the optimizer generates ๐ฎ๐น๐๐ฒ๐ฟ๐ป๐ฎ๐๐ถ๐๐ฒ ๐ฒ๐
๐ฒ๐ฐ๐๐๐ถ๐ผ๐ป ๐ฝ๐น๐ฎ๐ป๐, which are different ways of executing the same query. Each execution plan specifies the order in which the tables should be accessed, the join methods, and any filtering or sorting operations. The optimizer then assigns a ๐ฐ๐ผ๐๐ to each execution plan based on the number of disk reads and the CPU time required to execute the query.
Finally, the optimizer ๐ฐ๐ต๐ผ๐ผ๐๐ฒ๐ ๐๐ต๐ฒ ๐ฒ๐
๐ฒ๐ฐ๐๐๐ถ๐ผ๐ป ๐ฝ๐น๐ฎ๐ป with the lowest cost as the optimal execution plan for the query. This plan is then used to execute the query.
Check in the image the ๐ผ๐ฟ๐ฑ๐ฒ๐ฟ ๐ถ๐ป ๐๐ต๐ถ๐ฐ๐ต ๐ฆ๐ค๐ ๐พ๐๐ฒ๐ฟ๐ถ๐ฒ๐ ๐ฟ๐๐ป.
#technology #softwareengineering #programming #techworldwithmilan #sql
HD retweeted
This interface is a little "hidden" but you can access it easily.
First, check that you have access to Google Search's AI functions.
1. Go to labs .google
2. Click on "Get started" in the Google Search category
3. Activate "SGE generative AI in Search"
Next, write a prompt like I already showed you to draw an image in Google.
Example: โdraw a submarine in the skyโ
Once your images are generated, click on one then โEditโ.
HD retweeted
Ironically, it can be harder to start another company once you know how hard and painful it really is.
Thereโs a reason so many founders struggle with mental health.
HD retweeted
Top 6 Linux Networking commands to learn
1. curl - bit.ly/3wzSFgM
2. wget - bit.ly/3QYfwL6
3. nslookup - bit.ly/3BZ7ehr
4. netstat - bit.ly/3JQuEY6
5. ssh - bit.ly/3AHmpta
6. scp - bit.ly/3VHYToq
more bit.ly/3VHYVg2
HD retweeted
Negotiating your salary is the fastest way to increase it.
But 99% of people don't know how.
With ChatGPT you have a your own salary negotiation coach.
Here's how to nail your next pay raise (using ChatGPT):
HD retweeted
Startup founders,
What's the most effective marketing strategy you've implemented so far?
#buildinpublic
1/ ChatGPT has limited memory. It forgets details if your chat runs beyond ~8k words.
But Shogtongue lets you extend conversations by 5-10x easily
Hereโs how:





























