Language Selection

English French German Italian Portuguese Spanish

Programming: Google's Fuchsia, Go (Golang) and Python

Filed under
Development
Google
  • Fuchsia Friday: Android, Linux apps, and Fuchsia’s close relationship w/ Chrome OS

    Following along with the development of Google’s Fuchsia OS, it has become clear that it will be capable of running both Linux and Android apps. Chrome OS can also do both of these things, and that’s no coincidence, as the Fuchsia team has opted to use some of Chrome OS’s developments for their own benefit.

  • Golang Gets Cheaper Context Switching

    As good news considering how much longer it takes to perform a full context switch on Intel CPUs due to various vulnerability mitigations, the Go programming language run-time now has the ability for performing cheaper context switches.

    Landing in GCC 10 Git with the Golang code is a less involved context switching implementation for Linux x86_64 systems with the libgo run-time library.

  • Build an XML sitemap of XML sitemaps

    Suppose that you have so many thousands of pages that you can't just create a single /sitemap.xml file that has all the URLs (aka ) listed. Then you need to make a /sitemaps.xml that points to the other sitemap files. And if you're in the thousands, you'll need to gzip these files.

    The blog post demonstrates how Song Search generates a sitemap file that points to 63 sitemap-{M}-{N}.xml.gz files which spans about 1,000,000 URLs. The context here is Python and the getting of the data is from Django. Python is pretty key here but if you have something other than Django, you can squint and mentally replace that with your own data mapper.

  • Generate a random IP address in Python

    I have a commenting system where people can type in a comment and optionally their name and email if they like.
    In production, where things are real, the IP address that can be collected are all interestingly different. But when testing this manually on my laptop, since the server is running http://localhost:8000, the request.META.get('REMOTE_ADDR') always becomes 127.0.0.1 . Boring! So I fake it.

More in Tux Machines

Type Title Author Replies Last Postsort icon
Story What am I doing with Tracker? Roy Schestowitz 21/07/2019 - 11:55pm
Story KDE: SDDM, Kate and More Roy Schestowitz 21/07/2019 - 10:53pm
Story Today in Techrights Roy Schestowitz 21/07/2019 - 10:45pm
Story First Release Candidate of Linux 5.3 Roy Schestowitz 21/07/2019 - 10:33pm
Story today's howtos and programming bits Roy Schestowitz 21/07/2019 - 9:08pm
Story DebConf19 invites you to Debian Open Day at the Federal University of Technology - Paraná (UTFPR), in Curitiba Roy Schestowitz 1 21/07/2019 - 9:05pm
Story The Status of Fractional Scaling (HiDPI) Between Windows & Linux Roy Schestowitz 21/07/2019 - 8:51pm
Story Android Leftovers Rianne Schestowitz 21/07/2019 - 6:28pm
Story Stable kernels 5.2.2, 5.1.19, 4.19.60, 4.14.134, 4.9.186, and 4.4.186 Rianne Schestowitz 21/07/2019 - 6:17pm
Story Post-$34 billion acquisition by IBM, Red Hat bets big on India Roy Schestowitz 21/07/2019 - 1:37pm