Site uses cookies to provide basic functionality.
Javascript rendering is set to off by default when visiting the site via .onion and .i2p domains. It can be enabled back again in user's settings section. Javascript rendering set to off means, that you can disable javascript in your browser now and the site will remain functional.
There is also IRC server now available via native IRC clients or non javascript web based one.
Fonts can be adjusted in user's settings section as well.
Check FAQ for more.

OK

Postgres Setup - www.wints.org - 9 years ago - eng
Based on PostgreSQL 9.5.6 | Official 9.5 Documentation Context I’m scraping reports off of a inventory management system for a client. My approach is scraping and cleaning HTML tables using python, selenium, the pandas library and the beautifulsoup library. To store this data, I’m going to be using PostgreSQL. This was me getting up to speed on PostgreSQL. Installing Postgres ¶ #on mac osx $ brew install postgresql #on ubuntu (1..

I’ve been using RxSwift in some of my latest iOS projects. While I feel that it’s provided elegant UI binding and a natural feel to asynchronous programming, I have to admit that it came with numerous growing pains. I struggled to find documented solutions to some of the challenges I was facing, as RxSwift is not as widely adopted as its more affluent Java and .Net counterparts. Here are some of those hurdles that I faced, along with my s....

Until this week’s release push notification was registered using Display.registerPush(Hashtable, boolean) the thing is that both of these arguments to that method are no longer used or not the best way to implement registration. So we deprecated that method and introduced a new version of the method Display.registerPush(). Since push fallback hasn’t been supported since we migrated to the new API it’s going away isn’t a big deal but up un..

Included by me in a notebook AJBH took to Newlands, May 2017 No wallowing. Being sad is ok but making yourself sad is just… well, sad . Find a positive thought from each hour and each day. It doesn’t have to be big things but keep thinking until you find something that makes you smile. Then tell someone about it and tell them why it made you smile. When you’re nervous about trying something you’ve not done before, remember that your b....

2017-05-23 - ho.dges.online - 9 years ago - eng

There may exist someone in your entourage, someone you may care deeply about, or maybe even yourself, that is being crushed by the real and raw perception of themselves. They may appear to an external observer as someone who expresses a lot of self-deprecation or negativity, but the observed categorized this as realism. We often hear the sentence "I am not a pessimist, but I am a realist," which doesn't necessarily carry the connotation we..

The standard inner product of two vectors has some nice geometric properties. Given two vectors $ x, y \in \mathbb{R}^n$, where by $ x_i$ I mean the $ i$-th coordinate of $ x$, the standard inner product (which I will interchangeably call the dot product) is defined by the formula $$\displaystyle \langle x, y \rangle = x_1 y_1 + \dots + x_n y_n$$ This formula, simple as it is, produces a lot of interesting geometry.

The standard inner product of two vectors has some nice geometric properties. Given two vectors $ x, y \in \mathbb{R}^n$, where by $ x_i$ I mean the $ i$-th coordinate of $ x$, the standard inner product (which I will interchangeably call the dot product) is defined by the formula $$\displaystyle \langle x, y \rangle = x_1 y_1 + \dots + x_n y_n$$ This formula, simple as it is, produces a lot of interesting geometry.

The standard inner product of two vectors has some nice geometric properties. Given two vectors $ x, y \in \mathbb{R}^n$, where by $ x_i$ I mean the $ i$-th coordinate of $ x$, the standard inner product (which I will interchangeably call the dot product) is defined by the formula $$\displaystyle \langle x, y \rangle = x_1 y_1 + \dots + x_n y_n$$ This formula, simple as it is, produces a lot of interesting geometry.

Augustine’s Law A bad idea executed to perfection is still a bad idea Corollary: A good idea poorly executed is of no use to anyone  Lakein’s Law Failing to plan is planning to fail Eisenhower’s corollary : Plans are useless, but planning is indispensable.  Fitzgerald’s Law There are two states to any large project : too early to tell and too late to stop Corollary: Projects have momentum, once started they become increasingly difficult t..

We always talk about elearning through the lense of MOOCs and self-study management. WordPress (Sensei, Learndash, LeanPress, WP-Courseware), Moodle, edX, Blackboard, Canvas, Sakai and others come out as the solutions mentioned over and over again.  Here I wanted to show you three different directions for education and elearning needs.  HR Driven: JollyDeck JollyDeckis an HR driven elearning platform to help managers and training department..

Today, we deployed HTTPS by default on Stack Overflow . All traffic is now redirected to https:// and Google links will change over the next few weeks. The activation of this is quite literally flipping a switch (feature flag), but getting to that point has taken years of work. As of now, HTTPS is the default on all Q&A websites. We’ve been rolling it out across the Stack Exchange network for the past 2 months . Stack Overflow is the....

Today, we deployed HTTPS by default on Stack Overflow . All traffic is now redirected to https:// and Google links will change over the next few weeks. The activation of this is quite literally flipping a switch (feature flag), but getting to that point has taken years of work. As of now, HTTPS is the default on all Q&A websites. We’ve been rolling it out across the Stack Exchange network for the past 2 months . Stack Overflow is the....

Augustine’s Law A bad idea executed to perfection is still a bad idea Corollary: A good idea poorly executed is of no use to anyone  Lakein’s Law Failing to plan is planning to fail Eisenhower’s corollary : Plans are useless, but planning is indispensable.  Fitzgerald’s Law There are two states to any large project : too early to tell and too late to stop Corollary: Projects have momentum, once started they become increasingly difficult t..

We always talk about elearning through the lense of MOOCs and self-study management. WordPress (Sensei, Learndash, LeanPress, WP-Courseware), Moodle, edX, Blackboard, Canvas, Sakai and others come out as the solutions mentioned over and over again.  Here I wanted to show you three different directions for education and elearning needs.  HR Driven: JollyDeck JollyDeckis an HR driven elearning platform to help managers and training department..

RequireJS Basics - www.wints.org - 9 years ago - eng
Requirejs Official Documentation Context Requirejs is used to asynchronously load javascript modules. I needed to use this for a game project for a client, and they wantedit in requirejs format. My javascript is weak at this point, so this was an excercise, not only in requirejs but in javascript itself. For basic usage with JQuery, you need the following files: |--scripts/ | |--main.js | |--app.js | |--lib/ | |--jquery-3.2.1.js..

One of the key takeaways I have from the bootcamp is the need to work on TDD in Codename One. We had a test framework and test recording framework for years, but it wasn’t picked up by many developers and as such it stagnated. As we launched the Toolbar API we didn’t even check that framework and some basic stuff stopped working. This was something several attendants in the bootcamp mentioned as important as well as a couple of enterprise..

A small function to calculate Fibonacci like sequences based on provided seed values. Can be used to calculate Fibonacci numbers, Lucas numbers or an arbitrary Fibonacci like sequence We're simply calculating Fn = Fn-1 + Fn-2 for a given number of iterations When called without arguments, the default behaviour is to return the first 12 numbers of Fibonacci Returns a list of numbers in the sequence, with the provided seeds at the b..

A small function to calculate Fibonacci like sequences based on provided seed values. Can be used to calculate Fibonacci numbers, Lucas numbers or an arbitrary Fibonacci like sequence We're simply calculating Fn = Fn-1 + Fn-2 for a given number of iterations When called without arguments, the default behaviour is to return the first 12 numbers of Fibonacci Returns a list of numbers in the sequence, with the provided seeds at the b..

Takes 3 values, and calculates whether they appear to be part of a Fibonacci integer sequence (i.e. g(n + 2) = g(n) + g(n + 1) ) We only check if the sequence is Fibonacci like, not that the values are part of the Fibonacci sequence (for example, they may instead be a series of Lucas Numbers ) Values should be passed to the function in the order that they were observed Return value is a list with two entries Boolean - are the ..

Takes 3 values, and calculates whether they appear to be part of a Fibonacci integer sequence (i.e. g(n + 2) = g(n) + g(n + 1) ) We only check if the sequence is Fibonacci like, not that the values are part of the Fibonacci sequence (for example, they may instead be a series of Lucas Numbers ) Values should be passed to the function in the order that they were observed Return value is a list with two entries Boolean - are the ..

Will find and identify any prime numbers between the given start and end values. Primes are identified using a factorial. Originally written as part of a solution for my May 2016 puzzle . The original solution was written in Python, this snippet is part of a (successful) attempt to rewrite that in javascript so that the solution can simply be dropped into the Developer Tools console to solve the puzzle in browser. Read more…

Will find and identify any prime numbers between the given start and end values. Primes are identified using a factorial. Originally written as part of a solution for my May 2016 puzzle Read more…

Will find and identify any prime numbers between the given start and end values. Primes are identified using a factorial. Originally written as part of a solution for my May 2016 puzzle Read more…

justSomeUX is a series where I share some interesting UX / UI and smart copy for your inspiration (and my archive of references). Asking for donations is never easy. Well, the Canary found a nice way to phrase it. >Interesting Donation UX Why is good? It gives perspective Make you realise that spend money more on dumb stuff so you might as well give them so of it

We all have ideas. Sometime we don’t even realise we do, as we don’t always pay attention to the flow of our mind. Some ideas come and pass and never come back. Some stick around. Sometime we turn these ideas into action. But even then we seldom finish them.  Parkinson’s law Parkinson’s law is a project-management rule of thumb stating that : “Work expands so as to fill the time available for its completion”

I was working earlier on a post on privacy, then realised I cannot even start to give a proper introduction to it without laying down some facts first. So, there will be no jumping straight into the subject of privacy, centralisation of the internet, and how politics is affecting the internet as a whole. Instead, we will take a couple of posts to really define the current state of the internet, also give an historical perspective, before di..

justSomeUX is a series where I share some interesting UX / UI and smart copy for your inspiration (and my archive of references). Asking for donations is never easy. Well, the Canary found a nice way to phrase it. >Interesting Donation UX Why is good? It gives perspective Make you realise that spend money more on dumb stuff so you might as well give them so of it

We all have ideas. Sometime we don’t even realise we do, as we don’t always pay attention to the flow of our mind. Some ideas come and pass and never come back. Some stick around. Sometime we turn these ideas into action. But even then we seldom finish them.  Parkinson’s law Parkinson’s law is a project-management rule of thumb stating that : “Work expands so as to fill the time available for its completion”

I was working earlier on a post on privacy, then realised I cannot even start to give a proper introduction to it without laying down some facts first. So, there will be no jumping straight into the subject of privacy, centralisation of the internet, and how politics is affecting the internet as a whole. Instead, we will take a couple of posts to really define the current state of the internet, also give an historical perspective, before di..

Tracking & logging errors is crucial for a stable application. There are several tools we offer in Codename One both in the seamless level (crash protection) and in the lower level inner workings of Codename One. I’ll try to explain both and how they interact. When you create a new Codename One application you might notice this line of code: Log.bindCrashProtection(true); This code binds the pro crash protection feature that will impli..

My name is Cow - rybakov.com - 9 years ago - eng
In a reddit thread on health inspection violations someone offered a story about a run away cow licking bread in a recreation of a 18th century french bakery. A commenter wrote a poem about the incident: my name is Cow, and wen its nite, or wen the moon is shiyning brite, and all the men haf gon to bed - i stay up late. i lik the bred. It is unclear why it caught on so quickly, but the poem inspired countless imi..

It has been a while! SnailLife work has been moving at a snail’s pace. Why? Because debugging the snail brain has turned into a highly demotivating, hellish endeavour. The snails make decisions and perform actions based on so much crap , that the simple log files I was using all long are just not cutting it anymore. The Laravel log for the original app has turned into 3 Laravel logs because I now have 3 independent apps (the front-end, Bra..

Mythic Roller - mbutler.org - 9 years ago - eng
For the past couple of days I’ve been fascinated by the Mythic GM Emulator. I created this mobile application to automate rolls on the Mythic Fate Chart. Set a Chaos Rank, choose your Odds, and it will determine your outcome plus random events based on a pseudorandom javascript d100 roll. Check out the code on […]

The quote above is a funny, yet very accurate introduction to the topic developed in the documentary by Kirby Ferguson : Everything is a Remix. (side note: If you care who said this quote go check this link to figure out why nobody really knows.) Everything is a remix explores the concept of originality in creativity.  Never heard of it? Please, take the time to watch it below.

The quote above is a funny, yet very accurate introduction to the topic developed in the documentary by Kirby Ferguson : Everything is a Remix. (side note: If you care who said this quote go check this link to figure out why nobody really knows.) Everything is a remix explores the concept of originality in creativity.  Never heard of it? Please, take the time to watch it below.

2017-05-20/01 - ho.dges.online - 9 years ago - eng

2017-05-20/02 - ho.dges.online - 9 years ago - eng

2017-05-20/03 - ho.dges.online - 9 years ago - eng

An adapted version of a similar stack-overflow answer . The primary tweaks made are to ensure the columns actually take the width of values into account Accepts two lists columns - List of column names to print data - list of dicts, with the keys in the dicts corresponding to the column names specified in columns Any keys present in data which haven't been specified in columns are ignored Read more…

An adapted version of a similar stack-overflow answer . The primary tweaks made are to ensure the columns actually take the width of values into account Accepts two lists columns - List of column names to print data - list of dicts, with the keys in the dicts corresponding to the column names specified in columns Any keys present in data which haven't been specified in columns are ignored Read more…

Tor2Web (and Web2Tor) are reverse proxies giving access to Tor Hidden Services (or oinions) via the public internet. The problem with this, is that they act as a trusted middleman, potentially putting unwitting user's privacy and security at risk For sites that are multi-homed onto both the WWW and Tor Hidden Services, there's also the risk of a duplicate content penalty in search engine indexes (because Google will still index the Tor2..

Sample base conversion worksheet created in LaTeX. LaTeX is amazing. And frustrating. And powerful. And frustrating. This coming Fall semester, I will be teaching an introductory programming class for engineering students. To help them understand bits, bytes, integers, etc., is to have them practice base conversions between decimal, binary, and hexadecimal. I wanted to set this up in LaTeX, but the idea of typesetting all of thos....

Sample base conversion worksheet created in LaTeX. LaTeX is amazing. And frustrating. And powerful. And frustrating. This coming Fall semester, I will be teaching an introductory programming class for engineering students. To help them understand bits, bytes, integers, etc., is to have them practice base conversions between decimal, binary, and hexadecimal. I wanted to set this up in LaTeX, but the idea of typesetting all of thos....

49 visitors online