Saturday, December 31, 2022

Friday, December 30, 2022

Thursday, December 29, 2022

Wednesday, December 28, 2022

Tuesday, December 27, 2022

Monday, December 26, 2022

Sunday, December 25, 2022

Saturday, December 24, 2022

Friday, December 23, 2022

Thursday, December 22, 2022

Wednesday, December 21, 2022

New top story on Hacker News: Ask HN: How to build F-You Skills

Ask HN: How to build F-You Skills
34 by lakevieew | 23 comments on Hacker News.
The past few months have been stressful for most people in the tech industry owing to mass layoffs everywhere. Luckily, I survived the layoffs at my company. But I was very anxious during the period it was announced and it affected my mental health quite a bit. However, on talking to a few other engineers at my company, I realized not everyone was as stressed. They are confident in their skills to get a new equivalent job which would easily support their current lifestyle, even in the current market. They have what I would call, "F-You Skills - Enough skills to know that you would never have to worry about money in your life", a spin on the more commonly known term "F-You Money" [1]. I was wondering if HN users ever think of their own skills in this context. If yes, how should one go about building these skills. To be clear, I am not talking about interviewing skills, which are also equally important. But I am more interested in technical skills that people believe will easily fetch them "decent money" [2] in any scenario in the short term future. [1] F-You Money means "Enough money to leave one's job, etc. and enjoy the lifestyle of one's choice" https://ift.tt/4bY7nLW [2] not insane money to retire early, but good enough to support their current lifestyle.

Tuesday, December 20, 2022

Monday, December 19, 2022

Sunday, December 18, 2022

Saturday, December 17, 2022

Friday, December 16, 2022

Thursday, December 15, 2022

World Cup 2022: Lionel Messi v Kylian Mbappe final - which players have dominated tournaments?

Will Argentina's Lionel Messi or France's Kylian Mbappe inspire their nation to World Cup success? BBC Sport looks at other players who have been instrumental in earlier tournaments.

from BBC News - Home https://ift.tt/JM7uTCF
via IFTTT

Wednesday, December 14, 2022

Tuesday, December 13, 2022

Monday, December 12, 2022

Sunday, December 11, 2022

New top story on Hacker News: Ask HN: How do you protect your eyes while coding for long hours?

Ask HN: How do you protect your eyes while coding for long hours?
17 by lajosbacs | 26 comments on Hacker News.
We often spend long hours staring at a computer screen, which can take a toll on our eyes. What are some effective ways that you have found to protect your eyes during these long coding sessions? Do you have any specific techniques or strategies that you use to prevent eye strain?

Saturday, December 10, 2022

Friday, December 9, 2022

Thursday, December 8, 2022

Wednesday, December 7, 2022

Tuesday, December 6, 2022

New top story on Hacker News: Show HN: Publish from GitHub Actions using multi-factor authentication

Show HN: Publish from GitHub Actions using multi-factor authentication
14 by varunsharma07 | 3 comments on Hacker News.
The backstory about this GitHub Action: I discussed with an open-source maintainer why they publish npm packages from their local machine and do not use CI/CD pipelines. They said publishing should require human intervention and want to continue using multi-factor authentication to publish to the npm registry. This led to building the wait-for-secrets GitHub Action. It prints a URL in the build log and waits for secrets to be entered using a browser. Once entered, the workflow continues, and secrets can be used in future steps. The latest release of "eslint-plugin-react" to the npm registry used a one-time password (OTP) from a GitHub Actions workflow! https://ift.tt/Q4oSZLB...

Monday, December 5, 2022

Sunday, December 4, 2022

New top story on Hacker News: How to work with people who pushback forcefully on team/company standards?

How to work with people who pushback forcefully on team/company standards?
21 by bovinegambler | 10 comments on Hacker News.
I've worked at a large, famous software company with an academic-inspired workplace and culture for almost 8 years and been fairly successful. Several times in that span, I've worked with people who push back quite forcefully on comments or feedback on topics or practices that have either explicit company standards or at least generally accepted best practices. It seems to me that most people at the company are conflict-avoidant so that when these people push back aggressively, it's often a successful strategy. Ten minutes of arguing and wearing the other person down saves them 20 minutes of writing unit tests or fixing their code or whatever. I've seen in the past that these people effectively carve out an unspoken exemption for themselves because everyone is sick of having the same conversation. I'm the tech lead but not manager of my current team and I'm responsible for the technical execution of the team and the success or failure on that level. There are a bunch of great people who do great work and are pleasant to work with but there's one person who is so unpleasant to work with. I hate that I have to constantly remind this person of company/team/professional standards and that it feels like every conversation is an argument (examples below). I hate that this is in my head on the weekend. Questions: - I try as much as possible to explain _why_ practices are what they are, the effects on our project, the team, etc. Any suggestions for these conversations in the future? - I can't control this person's behavior but I can control my response. Suggestions for dealing with this personally so I'm not wasting my Sunday thinking/writing about it? - Other thoughts or feedback? Thank you so much in advance! Some examples: - Sending a large PR that changes many files at once because their changes kept growing in scope as they were trying to figure out how to do something. Company has lots of guidance about small changes being easier to review, less bug-prone, etc and how to break them up. I try to emphasize the benefits for the team and codebase, the respect for the reviewer, etc. Generally get push-back like "What does it matter?", "It's already done.", "It would take too much time to break up.", "I'll do that next time", etc. - Adding unit tests for some piece of logic. The benefits of unit tests are so fundamental, but I try to emphasize that there are many people working on the codebase, don't want to accidentally introduce bugs, protect that logic for the future, etc. Generally get push-back like Well it's so simple. It's not worth testing. I'll add a test later. etc - On Friday, I discovered a chunk of code copied from Stackoverflow. It was crappy code, which is what caught my eye in the first place. Company has clear guidance that if you want to use outside code, we must verify the license and segregate it from owned code. (If you're curious why: it's hard to know where the SO code originally comes from, maybe copied from a closed-source project or one with GPL license or whatever, and even if it's original to SO, there is a license for that and it wouldn't be considered owned by the company). I was shocked to receive push-back on this. The person said things like "how would anyone find out", "what does it matter", "everyone does it", "it's so low risk, who cares"

New top story on Hacker News: Tell HN: The ThinkPad X1 Carbon is an excellent MacBook replacement

Tell HN: The ThinkPad X1 Carbon is an excellent MacBook replacement
37 by hunterloftis | 33 comments on Hacker News.
If you would like to develop outside of the Apple ecosystem, find Windows clunky, and dislike fiddling with Linux to get it to work on arbitrary hardware, consider the X1 with Fedora. I bought one at the recent Black Friday sale: $1,700 for a 12 Gen i7-1280P, 32GB, 512GB SSD. I love this machine. https://ift.tt/0Wtjp92 Physically, it's fantastic. Hats off to the engineers and designers for investing in the tactile experience. They made it lightweight but simultaneously substantial-feeling via rigidity and weight distribution. I now understand why Thinkpad keyboards are so well-regarded. Its trackpad matches Apple's, which is the highest praise I can give. The brilliant screen has an aspect ratio that's as good for building things as for consuming content. And battery life supports hours of binging netflix after compiling a bunch of code. I've been even more pleasantly surprised by the software experience. This is a Linux workstation that "just works." Close the lid, it goes on standby - open, and it resumes instantly. Plug it into a 100Mhz ultrawide monitor via a lightning cable, and not only does it seamlessly extend the desktop at native refresh rates, but it also mounts all the devices that are connected via the monitor's integrated USB hub. I'm able to log in via my bluetooth kinesis keyboard consistently, without hassle. Updates are fast, easy, and tested on the exact hardware I'm using. I've been using it as my daily driver for a week and I've yet to dive down a rabbit-hole of outdated forum advice to get something basic to work. Finally, and more subjectively, Fedora's out-of-the-box experience handily outshines both OSX and Windows. Window-snapping, global search, software installation via a package manager, resource efficiency, containerization support, configuration, etc. I wanted to share here for any others who have tried, and failed, to find a legitimately better-than-Macbook development machine for the past few years.

Saturday, December 3, 2022

Friday, December 2, 2022

Thursday, December 1, 2022

New top story on Hacker News: Ask HN: Was I pwned?

Ask HN: Was I pwned?
74 by wasipwned | 64 comments on Hacker News.
A few days ago, I noticed that my home network performance would degrade substantially to the point of being unusable. I would just power-cycle all my switches, and the issue would resolve for a while. It happened again this morning, so I decided to try to look closer at what could be causing the issue. That's when I noticed that my Linux desktop was doing a lot of traffic, and here's what I observed: - My desktop has a private IP address, let's say 10.0.0.2. - Running `iftop`, I saw all the traffic coming from a different source IP address, 10.0.0.3. It was transferring ~300Mbps. - Running `tcpdump`, I saw that all of this traffic was going to a public IP address (AT&T). All of the source port/dest were ipsec-nat-t. - I saw that `10.0.0.3` showed up as a client on my switch with a randomized MAC address (presumably, since I couldn't find the MAC prefix in a vendor list). - I could not find any references to `10.0.0.3` or the random MAC address on my desktop (looking at kernel logs, system logs, ip a, ifconfig). - During this period, my network was degraded (high packet loss across my switches). It was at this point that I decided to try blocking the MAC address from my switch, and performance immediately returned to normal. I tried unblocking the MAC a few minutes later, but it has yet to return. That plus the fact that the issue happens at seemingly random times (especially the middle of the night) makes me think that it's not automatically connecting and instead being triggered remotely. I've since disconnected my desktop from the network and am in the process of rotating keys. I'm especially perplexed at the traffic showing up from a different source IP on my desktop, but I did not see any interface that matched. I tried to look and see if it was potentially a VM running, but I didn't see anything in virsh. I did have Docker containers running, but I assume I would have seen the IP address show up on one of my interfaces. I'm at a bit of a loss and was wondering if anyone has ever seen anything like this before, and if there is any suggestions for things I should check.

Popular Posts

Recent Posts

Unordered List

Text Widget

Blog Archive

Search This Blog

Powered by Blogger.