6,893 karma · joined Oct 11, 2010 (16y ago) · 2,794 submissions
https://www.benkophone.com/
Currently building:
https://www.benko.app/
team@benko.app
comment 15y ago · link · parent
The thing is that, with JavaScript libraries as they are these days, "the code to create a calendar popup" is basically already a library.
Also, the person who's going to be creating that interface needs the freedom to be able to decide how they want to solve that problem, for that interface. Having a library of ways you've done it in the past allows you to re-use solutions.
If you find that you have a common chunk of code that you use everywhere on one particular project, put it in an include - but creating "widgets" like this, in my experience, always leads to problems when working with more than one person on a project.
comment 15y ago · link · parent
https://github.com/iaindooley/Anorm
The ORM for SQL lovers!
That's only half the story: I've done the "query reader". Hopefully we can all come up with the ultimate "query builder" together - but the basic principle is that the query reader and query builder should be kept completely separate with SQL as their interface.
I also need to come up with a neat way using closures to "mix-in" functionality to the "query row" objects (that take the place of the normal "boiler plate" DbObject type classes (usually "one per table" kind of deal).
What do y'all reckon? Email iain@workingsoftware.com.au or fork the project - would love to hear everyone's opinions.
comment 15y ago · link · parent
That's the type of abstraction that I'm specifically opposing here.
Each node in my template should correlate to one node in the resulting markup.
In other words, my "HTML template guy" should be able to construct the interface in it's entirety, with my "developer guy" adding in the functionality.
The "HTML Template guy" should not need to know what type of markup he's allowed to use in order to allow the developer guy to deploy his templates with ctl:DateBox.
comment 15y ago · link · parent
To me this falls under the category of "automation of repetitive tasks" - so long as I'm still fundamentally working with markup in my templates, a bit of automation never goes astray!
comment 15y ago · link · parent
function something(db_obj)
print db_obj.getSql() #shows SQL built so far
db_obj.having('SOMETHING = SOMETHING ELSE')
db_obj.fromClause(this.bizarreCaseStatement()
db_obj.order(this.weirdoOrderClauseThatReferencesCaseStatement());
return db_obj
When I start working with db_obj, it might come from some other part of the application for which the "basic ORM" was just fine.Now I want to add some weirdo custom stuff in but I can't - I have to go back to the part of the application that produced db_obj in the first place and refactor that to use custom SQL.
It's one or the other.
comment 15y ago · link · parent
"I've done small woodworking projects before, and I think I have a pretty good idea of what I need: some wood and a few basic tools: a tape measure, a saw, a level, and a hammer."
The reason I hate frameworks (even things like Django which is very easy to get started with) is that, at some point, I'm asked to re-learn a different way of solving a problem that I've already solved in the past.
I've been doing lots of thinking about this having written the Great American PHP Framework myself, and worked with other people's frameworks, and also worked a lot in the CMS space and the biggest conclusion that I've come to is that the best tools are those that enable you to do things faster or more conveniently but don't actually provide any abstraction.
For example, when deploying a website there are any number of tools to "abstract away" the HTML layer - templating engines, markups, markdowns etc. etc. but the best way to build HTML is using HTML and testing in a web browser, always.
When you need to write some code in whatever web framework you're using to handle a POST request, you want to be as close as possible to the HTTP layer without a bunch of arcane systems in between you and what you and the underlying technology.
Sure it's handy to have tools which automate some repetitive aspects, but if you understand the underlying principles and you know the syntax of the language you're working with, you should at all times be able to just "get it done" however you know how without reading endless documentation and shoehorning your knowledge through a bunch of layers of abstraction.
The same goes for ORM - I want convenience of access to my data, and some automation to handle some of the more boring aspects of writing SQL, but I need to be able to mix and match (yes I know most ORMs allow you to use raw SQL, but it's always one or the other - the ORM or the SQL - I've never used a tool that has a simple method for me to extend the ORM bits halfway through the query building process with some custom SQL).
This is my zeitgeist now and it pervades all the projects I'm working on.
2410.
Printable Antenna Can Harvest Ambient Energy(popsci.com ↗)
1 points · by dools · 15y ago · discuss
comment 15y ago · link · parent
x86 assembly language is to an x86 processor as; JavaScript is to ??
So in this case it would be wrong to say that "??" is the JavaScript interpreter, because assembly language is a representation of machine code - it's basically an set of labels attached to binary numbers right?
The x86 processor executes machine code (I think actually some of the "backwards compatibility" in an x86 processor is provided by a scripting-like-language implementation on the chip but that's invisible to the assembly language programmer so not part of this discussion).
So I think you'd have to say that:
JavaScript is to a JavaScript interpreter as; x86 machine code is to an x86 processor
Then:
x86 assembly language is to x86 machine code as; ?? is to JavaScript
Now one could argue that CoffeeScript is the assembly language of JavaScript (I've not used it but it seems to be a roughly 1-to-1 mapping of one set of instructions to another, aliased for aesthetic purposes).
But getting back to the original analogy, I think it would be better stated as:
If you think of a web browser as a kind of computing platform for which we can write applications, then JavaScript is like the machine code that makes it run.
I think that makes sense - and it also makes sense to build higher level languages on top of JavaScript in that case, since increased computing power has always enabled us to get more done with fewer man-hours, why should this be any different?
comment 15y ago · link · parent
Surely developers aren't that desperate for a nice UI for their git repos?! I assume that there are a bunch of web based repo browsing tools you could install for free if you were that hell bent on looking at your code in a web browser
comment 15y ago · link · parent
As a consultant I see a lot of people put way too much effort into developing bespoke software to automate or "improve" workflows that don't even really exist in their business yet, only to find out that the real bottlenecks exist in places they never even knew (and that they've wasted a bunch of money building something they'll never really use).
It's like a "real life" analogue of the adage "premature optimisation is the devil".
comment 15y ago · link · parent
I actually copied and pasted most of it from other sources (which I've listed on the page).
The playlists are "saved" by sharing them - each playlist exists only as a URL containing a comma separated list of video IDs.
I've been sharing on Twitter using the #cueyoutube hashtag.
Unfortunately, however, my primary webserver is down due to a drive failure - I'm waiting for the VPS image to copy to a new host now. Bummer :( Should be back up in about an hour with any luck.
There are some suggestions from people over at http://cueyoutube.uservoice.com/
I really want to only work on the site in response to user demand, you know? Like I want to keep it as an MVP always. If people like it, then they will use it and make suggestions and I'll react to that.
I'm really enjoying the "throwaway" nature of the playlists themselves (ie. you don't login, you don't give them a name, you don't "save" them, you just create, share and move on with your life), but also the "throwaway" nature of the project - it's good to have something that's useful but that I'm not so heavily invested in (unlike Decal, which I'm like, totally invested in to the point of insanity).
comment 15y ago · link · parent
It was a "sunday night" project, and the first thing I've ever done where I thought I did just the right amount of work and no more. It hasn't, like, gone viral or anything but has a few likes and a few people using it - who knows maybe some more will use it.
But it was a great feeling - to really get something useful made, throw it out there and see what happens without investing a whole lot in it.
Another I made earlier this year was http://pickdropapp.com/ which was even less successful than cueyoutube :)
I find that whipping up things like this and just releasing them is a great way of "staying in shape". Releasing software is like a habit and the more you do it, the easier it becomes.
To deviate from my shameless self promotion, I would also like to add that I love the story of TKs http://toutapp.com/ - he's actually turned that into a real product now with thousands of users, but he got a lot of validation from his initial MVP release so that's a real success story. He's written about it quite a bit on his blog.
comment 15y ago · link · parent
The top level comment on this thread was saying he found the metaphor jarring - I don't personally find it jarring.
comment 15y ago · link · parent
If he were using this as a metaphor for the "speed of light" you'd think he'd be referring to the emails going incredibly fast, but what he's actually referring to is his "otherwise spectacular ... assistant" sometimes taking a very long time to respond to emails (because he's busy looking at lulz).
In this case I believe that the author is using "speed of photosynthesis" as a metaphor for being very slow, instead of using the more common simile "like watching grass grow".
I'm not sure if "speed of photosynthesis" is really correct, though - I find it hard to compare "rate of respiration" with "rate of growth" or "rate of email response" but there you go.
He's certainly doesn't mean "speed of light".
comment 15y ago · link · parent
comment 15y ago · link · parent
comment 15y ago · link · parent
Is this story just exaggerated or is it really this bad? I've never personally been fired but having job opportunities being so severely limited due to being fired once seems like an impossibility in Australia.
I'd say that if you got fired over here you'd even quite likely be able to use the employer as a reference (unless you did something totally horrible)
comment 15y ago · link · parent
In the Kevin O'Connor interview he even came right out and asked to hear about the times he was crying in the shower! [1]
Call it beginner's luck I guess?
[1] http://mixergy.com/kevin-o%E2%80%99connor-doubleclick-interv...
comment 15y ago · link · parent
[1] http://www.decalcms.com/page/Decal_API_Quick_Start_Guide
2429.
Aussie startup RecruitLoop cuts agencies out of the loop(thenextweb.com ↗)
11 points · by dools · 15y ago · discuss
comment 15y ago · link · parent
Well, you don't know that. The images of the mp3 players he was selling basically look like a cheap knock off of the iPod shuffle. Apple spends a lot of money on their design and branding and it's their right to protect that investment, wouldn't you say?
This isn't the same as patent trolling.