News for hackers. Stuff that matters.

skwiddor

Re:Linus says Linux has become 'bloated and huge' on Friday September 25, 2009 @08:33AM (#843338)
Does plan9 support 15 different archs with all of their quirks and subarchitectures? no. only 11

WiFi stack? yes, and bluetooth

Support for different power modes? yes, I think so, can't say I've ever used it. does "echo blank > /dev/vgactl" count?

Framebuffers? no, it is a 21st century os

Kernel probes, high resolution timers, extended inbuilt security APIs? yes

all in 13 syscalls

Re:Is anybody else loading their database by tailing log files? on Friday September 25, 2009 @06:14AM (#843202)
cat data | tee log | data_processor

it's called "the Unix philosophy". invented by Doug McIlroy, probably before you were born

Re:Ask HN: Building a web circumventor or proxy server on Tuesday September 22, 2009 @08:39AM (#836798)
I thought goople app engine didnt allow outgoing connections

http://code.google.com/appengine/docs/python/tools/devserver...

Using URL Fetch

When your application uses the URL fetch API to make an HTTP request, the development web server makes the request directly from your computer. The behavior may differ from when your application runs on App Engine if you use a proxy server for accessing websites.

Re:Linus says Linux has become 'bloated and huge' on Tuesday September 22, 2009 @08:15AM (#836765)
Linux, fuse

there's your problem. it's not designed for it

Re:Linus says Linux has become 'bloated and huge' on Tuesday September 22, 2009 @06:35AM (#836669)
> If anything, a microkernel is always more bloated because of the extra code needed to do all the process sync.

there are more than two types.

We have fretted recently because the plan9 kernel is struggling to fit on a floppy disk when loaded up as an installer with most things turned on.

The whole of plan9, kernel, userspace, 386 binaries & sources for 6 architectures fit into 200Mb uncompressed (and the whole shooting match compiles in 15 minutes).

Linux is a re-implementation of an OS that was already considered dead by it's maintainers.

"Not only is UNIX dead, it's starting to smell really bad." Rob Pike circa 1991.

see also "Sometimes when you fill a vacuum, it still sucks."

Re:Linus says Linux has become 'bloated and huge' on Tuesday September 22, 2009 @06:28AM (#836659)
I wouldn't use Fuse as your benchmark. All of plan9's filesystems are userspace (except the one that uses a dedicated machine). They can saturate 10gbe so your objections really concern Fuse and it's hosts.
Re:Obama mandates FCC to support Network Neutrality on Tuesday September 22, 2009 @04:47AM (#836572)
That's "President Obama".
Re:Linus says Linux has become 'bloated and huge' on Tuesday September 22, 2009 @04:46AM (#836570)
thats right, bloat

filesystems dont belong in the kernel.

Re:Linus says Linux has become 'bloated and huge' on Tuesday September 22, 2009 @04:43AM (#836568)
My operating system is open source but I bought it. What kind of software is it?
Re:"The greatest human being who ever lived" has died on Monday September 21, 2009 @06:07PM (#835717)
instead he's killed us all

700 years ago there were two million people in my country, now 60,000,000+

Re:UK Postcode coordinates on WikiLeaks on Monday September 21, 2009 @11:32AM (#834784)
still close enough to search for things.

% postcode

NG15

% ff http://www.google.com/webhp?q=ng15+curry

bah google changed their uri scheme

Re:Using Markov Chains to Generate Test Input on Wednesday September 16, 2009 @12:29PM (#826155)
no, just providing more info, the author linked to Bentley's text for further reference so I was filling in the back story.
Re:UK Postcode coordinates on WikiLeaks on Wednesday September 16, 2009 @12:20PM (#826120)
how about "what postcode am I in"? when out and about.

also "click on the map, what's the postcode?"

quite handy for getting the area code i.e N1

Re:The Width of Men’s Ties and Waste in IT on Tuesday September 15, 2009 @02:37PM (#824447)
Only if you buy into it.

We were on Windows 2000 until this year finally moving to XP for multi-media compatibilty (specifically Flash) reasons.

I've been around since dos3.3, looking forward to upgrades went out of the window a long time ago :)

The only interesting hardware innovation in recent times has been an interest in reduced power consumption / back to passive cooling.

Then again, I'm a guy with a 486 upgraded to P54C with 32Mb RAM as my email server.

Re:Using Markov Chains to Generate Test Input on Tuesday September 15, 2009 @02:24PM (#824413)
Bentley built his Markov chain using his Bell labs colleagues Pike & Kernighan's Markov algorithm from The Practice of Programming

http://books.google.co.uk/books?id=to6M9_dbjosC&pg=PA62&...

Pike had used this technique earlier when coding up http://en.wikipedia.org/wiki/Mark_V_Shaney with Bruce Ellis

I'm sure they were not the first

Re:Using Markov Chains to Generate Test Input on Tuesday September 15, 2009 @02:16PM (#824395)
Did you read to the bottom? They wanted to generate not only valid output from valid makefiles but wanted to catch the same errors in the same way as their reference.

I like their approach and I would consider it an excellent bug hunting tool. Focussed fuzzing.

Would you consider their markov chained output a derivative work though ?

Re:Apple betrays the iPhone's business hopes on Tuesday September 15, 2009 @11:38AM (#824027)

    echo 'here''s your problem'' | {
        apple
        exchange
    }
hmm
Re:Energy saving light bulbs offer dim future on Monday September 14, 2009 @09:33AM (#821599)
> In our test, we used a simple lamp with a light metre placed half a metre away,

A light metre is 1 / 299 792 458 or 3.33 x 10e-11 seconds

Re:Should we create pain-free animals for eating? on Monday September 14, 2009 @05:44AM (#821395)
how do you measure mental pain?
Re:Bach canon played forwards and backwards as a moebius strip on Sunday September 13, 2009 @04:07AM (#819946)
use it in unicode mode, that kills performance
Re:A digital raw file is not an original image on Thursday September 10, 2009 @09:48AM (#815221)
my friend works digitising film stock.

He told me that a Portuguese tv station is deteriorating and the fumes it gives off spreads the process to the other film stock and even if they had all the 35mm film digitisers in the world running 24/7 they would still lose a significant portion so they are having to make some tough decisions about what to save.

oh and it was Bell-Labs that invented pixels.

Re:Ask HN: Best Unix Tricks? on Tuesday September 08, 2009 @11:36AM (#811207)

    import kremvax /net /net

Plan9 doesn't need nat
Re:Why not discuss the inclusion of python on the browser? on Thursday September 03, 2009 @12:56PM (#802885)
Python used to be available as a client side scripting language for EMCA but I can't find that project these days.
Re:Co-routines as an alternative to state machines on Saturday August 29, 2009 @12:31PM (#793336)
The Limbo programming on the Inferno OS makes great use of co-routines. http://www.vitanuova.com/inferno/
Re:Co-routines as an alternative to state machines on Saturday August 29, 2009 @12:18PM (#793318)
C.A.R. Hoare wrote a whole book on CSP

http://www.usingcsp.com/

Re:Ask HN: What do you use for personal, offsite backup? on Wednesday August 26, 2009 @10:12AM (#787170)
I copy the data arenas to another machine and when they are full (500mb per arena) I burn them to cd.

I us this script to copy the arenas

http://plan9.bell-labs.com/sources/contrib/maht/rc/vbackup

It's slightly sloppy in that I could just append the unwritten bytes but for < 500mb who cares, its a 1gbe after all.

Venti dumps give me a full history of file changes. On the plan9 central server one can browse the daily snapshots for 10+ years of plan9 development. It also coalesces duplicate blocks so storing 20 copies takes as much room as one.

Venti is available for plan9 and Lunix.

i accidentally wiped $home this week, then :

    cp `{yesterday $home}/* $home
got it all back
Re:PostScript interpreter in JavaScript on Thursday July 30, 2009 @09:11AM (#732111)
ff3.5 - Drawing took 34.206 seconds. 1.8Ghz P4
I've been hired twice because I wrote open source code.

Older »