mhatiboglu (@mhatiboglu_) header
mhatiboglu (@mhatiboglu_) profile picture

Software Engineer

London
Joined November 2019
Photo by mhatiboglu (@mhatiboglu_)Photo by mhatiboglu (@mhatiboglu_)Photo by mhatiboglu (@mhatiboglu_)Photo by mhatiboglu (@mhatiboglu_)Photo by mhatiboglu (@mhatiboglu_)Photo by mhatiboglu (@mhatiboglu_)Photo by mhatiboglu (@mhatiboglu_)Photo by mhatiboglu (@mhatiboglu_)Photo by mhatiboglu (@mhatiboglu_)Photo by mhatiboglu (@mhatiboglu_)
mhatiboglu retweeted
We'll be spending a lot more time trying to understand the outputs of language models. A few thoughts, tips & tricks: Writing. Something I've had success with: Ask your LLM to explain something in ASD-STE100, it's a controlled language specification originally developed for aerospace maintenance documentation. LLMs well-versed in this language and it comes with heavy constraints on clean writing style that I often find a lot more readable. Sometimes I've tried to soften it a bit e.g. ask for "80% of the way to ASD-STE100" because the spec is quite stringent. But even better: Diagrams / images. Instead of writing, ask your LLM to create a diagram. These can be a lot easier to process, parse, and understand. But even better: Web pages. Ask for output "in HTML" to get a beautiful, interactive webpage. LLMs are getting really good at frontend and can create beautiful experiences, animations, etc. But even better: Explainer videos. The output format I am most bullish on is fully custom / bespoke explainer videos generated on any arbitrary topic. Experiment with things like "Create a 3b1b style video explainer on X. Use my ElevenLabs API key for audio narration". (you'd need an API key for the latter or you can ask your LLM to find you decent free alternatives that use your local compute). This is actually starting to work! In summary: - As LLMs get better, they will do more and more of the legwork autonomously, and a lot more of our work will rise up the abstractions into oversight and understanding. - Luckily, LLMs can help here too because as intelligence and code are increasingly abundant, you can ask for large, custom, discardable software artifacts (e.g. web apps, video explainers) that would have never made sense to create before. Push the boundaries here and you'll be surprised.
1,710
6,792
1,594
57,090
8,309,963
Postgres be like: - Cron-jobs? Sure - Queues? - You bet - Vector? Why not - Full text search? Hell yeah - Vector? yep - What don't you support? ¯\_(ツ)_/¯
106
78
12
2,025
151,241
PostgreSQL ipucu: Diyelim ki a, b ve c kolonları var. Indexi (a,b) diye *btree* yarattınız. Bu index sadece a kolonu için *de* kullanılır. Yani a'ya ek indexe gerek yok.
6
2
1
41
4,040
Two years ago, some of us including me firmly believed that text-based input and output would be sufficient for large language models for the next decade. Google proved us wrong.
3
6
1
70
9,688
Go is unsurprisingly becoming a very popular language for inference heavy AI systems and applications. #golang
19
24
7
412
42,364
mhatiboglu retweeted
TLDR: • Coding is transforming, not dying • Lifelong learning is a must • Use AI to stay ahead
1
4
1
70
23,310
For the last ~15 years, in my JS trainings and writings, I've been claiming that the human brain is not naturally multi-tasking, but rather fast task-switching (aka currency). I googled that forever ago. Just saw a doctor on morning TV show asserting exactly the same. Told ya.
5
2
1
24
3,550
Such experiences are definitely a big question mark not to choose you. @bookingcom
You’re unable to view this post because this account owner limits who can view their posts. Learn more
3
35
In your career, the most valuable currency is not how much you know. It's how well you learn. In a stable world, success depended on building expertise. In a changing world, it hinges on evolving expertise. Potential is no longer defined by ability. It's a function of agility.
78
1,582
132
6,196
503,590
2 million TPS Postgres 16, SELECT-only pgbench (w/o prepared statements), 4th-gen AMD EPYC with 360 vCPUs in GCP postgres.ai/chats/018d1878-a…
2
5
4
32
36,228
Debugging is like being the detective in a crime movie where you are also the murderer 😂 Do you feel the same?
18
11
2
134
12,316
A beautiful bit of TypeScript to turn an array into a keyed object 🤯 Uses 'as const', union types, mapped types and key remapping.
16
82
2
930
71,861
mhatiboglu retweeted
I am very excited to share a project I've been working on since April 2022 sshx is a secure web-based, collaborative terminal. On an infinite canvas, with live cursors. It's packaged as a 3 MB binary. Just run `sshx` and share a link. :) sshx.io/
75
312
55
2,628
422,409
API architectural styles are one of key factors behind seamless applications. Tomorrow thousands of subscribers will learn about the most prominent API architectural styles. Join us to get the issue: blog.levelupcoding.co
25
1,105
14
4,006
420,385
gRPC & Go You have probably heard of gRPC if you haven't used it. It is particularly popular for inter-service communication due to its efficiency, language agnostic nature and support out of the box for things like MTLS. Here's a really simple example of how you can get started with gRPC and hopefully highlights some of the benefits. For the examples here I am using @bufbuild which is currently my favourite proto tool. Firstly, define a service definition: Create a buf.gen.yaml (you can also use buf to generate this automatically). The one below basically says generate me both go proto code and gRPC bindings: Now you can run "buf generate". It will generate you a bunch of code in your gen/go folder. Next, we will declare a server and implement the interface of the gRPC server, and start it: A client can now connect as follows: that's it! Some next steps for you to consider: - Try and update the protobuf to add another service method, generate it and implement it. This will be FAST! - Add breaking change detection to your protobuf. - Try and generate a client in another language (Java/node/python works pretty well). - Try and build a protobuf "monorepo" that generates code in CI for multiple languages and does breaking change detection. - Try and connect to your service without using grpc.WithInsecure(). After these next steps, you will hopefully see some the benefits of gRPC and will be ready to present it to your colleagues. Good luck!
15
54
5
562
102,844
Did you know you can use 'FROM scratch' to create ultra-minimalistic #Docker images with no underlying operating system components? 🐳 It's ideal for deploying super-efficient containers, especially when your compiled binaries stand alone! Now I just have to figure out how to preserve package metadata. 🤔
10
37
3
269
57,935
mhatiboglu retweeted
Explaining Sessions, Tokens, JWT, SSO, and OAuth in One Diagram. The method to download the high-resolution PDF is available at the end. Understanding these backstage maneuvers helps us build secure, seamless experiences. How do you see the evolution of web session management impacting the future of web applications and user experiences? Subscribe to our newsletter to download the 𝐡𝐢𝐠𝐡-𝐫𝐞𝐬𝐨𝐥𝐮𝐭𝐢𝐨𝐧 𝐏𝐃𝐅 𝐨𝐟 𝐭𝐡𝐢𝐬 𝐝𝐢𝐚𝐠𝐫𝐚𝐦. After signing up, find the download link on the success page: bit.ly/bytebytegoCookie
15
424
3
1,613
164,360
Görüldüğü gibi en hızlısı like. 🙂 Bazılarınızın çok şaşırdığını anlıyorum. "Nasıl ya!" şeklindeki tepkinizi görür gibiyim. Like % ile aratmak yavaştır diye öğrendik değil mi? Like % nin daha havalı ismi wildcard bu arada.😊 Burada NAMESURNAME like 'mehmet%' ile biz adı Mehmet ile başlayanları çekmek istiyoruz. İşte bu şekilde kullandığımızda sistem eğer NAMESURNAME alanına göre index varsa onu kullanır. Substring ve Left birer fonksiyon olduğu için fonksiyonlarda index kullanamaz. Dolayısıyla tablonun tamamını tarar. Eğer arama şeklimiz Like %mehmet' ya da Like '%mehmet%' şeklinde olsaydı bu kez index kullanamayacağı için like yine yavaş olacaktı. 4. Görselde görüldüğü gibi like 'mehmet%' ile index seek yapıyor yani indexi kullanıyor. Left ve substring de ise index scan yapıyor yani tablonun tamamını tarıyor. Performans farkı ise okunan page ile bakılırsa 115784/69=1678 kat daha hızlı. #Hergüne1SQLBilgisi
5
12
236
40,849
38
739
41
4,875
332,731