Vinyl (@ApacheVinyl) header
Vinyl (@ApacheVinyl) profile picture

Software Engineer | Once a learner, always a learner. Not afflicted with @TheASF

Joined October 2024
Photo by Vinyl (@ApacheVinyl)Photo by Vinyl (@ApacheVinyl)Photo by Vinyl (@ApacheVinyl)Photo by Vinyl (@ApacheVinyl)Photo by Vinyl (@ApacheVinyl)Photo by Vinyl (@ApacheVinyl)Photo by Vinyl (@ApacheVinyl)Photo by Vinyl (@ApacheVinyl)Photo by Vinyl (@ApacheVinyl)Photo by Vinyl (@ApacheVinyl)
Java optimisation in this economy is truly appreciated
Java 27 cut the size of every object header in the JVM by a third, for free. If you just migrate versions, your objects take a lot less memory. How? Every object you create in the JVM has a header. Until now that header had 96 bits. In Java 27 it has 64. Looks silly, looks like nothing. But every object carries metadata: its class, its hash, its lock. Even a simple application can have millions of those. So any improvement in resource usage there can be really significant for your JVM. This came in as experimental in JDK 24, became a product feature in Java 25, and now in Java 27 it's the default. Some numbers they published. One scenario used 22% less heap and 8% less CPU. Another had 15% less garbage collection, just from this change. A JSON parser they tested ran 10% faster. Some companies already use it in production, like Amazon and SAP. Sometimes we want to improve our applications' performance, especially in the cloud, where you never know exactly what the bill will be at the end of the month. Small changes like this can have huge impacts on your service, your server and that bill.
1
23
The more I read about #Rust, more crazy things I find! You can only add a parameter to a function if it implemented both "Summary" & "Display" Taking interfaces to another level
1
3
86
In other languages you can do the same but then you have to create a parent interface and implement Dispaly and Summary. Rust removes this step.
5
100 Postgres Tips in 10mins! 🐘 Why you don't need ORMs 🐘 Why you should use Functions for EVERYTHING 🐘 Why you should always use RLS Discuss in the comments...
24
73
6
582
30,487
Never use any password manager. Write in a diary if needs to be. You'll be very much safe that way
Even a password manager got hacked. These are the guys whose whole job is keeping everyone's passwords safe. What happened: 1.) An employee's GitHub account was compromised on 19 Nov 2.) The attacker pushed malicious code to backend systems & copied customer names, emails + account metadata 3.) They also took private source code & got into CI/CD 4.) Vaults & passwords were NOT accessed (encrypted, 1Password can't see them) The real risk now: phishing. Attackers know exactly who uses 1Password. Scary times we live in
1
52
There are this many harnesses? People really really making softwares just for devs. From B2B to B2C to B2D (business to devs)
The @theo fiasco today forced me down a rabbit hole to see how bad privacy was for open source apps. It is not great. I went through 25 open source AI coding GUIs and agent harnesses line by line for telemetry and privacy. - Only 1/25 cleanly honors DO_NOT_TRAC - Only 2/25 disable PostHog GeoIP - 6 got F for opt out bypasses, forced uploads, or false "No Telemetry" claims. Each tier broken down in replies. Full summaries on GitHub, link in repiles.
3
92
Great advice! Some areas you can implement it: 1. Ask it to critique your work, not to do the work. You will always learn new things. 2. Don't ship code you can't explain. 3. Always ask for alternatives. Noone will kill you, its not Stackoverflow. 4. Learn WITHOUT AI.
Skill erosion from AI is a choice. Every time you use AI, you have an opportunity to become a better software engineer or to reduce yourself to a meat proxy. If you let AI do all the thinking, coding, debugging, testing, and reviewing for you, your skills will fade. But if you use it to challenge your assumptions, expose gaps, generate alternatives, and accelerate deliberate practice, you’ll become a better software engineer. AI doesn’t decide whether you become a better engineer or a meat proxy. You do.
2
3
43
Let me try to explain Java4Shell in simple words: calif.io/java4shell
Reported this bug the day after release. Management took whole weekend to get it prioritized. Once it hit the news, upper management was all over us to fix it. Try telling them a fix across 25 microservices is no joke. But Java2Sheel is one of the most insanse bugs!!
1
1
2
144
What makes the bug crazy is how complex the heap arranging done by the researchers was - to turn that overwrite into code execution. I still didn't understand
1
19
The fix was fairly simple. base64 breaks the chars into groups of 4 chars (decoding to 3 bytes, with padding ("=") filling the last group) so if the string remaining is less than 4 chars go to slow path
12
Reported this bug the day after release. Management took whole weekend to get it prioritized. Once it hit the news, upper management was all over us to fix it. Try telling them a fix across 25 microservices is no joke. But Java2Sheel is one of the most insanse bugs!!
just fixed java4shell at work
1
114
just fixed java4shell at work
php2shell java4shell nginx2shell nginx2root Can we just go2sleep?
1
48
Surprisingly, it takes less memory than helium and chrome. Laggy time to time, not that buttery feel but I love more competition. I will use it for atleast a week then decide if this will be my daily driver or not
Ladybird is now in alpha 🐞 Downloads for macOS and Linux available on our website. ladybird.org/posts/alpha/
2
5
166
Just scroll through twitter and you will learn more
Ok it's here! Learn the latest in AI for 12 months straight. 14hrs of recorded content covering: 1. ChatGPT, Claude, Grokbot, Muse, Gemini, NotebookLM, ElevenLabs, Higgsgfield, HeyGen and more 2. All the basics of AI and how it works under the hood 3. AI applied in finance, video editing, trading, and more 4. Vibe Coding from beginner to advanced(Design, SEO, Hosting, Google Search Console, Analytics) 5. Build 9 AI Agents & workflows with n8n AND Live sessions from industry experts and frontier labs. Every month. AND stay up to date with weekly AI news radar, access to in-person events All of it on Zero to Infinity with AI
4
52
When you stop caring about the code
what's happening in these frontier Software Factory Innovation Thing Tanks that the software it produces is probably the worst piece of software you going to use. I'm puzzled how that's supposed to be example how their models are good at coding.
2
26
Ngl the names based on elements is actually neat
google's Neon being the best model... insane
20
Removed the "docker" from the logo smh
how could they massacre my boy like that 😭 😭
35
TIL that iOS keyboad can't use microphone
Stop the gatekeep iOS keyboards usually can’t directly use the microphone thats why most apps bounces you back to its app and then back But there is a new way Here is how you can skip this and do like bruno 🧵
1
22
This is by far the neatest thing #Rust can do. You don't have set the values in a struct(object) if your parameters and the struct variable name is same. It's called as "field init shorthand"
2
57