Slashdot Mirror


User: Qzukk

Qzukk's activity in the archive.

Stories
0
Comments
6,329
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 6,329

  1. Re:PHP on Drupal Warns Users of Mass, Automated Attacks On Critical Flaw · · Score: 3, Informative

    XML would not be a standard SQL construct. Neither the PHP-internal mssql driver nor the microsoft PHP driver supports TVP.

    The postgresql way to prepare a statement that needs to do something like "... field IN ($1) ..." is to rewrite it as an array operation "... field = ANY ( $1 ) ..." where $1 would be an array, but PHP/PDO can't properly/securely prepare this since it doesn't understand array operations. You would need to manually escape each element and create a literal array string in your code and pass that as the parameter:

    pg_prepare($pg, "test", "select * from customer where id = ANY ( $1::int[] )");
    pg_execute($pg, "test", array("{52,149,288}"));

    Note that a varchar[] in PHP would look something like "{Smith,O'Hare,Wilkerson\\, Esq.}" so none of the normal SQL escaping functions would work properly (note that single quotes are not escaped, but commas and curly braces would be escaped).

    I think postgresql arrays are slightly nonstandard (you can declare them using "datatype ARRAY[size]" but postgresql does not enforce array bounds. MySQL does not do array datatypes at all.

  2. Re:That would make a nice background application on Australian Gov't Tries To Force Telcos To Store User Metadata For 2 Years · · Score: 2

    I figure once the government makes an example out of the first few people to do that, getting 0.1% of the population to join in will be an uphill battle.

  3. Re:Why not the Golden Age? on Imagining the Future History of Climate Change · · Score: 1

    The question is whether we can hold up our hand and say "stop! That's great! Leave the thermostat right there!"

    Or whether the heat will keep going up until the point where we have two short summer growing seasons punctuated by a scorching mid-summer that kills any modern summer crop not heavily irrigated (who am I kidding, we already get that for Texas corn crops).

  4. Re:So now my bill goes up. on Power and Free Broadband To the People · · Score: 1

    We are all worth the same are we not?

    You going to give the millions of people in government housing a job paying enough that they can afford an apartment without the government's help? No? Huh.

    I wonder how many of these have a part time job, and would probably like to work a second job but their manager keeps calling them in on 15 minutes notice instead of scheduling them in shifts.

  5. Outrage meter: barely twitching on Is the Outrage Over the FBI's Seattle Times Tactics a Knee-Jerk Reaction? · · Score: 4, Informative

    I'm having a hard time being outraged by a guy dumb enough to click a seattletirnes link on his myspace account.

    There are real things to be outraged over, like the time the government used a MITM attack at the ISP to serve malware on the real slashdot site.

  6. Re:super user on Dangerous Vulnerability Fixed In Wget · · Score: 1

    which has to run as root since it's unpacking and installing

    wget isn't unpacking and installing, it should not be run as root.

  7. Re:Bad argument on Black Swan Author: Genetically Modified Organisms Risk Global Ruin · · Score: 1

    will randomly create something dangerous

    How about intentionally create sometime dangerous in an unforeseen way? There are plenty of examples of that, for instance did you know that peanut allergies spiked after companies started roasting peanuts at a higher temperature in order to get them roasted faster? Turns out the increased temperature causes a protein to denature to a form that has a higher allergenicity than before. Not that that stopped anyone from doing it. More profits to be made selling cheaper peanuts to fewer people.

    I agree that there's not going to be any random surprises where someone tries to make a bigger corn cob but ends up with a mobile man-eating plant, but adding toxins to a plant we're supposed to be eating is going to need more testing to ensure that it's not poisonous to us, ideally by someone who doesn't have a vested interest in just declaring it safe and then retiring with a golden parachute before it begins to accumulate sufficiently in brain tissue to cause Alzheimer's.

  8. Re:The elephant can forget. The geek never learns. on Italian Supreme Court Bans the 'Microsoft Tax' · · Score: 1

    There is something distinctly fraudulent about buying a Windows PC and demanding a refund when you could have bought a Linux PC

    With, and I quote you: "tons of crap-tastic hardware ... for maybe $25 less than a Windows PC"? What fraud, precisely, does "the" geek commit when he wants quality hardware without paying for Windows?

    As an aside, you repeatedly use "the" as an indefinite article. Is there a reason for this?

  9. Re:Clarification regarding backports on OwnCloud Dev Requests Removal From Ubuntu Repos Over Security Holes · · Score: 1

    I am not impressed with ownCloud's heavy-handed approach to dictating what distros can provide in their repositories

    "Please do not ship outdated buggy binaries."

  10. Re:Gabe Newell is perhaps the biggest driver of th on PCGamingWiki Looks Into Linux Gaming With 'Port Reports' · · Score: 1, Interesting

    Let's be honest, SteamOS is done. Steam got exactly what they wanted from Microsoft and dropped it like a hot potato (so sorry, you'll never get to use that cool controller).

    Consider that for decades Microsoft has not allowed anyone, anyone to touch the user experience. Even after Netscape's antitrust lawsuit over active desktop, even after BeOS withered and died hoping someone would sell a windows computer with dualboot, or hell just a windows computer with a "Setup BeOS" icon on the desktop. Steam is facing the Microsoft Store and a real threat that the Microsoft Store will become the way to buy programs (see also: iOS). Steam trots out SteamOS, and Microsoft snickers. The hype train builds up, and Microsoft sweats. Games start to port and Microsoft snaps.

    Alienware ships a Windows 8 PC that boots to Steam instead of Metro.

    Now, let's step back a second and look at the big picture here. At the time, windows 8 adoption is absolute total shit, swirling the drain of a public restroom that hasn't been washed for years. The last windows evangelists are all hanging on imploring people to just try it out, just give it a chance, and oh by the way install Start8 to fix metro. Think about that. PC vendors are on the verge of revolt, their customers refuse to buy their goods, and all for the want of installing a $5 program to fix the metro experience. Best Buy is probably screaming at Microsoft, begging them to allow them to remove the metro experience so they can move their inventory. Hell, they're probably begging them to let them advertise their Geek Squad services to "optimize" the experience and install that $5 program for $100. But no, the Microsoft Experience is inviolate, the holiest of holies, eternally immutable. No matter how much hatred it gets, it Must. Not. Be. Changed .

    And then Alienware ships a Windows 8 PC that boots to Steam instead of Metro.

    SteamOS's job is done. When no-one was looking, Steam took Microsoft and snapped it like a twig. We'll never know exactly what dark magicks were invoked here, but in the blink of an eye, Valve routed Microsoft in a war that nobody even realized was being fought. When Japan makes an anime out of this event, GabeN will point at Steve Ballmer, say omae wo shindeiru and Ballmer's head will implode, without GabeN throwing a single visible punch.

    Steam OS will probably putter along, we'll probably see a few things be trotted out to keep the dream alive, after all the hype train did build up a lot of steam (pun not intended). Eventually a few of these AAA developers will say "it's really just not ready for the prime time" and we'll go back to getting a few wine ports and indie games from hardcore dedicated guys who just really love Linux.

    But the masses will probably never get to hold that controller.

  11. Re:Probably Not on FTDI Removes Driver From Windows Update That Bricked Cloned Chips · · Score: 1

    tl;dr: two years, later.

  12. Re:Sorry They're Changing on FTDI Removes Driver From Windows Update That Bricked Cloned Chips · · Score: 2

    Well obviously you can, you just need to install this driver.

  13. Re:UK article, US units on U.K. Supermarkets Beta Test Full-Body 3D Scanners For Selfie Figurines · · Score: 1

    I'm sorry but the best we can do is 1:1 scale, it doesn't enlarge.

  14. Re:But disabling GSM when possible is still smart on Deutsche Telecom Upgrades T-Mobile 2G Encryption In US · · Score: 1

    They're eager to do things they can charge for. I bet AT&T charges a pretty penny for the connections to room 641A

    They're a little less eager to do things they can't make money on. Of course, if they don't participate they might find themselves like Qwest's CEO, who lost all the government contracts because he wouldn't play ball with the NSA, then got arrested on securities charges for losing stockholders' money by losing the government contracts.

  15. Re:Only for root users on Windows 0-Day Exploited In Ongoing Attacks · · Score: 1

    well managed environment

    Number one target for this will be grandpa forwarding that patriotic slideshow with God Bless America playing as it pages through sunsets and crying eagles and a root kit on the 4th slide.

  16. Re:Feature not a bug on Ask Slashdot: Stop PulseAudio From Changing Sound Settings? · · Score: 1

    Sure, if you don't want to change the volume of your audio, you can ignore the audio control.

    Or you could open your mixer app of choice and turn up or down each individual program one at a time separately instead of using the master control to turn them all up or down together.

    Both options will allow you to ignore the master volume control.

  17. Re:Moral Imperialism on Manga Images Depicting Children Lead to Conviction in UK · · Score: 1

    http://en.wikipedia.org/wiki/J...

    The answer appears to be yes, as long as you don't do meth.

  18. Re: Moral Imperialism on Manga Images Depicting Children Lead to Conviction in UK · · Score: 1

    He's saying that the powers granted by the Constitution are the total powers of the Federal Government. Anything not mentioned in there is reserved for states and the people.

    Your task is to cite where the Constitution gives the feds the power to prohibit this material. I suggest you go for interstate trade, that's what everyone else does: "you found it in your backyard and kept it for yourself? Interstate trade!"

  19. Re:Feature not a bug on Ask Slashdot: Stop PulseAudio From Changing Sound Settings? · · Score: 1

    I have no idea what 'master' is even supposed to mean.

    Once upon a time when ye were but a wee lad, we had sound cards with multiple channels for cd audio, midi output, wav output and so on. Legends say some cards even had separate controls for left and right speakers, and many a story was told of people who heard ghostly music through one speaker as if they were only hearing half of the song.

    Back then, you could adjust those channels separately or use the "master volume control" to set all of them at once.

    Now that we have per-app mixing capabilities and volume controls we still have a master audio control, only now it's in software instead of in the soundcard.

  20. Re: Wireless bandwidth is limited on Internet Companies Want Wireless Net Neutrality Too · · Score: 1

    Don't you want to discriminate voice

    The telcos do, that way they can degrade Vonage connections until you cave in and get their phone service.

  21. Re:Can we talk about two things at the same time? on Internet Companies Want Wireless Net Neutrality Too · · Score: 4, Insightful

    When we talk about Netflix/Google/Amazon buying fast lane access to users, we're violating the rules of Net Neutrality to give people what they're paying for faster

    I'm pretty sure thats why when we talk about netflix being forced to buy fast lane access to users in order to get video to their customers at the speeds the customers paid their ISPs for, we use negative and derogatory terms about the ISPs, especially Comcast.

  22. Re:WTF talk about misrepresentation. on ISPs Violating Net Neutrality To Block Encryption · · Score: 1

    was this happening to GMAIL and Yahoo or any other SMTP services using the same network? No?

    I've never seen an ISP with a mailserver apps.______.com? (I suppose if you were right and it only affected the ISPs own server, that hostname alone could help identify the company involved)

      My T-Mobile UK link clearly indicated that T-Mobile UK had been doing it to every SMTP server:

    "This isn't just for my mail server, I experienced the same problems using smtp.gmail.com as well," said Cardwell.

    and additional comments indicated that moving the server to different ports did not fix the issue because T-Mobile UK was using packet inspection to determine what kind of connection was in use and blocking based on that, not simply based on port. My mistake though, it looks like T-Mobile UK was using a Sandvine-style RST attack (like Comcast used to shut down Lotus Notes and Bittorrent users) to shut down the connection rather than Cisco-style packet rewriting just to disable TLS, so I'm probably wrong about it being T-Mobile. I agree that we should have gotten the name of the ISP so that those of us who require encryption for medical records, legal records, national security reasons, etc would be aware of the potential problem.

  23. Re:WTF talk about misrepresentation. on ISPs Violating Net Neutrality To Block Encryption · · Score: 1

    For some reason the SMTP server isn't supporting STARTTLS which is dumb, stupid and down right naive

    The SMTP server supports XXXXXXXX just fine. It's just that mysteriously whenever you send the XXXXXXXX command through this particular ISP, it replaces the XXXXXXXX command with X characters before the server receives the packet.

    This is a standard feature of Cisco gear (I had a PIX back in the early '00s that had this on by default), though I've never had a good explanation as to why. I definitely have no explanation as to why it would be turned on, on carrier grade gear.

    I suspect that the carrier involved might be T-Mobile. And in that article, T-Mobile UK openly admits that some customer contracts forbid VPNs (what hyperbole?)

  24. Re:*sigh* ... Lack of problem. on Who's In Charge During the Ebola Crisis? · · Score: 2

    Focus all the worlds efforts on the people there

    Yep, the world has no shortage of people wanting to take a one-way trip to ebolaland.

  25. Re:Logo? on Goodbye, World? 5 Languages That Might Not Be Long For This World · · Score: 2

    But APL lives on!