Do you have adblock enabled?
 
If you can read this, either the style sheet didn't load or you have an older browser that doesn't support style sheets. Try clearing your browser cache and refreshing the page.

(Fark)   Fark Geek Forum   (fark.com ) divider line
    More: Misc  
•       •       •

16323 clicks; posted to Geek » on 06 Feb 2007 at 5:32 PM (9 years ago)   |   Favorite   |   Watch    |   share:  Share on Twitter share via Email Share on Facebook   more»



7076 Comments     (+0 »)
 


Oldest | « | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | » | Newest

 
  2010-04-27 11:32:46 PM  
Separating very slowly sounds like the same problem I'm having. After the framerate shift everything syncs up fine, and the video isn't noticeably effected.
 
  2010-04-30 10:19:26 AM  
Feeling nostalgic and inspired by thread 5239183, I decided to order a new mechanical-switch keyboard - one of the show-offy ones with blank keys. Judging from a self-test while forcing myself to look at the screen and ignore the delete key -

The quicj beiwb foc jumps over tge lazy fog.

- I have a bit more room for improvement. What are the best typing tutors (through browser or free Mac app) for this sort of training?
 
  2010-05-01 07:16:49 AM  
N. S. Radieaux 2010-04-30 10:19:26 AM
The quicj beiwb foc jumps over tge lazy fog.

// I think you could ace the politics threads with typing like that.
 
  2010-05-01 02:30:07 PM  
Is there any way to take a bootable ISO for a CD and convert it to a USB stick I can boot from? Lenovo unhelpfully provides the latest driver for my SSD only on a bootable ISO despite the fact that this model doesn't have an optical drive.

N. S. Radieaux:
- I have a bit more room for improvement. What are the best typing tutors (through browser or free Mac app) for this sort of training?


Is the problem because you don't know the keys in general or because you don't know the keyboard in particular? I'd assume the latter, and to do that you'll just have to use the keyboard a bit to get used to it (though I'm not sure what the point of that is with no identification of the keys.) You'll get habituated to it pretty fast if you use it, just about the only way to perfect the fine motor movements right.
 
  2010-05-02 01:25:49 AM  

Barakku: Is there any way to take a bootable ISO for a CD and convert it to a USB stick I can boot from? Lenovo unhelpfully provides the latest driver for my SSD only on a bootable ISO despite the fact that this model doesn't have an optical drive.


On most newer computers the USB can be selectable for first read on boot up. All you really need to do is copy the ISO to the memory stick, plug it in, go into the bios and select USB and that should do it. You can get really big sticks now so that putting an OS on a USB stick is not a problem.

As for the typing thing, find a busy chat room with a topic you like and spend about a month in there chatting, you will be doing 40 to 100 wpm in no time. That was a better tutor than any typing program I ever tried. You are motivated to keep up with the scrolling screen.
ymmv.
 
  2010-05-02 01:35:16 AM  
Oh, it'll boot right from the ISO file like that? Didn't figure it would work that way, I'm too used to the BIOS being bare-bones retarded I guess.
 
  2010-05-02 03:16:52 AM  
Sorry to ask so many questions, but does anyone have any expirence/expertise with SSDs? I'm trying to figure how what I should do to optimize performance, and I've heard conflicting reports that Prefetch, Superfetch should be disabled or enabled, allegedly both to improve performance. Recommendations also conflict on write caching and the cache flush option from device manager. From my understanding of the features I've left prefetch and superfetch (isn't Superfetch RAM anyway?) as well as write caching on, and disabled the cache flushing thing (says it's supposed to increase speed and I'm not worried about data loss).

The lack of totally confirmed data is sometimes an issue, but damn this thing is worth it. I feel like the first guy on the block (or in the city for that matter) to get T1 internet while everyone's still on dial up.
 
  2010-05-02 10:23:16 AM  

Barakku: Is the problem because you don't know the keys in general or because you don't know the keyboard in particular?


I'm a quick typist as long as I can look at the keyboard and see which keys are which. Problems arise when I only look at the screen.
 
  2010-05-02 10:25:17 PM  

N. S. Radieaux: Barakku: Is the problem because you don't know the keys in general or because you don't know the keyboard in particular?

I'm a quick typist as long as I can look at the keyboard and see which keys are which. Problems arise when I only look at the screen.


I suppose those hand positions for typing could help (index fingers on the raised bars on F and J IIRC), Mavis Beacon Teaches Typing is the only product like that I can think of. I've never really followed the finger positions intentionally but I still tend to hold my hands near to that and type pretty well.
I have to look at the keyboard to start typing in the dark too, but I think that's what the finger positions are for (the "blind" keyboard has the bumps right?)
 
  2010-05-03 02:26:29 AM  

N. S. Radieaux: I'm a quick typist as long as I can look at the keyboard and see which keys are which. Problems arise when I only look at the screen.


heh do it in the dark, the F and J keys are your best bet. Once your fingers find the locater bumps the rest is easy. Many many years ago I spent many an hour in the dark reading the chat scroll and trying to keep up with everything as I was a moderator. Scripts only help so much.

Barakku: I'm trying to figure how what I should do to optimize performance,

There are many many ways to speed up a machine. How your machine handles data and changing those settings may increase your speed. However I have found that with up to date hardware that the changes you make how that data is handled may or may not give you a noticeable increase. As far as the internet goes, it is your connection and the servers you are connecting to that make more of an impact on page loading. Going through a proxy can slow you down at first but if it caches the web pages you visit most often then it just updates the changes from your last visit then the page loads faster. Another thing that can affect your browsing experience is if the page gets a lot of content from other servers such as ad servers, flash content etc etc. Using adblock plugins and flash blockers will speed up page loads. prefetching has pros and cons, the pros are subsequent pages load faster, however it may download content or things you may not want. Best way is to try things that work for you.
 
  2010-05-03 03:20:00 AM  

paleryder69: Best way is to try things that work for you.



Yeah, I've been playing with the settings and I really haven't found much to complain about in terms of speed for much anything, except my boot seems slow. Counts like about 20 seconds from on button to desktop (about 5 because of the fingerprint software), I'm not sure what I can do to decrease that though. The sleep/wakeup time is about a second, I figured the boot would be just a few seconds once all the hardware is up. BIOS goes straight to the SSD for boot, and I switched as many services as I could to not start up automatically (somehow I still end up with 50 odd processes by desktop). I think it might be the crappy generic driver I have for my SSD...but I can't use the iso I have to update it currently.
 
  2010-05-03 03:18:01 PM  
Anyone need some DDR2 memory or some old hardware?
 
  2010-05-03 04:28:29 PM  

Barakku: I'm not sure what I can do to decrease that


go into the services tab, you can just about take all that out with a few notable exceptions most of what loads off of the services tab is what you see in your system tray. Also go to the advanced system settings from your computer properties, again the more bells and whistles that you load increases boot time. Another thing that eats boot time is your antivirus. Most of them do a quick memory scan on boot. If you are confidant that you are not infected by anything you may want to turn that off or even load your antivirus manually. For me the boot time is not an issue. I am not that impatient. I like my bells and whistles to load at boot.
 
  2010-05-05 11:09:00 AM  
hey geekers.

I need to replace my cable modem at home with something more.. useful.

I'll need something(s) to connect:

1 video surveillance recording server (preferably wired but upstairs)
3 ip security cameras via the video converter (new window) I already have (cameras & Converter downstairs
1 X-Box (preferably wired & downstairs)
1 laptop via wireless (everywhere)

cable connection, ip camera & video converter, & X-Box are all downstairs... the recording server will be upstairs. I know, wireless would be the easiest way but I've heard video surveillance done on a wireless connection isn't too reliable.

Any ideas on reliable cable modem/gateways, or wireless cable modem/w/built-in 4 or 8 port router, or cable modem/separate 4 or 8 port router w/wireless ability for the laptop?
 
  2010-05-05 01:58:58 PM  
eh, I may drop for This modem (new window) & this router (new window)... I'll have to find a way to run some cat5 upstairs.
 
  2010-05-05 09:45:26 PM  
Just use a separate access point w/ a switch in it -- no real point in trying to combine it and the cable modem in one box...
 
  2010-05-05 10:25:10 PM  
Thanks to all for the advice -- it arrived today. Now I have another question: This designed-with-MS-in-mind keyboard, supposedly rigged to play well with OS X, has the eject command mapped to F12. For reasons too complicated to explain, I want it mapped to F15. Simplest way to accomplish this?
 
  2010-05-06 12:40:18 PM  

paleryder69: For me the boot time is not an issue. I am not that impatient. I like my bells and whistles to load at boot.


Okay I am a moron, spending like an hour to prune through what services are/aren't needed broke my network share and decreased boot time by less than one second (if even that), it's definitely not the services. Is there an option to skip that boot scan for MS Security Essentials?

N. S. Radieaux: Thanks to all for the advice -- it arrived today. Now I have another question: This designed-with-MS-in-mind keyboard, supposedly rigged to play well with OS X, has the eject command mapped to F12. For reasons too complicated to explain, I want it mapped to F15. Simplest way to accomplish this?


There's this (new window) if you want it done in OS X I think, there are some registry fixes or applications to do it in windows too, but I'm not sure exactly what you're looking for. It looks like that's basically directly editing how your computer interprets key presses, so be careful and make sure you know the exact address of the key you're editing.
 
  2010-05-06 02:28:00 PM  

Barakku: Is there an option to skip that boot scan for MS Security Essentials?


Unfortunately I did not find a lot of documentation on that particular program.
I got this from the Wiki: MSE automatically checks for and downloads virus definition updates which are published three times a day to Microsoft Update.[21] Alternatively, users may download the updates manually from Microsoft Security Portal.[1]

I know nothing to do with the boot. BTW I think I confused you. I was referring to the services tab under the system configuration window. Not the Services window. The System Configuration window lists everything that is loaded at boot, and has a boot tab, startup tab services tab and tools tab.
 
  2010-05-07 10:08:04 AM  
Alrighty, let's see if anyone can chime in on this:

I had recently picked up an LSI 9211-4i SAS2 HBA for use in my gaming rig (not really sure I can call it a gaming rig anymore, more of a frankenbeast thingy I mess with). Connected to it would be 4 30GB OCZ Vertex SSDs by way of a SFF-8087 to 4x SATA breakout cable.

The problem I'm having right now is that once the HBA is installed into the secondary PCIe slot on a Gigabyte GA-EP45-UD3P motherboard (rev 1.0) and it will restart 3-4 times before actually getting past POST, and then would restart when loading Windows 7.

The PC exhibits the same problems starting up without any drives attached or powered (ie: just the card installed). I've tested the card in a pre-built Acer desktop at work and it was working without issue.

So what could be the cause? Bad BIOS setting? Bad connection in the slot causing instability? Planets misaligned?

Also, the rest of my system specs in case anyone asks:
Intel E8400 @ 3.00Ghz
Gigabyte GA-EP45-UD3P rev 1.0
8GB ADATA PC6400 DDR2 RAM
Radeon 4890 video card
Corsair HX650 Power supply
2x 300GB WD Velociraptors in Raid 0 (phasing out this raid soon)
1TB WD Caviar Black
4x 30GB OCZ Vertex (1.5 FW) in Raid 0

Thanks in advance if there's anyone that can help.
 
  2010-05-07 01:38:47 PM  
Ok I will wade in way over my head... its your bios. If it is not getting through post then something is tripping over the card installation during post. Make sure your raid settings are correct in the bios. Typically when a MB boots up it takes so much time to detect hardware, if the hardware does not answer in the correct amount of time it may consider the hardware faulty or it might be answering in an unexpected way. This may be what is causing the reboots during post. Check to see what version of BIOS you have on that MB and what is on the MB where it works. If they are the same manufacturer but a different version, you may want to contact the BIOS maker for an updated BIOS.

Oh yeah one other thing to try, put in a generic video card and take out the Radeon card or swap the slots to see if that makes a difference. That's my .02 worth.
 
  2010-05-07 02:00:22 PM  
I've heard of some PCI-E x16 mobo slots only accepting video cards and nothing else. If there's a dedicated x8 or x4 slot, use that for the LSI card.

Also see if there's updated firmware for the LSI card.

(googles the mobo)

OK, so only two x16 slots. Is the Radeon in the blue one or the orange one? Chances are the SAS2 card will need to be in the orange one.

(I love all the "ultra durable" stuff on that board... yet it doesn't support ECC memory?)
 
  2010-05-07 03:00:35 PM  

paleryder69: Ok I will wade in way over my head... its your bios. If it is not getting through post then something is tripping over the card installation during post. Make sure your raid settings are correct in the bios. Typically when a MB boots up it takes so much time to detect hardware, if the hardware does not answer in the correct amount of time it may consider the hardware faulty or it might be answering in an unexpected way. This may be what is causing the reboots during post. Check to see what version of BIOS you have on that MB and what is on the MB where it works. If they are the same manufacturer but a different version, you may want to contact the BIOS maker for an updated BIOS.

Oh yeah one other thing to try, put in a generic video card and take out the Radeon card or swap the slots to see if that makes a difference. That's my .02 worth.


One thing I forgot to point out was that after the eventual POST, the card detects perfectly normally (this includes creating an array and having all drives detected without issue. I was even able to restore to the array without a problem). It would also boot and load Win7 until it's eventual reboot.

Mike: I've heard of some PCI-E x16 mobo slots only accepting video cards and nothing else. If there's a dedicated x8 or x4 slot, use that for the LSI card.

Also see if there's updated firmware for the LSI card.

(googles the mobo)

OK, so only two x16 slots. Is the Radeon in the blue one or the orange one? Chances are the SAS2 card will need to be in the orange one.

(I love all the "ultra durable" stuff on that board... yet it doesn't support ECC memory?)


The vid card is currently in the Blue slot (namely, the PCIe 16x) slot. The Orange slot is 8x only.

Can't say much about the lack of ECC support. But in general I haven't had any issues with it, it's fairly awesome. One thing I do have to point out is that getting my Zalman CNPS8700 mounted properly was a pain to say the least. I had to move the L shaped heatsink/heat pipe assembly to get my CPU heatsink on properly.

If I remember right, I believe I came across someone who had a similar issue. They were trying to run 5 PCIe 1x raid controllers and ran into roughly the same problem when trying to use one in the seconday PCIe 16x slot.

A quick googling says that a 4890 in an 8x should work without bottle-necking.

May need a new case though. my CM 690 is very good, but 7 drives in the 5 drive bay makes for some bad cable management.
 
  2010-05-07 08:08:39 PM  
Weaksauce. Apparently the wife managed to pickup 'my security engine' on her Windows 7 Home Premium equipped Laptop.

Fortunately, she at the very least did not provide them with a credit card number and none of the machines on our network that had ever had numbers on them were powered on at the time, so hopefully it will not spread...

At any rate I am going to give removing it a shot, bleepingcomputer.com has some instructions I think I can follow...

but what security suites can y'all recommend for windows 7 home premium?
 
  2010-05-07 08:43:46 PM  
Dunno about security suites, but malwarebytes antimalware is pretty good at cleaning one-off malware up.
 
  2010-05-07 09:03:27 PM  

TehNacho: Weaksauce. Apparently the wife managed to pickup 'my security engine' on her Windows 7 Home Premium equipped Laptop.

Fortunately, she at the very least did not provide them with a credit card number and none of the machines on our network that had ever had numbers on them were powered on at the time, so hopefully it will not spread...

At any rate I am going to give removing it a shot, bleepingcomputer.com has some instructions I think I can follow...

but what security suites can y'all recommend for windows 7 home premium?


MS Security essentials seems great, though you can't customize it much (if your wife isn't great with computers, it's perfect due to that) though I currently don't like how hard it is to turn off. That's arguably a feature but I'm picky.

I'm also trying Panda Cloud Antivirus, it seems sweet but I haven't had much experience with it. Also very simple, and not very resource intensive due to the cloud. I might be biased because I like cloud computing stuff, but I really like it so far. Detects spyware/adware/"joke" programs/ect scanning that some scanners don't include in their free versions. Panda also doesn't have any settings you can really screw up, and neither of these are near as annoying or resource hungry as Norton.

And just use Windows Firewall, I don't recommend using a third party one for non-business use, just don't turn it off.
 
  2010-05-07 09:41:24 PM  

Barakku:

MS Security essentials seems great, though you can't customize it much (if your wife isn't great with computers, it's perfect due to that) though I currently don't like how hard it is to turn off. That's arguably a feature but I'm picky.

I'm also trying Panda Cloud Antivirus, it seems sweet but I haven't had much experience with it. Also very simple, and not very resource intensive due to the cloud.

And just use Windows Firewall, I don't recommend using a third party one for non-business use, just don't turn it off.


I had Panda for several years on three of our machines. Every once in a while it would completely hose up and knock out my machine until I had a friend crawl up its asshole and fix it. For some reason whenever I tried to get help from Panda all of the pages it would pull up were in Spanish so I'd have to call them... I guess my point is I'm not wholly into Panda anymore. Maybe the cloud aspect, where there isn't anything on the computer to hose up, might help.

Mike: Dunno about security suites, but malwarebytes antimalware is pretty good at cleaning one-off malware up.


It seems that it got rid of this My Security Suite well enough... I hope.

It is super frustrating because my wife doesn't speak English and my Spanish is really bad, and of course I'll be at work and getting calls from her left and right, I answer thinking, 'god, this time it is an emergency' and then have to spend 15 minutes trying to figure out what the fark is going on.

Gonna look more into the MS Essentials though.
 
  2010-05-07 09:47:35 PM  
I dunno about their other products, but reviews seem to favor the reliability of Panda Security--that tends to be based on their detection % rather than performance though. Only thing I know is that you shouldn't use the Cloud scanner, watch House on hulu while backing up your files via network. All of the steps individually made sense...
 
  2010-05-07 09:51:45 PM  

Barakku: I dunno about their other products, but reviews seem to favor the reliability of Panda Security--that tends to be based on their detection % rather than performance though. Only thing I know is that you shouldn't use the Cloud scanner, watch House on hulu while backing up your files via network. All of the steps individually made sense...


lol... I can see how that would make for problems.

Right now on my XP machine (I haven't made the switch to Windows 7 because I cannot afford another hard drive and copy of 7, I'd dual boot but I've had a hard drive hose up a partition table and lost everything off of one partition (the one I needed)... anyways I run Malwarebytes, AVG, and Zonealarm.
 
  2010-05-07 10:41:49 PM  
I couldn't stand multiple scanners on my machine...I was getting ready to delete MS Essentials and find something I can run as on-demand only before I found the Panda one. Scans seem very fast (granted it's an SSD and only about 40+ gigs used) and it actually found a trojan and some tracking cookies MS Essentials must have missed.
 
  2010-05-08 04:24:34 AM  
For my money (I like free) Avast! has done the trick for me. I have had it for 4 years or so and it has always caught any virus I have come in contact with. In fact it usually alerts me on web pages that have embedded virai so all I have to do is abort the download and close the page. I still have the windows defender on this machine but avast has not let anything through for the defender to catch. Of course I do run firefox, use adblock plus and noscript plug ins as well.


/99% of them were on pron referral sites.
//as a rule I do not go to warez sites
///Avast did not like cain and abel..I had to do an exception for it.
 
  2010-05-08 10:51:07 AM  

Mike: Just use a separate access point w/ a switch in it -- no real point in trying to combine it and the cable modem in one box...


Thought of just a switch Mike... but ended up getting a SB6120 modemn, netgear wireless N 4 port router, and a netgear pci card for the video recording server going upstairs. My wireless speeds are testing between 6mb & 8mb on the server. I had to go with a router instead of a switch... I need to set DHCP settings for the IP cameras & video converter or however they work (cousin's doing the camera setup and install).... attempting the install today! wish me lucks

 
  2010-05-08 05:01:01 PM  
anyone else notice how scripts & cookies, esp from ad networks, f***bk are becoming inter linked so that if adblock or NS blocks one, the rest of the site becomes unuseable.
yahoo has a new script wagon, others are following suit.

F***bk and google scripts are on an ever burgeoning number of large and not so large sites.

it will soon be required to allow F***bk and Dblclk & etc to use the internet.
How did f***bk get such privilege? [ad companies get to ride coat tails].
well its a highly effective tracing and tracking tool...
actively pursuing linux, but same issue crops up [FF]
well maybe its time for oopera on linux...

down with F**bk?
no' i'm not down with it

F**k it,
I'd rather be a Cat
 
  2010-05-08 05:11:14 PM  

JSTACAT: anyone else notice how scripts & cookies, esp from ad networks, f***bk are becoming inter linked so that if adblock or NS blocks one, the rest of the site becomes unuseable.
yahoo has a new script wagon, others are following suit.

F***bk and google scripts are on an ever burgeoning number of large and not so large sites.

it will soon be required to allow F***bk and Dblclk & etc to use the internet.
How did f***bk get such privilege? [ad companies get to ride coat tails].
well its a highly effective tracing and tracking tool...
actively pursuing linux, but same issue crops up [FF]
well maybe its time for oopera on linux...

down with F**bk?
no' i'm not down with it

F**k it,
I'd rather be a Cat


I haven't had a problem... are you sure you are using the right subscription lists, blocking and unblocking the right scripts using the tool, and what not?
 
  2010-05-08 05:31:26 PM  
TehNacho [TotalFark] 2010-05-08 05:11:14 PM
I'm a bit sensitive to the subtle intrusions.
blocking ads on Yahoo can make the site useless on the computer that has it. so i am on a nother xp box...not blocking so many scripts. Everything works now.

maybe i will use w2k and treat it like a web tv
so far, yahoo is a problem on linux, flash is needed for parts of the site..
kinda sad linux is having problems with scripts.. cant use yahoo on it just installed,
there are new ad scripts, fbcdn is there and on many others incl Fark.
 
  2010-05-08 06:40:31 PM  

JSTACAT: TehNacho [TotalFark] 2010-05-08 05:11:14 PM
I'm a bit sensitive to the subtle intrusions.
blocking ads on Yahoo can make the site useless on the computer that has it. so i am on a nother xp box...not blocking so many scripts. Everything works now.

maybe i will use w2k and treat it like a web tv
so far, yahoo is a problem on linux, flash is needed for parts of the site..
kinda sad linux is having problems with scripts.. cant use yahoo on it just installed,
there are new ad scripts, fbcdn is there and on many others incl Fark.


Hrm. Not sure I could help you... the only sites which I have found to be totally inoperable with NoScript and Adblock have been Adultswim, Hulu, and for a short time, The Escapist (though, I could go very different places on the net than you I don't know)... FF has had trouble rendering some sites for me, even turning off both of those extensions they won't work- Hotmail and Fox.com for example. Hotmail is working again but for about two months it just would not work- and part of that time it wouldn't work in Opera or IE either! Fox.com for some reason doesn't work for me in IE or FF or Opera and hasn't for sometime. I never tweaked any settings anywhere at all and magically Hotmail worked one day in all three but Fox.com won't work on any of the computers on my network.

Have you done anything with filters on your router? I have a few to try and block access to some warez sites that my wife was trying to get into, and I suspect that might be *part* of my problem, at least.
 
  2010-05-09 03:16:07 AM  

JSTACAT: so far, yahoo is a problem on linux, flash is needed for parts of the site..


I've been using Linux for over 10 years now and I've never had any problem using Yahoo. Nothing I do on the site *requires* Flash - of course I have my mail set to be the old "classic" style rather than the slow "new" version. Exactly what part of Yahoo are you having problems with?

I use Firefox with AdBlock and Flashblock - but not NoScript.

Like TehNacho I had trouble with Hotmail for a while. I had to log in twice in order to actually get logged in. Oh, and for a short while when I tried to log in I got put into an infinite redirect circle (Page A redirects to Page B which redirects to Page A).
 
  2010-05-09 06:41:28 PM  
HELP wtf

I am trying to link the results from an okcupid test in my bio and I am failing.
is there somewhere I can go to get helps
no reall
helps!!@

sigh
/google here I come
 
  2010-05-10 12:23:14 AM  
usually on the page where the results from the test reside is a link for you to paste into your bio.

it will look something like this </p><center><a href="http://www.nerdtests.com/ft_cg.php?im">
<img src="http://www.nerdtests.com/images/ft/cg.php?val=0848" width="200" height="127"></a></center>

oh and make sure HTML enabled is checked.
 
  2010-05-10 11:21:01 AM  
Right, so WTF just happened, for those that care...

Lots of our HTML forms have encrypted form variables that have expiration times coded in them, both in the values and in the variable names. This is to make it much harder to write spambots that flood (Total.)Fark with link submissions selling zOMGCHEAPV14GRA...

Basically the expiration time is stuck in the encrypted string as a 32-bit int (using Perl's pack() function), with a fixed value subtracted from it to get around the Y2038 32-bit rollover problem -- so the timestamp fits into 24 bits right now. (I economized here vs just going 64 bits to keep the form vars/vals shorter. They're pretty long as it is...)

Sometime late last night, the most significant half of that rolled over from 0x00BF to 0x00C0. Unfortunately 0xC0 is significant in UTF-8 and marks the beginning of a two-byte character sequence, so when these were all put into strings, suddenly all these 32-bit ints were being treated as Unicode characters, which caused the decoding logic to drop a byte and then shift the rest over by a few bits, so it thought every form variable had expired 32768 seconds sooner than they actually had -- and ta-da! Everyone's a bot!

Anyway, once tweak to force everything to bytes instead of characters and things are all happy now.

It took a while to get to because two unrelated issues overnight (mostly a FreeBSD kernel bug causing our dev server to crash repeatedly) kinda screwed my sleep up, so it took a little extra for me to wake up and hear all the automated texts coming into my phone telling me about it...
 
  2010-05-10 11:58:57 AM  

Mike: Right, so WTF just happened, for those that care...

Lots of our HTML forms have encrypted form variables that have expiration times coded in them, both in the values and in the variable names. This is to make it much harder to write spambots that flood (Total.)Fark with link submissions selling zOMGCHEAPV14GRA...

Basically the expiration time is stuck in the encrypted string as a 32-bit int (using Perl's pack() function), with a fixed value subtracted from it to get around the Y2038 32-bit rollover problem -- so the timestamp fits into 24 bits right now. (I economized here vs just going 64 bits to keep the form vars/vals shorter. They're pretty long as it is...)

Sometime late last night, the most significant half of that rolled over from 0x00BF to 0x00C0. Unfortunately 0xC0 is significant in UTF-8 and marks the beginning of a two-byte character sequence, so when these were all put into strings, suddenly all these 32-bit ints were being treated as Unicode characters, which caused the decoding logic to drop a byte and then shift the rest over by a few bits, so it thought every form variable had expired 32768 seconds sooner than they actually had -- and ta-da! Everyone's a bot!

Anyway, once tweak to force everything to bytes instead of characters and things are all happy now.

It took a while to get to because two unrelated issues overnight (mostly a FreeBSD kernel bug causing our dev server to crash repeatedly) kinda screwed my sleep up, so it took a little extra for me to wake up and hear all the automated texts coming into my phone telling me about it...


Mike,

Using this method seems like a lot of work and, obviously, it can get you into trouble.

Is the shorter string really saving that much?
 
  2010-05-10 11:59:38 AM  

Mike: so it thought every form variable had expired 32768 seconds sooner


What you really meant to say was, someone typed "Boobies" ONE TOO MANY TIMES and caused a time warp of EPIC PROPORTIONS!!!

/yeah I know it's not what you REALLY meant to say, but it was funny to me, dammit!
 
  2010-05-10 12:12:05 PM  
Mike: Sometime late last night, the most significant half of that rolled over from 0x00BF to 0x00C0. Unfortunately 0xC0 is significant in UTF-8 and marks the beginning of a two-byte character sequence, so when these were all put into strings, suddenly all these 32-bit ints were being treated as Unicode characters, which caused the decoding logic to drop a byte and then shift the rest over by a few bits, so it thought every form variable had expired 32768 seconds sooner than they actually had -- and ta-da! Everyone's a bot!

Nice. Reminds me of the old Compunet days on the Commodore 64. It didn't like uploading files that had something like 0xC4,0xC4 in it, so we would go in and change them before uploading. These were compressed files too. How they ever worked is down to sheer luck.
 
  2010-05-10 05:15:48 PM  
Yuck, reminds me of why I hate C++. At this point my opinion is just screw it, just waste the extra bits of memory, none of this conserve every bit crap. Not everyone has an SSD and 4 gigs of memory though and I know efficiency like that can still be an issue on some people's machines. But f**k I'll be glad when the average computer is good enough to ignore a few more bytes in online file sizes.

/I've downloaded mp3 files...in zips
//It's already compressed, you jackass!
 
  2010-05-10 06:25:01 PM  
While we're doing "reminds me of..":

Reminds me why I didn't get back into Perl.
Ten years ago I used it for simple CGI, parsing things out of web pages and for little scripts instead of using bash&co; very simple, short and straightforward scripts.
A year or so ago I thought about relearning Perl and maybe looking into some libraries that didn't exist ten years ago or that I didn't know of.
So when I wanted to do something that looked well-suited for Perl (actually..I think it might have been parsing Fark threads), I got my Camel book from the shelf and opened an editor.
As soon as I wanted to write my first "sub" function and looked how to declare one and how to pass arguments I decided to drop it again.
Not being able to declare arguments just felt so...dirty; and like unnecessary, easy avoidable complications or errors down the road. :-/

Barakku
/I've downloaded mp3 files...in zips
//It's already compressed, you jackass!


While it might not be true in your case:
Sometimes people do that to get around restrictions or filters that don't allow mp3s itself. Or to protect the file(s) with a password.
 
  2010-05-10 08:00:34 PM  

Mike: Right, so WTF just happened, for those that care...

Lots of our HTML forms have encrypted form variables that have expiration times coded in them, both in the values and in the variable names. This is to make it much harder to write spambots that flood (Total.)Fark with link submissions selling zOMGCHEAPV14GRA...

Basically the expiration time is stuck in the encrypted string as a 32-bit int (using Perl's pack() function), with a fixed value subtracted from it to get around the Y2038 32-bit rollover problem -- so the timestamp fits into 24 bits right now. (I economized here vs just going 64 bits to keep the form vars/vals shorter. They're pretty long as it is...)

Sometime late last night, the most significant half of that rolled over from 0x00BF to 0x00C0. Unfortunately 0xC0 is significant in UTF-8 and marks the beginning of a two-byte character sequence, so when these were all put into strings, suddenly all these 32-bit ints were being treated as Unicode characters, which caused the decoding logic to drop a byte and then shift the rest over by a few bits, so it thought every form variable had expired 32768 seconds sooner than they actually had -- and ta-da! Everyone's a bot!

Anyway, once tweak to force everything to bytes instead of characters and things are all happy now.

It took a while to get to because two unrelated issues overnight (mostly a FreeBSD kernel bug causing our dev server to crash repeatedly) kinda screwed my sleep up, so it took a little extra for me to wake up and hear all the automated texts coming into my phone telling me about it...


So basically, beer just spilled on the server again? Ok.

/Actually I almost understood your post.
//Snark is just so much more fun.
 
  2010-05-11 12:16:29 AM  
You can declare arguments in Perl if you want to, it's just not always a good idea...

The saving bits isn't for storage over here, it's because I've seen some broken browsers randomly truncate long form variables, and I wanted to minimize the instances of that happening... never underestimate the weird hoops you have to jump through for browser bugs.
 
  2010-05-11 03:26:38 AM  
Benny_Hill 2010-05-09 03:16:07 AM
JSTACAT: so far, yahoo is a problem on linux, flash is needed for parts of the site..

I've been using Linux for over 10 years now and I've never had any problem using Yahoo. Nothing I do on the site *requires* Flash - of course I have my mail set to be the old "classic" style rather than the slow "new" version. Exactly what part of Yahoo are you having problems with?

I use Firefox with AdBlock and Flashblock - but not NoScript.

Like TehNacho I had trouble with Hotmail for a while. I had to log in twice in order to actually get logged in. Oh, and for a short while when I tried to log in I got put into an infinite redirect circle (Page A redirects to Page B which redirects to Page A).


I didn't put flash in yet, so i was guessing; This would be Ubuntu 9.10, which wanted to upgrade to LTS so i let it.
250 mb of updates too, so an instal took near 2hrs.

It seems the java is messed up beyond where Linux crippled version of FF can fix it.
maybe No Script needs to come out of there, its Linux, what me worry?
I reinstalled 9.10 from scratch... the java still won't flow.

i'm going back to Ubuntu 8, never had probs with it like this new one.

And, thats what Linux is all about, its a rip van winkle game played in the wee hours, jumping from one distro to another, trying to duplicate the functions of windows...
endlessly
 
  2010-05-11 10:01:57 AM  

JSTACAT: It seems the java is messed up...


I recently upgraded to Kubuntu 10.04 from Kubuntu 9.04 - though I did a clean install rather than let it upgrade itself. I'm using Firefox 3.6.3 and my java plugin looks like this:

/home/hillb/.mozilla/plugins/libnpjp2.so -> /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so

And that's definitely different than how it used to be. You should be able to do a:

sudo apt-get install sun-java6-jre

then create a softlink to the correct .so file:

cd /home/jstacat/.mozilla/plugins (create the directory if needed)
ln -s /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so .

That should get your Java working on the latest Ubuntu/Firefox combination (I downloaded Firefox rather than install from the repository in case that makes a difference).

So far I've been very pleased with the upgrade to 10.04. My only complaint at the moment is with the latest version of Mozilla Thunderbird. I have a lot of e-mail addresses and I don't like seeing all of them listed all the time (takes up too much space). Filters also don't work.
 
  2010-05-11 11:39:28 AM  
Benny_Hill
JSTACAT: It seems the java is messed up...

I recently upgraded to Kubuntu 10.04 from Kubuntu 9.04 - though I did a clean install rather than let it upgrade itself. I'm using Firefox 3.6.3 and my java plugin looks like this:


I couldn't really parse JSTACAT's post, but with all that browser and noscript talk and Applets being a rariry, I would assume that the post is about Javascript and not about Java.
 
Displayed 50 of 3041 comments


Oldest | « | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | » | Newest



 
If you're having problems voting, quoting, or posting comments, try disabling any browser add-ons that might disable Javascript (NoScript, AdBlock, etc). See our FAQ.
 
   Forgot password? Create an account to make comments
  Use HTML Buttons
If you can see this, something's wrong with your browser's CSS support. (Or you're a spambot.)
 
Before posting, please take a minute to review our posting rules and our legal/privacy policy.
By posting, you agree to these terms.
Got questions about Fark? See our FAQ.

Continue Farking
Submit a Link »
On Twitter








In Other Media
  1. Links are submitted by members of the Fark community.

  2. When community members submit a link, they also write a custom headline for the story.

  3. Other Farkers comment on the links. This is the number of comments. Click here to read them.

  4. Click here to submit a link.

Report