The State of Scripting Languages (2)
share
digg
by
ScuttleMonkey (1144)
on
Slashdot (10192)
1 hour, 7 minutes
ago
permalink
Esther Schindler writes to tell us that Lynn Greiner has another look at the state of the scripting universe as a follow on to the same topic three years ago. Greiner talks to major players from each of the main scripting languages (PHP, Perl, Tcl, Python, Ruby, and Javascript) to find out the current status and where they are headed in the future. "The biggest change since 2005 has been the growth of richer Web ...
Why Write Open Source Libraries (1)
share
digg
by
Oliver (168)
on
Oliver Steele - Languages of the real and artificial (81)
3 hours, 47 minutes
ago
permalink
1. Exploration. I can sample platforms and sample stretch languages without sinking my stakeholders if I fail. Also, it’s easier to try something radical in a small, green field project than in a big one. 2. Altitude training (link TBD). I can make myself jump through hoops that I wouldn’t feel ethical asking someone to pay me to jump through. I did this recently with Sequentially the next time I needed to simulate concurrent processes ...
使用 PHP Framework 的效能問題 (3)
share
digg
by
Gea-Suan Lin (38)
on
Gea-Suan Lin's BLOG (38)
17 hours, 34 minutes
ago
permalink
PHP Framework 裡會大量使用 require_once(),由於需要判斷是否載入過檔案,require_once() 會使用 realpath() 取得檔案實際路徑資訊當作判斷條件,而這點會有效能上的問題。 其他人其實也遇過,參考:PHP Performance tip: require versus require_once,其中 comment 的部份也說明了目前 Google 到的方法是沒有用的。 FreeBSD libc 裡的 realpath(3) 會使用 lstat(2),而 FreeBSD 的 lstat(2) 因為用到 VFS_LOCK_GIANT(9),所以在 FreeBSD 上,很多隻 PHP 同時用 realpath() 的時候效能並不好。 在 Linux 的 libc 據說沒這個問題 (我沒有實際去 trace libc code,聽別人轉述的),不過實際灌了一台 Debian 跑 PHP 發現解決了 lstat() 的問題後,require_once() 造成的效能問題還是很嚴重。 目前的解法與 Wikia 類似,想辦法讓 require_once() 能夠很快找到 code,不過還是得想辦法從 PHP 本身下手,改善 require_once() 的效能,讓 PHP Framework 發展的時候不用綁手綁腳。 PS:目前的方法是改掉 Zend Framework 裡面的 require_once(),由於我們有一個統一的 /pixnet,把裡面的程式碼全部都用絕對路徑。另外在 Autoload 的部份用 APC cache,避免再到 include_path 內重複尋找。
How to Get the Most Out of Your Eccentric Programmer/”Genius” « Learning Lisp (4)
share
digg
by
lispy (23)
on
Learning Lisp (23)
1 day, 6 hours
ago
permalink
I recently posted about a set of programmer personality traits that I’d noticed. At first I thought they were relatively rare, but it seems to me much more prevalent than I’d thought– even the widely read Ruby blogger “raganwald” seemed to admit that he had many of the qualities I was describing. For now we’re going to assume that people like this are not sick even though a subset of the traits may sound superficially ...
BarCamp Nashville Open For Registration (2)
share
digg
by
Morgan Levy (14)
on
Nashvillest (18)
1 day, 7 hours
ago
permalink
Calling all technology enthusiasts: BarCamp Nashville is open for registration. It will be held all day (9am-4pm) October 18 at the Sommet Center, and it’s free. BarCamp Nashville is a part of a national series of BarCamp “un-conferences,” low on structure but chock full of valuable sessions with speakers, networking with peers, and open discussion. It’s an awesome opportunity to learn and connect for anyone involved in technology and new media (and digital media, social ...
What’s SUP?: FriendFeed’s Modest RSS Proposal (18)
share
digg
by
Scott Loganbill (232)
on
webmonkey (543)
1 day, 22 hours
ago
permalink
The RSS wizards at FriendFeed (a social news aggregation site) are proposing a new way to distribute and fetch RSS feeds faster. The proposal is a simple one: publishers provide a centralized RSS to inform readers which feeds have been been updated since their last visit. The benefit? Your news fast. FriendFeed’s Gary Burd and Paul Buchheit (both former Googlers) want to download your RSS feeds as rapidly as they can without taking down your ...
Latest Django Beta Sets the Stage for 1.0 Release (1)
share
digg
by
Scott Gilbertson (640)
on
webmonkey (543)
2 days, 6 hours
ago
permalink
The Django web development framework has cranked out a second beta release on its way to the final 1.0 due in September. The latest release sees some welcome additions like a refactored comments application, rewritten documentation and the removal of some legacy code. The leaner Django 1.0 beta 2 also marks the feature and string freezes, which means the only things left to do are bugs fixes and some more documentation improvements. For complete details ...
آزمایشگاه پردازش تصاویر (1)
share
digg
by
ایمان (17)
on
Farasun (17)
2 days, 8 hours
ago
permalink
برای ویرایش تصاویر نرم افزارهای بسیار زیادی وجود دارد. معروف ترین و قوی ترین آن ها شاید Photoshop باشد. انتخاب یک نرم افزار مناسب در این زمینه به جواب این سئوال بر میگردد که معیار شما برای انتخاب یک نرم افزار ویرایش عکس چیست؟ Image Processing Lab ابزاری است کوچک ولی کاربردی برای پردازش عکس های دیجیتالی که دارای فیلترهای مختلف و ابزارهای تحلیل تصاویر است. این نرم افزار کاملاً رایگان و اوپن سورس ارائه ...
Geekなぺーじ:シャイな女性エンジニアが密かに愛の告白をする10の方法 (4)
share
digg
on
はてなブックマーク 最近の人気エントリー (717)
2 days, 9 hours
ago
permalink
シャイで女性エンジニアな貴女! こんな方法を使った愛の告白はいかがでしょうか? 1. ICMP Echo Requestのボディ部分 ICMP Echo Requestのペイロード部分に愛の告白文を挿入して送信してみましょう。 長い文章は1パケットに収まらなくなってしまうので、文章は短く簡潔にまとめましょう。 例えば、「I love you」というメッセージをIPプロトコル番号1番で送信して、彼からのICMP Echo Reply...
Host Your Muxtape Clone With OpenTape (1)
share
digg
by
Scott Gilbertson (640)
on
webmonkey (543)
2 days, 10 hours
ago
permalink
Muxtape, the web service that let you create music mixes to share with your friends, is currently wrestling with the RIAA and has, at least for now, shut its doors. But if you’re fan of the service and you happen to have some web hosting space available there’s a new open source project that allows you to create your own hosted Muxtape. OpenTape, as the project is known, is written in PHP and is no ...
On Technical Debt [del.icio.us] (1)
share
digg
揭密《Portal》的心灵传输 (3)
share
digg
by
matrix (1499)
on
Solidot (1527)
2 days, 10 hours
ago
permalink
Gamasutra揭秘游戏栏目讨论了去年最具创新的游戏《Portal(传送门)》,任何玩过这款另类游戏的玩家应该都会记得“The Cake is lie”,以及不可思议的似心灵传输的游戏方式。 Portal,或者叫虫洞,Einstein-Rosen Bridges(爱因斯坦-罗森桥),其实都是爱因斯坦引力理论的预测。心灵传输在视频游戏中并不少见,早先的街机游戏Gauntlet中就有类似的令人难忘的解密方式,《Portal》也不是第一个将心灵传输作为主要游戏方式的游戏,但它与其它所有类似游戏的不同之处是——《Portal》的心灵传输是在A点和B点之间架设一个无摩擦力的管道,而且物理学仍然在无摩擦管道中有效工作。不是简单的重新定位点A到点B的物体,玩家进入点A后和到达出口点B后的速率相同,但是移动到了新的方向。 文章解构了《Portal》背后的物理学原理的代码,并提供demo下载供读者测试。
Different kinds of software complexity (1)
share
digg
by
John (739)
on
The Endeavour (4)
2 days, 21 hours
ago
permalink
It has always seemed odd to me that computer science refers to the number of operations necessary to execute an algorithm as the “complexity” of the algorithm. For example, an algorithm that takes O(N3) operations is more complex than an algorithm that takes O(N2) operations. The big-O analysis of algorithms is important, but “complexity” is the wrong name for it. Software engineering is primarily concerned with mental complexity, the stress on your brain when working ...
How to unzip / untar a file (1)
share
digg
by
Adrian Singer (2)
on
SoftwareProjects - Internet Marketing and Web Development (4)
3 days, 7 hours
ago
permalink
If a file ends in .zip (for example, file.zip) type: unzip file.zip If a file ends in .tar (e.g., file.tar) type: tar -xvf file.tar If a file ends in .gz (for example, file.gz) type: gzip -d file.gz If a file ends in .tar.gz (e.g. file.tar.gz) type: gzip -d file.tar.gz and then tar -xvf file.tar If a file ends in .tgz (e.g. file.tgz) type: tar -xvzf file.tgz
Preview: OpenStomp, Open Source Effects Stompbox, US$349 (2)
share
digg
by
Peter Kirn (388)
on
Create Digital Music (353)
3 days, 8 hours
ago
permalink
Ever dreamed of being able to program your own DSP hardware as easily as you can connect custom effects on your computer? Earlier this summer, we saw the open source OpenStomp effects pedal. Then, information was scant and we hadn’t seen an actual unit. Now, the box is going into production for North America at US$349, available for purchase right now. The magic inside is Parallax’s Propeller CPU core. If anything kick starts a DIY ...
iPhone SDK NDA (2)
share
digg
by
stelabouras (58)
on
Wiggler (85)
3 days, 11 hours
ago
permalink
Ας όμως εξηγήσω περαιτέρω τον τίτλο, για όσους δεν ασχολούνται με το sport. Με την κυκλοφορία του iPhone 3G λοιπόν και όλων των παρατράγουδων που ακολούθησαν (δυσλειτουργίες σε MobileMe, App Store, iPhone 3G bugs…), κυκλοφόρησε μαζί και το Software Development Kit για την φορητή συσκευή της Apple. Τι σημαίνει αυτό απλά; Πως οποιοσδήποτε με γνώσεις Objective-C μπορεί να υλοποιήσει οτιδήποτε φανταστεί (και του επιτρέπει το SDK) για το iPhone, να το πουλήσει όσο θέλει (20% ...