Eugene F. Barker (@arctips) header
Eugene F. Barker (@arctips) profile picture

Solutions Architect - Happy @coschoolofmines / @IBM alumnus that builds custom software solutions for business and government. It's tough work, but I love it.

Apia, Samoa
Joined February 2012
Photo by Eugene F. Barker (@arctips)Photo by Eugene F. Barker (@arctips)Photo by Eugene F. Barker (@arctips)Photo by Eugene F. Barker (@arctips)Photo by Eugene F. Barker (@arctips)Photo by Eugene F. Barker (@arctips)Photo by Eugene F. Barker (@arctips)Photo by Eugene F. Barker (@arctips)Photo by Eugene F. Barker (@arctips)Photo by Eugene F. Barker (@arctips)
Eugene F. Barker retweeted
Replying to @GergelyOrosz
In my career, compilers have always generated better code that I ever could have. I find this to be increasingly so with contemporary AIs. But you know what neither can do better than me? Knowing what software to write, what shape it should take, and what I want it to do. The entire history of software engineering has been one of rising levels of abstraction. This is how it was, how it is now, and how it shall be in the fullness of time.
49
269
30
1,762
138,871
Eugene F. Barker retweeted
Java Turns 30 ift.tt/qbhuCUp
2
10
3
28
5,846
Replying to @arctips
Those two. Thank you - and I'm glad you like having the figs posted :)
1
1
75
Eugene F. Barker retweeted
Linux awk command 101
5
146
3
1,027
60,365
Eugene F. Barker retweeted
139
11,684
322
62,096
3,218,630
Me Christmas list: Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Camera (To take photos of da cookie.) Cookies Cookies Cookies Cookies Cookies Cookies Cookies
538
5,092
528
34,985
1,891,159
Internalize Git
5
45
2
298
22,492
Atomic Habits
11
1,115
12
5,285
582,294
Eugene F. Barker retweeted
MIT University is offering 100% FREE Online Fall 2024 Session Courses Here are 15 Courses you should not miss: (No Registration required)
18
322
11
1,233
310,700
Eugene F. Barker retweeted
Younger engineers seems to have a hard time understanding concepts like threads, CPUs, and cores. But I remember feeling the same way before working on embedded systems. I hope this can help some less experienced folks out there: [1/6] ↓
12
319
4
2,369
239,575
Eugene F. Barker retweeted
Starlink now available in Samoa!
Starlink is now available in Samoa! 🛰️🇼🇸❤️ → starlink.com/map
2,754
4,291
405
71,815
26,584,366
𝗚𝗶𝘁 𝗠𝗲𝗿𝗴𝗲 𝘃𝘀 𝗥𝗲𝗯𝗮𝘀𝗲 One of the most powerful Git features is branching. Yet, while working with it, we must integrate changes from one branch into another, and the way to do this can be different. We have two ways to do it: 𝟭. 𝗠𝗲𝗿𝗴𝗲 When you merge Branch A into Branch B (with 𝚐𝚒𝚝 𝚖𝚎𝚛𝚐𝚎), Git creates a new merge commit. This commit has two parents, one from each branch, symbolizing the confluence of histories. It's a non-destructive operation that preserves the exact history of your project. Merges are particularly useful in collaborative environments where maintaining the integrity and chronological order of changes is essential. Yet, merge commits can clutter the history, making it harder to follow specific lines of development. 𝟮. 𝗥𝗲𝗯𝗮𝘀𝗲 When you rebase Branch A onto Branch B (with 𝚐𝚒𝚝 𝚛𝚎𝚋𝚊𝚜𝚎), you're essentially saying, "Let's pretend these changes from Branch A were made on top of the latest changes in Branch B." Rebase rewrites the project history by creating new commits for each commit in the original branch. This results in a much cleaner, straight-line history. Yet, it could be problematic if multiple people work on the same branch, as rebasing rewrites history, which can be challenging if others have pulled or pushed the original branch. So, when to use them: 🔹 𝗨𝘀𝗲 𝗺𝗲𝗿𝗴𝗶𝗻𝗴 𝘁𝗼 𝗽𝗿𝗲𝘀𝗲𝗿𝘃𝗲 𝘁𝗵𝗲 𝗰𝗼𝗺𝗽𝗹𝗲𝘁𝗲 𝗵𝗶𝘀𝘁𝗼𝗿𝘆, especially on shared branches or for collaborative work. It's ideal for feature branches to merge into a main or develop branch. 🔸 𝗨𝘀𝗲 𝗿𝗲𝗯𝗮𝘀𝗶𝗻𝗴 𝗳𝗼𝗿 𝗽𝗲𝗿𝘀𝗼𝗻𝗮𝗹 𝗯𝗿𝗮𝗻𝗰𝗵𝗲𝘀 or when you want a clean, linear history for easier tracking of changes. Remember to rebase locally and avoid pushing rebased branches to shared repositories. Also, be aware 𝗻𝗼𝘁 𝘁𝗼 𝗿𝗲𝗯𝗮𝘀𝗲 𝗽𝘂𝗯𝗹𝗶𝗰 𝗵𝗶𝘀𝘁𝗼𝗿𝘆. If your branch is shared with others, rebasing can rewrite history in a way that is disruptive and confusing to your collaborators. 👉 I 𝗽𝗿𝗲𝗳𝗲𝗿 𝘁𝗵𝗲 𝗿𝗲𝗯𝗮𝘀𝗲 𝗮𝗽𝗽𝗿𝗼𝗮𝗰𝗵, as we get a cleaner Git history, but to use it requires a higher level of Git understanding to manage safely. #programming #coding
9
182
2
874
74,422
𝗦𝗤𝗟 𝗝𝗼𝗶𝗻𝘀 𝘆𝗼𝘂 𝗻𝗲𝗲𝗱 𝘁𝗼 𝗸𝗻𝗼𝘄 Here is the list of essential SQL Joins every software developer needs to know: ✅ 𝗜𝗻𝗻𝗲𝗿 𝗝𝗼𝗶𝗻: Retrieves records with matching values in both tables. ✅ 𝗟𝗲𝗳𝘁 𝗝𝗼𝗶𝗻: Retrieves all records from the left table and matching records from the right table. ✅ 𝗟𝗲𝗳𝘁 𝗝𝗼𝗶𝗻 𝘄𝗶𝘁𝗵 𝗡𝘂𝗹𝗹 𝗖𝗵𝗲𝗰𝗸: Filters only the records that do not match in the right table (NULL values). ✅ 𝗥𝗶𝗴𝗵𝘁 𝗝𝗼𝗶𝗻: Retrieves all records from the right table and matching records from the left table. ✅ 𝗥𝗶𝗴𝗵𝘁 𝗝𝗼𝗶𝗻 𝘄𝗶𝘁𝗵 𝗡𝘂𝗹𝗹 𝗖𝗵𝗲𝗰𝗸: Filters only the records with no match in the left table (NULL values). ✅️ 𝗙𝘂𝗹𝗹 𝗝𝗼𝗶𝗻: Retrieves all records when a match is in the left or right table. ✅ 𝗙𝘂𝗹𝗹 𝗝𝗼𝗶𝗻 𝘄𝗶𝘁𝗵 𝗡𝘂𝗹𝗹 𝗖𝗵𝗲𝗰𝗸: Filters only the records for which there is no match in the left or right table (NULL values). ♻️ Reshare if you found this helpful. #programming #sql
2
88
1
398
42,051
𝗛𝗼𝘄 𝗧𝗼 𝗢𝗽𝘁𝗶𝗺𝗶𝘇𝗲 𝗬𝗼𝘂𝗿 𝗦𝗤𝗟 𝗤𝘂𝗲𝗿𝗶𝗲𝘀? To do this, you need first to understand the execution order of an SQL query. SQL statements are executed in multiple steps: 𝟭. 𝗙𝗥𝗢𝗠 - tables are joined to get the base data. 𝟮. 𝗪𝗛𝗘𝗥𝗘 - the base data is filtered. 𝟯. 𝗚𝗥𝗢𝗨𝗣 𝗕𝗬 - the filtered base data is grouped. 𝟰. 𝗛𝗔𝗩𝗜𝗡𝗚 - the grouped base data is filtered. 𝟱. 𝗦𝗘𝗟𝗘𝗖𝗧 - the final data is returned. 𝟲. 𝗢𝗥𝗗𝗘𝗥 𝗕𝗬 - the final data is sorted. 𝟳. 𝗟𝗜𝗠𝗜𝗧 - the returned data is limited to row count. The execution also involves: 🔹 Parsing SQL statements. 🔹 Transforming them into relational algebra. 🔹 Optimizing them. 🔹 Creating an execution plan. To learn more about it, check the full text in the comments. #sql
1
91
365
20,887
Eugene F. Barker retweeted
I used to think I was rational. Then I read Daniel Kahneman's Nobel Prize-winning work on human decision-making. He routinely asks 8 questions to expose cognitive traps you fall into daily. Test yourself with these questions (it's the ultimate BS detector for your brain):
268
4,134
291
24,455
5,482,675
Code Complexity vs. Experience by @flaviocopes
11
81
3
453
51,094
Eugene F. Barker retweeted
Replying to @housecor
By that, I don't mean that you should never use DRY code in tests, but that it shouldn't be the default methodology (in contrast to normal app coding). IMO, one reason you should avoid DRY test code is because you want to avoid debugging your test code. You shouldn't have to dig through layers of abstractions in your testing utilities to determine if the issue is in the abstraction or in your actual app code.
9
3
117
5,783
Eugene F. Barker retweeted
Most of what we do is never seen 🤔
65
439
41
3,897
165,771