44 karma · joined Apr 24, 2016 (10y ago) · 48 submissions
1.
GenAI Is Erasing the Mid-Level Engineer Promo Signal(swaranga.dev ↗)
1 points · by swaranga · 1w ago · discuss
comment 1mo ago · link · parent
3.
Lombok Is Still Relevant in the Age of Java Records(swaranga.dev ↗)
19 points · by swaranga · 1mo ago · 25 comments
comment 3mo ago · link · parent
Why does the class author have to declare it as a value type? I know this has been rehashed before many times by Brian but I keep forgetting the reasoning.
comment 5mo ago · link · parent
https://github.com/dloomorg/dloom
Short blogpost for the TLDR: https://swaranga.dev/posts/dloom-the-dotfile-manager-i-wante...
7.
Show HN: Dloom – a dotfile manager I wanted(swaranga.dev ↗)
2 points · by swaranga · 5mo ago · discuss
8.
A short-lived lock for a long-running evaluation(swaranga.dev ↗)
3 points · by swaranga · 7mo ago · discuss
9.
My experience with Claude and Codex on a system architecture bug(swaranga.dev ↗)
1 points · by swaranga · 7mo ago · discuss
comment 4y ago · link · parent
When you look at it like this, not very surprising that initiatives like cost savings optimizations may take a back seat for periods of time.
comment 4y ago · link · parent
I have turned off the genie effect and perhaps other animations, but my Ubuntu on my Lenovo still feels faster than the Mac.
comment 4y ago · link · parent
With one-box, you can assign a specific set of customers/canaries to be served by the new 1-box and validate your results. If there is a problem you rollback and only your canary data was affected. It is just not very simple IMO.
comment 4y ago · link · parent
In fact you can bring your own laptop and without reimaging use that for development. All interval tools (of which there aren’t too many are written in Go so are cross platform). I ordered a framework laptop and will expense it once it is here.
comment 4y ago · link · parent
If the code is deployed to the database (version controlled or not) all application servers will start using the new code immediately which is not what we would want from a onebox deployment first strategy. Usually all the servers will share the same database and thus the code in the code in database model. What am I missing.
comment 4y ago · link · parent
comment 4y ago · link · parent
public static void main(String[] args) {
Parent instance = new Child();
if (instance instanceof Child p) {
instance.print(); // prints Parent
p.print(); // prints Child
}
}
static class Parent {
static void print() {
System.out.println("Parent");
}
}
static class Child extends Parent {
static void print() {
System.out.println("Child");
}
}
Hence, with flow typing, existing code could break in subtle ways.comment 4y ago · link · parent
I use it with triple monitor setup, all 32 inch 2K (I find 2K better for programming) and use it with the Hp 120W dock.
I even upgraded its memory to 64GB myself from Amazon for much improved quality of life (I give Intellij 24G alone; have at it!)
comment 4y ago · link · parent
comment 4y ago · link · parent
I felt the same way - it seemed like the early 20th century made so much progress with those visionaries compared what what is being made now. Obviously I am not well informed because that is likely not the case.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
My process is to write the code, take my hands off the keyboard and just read it. Take a break and come back and read it again. Then upload a code review request but before you “publish” it for review read it in the browser again and makes changes as you see fit. This applies to design patterns as well. To me it is always circumstantial and should not feel forced. Sometimes the inherent nature of the logic requires me to keep all the conditionals together in a tight method with good documentation to make it easier to read it a year later. Sometimes it just “feels” cleaner to split it out. It always depends.