|
|
The Chrome comic book was originally designed as a limited edition print book for journalists all the way back in 2008. What you may not have known is that it's also a fantastic read for any web developer. Released during the week of our first Chrome launch, the comic described our multi-process architecture, how the V8 JavaScript engine works, predictive DNS lookups (for optimizing based on your usage patterns) and many technical architectural concepts in a way that was surprisingly accessible to the everyday user. The original is an expensive collectible today. Here's a full-quality PDF version to enjoy instead.
|
|
|
|
|
January has been a very bad month for Ruby on Rails developers, with two high-severity security bugs permitting remote code execution found in the framework and a separate-but-related compromise on rubygems.org, a community resource which virtually all Ruby on Rails developers sit downstream of. Many startups use Ruby on Rails. Other startups don’t but, like the Rails community, may one day find themselves asking What Do We Do When Apocalyptically Bad Things Happen On Our Framework of Choice? I thought I’d explain that for the general community. Executing arbitrary code: words that should send shivers down any dev's spine.
|
|
|
|
|
Terrence Dorsey wrote: Executing arbitrary code: words that should send shivers down any dev's spine
Oh, I don't know. I see code almost every day that I'd like to summarily execute.
|
|
|
|
|
|
You're doing it wrong.
Really horrible code should be dragged into a filthy, deserted, vermin infested alley; have its legs and jaw broken; and then be shot in the gut. We can then take bets on if bloodloss, sepsis, or the rats finish it off.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Way back in the day, when I first really got into real Mac programming I used an old IDE called Think Pascal. One of the cool things about it was that unlike Think C, it allowed programming with proportional fonts. I typically used Geneva to code in Pascal and Monoco to program in C. I later switched to doing almost all my coding in Visual Studio which didn’t work well with proportional fonts.... [Then] someone mentioned to me that Xcode actually works with proportional fonts... Have you ever tried coding with proportional fonts?
|
|
|
|
|
Yeah, 5 minutes!
I guess it's an acquired taste... but fixe sized font is good to edit mulitple lines at a single time (with VS!!)
BTW, you can choose proportional font for code in VS too!
My programming get away... The Blog...
Taking over the world since 1371!
|
|
|
|
|
Have a blog? With small adjustments, you can noticeably improve its typography. Your readers will thank you for it. This guide will help you understand the typographic foundations that will improve the readability of your articles. Good reading starts with a good layout...
|
|
|
|
|
I don’t feel that the way DirectX has been handled in recent years has been a positive thing. A number of technical decisions were made that were unfortunate, and then a number of business and marketing type decisions were made that compounded the problem. Many of the technologies (DirectInput, DirectSound, DirectShow) have splayed into a mess of intersecting fragments intended to replace them. The amount of developer support for Direct3D from Microsoft has been unsatisfactory, and anecdotal reports of internal team status have not been promising. Somebody told me a year or two back that the HLSL compiler team was one person. That’s not something you want to hear, true or not. Worst of all, though, was the communication. That’s the part that bugs me. You’ll understand if I am not in a hurry to start coding for your newest framework.
|
|
|
|
|
This is very unfortunate. What happens when decisions are not made with strategic thinking. Sort of like the mess the US Economy is in.
|
|
|
|
|
Wait, so what is the proposed replacement for DirectX? I highly doubt Microsoft are considering OpenGL.
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|
=====
===
=
|
|
|
|
|
OpenGL rules, it has a software renderer fallback, something that DirectX never offered.
Wout
|
|
|
|
|
DirectX remains!!!
But instead of XNA (shameless plug, although I should be, it's no where near ready...) you can use my WinRT binding for DirectX!
http://directwinrt.codeplex.com/[^]
Just did some D2D work lately, this API is almost usable now!
My programming get away... The Blog...
Taking over the world since 1371!
|
|
|
|
|
I am writing a multi-discipline article for quite some time. I was using OpenGL at first, later changed to XNA so that I did not have to write my own 3D model importer; On hindsight, I should have sticked with OpenGL, One good side-effect OpenGL has to offer, is that I can easily port my code to WebGL (if browser support) where my users can watch the preview before they click OK to make video on the server.
|
|
|
|
|
If you ever connected to the Internet before the 2000s, you probably remember that it made a peculiar sound. But despite becoming so familiar, it remained a mystery for most of us. What do these sounds mean? As many already know, what you're hearing is often called a handshake, the start of a telephone conversation between two modems. The modems are trying to find a common language and determine the weaknesses of the telephone channel originally meant for human speech. Below is a spectrogram of the handshake audio. It's an older article, but when was the last time you had to dial up?
|
|
|
|
|
So I found yet another cool use for a Raspberry Pi. You can actually use it as a file server, or more accurately a controller for a file server. All you need is your Pi and a nice external drive and you can serve files to anyone on your network. It’s pretty easy, I’ll show you how. You need the Raspberry Pi set up and connected to your network. You’ll also need an external drive. I’m using a Western Digital My Book 500 GB drive. Set up the Pi, then serve a slice to your Windows desktop.
|
|
|
|
|
PNG is now the most popular lossless image compression format on the web. Only the lossy JPEG, which is the most appropriate format for photographs, is used on more sites. While GIF's patent issues mentioned above are long resolved, it's the technical superiority that now convinces webmasters to chose PNG over GIF. Technically, the PNG format CAN be animated...
|
|
|
|
|
No surprise, considering how bad the "best" quality GIF's are in comparison to, pretty much, every other picture format.
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|
=====
===
=
|
|
|
|
|
If you've been paying attention, you'll know that BlackBerry (née RIM) unveiled its long-awaited BlackBerry Z10 and Q10 handsets today alongside the BlackBerry 10 operating system. Our full reviews of both the Z10 (which we were given as we left the press event) and the BlackBerry 10 OS themselves will be here in the next few days, but in the meantime we have one question: just how fast are these phones? Not cutting edge, but speed shouldn't be a problem.
|
|
|
|
|
Security experts hired by The Times to detect and block the computer attacks gathered digital evidence that Chinese hackers, using methods that some consultants have associated with the Chinese military in the past, breached The Times’s network.... The hackers tried to cloak the source of the attacks on The Times by first penetrating computers at United States universities and routing the attacks through them, said computer security experts at Mandiant, the company hired by The Times. This matches the subterfuge used in many other attacks that Mandiant has tracked to China. Well, that's one way to get past the paywall.
|
|
|
|
|
For me personally, the term "TFS" has historically meant "big scary corporate centralized source control" while Git has meant "small scrappy lightweight distributed source control." TFS meant connected (ZOMG, I can't code on a plane!) and Git meant occasionally connected (ZOMG, I don't know what rebase means!). However, I learned that Team Foundation Server (TFS) isn't just source control, it's a whole bug tracking, change management, application lifecycle management (ALM) suite. Source control is one pluggable piece. On the other hand, Git isn't just source control either. Git has become effectively FTP for code. ALL YOUR REBASE ARE BELONG TO US!
|
|
|
|
|
If you’re curious, the actual information content of this post will be as follows: C string handling functions kinda suck. So does C++’s std::string. Dealing with wide character strings using only standard C/C++ functionality is absolutely horrible. And VC++’s implementation of said functionality is a damn minefield. That’s it. You will not actually learn anything more from reading this post. Continue at your own risk. How not to remove whitespace.
|
|
|
|
|
|
_beauw_ wrote: Does he believe in Santa Claus as well?
Add the Tooth Faerie, and Easter Bunny too
"I've seen more information on a frickin' sticky note!" - Dave Kreskowiak
|
|
|
|