Feeds

Getting rid of things is not easy

Planet KDE - Sun, 2019-02-03 11:40

Every now and then, a KMyMoney user asks why he or she cannot delete an account, category or another other object in his data set.

Well, the answer is easy: KMyMoney prevents them from destroying the integrity of their data. This means, the object may be referenced by another object in the data set and this is why KMyMoney disables the delete operation in such a case. The technical term for this is referential integrity. But what are the rules for this to happen?

Transaction, Account, Institution, Payee, Tag, Budget and friends: The following sections show for each object the ones it may be referenced by and in case such a reference exists cannot be deleted.

Account Transaction, Schedule Budget -none- Category Transaction, Budget, Schedule Currency Transaction, Account, Institution, Payee, Tag, Budget, Schedule, Security Institution -none- Payee -none- Price -none- Report -none- Schedule -none- Security Transaction, Account, Institution, Payee, Tag, Budget, Schedule, Currency Tag -none- Transaction -none-

Disclaimer: the above may be incomplete or not 100% accurate.


Categories: FLOSS Project Planets

James Duncan

Planet Apache - Sun, 2019-02-03 11:00

One thing that’s a pain in the ass about living in Berlin is the airports. Both of the currently operating airports, Tegal and Schönefeld, are Cold War relics that are ill-maintained jokes by modern standards. There has been a replacement airport in the works for years that was scheduled to open in 2011, but it’s been delayed so many times that there are now entire international airports elsewhere in the world that have been conceived, built, and opened in the time that they’ve tried to fix the new airport’s mess.

They could have scraped the new airport terminal to the ground and rebuilt it in the time they’ve been faffing around trying to fix what’s been built.

Autumn 2020 is the new target date for completion. Nobody believes it. I’ve seriously started considering taking the train to Frankfurt or Dusseldorf in the meantime.

Categories: FLOSS Project Planets

codingdirectional: Get the closest prime number with python

Planet Python - Sun, 2019-02-03 10:52

In this chapter, we will create a method which will return the value which needs to be added to the total of all the numbers within a list to get the closest prime number from that total. A prime number is a number which can only be divided by one and itself. 1 is not a prime number. The below program will add one to the sum of all the numbers within a list until it reaches the closest prime number from that total, it then will return the value which needs to be added to reach that prime status.

def minimum_number(numbers): total = sum(numbers) n=0 notprime = True if(total == 1): return 1 elif(total == 2): return 0 else: while(notprime): for i in range(2,total): if(total%i == 0): notprime = True break else: notprime = False if(notprime == True): total+=1 n+=1 else: return n

As you can see we will use the notprime flag to control the while loop until we get the answer which we need. Like, share or comment on this post, if you have nothing to do then why not donate some cryptocurrencies through the donation widget (on the sidebar of this website) to help funding this site, thank you for your help.

Categories: FLOSS Project Planets

Matt Glaman: Testing your Drupal code base for deprecated code usage with PHPStan

Planet Drupal - Sun, 2019-02-03 10:14
Testing your Drupal code base for deprecated code usage with PHPStan Sunday 3, February 2019 mglaman

Last month I wrote about writing better Drupal code with static analysis using PHPStan. One of the more practical uses I saw for PHPStan and Drupal was the discovery of deprecated code usages through the phpstan/phpstan-deprecation-rules package. I had not fully tested it, until this week. 

Categories: FLOSS Project Planets

This week in Usability & Productivity, part 56

Planet KDE - Sun, 2019-02-03 09:44

Here are the results of week 56 of KDE’s Usability & Productivity initiative. We’ve been working on Plasma 5.16 features and fixing old bugs in Plasma 5.12 and beyond.

One additional thing I’d like to mention is that we’re aware that many users of Discover in Plasma 5.14 are suffering from an inability to either check for updates or update their systems. This issue is fixed in Plasma 5.15 and beyond, but we’re working on a fix for Plasma 5.14 users that can be backported. Sorry for the breakage, everyone!

Anyway, onto the good stuff…

New Features Bugfixes & Performance Improvements User Interface Improvements

Next week, your name could be in this list! Not sure how? Just ask! I’ve helped mentor a number of new contributors recently and I’d love to help you, too! You can also check out https://community.kde.org/Get_Involved, and find out how you can help be a part of something that really matters. You don’t have to already be a programmer. I wasn’t when I got started. Try it, you’ll like it! We don’t bite!

If you find KDE software useful, consider making a donation to the KDE e.V. foundation.

Categories: FLOSS Project Planets

David Moreno: FOSDEM 2019

Planet Debian - Sun, 2019-02-03 08:28

Spent the Saturday at FOSDEM with my friend jackdoe.

It was great to both see some and avoid other familiar faces. It was great to meet some unfamiliar faces as well.

Until next year! Maybe.

Categories: FLOSS Project Planets

Holden Karau: Predicting areas for PR Comments based on Code Vectors & Mailing List Data @ FOSDEM

Planet Apache - Sun, 2019-02-03 07:21
Thanks for joining us (@holdenkarau,@krisnova) on 2019-02-03 at FOSDEM 2019 Brussels, Belgium for Predicting areas for PR Comments based on Code Vectors & Mailing List Data.I'll update this post with the slides soon.Comment bellow to join in the discussion :).Talk feedback is appreciated at http://bit.ly/holdenTalkFeedback
Categories: FLOSS Project Planets

Holden Karau: Apache Spark on Kubernetes -- Avoiding the pain of YARN @ Pre-FOSDEM Belgium Kubernetes Meetup

Planet Apache - Sun, 2019-02-03 07:21
Thanks for joining me on 2019-02-02 for Apache Spark on Kubernetes -- Avoiding the pain of YARN.The talk covered:

Apache Spark is one of the most popular big data tools, and starting last year has had integrated support for running on Kubernetes. This talk will introduce some of the use cases of Apache Spark quickly (machine learning, ETL, etc.) and then look at the current cluster managers Spark runs on and their limitations. Most of the focus will be around running non-Java code, and the challenges associated with dependencies along with general challenges like scale-up & down. Its not all sunshine and roses though, I will talk about some of the limitations of our current approach and the work being done to improve this.

.I'll update this post with the slides soon.Comment bellow to join in the discussion :).Talk feedback is appreciated at http://bit.ly/holdenTalkFeedback
Categories: FLOSS Project Planets

Junichi Uekawa: Found myself charged for cloud build last month.

Planet Debian - Sun, 2019-02-03 05:28
Found myself charged for cloud build last month. Noticed that I have some remains in cloud storage and GCR.

Categories: FLOSS Project Planets

Bits from Debian: Projects and mentors for Debian's Google Summer of Code 2019 and Outreachy

Planet Debian - Sun, 2019-02-03 04:40

Debian is applying as a mentoring organization for the Google Summer of Code 2019, an internship program open to university students aged 18 and up, and will apply soon for the next round of Outreachy, an internship program for people from groups traditionally underrepresented in tech.

Please join us and help expanding Debian and mentoring new free software contributors!

If you have a project idea related to Debian and can mentor (or can coordinate the mentorship with some other Debian Developer or contributor, or within a Debian team), please add the details to the Debian GSoC2019 Projects wiki page by Tuesday, February 5 2019.

Participating in these programs has many benefits for Debian and the wider free software community. If you have questions, please come and ask us on IRC #debian-outreach or the debian-outreach mailing list.

Categories: FLOSS Project Planets

blog.studio.gd: Drupal 8 Views Plugins (Part 2) : The display extender plugin

Planet Drupal - Sun, 2019-02-03 03:04
Let's see how and why to use a views display extender plugin.
Categories: FLOSS Project Planets

blog.studio.gd: Views Plugins (Part 1) : Simple area handler plugin

Planet Drupal - Sun, 2019-02-03 03:04
In this series I will show you how to make use of the new Drupal 8 Plugin system, we begin with a simple example : the views area handler plugins.
Categories: FLOSS Project Planets

blog.studio.gd: Overview of CMI in Drupal 8

Planet Drupal - Sun, 2019-02-03 03:04
Some notes about the new Configuration management system in Drupal 8
Categories: FLOSS Project Planets

blog.studio.gd: Migrate to Drupal 8 from a custom site

Planet Drupal - Sun, 2019-02-03 03:04
Migrate is now included in the Drupal core for making the upgrade path from 6.x and 7.x versions to Drupal 8.

In this article will see how to use the Drupal migration framework to migrate custom sites to drupal 8.
Categories: FLOSS Project Planets

blog.studio.gd: Inline Entity Display

Planet Drupal - Sun, 2019-02-03 03:04
Handle referenced entity fields directly in the parent entity
Categories: FLOSS Project Planets

Russ Allbery: Another new year haul

Planet Debian - Sat, 2019-02-02 21:38

The last haul I named that was technically not a new year haul since it was posted in December, so I'll use the same title again. This is a relatively small collection of random stuff, mostly picking up recommendations and award nominees that I plan on reading soon.

Kate Elliott — Cold Fire (sff)
Kate Elliott — Cold Steel (sff)
Mik Everett — Self-Published Kindling (non-fiction)
Michael D. Gordin — The Pseudoscience Wars (non-fiction)
Yoon Ha Lee — Dragon Pearl (sff)
Ruth Ozeki — A Tale for the Time Being (sff)
Marge Piercy — Woman on the Edge of Time (sff)
Kim Stanley Robinson — New York 2140 (sff)

I've already reviewed New York 2140. I have several more pre-orders that will be delivered this month, so still safely acquiring books faster than I'm reading them. It's all to support authors!

Categories: FLOSS Project Planets

Justin Mason: Links for 2019-02-02

Planet Apache - Sat, 2019-02-02 18:58
  • Understanding the bin, sbin, usr/bin , usr/sbin split

    omg. /usr/bin came about because Ken Thompson and Dennis Ritchie ran out of disk space on the root volume. Mind = blown

    You know how Ken Thompson and Dennis Ritchie created Unix on a PDP-7 in 1969? Well around 1971 they upgraded to a PDP-11 with a pair of RK05 disk packs (1.5 megabytes each) for storage. When the operating system grew too big to fit on the first RK05 disk pack (their root filesystem) they let it leak into the second one, which is where all the user home directories lived (which is why the mount was called /usr). They replicated all the OS directories under there (/bin, /sbin, /lib, /tmp…) and wrote files to those new directories because their original disk was out of space. When they got a third disk, they mounted it on /home and relocated all the user directories to there so the OS could consume all the space on both disks and grow to THREE WHOLE MEGABYTES (ooooh!).

    (tags: filesystem unix history ken-thompson dennis-ritchie disk-space usr)

Categories: FLOSS Project Planets

Steinar H. Gunderson: FOSDEM 2019, Saturday

Planet Debian - Sat, 2019-02-02 17:22

Got lost in the wet slush of Brussels. Got to ULB. Watched seven talks in whole or partially, some good and some not so good. (Six more that I wanted to see, but couldn't due to overfilled rooms, scheduling conflicts or cancellations.) Marvelled at the Wi-Fi as usual (although n-m is slow to connect to v6-only networks, it seems). Had my own talk. Met people in the hallway track. Charged the laptop a bit in the cafeteria; should get a new internal battery for next year so that it lasts all day. Insane amount of people in the hallways as always. Tired. Going back tomorrow.

FOSDEM continues to be among the top free software conferences. But I would love some better way of finding talks than “read through this list of 750+ talks linearly, except ignore the blockchain devroom”.

Categories: FLOSS Project Planets

Steinar H. Gunderson: Futatabi: Multi-camera instant replay with slow motion

Planet Debian - Sat, 2019-02-02 17:14

I've launched Futatabi, my slow motion software! Actually, the source code has been out as part of Nageru for a few weeks, so it's in Debian buster and all, but there's been a dash the last few days to get all the documentation and such in place.

The FOSDEM talk went well—the turnout wasn't huge (about fifty people in person; I don't know the stream numbers), but I guess it's a fairly narrow topic. Feedback was overall good, and the questions were well thought-out. Thanks to everyone who came, and especially those who asked questions! I had planned for 20 minutes (with demo, but without questions) and ended up in 18, so that's fairly good. I forgot only minor details, and reached my goal of zero bullet points. The recording will be out as soon as I can get my hands on it, although I do suspect it's been downconverted from 60 to 50 and then further to 25 fps, which will naturally kill the smoothness of the interpolated video.

Relevant stuff:

Categories: FLOSS Project Planets

Pages