|
A few month back, Apple quietly slipped a very nice Objective-C to Javascript bridge into WebKit.... This new API supports straightforward embedding of the JavaScriptCore interpreter into native Objective-C projects, including reading and writing variables and object members with appropriate type coercion, calling methods on JavaScript objects, and directly binding Objective-C objects into JavaScript. It seems likely that this API is going to become public in Mac OS X 10.9 (where JavaScriptCore is already a public framework), and it might be a hint of an eventual public API on iOS. Either way, a new option for building hybrid JavaScript apps is here. The start of Apple’s evolution away from Objective-C?
|
|
|
|
|
It's often said that the web needs a bytecode.... basically the point is that people want to use various languages on the web, and they want those languages to run fast. Bytecode VMs have been very popular since Java in the 90's, and they show that multiple languages can run in a single VM while maintaining good performance, so asking for a bytecode for the web seems to make sense at first glance. JavaScript is already very close to providing what a bytecode VM is supposed to offer.
|
|
|
|
|
Writing a good README is easy. You just need to know what information is required for developers to use and understand the application. Here’s some Rails-centric information I include in the READMEs I write for The Frontier Group... [This file left intentionally blank.]
|
|
|
|
|
Google has product lines on three platforms: web, mobile, and desktop. If you’re heavily invested in its web apps, Android makes a lot of sense. Its integration with your Google account helps it do amazing things. Google Now, for example, combines your location with the wealth of data the company knows about you to, say, automatically pop up your boarding pass at the airport. Or display directions to your hotel when you land. It would be creepy were it not so helpful. (OK, maybe it is a little creepy.) Google needs to make that same impression with Chrome. Instead, there’s a divide between its desktop efforts and other aspects of the business. Two different operating systems, two different experiences. Google doesn’t offer the advantage of an integrated stack.
|
|
|
|
|
The debate to nail down the long overdue Do Not Track (DNT) standard continued at the W3C Tracking Protection Working Group face-to-face meeting in Sunnyvale last week. Despite a less hostile tone in the room, there seemed to be no clear path forward towards agreement regarding the core issue of ensuring that the standard provides users with enough privacy protection to justify its existence. With the group set to begin winding down in July, there is a lot of uncertainty about whether a consensus standard can be reached with such a short time frame, and if no consensus standard emerges, what will happen next. Users want DNT to limits collection and retention of data. But users aren't at the table...
|
|
|
|
|
There's a thought in neuroscience/psychological circles that words are much more than sounds that represent things: they are the abstraction of our higher brain function. Words are language, code is language. Restricting yourself to one or two languages is limiting your cognitive abilities. Whoa! I know kung fu.
|
|
|
|
|
I Know Judo...
Life is all about share and care...
public class Life : ICareable,IShareable
{
// implements yours...
}
|
|
|
|
|
|
Suvabrata Roy wrote: Life is all about share and care...
Aha, Care Bears with Judo, kids beware!
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
I will protect others... its another part of care...
Life is all about share and care...
public class Life : ICareable,IShareable
{
// implements yours...
}
|
|
|
|
|
|
Terrence Dorsey wrote: There's a thought in neuroscience/psychological circles
"Thought" being the operative word here: There's a good argument to be made that language played an important role in the development of the modern brain, and we do know that intelligence is malleable - exposure to the right environment can make at least some people more intelligent.
I mean, it's compelling, it's a beautiful thought, but evidence - AFAIK - is a chain of factoids linked by optimistic assumptions.
|
|
|
|
|
peterchen wrote: exposure to the right environment can make at least some people more intelligent.
Yep, knowing the right people can help you get smart. IOW it's just as much about luck.
|
|
|
|
|
The Article wrote: Words are the very structure of our higher reasoning.
In other words: if you can't say it, you can't think it. Hold on, that doesn't work for me. I very often find myself thinking things that, as far as I know, just cannot be put into words. I don't usually think in words, nor even in pictures, though I can do both if I want. I think in abstract concepts, some of which are linked to words, but not all of them.
|
|
|
|
|
Keep up the good work. I have fought much of my life against an education system that tried to force me to think using other peoples words. Fortunately I inherited a double set of the stubborn gene so I never gave in. I attribute much of everything useful I've ever done to my consequent ability to think differently and yes I do know the costs as well as the benefits, I live with them every day and it is worth it.
"The secret of happiness is freedom, and the secret of freedom, courage."
Thucydides (B.C. 460-400)
|
|
|
|
|
The pod cast linked has some really interesting factoids.
As I understand, not being able to put it into words is an independent phenomenon.
|
|
|
|
|
peterchen wrote: As I understand, not being able to put it into words is an independent phenomenon. It's not that. That's a temporary problem, with a solution.
|
|
|
|
|
Now the big questions is: would you like to say "hello world" in 100 different languages or be truly proficient and creative in few.
|
|
|
|
|
Format string vulnerabilities are a pretty silly class of bug that take advantage of an easily avoidable programmer error. If the programmer passes an attacker-controlled buffer as the argument to a printf (or any of the related functions, including sprintf, fprintf, etc), the attacker can perform writes to arbitrary memory addresses. Behold, the printf of doom.
|
|
|
|
|
The problem with talking about functionality not in the current release sets expectations and distracts from marketing what’s already wonderful about what you’re selling. All you’re doing is diminishing the product you’re selling. You are also making a promise to your customers that you may need to break down the road if priorities change (or Apple implements new OS features that force your hand). Bonus: 5 tips on the right way to run a software company.
|
|
|
|
|
Thanks.
We're in beta now...
whew.
|
|
|
|
|
In the dark old days of the late 1990s and early 2000s, debates would rage about whether open source software is as good as proprietary software. And it was all a matter of opinion. Then, in 2006, the Department of Homeland Security partnered with a software code analysis company called Coverity to examine open source code for security vulnerabilities and software defects. Each year since, Coverity has published a report on the quality of open source code.... But the latest report, published on Wednesday, found something new: the code quality of open source projects tends to suffer when they surpass 1 million lines of code, whereas proprietary code bases continue improve when they pass that mark. Next question: who really needs 1 million lines of code?
|
|
|
|
|
I'm up over 250,000 and will easily need 1 million before I'm done. I'm surprised the figure is as high as 1 million given that every other sizable project seems to hit a major reorganization and has a high tendency to go multi-language at around 250,000. That seems to be the significant scale where structural change occurs. Perhaps another change tends to kick in at 1,000,000 lines that isn't so obvious in the Ohloh stats.
"The secret of happiness is freedom, and the secret of freedom, courage."
Thucydides (B.C. 460-400)
|
|
|
|
|
Depends on what you count as a "line of code" - do you count comments and white space? do you count count curly brackets? The difference can be up to 2x depending on what metric you use.
|
|
|
|
|
For my own code I use the Microsoft LOC counter which does have a bunch of configuration settings for what to take into account but they're unfortunately buried in a hideous Regex based XML format config file so I use the defaults on the grounds that anything else is unlikely to be comparable with anyone else using the same software. It took 17 attempts to even get the thing to install it's so flaky so if anyone can suggest a better alternative I'd certainly be interested.
My observation on the 250,000 line critical point in the history of Open Source projects comes from looking at stats on http://www.ohloh.net/[^] . They have their own counting standards which means my 250,000 isn't going to be the same as their 250,000 but the observation holds that comparing Ohloh counted projects with Ohloh counted projects 250,000 LOC seems to be a critical point for major project restructuring, suspension, permanent branching of projects due to teams splitting up and other highly disruptive events that show up as trend changes in their stats.
"The secret of happiness is freedom, and the secret of freedom, courage."
Thucydides (B.C. 460-400)
|
|
|
|