Sign Up Now!

Sign up and get personalized intelligence briefing delivered daily.


Sign Up

Articles related to "run"


A Beginner’s Guide To Working With NumPy Arrays

  • Moreover, some of Python’s popular data science libraries take NumPy arrays as inputs and spit them out as outputs.
  • Today, we will go over some NumPy array basics and tips to get you started on your data science journey on the right foot.
  • Transposing is useful not only for matrix math, which requires the dimensions to line up (so you will often have to transpose one of the arrays before say multiplying), but also for formatting data for plots and analytics.
  • Often a model will output your data in a certain format, but you might want to see it another way — in those cases, you will find transpose quite useful.
  • For example, in our data, B is an 8 by 3 matrix — so any new data stacked to it must be N by 3 or of length 3 if it’s a list.

save | comments | report | share on


Monica: Personal CRM. Remember everything about your friends, family and etc.

  • I want to keep notes and remember the life of my friends in my home country and be able to ask the relevant questions when I email them or talk to them over the phone.
  • After a few months, I decided to open source the project so it would help other people as well.
  • We want to use technology in a way that does not harm human relationships, like big social networks can do.
  • While it's not the driving force behind this project, it would be great if the tool could generate money, so we could work full time on it and sustain it on the long run.
  • Monica use a lot of open source projects and we thank them with all our hearts.
  • We hope that providing Monica as an free, open source project will help other people the same way those softwares have helped us.

save | comments | report | share on


Deploy a Dockerized FastAPI App to Google Cloud Platform

  • This Docker image now accessible at the GCP container registry or GCR and can be accessed via URL with Cloud Run. If you prefer using the GUI, skip to the next section.
  • Visit GCP cloud run and click create service, be sure to set up billing as required.
  • You’ll be brought to the GCP Cloud Run service details page where you can manage the service and view metrics and build logs.
  • Locally, create a new file called .env and add the connection string for your cloud database as DB_CONN,shown below.
  • Be sure to add the above line to your database.py file so that it ready to connect to the cloud!
  • Then we covered how to store a Docker container in Google Container Registry and deploy the container with the Cloud Build CLI and GUI.
  • Next, we set up a cloud SQL database and connected it to our FastAPI app.

save | comments | report | share on


QEMU Advent Calendar 2020

  • The QEMU Advent Calendar 2020 features a QEMU disk image each day of December until the 24th.
  • Each day a new package becomes available for download.
  • Every download contains a little 'run' shell script that starts the QEMU emulator with the recommended parameters for the disk image.
  • Disk images are either contained directly in the download or are downloaded by the 'run' script (you need to have installed 'curl' or 'wget' in that case).
  • The disk images contain interesting operating systems and software that run under the QEMU emulator.
  • The 'run' scripts (and disk images if included in the download) were created by volunteers from the QEMU community to showcase cool software that QEMU can run.
  • Website © 2020 QEMU contributors · MIT License.
  • This website uses cookies to store the state of the doors.

save | comments | report | share on


Running a full desktop environment on an Amazon Kindle

  • Today, I’ll be taking it a step further and running Arch and a full LXDE installation natively on an Amazon Kindle, which can be interacted with directly using the touch screen.
  • The reason why we’re not extracting the Arch installation directly into a directory on the Kindle is because the Kindle’s storage filesystem is FAT32.
  • This can be worked around by mounting the real root inside the chroot filesystem, which it’s still a hacky way to go about it.
  • It’s possible to stop the native window manager using stop lab126_gui outside the chroot, but then the Kindle will stop updating the screen with new data, leaving it blank – forcing you to use something like eips to refresh the screen.
  • If you’re interested in using this, make sure you’ve set up your filesystem first and copied it over to the same directory as the extension, and that it’s named arch.img.

save | comments | report | share on


32 Best Cyber Monday Fitness Deals (2020): Fitness Trackers, Outdoors Gear, Etc

  • We've waded through tons of Cyber Monday deals for the best fitness and outdoor gear that will help you stay in shape and get in tune with nature this winter.
  • The best of them help you plan and keep track of your workouts, whether you're trail running in the woods or circuit training in your apartment's basement gym.
  • Going without a pair of gloves is a mistake you won’t make too many times, because frozen digits can ruin a run, GORE Windstopper fabric keeps cold winds from whipping through the Ventas, and touchscreen-compatible fingertips mean you can use your phone, smart watch, or fitness tracker without having to take your gloves off.
  • Granted, I use mine when hiking, camping, and climbing, not jogging, but if I can run and jump with a full load of gear on my back and not budge the Actik even an inch off my head, it'll stay put on a jog without shifting or falling off.

save | comments | report | share on


The Easiest Way to Run Python In Google Cloud (Illustrated)

  • What if I told you there’s a way you can host your Python script, exactly how you’re running it on your laptop, easily and for free?
  • Today I want to go through a top level understanding of Google Cloud, as well as the process I use to host my projects.
  • This way, your code and it’s dependencies (like external libraries) are bundled into a single unit that will run exactly the same on both your computer and on a VM instance in Google Cloud.
  • We’ve seen how Google structures into projects and how using IAM and service accounts can grant access to different parts of the cloud.
  • We’ve talked through VM instances, and used Docker and Google Container Registry to get our code from our PC running on one.

save | comments | report | share on


The Unique Advantages of Hybrid Clouds in Colocation Data Centers

  • A third advantage of most modern hybrid cloud frameworks is that they allow you to use public cloud vendors’ native management tools -- like CloudWatch in the case of Outposts, or Google Cloud Console for Anthos -- to manage workloads running in a colocation facility.
  • In short, if your goal is simply to deploy workloads inside a colocation data center and you don’t need integration with public cloud services or tooling, building a private cloud, or sticking with plain-old VMs, is probably the best solution for you.
  • But if you need special public cloud services whose equivalents you can’t implement using a private cloud, and/or if you want to use public cloud management tools for your colocated infrastructure, a platform like Outposts or Azure Stack is worth the added cost.

save | comments | report | share on


Ruffle – A Flash Player emulator written in Rust

  • Designed to be easy to use and install, users or website owners may install the web version of Ruffle and existing flash content will "just work", with no extra configuration required.
  • If you visit websites that have Flash content but aren't using Ruffle, or may be using an older version of Ruffle but you want to ensure you're using the latest and greatest, then our browser extension is the perfect thing for you!
  • If you want to run Flash content on your computer without a browser in-between, we have native applications that will take full advantage of your GPU and system resources to get those extra frames when playing the original Meat Boy. Currently this is just a command line application, but we intend to develop a GUI for it soon for ease of use.

save | comments | report | share on


Apple Silicon M1: A Developer's Perspective

  • Compiling the PSPDFKit PDF SDK (debug, arm64) can almost compete with the fastest Intel-based MacBook Pro Apple offers to date, with 8:49 min vs 7:31 min.
  • Currently none of the Mac virtualisation solutions support Apple Silicon, however both VMware and Parallels are working on it.
  • The apps currently work through Rosetta 2, however building via Gradle is extremely slow.
  • The latest stable version of Electron (Version 11) already fully supports Apple Silicon, and companies like Slack already updated their beta version to run natively.
  • All of that can be fixed in software and the whole industry is currently working on making the experience better, so by next year, when Apple updates the 16-inch MacBook Pro and releases the next generation of their M chip line, it should be absolutely possible to use a M1 Mac as main dev machine.

save | comments | report | share on