What is unfortunately also annoying with "functionifying" a method is that it clogs up the class methods, I wish there was a keyword like "foohelper() helps foo();" which would mean foohelper() is only in scope inside foo(). If something is complex and consists of several long operations, it's usually cleaner to have a supermethod which only calls helpers.
Ideally, those methods/subroutines/functions, i.e. foohelper() should be declared and defined inside the method/sub/function they're helping, i.e. foo():
function foo(input):
function preprocess(input): ...
end function
function process(input):...
end function
intermediary = preprocess(input)
result = process(intermediary)
return result
end function
There are two kinds of helper functions, those that serve only one function and those that are useful in general (which can also become a problem) - and if your helper function is only useful in one scope, it should only be defined in that scope.
Proving a theory incorrect is often just as valuable as proving a theory correct.
I'd rather say proving a theory incorrect is just as valuable as proving a *hypothesis* correct. If it's a hypothesis, it's no fun proving it wrong (it wasn't established anyway, it might go against your intuition but nobody cares), and if it's a theory, it's no fun proving it right (what are you talking about, of course it's right, we already knew that).
I would elaborate on this but that would just be filler.
I'm only speculating here, it's not really even an educated guess, but I'm scarred from seeing the US dollar depreciating like that and European as well as American prices in the Apple stores staying constant.
chmod 744/var/log (modify the directory name as needed so that it points to where your logs reside)
0744 = owner read exec, group and world read only (or in ls -l format: dr-xr--r--). Read permissions won't do you any good, you need executable to access files within and list directory contents, so it'll be chmod 0755 instead.
$ mkdir test
$ echo test > test/test
$ chmod 0744 test
$ sudo chown nobody test
$ cat test/test
test/test: Access denied
$ sudo chmod 0755 test
$ cat test/test
test
(Actually, read permissions are meaningless for directories so far I know, so 0755 is equivalent to 0311 for directories.)
Preferably, set up a logging group or similar, create a user for the provider in the logging group and make the directory 0750.
I would like something that can open anything and then edit it.
It would be nice to have a good video editor, One that was free back in the day was DDClip it worked pretty good back in 00' . Anythign is better than the abortion that is Windows Movie Maker....
In the sense that VLMC can read anything and subsequently write something, yes, probably. I very much doubt the number of output formats will match the number of input formats, though.
I always thought Windows Movie Maker was good for video stitching, the problem was it could only output to a WMV, which is understandable (msft and all that).
The only thing I think Google is missing is a way to export all your Google information into a data file you can upload into someone else
As previously discussed,they are working on that. It's not a complete, one-click solution yet, but for instance since releasing it they've added the possibility to export all Google Docs documents to a single archive - previously it was per-document only.
When I type I mentally spell out every word and know that I have to hit those keys.
I can't speak for you, but I will say that I doubt this is the case for the majority. I'm pretty sure that's not the case for me, at least, after years of touch typing. I'm not a native English speaker, but lately (last couple of months) I've begun mixing up 'your', 'you're', 'whose', 'who's', etc. in my writing. I correct it immediately when I see it, but I don't spell out every word when I type, so my reflexes/fine motor skills just type up whatever.
I still think, though, that a brain scanner/what it's called could read what words I intended to type and distinguish them from my regular brainstorm.
Who the hell needs 13 Gazillion addresses on their LAN? On the internet sure, ok....who the fuck going to connect a Windows box to the internet without NAT/Firewall?
Network address translation came into use because you had limited supply of IP addresses, pigeonhole problem basically. With IPv6 that's not needed, because surely 3.4×10^38 addresses should be enough for anyone. You'll just need a firewall to reject requests from outside your own assigned block.
Remember back in the 90s when everyone was jizzing in their pants about Bruce Sterling and Neal Stephenson's writing, dreaming of actually implementing the ideas therein? Data havens, crypto-anarchism, impregnable anonymity, hackers making a decent living by a life of crime, and so forth?
Somewhere, on a secret global malware authors' intranet, on a site running Slashcode, scammers are praising 2010 as the year of unregulated DoS'ing on the Internet.
I'm using Chromium nightly on Debian! Oh no, I'm gonna get infected by this! Good thing I have Namoroka lying around somewhere... What would I do without those Mozilla folks?!
Some of it is table lookup, but regardless, 300 fp multiplications shouldn't take forever. You mentioned significant digits, so it's (unsurprisingly) not arbitrary precision.
Re:Parasites are everywhere, for natural reasons
on
Hackers vs. Phishers
·
· Score: 1
it seems that since then, I get no love, which is disappointing.
In my experience you have to be out early to have your post modded at all - most mods (afaik) simply don't look beyond the first 50, 100 or 150 posts in a discussion, and some articles easily have 400 comments by the first 6-12 hours.
Posts that could potentially be Score:5, Whatever are simply left at the initial 0, 1 or 2 (depending on karma) since the mod points were all spent before your post could make it to the counter.
I was lucky this time to even get a thread ancestor modded up, but that's all thanks to me posting as soon as the summary came up. And then I got Funny which, as an Anon also pointed out, doesn't award Karma bonus... Oh, the Interesting/Insightful mods are few and far between.
Parasites are everywhere, for natural reasons
on
Hackers vs. Phishers
·
· Score: 4, Funny
In other news, some Slashdot users don't like to do all the hard work of writing inspiring posts to build karma. Instead, they developed a simple online service to 'steal' karma from the hardworking posters. The service allows anyone to scan Slashdot articles for underrated comments and automatically post replies urging moderators to "mod parent up".
Compiz has a 'raise on click' config option which can be disabled. I'm not sure of the internal representation, but it is in General Options of ccsm. Be sure to set a keyboard shortcut to 'Raise window' - though if you don't, alt-tab or clicking the window list will do.
I'm not sure if a similar option is available in Metacity or whatever else you happen to be using, although it would seem likely.
If you do look into compiz or are using it, you might want to also look at disabling click to focus (making way for the focus-follows-mouse mode you mentioned) and the Opacify plugin (under Accessibility*), which will make windows in front of the window you're hovering over partly transparent. I use this to great effect.
*...As if not being able to see through windows is a disability.
Manually dragging the edges of windows can suck, but in 'traditional' setups, you use the lower right corner (which is a big target) to adjust the size and the title bar (which is a big target) to adjust the position. Most Linux WMs also have ALT shortcut which makes large percentages of the windows 'hot' for adjustment.
In my experience, corners and title bars are still generally small enough that hunting and pecking is required - I can never casually slide my cursor to the target and immediately begin resizing/moving - that only happens with alt+left mouse button (drag) or alt+middle mouse button (resize).
It's a shame Windows doesn't have this kind of functionality built-in. I don't know about Mac, but since my switch from Windows XP to Ubuntu, alt+clicking to move/resize, along with workspaces and Compiz' Grid plugin to move and resize windows to fit an imagined grid, has been the main efficiency booster for me.
I'm not saying every ordinary user should have this kind of configuring work forced on them, it's just a really good reason for *me* to make the switch.
(And of course, a proper command line and an OS with an extensive "built-in" software catalog (Debian's/Ubuntu's apt repositories) that's free and that doesn't suck have also been compelling reasons.)
Maybe because PHP is a web dev tool, and Perl is a sysadmin/text manipulation tool? I'm not one to vouch for either Movable Type or Wordpress, but even though Perl seems more efficient and faster than PHP, I'd rather use PHP for website frontends.
What is unfortunately also annoying with "functionifying" a method is that it clogs up the class methods, I wish there was a keyword like "foohelper() helps foo();" which would mean foohelper() is only in scope inside foo(). If something is complex and consists of several long operations, it's usually cleaner to have a supermethod which only calls helpers.
Ideally, those methods/subroutines/functions, i.e. foohelper() should be declared and defined inside the method/sub/function they're helping, i.e. foo():
function foo(input):
... ...
end function
intermediary = preprocess(input)
result = process(intermediary)
return result
end function
function preprocess(input):
end function function process(input):
There are two kinds of helper functions, those that serve only one function and those that are useful in general (which can also become a problem) - and if your helper function is only useful in one scope, it should only be defined in that scope.
Proving a theory incorrect is often just as valuable as proving a theory correct.
I'd rather say proving a theory incorrect is just as valuable as proving a *hypothesis* correct. If it's a hypothesis, it's no fun proving it wrong (it wasn't established anyway, it might go against your intuition but nobody cares), and if it's a theory, it's no fun proving it right (what are you talking about, of course it's right, we already knew that).
I would elaborate on this but that would just be filler.
Using Vim to edit code today is like using ed to interactively edit text.
Huh... you can do that?
To think that I'd been using cat all this time...
Sweet, that's like, 370 euro!
No, wait, I forgot, that's not how you convert currency in this business.
I'm only speculating here, it's not really even an educated guess, but I'm scarred from seeing the US dollar depreciating like that and European as well as American prices in the Apple stores staying constant.
40 miles per year? That's a speed, not an acceleration.
chmod 744 /var/log (modify the directory name as needed so that it points to where your logs reside)
0744 = owner read exec, group and world read only (or in ls -l format: dr-xr--r--). Read permissions won't do you any good, you need executable to access files within and list directory contents, so it'll be chmod 0755 instead.
$ mkdir test
$ echo test > test/test
$ chmod 0744 test
$ sudo chown nobody test
$ cat test/test
test/test: Access denied
$ sudo chmod 0755 test
$ cat test/test
test
(Actually, read permissions are meaningless for directories so far I know, so 0755 is equivalent to 0311 for directories.)
Preferably, set up a logging group or similar, create a user for the provider in the logging group and make the directory 0750.
There's a tag for that. badlink
I would like something that can open anything and then edit it.
It would be nice to have a good video editor, One that was free back in the day was DDClip it worked pretty good back in 00' . Anythign is better than the abortion that is Windows Movie Maker....
In the sense that VLMC can read anything and subsequently write something, yes, probably. I very much doubt the number of output formats will match the number of input formats, though.
I always thought Windows Movie Maker was good for video stitching, the problem was it could only output to a WMV, which is understandable (msft and all that).
I propose mmxii
The only thing I think Google is missing is a way to export all your Google information into a data file you can upload into someone else
As previously discussed, they are working on that. It's not a complete, one-click solution yet, but for instance since releasing it they've added the possibility to export all Google Docs documents to a single archive - previously it was per-document only.
When I type I mentally spell out every word and know that I have to hit those keys.
I can't speak for you, but I will say that I doubt this is the case for the majority. I'm pretty sure that's not the case for me, at least, after years of touch typing. I'm not a native English speaker, but lately (last couple of months) I've begun mixing up 'your', 'you're', 'whose', 'who's', etc. in my writing. I correct it immediately when I see it, but I don't spell out every word when I type, so my reflexes/fine motor skills just type up whatever.
I still think, though, that a brain scanner/what it's called could read what words I intended to type and distinguish them from my regular brainstorm.
Nah, more coincidental really, when you think about it
Who the hell needs 13 Gazillion addresses on their LAN? On the internet sure, ok....who the fuck going to connect a Windows box to the internet without NAT/Firewall?
Network address translation came into use because you had limited supply of IP addresses, pigeonhole problem basically. With IPv6 that's not needed, because surely 3.4×10^38 addresses should be enough for anyone. You'll just need a firewall to reject requests from outside your own assigned block.
Remember back in the 90s when everyone was jizzing in their pants about Bruce Sterling and Neal Stephenson's writing, dreaming of actually implementing the ideas therein? Data havens, crypto-anarchism, impregnable anonymity, hackers making a decent living by a life of crime, and so forth?
Somewhere, on a secret global malware authors' intranet, on a site running Slashcode, scammers are praising 2010 as the year of unregulated DoS'ing on the Internet.
I'm using Chromium nightly on Debian! Oh no, I'm gonna get infected by this! Good thing I have Namoroka lying around somewhere... What would I do without those Mozilla folks?!
Name of the debugging add-on? "dkaf".
Congratulations! Your idea has netted you $150 000. But let's not tell PayPal, okay?
Cats are conscious beings, and as such qualify as observers.
Or are they?
Some of it is table lookup, but regardless, 300 fp multiplications shouldn't take forever. You mentioned significant digits, so it's (unsurprisingly) not arbitrary precision.
Are you being "sarcastic"?
it seems that since then, I get no love, which is disappointing.
In my experience you have to be out early to have your post modded at all - most mods (afaik) simply don't look beyond the first 50, 100 or 150 posts in a discussion, and some articles easily have 400 comments by the first 6-12 hours.
Posts that could potentially be Score:5, Whatever are simply left at the initial 0, 1 or 2 (depending on karma) since the mod points were all spent before your post could make it to the counter.
I was lucky this time to even get a thread ancestor modded up, but that's all thanks to me posting as soon as the summary came up. And then I got Funny which, as an Anon also pointed out, doesn't award Karma bonus... Oh, the Interesting/Insightful mods are few and far between.
In other news, some Slashdot users don't like to do all the hard work of writing inspiring posts to build karma. Instead, they developed a simple online service to 'steal' karma from the hardworking posters. The service allows anyone to scan Slashdot articles for underrated comments and automatically post replies urging moderators to "mod parent up".
Compiz has a 'raise on click' config option which can be disabled. I'm not sure of the internal representation, but it is in General Options of ccsm. Be sure to set a keyboard shortcut to 'Raise window' - though if you don't, alt-tab or clicking the window list will do.
I'm not sure if a similar option is available in Metacity or whatever else you happen to be using, although it would seem likely.
If you do look into compiz or are using it, you might want to also look at disabling click to focus (making way for the focus-follows-mouse mode you mentioned) and the Opacify plugin (under Accessibility*), which will make windows in front of the window you're hovering over partly transparent. I use this to great effect.
* ...As if not being able to see through windows is a disability.
Manually dragging the edges of windows can suck, but in 'traditional' setups, you use the lower right corner (which is a big target) to adjust the size and the title bar (which is a big target) to adjust the position. Most Linux WMs also have ALT shortcut which makes large percentages of the windows 'hot' for adjustment.
In my experience, corners and title bars are still generally small enough that hunting and pecking is required - I can never casually slide my cursor to the target and immediately begin resizing/moving - that only happens with alt+left mouse button (drag) or alt+middle mouse button (resize).
It's a shame Windows doesn't have this kind of functionality built-in. I don't know about Mac, but since my switch from Windows XP to Ubuntu, alt+clicking to move/resize, along with workspaces and Compiz' Grid plugin to move and resize windows to fit an imagined grid, has been the main efficiency booster for me.
I'm not saying every ordinary user should have this kind of configuring work forced on them, it's just a really good reason for *me* to make the switch.
(And of course, a proper command line and an OS with an extensive "built-in" software catalog (Debian's/Ubuntu's apt repositories) that's free and that doesn't suck have also been compelling reasons.)
Maybe because PHP is a web dev tool, and Perl is a sysadmin/text manipulation tool? I'm not one to vouch for either Movable Type or Wordpress, but even though Perl seems more efficient and faster than PHP, I'd rather use PHP for website frontends.