Slashdot Mirror


User: TheRaven64

TheRaven64's activity in the archive.

Stories
0
Comments
32,964
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 32,964

  1. Re:Never finish on George R. R. Martin's "The Winds of Winter" Wiill Not Be Published In 2015 · · Score: 1

    JRRM does not write books to make people happy.

    My favourite book that he's written was Tuf Voyaging. Far lighter than the Song of Fire and Ice and the endings did make me happy...

  2. Re: You nerds need to get over yourselves on Why Coding Is Not the New Literacy · · Score: 1

    Even in Finance, they've done that. Look at PayPal. The only reason that it exists is that the banks and credit card companies dragged their feet with online payments. They're now doing free electronic person-to-person transfers, but it's still expensive to take credit card payments online.

  3. Re:You nerds need to get over yourselves on Why Coding Is Not the New Literacy · · Score: 1

    When people say coding is the new literacy they are not suggesting that everyone become professional programmers anymore then saying someone should be able to read and write means they should become professional writers.

    Exactly. Go back a couple of hundred years and you even have well-off people saying 'I don't need to learn to write, I can afford to hire a scribe'. You had people saying 'not everyone needs to learn to read and write, there aren't enough jobs for that many scribes anyway'.

    Before he retired, my stepfather was the head groundskeeper on a golf course. Not exactly the kind of job you think of as requiring coding skills. Except that they had a computerised irrigation system that could trigger sprinklers in response to various events (humidity sensors, motion sensors, time, and so on). It came with a partly-graphical domain-specific programming language for controlling it. It's going to be very hard in the next 50 years to find a job that doesn't require some programming to do it competently - even this kind of stereotypically low-tech job requires it now.

  4. Re:grandmother reference on Ubisoft Revokes Digital Keys For Games Purchased Via Unauthorised Retailers · · Score: 4, Insightful

    It's really the only viable answer to piracy that's left and publishers are embracing it wholeheartedly.

    I used to pirate games and I used to buy games. I eventually couldn't be bothered with pirating and worrying about malware or with trying to jump through the hoops that the publishers wanted, so I stopped playing games altogether. Then gog.com launched and sold me games that I was nostalgic about, cheaply. Then they started selling newer games. I spent more with them last six months than I did on total on games in the five years since Steam was launched and the industry wend DRM-happy. I can download DRM-free installers for all of the games, often in OS X, Windows, and Linux versions.

    It turns out that there's another answer to piracy that works: sell your product in a way that's easy to use at a reasonable price. Stop worrying about pirates and start worrying about customers. Someone who wouldn't buy your game anyway who pirates it is not a lost sale, but someone who can't be bothered to put up with your treating them like a criminal and so doesn't buy from you is. Buying a game from gog.com is easier than pirating and, if you factor in the cost of your time, probably cheaper as well.

    Give me a product I want for a reasonable price and I will happily hand over my money, because I feel that I'm getting something valuable in return. Don't, and... well, computer games are not the only form of entertainment available.

  5. Re:Support the EFF on EFF Unveils Plan For Ending Mass Surveillance · · Score: 4, Informative

    I'd also like to plug the FFII for anyone in Europe. They have a few MEPs among their members and have had some important successes. Less relevant in this particular issue, but they have a lot of overlap with the EFF in other places.

  6. Re:That's a nice democracy you have there... on Omand Warns of "Ethically Worse" Spying If Unbreakable Encryption Is Allowed · · Score: 3, Insightful

    Right. It doesn't seem like a threat to say 'if you pass this then we'll have to actually do our jobs!' It just makes you wonder what they're doing now instead...

  7. Re: DirectX is obsolete on DirectX 12 Lies Dormant Within Microsoft's Recent Windows 10 Update · · Score: 1

    Actually, a lot of these games just use WINE's implementation of DirectX. This either translates the calls to OpenGL or implements a DirectX state tracker directly if you have Gallium drivers configured correctly. The same is true of a lot of Mac games. Good luck getting WINE to run on a console though...

  8. Re:DirectX is obsolete on DirectX 12 Lies Dormant Within Microsoft's Recent Windows 10 Update · · Score: 1

    Your typical GPU driver is about 10MB of object code. It contains a complex optimising compiler and controls a device that has complete DMA access to your computer. It is written with speed as the only significant goal. Making a GPU driver 1% faster contributes enough to sales to pay the salaries of several driver developers. Making the GPU driver more secure generates zero additional sales.

    The shader code that's fed into this stack from WebGL is sanitised and is completely safe to run, assuming that your driver stack is 100% bug free. Still feel safe?

  9. Re:DirectX is obsolete on DirectX 12 Lies Dormant Within Microsoft's Recent Windows 10 Update · · Score: 1

    If you write a game that uses Direct3D, you can easily target Windows, XBox, and Windows Phone. If you write a game that uses OpenGL, then you can easily target all of the major desktop, mobile, and console platforms. If your game runs on a generation-old console, then it will run on current-generation mobiles as well. This gives you three markets: First release for high-end PCs, second for consoles, third for mobiles. You can get a solid revenue stream out of each one. You don't lose the Windows marked by choosing OpenGL, but you do lose every other market by using Direct3D.

    That said, the APIs are so similar these days that you'll typically use some middleware to provide the abstraction. All of the important code is written in the shaders and these are much easier to port between GLSL and HLSL than they are to port between different GPUs and maintain performance.

  10. Re:Modula-3 FTW! on Ask Slashdot: Is Pascal Underrated? · · Score: 2

    Implementing this in the standard library means that the language needs to support pass-by-reference (which Pascal and C++ do, but C doesn't). This single feature does a lot to reduce readability. In C, I know that inc(x) is a function that does not modify the value of x, without reading any additional code[1]. In Pascal or C++, I need to look at the definition of inc() to know if x will be the same before and after the call.

    An important idea at the core of readability for a language is the amount of code that I have to read to understand a single line. In any language that has pass-by-reference, this amount is larger than a language that doesn't. To achieve the same thing in C, I'd have to write inc(&x), and then everyone reading that code would know that x may be modified. (Note: the almost-equivalence of array and pointer types in C is a good counterexample where Pascal wins massively in readability).

    [1] It could be a macro, but most coding conventions require macros that can't be used as if they were functions to be all-caps.

  11. Re:Modula-3 FTW! on Ask Slashdot: Is Pascal Underrated? · · Score: 2
    This would be true, except for two things:
    • Lines with more than 66 non-whitespace characters decrease readability.
    • Statements with more than 66 non-whitespace characters are common in most programming languages.

    This means that you end up either with lots of continued statements or lots of overly-long lines in Python. If you have the former, then it's hard to see the indentation. If you have the latter, then you can see the indentation but the overall readability suffers. This can be fixed by using tabs for semantic indentation and spaces for alignment and an editor that supports highlighting tabs, but the Python style guides tell you not to do this.

  12. Re:Modula-3 FTW! on Ask Slashdot: Is Pascal Underrated? · · Score: 1

    There are some simple things where C is far more readable to a moderately experienced programmer. Consider the beginning and ending of blocks. In pascal, these are signified by begin and end. When you look at a chunk of Pascal code, they can be hard to pick out because they're just words in a sea of words. In C, you use the { and } symbols. These are symmetrical and the human brain has spent a lot of time evolving to be trivially able to spot symmetry because symmetry normally means 'predator about to try to eat me'. You can very quickly spot a column that has a { at the top and a } somewhere later (much more easily if they're aligned together and there's nothing else on the line). There were some studies done in the '80s that confirmed this, though sadly a lot of C coding conventions specify brace placement in a way that reduces readability.

    The main strength of Pascal is that it forces you to think more than C. If you don't write what you mean in Pascal, it usually fails to compile. C will happily do... something. This level of redundant verbosity makes Pascal both quite a frustrating language for experienced developers and a great language for teaching. I find that people who learned Pascal tend to write better C code than those that didn't, but neither group has a strong desire to write Pascal.

  13. Poor Alan Kay on Bjarne Stroustrup Awarded 2015 Dahl-Nygaard Prize · · Score: 4, Insightful

    'When I invented the term Object Oriented, C++ was not what I had in mind.' - Alan Kay.

  14. Re: No way! on Senator Who Calls STEM Shortage a Hoax Appointed To Head Immigration · · Score: 1

    There was an article a couple of years ago looking at how much US politicians who voted for particular legislation were given by lobbyists in favour of that legislation. It turns out that plutocrats actually don't pay that much for politicians...

  15. Re:Choose a CMS you like on Ask Slashdot: Has the Time Passed For Coding Website from Scratch? · · Score: 1

    - No security issues (other than bad Javascript or the web server itself): there's nothing to hack, and if someone were to hack the web server itself, restoring the site is as easy as re-uploading the files (all of which can be maintained in version control like git).

    For something like Jekyll, this also applies to the input. I use it for a couple of sites and, in both cases, the sources are Markdown files (easy to edit with your favourite text editor) stored in a git repo. When I'm working on updates, I run 'jekyll serve' locally and get a copy of the site on the loopback. When I want to push them, I can do jekyll build and then rsync the results to the web server (or do something more clever if I'm less lazy and want atomic updates). The entire change history of the site is stored in revision control and the revision control system contains everything necessary to recreate the site at any point in its history.

    I've yet to see a CMS that allows trivial rollback to earlier versions of the site or which makes it easy to store the content in such a way that a compromised web server can't damage it.

  16. Re:HTML = programming on Ask Slashdot: Has the Time Passed For Coding Website from Scratch? · · Score: 1

    I'm not sure I agree with your first premise. There are fairly trivial combinators that you can write in lambda calculus that are conditional flow control (i.e. reduce to either the left or right lambda expression based on a value). The implementation of ifTrue in Smalltalk (loosely) follows this model.

    More mundanely, the statement is obviously false because a language constructed with the basic arithmetic operators and unconditional branches is also turing complete.

    Only if the unconditional branch is a computed branch. Otherwise how would you implement a program that either terminates or does not terminate based on user input? The example that comes to mind is the x86 MOV instruction which, with a single unconditional backwards branch is Turing complete, but this relies on several other aspects of the surroundings that allow you to implement a conditional branch (or, at least, a select, which is morally equivalent).

    The simplest Turing-complete instruction set is a subtract-and-branch-if-not-negative instruction, but this is a conditional branch.

    I agree that conditional flow control is slightly too broad a requirement, as it depends on an imperative model. Conditional execution depending on input data might be a better way of phrasing it.

  17. Re:HTML = programming on Ask Slashdot: Has the Time Passed For Coding Website from Scratch? · · Score: 1

    Pressing a key on the keyboard uses symbols to control the behaviour of a computer. If your definition is that broad then absolutely any interaction that you have with a computer is programming and so the concept is meaningless.

  18. Re:A question for all the"deniers". on Science By Democracy Doesn't Work · · Score: 2

    Because we have had colder temperatures with more CO2 in the past

    This is true, but those times also had significantly higher ice concentrations. Paint a big chunk of the ground (and sea area) white and you'll see the

    the earth is primarily a self regulating eco-system leading to stability

    If you can say this with a straight face, then you have no idea of the history of the climate.

  19. Re:HTML = programming on Ask Slashdot: Has the Time Passed For Coding Website from Scratch? · · Score: 1

    Not even slightly. It has assignment, it has things with defined execution order that have side effects. There are declarative query languages, but SQL is not one of them.

  20. Re:I hope it works on Calls For European ISPs To Filter Content Could Be Illegal · · Score: 1

    I run my own DNS. I think it is strange that there is no easy DNS server available for Windows. And by basic I mean Install and forget (perhaps point your DNS to 127.0.0.1). So no additional settings. Just a very basic caching server for a single user.

    Doesn't Windows come with one of these built in? I might be remembering from the Server version, as it's quite a few years since I last ran Windows, but in Windows 2000 it was something you could enable in the services management interface.

  21. Re:I hope it works on Calls For European ISPs To Filter Content Could Be Illegal · · Score: 2

    It's quite difficult to argue that something that is a transparent cache and will always provide the requested data, just sometimes from a local copy, is equivalent to something that either requests or does not request the remote data and instead substitutes something else based on some external policy are equivalent.

  22. Re:More proof on US Senate Set To Vote On Whether Climate Change Is a Hoax · · Score: 1

    One of the big supermarkets in the UK used to have warnings on the backs of peanut packets saying 'Warning: may contain nuts'. I was confused by this until I found a packet that had been filled entirely with air due to an error at the factory. Then I understood the warning.

    Although on further reflection, it's still a bit confusing as peanuts are peas, not nuts.

  23. Re:Freedom of speech should be paramount on Calls For European ISPs To Filter Content Could Be Illegal · · Score: 2

    Every single article in the ECHR looks like that. They're all basically of the form 'Governments may not do X, unless they really want to'.

  24. Re: Legal? on Calls For European ISPs To Filter Content Could Be Illegal · · Score: 2

    If you think moving to China gets you away from greedy capitalism, then I can only imagine that the last time you saw any news from China was some time around 1960.

  25. Re:I hope it works on Calls For European ISPs To Filter Content Could Be Illegal · · Score: 3, Informative

    Depends. It's only snooping if they do it for recursive DNS lookups or DNS cache queries to third parties. If you set your DNS to 8.8.8.8 (Google's public DNS server) or OpenDNS or similar, then modifying this requires inspecting (and hijacking) traffic intended for a third party. Most of the time, however, users will have their DNS config set to whatever DHCP provides, which means that queries will go to an ISP's server. This doesn't require any interception or inspection of traffic, it just requires sending responses that don't match. If more places would roll out DNSSEC then this would be much easier to spot.