The balance of rest is an important factor that I’ve understood the value of only later in my career. Pausing on a difficult engineering task at the end of the workday in favor of exercise or cooking dinner (or both) gives my mind and body time to reset it needs. Often answers or alternate approaches will materialize mid curl, crunch, or vegetable chop.
Huge fan of this tool for working on GUI implementations, ensuring the color choices and contrasts make sense for users that see GUIs differently than I do.
I use an M3 air for my personal machine which is used for c++ development and music production — it’s an excellent machine and I have yet to encounter a task that would require a MPB (at least for the type of work I am involved with).
Thanks. How much memory does it have? I figured 16 GB might be a bit in the low end for XCode, the emulator, some other random software and a lot of Firefox tabs.
I don't think so. I'll probably write some MacOS system software, like probing their battery APIs and such, but they are going to be small.
I'm not exactly sure how I'd proceed to learn the MacOS/iOS internals, I'll have to look into it, but I don't think I need to run a VM, unless I hack the XNU kernel? QEMU does run on MacOS so I guess that's additional 4GB - 6GB of memory for the kernel?
> Asked Sunday about the president-elect’s post calling on the government to shoot down the drones, [Homeland Security Secretary] Alejandro Mayorkas said, “We are limited in our authorities.”
> “We have certain agencies within the Department of Homeland Security that can do that, and outside our department, but we need those authorities expanded as well,” he added, after he called on Congress to expand the federal government’s authorities — specifically to empower local agencies to counter drone activity with federal supervision.
This looks like a good way to get popular and political support to "expand authorities" in the interest of national security.
Coordinate to launch a 'classified' training or research operation that is sure to get some eyeballs and prompt some conspiracy theories. And refuse to confirm or deny it is a planned/authorized exercise, prompting some form of hysteria.
Then casually remark on record that your authorities are limited.
Thanks for sharing this. I recently built something similar for a closed source project and am curious how I didn’t run across this library in my research.
Briefly: my implementation uses a templated RAII-style wrapper that persists objects in shared memory for as long as an instance of that object remains in scope. Once the last object goes out of scope, shared memory is freed. It works great so far. I’ll probably reference this library to compare implementations and see what I can learn. Thanks again.
If you need something more powerful, Boost.Interprocess is also a thing[1]. I used it like 10 years ago and seemed to work well. Looking at the docs, it even has a RAII-ish thing called `boost::interprocess::remove_shared_memory_on_destroy`.
I lost my father to Huntington’s Disease at a young age, and have had to live the 50% inheritance chance reality my entire life. I’ve never been tested for the disease, but I probably should be eventually. I really hope I don’t have it, and only time (or a test) will tell.
Technically, this approach does not avoid passing the genetic mutation to the children you conceive. Each embryo still has a 50/50 chance of inheriting it.
Instead, the embryos that have the genetic mutation are discarded, and only the embryos without the mutation are implanted.
If you believe that directly ending a human life at any stage, including embryonic development, is immoral or morally problematic, this is probably not an approach you would feel comfortable taking.
don't you do embryo selection anyways when you use artificial insemination? then this would just be another test if the embryo is viable, making the moral question be the same that artificial insemination already poses.
“Elastique” time stretch algorithm by zplane (0) seems to be a common choice by plug-in companies. Their C++ library is pretty straightforward to use, and most importantly it sounds good.
Generally speaking, phase vocoder (1) algorithms are what you’d want for developing your own pitch shifting algorithm.
I’ve recently joined a team where the vast majority of the code used across different projects has been written by a lone developer. The code quality is quite good, however, nothing is documented thoroughly and it’s mostly understood by a single person.
We’ve started to code review all new code being merged to the the codebase, we’ve been pair programming occasionally, and I’ve also been writing documentation about how to use the code as I get a handle on it. It’s been helpful so far.
Please document your code. Please provide examples.
What does well documented code look like for you? For me if I look at a new (webapp) repo I start from the controller level and look at the services and models. Would a good swagger page count as good documentation? My worry with documentation is that it can lie but the code doesn't.
I agree with this perspective. Documentation outside of code is almost never worth it (you cannot capture all the nuances or current bleeding edge - only code can) and usually just an excuse for someone to throw up their hands and not understand something.
There is value in guides, and good comments. For a library all the external functionality should be described (including prescripticely). For a big ol code base? Read the code and follow references!
The good documentation I’m envisioning refers to standardized comments throughout the codebase (we’re working with cpp, so doxygen in this case), with code examples within the header showing how the code should be used.
I’ve found there’s so many custom classes through my discovery if this codebase that it’s not quite clear how to use the classes or where to start, so having code examples along with comments describing their usage is pretty useful.
It’s also nice to utilize version control for the comments, which makes them easy to contribute to, as well as hopefully inspires others to contribute their own thorough comments when designing and contributing new classes to the codebase.
Documentation regarding process, coding guidelines, and the likes are better suited for a platform like confluence or some equivalent. We do that as well.
I watched the MIT 6.006 Introduction to Algorithms course (0) while studying leetcode a couple years ago. I’d watch the lecture, take notes, and then find some related leetcode questions and solve them. I found it considerably beneficial to do the two in tandem and made some pretty significant progress with my understanding of data structures and algorithms. Hope this helps.
After being laid off from my previous employer of 7 years, I found a company to join in my domain that has weathered the storm for many decades and is well-established in the industry I’m in AND also has income via federal contracts from another department at the company. The company is still privately owned by the original owners, and it seems to be a sustainable company that will weather the coming economic storm. I’m really happy to have joined when I have, I think this is a company to spend some good years at, and there’s a number of employees that have been with the company for over a decade. Things are looking stable, and I suppose for now I am a lifer.