News for hackers. Stuff that matters.

d4rt

Re:PuTTY 0.61 released on Thursday July 14, 2011 @04:26AM (#2762182)
I use GNU Screen for similar purposes (on Mac OS X)
Re:Ferret: An Experimental Clojure Compiler on Thursday June 30, 2011 @08:40AM (#2713749)
I loved the literate programming style and the cleanliness of the FFI also. Org-mode is even more useful than I had previously thought, the http://orgmode.org/worg/org-contrib/babel/intro.html Babel addition also has a wonderful introduction and looks like an extremely powerful way of presenting code and commentary.
Re:Making Crash Bandicoot on Thursday February 10, 2011 @08:16AM (#2201816)
Part 4 is probably the most fascinating piece, as it discusses how their technical choices were different from their competitors and how the leveraged those differences.
Re:F.T.C. Online Privacy Plan Seeks ‘Do Not Track’ Option on Wednesday December 01, 2010 @06:02PM (#1960119)
Beef Taco is a Firefox extension designed to opt out of tracking cookies.

https://addons.mozilla.org/en-US/firefox/addon/180650/

I think it's an acceptable compromise to use such an extension.

Re:Justin Kan: Measuring startup success by head count is toxic on Tuesday November 23, 2010 @04:21AM (#1933127)
Infuriatingly, it's not clear whether Burt Rutan built and designed his early planes by himself from the Wikipedia articles.

I may have bought into a mythical view of Burt, but I would definitely believe that Burt Rutan could build an aeroplane with 2 people.

Re:Ask HN: Particularly elegant programs to study? on Wednesday November 17, 2010 @12:10PM (#1914858)
sqlite is both beautiful and has a significant test suite. http://www.sqlite.org/
Re:Centralized Logging With Rsyslog on Tuesday October 05, 2010 @03:31PM (#1761069)
I've had to up the maximum simultaneous connections, but otherwise I've been able to log extremely large volumes of data from 1,000s of machines, with syslog-ng. I'd assume the same is true with rsyslog.

Looking at limits on open files, and considering tcp timeouts and cookies were all we needed. Total volume was in the order of high 10s of GB.

If you want to unpack offline, contact details are in my profile.

Re:Why you should learn at least a little bit of Awk on Wednesday September 29, 2010 @05:02AM (#1738728)
I can't recommend the Sed & Awk book enough.

Regular expressions are my favourite secret weapon; So many problems are made simple by regular expressions and so few people (outside of IT) know of them.

Re:Textarea, You Are A Sunken Nothing on Wednesday August 11, 2010 @05:37AM (#1594287)
Re:Ask HN: 'Enterprise' hater on Thursday August 05, 2010 @12:01PM (#1578437)
Enterprise extensibility and inter-operativity or inter-dependency is extremely complex to get right.

Multiple standards exist for just about anything, and most implementations of something are broken in one way or another. I've seen obvious and subtle breakage in things that ought to be simple: * timestamps (not unambigious, not including timezone data) * mac addresses (within SNMP, in a variety of formats in different places on the same kit) * integration with LDAP (group membership only looking at primary membership) * etc.

We live in hope. Postel's Law applies.

Re:Ask HN: 'Enterprise' hater on Thursday August 05, 2010 @06:28AM (#1577681)
An application is a software product which fulfills a useful purpose (performing a task, storing data, etc.)

An enterprise application is an application which is suitable for use in a wide variety of environments seen in companies. (for example, as a point of difference, an enterprise application might support a wider variety of platforms or data, or at greater scale than a non-enterprise application)

The real shame is no IE9 for Windows XP. [1]

Some 60% [2] of the market share is Windows XP. IE 6 - 8 are going to be with us for some time.

[1] http://ie.microsoft.com/testdrive/info/FrequentlyAskedQuesti...

[2] https://secure.wikimedia.org/wikipedia/en/wiki/Microsoft_Win...

Re:HTML5: Changing the browser-URL without refreshing page on Wednesday July 21, 2010 @04:36PM (#1536470)
wouldn't this be better if you could only go to the same level or lower, thus preventing server/~user1 pretending to be server/~user2?

does this break real use cases?

Re:37signals Are Idiots... on Wednesday June 23, 2010 @08:18PM (#1456906)
corollary: if everyone complains your prices are too high, find a new market
Re:Abine gets it right. Supports a product fork. on Thursday June 17, 2010 @04:57PM (#1440315)
supporting the fork with updates to the opt outs is good, but the change to the add-on seems gratuitous.

a more user friendly approach would have been to give them the 'downgrade' update, and opened a tab offering the 'enhanced' abine privacy add-on. the update behaviour feels more appropriate for a scammy toolbar, than a useful privacy extension. among their target audience wouldn't this be a turn off?

Re:Googler Drops Windows Zero-Day, Microsoft Unhappy on Friday June 11, 2010 @04:39AM (#1423266)
How do you know that IT pros are less likely to implement a workaround than hackers are to exploit it?

How prevalent is deploying workarounds and mitigations versus deploying patches? I don't know of any research in this area; it would be very interesting to know.

Re:The end of :hover? on Tuesday June 08, 2010 @05:44AM (#1413410)
Adding a mode makes the interaction with it both modal and more complex.

Compatibility modes are confusing and user hostile, and two different methods of interaction increasing testing requirements.

Re:Digital Sharecropping and Social Media on Monday June 07, 2010 @12:08PM (#1410901)
The important questions are how much value is derived from: - Privacy - Limited Sharing - Unlimited Sharing for both Facebook and the user. This can then be counterbalanced by the costs experienced by the user and Facebook, such as loss of privacy or spam from applications or adverts (a cost of attention/time)

If you do not derive a greater value from sharing your information than the cost, then do not share. It doesn't really matter to this whether Facebook is deriving value, only if you are incurring costs greater than the value received. I don't see how this is sharecropping.

Re:Log file analysis with Haskell on Monday June 07, 2010 @09:24AM (#1410469)
Disclaimer: I work for a Splunk Partner.

Interesting technique, although I think a domain specific extension of Haskell for analysing log records might be more useful.

I'm sure there are more complex examples, but all the tasks in the screencast could be done easily with Splunk. It might, if you want to develop the idea of log analysis further to look at their search cheatsheet. http://www.splunk.com/base/Documentation/latest/SearchRefere...

Most of the syntax in the screencast is relatively guessable or explained, however NubBy means remove duplicates using the provided test condition. http://www.zvon.org/other/haskell/Outputlist/nubBy_f.html

Re:Wage Slavery - Applicable to [Nearly] Everybody? on Thursday June 03, 2010 @12:02PM (#1401679)
It's questioning the idea of work for wages, not the idea of producing in order to consume. An alternative system could be co-operatives or contract working, for example.
Re:How to Spot a Spook on Thursday June 03, 2010 @11:37AM (#1401593)
Could the lists in the article be cross referenced with 'public' data such as Facebook or LinkedIn to get better results?
With regards to the Dutch Auction it may not have captured the maximum value for Google, but did it capture more than the alternative?

According to http://www.businessweek.com/1999/99_47/b3656143.htm the average IPO gained 14.1%, which would suggest they did leave money on the table, although I'd question if Google's IPO would be described as average. By comparison Akamai gained some 458% in it's first day of trading.

Re:NAT-to-NAT direct connections with no proxy/STUN needed on Sunday March 28, 2010 @03:10PM (#1225064)
On most firewalls this should be trivial. On an Cisco ASA:

access-list BLOCK_TIMEEXCEEDED deny icmp any any time-exceeded

(iirc) and then apply the acl. You should block all hosts as any could be chosen by the person. They could change 3.3.3.3 to any other IP.

NAT is not a security mechanism and does not ensure your hosts are protected. Denying tunneling of any kind is difficult as there are tunnels over most protocols. I'm not aware of any perfect prevention or detection technique, but detection could in the case of a moderate amount of data transit could possibly be done via analysis of netflow records. 

Re:Carrots, Sticks and Lower Premiums on Sunday March 28, 2010 @01:08PM (#1224862)
Hopefully soon we can engineer an eat watch http://www.fourmilab.ch/hackdiet/e4/eatwatch.html

The rest of the Hacker's Diet is worth reading and has an excellent analytical approach to describe the eating (inputs) and energy use / exercise (outputs) of a simple model for your body.

Re:James K Galbraith : In Defense of Deficits on Thursday March 18, 2010 @01:17PM (#1201849)
I submitted this because it's a different viewpoint to those I've seen previously.

The point that countries with debt denominated in their own currencies are in a stronger position than others is valid, but I question the assertion that if inflation becomes the order of the day that there will always be buyers for sovereign debt.

Re:Fire Your Relatives. Scare Your Employees. And Stop Whining. on Wednesday February 10, 2010 @07:08PM (#1116480)
His rules for supplier credit fail the basic rule of reciprocity, unless he also extends 45 days credit to his customers, which I doubt.
Re:Ask HN: Everyday things you do that seem like magic on Thursday February 04, 2010 @03:20PM (#1101497)
Using a text editor (Vim) to edit text. Particularly in this case use of the :g/ and :v/ commands to filter text and edit all lines matching a pattern.

Excel scripting and filtering and text functions. (Basic things, like looking for a particular string, and filtering a list to just those containing it using formula functions).

Older »