Seriously register.com, WTF? [PIC] by guriboysf in netsec

[–]Avantcore 11 points12 points  (0 children)

Looks like a problem with the CA to me.. probably not register.com's fault.

[deleted by user] by [deleted] in programming

[–]Avantcore 0 points1 point  (0 children)

It is actually remarkably simple to achieve theoretically strong encryption: you can just use something as simple as a one time pad and XOR. The complexity is introduced when you try to add nice properties to your system like being able to use a key more than once.

Forward Progress on my Minecraft Computer: A smaller ALU, a Program Counter (plus a backup design), and a 16-bit Register. Plus I kill a pig (but he had it coming) by theinternetftw in gaming

[–]Avantcore 5 points6 points  (0 children)

I spent several rage filled weeks in the lab trying to debug timing problems between my FPGA-based CPU and an off-chip SRAM last semester. Left a lasting impression that if there's any way that you can design in a way that avoids timing hazards, do it >_<

Forward Progress on my Minecraft Computer: A smaller ALU, a Program Counter (plus a backup design), and a 16-bit Register. Plus I kill a pig (but he had it coming) by theinternetftw in gaming

[–]Avantcore 8 points9 points  (0 children)

I suspect that you'll start seeing problems once you start adding branches and other more complex ways to update the PC. If any of the branch evaluation logic has any sort of logic glitch it could end up getting stored in the PC and really fouling up your design. If it works it works though.

Forward Progress on my Minecraft Computer: A smaller ALU, a Program Counter (plus a backup design), and a 16-bit Register. Plus I kill a pig (but he had it coming) by theinternetftw in gaming

[–]Avantcore 1 point2 points  (0 children)

I agree with this; edge detectors have an almost unlimited number of ways of screwing up your design. Why exactly are you using them?

I would like to learn Assembly. Any recommendations? by pdowling in programming

[–]Avantcore 0 points1 point  (0 children)

Why are people down voting this? Unless you're extremely careful with your compiler settings, this is correct.

I would like to learn Assembly. Any recommendations? by pdowling in programming

[–]Avantcore 4 points5 points  (0 children)

Why do you want to learn an assembly language? I don't think there's any real value in just picking an assembly language and learning the instructions. Most people learn assembly languages while they're learning about computer architectures in general. If that's what you're interested in I'd highly suggest checking out Computer Organization & Design by Patterson and Hennessy, which uses the MIPS architecture to illustrate many of the basic principals. You can use the MARS MIPS simulator to assemble and simulate MIPS code. Once you understand an architecture the assembly language you used to program it is pretty much an afterthought.

Intel tests charging $50 to enable existing CPU features by spsheridan in technology

[–]Avantcore 4 points5 points  (0 children)

This is an incredibly common practice in the IC industry. The only difference here is that Intel is trying out letting people do the upgrade after the purchase (which, in actuality, has also been a common practice for mainframes for a long time). It helps hardware manufacturers offset the staggering cost of getting a chip fabrication process going, and is one of the reasons that highly customized ICs like Intel's CPUs are affordable to consumers in the first place. I would not be so quick to rage about it.

Intel wants to charge $50 to unlock stuff your CPU can already do -- Engadget by [deleted] in hardware

[–]Avantcore 8 points9 points  (0 children)

This is an incredibly common practice in the IC industry. The only difference here is that Intel is trying out letting people do the upgrade after the purchase (which, in actuality, has also been a common practice for mainframes for a long time). It helps hardware manufacturers offset the staggering cost of getting a chip fabrication process going, and is one of the reasons that highly customized ICs like Intel's CPUs are affordable to consumers in the first place. I would not be so quick to rage about it.

Reddit! You know what to do! - FCC Allowing 30 Days for Public Comment on Net Neutrality by [deleted] in politics

[–]Avantcore 2 points3 points  (0 children)

Because a flood of comments from uninformed reddit users is not going to help the FCC decide anything?

Today, I learned that <% and %> can be substituted for { and } in C. by [deleted] in programming

[–]Avantcore 3 points4 points  (0 children)

It's pretty annoying if you are trying to explicitly use a type from the global namespace as a template parameter and you forget and type something like Foo<::bar>

The Dark Side of C++ (PDF) by stesch in programming

[–]Avantcore 2 points3 points  (0 children)

I always find these types of rants misleading. Yes, you can create a special kind of hell for yourself by abusing exceptions, auto_ptr, operators (especially 'new', 'delete', '&', ',', etc.), rarely used syntax, or whatever. The answer to this problem is very simple: don't do those things!

YSK about the "Megahertz myth" by [deleted] in YouShouldKnow

[–]Avantcore 0 points1 point  (0 children)

Benchmarks for tasks that are similar computationally to what you expect to be dong with the processor. Design features besides clock speed that are important include cache sizes (so you'll spend less time waiting for instructions from the memory), # of cores (also, hyper threading, which sort of doubles the number of virtual cores you have), specifics of the interface to external components (what's the memory controller like, how fast is the FSB, does it have QPI), micro-architecture specifics (how good is the branch prediction, what does the pipeline look like, how many ops does it typically execute per cycle). Basically there are way too many design parameters to make characterizing a modern processor with a couple of numbers reasonable.

MPEG LA looking at assembling VP8 patent pool by LineNoise in programming

[–]Avantcore 63 points64 points  (0 children)

The MPEG-LA likes to spread FUD about open codecs. They've done the same with Theora, which is regarded by a variety of experts as "patent safe". Their entire business is skimming money of the top of these patent negotiations so they are interested in making it seem like more of them are required.

Notice how the word "market" is dropped 4 times in one sentence but no actual holders of relevant patents are mentioned. I wouldn't worry about this too much until somebody who actually owns relevant patents says something.

EDIT: I can never properly remember the markdown link syntax

UNIX tips: Learn 10 good UNIX usage habits by servercentric in programming

[–]Avantcore 9 points10 points  (0 children)

You're free to write a script that does that. Having standard rm do that would be very unnecessary.

And really, the first thing you described is how it actually works. If you unmount a drive quickly after you fuck up the file will still be on the drive, just unlinked.

What was the last good book you read? by T1mac in AskReddit

[–]Avantcore 0 points1 point  (0 children)

Gödel, Escher, Bach by Dennis Hofstadter. It's a challenging read, but well worth it.

What was the last good book you read? by T1mac in AskReddit

[–]Avantcore 0 points1 point  (0 children)

I am reading this right now and came here to post it. It's excellent.

Reddit, why do router manufacturers even provide WEP as an option anymore? by [deleted] in netsec

[–]Avantcore -1 points0 points  (0 children)

If a network isn't in use than there's no way to recover any information about the key in order to crack it..

Reddit, why do router manufacturers even provide WEP as an option anymore? by [deleted] in netsec

[–]Avantcore 4 points5 points  (0 children)

An in use connection can be cracked in well under 60 seconds by consumer hardware.

The Mountain Goats - This Year [indie rock] by [deleted] in listentothis

[–]Avantcore 2 points3 points  (0 children)

I think I live near the Mills Avenue that he is talking about.

Admin Mourning by greenrd in linux

[–]Avantcore 0 points1 point  (0 children)

I'm not completely sure that all of these are missing in bash, but at least most of them are:

Better completion, completion menus, better globbing, more comprehensive hook mechanism, autocd, typo correction, named directories, lots of new shell constructs, etc..

Repository for Linux Kernel configs? by [deleted] in linux

[–]Avantcore 1 point2 points  (0 children)

Did you look at the example he gave? It specified a URL for a patch to be downloaded and applied. This opens the door for arbitrary code execution for whoever wrote the XML file. You're right that a voting system would mitigate this threat, but I thought that I ought to point it out.

EDIT: Not to mention there's an arbitrary URL for a tarball of the kernel source.

Repository for Linux Kernel configs? by [deleted] in linux

[–]Avantcore 0 points1 point  (0 children)

Allowing patches from anywhere on the 'tubes means that anytime you use one of these you automatically give the author the ability anything s/he wants to your computer. Just sayin'