Slashdot Mirror


User: infernalC

infernalC's activity in the archive.

Stories
0
Comments
232
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 232

  1. Re:I didn't know had names on Symbolic vs. Mnemonic Relational Operators: Is "GT" Greater Than ">"? · · Score: 1

    This begs the question: are they really different operators, or are you just writing the same operator in a different orientation? The fact that we type them differently is perhaps an artifact of the way we encode text on computers. We don't represent characters as a codepoint+rotation duple; instead, we can only record different characters, with a different glyph for every orientation.

    "=" is the only relational operator which is commutative. a = b implies b = a.
    = (Slashdot filters out the single glyph representation of this operator, U+2264) is not commutative. a = b does not imply (or preclude) b = a.

    Is there a name for the property of "" which is that a b implies !(b a)? You could call that operator "anti-commutative", perhaps?

  2. Sets and operators on Symbolic vs. Mnemonic Relational Operators: Is "GT" Greater Than ">"? · · Score: 1

    The state of set operators is terrible. In a lot of languages, you have to do crap like MyHaystack.Contains(MyNeedle). SQL has set operators, but not much better. I have always hated SQL predicates of this sort:


    SELECT *
    FROM ORDERS
    WHERE Orders.OrderNumber >= 6 AND Orders.OrderNumber < 56;

    It's just so much to type. Wouldn't it be much nicer if we could just use the set operators we learned in algebra?


    SELECT *
    FROM Orders
    WHERE OrderNumber [6,56);

    -- Argh! Slashdot... there should be an "element of" operator (epsilon) there after OrderNumber...
    -- but alas, you have filtered out the &isin; entity.

    See here for what should really display above.

    I do most of my SQL in the Watcom dialect (SAP SQL Anywhere) . You can do:


    SELECT *
    FROM Orders
    WHERE OrderNumber BETWEEN 5 AND 10;

    which is nice... but I like the idea of being able to express (shortly) both open and closed intervals.

    You can also say:


    SELECT *
    FROM Orders
    WHERE OrderNumber IN (5,10);

    but that means in the set {5,10}, not the open interval (5,10), which I find to be confusing.

    Part of the issue is that the set operators (e.g. epsilon) are not on 101-key standard US keyboards and are hard to type. The other issue is that the set and interval delimiters (, ), {, }, [, and ] have been misappropriated as code block delimiters. My first commercial-grade high-level language was PASCAL, and I thought BEGIN and END were just fine (they persist in Transact and Watcom SQL today). I also like Python's group-by-indent approach.

  3. MINIX 3 Developers? on Andrew Tanenbaum Announces MINIXcon (minix3.org) · · Score: 1

    Please don't be offended, but...

    Is that a version number or a head count?

  4. Copyright needs reform on There Is No "Next Great Copyright Act", Remain Calm · · Score: 1

    If anything, the digital dissemination of copyrighted works, on the whole, increases the speed with which they depreciate, since more people who desire to purchase a legal copy of a copyrighted work can do so much more quickly than was previously possible, and since legal copies of copyrighted works don't degrade in quality over time (if you have a good cloud to store them in). I think that copyright term should be reduced to account for this.

  5. Database skills on Ask Slashdot: Career Advice For an Aging Perl Developer? · · Score: 4, Insightful

    If you worked on something serious, it used an RDBMS or some other better-than-csv database for data storage and retrieval. Don't discount your database skills. Look for jobs requiring experience on that flavor of database, and talk up your skills.

  6. Postgres hands down on Why I Choose PostgreSQL Over MySQL/MariaDB · · Score: 4, Informative

    I come from a Sybase SQL Anywhere shop. It never ceases to amaze me how stuff that can be elegantly expressed in a couple of queries in Watcom-SQL typically takes four times as much code in MySQL's dialect. I love Sybase's support for the ANSI standards, subqueries, Java/.NET/C/PHP/Perl stored procedures when they are the right tool for the job (ever needed to resize raster images in an INSERT trigger coming from some third-party application?), and great drivers. I shouldn't have to spend 10 minutes trying to figure out why MySQL doesn't support the standard casting string concatenation operator by default (||), or why subqueries don't work like they ought, etc.

    Having used Postgres, all of the worthwhile MySQL features are there, most of the SQLA features are there, and the pain level is much, much lower in Postgres than MySQL for someone coming from a full-featured commercial RDBMS.

    What really sucks is all of the applications that are so coded around MySQLisms that they don't run on ANSI-compliant engines.

  7. It's a hard problem on Nipples, Terrorism, and Sexual Descriptions - Facebook's List of Banned Content · · Score: 1

    I don't think Facebook is competent to decide whether or not a church's refusal to recognize the legitimacy of homosexual couples is hate speech, or whether or not the state of Israel is a terrorist organization, etc.

    I'd rather them stick to standards that are not so subject to interpretation, like no depictions of one person's genitalia in contact with another person where either person is not of the age of majority. Let the nation states decide what those ages of majority are. Those sorts of standards are much less subject to interpretation.

  8. Re:rm on Ask Slashdot: What Tools To Clean Up a Large C/C++ Project? · · Score: 3, Funny

    -fr of course.

  9. Standard classifications on Analysis of Spacecraft Data Reveals Most Earth-like Planet To Date · · Score: 1

    Why can't they report this stuff using the standard classifications of planets? /me ducks

  10. My first programming language (5 years old, 1985) was Apple BASIC. Online interpreter:

    http://www.quitebasic.com/

    When I was in 3rd grade, we programmed in LogoWriter. Looks like there is a web-based LOGO interpreter here:

    http://turtleacademy.com/

    Next, I learned PASCAL.

    http://www.compileonline.com/c...

    None of that stuff is OOP (although imperative is still a very important paradigm).

    Once you want to move past kiddie stuff, I'd set her down with a C# IDE (the free-as-in-beer Visual Studio edition or the free-as-in-really-free MonoDevelop) and some YouTube tutorials.

  11. Andi Graph on How the Outdated TI-84 Plus Still Holds a Monopoly On Classrooms · · Score: 1

    Andi Graph is the bomb... you can switch between any TI-8x ROMs. The only thing I miss about it is the tactile keys.

    I own a TI-85. Therefore, I have no remorse about using the TI-85 ROM on my Android devices, as I'm not letting anyone use my calculator at the same time. I paid for the software.

    In conjunction with BlueStacks on my Samsung ATIV Pro 900T, I can even project and take screenshots of the whole calculator without any special TI hardware.

    https://play.google.com/store/...

  12. I recommend on Ask Slashdot: Is It Feasible To Revive an Old Linux PC Setup? · · Score: 4, Informative

    VirtualBox

  13. More nuanced choices would be nice here. on Kids With Wheels: Should the Unlicensed Be Allowed To 'Drive' Autonomous Cars? · · Score: 4, Insightful

    I'm a parent of four precocious kids in a small college town in the mountains of NC.

    We have taxpayer-funded public transportation here. 12 years old and up are allowed to ride the bus alone (to go to the library, etc). Would I let my 7-year old if he were allowed? No. Would I let him go with his 12-year-old brother who has a way to stay in touch with me? Probably.

    I don't think the issue here is automotive safety. A fully-automated car should be safe enough for kids to ride in by themselves, or it shouldn't be on the road. I think the bigger concern is, when is it okay to let your kids out in public without supervision? 72% of the people who said flat out "no" did so because they have the impression that parents should be attached to their children at the hip, or because there was no option for, say, 15 and up. Maybe kids should be able to earn the freedom of being out without their parents with good grades above a certain age, etc. The survey sucked. There should have been an option for unlicensed adolescents but not younger children, etc. Parental consent and discretion should be part of the equation as well. We're the ones responsible for our kids, and with that responsibility should come some discretion on our part.

    On a side note, I think autonomous cars will reduce the need for us to go out for non-social things. I mean, aside from losing the ability to pick the best produce, I certainly wouldn't mind telling my car to make a run to the grocery store for me. For me, shopping is just time I'd rather spend with my family.

  14. SChannel on How Does Heartbleed Alter the 'Open Source Is Safer' Discussion? · · Score: 2

    Most of the non-OpenSSL instances of TLS implementations out there are probably SChannel.

    I would be shocked if Microsoft hadn't had equally severe bugs, and further surprised if they could fix them as fast.

  15. POS Ready 2009 on Microsoft's Attempt To Convert Users From Windows XP Backfires · · Score: 1

    POS Ready 2009 *is* Windows XP SP3 with a cheaper license ($99).
    If you can get your hands on it, it's supported until 2019. Since end of support is 2019, they should still be providing security updates...
    https://www.microsoft.com/wind...
    They may be killing XP, but not it's lesser known twin.

  16. If you have to do it, this is how I would do it on Ask Slashdot: Automatically Logging Non-Computerized Equipment Use? · · Score: 1

    Put bar code labels on everything with the asset identifiers.
    Make a simple web app that authenticates to the LDAP server (you don't even have to write the auth part - Apache will handle that for you). The app will have two basic functions: start using asset and stop using asset.
    They will touch one function or the other and enter the asset ID to generate a log entry.
    Write an iOS native wrapper app for it using UIWebView and ZBar, to let them scan the asset tag using the camera on their phone.
    Leave a $170 iPod touch in the lab for anyone who doesn't have an iPhone, so they don't feel left out.
    If desired, automate sending nag messages to people who forgot to log stopping the use of something. Give them a way to enter corrections with a web form.
    Provide your bean counters with a suitable report, preferably something that exports to their favorite bean counting app's format (I'd probably use the free Crystal Java Runtime just because I know it).

    It can be made generic enough to get app store approval.

    Done.

    Cost to implement: 2 weeks of my time - negotiable.

    There is an upside to logging stuff like this besides satisfying the beanies... you also have data to justify new purchase requests.

  17. More like Slashvertisment on High-Gain Patch Antennas Boost Wi-Fi Capacity In Crowded Lecture Halls · · Score: 2, Interesting

    This is a parroting of a marketing-derived press release. Move along. I think I'm going to move along. Thanks for the memories, Slashdot.

  18. Copying music on Ask Slashdot: Best SOHO Printer Choices? · · Score: 1

    You do realize, in the post-Snowden era, that the NSA probably already forwarded your Slashdot submission along with your social security number and those of your 8 closest relatives to the RIAA, dont you? :-P

  19. She never saw the computer? on How a Grandmother Pioneered a Home Shopping Revolution · · Score: 1

    That's about the silliest thing I've heard today. A television screen, even in 1984, was probably a computer monitor. Granted it was NTSC, but around that time most televisions were switched over to digital tuners (which are computers).

    I mean, I'm a computer programmer, and I spend my day working in Visual Studio, vim, and NetBeans (depending on what I'm doing). By that logic, I never see a computer either, at least not the one I'm working on. I spend most of my day in an RDP session on a retired tradeshow 27" iMac. I have to touch xcode once in a while, but I mostly keep it for the real estate.

  20. quite a few browsers? on New Animated PNG Creation Tools Intend To Bring APNG Into Mainstream Use · · Score: 5, Insightful

    Animated PNG support is terrible... see:

    http://caniuse.com/apng

    No IE, no Chrome, Opera dropped it when they went to Webkit, no iPhone, no Android...
    looks like it's pretty much only available on 20%ish of desktop browsers and pretty much nothing mobile. You aren't going to get anyone to use it in a public-facing web application yet. Remember the days of "this site looks best in (Internet Explorer/Netscape/whatever)"... let's not do that again.

    Maybe if the HTML 5 standard said that conforming user agents have to do this it would put a little more umph behind it. Of course, the standard seems to follow browser development in many cases now, not the other way around.

  21. Here's some practical advice in return on Encrypted Email Provider Lavabit Shuts Down, Blames US Gov't · · Score: 1

    "...I'm planning to do a cross-country trip quite soon with a car..."

    Just a bit of advice I got from my sister this March after she and her husband drove from Boulder, CO to Decatur, IL:

    "Never accidentally drive across Kansas. It's surprisingly wide."

  22. I don't on The Days of Cheap, Subsidized Phones May Be Numbered · · Score: 1

    I'm a QA analyst for a software company. My workplace is saturated with WiFi. My wife has a cheap-but-has-everything-she-wants HTC One V (Android ICS) with prepaid Virgin Moble. I live 0.75 miles from my home, which is also saturated with WiFi. I get by on just an iPod Touch 4, with vTok for calls between me and my wife. We have $7/mo voip service at home for a pseudo-landline, but I bet I could put a client on the iPod if I wanted to.

  23. Another Star Trek innovation meets reality on Navy To Deploy Lasers On Ship In 2014 · · Score: 1

    Behold the phaser.

  24. Cost Benefit on Ask Slashdot: Why Is It So Hard To Make An Accurate Progress Bar? · · Score: 4, Informative

    Progress bars do not make sequences of actions complete any faster. In fact, they make them slower.

    That being said, take for example an installer that must perform the following steps during an upgrade:

    0. Figure out how many files need to be replaced.
    1. Replace 30 files of varying sizes.
    2. Add 10 files.
    3. Update a half million rows inn a table with a million rows setting a column to a computed value based on some predicates.
    4. Run a third party installation mechanism (MSM?) for a supporting library, etc.

    Modern computers are time-sharing systems. Each process that involves computation is at the mercy of the scheduler in the kernel to give it the cycles it needs to complete. That means that even if you measure the time it takes to complete some process, it's not going to be the same a second time, because the installation process doesn't get undivided attention.

    Steps 0 - 2 - you're at the mercy of the IO buses, hard disk, antivirus software interfering, etc.
    Step 3 - What shape are the database statistics in? How efficiently can you apply the predicates? What does the distribution of the data look like? You can't tell this ahead of time...
    Step 4 - Does this third party installer provide you some sort of metrics as it runs?

    These are the sorts of problems to be overcome to do an accurate progress bar. In short, they aren't worth overcoming.

  25. My e-reader killed its own market on Will Tablets Kill Off e-Readers? · · Score: 1

    I have an iPad2, which I use for all indoor reading with the Kindle and Bluefire apps. I also had, before the iPad2, a Sony PRS-300 and I still use it for outdoor reading. The iPad2 is already bordering obsolete, but the Sony still does what I want. It's only function is e-reading, and I just don't see how, except the battery being too expensive to replace, I would justify replacing it in the next couple years. When we get something like a piece of paper (a killer form factor) for e-readers, I will replace it.

    I guess what I'm saying is that the market is declining because people already have them.