|
"You cannot parse HTML with regular expressions, because HTML isn’t regular. Use an XML parser instead." This statement - in the context of the question - is somewhere between very misleading and outright wrong. What I’ll try to demonstrate in this article is how powerful modern regular expressions really are. Let's look at all the grammars that regular expressions can parse.
|
|
|
|
|
...and then lets make sure we never actually do abhorrent things like that when parser generators will do the same task more flexibly, efficiently, readably and verifiably correctly.
|
|
|
|
|
The next version of Windows is apparently codenamed "Blue," and current rumors are that it will be released some time this year. If it pans out, this would mark the end of Microsoft's three-year upgrade cycle. The first alleged leaks of "Blue" have started to hit the Internet. As is common for early leaks, they're not giving a great deal away. Such leaks tend to fixate on version numbers, and such is the case with the "Blue" leaks. And it looks like... Windows.
|
|
|
|
|
That is not a good choice for a codename. I can see the jokes and the puns lining up, just waiting for a chance to be let loose.
Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
|
|
|
|
|
Better have a frikin start menu. >:
|
|
|
|
|
Windows 8 is a computer science masterpiece trapped inside a user interface kerfuffle. Microsoft’s new operating system for phones, tablets, laptops, desktops, and servers brims with innovative technologies, bold ideas, and visual elegance. The system’s radical new interface, called Modern, is a pleasure to use on phones and tablets. And although that interface fares poorly on today’s larger desktop computer screens, Windows 8 probably won’t damage the company’s standing in corporate America. It might even shore up its eroding presence on residential desktops and laptops by offering a user experience that’s new, fun, and different from anything offered by Apple and Google. Indeed, that’s my only real criticism of Windows 8... Designed for consuming information and having fun, rather than for doing serious work.
|
|
|
|
|
There are many ways of telling the history of universal computation, and many origins of the technologies we now consider computational machines. A longer history might begin with Gottfried Leibnitz and Isaac Newton's simultaneous development of modern calculus and the dream of a universal artificial mathematical language. Alternately, we might look to the history of calculating machines, beginning with Charles Babbage's Difference Engine or Herman Hollerith's Electric Sorting and Tabulating Machine. Most every history would certainly include the contributions of Alan Turing, an English mathematician who is considered by many to be the father of computer science. A series on the queer history of computing, as traced through the lives of five foundational figures.
|
|
|
|
|
The past year was a breakout for desktop 3-D printing. MakerBot released two new models, Formlabs debuted the first prosumer 3-D printer to use high-accuracy stereolithography, and a slew of innovative, printed projects lifted awareness and desirability of additive manufacturing for the general public. But the year ended with a legal hiccup. Formlabs will be dealing with a patent infringement lawsuit brought against them by 3D Systems, one of the biggest players in the industry. The hobbyist segment of the industry has been built on the back of expired patents, but as the Electronic Frontier Foundation has pointed out, many patents that will be required to advance the state of the art will not expire for years or even a decade. 10 patents that could severely stifle innovation in the low-cost segment of the 3-D printing market.
|
|
|
|
|
One of the oft quoted paradoxes of consciousness is that we are unable to observe or experience our own conscious minds at work; that we cannot be conscious of the workings of consciousness. I've always been puzzled about why this is a puzzle. After all, we don't think it odd that word processors have no insight into their inner workings (although that's a bad example because we might conceivably code a future self-aware WP and arrange for it to access its inner machinery).... Isn't this kind of thinking how Lisp got started?
|
|
|
|
|
|
Either that, or it could end up like Diaspora (raised $200,000 of the target $10,000, then took way too long, never really finished, and pretty much quit when one of the founders committed suicide).
|
|
|
|
|
I don't understand why they don't put a cap on the funding; it just feels like Kickstarter is taking advantage of successful ideas (because they always get a percentage cut).
I'm sure it's very cool to get this kind of money for your project, but if your scope was intended for 30K and you get a million, or God knows how much more it will inflate, it puts a much larger burden on your shoulders that you didn't ask for.
Suddenly you are responsible for a lot of peoples money; that can mess with your head and make you worry about other things than the project you've intended to do.
The whole idea of a kickstarter is to not have to worry about money; but having "too much" can be even more worrisome than having too little imo...
.
|
|
|
|
|
Yesterday, The New York Times reversed its opinion on the review of our Model S and no longer believes that it was an accurate account of what happened.
Never attribute to malice that which is adequately explained by stupidity.
|
|
|
|
|
|
Easy:
- Click 1: Open your browser;
- Click 2: Click in the address bar; (optional - you can use Ctrl+L instead)
- Type in the URL of the page;
- Hit Enter;
That's 1 or 2 clicks to reach any Internet page; what you do with the other 18 clicks is your own business!
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
We’ve already looked at MOOCs, tablet computing, gamification, and learning analytics. Joining 3-D printing on the ‘third horizon’, (or entering mainstream use in four to five years) is wearable technologies. Much like 3-D printing, wearable technologies are much less mainstream than tablets in the classroom, so they’ve gotten a bit less face time with our lovely audience (Shout out to you guys! Thanks for being awesome!), though there have been a few mentions as of late. The Horizon Report identified some of the trailblazers that are already using wearable technologies in their classrooms. New Project > Runway.
|
|
|
|
|
Hi. I’m a former developer who’s moved into database administration, and here’s what I wish somebody would have told me when I got started. File these away in a stored procedure for reference.
|
|
|
|
|
using three separate connection string for 1. realtime, 2. 15minutes old data, and 3. historical data --> What good suggestion.
dev
|
|
|
|
|
Contemporary compilers are capable of performing a wide variety of optimizations on the code they produce. Quite a bit of effort goes into these optimization passes, with different compiler projects competing to produce the best results for common code patterns. But the nature of current hardware is such that some optimizations can have surprising results.... GCC provides an optimization option (-Os) with a different objective: it instructs the compiler to produce more compact code, even if there is some resulting performance cost. Such an option has obvious value if one is compiling for a space-constrained environment like a small device. But it turns out that, in some situations, optimizing for space can also produce faster code. Is there an optimization for "fix my bugs"?
|
|
|
|
|
A couple of months ago, I was lucky enough to be asked if I would like to participate in an upcoming Intel challenge, known at the time as Ultimate Coder 2. Having followed the original Ultimate Coder competition, I was highly chuffed to even be considered. I had to submit a proposal for an application that would work on a convertible Ultrabook™ and would make use of something called Perceptual Computing. Fortunately for me, I'd been inspired a couple of days earlier to write an application and describe how it was developed on CodeProject - my regular hangout for writing about things that interest me and that haven't really been covered much by others. Our own Peter O'Hanlon explains his entry in the Intel Ultimate Coder competition.
|
|
|
|
|
Oh wow. I'm news now, and it's nothing to do with that court case, me and Salma Hayek.
|
|
|
|
|
Salma insulted you?
Wout
|
|
|
|
|
She certainly did; when she took out the restraining order.
|
|
|
|
|
Well, Insider News .
Just kidding, I am very impressed
Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
|
|
|
|
|
Thanks. The original approach was for Sacha and me to form a team to compete, but he couldn't compete due to other commitments.
|
|
|
|