Programming: C++, Python, Rust and More

-
Moving to C++11
Greetings, I asked about moving to C/C++ 11 as it would make it easier to allow multithreading support due to having a memory model alongside other features. Jason Merill mentioned due to it being so common it may be a good time to. Moving to git seems to be universally agree on so I'm opening the discussion for the same as related to C/C++11 migration and if possible opening a TODO similar to git if decided on. Please post your comments or ideas about the migration in response to this email, Nick
-
Moving to C++11
Greetings David, I posted on the list about moving to C++11/C11 but the focus was on C++11 for my work. Seems that other people wanted to use some parts of the C++11 standard including rvalues,move,auto and template aliases. The thread is here: https://gcc.gnu.org/ml/gcc/2019-09/msg00228.html I've come to the conclusion that enabling parts of it would be useful overall based on the linked discussion. Therefore I'm opening up the discussion again with the commitee involved to figure out what should be used and how the migration should take place, Nick
-
GCC Developers Look At Transitioning Their Codebase To C++11
Seven years after the GNU Compiler Collection (GCC) developers began transitioning their codebase from C to C++, they are now discussing the prospects of adopting C++11 as their allowed C++ standard revision for developing this open-source compiler.
This past week the conversation over allowing C++11 code into the compiler code-base was brought up. So far there seems to be a lot of upstream developer interest in allowing C++11'isms into the GCC code-base. In fact, some have even expressed being open to allowing C++14.
-
Grants Awarded for Python in Education
The Python Software Foundation has been asked about Python in education quite a bit recently. People have asked, “Is there an official curriculum we can use?”, “Are there online resources?”, “Are there efforts happening to improve Python on mobile?”, and so on.
9 years ago we instituted the Education Summit at PyCon US where educators as well as students work together on initiatives and obstacles. Earlier this year we decided we needed to do more. In November of 2018, the PSF created the Python in Education Board Committee and it was tasked with finding initiatives to fund to help improve the presence of Python in education.
In January of this year, the Python in Education Board Committee launched a “request for ideas” phase taking suggestions from the community on what we should focus our funding on. After the RFI period, we came up with 3 areas of education we wanted to focus on and asked to receive grant proposals on the following: resources (curriculums, evaluations, studies, multidisciplinary projects), localization (primarily translations), and mobile (development on mobile devices).
We are happy to publish more details on the grants the PSF approved from this initiative!
-
ML with Python: Part-3
In preious post, we saw various steps involved in creating a machine learning (ML) model. You might have noticed in Building ML Model we consider multiple Algorithums in a pipeline and then tune hyperparameter for all the Models. Don't you feel that it would have been easier if some automated tools are there to ease the burden of repetitive and time-consuming tasks of machine learning pipeline design and hyperparameter optimization.
Here comes AutoML, taking over the machine learning model-building process: once a data set is in a relatively clean format, the AutoML system will be able to design and optimize a machine learning pipeline faster than 99% of the humans out there.
-
Analyzing the Stack Overflow Survey with Python and Pandas
I'm using the popular Pandas library, which is a "BSD-licensed library providing high-performance, easy-to-use data structures and data analysis tools," according to the library's About page.
-
Evennia: Blackifying and fixing bugs
Evennia's source code is extensively documented and was sort of adhering to the Python formatting standard PEP8. But many places were sort of hit-and-miss and others were formatted with slight variations due to who wrote the code.
After pre-work and recommendation by Greg Taylor, Evennia has adopted the black autoformatter for its source code. I'm not really convinced that black produces the best output of all possible outputs every time, but as Greg puts it, it's at least consistent in style. We use a line width of 100.
I have set it up so that whenever a new commit is added to the repo, the black formatter will run on it. It may still produce line widths >100 at times (especially for long strings), but otherwise this reduces the number of different PEP8 infractions in the code a lot.
-
PyDev of the Week: Marlene Mhangami
Sure, in college I studied molecular biology. I was actually in the schools pre-medicine track because I initially thought I wanted to become a doctor. Looking back on it now I laugh because I hate blood, just the sight of it in movies makes me shut my eyes tightly, so I’m genuinely happy that didn’t work out! I went to a liberal arts college and appreciate that I had the space to take courses in other fields like philosophy and politics which I really enjoy.
I get asked about what hobbies I have quite often, and I’m not sure if I have anything I do consistently enough to call a hobby. I read, and sometimes run, and love to journal. I also occasionally paint, but the last time I told someone I painted they asked me where my studios were and started listing off artists that I had never heard of before, so I like to disclaimer that I don’t paint in a way that is cultured or sophisticated but just as a way to express myself and have fun.
-
Webinar: “React+TypeScript+TDD in PyCharm” with Paul Everitt
ReactJS is wildly popular and thus wildly supported. TypeScript is increasingly popular, and thus increasingly supported.
The two together? Not as much. Given that they both change quickly, it’s hard to find accurate learning materials.
React+TypeScript, with PyCharm? That three-part combination is the topic of this webinar. We’ll show a little about a lot. Meaning, the key steps to getting productive, in PyCharm, for React projects using TypeScript. Along the way we’ll show test-driven development and emphasize tips-and-tricks in the IDE.
-
The Rust Programming Language Blog: Security advisory for Cargo
The Rust team was recently notified of a security concern when using older versions of Cargo to build crates which use the package rename feature added in newer versions of Cargo. If you're using Rust 1.26.0, released on 2018-05-10, or later you're not affected.
-
The Rust Programming Language Blog: Async-await hits beta!
Big news! As of this writing, syntactic support for async-await is available in the Rust beta channel! It will be available in the 1.39 release, which is expected to be released on November 7th, 2019. Once async-await hits stable, that will mark the culmination of a multi-year effort to enable efficient and ergonomic asynchronous I/O in Rust. It will not, however, mark the end of the road: there is still more work to do, both in terms of polish (some of the error messages we get today are, um, not great) and in terms of feature set (async fn in traits, anyone?).
-
September 2019 report: Jules, OpenSMTPD 6.6.0 upcoming release and related things
Three months ago, I switched to a 75% part-time schedule so that I could spend a “free” week each month working on my own stuff, mostly opensource, without being pressured on what I should do. My employer does not know what I’ll be working on and I get to decide myself how I’ll spend this time.
This came at the cost of slashing a quarter of my wage, so while most of my “free” weeks will be spent on opensource and writing articles, I might also have to take some contracts and sponsored developments based on the state of my finances. I opened a patreon account so that if enough people want to sponsor me, I can spend these free weeks focusing solely on community work rather than proprietary work.
Thanks again to the people who make this possible !
-

- Login or register to post comments
Printer-friendly version- 2245 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
digiKam 7.7.0 is released
After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release.
|
Dilution and Misuse of the "Linux" Brand
|
Samsung, Red Hat to Work on Linux Drivers for Future Tech
The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world.
Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility.
|
today's howtos
|








.svg_.png)
Content (where original) is available under CC-BY-SA, copyrighted by original author/s.

Recent comments
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago