Christos Litras

149 posts

Christos Litras banner
Christos Litras

Christos Litras

@ChristosLitras

Senior software engineer with 16+ years of professional experience. Very passionate for Computer Science and Software Development.

California, US Katılım Nisan 2011
749 Takip Edilen97 Takipçiler
Christos Litras
Christos Litras@ChristosLitras·
@_avdept @valigo It does not matter how many modules a project has installed but what code those modules are running. The impact will be the same if all those modules files are copied directly inside the projects' src dir
English
0
0
0
7
Alex 🔔 | updatify.io
@valigo well, the more node_modules you have - worse it works many people abuse it, adding tons of uneeded libs and big frameworks, while in fact they could've achieve it with just plain JS and few libs
English
2
0
25
3K
Valentin Ignatev
Valentin Ignatev@valigo·
I often post about "Electron slop" and "Electron slop" that, and I always get replies and qrts that Electron is not the problem. And it is true, PARTIALLY. I remember when VSCode first shipped in 2016, it was super light on resources and pretty much natively fast. It was literally only losing (not by a lot!) to Sublime Text in its performance, a state of the art carefully crafted native code editor. At the time I couldn't believe that it's Electron. Same with early versions of Slack - it was fast and snappy, a joy to use compared to its competitors at the time that nobody remembers today because Slack [rightfully] killed them all. So yes, I KNOW it is possible to ship reasonably fast and efficient Electron apps. The issue is that for some reason all Electron apps become sluggish and resource-hungry real fast, and their maintainers lose whatever control they had over them, while there are plenty of native desktop apps that are decade(s) old, that gain features, but stay fast and efficient. So there's clearly something about it that leads to this rot, even when very smart programmers work on apps built with it.
English
30
15
606
51.4K
Christos Litras
Christos Litras@ChristosLitras·
@bleuonbase Because with Electron they have a full customizable browser that can do whatever they want with it, Tauri and all Webview solutions using system Webview which has limited functionality and constraints. And that's why these are small... they don't pack a full browser.
English
0
0
0
22
agusti
agusti@bleuonbase·
why would they choose electron over tauri in 2026
agusti tweet media
English
43
3
291
120K
Christos Litras
Christos Litras@ChristosLitras·
@bruvimtired If an app is able to call native OS API then it is by definition native. UI layer doesn't matter. I have a triplet C++ app that compiles to macOS, Linux and Windows that uses a Webview for the UI, like Tauri does, it's still a native application and it has abstractions for all OS
English
0
0
1
230
ahmet
ahmet@bruvimtired·
can we stop calling browser wrapper frameworks "native apps" please?
English
35
38
1.2K
32.4K
Christos Litras
Christos Litras@ChristosLitras·
@asynkimo @thdxr I am a full Opus user. I had a bug that Opus spent an hour couldn't figure out how to fix it, then I tried Codex CLI and it fixed it in one minute! Everything depends on context.
English
0
0
0
70
Kimo
Kimo@asynkimo·
@thdxr codex 5.3 spend 3 hours yesterday going in circles on a bug, and finally decided to disable the feature entirely, because that was easiest. opus 4.6 fixed the issue in 15 minutes
English
5
1
51
5.2K
dax
dax@thdxr·
codex is by far a better coding model than opus - anyone who knows anything understands this but the whole industry should reflect on why opus is the most popular people assume whatever is the smartest will win but the old rules of product are still what determine everything
English
401
108
3.4K
301.6K
Christos Litras
Christos Litras@ChristosLitras·
@TheAhmadOsman What about power consumption of what that local GPU will burn to do what my Claude Max does each month? I have an RTX 4500 ADA and still I am very hesitate utilizing it for everyday AI local usage due to power consumption.
English
0
0
0
46
Ahmad
Ahmad@TheAhmadOsman·
i have fully dropped Claude Code for OpenCode i donʼt use Opus 4.5, i use GLM-4.7 and MiniMax-M2.1 theyʼre opensource and can be self-hosted nobody can nerf my models or rug pull me nobody should be able to do that to your intelligence p.s. buy a GPU and run your LLMs locally
English
346
206
3.8K
356.3K
Christos Litras
Christos Litras@ChristosLitras·
@kabster @BasedMikeLee The metaphor is invalid. I can choose whether I have a Facebook account or not and even if I have I can delete it, people cannot choose socialism if they are in a socialism system. Facebook won't force me to use it for 8 hours everyday, like I'm forced to work in socialism.
English
0
0
0
4
Mike Lee
Mike Lee@BasedMikeLee·
I’m collecting memes that mock socialism If you have any good ones, please share them
Mike Lee tweet media
English
6K
9.9K
56.2K
1.3M
Christos Litras
Christos Litras@ChristosLitras·
I feel like GH copilot is in my mind. It suggests exactly what I am thinking as a next step with 100% accuracy at least 5/10 times!
English
0
0
0
2
Christos Litras
Christos Litras@ChristosLitras·
@theodorvaryag Another troll trying to seek for attention. "Lemons are evil, stop eating them"
English
0
0
0
5
Chris Allen
Chris Allen@theodorvaryag·
booleans are evil stop using them
English
163
14
634
76.1K
Christos Litras
Christos Litras@ChristosLitras·
@tekbog It's because the language and its' ecosystem sucks, unless you are making good money, make yourself a favor and invest in an enterprise stack.
English
0
0
0
2
terminally onλine εngineer
why do i need a virtual environment for python dev? what's wrong with going in raw?
English
302
92
3.9K
306.9K
Christos Litras
Christos Litras@ChristosLitras·
@Justin__NC @dario_xz @elonmusk @AfD You need to study some history and regarding the "evil" EU know that Germany is one of the most favorable countries in the EU; they make a lot of profit due to the union policies and status. The EU is not some bureaucrats in Brussels, EU is 450M people electing EU politicians
English
0
0
2
57
Justin
Justin@Justin__NC·
@dario_xz @elonmusk @AfD Embracing nationalism and self preservation is not a mistake The mistake is allowing Germany to be openly invaded by millions, the culture eroded, and the people lost to globalism German people must choose between the EU, or Germany itself
English
4
0
6
584
Elon Musk
Elon Musk@elonmusk·
An attack by the legacy media is Germany is exactly what I expected and wanted to happen. It will only help the @AfD win🥇for 🇩🇪 x.com/elonmusk/statu…
English
7.8K
18.3K
102.7K
15.8M
nixCraft 🐧
nixCraft 🐧@nixcraft·
Changing the timezone to match your local time for comfort might seem tempting, but keeping your Linux/Unix servers set to UTC is best practice. UTC ensures consistency across all servers, avoids potential issues with log analysis or troubleshooting on the server side.
nixCraft 🐧 tweet media
English
39
38
386
30.3K
Christos Litras
Christos Litras@ChristosLitras·
@olivierliberte @hayat_taym @historyinmemes It's not stupid, it's very clever actually. Look at the coke can open stays attached and that have saved millions of tons of aluminum that was disposed separately. Same goes for the plastic bottle caps.
Christos Litras tweet media
English
0
0
0
13
Christos Litras
Christos Litras@ChristosLitras·
@tylerlwsmith @kentcdodds Well, I'm pretty sure that if such syntax would ever make to ES, there would be a lint rule to enforce destructuring the error, but there are cases that the error is ignored by desing, i.e. cache miss repositories.
English
0
0
0
18
Christos Litras
Christos Litras@ChristosLitras·
@Hasen_Judi Clean and simple using Array.prototype.reduce: const chunks = arr.reduce((acc, cur) => { if (cur === null) { acc.push([]) } else { acc[acc.length - 1].push(cur) } return acc }, [[]])
English
0
0
0
13
ハセン حسن
ハセン حسن@hasen_95dx·
To clarify, the job was for JavaScript programming. Example input: [1, 5, null, 7, 2, 9, null, 4] Output: [ [1, 5], [7, 2, 9], [4] ]
English
50
2
535
98K
ハセン حسن
ハセン حسن@hasen_95dx·
Back in 2015 I was the interviewer side in for a programmer position. Many people could talk the talk, some of them had "impressive" looking resume. Most of them could not answer this simple question: Given an array with numbers and nulls, split it to multiple arrays, with null as the separator. I think it's a very basic question, and I think anyone who could not even begin to formulate an answer doesn't know how to program. I understand it's not always easy to program under pressure, so I would always ask the candidate first to just describe in words what the process is generally like. Most candidates just had a stunned look on their face and they would try to mumble some non-sense.
English
366
51
2.2K
808.6K
Tyler Smith
Tyler Smith@tylerlwsmith·
@kentcdodds At first glance I hated the error being returned first, then I immediately realized its first because it would be ignored 99% of the time if it wasn’t 🙃
English
1
0
0
150
Christos Litras
Christos Litras@ChristosLitras·
@leonautan @kentcdodds Endorced naming does not give the flexibility and freedom on naming things. Naming is dev's job. Object destructuring props can be renamed but it's not a goog pattern. Imagine you have 5 fetch calls in the same scope, then you'd need to do at least 4 object destructure renaming.
English
0
0
0
8
Leonardo Salazar
Leonardo Salazar@leonautan·
@kentcdodds Just curious, what is driven the need of using arrays as return values for these cases?. I get it if it's an array of items that are equals in composition, but for this (error and response) I think a better approach would be to use an object.
English
2
0
0
61
Fareesh Vijayarangam
Fareesh Vijayarangam@fareesh·
@teej_dv abandon ye false gods people of the 3 germanic tribes and kneel before odin the allfather
English
1
0
2
2.3K
teej dv 🔭
teej dv 🔭@teej_dv·
you should really give it a try
teej dv 🔭 tweet media
English
61
32
785
105.2K