topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 19, 2025, 4:42 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 46 47 48 49 50 [51] 52 53 54 55 56 ... 364next
1251
General Software Discussion / Re: Wave? Good-bye!
« Last post by f0dder on November 24, 2011, 03:30 PM »
Google WhateverAVE.

Didn't play with it myself, but from what I heard it was too complex, too alien, too sluggish, and didn't integrate well enough with non-wave services. And it had this "well, we made this cool new thing, but we don't know quite what to do with it, and aren't going to market it very heavily" feel from the start, so it comes as no surprise to me they're killing it off. GTalk integration in GMail goes a long way, anyway.

Now, killing off google code search, that's a shame. It was an interesting idea, and there was an interesting IDA plugin for it :)
1252
Living Room / Re: FUNNY~! Drinking Water DOES NOT Hydrate!
« Last post by f0dder on November 24, 2011, 03:07 PM »
Even cheaper?

Go dumpster surfing :)
1253
Developer's Corner / Re: $50k opportunity for software developer(s)
« Last post by f0dder on November 23, 2011, 09:53 AM »
Are you already collecting data from the various devices and storing it in the database, though, or is part of the job to do the data collection as well? That's kiiiiinda relevant :)
1254
Living Room / Re: FUNNY~! Drinking Water DOES NOT Hydrate!
« Last post by f0dder on November 22, 2011, 03:17 PM »
And something like this should NEVER have a claim attached to it intended to try to fool the public into thinking that it is healthy and good for you!
That looks PERFECTLY healthy to me. Mental health rather than physical health, though :-*
1255
General Software Discussion / Re: iPad2: alternative to Stanza?
« Last post by f0dder on November 18, 2011, 08:15 PM »
I have the metadata pretty well nailed down in Calibre, and it shows just fine when I use Stanza to browse the booklist from Calibre... but it seems like Calibre only keeps the metadata in it's own database files, and doesn't update the PDF files. Very good default choice (lots of DIEDIEDIE to applications that touch my files without asking), but I'd like an option(*) to update the PDFs - because once in Stanza, some of them have reeeeeally cruddy metadata :)

(*): option might be hiding somewhere right under my nose :-)
1256
Developer's Corner / Re: Herb Sutter's brief look at C++11
« Last post by f0dder on November 18, 2011, 05:19 PM »
I'm a bit mixed wrt. Scala. Haven't had time to produce any code for it yet, only read some blog posts and reading through Dean Wampler's Programming Scala.

Parts of it seem very well constructed - it takes type inference even further than what C# does, in a good way. It reduces syntactic clutter, mostly in good ways (it takes a bit getting used to and a bit time accepting when you're used to C-style declarations; e.g. Scala has Pascal-style return type declaration). But after the "that ain't look like how we usually do things around here!" culture shock, most of it seems pretty sane. And some of the syntactic sugar lets you write pretty succinct and almost beautiful code.

Other choices seem outright weird, though. And some things seem to have roots in JVM limitations (like type erasure on generics... one of the biggest mistakes in Java/JVM, IMHO).

One of the biggest appeals of Scala, to me, is that it seems like a "mostly sane" language that does away with a lot of the teeeedious syntactic baggage of Java, adds features from C# I really like, but not tied to MS (not that whOracle is that much better, but we'll see how all that goes down).
1257
Living Room / Re: Anyone got an iPad and like it?
« Last post by f0dder on November 18, 2011, 05:10 PM »
I bought an iPad2 (WiFi-only 16GB model) back in September. It's been a mixed experience. But, in spite of my flaming hate of crApple and most everything they represent, I kinda like the device. It's pretty clear it's a consumer device, though, in a lot of aspects.

The iPad is used mainly for light surfing and eBook reading, and the occasional game of Mahjong. It's a pretty expensive device for those needs, and even taking all it's capabilities into consideration I'd say it's grossly overpriced (~650 USD here in Denmark).

So, why an iPad? I seriously considered a Kindle, since they're craploads cheaper and the e-ink technology is better for reading (easier on your eyes, better viewing angles, no glare problems, et cetera) and has much longer battery lifetime. However, I had a chance to play around with a Kindle, and it just isn't very comfortable when dealing with tech books and needing to page back and forth - the physical dimension of the screen doesn't match most tech books, and PDF doesn't reflow. And screen updates are sloooow (comfortable enough for reading-a-page-and-advancing-to-next, but not flip-flopping).

In addition to that, the project I'm currently working at requires a 2x1-hour train commute a couple times a week, and the train is really too cramped for laptop use to be comfortable - a netbook wouldn't be much better. A tablet is perfect in that situation; I can catch up on non-work related web browsing to and from work while there's network coverage (WiFi hotspot feature of the work-provided Android phone is nice!), and eBook reading or Mahjong when there's no network.

With the attempt at justification out of the way, a look on the good and bad.

The good includes the instant on, and instant-on-network feature. This might sound like a small thing, but it's a deal-changer really. There's a lot of situations where I'd either be annoyed at having to turn on a computer, or miss out on an "information opportunity", where it's just so fast and easy to grab the ipad and check something out. Works wonders when having discussions in bed, wikiepedia/google/imbd/whatver to the rescue and an argument (or just plain curiosity) is settled.

For a fair amount of situations involving travelling, I enjoy having access to the internet - but don't really need a fully capable computer. An iPad is a lot smaller and lighter than a netbook or laptop, and fullfills the basic needs. This does matter when your backpack is fully stuffed and already pretty heavy before adding the internet-junkie-device :)

The physical build is nice. I've played around with a couple of android tablets, and they felt very flimsy (and were pretty slow) - and as expensive as the iPad. A real shame, I'd definitely enjoy a more open platform...

Stuff in general seems smooth and fast - gotta tip my hat to the graphics stack in iOS.

Now, the bad parts.

#1 being the walled garden "we know what's best for you" approach, and the tie to crapTunes. Now, it may have been me doing something wrong, but I couldn't even get the thing to turn on before connecting it to a machine with crapTunes installed. And the registration process required me to enter my VISA CC#, and the final step showed up in Spanish... yeah, crApple software is intuitive and just works, *cynical laugh*.

The UI is pretty incoherent, with different apps trying to look all snowflake unique. It's silly for iBooks and Newsstand (for instance) to try to look like physical places. Gimme something lean-and-mean without clutter and stupid textures, kthxbai.

The lack of multitasking. I can't play a youtube video in the background, neither in the dedicated youtube app nor an inline video on, say, facebook. Not even when staying in safari but simply browsing another tab.

Youtube is also pretty damn incoherent. Sometimes videos play inline. Sometimes they open the external youtube app. And sometimes they won't play at all (AFTER switching from safari to the youtube app) - of course because you've hit a flash-only video, which the pad doesn't support. Lack of flash & Java support doesn't bother me, but the scizophrenic user experience does.

Also, the lack of a "back to what I was doing before you launched this other thing" capability would be nice. Sometimes the four-finger-drag gesture of iOS5 works, but often I find I have to press the "back to home screen" button and then launch safari again (which does remember the open tabs, at least).

But safari and open tabs... that's another issue. If you open too many tabs, it will simply silently close older tabs. No "launching a new tab will close old tab, proceed?" prompt or (more crApple-style, I guess) simply disallowing you to open more than N tabs. Nope, we silently kill your older tabs. Great intuitive design. Yeah, memory is limited, but you could at least keep the tab with just an URL reference and just reload content, you c*nts!

Content-reloading happens often, anyway. Not that big a deal, I can appreciate it's necessary when you have such limited memory, but it can seem a bit arbitrary just when it happens. Sometimes I can read 4+ news articles and go back to an index page without reloads, sometimes everything reloads after reading one article.

On iOS4, Safari used to crash at least a couple of times a week. Sometimes just exiting without notice, sometimes freezing up and requiring me to hit the home button. With iOS5 it happens roughly once a week. SOLID SOFTWARE ENGINEERING THERE, crApple!

The official twitter client makes a bleep noise when updating, even when volume is turned all the way down. (I don't really use twitter, I just follow Notch and trent reznor and john carmack. Honestly. I'm not one of those people :-[ ).

The way how everything is so... limited sucks. No way to access your files, you're at the mercy of how crApple deems you should do things. Which means crapTunes. Or the occasional opportunity to email stuff, or send to dropbox, if you're lucky. Yay, having to transfer files to the interweb and back, instead of copying stuff locally across wifi... <3. And iCloud is also just a magic black box, no useful web interface that lets you get at your files. Dumbed down, locked-down, we-control-your-assets.

One of the reasons I bought the iPad in spite of all the locked-down-ness was because Stanza provides a sane way to get your ebooks onto the ipad - pull from a Calibre server on your LAN via WiFi. And darn were I pissed when iOS5 broke Stanza! I mean, come on, you've got a super-limited OS that only has to run on very specific hardware... and yet an OS upgrade breaks a user-mode program? I've got software written for Win95 that still runs on 64bit Win7... that's 14 years and major architectural differences under the hood, but still servicing a lot of the same software. And crApples platform has applications breaking for a relatively minor OS upgrade? Meh.

I think that's enough bile for now, might add more later when I bump into or remember other annoyances.

Even with all that, I haven't regretted buying the iPad. There's several days where I don't turn on my workstation or private laptop now, since I can fullfill surfing/mail/facebook/etc needs from the iPad (and thus don't get sidetracked with all the stuff present there (like... world of warcrack). I just wish the platform was more open, didn't hold your data hostage, and that it wasn't so ridiculously expensive.
1258
Developer's Corner / Re: Herb Sutter's brief look at C++11
« Last post by f0dder on November 18, 2011, 05:07 PM »
Please educate yourself :)
How?
Try actually using some of the new features. Think about how they can change the way you code, for the better. Read blogs - I'd suggest checking out C# and Scala stuff, those have had lambdas and type inference longer than C++ (thus more information available, more experiences on "oops" and "aha!" moments) - and while having some FP traits, they're both a lot closer to C++ than the "real" functional languages.

Multi-paradigm ftw.
1259
General Software Discussion / Re: iPad2: alternative to Stanza?
« Last post by f0dder on November 18, 2011, 04:07 PM »
Stanza has been updated, and I can confirm that it again works in iOS5.  There was apparently a problem with the library, so that could be an issue.
Wonderful - back to having a sane method of transferring PDFs to my iPad(*) :-*. I seriously thought Amazon had killed off Stanza for good.

(*) well, technically, pulling them from Calibre, using Stanza using my iPad.
1260
Living Room / Re: Steve Jobs is dead.
« Last post by f0dder on November 18, 2011, 04:04 PM »
Why did he get the cancer in the first place if he was trying to eat healthy ? Difficult question.
Carcinogens in the acid he was dropping? :-)
1261
Developer's Corner / Re: Herb Sutter's brief look at C++11
« Last post by f0dder on November 18, 2011, 03:52 PM »
Sounds like a great way to make code disposable, because coming back at a snippet months later it wont be real clear what the hell it does if it isn't commented thoroughly. ...And then you're just changing what you have to type (not eliminating it).
If misused, yes - but if used correctly, it's going to make code a lot easier to read, because it reduces irrelevant line noise.

Iterating a collection is one example, already shown - it's pretty atrocious in old-style C++, and franky... You don't need all the information present in such a block, it's noise. What you're interested in 99% of the time is not how you iterate, it's what you're doing in each iteration. Simplifying the 99% is, by itself, a pretty good idea... and it makes the 1% where you have funky iterator needs stand out. That's good as well.

And for declaring variables - you already have the full variable type on the right-hand side of the assignment expression, duplicating it to the right is a waste of time, and nothing but line noise (unless you need to construct some concrete subtype, and assign it to a generic interface type... but that's another case of the specific and special use case that with C++11 doesn't drown in the 99%).

C++11 is meh. I mean, lambda functions, wtf are they good for? Especially combined with "auto".
It's good for writing expressive, elegant and succinct code... focusing on what's going to happen, instead of the (often irrelevant) minutiae of implementation details. It also lets you rethink API design - turning things inside-out can be quite beneficial.

You might see lambdas as just syntactic sugar for function objects, but they're the glue that makes functional-style programming feasible in C++... The STL algorithms used to be a real pain to use, it's much more interesting now we have lambdas.

And you get all this goodness while still having a strong statically typed typesystem, compiler-checked, and with pretty much the best damn performance of all of the higher-level languages.

So C++15 or something will maybe allow us to drop the type completely, let's call it "C++ PHP Edition". Oh wait, PHP introduced types...
Please educate yourself :)
 
I will use auto like crazy. I will actually use it wherever possible.
I think you can go a bit overboard, really. I wouldn't personally use it for primitive types - and I'm wary of using it for variables assigned to the result of a function call. Yes, an IDE will show you the type on mouse-hovering, but you don't always have an IDE... and even when you have, it takes precious milliseconds to deduce the type of a variable that way.

It depends on the code, though. If the variable type seems entirely irrelevant, and all operations are clearly understandable by looking just at the code using the variable, I might still use auto for function-return-assigned variables.

auto does also not replace typedef, as the type of a lambda expression for example is only known to the compiler (if you want to assign the lambda expression to a variable).
Variables with "unspeakable (type) names" - I love that expression :D
1262
Living Room / Re: Stormdriver: blue pill or red pill?
« Last post by f0dder on November 18, 2011, 03:26 PM »
I doubt it's going to work everywhere.

And even if it did, would you want it? Having all of your traffic analyzed and profiled, worse than even google and facebook combined? Oh, happi happi joi joi.
1263
Post New Requests Here / Re: Idea: detect fake 320kbps mp3's
« Last post by f0dder on November 18, 2011, 03:24 PM »
Dunno if it's something you can reliably do programmatically - looking at the two screenshots as a human, knowing that it's the same track, it's clear that the second version is the best. But is there an algorithm you can use? Would a frequency cutoff be enough? Or would you need some neural network fancyness and training?

Definitely something that should be answered by a programmer familiar with audio analysis :-)
1264
Living Room / Re: Hard drive shortage
« Last post by f0dder on October 27, 2011, 05:44 PM »
Most of WD's factories have been shut down by flooding in Thailand, and since many of the components used b other manufacturers come from the same industrial parks in the Bangkok area, the cost of all hard disks is expected to soar for the foreseeable future.
Especially since people have begun stockpiling.

Glad I got my server replacement drive before the flood!
1265
General Software Discussion / Re: Windows H8 - On Physical Hardware
« Last post by f0dder on October 27, 2011, 05:43 PM »
Sales manager had half a dozen (of the in-box) games running on it at once and it still zipped along just fine on the old-ish TouchSmart.
AFAIK, Metro apps are suspended when you switch to another app.
1266
Living Room / Re: Steve Jobs is dead.
« Last post by f0dder on October 27, 2011, 08:37 AM »
No, but even with Jobs still alive, you never heard any kind of banter about them like you did for Jobs.
In the case of Gates, it's probably because that - even though he's done some nasty things, and MS is a big nasty bully - the person Bill Gates seems to have a lot of redeeming qualities... and doesn't think of himself as a super very important demigod.

Larry Ellison? May he suffer in hell. whOracle is right up there with crApple in terms of pure evil.
1267
Oh, there won't be any EU or anything else in 50 years worth of time - we'll all be Chinamen by then, so no worries. I don't plan on sticking around for that long anyway :)
1268
Living Room / Re: Good book to learn PHP?
« Last post by f0dder on October 26, 2011, 02:15 PM »
If they're charging more than 10$ for a particular language book and going to fill up half of the space with gibberish text that covers (loops, variables and manipulators) and that too with less code, then i have to say that it's time waster
For an introductory book on a language, teaching the basics is warranted. If you already have some language knowledge, you're likely better off going for an intermediate level book instead, unless it's a paradigm you haven't worked with before (if I were to tackle LISP, I'd go for a beginner's book :)).

and IMO - 'band-aid approach' programming is way better than this gibberish text approach.
Page up and page down of dead code listings doesn't help anybody (see "Virtual Machine Design and Implementation in C/C++" for an example of a pretty crappy book that has plenty of code). Sure, you do need some amount of code snippets to get the feel for a language, and you need an introduction to the major API areas.

But instead of dozens of code snippet and trying to cover every API, it's far more important to teach the idioms of the language, how the parts go effectivey together. The reasoning behind using one approach over another. For that to work, you need both code and text... and this the kind of stuff Sutter and Meyers are pretty darn good at doing.

Correct me if i'm wrong here, i think learning only one language with dedication (that too any one of your choice) and then moving onto second language on your own without using these books gives much sane feeling to mind. Web tutorials and stackoverflow keeps you in much comfortable position for second language than these books.
Dedication is definitely important, and so is keeping up with StackOverflow, blogs, and other resources. But IMHO you don't properly learn a second language effectively&efficiently just from those resources - you'll be writing your-first-language idions in the new-language-syntax.

You need (good!) books or lot of practical experience (doing real-life projects with people who are good at the language) to properly learn a new language. Some people might argue that you can just take a look at some existing open-source projects, but those are usually badly documented and commented... and even if those are well-done, you'd really want "annotated sources" which people just don't do.

But of course I'm speaking from the mindset of wanting to learn a new language well, not just being able to pick it up over a weekend in order to take a job offer and deliver sloppy hackjobs :P

I've got a copy of Sam's Teach Yourself C++ in 24 hours, it came with the copy of Borland's C++ v4.52 that I got from the Staples discount bin for $10. Now while Sam - for the most part - was completely full of shit (on the 24 hour part). The book has come in handy from time to time when I was having a thick moment and needed a really (really...) simple explanation using (very) short words... :)
IMHO no beginner should touch the "Teach yourself whatever in N timeunits" books. They might be appropriate for experienced developers who need to get a quick overview of some language and some ideas of topics to investigate further... but probably these days online resources would be better. At least the teach-yourself-X-in-Y books I've seen have been bloody horrible :)

FWIW, the kind of books I find valuable is stuff like Scott Meyers' "Effective C++", Herb Sutters "Exceptional C++". To some degree Bill Wagner's "Effective C#", and definitely Jon Skeet's "C# In Depth".  Those aren't beginner books, they're about using languages... welll... effectively.

But I digress.

1269
The police busted up protests here in Melbourne. I heard something about issuing permits and what not. Huh? WTF? You need a permit to protest? That's pretty f***ing pointless...
Dunno about that, really.

We need permits in .dk. That way the police can redirect traffic and stuff. And since we have freedom of speech and freedom of assembly and freedom of forming political groups, even the nazis and the anarchists are allowed to protest... having to file for permits in advance means the police can protect those silly groups from eachother.

The last couple of years we're beginning to see very heavy-handed methods being used against protesters, especially left-wing people. While a good number of them deserve everything they got (it really isn't such a hot idea throwing rocks at the police), a lot of innocents have been arrested as well - without reason - and have been forced to sit in the "ever so wonderful scandinavian winter weather" for hours, pissing their pants, et cetera.

Yay for the Amerikan influence.
1270
They could easily have had the same impact using a much more limited or staged release of documents in their possession on more than one occasion. But they instead chose to show some 'attitude' and rashness. And that will cost them dearly in the long run. Possibly even to the point of it being their undoing.
Spot on the sugar.

Before releasing anything in public, they should have data-mined and cross-referenced things heavily, and worked together with global media to run some in-depth unveiling of corruption.

The only things I can remember seeing in Danish media wrt. wikileaks have been...
1) the Assange rape accusations - which didn't really have anything to do with WL as such.
2) bitching over leaks because of "zomg they're endangering the troops".

But any use of leaked material in stories about corruption? Haven't seen it.
1271
Living Room / Re: Good book to learn PHP?
« Last post by f0dder on October 25, 2011, 08:11 PM »
There are some php tuts and snippets on the web which makes learning easy. Earlier cut and paste or band-aid learning approach wasn't used to work but considering the speed at which gigs are arriving on freelance and other job sites, books for programming languages hardly teach you anything related to real world stuff.
...and if you don't have previous PHP experience, you have no good way to separate the wheat from the chaff, and you'll end up with the crappy ad-hoc duct-tape 'programming' which has given PHP an even worse name that it deserves. It's fine that small snippets elides error handling concerns, but then people go and copy/paste stuff into production environments... *facepalm*

Can't help with a decent PHP book since I haven't read any. But a few pieces of advice I can give are:

1) if you decide to go by web tutorials, be sure you try to understand everything a piece of code does before even considering using it in production. This also means reading up on the library functions used, including user comments since that's where stuff like security implications is usually discussed.
2) never construct SQL statements with string concatenation, and be sure to always use bound parameters.
3) don't depend directly on mysql/whatever, use a database abstraction library.
4) once you understand the basics, find framework(s) instead of re-inventing the wheel. Get stuff done faster, and without making the same security mistakes that a zillion others have made before you.
1272
General Software Discussion / Re: Does This Drive You NUTS?
« Last post by f0dder on October 25, 2011, 04:49 PM »
I've got a Steam account. Hardly ever use it. Nuff said?  ;)
If you use(d) it mostly for offline games, set steam in offline mode? Problem solved? :)

RE the original picture "file 6 of 647" - ouch. With an update consisting of that large amount of files, can we expect the company to be retarded enough to use a protocol like FTP or HTTP to grab the files? And to use nonpersistant connections? :)
1273
General Software Discussion / Re: iPad2: alternative to Stanza?
« Last post by f0dder on October 18, 2011, 08:16 AM »
BTW, are you using an iPad 2? It would really suck if iBooks was slow on there too!
Yup - pageturn on PDFs is almost as slow as a Kindle screen refresh... that's NOT good. I can live with iBooks not being perfect, I guess, but...

...having to go through iTunes to get stuff on the iPad really sucks, I'm not putting that p.o.s on my workstation - and Calibre+eBooks is on the workstation, not the laptop where I've begrudgingly installed iTunes. THE killer feature of Stanza was definitely that it could connect (wireless, of course) to Calibre on my workstation, and transfer books that way. (That it's faster and it's UI is in many ways better than iBooks was a pleasant bonus).

The Really Big Feature of iOS5, the iCloud, is pretty much useless. Yeah sure, wireless backup of the iPad is fine and all, and the sync between iDevices is probably nice as well. But it doesn't offer you any easier access to your files, no new way to get data onto or out of the iDevice, etc. It's just another of those crApple black boxes.
1274
I think in few years to come, mechanical HDD is going to phase out, all of us will be using SSD.
Requires some breakthrough in solid-state memory technology - it's still way too expensive, and there's limits to how cheap the current tech can get just through economy of scale. There's a lot of research going on, but I'd guess mechanical disks are going to be used a fairly long time yet.
1275
General Software Discussion / iPad2: alternative to Stanza?
« Last post by f0dder on October 17, 2011, 02:12 PM »
Okay, so I'm pretty pissed off right now.

I upgraded my iPad to iOS5 a couple of days ago, and boy was that a craptastic experience - dismal download speeds... yeah sure, lots of people hitting Apple's servers at the time, but they're trying to position themselves as a cloud provider and can't handle it? Not to mention that the crapTunes downloader doesn't know how to resume downloads... like, wut, it's 2011?.

Anyway, I digress - yesterday I realized that Stanza no longer works, throwing Sig6 and Sig11 errors. What, an OS update on easy-to-support fixed-capability hardware that breaks backwards compatibility of a regular usermode application? "Apple - suddenly everything sucks!". Then I realize that Stanza probably won't be updated, since Amazon bought Lexcycle probably pretty much just to kill off Stanza. Ugh.

And of course there's no way to downgrade to the previous iOS version - I thought the backup I made before installing iOS5 would allow that, but I guess that's a silly expectation when you're dealing with crApple. Not even if you find a 4.whatever firmware image from their own servers - you need a jailbroken device for that. Like, wtf?

This leaves me with, what? iBooks is a bit of a joke. Too much time has been spent on making it "cute", like the bookcase UI metaphor and the super-animated page transitions. But it's slow, and requires the use of crapTunes to transfers ebooks over from my collection. Ugh.

Stanza had a bunch of features going for it, where the important ones I'm looking for in a new reader are:
  • Calibre integration, so I can simply grab the ebooks from a Calibre instance running on my workstation.
  • Fast no-nonsense page flipping.
  • Compact list of available eBooks (cover art and title, perhaps possibility to sort by author or title).

I came about Ouiivo eReader, but it's unstable, can only show the first page of search results from a Calibre server, et cetera.
Pages: prev1 ... 46 47 48 49 50 [51] 52 53 54 55 56 ... 364next