Search found 1330 matches

by hotaru
Tue May 20, 2014 10:21 pm UTC
Forum: Coding
Topic: Perl: How to access a variable via a string
Replies: 5
Views: 2598

Re: Perl: How to access a variable via a string

EDIT: alternatively, it doesn't have to be user inputted, as that wasnt the point looking back. $text = "countera"; $[$text]++; I want something like that. Does that exist? what you think you want here is probably something like $$text++; but, that's pretty much never what you want to act...
by hotaru
Thu Apr 03, 2014 8:49 pm UTC
Forum: Religious Wars
Topic: Let's get really esoteric: big-endian or little-endian?
Replies: 36
Views: 29880

Re: Let's get really esoteric: big-endian or little-endian?

In the end, if I was making an architecture (probably something that needs to be done to avoid a permanent x86 disaster), it would still be little endian just for compatibility's sake (ignoring the fact that phones are quickly outnumbering desktops). it's interesting to note that most phones and ta...
by hotaru
Tue Jan 28, 2014 10:15 pm UTC
Forum: Coding
Topic: Bugs popping up only under optimization
Replies: 25
Views: 8563

Re: Bugs popping up only under optimization

There was a bug of this kind in the SPEC benchmarks, which are used by compiler developers to show how good their compiler optimizations are. http://www.spec.org/cpu2006/Docs/faq.html#Run.05 The bug is an out-of-bounds array read in a loop. A certain version of GCC would compile it to an infinite l...
by hotaru
Tue Jan 07, 2014 9:59 pm UTC
Forum: Coding
Topic: Superuser: "What are the Windows A: and B: drives used for?"
Replies: 38
Views: 14314

Re: Superuser: "What are the Windows A: and B: drives used f

It still surprises me to see cassette and VHS tapes at the corner drugstore, though Well, harddisk recorders are pretty expensive and you don't get to put all your recorded movies onto a shelf for showing off, so I can see why somebody would want a VHS tape. And as for the audio tapes, I can't real...
by hotaru
Sun Jan 05, 2014 1:06 am UTC
Forum: Religious Wars
Topic: The One True Pronunciation of ".GIF"
Replies: 93
Views: 77920

Re: The One True Pronunciation of ".GIF"

"jiff" sounds like something a furry does.
by hotaru
Mon Dec 02, 2013 12:19 am UTC
Forum: Coding
Topic: how does trading software work?
Replies: 8
Views: 4746

Re: how does trading software work?

Said that, I was thinking of a system that did not take arbitrage opportunities into account. In theory it could operate in a single market. The most practical thing I came out with, is a system with a very simple AI capacity: it would "observe" the market daily, "learning" and ...
by hotaru
Tue Nov 12, 2013 2:25 am UTC
Forum: Coding
Topic: any way to stop the spread of "infinite scroll" UI pattern?
Replies: 14
Views: 7169

Re: any way to stop the spread of "infinite scroll" UI patte

Even worse than this pattern is the "load more" pattern. For instance, take the video list on YouTube channels: start at 30, hit "load more", another 30 appear, load more again, another 30... Try this for a channel with 1000 videos! After watching one video, you go back and have...
by hotaru
Tue Nov 05, 2013 3:18 am UTC
Forum: Coding
Topic: Daft Punk - experiment in efficiency
Replies: 34
Views: 16860

Re: Daft Punk - experiment in efficiency

204 characters. H4sIAPBceFIAA8XOOw7CMAwG4N2n+A/AJUCAylA6AGKOhHmoUi3ZoefHjunEARgS52H9n6+iIw6V+jJy1K0sN8PFqCt6Y6UN1+plXyzKqapMDz/0oozzs0zUyVtp8HXk2T92sa3v0dyAl9EQT3/RkLH4osj4tJHICssMsB8OkY8wkYjLyGxDmwCN+w;base64 -d $0|zcat edit: it's really ugly, but... 157. ‹5lxR  ÅÎ;Â0àݧøÀ%@€ÊP: bŽ„y¨R-Ù¡çÇŽéÄçaýŸ¯...
by hotaru
Wed Sep 25, 2013 5:08 pm UTC
Forum: Religious Wars
Topic: Which Religious War is the most important
Replies: 59
Views: 36163

Re: Which Religious War is the most important

dii wrote:I'm kind of surprised there's 3 votes for "Octopi vs. Octopuses" but no one has voted for "Firefox vs. Chrome" yet. Clearly people have their priorities in order...

shouldn't it be "octopodes vs. octopuses"? "octopi" is just silly.
by hotaru
Tue Sep 24, 2013 8:39 pm UTC
Forum: Coding
Topic: Why Python is the best programming language in the world
Replies: 116
Views: 27712

Re: Python: Fleeting Thoughts ;-)

In C++ you can do it with primitive types even: you can reinterpret the bits of an integer as a float, or whatever. That can't happen in Python. can't happen? i don't think so... >>> from ctypes import *>>> i = int(42)>>> cast(pointer(c_int(i)), POINTER(c_float)).contents.value5.885453550164232e-44
by hotaru
Sat Sep 21, 2013 6:25 pm UTC
Forum: Religious Wars
Topic: 80 column line limits
Replies: 15
Views: 13621

Re: 80 column line limits

Jplus wrote:Besides, 80 is much better than 79 because it is a multiple of 4 and 8.

isn't every number that's a multiple of 8 also a multiple of 4?
by hotaru
Sun Aug 25, 2013 7:51 pm UTC
Forum: Coding
Topic: Reading from a local file in sandboxed JavaScript
Replies: 3
Views: 2323

Re: Reading from a local file in sandboxed JavaScript

Steax wrote:I would say that FileReader is supported well enough. It's just the IE users who miss out on it.

doesn't that page say that IE supports it?
unless you're talking about the people who still use xp... but those people should be used to things not working.
by hotaru
Fri Aug 16, 2013 11:20 pm UTC
Forum: The Help Desk
Topic: Windows SSH client with decent palette/colorscheme handling?
Replies: 2
Views: 2308

Re: Windows SSH client with decent palette/colorscheme handl

why not just install cygwin and use whatever unix terminal emulator you like?
by hotaru
Sun Aug 04, 2013 9:27 pm UTC
Forum: The Help Desk
Topic: FLV player with speex audio support
Replies: 2
Views: 3589

Re: FLV player with speex audio support

have you tried vlc or mplayer? i've got both of them installed on windows here and they both seem to support speex.
by hotaru
Thu Aug 01, 2013 1:09 am UTC
Forum: The Help Desk
Topic: Re-Enabling Disabled Browser Window Features
Replies: 5
Views: 2540

Re: Re-Enabling Disabled Browser Window Features

if you're using firefox, you might want to look at the dom.disable_window_open_feature settings in about:config.
by hotaru
Wed Jul 10, 2013 11:31 pm UTC
Forum: Religious Wars
Topic: Opera, Chrome, Firefox, OR?
Replies: 544
Views: 223561

Re: Opera, Chrome, Firefox, OR?

To the people who use Chrome: may I ask why do you use malware as your main browser? Because it's not nearly as bad as any of the other options. internet explorer or safari? microsoft and apple are actually proud of the fact that they spy on you and share your information with anyone who pays enoug...
by hotaru
Sun Jul 07, 2013 5:15 am UTC
Forum: The Help Desk
Topic: Browser-based (or Playbook-friendly) Netcat?
Replies: 9
Views: 3459

Re: Browser-based (or tablet-friendly) Netcat?

if it's an android tablet, there's a good chance that it does have netcat. if it doesn't, http://goo.gl/rhBAC or http://goo.gl/nnvii can fix that.
by hotaru
Wed Jul 03, 2013 9:41 pm UTC
Forum: Coding
Topic: A left-to-right syntax programming language?
Replies: 16
Views: 9543

Re: A left-to-right syntax programming language?

you mean something like factor?

Code: Select all

IN: scratchpad 3 4 + 3 * .
21
IN: scratchpad "hello world" capitalize reverse .
"dlrow olleH"
by hotaru
Thu Jun 20, 2013 4:48 pm UTC
Forum: Religious Wars
Topic: Best Eighth Generation Console (PS4 vs XB1 vs WiiU ...)
Replies: 15
Views: 9600

Re: Best Eighth Generation Console (PS4 vs XB1 vs WiiU ...)

So make the camera face the wall when you're done using the Xbox, if you're so worried about it :roll: :roll: I'm pretty critical of the XBox frankly, but I think that "spying" criticism is more or less undeserved. Web Cams , Security Cameras , and Magic Eye attachment cameras have all be...
by hotaru
Thu Jun 20, 2013 3:09 am UTC
Forum: Religious Wars
Topic: Best Eighth Generation Console (PS4 vs XB1 vs WiiU ...)
Replies: 15
Views: 9600

Re: Best Eighth Generation Console (PS4 vs XB1 vs WiiU ...)

Breaking news: Microsoft just completely backed down on all those online and sharing/used sales limitations. have they backed down on requiring the kinect to be connected? i know microsoft claims that it can be turned off, but microsoft (or anyone who can intercept the connection to xbox live :coug...
by hotaru
Sun Jun 09, 2013 7:39 pm UTC
Forum: Coding
Topic: Reading a file as it is written
Replies: 7
Views: 3592

Re: Reading a file as it is written

it sounds like you want to do something like what "tail -f -n +1" does...
by hotaru
Wed Apr 17, 2013 4:43 pm UTC
Forum: Coding
Topic: New to C: Please help!
Replies: 5
Views: 8090

Re: New to C: Please help!

Code: Select all

return (x & x) / (1.0l / (y | y));

:P
by hotaru
Sun Apr 14, 2013 4:04 am UTC
Forum: Religious Wars
Topic: What OS do you use?
Replies: 321
Views: 153239

Re: What OS do you use?

I'm still waiting to see an update to this poll involving Windows 7. Windows Vista to cover "NT 6.x" isn't too far fetched, though - no more so than lumping all of OS X together, really. it'd really make more sense to just lump all of NT together... none of the other operating systems get...
by hotaru
Sat Apr 13, 2013 5:32 pm UTC
Forum: Religious Wars
Topic: What OS do you use?
Replies: 321
Views: 153239

Re: What OS do you use?

bug sniper wrote:I'm still waiting to see an update to this poll involving Windows 7.
Other Windows system


Giant Speck wrote:I'm just now realizing it's missing BSD, too.
Other(FileMatrix, The Matrix(no lying, it exists), home-made, etc.)
by hotaru
Thu Apr 11, 2013 10:59 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2032922

Re: Coding: Fleeting Thoughts

EvanED wrote:Even running /bin/rm * is enough to make it not prompt that.

well, if you're typing "/bin/rm" instead of just "rm", you're doing something unusual enough that you really should be paying attention.
it also prompts for "rm -f *", which probably shouldn't happen.
by hotaru
Mon Apr 01, 2013 9:10 pm UTC
Forum: Religious Wars
Topic: Debian VS Ubuntu
Replies: 49
Views: 34238

Re: Debian VS Ubuntu

Copper Bezel wrote:Downstream from the filtering plant and fluoridation? = ]

https://en.wikipedia.org/wiki/Dental_fluorosis ?
by hotaru
Tue Mar 26, 2013 10:41 pm UTC
Forum: The Help Desk
Topic: CSS Transparencies
Replies: 9
Views: 4748

Re: CSS Transparencies

I am trying to get the div a translucent background, but keep the text 100% opaque. The text is the only thing in the div that I want to keep 100% opaque. Well, table borders too, but I'll figure something out about that. ah... it sounds like you want something like "background-color: rgba(68,...
by hotaru
Tue Mar 26, 2013 9:02 pm UTC
Forum: The Help Desk
Topic: CSS Transparencies
Replies: 9
Views: 4748

Re: CSS Transparencies

I am trying to get a new stylesheet up and I have a problem. If I append transparency to a div, the children inherit the same transparency. This includes text. that's how it's supposed to work. I did a ton of googleing and found a trick is to wrap a div inside of a div. Then you apply the transpare...
by hotaru
Fri Mar 08, 2013 5:45 pm UTC
Forum: Coding
Topic: CSS inline or no?
Replies: 23
Views: 7228

Re: CSS inline or no?

Line 5, its just a space filler. Without it I would have to write much more markup though. Is this an appropriate time to consider giving it an id and if not, what would be appropriate? remove that useless div. use "margin" in your css. removing it shouldn't require you to write any more ...
by hotaru
Mon Feb 18, 2013 1:30 am UTC
Forum: The Help Desk
Topic: One computer, multiple simultaneous users. Any hints?
Replies: 8
Views: 25434

Re: One computer, multiple simultaneous users. Any hints?

dudiobugtron wrote:Any ideas for alternatives?

just about any modern operating system that isn't windows?
by hotaru
Thu Jan 24, 2013 5:50 pm UTC
Forum: Religious Wars
Topic: Is self-propagating malware any kind of problem these days?
Replies: 25
Views: 23502

Re: Is self-propagating malware any kind of problem these da

Because at a fundamental level, that's all its security model will allow: programs (and processes) don't have permissions, programs (by which I mean processes) are run by a user and the user has permissions. If two processes have different permissions, it must be because they are being run by diffe...
by hotaru
Thu Jan 03, 2013 5:31 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 10016
Views: 2032922

Re: Coding: Fleeting Thoughts

https://github.com/munificent/vigil i'm pretty sure there's a bug in one of the examples in the README: def fib(n):    if n < 2:        result = n    else:        result = fib(n - 1) + fib(n - 2)    # fib() never returns negative number.    swear result >= 0    return result returns a negative numb...
by hotaru
Wed Dec 26, 2012 4:42 am UTC
Forum: The Help Desk
Topic: issues with netflix
Replies: 5
Views: 2455

Re: issues with netflix

by hotaru
Wed Dec 19, 2012 11:55 pm UTC
Forum: Coding
Topic: Does arduino come with the count() function?
Replies: 5
Views: 2636

Re: Does arduino come with the count() function?

free-bee wrote:strlen() seems to be one of those things you have to join a club to find out (other words, I'm finding nothing on it).

http://arduino.cc/en/Reference/Include -> http://www.nongnu.org/avr-libc/user-manual/modules.html -> http://www.nongnu.org/avr-libc/user-man ... tring.html
by hotaru
Mon Dec 17, 2012 3:28 pm UTC
Forum: Religious Wars
Topic: What OS do you use?
Replies: 321
Views: 153239

Re: What OS do you use?

[...] treat windows executables just like i would on windows. But, given this is you we're talking about, I assume that means "with a great deal of suspicion, and only when absolutely necessary"? :P of course, but that applies to any executable file from an untrusted source, not just wind...
by hotaru
Sun Dec 16, 2012 4:19 pm UTC
Forum: Religious Wars
Topic: What OS do you use?
Replies: 321
Views: 153239

Re: What OS do you use?

Yeah, what CB said about using Wine. If I have to mess around with Wine before it sort-of-works (and stuff never *just works* with Wine), I generally consider it 'not usable under Linux'. everything i've used just worked... and all i did was "apt-get install wine" and then treat windows e...
by hotaru
Sun Dec 16, 2012 4:11 am UTC
Forum: Religious Wars
Topic: What OS do you use?
Replies: 321
Views: 153239

Re: What OS do you use?

boXd wrote:What kind of software, besides games, generally only works on Windows (or OSX even) again?

metro apps only work on windows (and only on windows 8). that's all i can think of at the moment other than games that won't work with wine.
by hotaru
Mon Dec 10, 2012 2:56 am UTC
Forum: The Help Desk
Topic: Files suddenly duplicating when trying to move them
Replies: 4
Views: 1313

Re: Files suddenly duplicating when trying to move them

you're probably moving the mouse while clicking to select files sometimes. if you click and drag a file somewhere in the same window while holding control, it will copy it like that.

Go to advanced search