0x5afe (@0x5afe) header
0x5afe (@0x5afe) profile picture

Works at #ArchiKoder , Author of #ArchiTest Javascript Developer, Infosec Enthousiast Loves Typescript!! Object thinker https://nitter.gq/t.co/7x74shoVs5

France
Joined July 2010
Photo by 0x5afe (@0x5afe)Photo by 0x5afe (@0x5afe)Photo by 0x5afe (@0x5afe)
How could you design a #reusable component if you don't actually reuse it!?
1
25
Right back to doing fun stuff with graphs: mr-r3b00t.github.io/crime-ma…
2
1
8
1,857
Nice move!
Here is why TypeScript in Go is 10× faster > Half of our performance gain is from being native code and the other half is from being able to utilize all those CPUs > JavaScript basically forced us to leave that money on the table
22
perspective matters
How a piece of paper changes your perspective. nitter.gq/i/status/1848643227034…
2
19
This was animated in 1987 🤯
212
2,692
153
24,643
944,424
Generate UML class diagram directly from source code! #Archikoder #mermaid #uml
2
63
In 1991, one man coded for 28 hours straight without sleep. What he created transformed both gaming and aerospace engineering. The story of DOOM is wilder than you think. Here's how one coding marathon changed technology forever:
323
3,072
292
36,697
4,658,491
Problem: Your code base probably contains a lot of copy/pasted code, but it's hard to find. Solution: jscpd jscpd is a command line tool that finds copy/pasted code and reports specific duplicated lines. Works for over 150 languages. Example report:
90
469
32
4,139
573,391
By all means, make your code readable. It's relevant when you look at code in the small. But you should not rely on reading as the primary means to reason about a system. Code is best seen as data. It can be interesting to read it occasionally, but for the most part it’s more appropriate to approach it through dedicated tools that summarize it. Why is that important or even needed at all? Today, developers spend most of their time reading code. They do that because they want to understand enough to figure out how to change the system. Reading is the way they extract information from the system. As code is data too, we can build tools that extract the information we care about from it. #MoldableDevelopment
2
10
386
Everybody is lying! The key is to find the adequate lie to tell YOUR truth!
1
1
3
89
Bio-inspired Self-organization
9
24
2
306
15,431
0x5afe retweeted
Thread alert! 🚨 If you're a developer or designer, you'll definitely want to check out #PlantUML for generating #UML sequence diagrams. I discovered PlantUML 4 years ago but only had the opportunity to use it 2 weeks ago, and I'm already in love with its simplicity and ..
3
1
13
883
Saving this!
I've been working on this diagram for a while now. I've incorporated a lot of feedback, but now I think it is ready. Feel free to use it in case you need it 👇
1
34
Heard another “good” programming tip. If you don’t have an interface your code is not clean because how can you refactor in the future?
2
2
1
9
808
"Don't talk to strangers" also applies to software development. You hear from good programmers about having "loosely coupled" classes. But what does this mean? The amount of coupling refers to how often changes in class A force changes in class B. Tight coupling means the two classes often change together. Loose coupling means they are mostly independent. We even have a law for this, "Law of Demeter," formulated in 1987. This is how you translate this Law to your class design: - An object should only call methods of the objects it creates. - It can call methods on objects passed to it as parameters. - It can call methods on any direct component object. Here are the 3 main benefits: Reduced Coupling: Changes in one area are less likely to impact other areas. Better Modularity: Isolated modules are easier to understand and maintain. Easier to Test: Fewer component dependencies make it easy to test them. Each unit should only talk to its friends; don't talk to strangers! How do you avoid bad coupling?
10
42
194
15,005
1995: Mudge published "How to Write Buffer Overflows", one of the first papers about buffer overflow exploitation. Afterwards, Mudge sent a copy to Aleph One, who later wrote "Smashing the Stack For Fun and Profit" in 1996. Seminal security paper to seminal security paper.
7
135
7
508
28,766
Clean code isn’t just about readability; it’s about maintainability. Code that’s easy to understand is easier to evolve.
2
1
8
213
Below, I modified the data loader to return all 8.8M rows for 1979–2022 instead of only showing the 106,004 for 2022. Collisions are a strong proxy for population (and traffic) density, but the detail is striking.
3
5
2,407
Most people have no idea how large Starship is. It's the world's most powerful rocket ever made.
325
1,154
48
9,999
530,608
the FAA finally granted a launch license for starship flight 5 for tomorrow, october 13th. we gonna witness the chopsticks attempt to catch superheavy. as Elon often says, success isn’t guaranteed but excitement is :) meanwhile we can enjoy this game 🥢 starshipthegame.spacex.com
2
1
7
1,109