News for hackers. Stuff that matters.

noste

Re:Sweden has proof foreign submarine entered its waters on Friday November 14, 2014 @12:21PM (#8608266)
Finnish Ministry of Defence has reported five airspace violations by Russian airplanes this year, and there were three in 2013.
Re:How Japan Copied American Culture and Made it Better on Sunday April 13, 2014 @05:03PM (#7583003)
Taiichi Ohno published the original "Toyota Production System: Beyond Large-Scale Manufacturing" in 1978 (the English translation was published in 1988), while Goldratt's "The Goal" was published in 1984.
Re:What It's Like To Be Ridiculed For Open Sourcing A Project on Thursday January 24, 2013 @01:01AM (#5107784)
How about using diff and sed -i?

  # This version is obviously unsafe
  verbose_sed() {
    sed -i.old -e "$1" "$2"
    diff -u "$2.old" "$2"
    rm "$2.old"
  }
  
  verbose_sed s/vim/emacs/g rant.txt
You could then use all the tools that we already have for working with patches: colordiff to colorize the output, diffstat for a summary of changes, patch -R for reverting the changes, and so on.

Of course, you're more likely to than not already using version control, which gives you all this and much more, even if you were to use vanilla find+sed.

It is my understanding that artificial insemination is a very common procedure in modern livestock farming, and therefore one could argue that livestock farming for human consumption already encompasses rape at industrial scale.
Re:Why Opera thrives in Europe’s last dictatorship on Sunday November 18, 2012 @10:33PM (#4802759)
At least Chrome 24 has the option to disable images. See Settings / Show advanced settings... / Content settings... / Do not show any images.
Re:How To Strip DRM from Kindle E-Books and Others on Tuesday October 23, 2012 @04:27PM (#4690188)
At least some books mention that "At the publisher's request, this title is being sold without Digital Rights Management software (DRM) applied." in the book description field. For example: http://www.amazon.com/Pirate-Cinema-ebook/dp/B0089LOEBS/ref=...
Re:Bashttpd - An http server in bash on Sunday September 16, 2012 @01:58PM (#4529735)
How about ddshttpd (http://dd-sh.intercal.org.uk/web-server/)? A web server written using only sh(1), dd(1), and echo(1). It even supports running server side scripts ("ddsh-bin") and setting content type based on file extension.

I'm somewhat saddened to see that they don't own dd.sh domain anymore. It was at least twice as cute as no.de is :)

Re:Do Plants Think? on Monday August 27, 2012 @04:18AM (#4437914)
That Wikipedia article mentions that "According to author Adam Gollner, some fruitarians eat only fallen fruit."
Re:Why I Use Perl: Reliability on Tuesday May 29, 2012 @05:55PM (#4040181)
According to rubygems.org stats page[1], there are 39411 gems available. I think the number 2560 on "all gems" page[2] is the number of gems starting with letter "a".

1. http://rubygems.org/stats

2. http://rubygems.org/gems?letter=A

Re:What's really behind Twitter's staff exodus on Tuesday December 20, 2011 @01:37AM (#3372561)
I assume goodweeds refers to this http://geekfeminism.wikia.com/wiki/Noirin_Shirley_ApacheCon_... . That page classifies the incident as sexual assault instead of attempted rape, but I have to admit that I don't know the precise distinction between the two.
Re:Learn to speak vim - verbs, nouns, and modifiers on Saturday December 17, 2011 @04:36AM (#3363900)
/foo<cr>c`` may be what you're looking for (see :help ``)
Re:China state paper urges Internet rethink to gag foes on Sunday September 04, 2011 @04:07PM (#2960220)
While it doesn't invalidate your general point, Twitter has 600+ employees: http://blog.twitter.com/2011/08/your-world-more-connected.ht...
It would appear to me that multiple commits in a branch can have the same generation number (see the diagram in http://www.spinics.net/lists/git/msg161165.html ). So unless your history is linear, using generation numbers in human-to-human communication may get confusing really fast.
Re:Soywiki: a wiki built on top of Vim and Git. on Monday February 14, 2011 @02:58PM (#2218346)
This seems to be a straightforward wiki, however, wiki-orgmode and VimOrganizer strive for something closer to org-mode.
Re:Transcending the Human, DIY Style on Thursday December 30, 2010 @10:54PM (#2054453)
What fascinates me in this article (and in other similar efforts), is the ambient nature of these new senses. While it is true that you can look at a compass in order to find the magnetic north, I'd imagine it is very different to "just know" where it happens to be at any given moment.

That being said, there is interesting stuff to be done without DIY surgeries. For example, Christina Kubisch used to auralize electromagnetic fields using some portable gear, and wander around urban areas listening sounds made by security systems, WLAN hotspots, and the like (see interview here: http://www.christinakubisch.de/pdf/Kubisch_Interview.pdf ).

Re:Kafka: A distributed pub/sub messaging system from LinkedIn on Wednesday December 01, 2010 @02:58PM (#1959303)
Redis 2.0.0+ has built-in support for pub/sub: http://code.google.com/p/redis/wiki/PublishSubscribe
Re:A Guide to the Good Life: The Ancient Art of Stoic Joy on Monday November 15, 2010 @09:59PM (#1908831)
Stockdale's "Stockdale on Stoicism II: Master of My Fate" is mostly about his time as a POW: http://www.usna.edu/Ethics/Publications/Stoicism2.pdf
Re:Secure your code: OpenVPN in the cloud on Thursday September 09, 2010 @12:20AM (#1674398)
While I think you're right in that VPN setups make a lot of things smoother, SSH actually compares pretty well with the first two of your examples.

"Yeah, there is. First, doing it with SSH+keys requires either multi-step (which is annoying, esp. for copying files), or exposing each servers SSH to the net (which might be unfeasible if you don't have public IPs for everything)."

You can work around much of the annoying stuff in multi-step setups by using SSH's ProxyCommand configuration variable. For example, you could have something like this in your local .ssh/config:

  Host prod-db
    ProxyCommand ssh bastion nc -w1 %h %p
After which 'ssh prod-db' and 'scp prod-db:...' work as if the bastion host wasn't between you and prod-db.

"Second, getting a dump of a table from your MySQL DB with SSH+keys:"

If you can access prod-db with SSH, you can dump the database with a single command:

  $ ssh prod-db mysqldump what-i-need > file.sql
Re:People have no bloody idea about saving energy on Wednesday August 18, 2010 @06:00PM (#1615753)
Most of the plastic bottles sold in Finland were reusable up until 2008 or so, but now that the tax levied on non-reusable containers has been removed, most of the bottles appear to be of single-use variety.
Re:WordPress Theme Thesis Maker Backs Down, Adopts GPL on Friday July 23, 2010 @12:43AM (#1540379)
Tivo has released sources for the GPL covered portions of its software (http://www.tivo.com/linux/index.html ).

At least some router manufacturers have also released source code as required by the GPL. For example, see D-Link http://tsd.dlink.com.tw/GPL.asp and Cisco http://homesupport.cisco.com/en-us/gplcodecenter .

Re:First look: new Ubuntu font boosts Linux typography on Thursday July 08, 2010 @12:55PM (#1497935)
I think that Ubuntu enables hinting on default. According to FreeType's docs/TRUETYPE the TT_CONFIG_OPTION_BYTECODE_INTERPRETER macro should be defined, should you want to enable patent encumbered parts.

On a karmic box:

  $ apt-get source libfreetype6
  $ grep -h TT_CONFIG_OPTION_BYTECODE freetype-2.3.9/debian/patches-freetype/*
  -/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */
  +#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
It's doesn't seem to be that common, but not it's not unheard of either. For example, Amazon Payments prohibits "occult materials"[1], and according to an old Boing Boing article, Google Checkout used to prohibit "occult goods" as well[2].

1. https://payments.amazon.com/sdui/sdui/helpTab/Amazon-Flexibl...

2. http://www.boingboing.net/2006/06/29/google-launches-pred.ht...

Re:The End of Men on Thursday June 10, 2010 @04:40PM (#1421583)
> All else held equal, that is simply not true in modern America. There are very powerful incentives to hire the equivalently qualified black guy in order to avoid lawsuits.

What about the audit studies that would appear to indicate otherwise? For example, an audit study from 2004 states in its abstract that "White names receive 50 percent more callbacks for interviews. Callbacks are also more responsive to resume quality for White names than for African American ones. The racial gap is uniform across occupation, industry, and employer size."[1], and earlier experiment would appear to show that white applicants with criminal records are called back slightly more often than black applicants without one[2].

1. Bertrand and Mullainathan: "Are Emily and Greg More Employable than Lakisha and Jamal? A Field Experiment on Labor Market Discrimination" http://www.economics.harvard.edu/faculty/mullainathan/files/...

2. Devah Pager: "The mark of a criminal record" http://www.irp.wisc.edu/publications/focus/pdfs/foc232i.pdf

Re:Making ActiveResource 34x faster: QActiveResource on Thursday May 06, 2010 @09:53PM (#1326449)
Qt is also available under LGPL 2.1. See http://qt.nokia.com/products/licensing for details.
Re:The confessions of a semi-successful author on Monday November 30, 2009 @07:27AM (#967711)
"I also recall a zombie novel, which was published in serial form online before being published in physical form. Quite good, as I remember. Might have been called Empire - the plot synopsis fits what I remember, but the online serial version doesn't seem to be available any more."

David Wellington (http://www.davidwellington.net/) has written a number of zombie novels that were first published in serialized form online and subsequently in print.

Re:OCaml Language Sucks on Saturday November 28, 2009 @04:00PM (#965504)
"Note how instead of saying, "Ocaml doesn't have with-open-file or unwind-protect", he says, "Here's how you have to do with-open-file and unwind-protect in Ocaml". No! You do not go around trying to turn other languages into Lisp if you want to code in Lisp. If you want to code in Lisp, you code in Lisp."

What would be the OCaml solution for the problem that unwind-protect solves? In Haskell, I would use bracket, and appropriately the API documentation of bracket gives the definition of withFile as an example:

  withFile name mode = bracket (openFile name mode) hClose
(see http://haskell.org/ghc/docs/latest/html/libraries/base/Contr...)
Re:Britain's new Internet Law: Death of the Startup in Britain? on Friday November 20, 2009 @08:59PM (#953982)
>There was also some call (Probably from EU) to give criminals in jail the right to a vote. Which I also strongly disagree with.

Going by the stats at http://felonvoting.procon.org/viewresource.asp?resourceID=28... felony disenfranchisement is not that popular in western democracies.

Re:New Dropbox Features on Friday November 13, 2009 @01:05AM (#939465)
How about IdeaTorrent (http://www.ideatorrent.org/)? As a casual user of http://brainstorm.ubuntu.com/ I've been pretty happy with it.
Re:Ubuntu should focus its marketing on LTS versions on Sunday November 08, 2009 @02:04PM (#929612)
There are no PPA in Debian, so staying with an old distro really means using old software.

Debian has http://backports.org/ ("Backports are recompiled packages from testing (mostly) and unstable (in a few cases only, e.g. security updates), so they will run without new libraries (wherever it is possible) on a stable Debian distribution.")

Older »