Search found 1328 matches
- Thu Dec 27, 2018 11:33 pm UTC
- Forum: Coding
- Topic: Coding: Fleeting Thoughts
- Replies: 9924
- Views: 1885087
Re: Coding: Fleeting Thoughts
Pretty much. Even for those of us who like to dabble in assembly language, a NOP instruction has pretty much two uses: leaving room to insert code later (which is really only useful in a situation where you're going to be editing/debugging code in-memory rather than re-assembling from source) or as...
- Wed Oct 24, 2018 7:19 pm UTC
- Forum: Hardware
- Topic: Security through obscurity
- Replies: 6
- Views: 5967
Re: Security through obscurity
But trying to keep out somebody with a soldering iron and an oscilloscope is essentially impossible. keeping out someone with a soldering iron and an oscilloscope is essentially impossible, but that doesn't mean you should just connect the chip's JTAG interface to an external port and assume no one...
- Sun Sep 30, 2018 6:14 pm UTC
- Forum: Hardware
- Topic: Security through obscurity
- Replies: 6
- Views: 5967
Re: Security through obscurity
What makes you say that they don't? The math behind cryptography doesn't care if it's hardware or software. a lot of hardware relies on obscurity instead of cryptography (unsigned firmware updates, relying on not labeling pins to keep people out of powerful debugging interfaces, etc.). the math beh...
- Fri Jun 22, 2018 1:49 am UTC
- Forum: Coding
- Topic: Could a 32 bit game be run on a 64 bit system? Elaboration in thread
- Replies: 12
- Views: 4954
Re: Could a 32 bit game be run on a 64 bit system? Elaboration in thread
Well, there's also the matter of whether they're running a 64-bit capable OS - I've even seen vendors shipping 32-bit Win10 on 64-bit capable hardware. Not sure why they'd do that, unless licenses cost more for one than for the other...? But it is a thing. 32-bit Windows 10 does officially require ...
- Fri Jun 22, 2018 1:40 am UTC
- Forum: Hardware
- Topic: Petticoat 5: the computer for women, by women
- Replies: 20
- Views: 18292
Re: Petticoat 5: the computer for women, by women
poxic wrote:Because keeping a binder with written or printed recipes is just so difficult...
apparently it could store "over 1000 recipes". can a binder do that?
- Thu Jun 21, 2018 8:37 pm UTC
- Forum: Hardware
- Topic: Petticoat 5: the computer for women, by women
- Replies: 20
- Views: 18292
Re: Petticoat 5: the computer for women, by women
Not in that they used it for that long. More that the same "computer" they used as an advanced version of a recipe book was also primary 'computer' monitoring the temperature of the reactor. it probably worked a lot better for temperature monitoring than for storing recipes with only togg...
- Sat Jun 16, 2018 8:15 pm UTC
- Forum: Hardware
- Topic: Petticoat 5: the computer for women, by women
- Replies: 20
- Views: 18292
Re: Petticoat 5: the computer for women, by women
that one's fake, but this one is real: https://en.wikipedia.org/wiki/Honeywell ... n_Computer
- Fri Apr 13, 2018 2:44 pm UTC
- Forum: Coding
- Topic: An amateur has tried to build a website in raw HTML
- Replies: 56
- Views: 15137
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...
- Thu Apr 12, 2018 4:15 pm UTC
- Forum: Coding
- Topic: An amateur has tried to build a website in raw HTML
- Replies: 56
- Views: 15137
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...
- Thu Apr 12, 2018 1:00 am UTC
- Forum: Coding
- Topic: An amateur has tried to build a website in raw HTML
- Replies: 56
- Views: 15137
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...
- Tue Apr 10, 2018 7:10 pm UTC
- Forum: Coding
- Topic: An amateur has tried to build a website in raw HTML
- Replies: 56
- Views: 15137
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 ...
- Tue Apr 10, 2018 1:14 pm UTC
- Forum: Coding
- Topic: An amateur has tried to build a website in raw HTML
- Replies: 56
- Views: 15137
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...
- Tue Apr 10, 2018 1:46 am UTC
- Forum: Coding
- Topic: An amateur has tried to build a website in raw HTML
- Replies: 56
- Views: 15137
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...
- Mon Apr 09, 2018 8:26 pm UTC
- Forum: Coding
- Topic: An amateur has tried to build a website in raw HTML
- Replies: 56
- Views: 15137
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:
- Thu Mar 15, 2018 2:43 pm UTC
- Forum: Hardware
- Topic: Making a GSM antenna?
- Replies: 8
- Views: 6187
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 ...
- Sun Mar 11, 2018 8:50 pm UTC
- Forum: Hardware
- Topic: Making a GSM antenna?
- Replies: 8
- Views: 6187
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...
- Mon Feb 19, 2018 12:56 am UTC
- Forum: Computer Science
- Topic: Rebuilding Google After The Apocalypse
- Replies: 6
- Views: 5170
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.
- Wed Feb 07, 2018 12:16 am UTC
- Forum: Coding
- Topic: Coding: Fleeting Thoughts
- Replies: 9924
- Views: 1885087
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++}};
- Tue Dec 12, 2017 3:33 am UTC
- Forum: Hardware
- Topic: After a decade it's time for a new computer
- Replies: 24
- Views: 9928
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 ...
- Tue Dec 12, 2017 12:09 am UTC
- Forum: Hardware
- Topic: After a decade it's time for a new computer
- Replies: 24
- Views: 9928
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 ...
- Tue Dec 05, 2017 4:08 am UTC
- Forum: Coding
- Topic: Coding: Fleeting Thoughts
- Replies: 9924
- Views: 1885087
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...
- Wed Nov 29, 2017 10:13 pm UTC
- Forum: Coding
- Topic: Coding: Fleeting Thoughts
- Replies: 9924
- Views: 1885087
Re: Coding: Fleeting Thoughts
gd1 wrote:Why so many std's in C?
at least C doesn't have "using namespace std"...
- Mon Nov 06, 2017 7:34 pm UTC
- Forum: Religious Wars
- Topic: Steering showdown
- Replies: 29
- Views: 24121
Re: Steering showdown
10 & 3.
- Fri Sep 29, 2017 4:57 pm UTC
- Forum: Coding
- Topic: code for melting computer
- Replies: 7
- Views: 7255
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...
- Thu Sep 28, 2017 9:08 pm UTC
- Forum: Coding
- Topic: var == 'value' vs 'value' == var
- Replies: 20
- Views: 11417
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.
- Wed Sep 20, 2017 7:31 pm UTC
- Forum: Coding
- Topic: Coding: Fleeting Thoughts
- Replies: 9924
- Views: 1885087
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...
- Wed Sep 20, 2017 7:22 pm UTC
- Forum: The Help Desk
- Topic: Wipe a folder from Android menu
- Replies: 10
- Views: 4799
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...
- Tue Jul 18, 2017 11:36 pm UTC
- Forum: Religious Wars
- Topic: Spaces in paths & filenames
- Replies: 45
- Views: 13518
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...
- Tue Jul 18, 2017 8:11 pm UTC
- Forum: Religious Wars
- Topic: Spaces in paths & filenames
- Replies: 45
- Views: 13518
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*
- Wed Jul 05, 2017 10:24 am UTC
- Forum: Coding
- Topic: View XKCD from a terminal.
- Replies: 5
- Views: 7415
Re: View XKCD from a terminal.
you should use the json interface instead of trying to parse HTML with sed.
- Sun Jun 25, 2017 4:36 am UTC
- Forum: Religious Wars
- Topic: Spaces in paths & filenames
- Replies: 45
- Views: 13518
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?
- 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: 5997
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?
- Sat Jan 14, 2017 6:05 pm UTC
- Forum: The Help Desk
- Topic: Opening edb files?
- Replies: 1
- Views: 4192
Re: Opening edb files?
a quick google search turns up https://github.com/libyal/libesedb/, which is free and looks like it should work.
- Thu Jan 12, 2017 1:35 am UTC
- Forum: Individual XKCD Comic Threads
- Topic: 1784: "Bad Map Projection: Liquid Resize"
- Replies: 58
- Views: 12897
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.
- Fri Nov 04, 2016 12:56 am UTC
- Forum: The Help Desk
- Topic: Cheap online storage with SFTP access?
- Replies: 30
- Views: 14523
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...
- Sun Oct 30, 2016 2:14 pm UTC
- Forum: Computer Science
- Topic: Deliberately bad algorithms
- Replies: 120
- Views: 53547
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.
- Sun Oct 30, 2016 12:21 pm UTC
- Forum: Computer Science
- Topic: Deliberately bad algorithms
- Replies: 120
- Views: 53547
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...
- Mon Jun 27, 2016 6:08 pm UTC
- Forum: Coding
- Topic: Good books for learning to create proxy servers?
- Replies: 18
- Views: 8740
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 ...
- Tue Mar 01, 2016 4:49 pm UTC
- Forum: Coding
- Topic: Coding: Fleeting Thoughts
- Replies: 9924
- Views: 1885087
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.
- Sun Feb 14, 2016 6:23 am UTC
- Forum: Coding
- Topic: Coding: Fleeting Thoughts
- Replies: 9924
- Views: 1885087
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...