Search found 467 matches

by tetsujin
Fri Sep 26, 2014 10:36 pm UTC
Forum: News & Articles
Topic: CVE-2014-6271: Remote Exploit Vulnerability found in BASH
Replies: 19
Views: 8546

Re: CVE-2014-6271: Remote Exploit Vulnerability found in BAS

gnutrino wrote:Soooo.... anyone know of any good resources for someone looking to migrate to zsh?


What do you want to know about it exactly? Just using it, or are you looking to use it for scripting as well?

I probably won't have the answers to your zsh questions, but I'm interested in these sorts of things...
by tetsujin
Thu Sep 25, 2014 9:02 pm UTC
Forum: News & Articles
Topic: CVE-2014-6271: Remote Exploit Vulnerability found in BASH
Replies: 19
Views: 8546

Re: CVE-2014-6271: Remote Exploit Vulnerability found in BAS

After taking the time to understand this bug... Man, it is just so stupid. Bash supports user-defined functions, and it allows you to export them as part of the environment. As a result, when Bash starts up and sees a variable in the environment whose value is function syntax, it tries to interpret ...
by tetsujin
Thu Sep 25, 2014 8:39 pm UTC
Forum: Hardware
Topic: Crashy-ass computer... It's a mystery
Replies: 35
Views: 24165

Re: Crashy-ass computer... It's a mystery

Never changed the power supply, eh? :mrgreen: If I hadn't seen bizarre behavior with a bad PS before, I wouldn't recommend it so eagerly. It's tricky to put power supplies on a multimeter (since the ATX days), so it would be easier to grab one from a local store that will allow open box returns and...
by tetsujin
Fri Sep 05, 2014 9:16 pm UTC
Forum: Hardware
Topic: Crashy-ass computer... It's a mystery
Replies: 35
Views: 24165

Re: Crashy-ass computer... It's a mystery

And welcome back! I can't say for sure yet that I've solved it, but I think I have: Basically, I had an HFS+ disk image, full of files I was trying to recover from a Mac laptop that had been dropped. For convenience I had that disk image always mounted. And then one day, a crash happened and instead...
by tetsujin
Thu Mar 06, 2014 3:03 pm UTC
Forum: Coding
Topic: Mild Scripting Rant (argument encapsulation)
Replies: 15
Views: 6224

Re: Mild Scripting Rant (argument encapsulation)

Wait, asking for the length of the array gives you the number of elements, not the greatest index + 1? That's super messed up, since you can delete from the middle. JS also lets you delete array indexes without renumbering, but .length is based on the greatest index. Yeah... The array append syntax...
by tetsujin
Wed Mar 05, 2014 11:29 pm UTC
Forum: Coding
Topic: Mild Scripting Rant (argument encapsulation)
Replies: 15
Views: 6224

Mild Scripting Rant (argument encapsulation)

Can I just share a little story? Think of it as a cautionary tale on the dangers of sloppy scripting, or a tutorial on how to not do it wrong, or just a rant. We've got a Python script that runs a shell script that runs our program... And wouldn't you know it, the darn thing failed when we fed it fi...
by tetsujin
Sat Mar 02, 2013 4:22 am UTC
Forum: Hardware
Topic: Crashy-ass computer... It's a mystery
Replies: 35
Views: 24165

Re: Crashy-ass computer... It's a mystery

Could you ask that first next time? Not much point. It's true, what you said: There are certain things I will not do, even with the promise of finding a solution to this problem... and installing Windows on my PC is one of them. I don't disrespect it as a valid choice of OS, but Windows and I don't...
by tetsujin
Fri Mar 01, 2013 9:16 am UTC
Forum: Hardware
Topic: Crashy-ass computer... It's a mystery
Replies: 35
Views: 24165

Re: Crashy-ass computer... It's a mystery

Could you ask that first next time? Not much point. It's true, what you said: There are certain things I will not do, even with the promise of finding a solution to this problem... and installing Windows on my PC is one of them. I don't disrespect it as a valid choice of OS, but Windows and I don't...
by tetsujin
Fri Mar 01, 2013 2:21 am UTC
Forum: Hardware
Topic: Crashy-ass computer... It's a mystery
Replies: 35
Views: 24165

Re: Crashy-ass computer... It's a mystery

Make a new partition and put Windows on it. When hell freezes over. No sooner than that, I'm afraid. Well you apparently don't value all suggestions, so I'm going to stop posting here. What is installing Windows even supposed to accomplish? Assuming for the moment that I were willing to drop $100 o...
by tetsujin
Fri Mar 01, 2013 1:22 am UTC
Forum: Hardware
Topic: Crashy-ass computer... It's a mystery
Replies: 35
Views: 24165

Re: Crashy-ass computer... It's a mystery

It's been a month. Do you think we've all been joking around? Not at all. As I said, I appreciate all the suggestions. But no one can diagnose the problem without the necessary information. The best you or I could provide is an educated guess... If I can collect more information, maybe that will ch...
by tetsujin
Thu Feb 28, 2013 11:33 pm UTC
Forum: Hardware
Topic: Crashy-ass computer... It's a mystery
Replies: 35
Views: 24165

Re: Crashy-ass computer... It's a mystery

mosc wrote:change the power supply.


I may still do that. But if I replace the power supply, it could be weeks before I have any confidence that it's fixed the problem. Before that I think I should at least make a serious effort at diagnosing the problem.
by tetsujin
Thu Feb 28, 2013 7:16 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1179: "ISO 8601"
Replies: 379
Views: 101927

Re: 1179: "ISO 8601"

Yes, it would be nice if software sorted correctly given DD-MM-YYYY or MM-DD-YYYY. But... it doesn't. Nautilus doesn't, Windows explorer doesn't, ls doesn't. I'd be surprised if any remotely-commonly used file tool did . (The most likely one would be Finder, but I don't have a Mac to try.) It's har...
by tetsujin
Wed Feb 27, 2013 9:44 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1179: "ISO 8601"
Replies: 379
Views: 101927

Re: 1179: "ISO 8601"

it should just be DD/MM/YYYY. Makes the most sense. No! Would you seriously write time as ss:mm:hh? or mm:ss:hh? No. The date is just an extension of that. L-R is big to small (more precision further right, like normal numbers). Although I strongly prefer YYYY-MM-DD, I think DD/MM/YYYY does make a ...
by tetsujin
Wed Feb 27, 2013 8:29 pm UTC
Forum: Hardware
Topic: Crashy-ass computer... It's a mystery
Replies: 35
Views: 24165

Re: Crashy-ass computer... It's a mystery

I've decided it's time I took a more aggressive stance against this issue. All this scratching my head has gotten me nowhere, and while I appreciate every post by anyone who's tried to help with this issue, I don't feel too confident that swapping out a bunch of components is necessarily even going ...
by tetsujin
Wed Feb 27, 2013 4:05 am UTC
Forum: Hardware
Topic: Harddisk Space Increasing Idea
Replies: 9
Views: 5344

Re: Harddisk Space Increasing Idea

First of all, sorry, I don't know if this fits here exactly, I don't post on this forum that often :D So I just recently watched a Documentary about Internet Crime and whatever, and they said even if a file on the harddisk is erased, it is still there AND(!) even if you save over it several times t...
by tetsujin
Sun Feb 24, 2013 4:52 am UTC
Forum: Hardware
Topic: Crashy-ass computer... It's a mystery
Replies: 35
Views: 24165

Re: Crashy-ass computer... It's a mystery

Definitely worth a shot, especially since (unfortunately) not all changes are documented. Speccy should tell you your current BIOS version: http://www.piriform.com/speccy/download/portable/downloadfile I run Linux... I don't imagine that will work in wine. No big deal, I can find out the BIOS rev b...
by tetsujin
Fri Feb 22, 2013 4:54 am UTC
Forum: Hardware
Topic: Crashy-ass computer... It's a mystery
Replies: 35
Views: 24165

Re: Crashy-ass computer... It's a mystery

Have you checked for bios updates, or just googled the mobo model? could be a known problem with a bad revision or batch. Or simply an hdd controller going. And (obv) check for firmware of any other components you have. From the changelog for the BIOS (Motherboard is Intel boxdp45sg, if anyone is c...
by tetsujin
Wed Feb 20, 2013 6:35 pm UTC
Forum: Hardware
Topic: Crashy-ass computer... It's a mystery
Replies: 35
Views: 24165

Re: Crashy-ass computer... It's a mystery

sounds like the PSU is not handling the graphics card's power requests very well. Try swapping PSU's, they're cheap. I may give that a try. I'm kind of at my wits' end with this problem. I'll have to figure out how much power it needs to supply, and then figure out where to get it... New data point...
by tetsujin
Tue Feb 19, 2013 3:12 pm UTC
Forum: Religious Wars
Topic: Most evil HTML tag?
Replies: 47
Views: 49610

Re: Most evil HTML tag?

I'd say the most evil bits are those that nest Javascript within other tags in ways that make the HTML difficult to sanitize. For instance, the different event-response tag attributes, like onhover... Having more ways to put Javascript code into HTML makes it more difficult to write an HTML sanitize...
by tetsujin
Thu Feb 07, 2013 5:11 am UTC
Forum: Hardware
Topic: Crashy-ass computer... It's a mystery
Replies: 35
Views: 24165

Re: Crashy-ass computer... It's a mystery

My first thought was about PSU or video, too. Try * running in runlevel 3 to see if it's X Might be worth a shot. But it's tough to be without the GUI for that long - most of the things I do with the computer just aren't possible without it - and who knows how long that would be... * a different wi...
by tetsujin
Tue Feb 05, 2013 8:45 pm UTC
Forum: Hardware
Topic: Crashy-ass computer... It's a mystery
Replies: 35
Views: 24165

Re: Crashy-ass computer... It's a mystery

Have you done any hard drive diagnostics? It's hard to imagine that this could be a hard drive problem... The boot drive is a couple years old at this point but the RAID array is brand new - and I don't get how a hard drive failure would bring down the system... Well, I guess if the chipset driver ...
by tetsujin
Tue Feb 05, 2013 5:49 pm UTC
Forum: Hardware
Topic: Crashy-ass computer... It's a mystery
Replies: 35
Views: 24165

Re: Crashy-ass computer... It's a mystery

One thing to check is if anything odd shows up in the system logs just before the computer crashes. I once had a weird problem that I fixed by reseating the memory modules, and it showed up as memory errors in /var/log/messages. Really though, intermittent problems such as you describe are the wors...
by tetsujin
Tue Feb 05, 2013 7:30 am UTC
Forum: Hardware
Topic: Crashy-ass computer... It's a mystery
Replies: 35
Views: 24165

Crashy-ass computer... It's a mystery

My computer has a nasty habit of crashing. More precisely, it stops running - I don't know if something is making the software crash, or if the machine just stops running. I don't know why it happens but I'm really sick of it so I'm hoping somebody can help me find the answer. I think of it as a har...
by tetsujin
Wed Dec 19, 2012 7:43 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1149: Broomstick
Replies: 114
Views: 25780

Re: 1149: Broomstick

During the Death Star trench scene in the first Star Wars film, Darth Vader could have rattled Skywalker's concentration by getting on the radio (or telepathy, whatever) and saying, “Say, Luke, Obi Wan must have told you that I'm your father, right?” Did he even know that was Luke? All it was was &...
by tetsujin
Wed Dec 19, 2012 6:36 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1149: Broomstick
Replies: 114
Views: 25780

Re: 1149: Broomstick

Wnderer wrote:
broomstick2.png


Or, directly after panel 2, "Monkeys, seize her and chop off her feet!"
by tetsujin
Fri Oct 19, 2012 11:53 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1122: "Electoral Precedent"
Replies: 167
Views: 46429

Re: 1122: "Electoral Precedent"

I'm curious what exactly would happen if someone who wasn't born here wound up being elected, would the founding fathers rise from their graves brandishing the pens they wrote the constitution with like swords, clad head to toe in shining armor made from eagles and patriotism, proclaim that we have...
by tetsujin
Wed Oct 17, 2012 5:40 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 1122: "Electoral Precedent"
Replies: 167
Views: 46429

Re: 1122: "Electoral Precedent"

SSteve wrote:Didn't Obama have something else statistically against him other than not winning Missouri? I just can't put my finger on it.


Hmmm...

First major-party candidate to turn down public financing?
by tetsujin
Mon Sep 03, 2012 5:25 am UTC
Forum: Religious Wars
Topic: My Unix CLI manifesto, aka why PowerShell is the bees knees
Replies: 111
Views: 92094

Re: My Unix CLI manifesto, aka why PowerShell is the bees kn

@troyp Lol, I'm actually moving away from graphical file managers all together. I find they just don't offer me much of anything. Though I do miss the ability to copy/move things via ctrl-c+ctrl-v/d'n'd... On a slightly wacky note, there was this thing I found a while back called (IIRC) "adven...
by tetsujin
Sun Sep 02, 2012 11:40 pm UTC
Forum: Religious Wars
Topic: My Unix CLI manifesto, aka why PowerShell is the bees knees
Replies: 111
Views: 92094

Re: My Unix CLI manifesto, aka why PowerShell is the bees kn

So I've thought about the curses idea, and while I think in some ways it'd be neat, I don't think it's something I'll want to do. There are some things that I want the "terminal" to do that are just fundamentally not possible with today's terminals (aside from a couple small projects), su...
by tetsujin
Sun Sep 02, 2012 7:24 pm UTC
Forum: Religious Wars
Topic: My Unix CLI manifesto, aka why PowerShell is the bees knees
Replies: 111
Views: 92094

Re: My Unix CLI manifesto, aka why PowerShell is the bees kn

About the whole value display thing, and the requirement of a graphical display for the more sophisticated styles of value display, and all the questions about whether the shell has to adjust its behavior depending on what kind of terminal it's in.. First, one can do quite a bit with a straight-up t...
by tetsujin
Sat Sep 01, 2012 4:59 am UTC
Forum: Religious Wars
Topic: My Unix CLI manifesto, aka why PowerShell is the bees knees
Replies: 111
Views: 92094

Re: My Unix CLI manifesto, aka why PowerShell is the bees kn

If you aren't using JSON on the user side...then it works out fine. Though you do have to ask yourself what format you actually want to display in and whether or not you want that done implicitly. If I recall correctly, the latter was decided against, though I don't remember if anyone decided on a ...
by tetsujin
Fri Aug 31, 2012 8:55 am UTC
Forum: Religious Wars
Topic: My Unix CLI manifesto, aka why PowerShell is the bees knees
Replies: 111
Views: 92094

Re: My Unix CLI manifesto, aka why PowerShell is the bees kn

Indeed, I don't mind if you pare down some of the "wall of text". I was struggling to edit it down while still addressing what I wanted to address. That proces takes a lot of time, though, so eventually I just had to send the message and be done with it. :) The real advantage of names is t...
by tetsujin
Thu Aug 30, 2012 9:37 pm UTC
Forum: Religious Wars
Topic: My Unix CLI manifesto, aka why PowerShell is the bees knees
Replies: 111
Views: 92094

Re: My Unix CLI manifesto, aka why PowerShell is the bees kn

(On encapsulating binary payloads in CSV:) 1: the receiving program doesn't know it's binary data, let alone what it's supposed to represent. 2: By ASCII-encoding the payload you're inflating its size a lot. (Doubling it for a HEX encoding, or increasing its size by about 1/3 in the case of base-64...
by tetsujin
Wed Aug 29, 2012 8:48 pm UTC
Forum: Religious Wars
Topic: My Unix CLI manifesto, aka why PowerShell is the bees knees
Replies: 111
Views: 92094

Re: My Unix CLI manifesto, aka why PowerShell is the bees kn

I think there's not much to be gained from going with something simpler than JSON, and probably something to be lost. Getting reliable delimitation of values is great, but that's pretty much all you get... And while it's great that two or three utilities already support CSV, it doesn't amount to mu...
by tetsujin
Tue Aug 28, 2012 9:06 am UTC
Forum: Religious Wars
Topic: My Unix CLI manifesto, aka why PowerShell is the bees knees
Replies: 111
Views: 92094

Re: My Unix CLI manifesto, aka why PowerShell is the bees kn

I think there's not much to be gained from going with something simpler than JSON, and probably something to be lost. Getting reliable delimitation of values is great, but that's pretty much all you get... And while it's great that two or three utilities already support CSV, it doesn't amount to muc...
by tetsujin
Mon Aug 27, 2012 7:54 pm UTC
Forum: Religious Wars
Topic: My Unix CLI manifesto, aka why PowerShell is the bees knees
Replies: 111
Views: 92094

Re: My Unix CLI manifesto, aka why PowerShell is the bees kn

Also, I want to address this... Of course, I could make all tools uniform and have all i/o be JSON. Which collectively is elegant, but individually ugly: $cat file [{"name":"file", "content":"This is a file./nI go on/nand on/nand on."}] grep has a few options ...
by tetsujin
Mon Aug 27, 2012 8:07 am UTC
Forum: Religious Wars
Topic: My Unix CLI manifesto, aka why PowerShell is the bees knees
Replies: 111
Views: 92094

Re: My Unix CLI manifesto, aka why PowerShell is the bees kn

My point about special characters in filenames is that, whiele the current shells handle that with no problem in their syntax, handling that kind of case in a pipeline is more problematic, and one of the scenarios that keeps coming up as we talk about why pipelines should adhere to a common serialia...
by tetsujin
Mon Aug 27, 2012 12:39 am UTC
Forum: Religious Wars
Topic: My Unix CLI manifesto, aka why PowerShell is the bees knees
Replies: 111
Views: 92094

Re: My Unix CLI manifesto, aka why PowerShell is the bees kn

*EDIT* One thing I'm worried about is that not all of the utilities actually need or should have full JSON support. cat for example just takes file names and outputs their concatenated contents, JSON would only complicate this. So we'd have this situation where a bunch of utilities output in JSON a...
by tetsujin
Wed Aug 15, 2012 9:54 pm UTC
Forum: Religious Wars
Topic: My Unix CLI manifesto, aka why PowerShell is the bees knees
Replies: 111
Views: 92094

Re: My Unix CLI manifesto, aka why PowerShell is the bees kn

Just wanted to stop by and say hi. I've been lurking on this thread for awhile... on account of being in the middle of such a rewrite myself. Though I'm doing it in Go. Currently, I've got several utilities "functional," but I haven't started work on making them different (wanting to solv...
by tetsujin
Tue Aug 14, 2012 7:33 am UTC
Forum: Religious Wars
Topic: My Unix CLI manifesto, aka why PowerShell is the bees knees
Replies: 111
Views: 92094

Re: My Unix CLI manifesto, aka why PowerShell is the bees kn

I gave the "futureix" stuff a try. Well, not a lot to try at the moment but it was interesting to take a look. Maybe not worth reporting bugs at this point, but: $ mkdir a; cd a; touch x y z; mkdir b; touch b/n1 b/n2; cd .. $ ./list_directory ./* {"-meta type": {"type name&q...

Go to advanced search