Better HN
topnewbestaskshowjobs
Log inSign up

sciurus

16,460 karma · joined Jan 19, 2011 (15y ago) · 3,459 submissions

I'm a principal engineer at Docusign based in Atlanta, GA. My personal website is https://www.polibyte.com
Submissions

comment 14y ago · link · parent

Canonical is in a tough spot. They've put a lot of resources into developing a new desktop environment and branding that as Ubuntu. That desktop isn't going to run on a 700mhz ARM11 with 256MB of RAM.

comment 14y ago · link · parent

"Written to what API? Gnome, X, Qt? You'll be addressing a slice of a fraction of potential users."

Both GTK and QT are available on OS X, Windows, and Linux. Cocoa is available on OS X only.

2943.

Project Lumberjack to improve Linux logging(bazsi.blogs.balabit.com ↗)

1 points · by sciurus · 14y ago · discuss

comment 14y ago · link · parent

Athens, Ga - EuPathDB EuPathDB is looking for junior and senior front-end web developers to help scientists perform dynamic computational experiments on genomic-scale datasets. You'll get to work on innovative interfaces like our strategies system (description: http://bit.ly/ko0Y4b , source code: http://bit.ly/mUyL3D). You'll need detailed knowledge of Javascript, jQuery, CSS, HTML, Java, JSP, Struts and web services. Knowledge of SQL, Perl, Tomcat and Apache are also desirable. An interest in bioinfomatics and genomics applications is highly desirable and experience a strong plus.

Email jobs@apidb.org if you're interested.

comment 14y ago · link · parent

Kubuntu Beta 1 is also available. Although the Ubuntu document covers some of it, there's more Kubuntu-specific information at https://wiki.kubuntu.org/PrecisePangolin/Beta1/Kubuntu

2946.

Ubuntu 12.04 Beta 1 Released(wiki.ubuntu.com ↗)

2 points · by sciurus · 14y ago · 1 comment

2947.

Fixing Mailing Lists(blog.linuxgrrl.com ↗)

1 points · by sciurus · 14y ago · discuss

2948.

Multiarch on Debian and Ubuntu (FOSDEM talk)(lwn.net ↗)

1 points · by sciurus · 14y ago · discuss

2949.

What bugs can teach us(lwn.net ↗)

1 points · by sciurus · 14y ago · discuss

comment 14y ago · link · parent

Discussion from yesterday: http://news.ycombinator.com/item?id=3649844

2951.

Hands on with Windows Server "8" beta(arstechnica.com ↗)

2 points · by sciurus · 14y ago · discuss

2952.

The Google model of development (2005)(eightypercent.net ↗)

1 points · by sciurus · 14y ago · discuss

2953.

Chromium Notes (Google Chrome Developer's Blog)(neugierig.org ↗)

2 points · by sciurus · 14y ago · discuss

comment 14y ago · link · parent

Not exactly. Let's tweak your example to create a new object in your method.

  def foo s
    s = 'foo'
  end
  a = 'bar'
  foo a
  puts a
  # => bar
The assignment in the method doesn't change the object you "passed" in. Rather than passing by reference, think of Ruby as passing the value of a reference.

For more examples and explanation, see http://khelll.com/blog/ruby/ruby-pass-by-value-or-by-referen...

2955.

How Red Hat killed its core product—and became a billion-dollar business(arstechnica.com ↗)

18 points · by sciurus · 14y ago · 1 comment

2956.

Changes coming in GNOME 3.4(afaikblog.wordpress.com ↗)

3 points · by sciurus · 14y ago · discuss

comment 14y ago · link · parent

The event MPM (new in Apache 2.4) is designed to address this:

This MPM tries to fix the 'keep alive problem' in HTTP. After a client completes the first request, the client can keep the connection open, and send further requests using the same socket. This can save signifigant overhead in creating TCP connections. However, Apache HTTP Server traditionally keeps an entire child process/thread waiting for data from the client, which brings its own disadvantages. To solve this problem, this MPM uses a dedicated thread to handle both the Listening sockets, all sockets that are in a Keep Alive state, and sockets where the handler and protocol filters have done their work and the only remaining thing to do is send the data to the client.

http://httpd.apache.org/docs/2.4/mod/event.html

comment 14y ago · link · parent

Here are the relevant Apache configuration directives for this sort of benchmark of the event or worker MPM.

ServerLimit: In combination with ThreadLimit, this sets the maximum configured value for MaxRequestWorkers. Default is 16.

ThreadLimit: The maximum configured value for ThreadsPerChild for the lifetime of the Apache httpd process. Any attempts to change this directive during a restart will be ignored, but ThreadsPerChild can be modified during a restart up to the value of this directive. Default is 64.

ThreadsPerChild: The number of threads created by each child process. The child creates these threads at startup and never creates more. Default is 25.

MaxRequestWorkers: The limit on the number of simultaneous requests that will be served. Any connection attempts over the MaxRequestWorkers limit will normally be queued, up to a number based on the ListenBacklog directive. Default value is ServerLimit multiplied by the value of ThreadsPerChild, e.g. 400.

ListenBacklog: Maximum length of the queue of pending connections. Default varies by OS, on linux I think it can't be larger than /proc/sys/net/core/somaxconn

AsyncRequestWorkerFactor: Tunes the event MPM's concurrent connections per process. See http://httpd.apache.org/docs/2.4/mod/event.html Default is 2.

comment 14y ago · link · parent

"Note in captions: (static file)... This is not realistic."

It's reasonable if you're trying to test concurrent connection limits.

"What you absolutely must do is benchmark a dynamic PHP-driven, with MySQL access, website."

That's something nginx is also used for, and it's far from the only thing apache is used for. I agree that would be a useful benchmark, but it's not the only meaningful one.

"you've only proven that Nginx can handle more concurrent requests for a single static file vs. Apache 2.4 (which is something we all already know to be true)."

No, we didn't know this. This was testing apache 2.4's new event [0] MPM [1]. Arguably we still don't know this, since this apache configuration seems artificially limited and there's no comparison of the resource usage of apache and nginx.

[0] http://httpd.apache.org/docs/2.4/mod/event.html [1] http://httpd.apache.org/docs/2.4/mpm.html

comment 14y ago · link · parent

The manufacturer's product page: http://www.fxitech.com/products/

comment 14y ago · link · parent

I think you're actually booting both your computer and the Cotton Candy from their internal storage, then using something like VNC on your computer to access Cotton Candy.

comment 14y ago · link · parent

To avoid confusion, the link is "A discussion on Stack Overflow which was inspired by this rant by Linus Torvalds"

2963.

Pulp (yum repository management system) 1.0 Released(blog.pulpproject.org ↗)

2 points · by sciurus · 14y ago · discuss

2964.

Collabora and Fluendo Invest in GStreamer Open Source Multimedia Framework(fluendo.com ↗)

2 points · by sciurus · 14y ago · discuss

comment 14y ago · link · parent

So, this is a VPN implemented as a linux kernel module that's somehow not open source?

comment 14y ago · link · parent

I get that tac exists and is useful for concatenating and printing files in reverse.

Neilk was just humorously pointing out that since cat stands for concatenate, its reverse should be truncate, and since cat is often abused to print a single file to a terminal this fictional trunc should "unprint" it.

Arguably you could view 'comm -3' as the reverse of cat.

  # output is all the lines of file1 and file2
  cat file1 file2

  # output is the lines in file1 not in file 2, and vice verse
  comm -3 file1 file2

comment 14y ago · link · parent

Have you looked at ConTeXt?

http://wiki.contextgarden.net/What_is_ConTeXt

comment 14y ago · link · parent

Thanks! I'd searched the ps manpage for truncate and length. I don't know why I didn't think to look for width.

comment 14y ago · link · parent

ps has a nasty habit of truncating its output. Piping it into cat is a way around this. E.G.

  $ echo $COLUMNS
  118

  $ ps -fp 14706
  UID        PID  PPID  C STIME TTY          TIME CMD
  root     14706 14705  0 Jan29 pts/3    00:00:00 sudo -p [local sudo] Password:  python /usr/lib/sshuttle/main.py pytho

  $ ps -fp 14706 | cat
  UID        PID  PPID  C STIME TTY          TIME CMD
  root     14706 14705  0 Jan29 pts/3    00:00:00 sudo -p [local sudo] Password:  python /usr/lib/sshuttle/main.py python -v --firewall 12300 0

comment 14y ago · link · parent

My V6 has a coiled cable; it looks like the one pictured at http://media.headphone.com/productphotos/large/0020550006_52...
1
9899100
116