jond3k | 9 years ago | on: When Roman “Barbarians” Met the Asian Enlightenment
jond3k's comments
jond3k | 9 years ago | on: LogicJS adds logic programming to JavaScript
It should be more obvious what expressions are supported when it's validated by a Javascript parser. This is in contrast to the 'dynamic' approach which has no problem with the following until runtime:
and(gherkin(or()))jond3k | 9 years ago | on: LogicJS adds logic programming to JavaScript
To generate the first example in the readme:
import {solve} from 'logic'
function father(x,y) {
return x =='mcbob' && y == 'bob' ||
x =='bob' && y == 'bill';
}
solve(father) // a noop function used as a marker by babeljond3k | 12 years ago | on: The Anglosphere miracle
jond3k | 12 years ago | on: Why Canada Has No Big Tech Companies
jond3k | 13 years ago | on: OECD: Telcos Overcharging By Five Orders Of Magnitude
jond3k | 13 years ago | on: OECD: Telcos Overcharging By Five Orders Of Magnitude
jond3k | 13 years ago | on: It’d have the fifth largest population in the world (infographic)
jond3k | 14 years ago | on: Twitter sells multi-billion tweet archive
jond3k | 14 years ago | on: Show HN: Like Yahoo Pipes, but works
jond3k | 14 years ago | on: Garbage collection with Automatic Resource Management in Java 7
InputStream in = null;
try
{
in = new FileInputStream(new File("test.txt"));
//do stuff with in
}
catch(IOException ie)
{
//SOPs
}
finally
{
try
{
if(in != null)
{
in.close();
}
}
catch(IOException ioe)
{
//can't do anything about it
}
}
This merely proves your point! :-)jond3k | 14 years ago | on: Search: .lenght - Github
# Language Illiteracy
1 C 0.02877583
2 Perl 0.01635618
3 Ruby 0.01560477
4 JavaScript 0.01330989
5 Shell 0.01235425
6 Python 0.01046104
7 PHP 0.00910218
8 Java 0.00736395
(For height, length and hierarchy, averaged out)And you thought this would end up being a PHP joke...
https://github.com/jond3k/sandbox/tree/master/github-illiter...
jond3k | 14 years ago | on: Search: .lenght - Github
I put together a GitHub Illiteracy Index script https://github.com/jond3k/sandbox/tree/master/github-illiter... which you can play around with if you like :D
jond3k | 14 years ago | on: Why do most programmers work so hard at pretending that they’re not doing math?
jond3k | 14 years ago | on: Why do most programmers work so hard at pretending that they’re not doing math?
Other cases I can think of are systems where high-throughput or low latency are major requirements but there aren't many of those. Most of what we do is about getting more users or making more profit - good engineering performance and decisions are not directly related to these.
jond3k | 14 years ago | on: Why do most programmers work so hard at pretending that they’re not doing math?
I completely agree. Programming became a lot less fun once I entered industry and realised most decisions are driven by fashion and office politics. It's not so bad when it's you and a couple of friends hacking all night on a project because you likely have closely aligned interests. Being an employee, however, means you're a slave to other people's ideals.
I suppose this is why most of us are interested in startups.
You may also be interested in this post by Zed Shaw: http://zedshaw.com/essays/programmer_stats.html
~~~
Surely the first person to write an algorithm wasn't Babbage or Lovelace, but more likely to have been the middle-eastern mathematician the word was named after? http://en.wikipedia.org/wiki/Mu%E1%B8%A5ammad_ibn_M%C5%ABs%C...
jond3k | 14 years ago | on: Coding Skill and the Decline of Stagnation
The CS graduate will have covered big O classifications but if they immediately focus on this form of optimization it's probably because they have spent years reading blogs that tell them this is the nature of tests at places like Google.
If every CS grad automatically thought this way by virtue of their education there would be no reason to test for it in interviews simply because a CS degree is often a minimum requirement for the kind of job where you'll be asked these questions.
It's only a priority if you make it one and those self-taught guys can probably self-teach themselves big O.
jond3k | 14 years ago | on: A reboot of PHP: keep the philosophy, improve the syntax with the jvm
jond3k | 14 years ago | on: A reboot of PHP: keep the philosophy, improve the syntax with the jvm
Native parsing of markup and SQL looks like a neat idea (reminds me of Facebook's XHP plus LINQ) but I'm concerned about using the JVM. Does this use a .NET style multithreading model instead of using one process per request? If not, I can't see the benefit of using a JVM given its best features (GC and JIT) would be rendered not only useless, but a bit of a drag.
My personal PHP wishlist is:
* Better interfaces for the core libraries. Ideally replacing them all with namespaced and object-oriented ones with none of this needle-hackstack mixup
* A standard autoloader
* Removing the concept of 'PHP errors' and replacing them all with exceptions
jond3k | 14 years ago | on: The websockets api spec doesn't like you
ZeroMQ's bindings are an example of it done well. I find the API is almost identical if I switch between Python, PHP and Erlang and I never feel like any of these implementations feel out of place in their language.
I agree with your final point.
I feel there's a market need for a browser plugin that lets you filter out clickbait factories like his employers and all the dirty tricks they use to hijack our attention. There's no way we can keep up with them without computer assistance.