Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×

Submission + - how to map an IP address to an ASN (github.io)

alokmenghrajani writes: Every public internet IP address is connected to a router which has an ASN number. It is therefore possible (and sometimes useful) to map an IP address to its router's ASN. This article is going to show you how to build this mapping.

Submission + - Ask Slashdot: what are some technologies which have gone extinct 2

alokmenghrajani writes: I'm trying to list various technologies which have gone extinct over the years (think Microsoft's Clippy, Swatch's .beat time, abusing imagemaps in web design, etc.). What do you think were the most interesting technologies which didn't survive the test of time?

Comment Re:Javascript... (Score 1) 2

This kind of project can lead to better coding projects for students/learning purpose, since you can focus on algorithms, not run into buffer overflows and can easily visualize things. E.g., in js (and most dynamic languages), you can easily json dump your data structures when debugging.

Submission + - FAT12 filesystem driver in js (github.com) 2

alokmenghrajani writes: Usually, file system code is written in C. I figured it would be fun to write a "driver" in javascript. The current code loads a file system, reads the various data structures and then pretty prints the data.

Comment Re:Same thing in x86 asm (Score 1) 115

Are you referring to hugi (http://www.hugi.scene.org/compo/compoold.htm) ? I believe the x86 size optimization people were doing in the 80s and 90s required a different mindset. You needed to really understand the OS environment & memory layout (e.g. putting DOS in graphics mode using a single byte). When optimizing javascript you focus on the javascript language (e.g. what happens when you do things like undefined xor 1). But overall you can't really compare assembly to javascript. Some things in javascript (e.g. regexp) are almost free, while defining a function requires you to write "function(){}" when it's only 2 instructions in assembly.

Slashdot Top Deals

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...