|
I’m going to tell you a story about one ingenious business model that the majority of people are not aware of. It costs average US household around $400 per year. To understand the model, you’ll need to understand three economic … Continue reading →
|
|
In order to work with C APIs, we sometimes need to convert Swift object references to and from raw pointers. Swift's Unmanaged struct is the standard API for handling this. Today, I'd like to talk about what it does and how to use it. (Read More)
|
|
Friday Q&A 2017-08-11: Swift.Unmanaged Friday Q&A 2017-08-11: Swift.Unmanaged In order to work with C APIs, we sometimes need to convert Swift object references to and from raw pointers. Swift's Unmanaged struct is the standard API for handling this. Today, I'd like to talk about what it does and how to use it. Overview Getting Swift references into and out of the world of C encompasses two separate tasks. The first task is ....
|
|
In June of 2016, I received an email: The original email Dear sir: I’m from Syria , expected to graduate this semester (Computer Science) , and as you sir my role model in Ruby also Rails , I need some advice about open source projects in Ruby to learn from. Thanks in advance and sorry if I waste your time Actually, he wasn’t just in Syria. He was at the University of Aleppo. His name was Mohammed. Russian drone footage....
|
|
In June of 2016, I received an email: The original email Dear sir: I’m from Syria , expected to graduate this semester (Computer Science) , and as you sir my role model in Ruby also Rails , I need some advice about open source projects in Ruby to learn from. Thanks in advance and sorry if I waste your time Actually, he wasn’t just in Syria. He was at the University of Aleppo. His name was Mohammed. Russian drone footage....
|
|
A general primer on Python for science and engineering, with an emphasis on the SciPy ecosystem of packages.
|
|
Communication between iframes with React and postMessage for an html template editor
-
jfoucher.com
-
8 years ago
-
eng
I’m working on a project where I need some sort of simple landing page editor, where “blocks” are defined at the template level and they can be rearranged, text changed or added, and not much more. Most of the software I could find was either way too complex for my needs, gave the user the freedom to completely destroy the template, or were otherwise pretty useless. If it was frustrating for me I imagine how it would feel for my user....
|
|
Communication between iframes with React and postMessage for an html template editor
-
jfoucher.com
-
8 years ago
-
eng
I’m working on a project where I need some sort of simple landing page editor, where “blocks” are defined at the template level and they can be rearranged, text changed or added, and not much more. Most of the software I could find was either way too complex for my needs, gave the user the freedom to completely destroy the template, or were otherwise pretty useless. If it was frustrating for me I imagine how it would feel for my user....
|
|
For those in the tech world, the title of this post may seem both radical and pretentious. However, in the following four parts of this blog post, I hope to shed light on why this is a real possibility in the not-so-distant future and why. PART 1: OS overview First of all, an operating system (OS) is essentially the core software that allows your computer to run - it provides a core component (called a kernel) that understands how to us....
|
|
For those in the tech world, the title of this post may seem both radical and pretentious. However, in the following four parts of this blog post, I hope to shed light on why this is a real possibility in the not-so-distant future and why. PART 1: OS overview First of all, an operating system (OS) is essentially the core software that allows your computer to run - it provides a core component (called a kernel) that understands how to us....
|
|
Stack overflow yields Where can i find Icon Composer on Mac? when I did a quick search to convert a png to icns. For future reference: #!/bin/bash -e set -e set -o pipefail if [ "$#" -ne 1 ]; then echo "\nusage: to_icns.sh path/to/image.png\n" exit 1 fi readonly IMAGE_FPATH=$1 readonly BASENAME=$(basename ${IMAGE_FPATH%.*}) mkdir ${BASENAME}.iconset sips -z 16 16 $IMAGE_FPATH --out "${BASENAME}.iconset/icon_16x16.png" sips -z 32 32 $....
|
|
I was curious as to what my instantaneous electrical usage was. Unfortunately, most resources I found online, such as WikiHow and various blog posts only told me how to reach the current usage on an analog electric meter.
|
|
1500 words, 7 minutes. Fishing Through Ice, Bain News Service. c.1910. This post is written from the perspective of a VC screening for success factors. In it, I drill deeper into successful operational characteristics. If you’re an entrepreneur or founder, you should give consideration to adopting some of the systems I talk about here. I’ll even suggest prioritising them over features and fixes to your product because getting imperfect prod..
|
|
I just started a newsletter about Keto with my wife and friend. I’ve been doing keto for a few months now with great results. And the keto movement is beginning to enter the mainstream. In all the things I’ve put online, or businesses I’ve tried to start, this is the first one that I’ve experienced any traction. I think this is what it feels like to hit a pain point. Growth hasn’t been spectacular, but there’s a definite gap and its tangi..
|
|
I’ve been messing around with a library called PixiJS which allows you to create WebGL animations which will fall back to HTML5 canvas if WebGL is not available in the browser. I mostly like it because the API is similar to HTML5 canvas which I was already familiar with . I can’t say that I like the PixiJS API and documentation that much, though. For this project, I mostly just used a small portion of it to create WebGL (GPU accelerated....
|
|
I’ve been messing around with a library called PixiJS which allows you to create WebGL animations which will fall back to HTML5 canvas if WebGL is not available in the browser. I mostly like it because the API is similar to HTML5 canvas which I was already familiar with . I can’t say that I like the PixiJS API and documentation that much, though. For this project, I mostly just used a small portion of it to create WebGL (GPU accelerated....
|
|
An average SalesLoft customer has about 10 sales reps using the software. At that size, customers are extremely happy.
|
|
One of the exercises of “The Linux Programming Interface” chapter 38 is about implementing program, called douser, that should have the same functionality as the sudo progam. This means that if you run $ douser whoami, this should asks for the root user password and, if the password matches, should run the command whoami, which would print root. If the -u
|
This is a list of Israeli websites that stores user password as plain text. For anyone who don’t understand why you should care see this. http://www.winwin.co.il http://www.am-oved.co.il A mail to the web admin was sent, I’ll update if they’ve changed their ways.
|
|
Bought a pair of QuietComfort 35. Audio quality on MacOS was lagging compared to iOS. Googling led to different posts suggesting the use of Bluetooth Explorer to force aptX usage. Did the trick for me. Bluetooth Explorer can be downloaded from https://developer.apple.com/download/more . Search for Hardware IO tools: Open Hardware_IO_Tools_for_Xcode_7.3.dmg and launch Bluetooth Explorer : Select Audio Options : Check ..
|
|
Suggest.el v0.4 is now out, and it offers some really interesting new ways of making suggestions. Supplying Constants Suppose the user gives us the input '(a b c d) and desired output 'a. We would already suggest car, but that only gets the first element of the list. They may have wanted elt or nth, which get elements at a specific position. We now try adding constants to the user’s inputs, specifically nil, t, -1, 0, 1 and 2. This mak....
|
|
Over the last couple of days I restructured SnailLife Go into a server and client. I’m still in the “rough draft” stage, but the top level project structure now looks like this:
|
Every Python Assert Method in One List I am constantly looking up assert methods on the Python 2 Unit Test Documentation and it's driving me crazy because that page is super long and hard to mentally parse. The lists of assert methods available are broken up in different sections on the page and I'm done searching around it. Writing unit tests in Python obviously requires heavy use of assert methods, but for some reason they're buried in th..
|
|
A quick technical note about VPN hostnames on Ubuntu Linux, since otherwise I will forget: If other users of your VPN can refer to hosts by an unqualified hostname, but an Ubuntu user like you receives a not found error for the same hostname, then try creating the following file (you will need to create the directory by hand). Read the full article...
|
|
A general primer on Python for science and engineering, with an emphasis on the SciPy ecosystem of packages.
|
|
trivago has decided to sponsor Webpack with a monthly contribution of $10,000 ($120,000/year). We hope that this will help to secure the continued innovation of the project.
|
|
trivago has decided to sponsor Webpack with a monthly contribution of $10,000 ($120,000/year). We hope that this will help to secure the continued innovation of the project.
|