General Programming Discussion

7803 readers
1 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 6 years ago
MODERATORS
151
152
153
154
155
 
 

So, I've been promoted to Senior Engineer in the last couple of months and that felt really good because I felt that people recognized my efforts to progress and that my dedication paid off. The problem is that, as a senior, I am supposed to become more part of the recruitment processes, through code review candidates applications, interviewing, etc. All fine by me, but sometimes I get haunted by the too familiar Imposter Syndrome when looking at the code submissions of some candidates for some of the challenges we ask them, I am supposed to be evaluating people that in some cases have (at my eyes) solutions that I would not be able to implement in such detail or finesse and some times I end up spending some hours going through some solutions just to grasp everything that a candidate has done. Am I an imposter or is this just another phase of the process?

156
 
 

So on a different platform, I came across heated conversations about more experienced tech workers being unwilling to mentor new entrants. While I thought that was an unfair accusation, I thought to ask a wider audience their views and thoughts on mentoring upcommers. Do you mentor anyone? Were you mentored? How much impact does mentoring have on career growth?

157
158
 
 

cross-posted from: https://lemmy.ml/post/1507151

I'm trying to build a minimal CLI that would sync subscriptions between 2 or more lemmy accounts.

To do so, the CLI would need to:

  1. login to each account. For this I can use the login endpoint.
  2. get a list of subscriptions from each account. <- This is where I'm currently stuck.
  3. subscribe the accounts to the communities of other accounts. I think I can use the followCommunity endpoint.

My question is, how do I get a list of communities that a user follows?

159
 
 

The latest major version of the GNU Compiler Collection (GCC), 13.1, was released in April 2023. Like every major GCC release, this version brings many additions, improvements, bug fixes, and new features. GCC 13 is already the system compiler in Fedora 38. Red Hat Enterprise Linux (RHEL) users will get GCC 13 in the Red Hat GCC Toolset (RHEL 8 and RHEL 9). It's also possible to try GCC 13 on godbolt.org and similar web pages.

Like the article I wrote about GCC 10 and GCC 12, this article describes only new features implemented in the C++ front end; it does not discuss developments in the C++ language itself. Interesting changes in the standard C++ library that comes with GCC 13 are described in a separate blog post: New C features in GCC 13

160
161
162
 
 

An important part of working with Vulkan and other modern explicit rendering APIs is the synchronization of GPU/GPU and CPU/GPU workloads. In this article we will learn about what Vulkan needs us to synchronize and how to achieve it. We will talk about two high-level parts of the synchronization domain that we, as application and library developers, are responsible for:

  • GPU↔GPU synchronization to ensure that certain GPU operations do not occur out of order,
  • CPU↔GPU synchronization to ensure that we maintain a certain level of latency and resource usage in our applications.
163
 
 

This is an interactive blog post I wrote a few months ago about how to do fancy water simulations using FFTs. It doesn't assume any Fourier Transform or complex number knowledge. Even if you aren't interested in simulations, have a play with the widgets and learn a thing or two about waves. :)

164
165
166
167
168
 
 

I've reviewed over 10,000 resumes hiring at startups and large companies. Recently I've partnered with some recruiters at MANGA+ companies and started PineappleResume, a free interview guide & paid resume review service - But I'm doing it on Lemmy for free!

How to get a Free Review:

  • Share a link to your resume below (info redacted or not)
  • If there aren't too many posts, I'll get to it and give a review

Note if you're not targeting a general Software Development position, include what role you're going after and optionally the JD.

169
170
171
172
173
 
 

cross-posted from: https://lemmy.ml/post/1271953

This is for people who want to understand how programs get loaded under linux. In particular it talks about dynamically loaded x86 ELF files. The information you learn will let you understand how to debug problems that occur in your program before main starts up. Everything I tell you is true, but some things will be glossed over since they don't take us toward our goal. Further, if you link statically, some of the details will be different. I won't cover that at all. By the time you're done with this though, you'll know enough to figure that out for yourself if you need to.

174
 
 

Skip to around 24m:00s

175
 
 

I have this one .hpp file in a c++ project that's complicated. Too complicated. For this ONE fucking file, VS Code has decided to underline a bunch of random stuff in red and it refuses to show me autocomplete data. It doesn't show me member functions or variables and it doesn't show me functions that match what I've typed so far BUT ONLY IN THIS ONE FILE. The only reason I'm using VS Code at all is because this project is so mind-bogglingly complicated i simply can't remember everything and switching back and fourth between tabs, windows and monitors wastes so much time when you have to do it constantly.

VS Code always does this but you can usually get rid of the problem by closing it and opening it again. No such luck here. Having to do any work in this file without those autocomplete features is going to be such a drag. I actually tried moving the content of this stubborn hpp file to the h file but somehow VS Code is smart enough to troll me by underlining all the same stuff in red and not showing autocomplete data for the 1 block i copied in. How does it even know to troll me like this?

Other than switching to Windows 11 and using visual studio (like ms wants us to), what can I even do?

Also, there's nothing wrong with the code itself. g++ happily compiles and runs it and the relevant parts of the program work as expected.

Edit: hmm I changed the define keyword a little and its working for now although I wouldn't be surprised if that's not the case tomorrow. VS Code is good when it works but when it's being unreliable its just a glorified Windows XP notepad.exe with a dark theme.

view more: ‹ prev next ›