|
Since the creation of touch screens, gestures have reigned in an entirely new aspect as to how we interact with our devices. As designers, we often only focus on the visual aspects of design, but hidden beneath (or above?) the visuals of what we create, there is an otherwise invisible concept. Gestures allow users to perform specific tasks in an extremely efficient and more dynamic manner. Some of the gestures we’re most used to are swipe to unlock, pinch to zoom, and pull to refresh. While those are relatively basic by most means, gestures have evolved greatly. Third party developers have began to truly utilize the potential that multi-touch displays hold, all within their apps. Rock, paper, scissors and...
|
|
|
|
|
Guatemalan police arrested U.S. software guru John McAfee on Wednesday for illegally entering the country and said it would expel him to neighboring Belize, which he fled after being sought for questioning over his neighbor's murder.
He used the good ol' Basic Instinct alibi ("I'd have to be stupid to be that obvious").
And it looks like the story about his location being revealed because of location data in a picture taken with an iPhone was legit.
|
|
|
|
|
lol yes saw that funny he wasn't being too careful about these things when he's on the run
dev
|
|
|
|
|
No matter how we choose to think about the grammar, it is certainly the case that try-catch-finally is different than if and while and for and so on; try-catch-finally requires a braced block. That seems inconsistent; is there a justification for this inconsistency? The last thing we need in this language is more ambiguity.
|
|
|
|
|
Yes; if , while , for , etc. should all require braces.
It's all Dennis Ritchie's Ken Thompson's fault! He shouldn't be allowed to design languages!
Well, maybe it's our fault for making them so popular.
|
|
|
|
|
PIEBALDconsult wrote: Yes; if , while , for , etc. should all require braces.
Yes! Agreed.
|
|
|
|
|
I remember the argument not so long ago about how outdated the concept of coding standards are. This is one of the standards that I believe is key to any project. Any if, while and for must use braces, even if executing only one statement.
One of the few places where VB.NET have got better syntax though, forcing you to add the End If, End While or Next...
|
|
|
|
|
Terrence Dorsey wrote: The last thing we need in this language is more ambiguity or something else .
FTFY
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
|
|
|
|
|
On this blog, I’ve been focusing pretty much exclusively on ASP.NET Web API, but today let’s step outside .NET, and explore how you could host RESTful HTTP services directly from the native unmanaged C++ code – and I hope, this is going to be a very interesting journey, especially as C++ is so much more efficient than any managed language. If you haven’t done C++ before, or haven’t done any in years, don’t dread, modern C++ is quite different than what you might be used to. Coding with Casablanca - like any other SDK, only more so.
|
|
|
|
|
The game you will be making in this walkthrough is using the MSDN Shooter tutorial. Shooter is a particular type of game with a set of well-defined limits around what it does when the user interacts with it. This tutorial is a good starting point for learning game development with XNA and publishing a game running on Windows 8 platform using XNA leveraging MonoGame. In addition to leveraging this technology for Windows 8, you can use the MonoGame technology for native cross-platform development with other mobile platforms. Write Once, Shoot Everywhere.
|
|
|
|
|
I was quite surprised when the veil of secrecy over the Windows Phone 8 SDK was finally lifted and it was revealed that its API had in fact very little in common with the Windows 8 API. Windows 8 essentially provides two APIs for writing (Metro) apps. There’s the XAML API and then there’s Direct3D.... Great! I can write a native C++ app using Direct3D and by extension Direct2D. Direct2D is after all just a user-mode library built on top of Direct3D, but a very important one at that. It powers such notable apps as Internet Explorer on both Windows and Windows Phone. Then to my horror, I get to the bottom of this page and I see this... You're not supposed to use Direct2D, but it does work... but you won't get into the Windows Store that way.
|
|
|
|
|
Mark Penfold takes a look at 10 of the best new tools to see the light of day in November. There are utilities for handling menus, forms, prototyping and more. This month has a very pragmatic feel to it. Lots of problem-solving applications. If they were carpenters' tools, they'd be the interesting little ones that appear just out of reach on a silhouette of their own above and behind the craftsman's workbench. Sisyphus.js wins for best name, but Pop App sure looks handy for prototyping.
|
|
|
|
|
This site supports a course and a textbook that guide students and self-learners through the construction of a modern, full-scale computer system - hardware and software - from the ground up. In the process, the students practice many major computer science (CS) abstractions studied in typical CS courses and make them concrete through 12 guided implementation projects. The lectures, book chapters and projects are highly modular and one can pursue subsets of them in any desired order and scope. All the software tools and course materials can be downloaded freely and in open source from this site. Why Bother? Because many CS students don't understand how computers work.
|
|
|
|
|
Step 0) Build a computer
Step 1) Define an Assembly Language and write an assembler
Step 2) Write the BIOS
Step 3) Write the HAL
Step 4) Write the OS kernel
Step 5) Write the system library
Step 6) Write a Command-Line Interpreter
Step 7) Write a windowing framework
Step 8) (Optional) Write a GUI
Step 9) Write a debugger
Step 10) Try the examples in the book
Step 11) Goto 1
|
|
|
|
|
Software that is commonly overlooked though essential is video or printer drivers (or other hardware). You may not realize that some of this software is written using PowerBASIC. There’s a good reason why this is the case. Programming languages have changed a lot since the old days when compiler makers were noted for counting CPU cycles and benchmarking them for speed. Today many programming languages produce resource hungry applications that end users often complain are slow and/or bloated. The people at PowerBASIC never lost that love of counting CPU cycles and benchmarking their compilers and are experts with Intel/AMD CPU machine language. This mindset, plus a reputation for rock solid compilers, has produced a current generation of compilers for Windows. If you want fast, reliable software with an amazingly small footprint, PowerBASIC is worth a look. Rest in Peace, Bob. GOTO Heaven.
|
|
|
|
|
|
What's old about it? He died last week. It's a nice tribute. Can't very well be doing new interviews.
Director of Content Development, The Code Project
|
|
|
|
|
Oh.
Bob Dole The internet is a great way to get on the net.
2.0.82.7292 SP6a
|
|
|
|
|
Minification is the act of stripping out unnecessary characters from code to reduce the size, and a minifier is the tool that does it. Most often, the term is applied to JavaScript although the technique can also be used on CSS and (to some extent) HTML. For the web master, the aim of minification is, of course, to reduce file size and thus speed up transfer times for clients. Using gzip compression offers bigger reductions in file size, and it’s often claimed that this makes minification redundant — a minified, gzipped page isn’t much smaller than an unminified, gzipped page. Although there is some truth in this argument, minification is still a useful technique. WhichOneComesOutOnTop?
|
|
|
|
|
Vector displays are now mostly historical oddities — old arcade games like Asteroids or Tempest, or ancient FAA radar displays — which gives them a certain charm. Unlike modern raster displays, the electron beam in the CRT is not swept left to right and top to bottom for each row in the image. Instead the beam is steered to a point and traces the lines of the displayed image. This is also a good time to mention burn-in on the CRTs...
|
|
|
|
|
A 20-year-old college student has rebuilt Portal, Valve's 2007 space-bending game, from the ground up, on—wait for it—a graphing calculator. In a display that puts the old calculator versions of Mario and Tetris to shame, Alex Marcolina posted to a gaming forum and reddit on Sunday about his re-engineered version of Portal. It took three years to build and cannot, due to resource constraints on TI-83/84 calculators, execute more than 16 kilobytes of code. Cake, and grief counseling, will be available at the conclusion of the test.
|
|
|
|
|
|
|
|
Want your app on multiple platforms without rewriting all the code? Here’s a summary of some of the tools, libraries and SDKs out there to support building multi-platform apps. Write once, write everywhere... or something to that effect.
|
|
|
|