|
Finding solutions to systems of polynomial equations is one of the oldest and deepest problems in all of mathematics. This is broadly the domain of algebraic geometry, and mathematicians wield some of the most sophisticated and abstract tools available to attack these problems. The elliptic curve straddles the elementary and advanced mathematical worlds in an interesting way. On one hand, it’s easy to describe in elementary terms: it’s the ..
|
|
Finding solutions to systems of polynomial equations is one of the oldest and deepest problems in all of mathematics. This is broadly the domain of algebraic geometry, and mathematicians wield some of the most sophisticated and abstract tools available to attack these problems. The elliptic curve straddles the elementary and advanced mathematical worlds in an interesting way. On one hand, it’s easy to describe in elementary terms: it’s the ..
|
|
Great look at the industry’s leading font providers, Hoefler & Frere-Jones, Typekit, and Google Fonts, made all the more valuable because now I won’t have to shell out $150 to ultimately go back to Google Fonts in the end. In a sense, as light bulbs are to Marco Arment, so too are fonts to The Typist in this article. Also worth noting with regards to Google’s offering is that in addition to making an ever-expanding library of fonts availabl..
|
|
An Improved Liberal, Accurate Regex Pattern for Matching URLs
-
daringfireball.net
-
12 years ago
-
eng
Last week John Gruber updated his regular expression for matching URLs from a relatively modest 205 characters to just shy of two thousand. Given that I wrote my own Markdown parser for this site and thus spent quite a bit of time crafting regular expressions myself, his article immediately piqued my interest. Unlike John though, who wrote his to actually match URLs, mine assumes that everything formatted as a Markdown link is, in fact, a l..
|
|
Interesting article from Benedict Evans drawing parallels between the dynamics of today’s smartphone industry where device manufacturers have no idea what the next five years could hold for the platform they base their entire business upon, Android, and the days of WinTel’s dominance we are only just now beginning to see the decline of, where OEMs had concrete road maps upon which to build future devices to. This lack of stability could hav..
|
|
Don’t just complain that tech podcasts are boring, create your own tech podcast that you don’t find boring. Don’t just complain that most blogs are posting such boring echo chamber posts, post more interesting posts that explore new topics. That is what the great visionaries in history have done, fought the boredom and let it push them into areas that they didn’t find boring. That’s creativity, pushing the boundaries of what came before and....
|
|
This is a guest post by my friend and colleague Adam Lelkes. Adam’s interests are in algebra and theoretical computer science. This gem came up because Adam gave a talk on probabilistic computation in which he discussed this technique. Problem: Simulate a fair coin given only access to a biased coin. Solution: (in Python) def fairCoin(biasedCoin): coin1, coin2 = 0,0 while coin1 == coin2: coin1, coin2 = biasedCoin(), biasedCoin() return coin..
|
|
This is a guest post by my friend and colleague Adam Lelkes. Adam’s interests are in algebra and theoretical computer science. This gem came up because Adam gave a talk on probabilistic computation in which he discussed this technique. Problem: Simulate a fair coin given only access to a biased coin. Solution: (in Python) def fairCoin(biasedCoin): coin1, coin2 = 0,0 while coin1 == coin2: coin1, coin2 = biasedCoin(), biasedCoin() return coin..
|
|
This is a guest post by my friend and colleague Adam Lelkes. Adam’s interests are in algebra and theoretical computer science. This gem came up because Adam gave a talk on probabilistic computation in which he discussed this technique. Problem: Simulate a fair coin given only access to a biased coin. Solution: (in Python) def fairCoin(biasedCoin): coin1, coin2 = 0,0 while coin1 == coin2: coin1, coin2 = biasedCoin(), biasedCoin() return coin..
|
|
We went for a walk today and decided to go in the opposite direction than we usually take. We ended up in a suburb I think called Kärrtorp. The walk wasn’t very long, but certainly interesting! The weather was wet and gloomy, the path was more icy than expected, and we walked across a creepy-ass building. So yeah…this post is pretty much about the building.
|
|
With all the recent revelations of government spying and backdoors into cryptographic standards, I am starting to disagree with the argument that you should never roll your own cryptography. Of course there are massive pitfalls and very few people actually need home-brewed cryptography, but history has made it clear that blindly accepting the word of the experts is not an acceptable course of action. What we really need is more understandin..
|
|
With all the recent revelations of government spying and backdoors into cryptographic standards, I am starting to disagree with the argument that you should never roll your own cryptography. Of course there are massive pitfalls and very few people actually need home-brewed cryptography, but history has made it clear that blindly accepting the word of the experts is not an acceptable course of action. What we really need is more understandin..
|
|
With all the recent revelations of government spying and backdoors into cryptographic standards, I am starting to disagree with the argument that you should never roll your own cryptography. Of course there are massive pitfalls and very few people actually need home-brewed cryptography, but history has made it clear that blindly accepting the word of the experts is not an acceptable course of action. What we really need is more understandin..
|
|
Patrick Rhone shares some great insights into writing after a lifetime spent with the craft. Not just on writing though, but about blogging, setting expectations, and attaining success as well. A great read. Permalink.
|
|
Decidability of finding the fastest Turing machine to compute a function with a finite domain
-
www.forwardscattering.org
-
12 years ago
-
eng
Let's say we have some (total) function \(f\), defined on some finite domain \(A\): $$ f : A \mapsto B $$ For example, f might be a square function defined on \( \{1, 2, 3, 4\} \): Input Output 1 1 2 4 3 9 4 16 The question now arises, is it possible to define an effective procedure that will determine the fastest Turing machine that computes the function \(f\). Without any limitations on the Turing machine, we can simply construct....
|
|
The worst program I ever worked on was something I was asked to maintain once. It consisted of two parts. The first was a web application writen in ASP. The second portion was essentially Microsoft Reporting Services implemented in 80,000 lines of VB.NET. The first thing I did was chuck it into VS2010 and run some code metrics on it. The results were, 10 or so Methods had 2000+ lines of code. The maintainability index was 0 (number betwee....
|
|
You get two default build configurations: Debug and Release, when creating a new project in Visual Studio. And it’s enough for most small projects. But there can appear a necessity to extend it with the additional configurations. It’s ok if you need to add just a couple of new settings, but what if there are tens of such settings? And what if your solution contains 20 projects that need setting up of these configurations? In this case it be..
|
|
You get two default build configurations: Debug and Release, when creating a new project in Visual Studio. And it’s enough for most small projects. But there can appear a necessity to extend it with the additional configurations. It’s ok if you need to add just a couple of new settings, but what if there are tens of such settings? And what if your solution contains 20 projects that need setting up of these configurations? In this case it be..
|
|
In a conversation with @alexbaldwin yesterday the topic of email came up, with each of us quickly diving into various observations, how its both awesome and a great form of communication/engagement, how most people still do it really bad. Alex has some good experience with it with hack design having over 100,000 subscribers. A tangent in an entirely unrelated meeting with @mschoening and others it was suggested instead of emailing a lis....
|
|
In a conversation with @alexbaldwin yesterday the topic of email came up, with each of us quickly diving into various observations, how its both awesome and a great form of communication/engagement, how most people still do it really bad. Alex has some good experience with it with hack design having over 100,000 subscribers. A tangent in an entirely unrelated meeting with @mschoening and others it was suggested instead of emailing a lis....
|
|
Great piece from Ben Thompson on Satya Nadella’s recent ascension to power over at Microsoft. Although I have not followed this saga closely — a fancy way of saying that I just don’t care — I found Ben’s thoughts on the topic, as usual, very interesting. Perhaps one day we will look back on this day as the turning point after which Microsoft started an upwards trend of relevance, profitability, and innovation. Perhaps, but I’m not getting m..
|
|
Stefan Constantinescu has some very interesting ideas regarding Apple’s future plans for its mobile phone line with the launch of the iPhone 6 this fall. I wrote about my thoughts on the topic a couple weeks ago, but the possibility of an iPhone 6C built according to the new form factor of the 6 with 5S internals did not occur to me. Very interesting, both this idea and his reasoning behind the imminence of a larger iPhone, and his justif..
|
|
A few days ago I wrote Algorithmic Ineptitude , where I took Hacker News, Digg, and Reddit to task for recommending articles based on flawed algorithms rather than employing humans to perform the same task in a much better way. That same day I found a post by Alex Turnbull of Groove talking about his team’s efforts to game Hacker News. Although his well-researched, reasonable methodology ultimately failed, its existence highlights a huge..
|
|
Right on the heels of its quarterly earnings call, after an 8% drop in price, Apple shelled out $14,000,000,000 in continuation the buyback program it started in 2012 . Contrary to 9to5mac’s report, I have a hard time believing Tim Cook was at all surprised by this drop; rather, a much more likely scenario would have found him counting on such a devaluation regardless of what he said, did, or otherwise announced during the earnings call. W..
|
|
I’ve seen some great critiques of TED in the past, but I really enjoyed Charlie Hoehn’s talk from 2011 on free work — essentially, what amounted to “do what you love on nights and weekends until it becomes a viable business, then take it full-time.” There is quite a bit more nuance to Charlie’s approach though, so I strongly encourage you to check his video out. It’s a bit long, but — as he said in closing — what do you have to lose? P..
|
|
This blog post is dedicated to my colleague Seminda who has been experimenting with how to create simple and powerful web applications. Thank you for showing me your ideas and discussing improvements with me, Seminda. I find many C# applications have much unnecessary code. This is especially true as the weight of the business logic of many applications are shifting from the backend to JavaScript code in the web pages. When the job of your a..
|
|
This is something that took me 2 years or so to learn. One day I realised nobody was really looking at my timecards in depth so I started allocating extra time to things and using the extra time to fix the things I thought needed fixing. Once I started delivering on this I showed my manager who agreed that it was a good use of time. I was given free reign to fix anything I felt would add maximum value, provided the bug fixes continued to be..
|
|
If you are using Python and the awesome Boto library to access Amazon S3, make sure you don’t miss How to Save 90% on Your S3 Bill .
|
|
The reality is that AngularJS is winning the frontend framework war. It’s not to say there aren’t great, high quality alternatives out there, but few have gained so much developer mindshare that slow and conservative companies see it as a wonderful investment. And it’s all the better that normal developers actually love developing with it! via Why AngularJS Will Be Huge .
|
|
Each person has multiple talents but only gets to develop few of them in their lifetime, based on the environment and the situation they are in. For example, I bet there were many people in the past who would have been great programmers, but since computers didn’t exist, and the theory wasn’t developed, they never got to see how good they were. Some of them possessed a mind that would come up with genius ideas in computer science, but inste....
|
|
I removed social media buttons from my site in 2014 after noticing they got near-zero clicks. Here's what I learned—and why the share-button era ended.
|
|
A few days ago my girlfriend told me about the “lunk alarm”, a gimmick Planet Fitness uses to make its facilities more attractive to those who rarely go to the gym. Marketed as a judgment-free workout zone, Planet Fitness sets this alarm off whenever a patron makes too much noise during their workout; upon repeat transgressions, the gym’s managers will ask these people to leave in order to foster a less intimidating atmosphere — or so the r..
|
|
Why is storing, tracking and managing billions of tiny files directly on a file system a nightmare?
-
boyter.org
-
12 years ago
-
eng
Its a real pain when you want to inspect the files, delete or copy them. Try taking 300,000 files and copy them somewhere. Then copy 1 file which has the size of the 300,000 combined. The single file is MUCH faster (its also why we usually do a tar operation before copying stuff if its already compressed). Any database that’s not a toy will usually lay the 300,000 records out in a single file (depending on settings, sizes and filesystem l..
|
|
The idea of Full-Stack Development is quite popular at the moment — building things that run both the browser and the server side of web development, usually utilizing similar languages and frameworks. With Flow-Based Programming and the emerging Flowhub ecosystem, we can take this even further. Thanks to the FBP network protocol we can build and monitor graphs spanning multiple devices and flow-based environments. Jon Nordby ga....
|
|
When I sat down to write this yesterday afternoon, two of the top five articles on Hacker News were not actually articles at all: the first pointed to a Microsoft page extolling the virtues of their new CEO Satya Nadella, below which the fifth “story” linked to Firefox 27’s release notes. In no universe would any person categorize either of these pages as something that “gratifies one’s intellectual curiosity.” In fact, I would say we can l..
|
|
The following is taken from my response to a Hacker News comment. The comment follows (quoted) and my response below. “I will start doing TDD when, 1. It is faster than developing without it. 2. It doesn’t result in a ton of brittle tests that can’t survive an upgrade or massive change in the API that is already enough trouble to manage on the implementation-side- even though there may be no functional changes!
|
|
You just learned how to create a simple WordPress plugin, and now you hear people talking about how WordPress is becoming more object-oriented. What does that mean? Lets take a step back and start with the basics. Most simple WordPress plugins are written using procedural programming. This means that your code excited from top to bottom; calling functions and setting variables along the way. A prime example of this is the default WordPres..
|
|
01/02/05 – 14/01/05 Well I figured I may as well add an end of the story, I believe that anyone who reads this deserves and end to the story and hence I am writing this for you all. Anyways what to say….. Here is my description of New Years Eve for you all. IT WAS LIKE THE APOCALYPSE!!!!!!!!!!!!!!!!!!!!!!!! Gunpowder smoke everywhere (making it hard to see), fires burning in the street, fireworks launching in the sky, enough small ban..
|
|
3/11/04 – 5/11/04 Let me recap the conversation I had with Tiff on the 5th over the phone. “Hello?” “Tiff Sorry about waking you. Have a look out the window” “Ok if I have to… OH MY GOD!!! SNOW!!!! I NEED TO CALL MY MUM!” Yes that’s correct. On the 5th I awoke to a winter wonderland outside. Not much snow apparently but it was enough to get Tiff and I excited. We had a snowball fight in the trees outside her and Susan’s room before clas....
|
|
Everything below is from when I was in University and went on exchange to Heilongjiang University in Harbin China. Please excuse the spelling and whatever is below as I did write it quite a while ago. This content is taken from http://silica.csu.edu.au/depot/dapeng/harbin/ as I want to preserve a copy just in case it is lost. I will be making a copy of the photos available at some point as there is a lot of content in there I would also l..
|
|
It has only been a few days since Dogemate was released, but dogeapi.com has made a slight change to their API that broke the USD price checker. Yesterday I submitted version 1.1.0 for an expedited review so hopefully it will be available soon. The new version adds both currency conversion and two new Bitcoin exchange... Read more » The post Dogemate Bugfix & Features Update first appeared on Swift Fox Software LLC .
|