Feeds

KnackForge: How to update Drupal 8 core?

Planet Drupal - Sat, 2018-03-24 01:01
How to update Drupal 8 core?

Let's see how to update your Drupal site between 8.x.x minor and patch versions. For example, from 8.1.2 to 8.1.3, or from 8.3.5 to 8.4.0. I hope this will help you.

  • If you are upgrading to Drupal version x.y.z

           x -> is known as the major version number

           y -> is known as the minor version number

           z -> is known as the patch version number.

Sat, 03/24/2018 - 10:31
Categories: FLOSS Project Planets

OSTraining: Drupal 8 Field Layout Alternative to the Display Suite

Planet Drupal - Mon, 2017-04-24 21:01

In Drupal 7 to create custom displays, you would probably use Display Suite.

Drupal 8 just added a potential alternative to the Display Suite in the core experimental modules. The Field Layout and Layout Discovery modules will allow you to assign a layout to specific content types.

Categories: FLOSS Project Planets

Justin Mason: Links for 2017-04-24

Planet Apache - Mon, 2017-04-24 19:58
  • Unroll.me sold your data to Uber

    ‘Uber devoted teams to so-called competitive intelligence, purchasing data from Slice Intelligence, which collected customers’ emailed Lyft receipts via Unroll.me and sold the data to Uber’. Also: ‘Unroll.me allegedly “kept a copy of every single email that you sent or received” in “poorly secured S3 buckets”‘: https://news.ycombinator.com/item?id=14180463 Unroll.me CEO: ‘felt bad “to see that some of our users were upset to learn about how we monetise our free service”.’ https://www.theguardian.com/technology/2017/apr/24/unrollme-mail-unsubscription-service-heartbroken-sells-user-inbox-data-slice

    (tags: uber unroll.me gmail google privacy data-protection lyft scumbags slice-intelligence)

  • Capturing all the flags in BSidesSF CTF by pwning Kubernetes/Google Cloud

    good exploration of the issues with running a CTF challenge (or any other secure infrastructure!) atop Kubernetes and a cloud platform like GCE

    (tags: gce google-cloud kubernetes security docker containers gke ctf hacking exploits)

  • How To Add A Security Key To Your Gmail (Tech Solidarity)

    Excellent how-to guide for Yubikey usage on gmail

    (tags: gmail yubikey security authentication google)

  • Ethics – Lyrebird

    ‘Lyrebird is the first company to offer a technology to reproduce the voice of someone as accurately and with as little recorded audio. [..] Voice recordings are currently considered as strong pieces of evidence in our societies and in particular in jurisdictions of many countries. Our technology questions the validity of such evidence as it allows to easily manipulate audio recordings. This could potentially have dangerous consequences such as misleading diplomats, fraud and more generally any other problem caused by stealing the identity of someone else. By releasing our technology publicly and making it available to anyone, we want to ensure that there will be no such risks. We hope that everyone will soon be aware that such technology exists and that copying the voice of someone else is possible. More generally, we want to raise attention about the lack of evidence that audio recordings may represent in the near future.’

    (tags: lyrebird audio technology scary ethics)

Categories: FLOSS Project Planets

Andre Roberge: Easily modifiable Python

Planet Python - Mon, 2017-04-24 18:47
You want to try out some new syntactic construction in Python but do NOT want to have to go through the trouble of 1. modifying Python's grammar file 2. modifying Python's lexer 3. modifying Python's parser 4. modifying Python's compiler 5. re-compile all the sources  so as to create a new Python interpreter? (These steps are described in these two blog  posts.) It can be done much more easily
Categories: FLOSS Project Planets

François Dion: Meet Eliza #AI

Planet Python - Mon, 2017-04-24 17:48


I will be presenting and directing a discussion on artificial intelligence, from various angles including the arts, Tuesday April 25th at Wake Forest in Winston Salem, NC.

Details here:
http://www.pyptug.org/2017/04/pyptug-monthly-meeting-meet-eliza-april.html

Francois Dion
@f_dion
Categories: FLOSS Project Planets

Bruce Snyder: Annual Spinal Cord Injury Re-evaluation

Planet Apache - Mon, 2017-04-24 17:04
Recently I went back to Craig Hospital for an annual spinal cord injury re-evaluation and the results were very positive. It was really nice to see some familiar faces of the people for whom I have such deep admiration like my doctors, physical therapists and administrative staff. My doctor and therapists were quite surprised to see how well I am doing, especially given that I'm still seeing improvements three years later. Mainly because so many spinal cord injury patients have serious issues even years later. I am so lucky to no longer be taking any medications and to be walking again.
It has also been nearly one year since I have been back to Craig Hospital and it seems like such a different place to me now. Being back there again feels odd for a couple of reasons. First, due to the extensive construction/remodel, the amount of change to the hospital makes it seem like a different place entirely. It used to be much smaller which encouraged more close interaction between patients and staff. Now the place is so big (i.e., big hallways, larger individual rooms, etc.) that patients can have more privacy if they want or even avoid some forms of interaction. Second, although I am comfortable being around so many folks who have been so severely injured (not everyone is), I have noticed that some folks are confused by me. I can tell the way they look at me that they are wondering what I am doing there because, outwardly, I do not appear as someone who has experienced a spinal cord injury. I have been lucky enough to make it out of the wheelchair and to walk on my own. Though my feet are still paralyzed, I wear flexible, carbon fiber AFO braces on my legs and walk with one arm crutch, the braces are covered by my pants so it's puzzling to many people.
The folks who I wish I could see more are the nurses and techs. These are the folks who helped me the most when I was so vulnerable and confused and to whom I grew very attached. To understand just how attached I was, simply moving to a more independent room as I was getting better was upsetting to me because I was so emotionally attached to them. I learned that these people are cut from a unique cloth and possess very big hearts to do the work they do every day. Because they are so involved with the acute care of in-patients, they are very busy during the day and not available for much socializing as past patients come through. Luckily, there was one of my nurses who I ran into and was able to spend some time speaking with him. I really enjoyed catching up with him and hearing about new adventures in his career. He was one of the folks I was attached to at the time and he really made a difference in my experience. I will be eternally thankful for having met these wonderful people during such a traumatic time in my life.
Today I am walking nearly 100% of the time with the leg braces and have been for over two years. I am working to rebuild my calves and my glutes, but this is a very, very long and slow process due to severe muscle atrophy after not being able to move my glutes for five months and my calves for two years. Although my feet are not responding yet, we will see what the future holds. I still feel so very lucky to be alive and continuing to make progress.
Although I cannot run at all or cycle the way I did previously, I am very thankful to be able to work out as much as I can. I am now riding the stationary bike regularly, using my Total Gym (yes, I have a Chuck Norris Total Gym) to build my calves, using a Bosu to work on balance and strength in my lower body, doing ab roller workouts and walking as much as I can both indoors on a treadmill and outside. I'd like to make time for swimming laps again, but all of this can be time consuming (and tiring!). I am not nearly as fit as I was at the time of my injury, but I continue to work hard and to see noticeable improvements for which I am truly thankful.
Thank you to everyone who continues to stay in touch and check in on me from time-to-time. You may not think it's much to send a quick message, but these messages have meant a lot to me through this process. The support from family and friends has been what has truly kept me going. The patience displayed by Bailey, Jade and Janene is pretty amazing.
Later this month, I will mark the three year anniversary of my injury. It seems so far away and yet it continues to affect my life every day. My life will never be the same but I do believe I have found peace with this entire ordeal.
Categories: FLOSS Project Planets

La Drupalera (en): 8 + 1 Must-Follow Twitter accounts for drupalers

Planet Drupal - Mon, 2017-04-24 17:01

You know everything there is to know about Drupal, but you do not know who to follow in Social Networks? Do not worry, we have the solution to your problems!

Here you have the 10 essential accounts on Twitter that you have to follow to not miss any Drupal news.

10 Twitter accounts you should follow to be a Drupal expert @drupal

 

In the official Drupal account you will find latest news and highlights. They are the first to publish releases, important problems and everything you have to be aware if you want to be an updated drupaler.

Read more
Categories: FLOSS Project Planets

NumFOCUS: Moore Foundation gives grant to support NumFOCUS Diversity & Inclusion in Scientific Computing initiatives

Planet Python - Mon, 2017-04-24 15:23
As part of our mission to support and promote better science through support of the open source scientific software community, NumFOCUS champions technical progress through diversity. NumFOCUS recognizes that the open source data science community is currently highly homogenous. We believe that diverse contributors and community members produce better science and better projects. NumFOCUS strives […]
Categories: FLOSS Project Planets

Weekly Python Chat: Python Oddities

Planet Python - Mon, 2017-04-24 13:15

I tweeted one Python oddity each week in 2016. Let's chat about them.

Categories: FLOSS Project Planets

Verbosity: Creating a static archive of a Drupal site

Planet Drupal - Mon, 2017-04-24 12:57

Each year another DrupalCamp comes to pass and as event organizers we are left with +1 sites to maintain. After awhile this builds up to a lot of sites that need continuious updates. What to do?

When a site is ready to become an archive it can be a good idea to convert it to a static site. Security updates are no longer necessary, but interactive features of the site disappear... which is usually a good thing in this scenario.

Creating a site mirror

Long before I used Drupal this was all possible with wget, and it continues to work today:

#!/bin/bash wget -o download.log -N -S --random-wait -x -r -p -l inf -E --convert-links --domains="`echo $1`" $1

I call this script "getsite", you use it by typing "getsite example.com"

This is a simple script that I place in the /usr/local/bin folder of the computer I will be using to create the site mirror.

This script will probably take awhile to run. You can run tail -f download.log in another terminal to watch the progress.

What does it do?

This is a simple web crawler that will follow all links on the page that you provided, but ONLY the links that are on the same domain.

It will try to fetch ALL the assets that come from this exact domain name you provide.

While doing so, it changes all of the paths to be relative to the root.

I also have it set to crawl slowly so as not to scare any firewalls we may be traversing.

You can look up all of the command line options by typing man wget on your system.

After running the command you will have a folder with the name of the domain and all of the files for the site, in addition to a download.log file that you can use to audit the download.

It can be very useful to use the utility tree to see all of the files.

Oh noes! All my paths have .html appended now!

Relax. Just like we can do clean URLs with index.php files we can specify some rules on our webserver to mask that ugly file extension.

In Nginx you can do this as follows:

location / { root /var/www/html index index.html index.htm; try_files $uri $uri/index.html $uri/ =404; }

The "try_files" patterns will match what used to be our Drupal clean URLs.

You may also want to add some kind of htpasswd-style restriction if your content is not intended to be available to the public.

It is as simple as that! Wget is a great utility for making site mirrors or legal archives.

Cleaning up lose ends

Your Drupal site is going to have some interactive components that will no longer work.

In particular:

  • User login form
  • Webforms
  • Commenting
  • Anything else using a form and/or a captcha (maybe disable captcha too)

It may be simpler to disable these before taking the snapshot, or alternatively opening the resulting HTML in a text editor and removing the form components after the fact.

You may also want to enable or disable caching of different things depending on what results you get. By default you are probably going to see a lot of security tokens in the downloaded paths, so you may want to disable that... on the other hand, you may want to bundle your CSS to make fewer requests. Review your downloaded archive to see what will be best before you shut down your source site.

Other uses

My team has used variations of this script for a variety of other needs as well:

  • to estimate the size and scope of a migration project;
  • to get a complete list of paths we may want to alias or redirect after a migration;
  • to make an archive of a site for legal proceedings (ie, gathering evidence of copyright infringement);
  • to migrate data from a static archive when source databases do not contain fully rendered content;
  • and finally: to "pepper" the caches of large sites by hitting each URL after a migration when the caches are all cold.

In that last example we use the spider option to "not" download the files, but simply request them and then move on.

Wget is an extremely powerful tool for mirroring entire sites and provides us an easy way to archive old dynamically-rendered sites without much hassle, and zero ongoing maintenance.

To find out what other things you can do with wget just type man wget on your console and read all the options that are available.

Categories: FLOSS Project Planets

Acquia Developer Center Blog: 5 Steps to Start Interacting with Drupal.org Issues: Practical Tips for Beginners

Planet Drupal - Mon, 2017-04-24 11:53

The word "community" comes from the Latin communis, which means "what is common and shared by many individuals." From the Drupal perspective, the community is nothing more than a group of people looking for the mutual exchange of knowledge about the technology (the detailed definition can be found here).

Tags: acquia drupal planet
Categories: FLOSS Project Planets

Get your GNU on at the GNU Hackers' Meeting in Hessen, Germany

FSF Blogs - Mon, 2017-04-24 11:46

You are invited to the 2017 GNU Hackers' Meeting, which will take place at Tagungshaus Mühlrain.

The GNU Hackers' Meeting is a friendly, semi-formal forum to discuss technical, social, and organizational issues concerning free software and GNU. This is a great opportunity to meet GNU maintainers and active contributors. This year, accommodation and all meals are included in the cost of registration.

The program is yet to be finalized, but attendees should anticipate organized events that last until late afternoon each day. (Here's last year's program, including recordings of sessions.) In the evening, there will be opportunities for impromptu talks, informal demonstrations, conversation, and walks in the forest. Many people will arrive on the evening before the first day of the meeting.

Contributors and attendees from all backgrounds and with all levels of technical expertise are welcome. Those from under-represented backgrounds are particularly encouraged to attend.

The call for participation is also open now. Presentations can cover a wide range of subjects, both technical and social, related to the GNU project or to the Free Software movement as a whole.

To register, follow these instructions.

You will find full details on the meeting, including a detailed schedule TBA, here.

Categories: FLOSS Project Planets

Ned Batchelder: Shell = Maybe

Planet Python - Mon, 2017-04-24 11:38

A common help Python question: how do I get Python to run this complicated command line program? Often, the answer involves details of how shells work. I tried my hand at explaining it what a shell does, why you want to avoid them, how to avoid them from Python, and why you might want to use one: Shell = Maybe.

Categories: FLOSS Project Planets

NumFOCUS: Anyone Can Do Astronomy with Python and Open Data

Planet Python - Mon, 2017-04-24 11:00
Ole Moeller-Nilsson, CTO at Pivigo, was kind enough to share his insights on how a beginner can easily get started exploring astronomy using Python. This blog post grew out of a presentation he gave at PyData London meetup on March 7th. Python is a great language for science, and specifically for astronomy. The various packages […]
Categories: FLOSS Project Planets

Mike Gabriel: Making Debian experimental's X2Go Server Packages available on Ubuntu, Mint and alike

Planet Debian - Mon, 2017-04-24 10:48

Often I get asked: How can I test the latest nx-libs packages [1] with a stable version of X2Go Server [2] on non-Debian, but Debian-like systems (e.g. Ubuntu, Mint, etc.)?

This is quite easy, if you are not scared of building binary Debian packages from Debian source packages. Until X2Go Server (and NXv3) will be made available in Debian unstable, the brave testers should follow the below installation recipe.

Step 1: Add Debian experimental as Source Package Source

Add Debian experimental as source package provider:

$ echo "deb-src http://httpredir.debian.org/debian experimental main" | sudo tee /etc/apt/sources.list.d/debian-experimental.list $ sudo apt-get update Step 2: Obtain Build Tools and Build Dependencies

When building software, you need to have some extra packages. Those packages will not be needed at runtime of the built piece of software, so you may want to take some notes on what extra packages get installed with the below step. If you plan rebuilding X2Go Server and NXv3 several times, then simply leave the build dependencies installed:

$ sudo apt-get build-dep nx-libs $ sudo apt-get build-dep x2goserver Step 3: Build NXv3 and X2Go Server from Source

Building NXv3 (aka nx-libs) takes a while, so it may be time to get some coffee now... The build process should not run as superuser root. Stay with your normal user account.

$ mkdir Development/ && cd Development/ $ apt-get source -b nx-libs

[... enjoy your coffee, there'll be much output on your screen... ]

$ apt-get source -b x2goserver

In your working directoy, you should now find various new files ending with .deb.

Step 4: Install the built packages

These .deb files we will now install. It does not hurt to simply install all of them:

sudo dpkg -i *.deb

The above command might result in some error messages. Ignore them, you can easily fix them by installing the missing runtime dependencies:

sudo apt-get install -f Play it again, Sam

If you want to re-do the above with some new nx-libs or x2goserver source package version, simply create an empty folder and repeat those steps above. The dpkg command will install the .deb files over the currently installed package versions and update your system with your latest build.

The disadvantage of this build-from-source approach (it is a temporary recommendation until X2Go Server & co. have landed in Debian unstable), that you have to check for updates manually from time to time.

Recommended versions

For X2Go Server, the 4.0.1.x release series is considerably stable. The version shipped with Debian has been patched to work with the upcoming nx-libs 3.6.x series, but also tolerates the older 3.5.0.x series as shipped with X2Go's upstream packages.

For NXv3 (aka nx-libs) we recommend using (thus, waiting for) the 3.5.99.6 release. The package has been uploaded to Debian experimental already, but waits in Debian NEW for some minor ftp-master ACK (we added one binary package with the recent upload).

References
Categories: FLOSS Project Planets

Mike Gabriel: [Arctica Project] Release of nx-libs (version 3.5.99.6)

Planet Debian - Mon, 2017-04-24 10:12
Introduction

NX is a software suite which implements very efficient compression of the X11 protocol. This increases performance when using X applications over a network, especially a slow one.

NX (v3) has been originally developed by NoMachine and has been Free Software ever since. Since NoMachine obsoleted NX (v3) some time back in 2013/2014, the maintenance has been continued by a versatile group of developers. The work on NX (v3) is being continued under the project name "nx-libs".

Release Announcement

On Friday, Apr 21st 2017, version 3.5.99.6 of nx-libs has been released [1].

As some of you might have noticed, the release announcements for 3.5.99.4 and 3.5.99.5 have never been posted / written, so this announcement lists changes introduced since 3.5.99.3.

Credits

There are alway many people to thank, so I won't mention all here. The person I need to mention here is Mihai Moldovan, though. He virtually is our QA manager, although not officially entitled. The feedback he gives on code reviews is sooo awesome!!! May you be available to our project for a long time. Thanks a lot, Mihai!!!

Changes between 3.5.99.4 and 3.5.99.3
  • Use RPATH in nxagent now for finding libNX_X11 (our fake libX11 with nxcomp support added).
  • Drop support for various archaic platforms.
  • Fix valgrind issue in new Xinerama code.
  • Regression: Fix crash due to incompletely backported code in 3.5.99.3.
  • RPM packaging review by nx-libs's official Fedora maintainer (thanks, Orion!).
  • Update roll-tarball.sh script.
Changes between 3.5.99.5 and 3.5.99.4
  • Support building against libXfont2 API (using Xfont2, if available in build environment, otherwise falling back to Xfont(1) API)
  • Support built-in fonts, no requirement anymore to have the misc fonts installed.
  • Various Xserver os/ and dix/ backports from X.org.
  • ABI backports: CreatePixmap allocation hints, no index in CloseScreen() destructors propagated anymore, SetNotifyFd ABI, GetClientCmd et al. ABI.
  • Add quilt based patch system for bundled Mesa.
  • Fix upstream ChangeLog creation in roll-tarball.sh.
  • Keystroke.c code fully revisited by Ulrich Sibiller (Thanks!!!).
  • nxcomp now builds again on Cygwin. Thanks to Mike DePaulo for providing the patch!
  • Bump libNX_X11 to a status that resembles latest X.org libX11 HEAD. (Again, thanks Ulrich!!!).
  • Various changes to make valgrind more happy (esp. uninitialized memory issues).
  • Hard-code RGB color values, drop previously shipped rgb.txt config file.
Changes between 3.5.99.6 and 3.5.99.5
  • Regression fix for 3.5.99.5: Now fonts are display correctly again after session resumption.
  • Prefer source tree's nxcomp to system-wide installed nxcomp headers.
  • Provide nxagent specific auto-detection code for available display numbers (see nxagent man page for details, under -displayfd).
  • Man page updates for nxagent (thanks, Ulrich!).
  • Make sure that xkbcomp is available to nxagent (thanks, Mihai!).
  • Switch on building nxagent with MIT-SCREEN-SAVER extension.
  • Fix FTBFS on SPARC64, arm64 and m86k Linux platforms.
  • Avoid duplicate runs of 'make build' due to flaw in main Makefile.
Change Log

Lists of changes (since 3.5.99.3) can be obtained from here (3.5.99.3 -> .4), here (3.5.99.4 -> .5) and here (3.5.99.5 -> .6)

Known Issues

A list of known issues can be obtained from the nx-libs issue tracker [issues].

Binary Builds

You can obtain binary builds of nx-libs for Debian (jessie, stretch, unstable) and Ubuntu (trusty, xenial) via these apt-URLs:

Our package server's archive key is: 0x98DE3101 (fingerprint: 7A49 CD37 EBAE 2501 B9B4 F7EA A868 0F55 98DE 3101). Use this command to make APT trust our package server:

wget -qO - http://packages.arctica-project.org/archive.key | sudo apt-key add -

The nx-libs software project brings to you the binary packages nxproxy (client-side component) and nxagent (nx-X11 server, server-side component). The nxagent Xserver can be used from remote sessions (via nxcomp compression library) or as a next Xserver.

Ubuntu developers, please note: we have added nightly builds for Ubuntu latest to our build server. At the moment, you can obtain nx-libs builds for Ubuntu 16.10 (yakkety) and 17.04 (zenial) as nightly builds.

References
Categories: FLOSS Project Planets

FeatherCast: Jean-Frédéric Clere, Barcamp Apache and Apachecon North America

Planet Apache - Mon, 2017-04-24 09:45

An important event at Apachecon North America will be the #BarCampApache.  It is a free event where the content is organised by the attendees. Here we talk to Jean- Frederic Clere about the barcamp and his role as facilitator.

https://feathercastapache.files.wordpress.com/2017/04/barcamp-clere.mp3

Register for Apachecon at apachecon.com


Categories: FLOSS Project Planets

Doug Hellmann: zlib — GNU zlib Compression — PyMOTW 3

Planet Python - Mon, 2017-04-24 09:00
The zlib module provides a lower-level interface to many of the functions in the zlib compression library from the GNU project. Read more… This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.
Categories: FLOSS Project Planets

Mike Driscoll: PyDev of the Week: Honza Král

Planet Python - Mon, 2017-04-24 08:30

This week we welcome Honza Král (@HonzaKral) as our PyDev of the Week! Honza is one of the core developers of the Django web framework. He is also the maintainer of the official Python client to Elasticsearch. You can see some of the projects he is interested in or working on over at Github. Let’s spend some time getting to know Honza better!

Can you tell us a little about yourself (hobbies, education, etc):

I grew up in the Old Town of Prague, Czech Republic where I also went to school, including University where I studied computer science (which I didn’t finish). During my studies I discovered Python and immediately fell in love, first with the language and later, after going to my first Pycon in 2008, with the community.

I became a part of the Django community which was (and still is to this day) very welcoming. I became a part of it to learn and, hopefully, contribute something back. For my part it worked amazingly well – I got all my recent jobs through the community and even met my fiancee at a EuroPython conference!

Nowadays I work for Elastic, the company behind Elasticsearch where I do consulting – traveling around the world helping people be successful with open source – and also maintain the official Python client.

Why did you start using Python / Django?

I started in university for a project. I had my eye on Python for some time then and a perfect opportunity presented itself to use it for one of our team projects – we decided it would be a web-based application and Django was the shiny new thing that caught my attention. I introduced it to the rest of the team and have been using it ever since.

What other programming languages do you know and which is your favorite?

My other favorite, besides Python of course :), would be shell – I still enjoy writing both simple (or a bit more complex) one-liners as well as longer scripts in shell. I like the variety of it where you have so many possibilities on how to accomplish things with a seemingly limited language. I like how it’s very unlike other languages I am used to working in as it forces you to think more in terms of pipelines and “just” passing off problems to another app/language. It definitely helped my Python skills as well I think – thinking of what I need to keep in a list/variable vs where a simple generator would suffice (as would a pipeline in shell) etc.

Right now I am looking at rust and hoping that a suitable project will come along for me to give it a serious try.

What projects are you working on now?

Currently I am working on elasticsearch-dsl which is an ORM-like abstraction on top of elasticsearch. It is an ambitious project since I wanted to expose all the power of elasticsearch’s query DSL while also trying to make it more accessible to non-experts and generally friendlier. While I think that in some areas I might have achieved this, I still have a long way to go in others; and for some I don’t even see the clear path of what needs to happen which makes it interesting – gives me something to ponder

Categories: FLOSS Project Planets

Import Python: Import Python Weekly Issue 122 - Django ORM vs SQLAlchemy, Type annotation, websockets and more

Planet Python - Mon, 2017-04-24 08:11
Worthy Read
Django ORM vs SQLAlchemy – Vizbi Recently I started using SQLAlchemy and am very impressed with it. I have used Django ORM a lot in the past. This post compares achieving same result using Django and with SQLAlchemy. Let’s see which looks more intuitive.
django, SQLAlchemy, ORM
Know when and why code breaks Users finding bugs? Searching logs for errors? Find + fix broken code fast! You can find the Python integration here - https://rollbar.com/docs/notifier/pyrollbar/
sponsor
Python Type Annotation with Graph Algorithms. Part II (Classes) In this part, we will implement graph data structure using classes and interfaces, and discuss when it’s worth overruling type hints.
type annotation, graph
Speeding up Websockets 60X I recently I had the opportunity to speed up some Websocket code that was a major bottleneck. The final solution was 60X (!) faster than the first pass, and an interesting exercise in optimizing inner loops.
websockets
Graph Databases: Talking about your Data Relationships with Python This trouble to visualise the relationship between entities in a Relational Database is a great reason to introduce the concept of graph. Graph is a data structure formed by a set of vertices V and a set of edges E. It can be represented graphically (where the vertices are shown as circles and edges are shown as lines) or mathematically in the form G = (V, E).
graph databases
Modifying the Python language in 6 minutes This week I raised my first pull-request to the CPython core project, which was declined :-( but as to not completely waste my time I’m writing my findings on how CPython works and show you how easy it is to modify the Python syntax.
core-python, cpython
Realtime Web Apps with Nginx Nchan and Python Nchan makes writing realtime web based pub/sub applications a breeze. In this article, we will build a simple systems monitoring dashboard which displays process information in realtime similar to what you would see when you run the unix top or htop commands.
nginx, nchan
Intersection of Non-Empty Sets in Python Suppose you generate several sets on the fly, and you want to find the elements that are in all the sets. That's easy, it's the intersection of sets.
list, set, code_snippets
Monitoring Directories for File Changes using Watchdog I was working recently on writing Python code using TDD. So every time I change code I wanted to run command that will test my code if it pass unit tests. In order to do that I needed some service/app that will monitor for file changes, and if it changes execute my batch file that runs unit tests.
python, watchdog
Find Top Developers We help companies like Airbnb, Pfizer, and Artsy find great developers. Let us find your next great hire. Get started today.
sponsor
Jupyter Notebook in project’s virtual env jupyter
AWS Lambda now supports 3.6 aws, lamda
SQL Server 2017: Advanced Analytics with Python In this session you will learn how SQL Server 2017 takes in-database analytics to the next level with support for both Python and R; delivering unparalleled scalability and speed with new deep learning algorithms built in.
sqlserver
Control-C handling in Python and Trio core-python
Kubernetes Scheduling in Python kubernetes
Learn a Python script for automating the process of publishing podcasts podcast

Projects
algorithms: - 2112 Stars, 174 Fork Minimal examples of data structures and algorithms in Python
jokekappa - 74 Stars, 7 Fork A library for delivering one-line programming jokes
cashier - 53 Stars, 2 Fork Persistent caching for python functions
crickbuzz_cricket_score - 13 Stars, 2 Fork A Terminal based program to follow live cricket score by scraping crickbuzz.com
MigrateGitlabToGogs - 3 Stars, 0 Fork Migrate repositories from Gitlab to Gogs or Gitea
venvdetect - 3 Stars, 1 Fork Detect available Python virtual environments in your current directory
Categories: FLOSS Project Planets
Syndicate content