Skip to content

Instantly share code, notes, and snippets.

View hmaarrfk's full-sized avatar

Mark Harfouche hmaarrfk

View GitHub Profile
@hmaarrfk
hmaarrfk / dask_list_vs_array.ipynb
Last active June 29, 2018 21:06
Dask array vs lists
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hmaarrfk
hmaarrfk / ubuntu_16.04_xps_9560.md
Last active November 5, 2019 16:53
Installing Ubuntu 16.04 on XPS 15 9560

I recently (July 2018) installed Ubuntu 16.04 on my XPS 15 9560.

my main usecase is to be able to run and test cuda programs localy when developing image processing software.

I chose Ubuntu 16.04 mostly because of compatibility with software like cuda, pytorch, tensorflow, and matlab. My previous Fedora 28 worked well, but had too much incompatiblity with software that was stuck on an older GCC. Fedora is leading the pack with GCC 8 and it is simply too aggressive for larger peices of software. They also renamed lib to lib64 which I think was a mistake.

Creating a USB

@hmaarrfk
hmaarrfk / helloworld.c
Last active August 31, 2018 21:03
hello world - Adam taylor Part 8.docx Vivado 2018.2
/*
* Copyright (c) 2009 Xilinx, Inc. All rights reserved.
*
* Xilinx, Inc.
* XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" AS A
* COURTESY TO YOU. BY PROVIDING THIS DESIGN, CODE, OR INFORMATION AS
* ONE POSSIBLE IMPLEMENTATION OF THIS FEATURE, APPLICATION OR
* STANDARD, XILINX IS MAKING NO REPRESENTATION THAT THIS IMPLEMENTATION
* IS FREE FROM ANY CLAIMS OF INFRINGEMENT, AND YOU ARE RESPONSIBLE
* FOR OBTAINING ANY RIGHTS YOU MAY REQUIRE FOR YOUR IMPLEMENTATION.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hmaarrfk
hmaarrfk / dask_cost_of_c_contiguous_final_array.ipynb
Created September 4, 2018 00:21
Investing the cost of making a contiguous final array
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hmaarrfk
hmaarrfk / My personal notes for working with conda.md
Created September 10, 2018 15:06
Notes on working with conda

Static repo data:

no no, i mean on every package install command, conda seems to try and download metadata from all the channels I have because that step is slow i simply ask it to download from the offline cache it has by adding the --offline

ah, you mean a more static repodata. Yes, we're working on that. It won't be the default for a while, though You can try it now

@hmaarrfk
hmaarrfk / skimage-benchmarking.md
Created September 20, 2018 01:43
Benchmarking for scikit-image

Writing benchmarks for scikit-image

If you are requesting a change to be made for the sake of performance, it helps to provide a benchmark showing the improvement of the algorithm in the usecase that you are considering.

To create a benchmark, you should.

  1. Install airspeed velocity
pip install asv