The right balance on this is to set it up to only trim whitespace on lines that you have edited, and only on-save.
Emacs has ws-butler for that behavior: https://github.com/lewang/ws-butler
The right balance on this is to set it up to only trim whitespace on lines that you have edited, and only on-save.
Emacs has ws-butler for that behavior: https://github.com/lewang/ws-butler
If undefined behavior is triggered anywhere in the program, then it is allowed by the standard for the process to ask the anthropomorphized compiler to punch you.
100% based and standards-compliant comic
Time to watch this gem again: https://youtu.be/b2F-DItXtZs
Small correction to an otherwise great explanation: SSNs are not recycled after death.
**Q20: *Are Social Security numbers reused after a person dies?*****A: No. We do not reassign a Social Security number (SSN) after the number holder’s death. Even though we have issued over 453 million SSNs so far, and we assign about 5 and one-half million new numbers a year, the current numbering system will provide us with enough new numbers for several generations into the future with no changes in the numbering system.
Yes, but it’s a prefix and can’t be used as a word on its own.
I am a native English speaker and I know it. It’s rare though.
Same meaning as in German and apparently we borrowed it from German.
For the first part, I was like, yeah, that’s pretty much how all C++ GUIs work: a markup file describes the structure, a source file controls the behavior, and a special compiler generates more C++ code based on the markup file to act as glue.
That’s all pretty standard, and it’s annoying, but I didn’t really get why they were making such a big deal out of it.
Missing documentation is also annoying but not uncommon for internal widgets.
What really elevates this from simply annoying to transcendentally bad, is the lack of error messages, the undocumented requirements that resource IDs be sequential, and the mandatory IDE plugin. That’s all unforgivable.
What you are looking for is some way to shortcut the process of learning to write an operating system by re-using your existing knowledge of Python.
(I’m not judging that; I understand why you want to do it)
The simple truth is that there is no way to do that. Any solution that involves using Python in a kernel would cost you more in terms of complexity and time than learning C would.
It is rarely worth it to use a language outside of the domains that it is normally used for.
I assume that they mean that OpenCL, which is a traditional GPGPU language, is a very restrictive subset of either C or C++ (both are options) plus some annotations.
In fact, OpenCL toolchains already use the Clang frontend and the LLVM backend, so the experience of using and compiling them is very close to C++.
The talk mentions all of this; it says that a benefit of using full C++ on the GPU over using OpenCL is that you don’t have to deal with all the annoying restrictions and annotations.
I received an actual email requesting a donation from the “Harris Victory Fund” two hours ago.
Here’s the fine print from the email on where the money would go:
The first $41,300/$15,000 from a person/multicandidate committee (“PAC”) will be allocated to the DNC. The next $3,300/$5,000 from a person/PAC will be allocated to Harris for President’s Recount Account. The next $510,000/$255,000 from a person/PAC will be split equally among the Democratic state parties from these states: AK, AL, AR, AZ, CA, CO, CT, DC, DE, FL, GA, HI, IA, ID, IL, IN, KS, KY, LA, MA, MD, ME, MI, MN, MO, MS, MT, NC, ND, NE, NH, NJ, NM, NV, NY, OH, OK, OR, PA, RI, SC, SD, TN, TX, UT, VA, VT, WA, WI, WV, and WY. Any additional funds will be allocated to the DNC, subject to applicable contribution limits.
I appreciate this. It’s a good overview of what it means to be a productive part of a larger context.
I prefer the terms “throughput” for “worker productivity” and “latency” for “work-unit productivity” but I can see why they chose to use their terms.
Twitter’s a bit of a bad example. Musk may be using it that way now in order to make the best of a bad situation, but it’s pretty clear that he didn’t actually intend to buy it in the first place.
Even someone like Musk doesn’t ever intend to go out and lose tens of billions of dollars on a single purchase.
Through talks at C++ conferences and appearances on C++ podcasts:
https://youtu.be/lgivCGdmFrw?feature=shared
https://podcasts.apple.com/us/podcast/cppcast/id968703120?i=1000663536368
Swift was developed by a lot of former C++ committee members, and in C++ circles they’ve been advocating for it as a “successor language” for quite some time.
This could definitely be confusing if you don’t have that context, but making Swift useful for this kind of project has been an explicit goal of the Swift developers for years.
There’s also a whole industry of ex-Googlers reimplementing Google tooling as SaaS services to sell to other ex-Googlers at other companies.
There’s even a lookup table: https://github.com/jhuangtw/xg2xg
(some of those are open source projects, some are SaaS services)
The way the article makes it sound is, if individual employees download OracleJDK while on the company network, and use it for small personal scripts or automation, then that might be enough to trigger Oracle to act.
If your company is large enough, then enough employees may have done that to make you a reasonable target for litigation if you don’t work something out with Oracle. And Oracle is an expert at litigation.
I think that the best defense for a large company would be to IP block all Oracle domains and periodically scan employee laptops for any Oracle products (especially JDK and VirtualBox guest additions) and delete them.
You really have to treat anything that Oracle touches as malware if you want to protect yourself.
I know for sure that there is a mastodon client for Emacs, but of course that uses a different protocol and wouldn’t work for lemmy: https://codeberg.org/martianh/mastodon.el
They actually did do something similar to this but with beer. They extracted ancient yeast DNA from 45mya that was preserved in amber and used it to brew beer.
https://underthejenfluence.beer/urcontent/2017/3/6/i-tried-it-45-million-year-old-yeast-beer
Unfortunately no longer available, which is quite the shame since I really want to try it lol.
I just gave PlantUML + the C4 Plugin a try and generally liked it, thank you for the rec!
It seems like a good tool although it inherits all the joys and pains of automatic graph layout.
I think I’ll keep it in my arsenal for detailed diagrams that can handle being a little aesthetically wonky.
I hadn’t heard of C4 before and it seems like a solid idea.
Today, I wanted to make a module for my AwesomeWM status bar
It’s great when simple tools let you extend them like this. It may be kinda hacky sometimes but oftentimes a small, tightly-scoped extension that you develop for yourself can give you a lot of value.
You can store the Merkle trees inside of a SQLite database as extra columns attached to the data.
That way you get the benefits of a high-level query language and a robust storage layer as well as the cryptographic verification.
In fact, there is a version control system called Fossil which does exactly that:
https://fossil-scm.org/home/doc/trunk/www/fossil-v-git.wiki