Search found 1321 matches

by hotaru
Fri Apr 13, 2018 2:44 pm UTC
Forum: Coding
Topic: An amateur has tried to build a website in raw HTML
Replies: 54
Views: 6012

Re: An amateur has tried to build a website in raw HTML

That's a "recommended hardware configuration". It doesn't really mean anything. It can't possibly take 512 MB of RAM to install Firefox when Firefox itself is 200 MB large. It takes 512 MB of RAM to install Windows 7, which are 16 GB large. Try it in a virtual machine, I distinctly rememb...
by hotaru
Thu Apr 12, 2018 4:15 pm UTC
Forum: Coding
Topic: An amateur has tried to build a website in raw HTML
Replies: 54
Views: 6012

Re: An amateur has tried to build a website in raw HTML

I am quite sure Firefox 43 (the latest version which can be easily installed on Windows XP) can be installed (not just run once it's installed) on a virtual machine with around 150MB of RAM running Windows XP. nope: https://www.mozilla.org/en-US/firefox/43.0/system-requirements/ also: https://en.wi...
by hotaru
Thu Apr 12, 2018 1:00 am UTC
Forum: Coding
Topic: An amateur has tried to build a website in raw HTML
Replies: 54
Views: 6012

Re: An amateur has tried to build a website in raw HTML

Under Windows XP, both Firefox and Notepad++ run without problems on a virtual machine with around 150 MB of RAM. What more do you need? https://www.mozilla.org/en-US/firefox/58.0.2/system-requirements/ 512MB of RAM / 2GB of RAM for the 64-bit version that's quite a bit more than 150 MB just for fi...
by hotaru
Tue Apr 10, 2018 7:10 pm UTC
Forum: Coding
Topic: An amateur has tried to build a website in raw HTML
Replies: 54
Views: 6012

Re: An amateur has tried to build a website in raw HTML

What are you talking about? Windows XP and Windows 7 need 64 MB and 512 MB of RAM only to install. Once they are installed, they require less than half of those amounts to boot. Have you tried them in a virtual machine? Windows XP, once it's installed, can boot with 25MB or RAM in normal mode, and ...
by hotaru
Tue Apr 10, 2018 1:14 pm UTC
Forum: Coding
Topic: An amateur has tried to build a website in raw HTML
Replies: 54
Views: 6012

Re: An amateur has tried to build a website in raw HTML

Can you link to an example? (Of a "new feature" that's really a security update) how about their failure to add support for any reasonably secure (ECDHE and AEAD) TLS cipher suites to windows vista? How come Windows XP can run on 64MB of RAM, while Windows 7 barely run on 512MB of RAM? XP...
by hotaru
Tue Apr 10, 2018 1:46 am UTC
Forum: Coding
Topic: An amateur has tried to build a website in raw HTML
Replies: 54
Views: 6012

Re: An amateur has tried to build a website in raw HTML

I also don't think it's fair to say that Win 7 isn't usable any more. Even if you took a liberal definition of "unusable" to include that it's not safe to use because it doesn't get security updates, there's still almost two years left of usability. only if you're paying microsoft for a s...
by hotaru
Mon Apr 09, 2018 8:26 pm UTC
Forum: Coding
Topic: An amateur has tried to build a website in raw HTML
Replies: 54
Views: 6012

Re: An amateur has tried to build a website in raw HTML

speising wrote:well it is the latest native browser on win 7, which is still the last useable win version.

it's not usable anymore:
Spoiler:
Image
by hotaru
Thu Mar 15, 2018 2:43 pm UTC
Forum: Hardware
Topic: Making a GSM antenna?
Replies: 8
Views: 3769

Re: Making a GSM antenna?

I have this idea of making two identical antennas connected by coaxial cable and placing one of them outside and the other inside the wall. A little update on this idea: I tested it today and got no signs of it working as I thought it would. This is probably because I didn't pay too much attention ...
by hotaru
Sun Mar 11, 2018 8:50 pm UTC
Forum: Hardware
Topic: Making a GSM antenna?
Replies: 8
Views: 3769

Re: Making a GSM antenna?

Mess with the internal antenna connection hiding under the backplate, which seems to be more durable and using a standrdised connector. It's rather small and probably not designed for a large number of connections either, but if I can get the matching connector I can test my antennas more thoroughl...
by hotaru
Mon Feb 19, 2018 12:56 am UTC
Forum: Computer Science
Topic: Rebuilding Google After The Apocalypse
Replies: 6
Views: 3034

Re: Rebuilding Google After The Apocalypse

Soupspoon wrote:However, on your concluding line, there is an alternative to just letting him pass if you're prepared for the situation

USB hubs are cheaper.
by hotaru
Wed Feb 07, 2018 12:16 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1721324

Re: Coding: Fleeting Thoughts

There's one more case that's even sneakier. Worry no more about transitivity. You can solve this: var a = ...; var b = ...; if (a == b && a != b) console.log("seriously?"); var a = 0; var b = {v: 0, valueOf: function(){return this.v++}}; 
by hotaru
Tue Dec 12, 2017 3:33 am UTC
Forum: Hardware
Topic: After a decade it's time for a new computer
Replies: 24
Views: 5802

Re: After a decade it's time for a new computer

Maybe we just disagree on what "significant" means, but I think that qualifies. 22% over 6 years is not a significant increase. especially when you consider the fact that there has been no difference in IPC between the last 3 generations (skylake, kaby lake, and coffee lake), and you can ...
by hotaru
Tue Dec 12, 2017 12:09 am UTC
Forum: Hardware
Topic: After a decade it's time for a new computer
Replies: 24
Views: 5802

Re: After a decade it's time for a new computer

I'll add to this that while single-threaded performance hasn't scaled like it did in the 70s and 80s, there's still been fairly-significant improvement in the last 10 years from my understanding. it really hasn't. Intel hasn't made any significant improvements in IPC since sandy bridge (2011), and ...
by hotaru
Tue Dec 05, 2017 4:08 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1721324

Re: Coding: Fleeting Thoughts

Todays Google doodle is nice. They appear to measure “shortest solution” in terms of fewest instructions, not least movement. also, the "shortest solution" is wrong for the last one. edit #1: same for number 4. edit #2: and number 5. number 4, 6 instructions instead of 7: { { forward, for...
by hotaru
Wed Nov 29, 2017 10:13 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1721324

Re: Coding: Fleeting Thoughts

gd1 wrote:Why so many std's in C?

at least C doesn't have "using namespace std"...
by hotaru
Mon Nov 06, 2017 7:34 pm UTC
Forum: Religious Wars
Topic: Steering showdown
Replies: 29
Views: 16605

Re: Steering showdown

10 & 3.
by hotaru
Fri Sep 29, 2017 4:57 pm UTC
Forum: Coding
Topic: code for melting computer
Replies: 7
Views: 4483

Re: code for melting computer

unless the hardware has a serious flaw, the worst you'll be able to do is waste electricity and maybe shut down the system (the CPU and GPU are more likely to throttle and stay within safe temperature ranges, but if you have especially poor cooling (for example, a laptop packed full of dust), you mi...
by hotaru
Thu Sep 28, 2017 9:08 pm UTC
Forum: Coding
Topic: var == 'value' vs 'value' == var
Replies: 20
Views: 7399

Re: var == 'value' vs 'value' == var

SpitValve wrote:I think the `for` version feels less tricksy and reads cleaner.

unnecessary duplication of code might "feel less tricksy", but it certainly doesn't read cleaner to me.
by hotaru
Wed Sep 20, 2017 7:31 pm UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9848
Views: 1721324

Re: Coding: Fleeting Thoughts

Is there a linuxy way to monitor services and send an email whenever a services dies or comes back up (and preferably every hour while something's down)? I'm currently using systemd timers to run a small script to log the status of things like the xkcd minecraft server and I could run a sendmail co...
by hotaru
Wed Sep 20, 2017 7:22 pm UTC
Forum: The Help Desk
Topic: Wipe a folder from Android menu
Replies: 10
Views: 2219

Re: Wipe a folder from Android menu

It is unfortunate that mobile OS designers do their best to rob us of that level of access. The irony is that everything is sitting there exposed if you just plug the phone into any PC, leaving the unsuspecting user to merrily delete vital application components at whim. ("I need more space fo...
by hotaru
Tue Jul 18, 2017 11:36 pm UTC
Forum: Religious Wars
Topic: Spaces in paths & filenames
Replies: 45
Views: 7788

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: 45
Views: 7788

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: Coding
Topic: View XKCD from a terminal.
Replies: 5
Views: 3801

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: 45
Views: 7788

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: 4088

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: 2456

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: 9827

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: 10017

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: 42069

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: 42069

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: 7728

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: 9848
Views: 1721324

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: 9848
Views: 1721324

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: 10988

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: 9848
Views: 1721324

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: 3576

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: 16026

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: 10988

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: 29517

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: 5427

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.

Go to advanced search