Search found 1301 matches

by hotaru
Tue Jul 18, 2017 11:36 pm UTC
Forum: Religious Wars
Topic: Spaces in paths & filenames
Replies: 36
Views: 2626

Re: Spaces in paths & filenames

From bitter experience, I know that running defrag from DOS 6.22 (or earlier) on LFN-supporting FAT areas like a Win95 (or later) does a brilliant job of reducing trivial and inconsequential directory names such as "Program Files" to the handier "PROGRA~1", and likely a whole se...
by hotaru
Tue Jul 18, 2017 8:11 pm UTC
Forum: Religious Wars
Topic: Spaces in paths & filenames
Replies: 36
Views: 2626

Re: Spaces in paths & filenames

*is definitely not writing whatever the opposite of malware is to change all underscores in paths and filenames to spaces*
by hotaru
Wed Jul 05, 2017 10:24 am UTC
Forum: Computer Science
Topic: View XKCD from a terminal.
Replies: 1
Views: 407

Re: View XKCD from a terminal.

you should use the json interface instead of trying to parse HTML with sed.
by hotaru
Sun Jun 25, 2017 4:36 am UTC
Forum: Religious Wars
Topic: Spaces in paths & filenames
Replies: 36
Views: 2626

Re: Spaces in paths & filenames

Copper Bezel wrote:Hmm, anyone know a way to get that style of tab completion in Bash? (Or something similar to Bash?)

use zsh?
by hotaru
Tue Jan 31, 2017 3:13 am UTC
Forum: The Help Desk
Topic: Android: Disable fingerprint unlock for phone, but keep fingerprints on record
Replies: 3
Views: 2207

Re: Android: Disable fingerprint unlock for phone, but keep fingerprints on record

how does having fingerprint unlock enabled prevent you from using a pattern/code to unlock the phone?
by hotaru
Sat Jan 14, 2017 6:05 pm UTC
Forum: The Help Desk
Topic: Opening edb files?
Replies: 1
Views: 1084

Re: Opening edb files?

a quick google search turns up https://github.com/libyal/libesedb/, which is free and looks like it should work.
by hotaru
Thu Jan 12, 2017 1:35 am UTC
Forum: Individual XKCD Comic Threads
Topic: 1784: "Bad Map Projection: Liquid Resize"
Replies: 58
Views: 6087

Re: 1784: "Bad Map Projection: Liquid Resize"

not sure if I did it right, but this is what I ended up with when starting from a projection that isn't complete shit.
20.deg.borders-p7p4-lg-lqr.jpg
by hotaru
Fri Nov 04, 2016 12:56 am UTC
Forum: The Help Desk
Topic: Cheap online storage with SFTP access?
Replies: 30
Views: 5821

Re: Cheap online storage with SFTP access?

why not just use zpaq instead of a tarball? http://mattmahoney.net/dc/zpaq.html Remote archive support zpaq updates an archive by appending changes to it. To support remote backups without having to move huge files, zpaq can put the appended changes into a separate, numbered file that you would copy...
by hotaru
Sun Oct 30, 2016 2:14 pm UTC
Forum: Computer Science
Topic: Deliberately bad algorithms
Replies: 120
Views: 30670

Re: Deliberately bad algorithms

Tub wrote:Yeah, that compression is going to be a bit lossy for anything longer than 20 bytes. It will most likely produce a hash collision instead of the original input.

more likely anyone who runs it will give up long before that happens.
by hotaru
Sun Oct 30, 2016 12:21 pm UTC
Forum: Computer Science
Topic: Deliberately bad algorithms
Replies: 120
Views: 30670

Re: Deliberately bad algorithms

compress.sh: #!/bin/sh if [ -z $1 ] then echo "Usage: $0 filename" >&2 exit 1 fi wc -c $1 sha256sum -b $1 uncompress.sh: #!/bin/sh if [ -z $1 ] then echo "Usage: $0 filename" >&2 exit 1 fi read size name < $1 until sha256sum -c $1 2>/dev/null >/dev/null do dd if=/dev/uran...
by hotaru
Mon Jun 27, 2016 6:08 pm UTC
Forum: Coding
Topic: Good books for learning to create proxy servers?
Replies: 18
Views: 5161

Re: Good books for learning to create proxy servers?

Of course exit nodes can spy on your unencrypted traffic but which security-critical websites do not use HTTPS anyways? exit nodes can also do DNS poisoning and do SSL stripping attacks, as well as a number of attacks against SSL/TLS itself in the case of an out of date or poorly configured server ...
by hotaru
Tue Mar 01, 2016 4:49 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9712
Views: 1480054

Re: Coding: Fleeting Thoughts

well, you really should be specifying the encoding in the Content-Type header, and if you don't, you're not in any position to complain about anything the browser does.
by hotaru
Sun Feb 14, 2016 6:23 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9712
Views: 1480054

Re: Coding: Fleeting Thoughts

Question: Why does this code fail? function listToArray(alist){ if(!alist){ return []; } else { var anarray = listToArray(alist.rest); return anarray.unshift(alist.value); } } The error that node throws up tells us that anarray doesn't have the unshift method. But surely anarray is an array and the...
by hotaru
Wed Feb 03, 2016 2:12 pm UTC
Forum: Hardware
Topic: Monitors and resolution.
Replies: 21
Views: 8559

Re: Monitors and resolution.

is 4K high enough resolution that antialiasing doesn't make any noticeable difference? if not, then it's not high enough.
by hotaru
Mon Jan 25, 2016 10:35 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9712
Views: 1480054

Re: Coding: Fleeting Thoughts

Well, I'm only really annoyed I can't select 4 bytes, convert it to an int, and get a sane number output. what language are you trying to do it in? you can't just do this? uint32_t four_bytes_to_uint32(uint8_t bytes[4]) { return (bytes[0] << 24) + (bytes[1] << 16) + (bytes[2] << 8) + bytes[3]; } We...
by hotaru
Thu Jan 14, 2016 10:25 pm UTC
Forum: The Help Desk
Topic: Wifi mysteriously broadcasting while disabled
Replies: 6
Views: 3145

Re: Wifi mysteriously broadcasting while disabled

Wireshark is sniffing wifi signals only. I'm also connected wirelessly to the network. I don't see why I would be picking up ethernet signals. IP multicast is a technique for one-to-many and many-to-many real-time communication over an IP infrastructure in a network. It scales to a larger receiver ...
by hotaru
Sun Jan 10, 2016 8:16 pm UTC
Forum: Religious Wars
Topic: Is 1 prime?
Replies: 30
Views: 11995

Re: Is 1 prime?

if 1 is prime, there will be situations where you'll have to say "prime numbers except 1". if 1 is not prime, there will be situations where you'll have to say "prime numbers and 1". since, like everything else in mathematics, prime numbers are defined only because it's a conveni...
by hotaru
Thu Jan 07, 2016 7:14 pm UTC
Forum: Hardware
Topic: Monitors and resolution.
Replies: 21
Views: 8559

Re: Monitors and resolution.

Just be glad it's not a pair of these bad boys . (Yes, they make them so wide-screen now that they have to curve the monitor to keep the whole surface at a reasonable distance from the user.) actually if it was a more reasonable size (around 20", i'd think), you could stack two of them vertica...
by hotaru
Tue Dec 08, 2015 9:00 pm UTC
Forum: Religious Wars
Topic: Firefox vs. Chrome: Is it time for me to throw in the towel?
Replies: 42
Views: 24356

Re: Firefox vs. Chrome: Is it time for me to throw in the to

Tyndmyr wrote:Meh. There was a time when IE 6 constituted about 20% of users.

That was what, 2010? When Google dropped support for it?

and now firefox and IE (all versions) together is only about 20% of users...
by hotaru
Sun Dec 06, 2015 3:42 am UTC
Forum: The Help Desk
Topic: Windows Browser that runs from a read-only device?
Replies: 13
Views: 4642

Re: Windows Browser that runs from a read-only device?

Jorpho wrote:Yes, but is QEMU supposed to run from a read-only device?

qemu doesn't have any reason to write any files at all unless you tell it to use a writable disk image.
by hotaru
Sun Dec 06, 2015 12:34 am UTC
Forum: The Help Desk
Topic: Windows Browser that runs from a read-only device?
Replies: 13
Views: 4642

Re: Windows Browser that runs from a read-only device?

it really should be as simple as throwing qemu and the iso for whatever linux live cd or dvd you feel like using onto the usb stick, and maybe a script to launch qemu so you don't have to type out the command line to launch it every time. if the OS is built to run from a read-only cd or dvd, it shou...
by hotaru
Fri Dec 04, 2015 3:37 am UTC
Forum: Coding
Topic: IDEs and the death of the command line interface
Replies: 25
Views: 6894

Re: IDEs and the death of the command line interface

Flumble wrote:Regarding autocompletion and highlighting: I've been using fish for some time, but is there another shell that has good/better completion or useful features?

zsh, tcsh, and windows powershell are all pretty good.
by hotaru
Tue Dec 01, 2015 10:37 pm UTC
Forum: Hardware
Topic: USB vs PCI Wireless Adapters
Replies: 3
Views: 3335

Re: USB vs PCI Wireless Adapters

the FCC limit is well below 1 watt, so the adapter should be able to get plenty of power either way. lower CPU load won't matter either on modern systems, where you almost always have 3 cores sitting idle, just waiting for something to do. if you only have a single CPU core it might matter, but even...
by hotaru
Wed Nov 25, 2015 9:58 pm UTC
Forum: Hardware
Topic: USB vs PCI Wireless Adapters
Replies: 3
Views: 3335

Re: USB vs PCI Wireless Adapters

the only real difference between a PCI wireless adapter and a USB wireless adapter is that one uses a PCI slot and the other uses a USB port. there should be no difference in signal reliability or range.* the only reason to favor a PCI adapter is if you have a shortage of USB ports and an empty PCI ...
by hotaru
Wed Nov 18, 2015 10:47 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9712
Views: 1480054

Re: Coding: Fleeting Thoughts

ahammel wrote:Inside the electrons are quarks,

no, there aren't.
by hotaru
Wed Nov 18, 2015 1:50 am UTC
Forum: The Help Desk
Topic: Windows Browser that runs from a read-only device?
Replies: 13
Views: 4642

Re: Windows Browser that runs from a read-only device?

Jorpho wrote:I see. It still seems like major overkill.

Has someone already put together a qemu appliance for this particular use case?

http://willhaley.com/blog/simple-portab ... emu-vm-usb (the first Google result for "portable qemu") looks promising.
by hotaru
Tue Nov 17, 2015 10:17 pm UTC
Forum: The Help Desk
Topic: Windows Browser that runs from a read-only device?
Replies: 13
Views: 4642

Re: Windows Browser that runs from a read-only device?

Jorpho wrote:Are you saying qemu can run from a read-only device?

I'd also be concerned about whether it would need special networking privileges.

yes, it can run from a read-only device. if you use the default "user networking ", it doesn't require any special privileges.
by hotaru
Tue Nov 17, 2015 6:44 am UTC
Forum: The Help Desk
Topic: Windows Browser that runs from a read-only device?
Replies: 13
Views: 4642

Re: Windows Browser that runs from a read-only device?

one possibility would be to run a Linux live CD in qemu. it's a heavy-handed approach, but it should work.
by hotaru
Sun Nov 15, 2015 10:23 pm UTC
Forum: Religious Wars
Topic: Firefox vs. Chrome: Is it time for me to throw in the towel?
Replies: 42
Views: 24356

Re: Firefox vs. Chrome: Is it time for me to throw in the to

my point was that the browser does not change the brightness of your monitor. if a blank white screen blinds you, your monitor is too bright. if your monitor is too bright, then light text on a dark background is just as bad for your eyes as dark text on a light background. you should adjust your mo...
by hotaru
Sun Nov 15, 2015 8:06 pm UTC
Forum: Religious Wars
Topic: Firefox vs. Chrome: Is it time for me to throw in the towel?
Replies: 42
Views: 24356

Re: Firefox vs. Chrome: Is it time for me to throw in the to

if your monitor is blinding you, the solution is to turn down the brightness, rather than trying to avoid white backgrounds.
by hotaru
Thu Nov 05, 2015 9:21 pm UTC
Forum: Coding
Topic: CSS + checkboxes = lololol
Replies: 5
Views: 3064

Re: CSS + checkboxes = lololol

Xanthir wrote:ETA: Oh, and that bug is still going on somehow, Hotaru. That's hilarious and weird.

i'm pretty sure the fix hasn't made it into the stable or beta channels yet, since it was just fixed last month, almost 3 years after it was reported. :P
by hotaru
Tue Nov 03, 2015 4:01 pm UTC
Forum: Coding
Topic: CSS + checkboxes = lololol
Replies: 5
Views: 3064

Re: CSS + checkboxes = lololol

here's another ridiculous thing in CSS, which actually uncovered a bug in google chrome: https://hotaru.thinkindifferent.net/calc.html
by hotaru
Sun Aug 02, 2015 2:10 am UTC
Forum: Hardware
Topic: What phone should I get?
Replies: 12
Views: 5654

Re: What phone should I get?

i don't really have any specific phone suggestions, but if you don't want to have to rely on the manufacturer or carrier for updates, you'll probably want one of the more popular android phones. cyanogenmod is a fairly popular android distribution that's independent of the manufacturers and carriers...
by hotaru
Tue Jul 28, 2015 8:56 am UTC
Forum: Religious Wars
Topic: Firefox vs. Chrome: Is it time for me to throw in the towel?
Replies: 42
Views: 24356

Re: Firefox vs. Chrome: Is it time for me to throw in the to

I'm still waiting –in vain– for Firefox to automatically learn search engines. Chrome(ium) has had this for a very long time now and it's utterly awesome that you have to search on a site (mostly wikis) only once , and from then on you can search through the site by tab completion. on a lot of site...
by hotaru
Mon Jul 27, 2015 3:23 am UTC
Forum: Religious Wars
Topic: Firefox vs. Chrome: Is it time for me to throw in the towel?
Replies: 42
Views: 24356

Re: Firefox vs. Chrome: Is it time for me to throw in the to

Honestly, I wish I could turn that off, space is ambiguous and tab does the same thing but better and unambiguously. It's ambiguous between, to use your example, "goo ball" meaning "search my default search for 'goo ball'" or "search the 'goo' keyword search for 'ball'"...
by hotaru
Fri Jul 03, 2015 2:33 pm UTC
Forum: Religious Wars
Topic: Plural of "Octopus"
Replies: 89
Views: 43356

Re: Plural of "Octopus"

SPACKlick wrote:I pronounced octopodes as an english word. If you want a the pronunciation oc TOE poe DES or ock TOE poe DEES then we can have a whole different fight about the linguistic wanderings of rare words.

how do you pronounce "indices"?
by hotaru
Fri Jul 03, 2015 2:05 pm UTC
Forum: Religious Wars
Topic: Plural of "Octopus"
Replies: 89
Views: 43356

Re: Plural of "Octopus"

SPACKlick wrote:When I asked if anyone used Octopodes I got the expected response. "Use octopodes as what? The plural for octopode? I might if I knew what an octopode was. Oh for octopus? Who does that?!"

it looks like you mispronounced "octopodes", which makes all your data invalid.
by hotaru
Wed Jun 24, 2015 5:51 pm UTC
Forum: The Help Desk
Topic: Text Processing Help Request
Replies: 13
Views: 4339

Re: Text Processing Help Request

Fine, editing a stream. Either way, sed does it just as well as grep, just without highlighting. What are the advantages in this case? the biggest advantage is that grep is a much simpler program than sed. grep's primary purpose is exactly what you're doing there (print lines matching a regex), whi...
by hotaru
Wed Jun 24, 2015 5:36 am UTC
Forum: The Help Desk
Topic: Text Processing Help Request
Replies: 13
Views: 4339

Re: Text Processing Help Request

Because I always prefer sed when modifying a file, and pretty much limit grep to searching. but you're not modifying a file there. you're searching for lines that match that regular expression and then printing them, which is exactly what grep does. also, if you do want to modify a file, i'm pretty...
by hotaru
Wed Jun 24, 2015 4:09 am UTC
Forum: The Help Desk
Topic: Text Processing Help Request
Replies: 13
Views: 4339

Re: Text Processing Help Request

Thesh wrote:Also, if you can use sed (if not on *nix/mac, you can get it through gnuwin32) and do something like:

Code: Select all

sed -n -r "/\*{3}.*\*{2}$/p" log.txt

why not grep instead of sed?

Code: Select all

grep -E '^(\*{3}).*\1$' log.txt

Go to advanced search