Slashdot Mirror


User: hey

hey's activity in the archive.

Stories
0
Comments
1,821
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 1,821

  1. library instead on GreenSQL is a Database Security Solution, says CTO David Maman (Video) · · Score: 1

    Or you could just put all SQL commands thru a function that made sure there were no administrative commands. This would be fast and seems like a good
    precaution. Could be an option for the major SQL wrappers (php, perl, Ruby). Enabled by default.

  2. Re:Thus why I dont trust "professors" to be expert on Prof. J. Alex Halderman Tells Us Why Internet-Based Voting Is a Bad Idea (Video) · · Score: 1

    Its a sign that somebody doesn't know what he's doing in security if he thinks a problem is easy.

  3. Re:Anonymity vs. Accountability on In Theory And Practice, Why Internet-Based Voting Is a Bad Idea · · Score: 1

    The person who tears the ballot off isn't a volunteer: they are paid. There are sometimes volunteer "scrutineers" who represent a party (eg Lib, Cons, NDP)... they just observe. They can keep their own list of who has voted so they can go an encourage their supporters to vote if necessary.

    I must say I can't think of a better system (not just 'cause I live here).

    For electronic counting, the ballots are feed into a machine that looks like a fax. Once machine per polling station. They probably report their tally
    after the polls close. This is smart too... the electronic counting is just a faster way of counting the paper ballots but doesn't replace them (like in the US).
    I saw those machines in a municipal election - not sure about prov or fed.

  4. Create your first Metro style app using C++ on The Windows 8 Power Struggle: Metro Vs Desktop · · Score: 2

    An article that everyone (including plenty Slashdotters) see when they open Microsoft Visual Studio today:

    Create your first Metro style app using C++
    [This documentation is preliminary and is subject to change.]

    A WindowsMetro style app is tailored for the user experience that's introduced in Windows 8 Consumer Preview. Every great Metro style app follows certain design principles that make it look more beautiful, feel more responsive, and behave more intuitively than a traditional desktop app. Before you start creating a Metro style app, we recommend that you read about the design philosophy of the new model. You can find more info at Designing Metro style apps.

    Here, we introduce essential code and concepts to help you use C++ to develop a Metro style app that has a UI that's defined in Extensible Application Markup Language (XAML).

    If you'd rather use another programming language, see:

    Create your first Metro style app using JavaScript

    Create your first Metro style app using C# or Visual Basic

    Objectives
    Before we start coding, let's look at some of the features and design principles that you can use to build a Metro style app with C++. It will also be helpful to look at how Microsoft Visual Studio 11 Express Beta for Windows 8 supports the design and development work. And it's important to understand how and when to use the Visual C++ component extensions (C++/CX) to simplify the work of coding against the Windows Runtime. Our example app is a blog reader that downloads and displays data from an RSS 2.0 or Atom 1.0 feed.

    This article is designed so that you can follow the steps to create the app yourself. By the time you complete this tutorial, you'll be prepared to build your own Metro style app by using XAML and C++.

    Comparing C++ desktop apps to Metro style apps
    If you're coming from a background in Windows desktop programming with C++, you'll probably find some aspects of Metro style app programming to be very familiar, and other aspects that require some learning.

    What's the same?
    You're still coding in C++, and you can access the STL, the CRT, and any other C++ libraries, except that you can't invoke certain functions directly, such as those related to file I/O.

    If you're used to visual designers, you can still use them. If you're used to coding UI by hand, you can hand-code your XAML.

    You're still creating apps that use Windows operating system types and your own custom types.

    You're still using the Visual Studio debugger, profiler, and other development tools.

    You're still creating apps that are compiled to native machine code by the Visual C++ compiler. Metro style apps in C++ don't execute in a managed runtime environment.

    What's new?
    The design principles for Metro style apps are very different from those for desktop apps. Window borders, labels, dialog boxes, and so on, are de-emphasized. Content is foremost. Great Metro style apps incorporate these principles from the very beginning of the planning stage. For more info, see Planning Your App.

    You're using XAML to define the entire UI. The separation between UI and core program logic is much clearer in a Metro style app than in an MFC or Win32 app. Other people can work on the appearance of the UI in the XAML file while you're working on the behavior in the code file.

    You're primarily programming against a new, easy-to-navigate, object-oriented API, the Windows Runtime, although Win32 is still available for some functionality.

    When you use Windows Runtime objects, you're (typically) using C++/CX, which provides special syntax to create and access Windows Runtime objects in a way that enables C++ exception handling, delegates, events, and automatic reference counting of dynamically created objects. When you use C++/CX, the details of the underlying COM and Windows architecture are almost completely hidden from your app code. But if you prefer, you can program directly against the COM interfaces by using the Windows Runtime C++ Temp

  5. thinking about stuff on Computer Programmers Only the 5th Most Sleep Deprived Profession · · Score: 2

    I'm a programmer and I can't sleep because I'm thinking about stuff (bugs, better algos, etc).
    Maybe this is a problem for authors or artists too.

  6. Re:This makes me think about Diaspora. on Google+ Unblocked In China; President Obama's Page Flooded With Comments · · Score: 0

    Not to mention the suicide of one of the guys. I think it was built on such faddy stuff because the developers were in college.
    Lets start again with COBOL ;) Java might actually be a good choice.

  7. I like my Boxee on The Best Streaming Media Player · · Score: 4, Insightful

    Apps are written in Python. There are currently about 250 now.
    I was shocked when I saw a friend's AppleTV... there was no web browser - stay in the garden children.

  8. Internationally on Google Seeks To Plant Antenna Farm In Iowa · · Score: 3, Interesting

    It would be cool if Google had farms like this all over the world. Then they could stream the content on YouTube. We could watch euro soccer matches for example.
    Or unfiltered news from the middle east, etc.

  9. Re:I have an idea for the style guide on Why Microsoft Developers Need a Style Guide · · Score: 1

    Seems handy when you have multiple variables with the same(ish) value:

    double dSomething = 123.4;
    int iSomething = dSomething;
    char szSomething[100];
    snprintf(szSomething, sizeof(szSomething), "%d", iSomething);

  10. {url: url} on Firefox's Web Push Notification System Announced · · Score: 1

    I enjoy code like:

            {url: url}

  11. cue the forbidden stuff on Pirate Bay To Offer Physical Item Downloads · · Score: 1

    - Lock picks
    - That crowbar-like tool for breaking into cars
    - bombs
    - guns
    - drug pipes
    - micky mouse ears
    etc

  12. Re:Hot Tapping on What To Do With a 1,000 Foot Wrecked Cruise Ship? · · Score: 1

    That's pretty amazing. Its too bad we have all this amazing tech for gas (which will run out). Imagine where we'd be if all the smart minds were working on something better.

  13. Academic Journals on Apple Unveils Software To Reinvent the Textbook · · Score: 1

    Academic journals could do with a reboot too.

  14. Condensation on Samsung Reinvents Windows (Not the OS) With Touchscreen Display · · Score: 1

    Then there is condensation and mildew.
    Maybe if its on top of the real window it could work for some limited purpose.

  15. Re:Easy and Advanced on The Condescending UI · · Score: 1

    The hate that kind of thing too. Just because we have the resolution to do that doesn't mean we should. Its like a video game.

  16. Re:This actually makes sense on Intel Breathes New Life Into Pentium · · Score: 1

    I wonder if there is a market there. If some body could make a really small graphics card. With very lower power consumption. It might even turn itself off once the system is booted. Perhaps it might not even do graphics - but just provide what the POST is looking for.

  17. Re:Who thinks this is bad? on Siri Protocol Cracked · · Score: 1

    It doesn't even have to be an attempt at a useful app. Just send some data to that server.

  18. Re:I like it on Fedora Aims To Simplify Linux Filesystem · · Score: 1

    I hope the kernel doesn't depend on any hardcoded paths in the filesystem. Besides /proc and /system.

  19. Re:I like it on Fedora Aims To Simplify Linux Filesystem · · Score: 1

    Looks good. Like a Mac. But all lowercase, please.

  20. I like it on Fedora Aims To Simplify Linux Filesystem · · Score: 2

    This makes sense to me. All those extra directories had historical reasons but time marches on.

  21. facebook on Can Open Hardware Transform the Data Center? · · Score: 1

    Ironic that Facebook (The walled garden company) is behind this.

  22. Re:Depends on why I'm referring to my profession on Career Advice: Don't Call Yourself a Programmer · · Score: 1

    Maybe need a new word: programineer.
    You are a senior programineer!

  23. Only works for asian stuff on Rendering Synthetic Objects Into Old Photographs · · Score: 1

    like dragons and Buddha. (Joke. I know its at Siggraph Asia.)

  24. Re:kid in front, semi in the back. on How Google's Autonomous Vehicles Work · · Score: 1

    My driving teacher told me that you should know what's behind you at all times.

  25. Re:Modern Perl? on Mojolicious 2.0: Modern Perl For the Web · · Score: 1

    Does it work yet?