skysight-inc/HackerNews huggingface dataset:
It's probably appropriate to call it the Newspaper Bailout No. 2:
http://en.wikipedia.org/wiki/Joint_operating_agreement
Thanks for the styleshout reference... very helpful.
My problem is that it continues to have no money!
Lost password to my HN account - how do I reset/where is forgot password?
I must be missing something here...
In the Arc source, the function that implements formatdoc syntax is named markdown.

http://arcfn.com/doc/app.html#markdown
While I think conditioning plays a role the real value is taking the other team out of their rhythm. If you practice a game a certain way for years and then someone changes the rules on you all your experience is moot.
OTOH though, a lot of things aren't rocket science. For example, if you want to roll your own webserver/framework for good reasons, definitely do it.

But I agree. It's a matter of deciding when it matters, and when it doesn't.
Matt Drudge does very little reporting (a few times a year there is an exclusive and frequently it's still on the backs of actual reporters), he just points to the work other people have done. A valuable service, but he's more akin to an editor than an actual publication.

You have a point with Politico, but they make most of their money from print (ads in their DC based news paper and syndication with papers around the country).
Juno looks to be simple and the developer has chosen a good set of libraries to build it on. It is a demonstration of the inherent simplicity in using well written, WSGI aware python libraries.

IMO, web.py qualifies to be called "really lightweight"

take for instance the hello world code:

import web

urls = (
'/(.*)', 'hello'
)

app = web.application(urls, globals())

class hello:
def GET(self, name):
if not name:
name = 'world'
return 'Hello, ' + name + '!'

if __name__ == "__main__":
app.run()

This has two advantages over the Juno code..

1. more `REST`y (GET/POST)

2. `app` object is a wsgi callable..

More importantly, web.py does not need have any external library dependencies unless you choose to use mysql/postgresql when you have to install the db interface libraries. I had problem running the hello world Juno code because I did not have pysqlite2 installed.. huh? why do I need pysqlite2 to return a string?

While some may object saying that web.py has a case of NIH, the code of web.py itself does not reflect any such attitude. The whole library is just a directory of aptly named modules. You can plop it anywhere in the python path and start coding ..
I find the argument rather faulty. If you found your own company where does this "strong bias" to write software in the same language as the OS come from(just about every language out there has FFI to C so system libraries should be accessible)? If I am now writing Web software, I am now writing an application that runs on an OS that is primarily written in C so why does this "strong bias" magically disappear?
The ROM machine... a bargain at $14000 - Sherdog Mixed Martial Arts Forums
The government already gets to decide who has access to the important areas (Whitehouse press corp for example). No one is saying that you need permission to publish, only that established journalism outlets would get a tax break. You would still be welcome to take on the NY Times with your blog.
Are admins developers too?

If you're lucky they are. I was fortunate to work at a company where one of the admins knew just as much as (if not more than) most of the developers about how the application worked. This was a good thing since A) you couldn't BS him and B) when something went wrong (something always goes wrong) he could help you find out what it is. A good admin will also make his or her job easier by creating tools. And that my friends makes them a developer.
Why is this useful? I'm intrigued. Would you then start unfollowing people who haven't followed you? Either you want to know what they're tweeting or you don't. Why does it matter if it's a one way street?

Some of the Twitter stuff I just don't get. People following everyone who follows them (Out of etiquette?), but then using a twitter client that allows them to ignore all the tweets from them??? It makes no sense!!! Waste of bandwidth, resources etc.

IMHO Twitter should have a limit on the number of people you can follow. Maybe 50 max. I don't see how you can follow more than that and it be useful. Past that you may as well just check the public updates or do searches for specific things surely. That would be just slightly more efficient than everyone following thousands, then filtering in their twitter client, which seems to be what happens atm.

</twrant>
Neither your original daysFromDateRangeStartToEnd nor daysDateRange seem to capture what it is supposed to represent. Perhaps if it was seen in context, it would be understandable, but by itself I do not think it is a good example.
If you entered an e-mail into your account you send a mail to PG, and he'll mail you your password.

If you didn't enter an e-mail into your account your new username is needsomehelp

:-)
Sentinel: A New Font Family from H&FJ.
I honestly don't see the point of this particular script, apart from giving twitter-spammers stats on what is good bait and what is not.

But I guess it goes to show that there is a Ruby twitter-API out there and provides a quick how-to code-nugget as a starting point.
Desktop Computers | Projector Units | Projector Lamps
Find desktop computers, laptops, workstations, digital cameras, projector units, projector lamps (compatible and original), PDA devices, LCD and plasma TVs as well as computer monitors and digital displays at redmiletech.com
This is a system administration HOWTO, not news.
The question to ask isn't whether the solution will be better, but rather whether the differentiation that gives your product value is derived from rewriting libraries.

Libraries tend to be generic, so you can often do better for your specific problem if you are willing to pay the opportunity cost.
This seems a bit unhealthy.
Funny, I had been thinking for years that the Konami code ended in "a b" not "b a"
The problem cable companies have is their revenue is insane and they are used to it.

I am canceling Cable TV (with DVR and HDTV) service becasuse it's overpriced and I have slowly gotten to the point where my TV is on 1-2 hours a week, which is not worth 80$ a month. The sad thing is I would pay 5$ a hour for what littel TV I watch, but they don't have anything like that as an option.

When people who makes as much money as I do cancle their service because of poor value, they must see the end of the road. They don't procude the content, and while they are the middle men of chioce most people will move on to other things in time which will reduce their power with the people who create content. There was a time when TV could clame they where filtering out the junk which justified their posistion but 300+ channels killed that idea. So I expect thier only real option is to become an ISP or try and creat the next Hulu.
Instant Mockup for Eclipse SWT Applications using Balsamiq
Churning Butter(FS): An Interview with Chris Mason
I wrote it more as a fun example of the stuff you can do with very little Ruby (when relying on the proper libraries).
HN comments on the original article:

http://news.ycombinator.com/item?id=592043

http://news.ycombinator.com/item?id=605720
Interview with Charlie Munger
Alternatively, you can grab the Bolt Bus, or others like it (https://www.boltbus.com/default.aspx). Cheaper and slower than Amtrak but apparently has decently usable wifi.
No doubt it's cool in terms of code, I was just intrigued about the whole twitter culture :)
I love this quote - "Lawyers who only know a mass of legal doctrine and very little about the disciplines that are intertwined with that doctrine are a menace to the wider civilization."
Exchange 2010: Where are my storage groups?
People nowadays trust Wikipedia just as much as Britannica, if not more in some cases.

Usually people who note this consider it a problem.
Ok.

However

#It

##is

`not`

[markdown](http://en.wikipedia.org/wiki/Markdown)
Google Small Business Network
Is the Free Web About to Expire?
Utah Attorney General sends text to Twitter, plans for Senate run posted
You make a really good point. For more consumer-oriented data, a more casual level of accuracy is probably acceptable, at least acceptable enough to hang ads off of. I had my head stuck in the world of data that people are actually willing to pay for directly.
Company behind world's cheapest car to sell $7,800 apartments
I think it's the dynamic of very loose relationships. And if I have to read your drivel, you better be reading mine.
Why would you submit an article that requires you to be subscribed in order to read more than a few paragraphs!!
Man arrested for photographing an ATM
Your risk equation is overestimating the worst case scenario.

Super bugs are NOT at all easy to design. And there's plenty of natural super bugs like swine flu, etc. that come around every year.

The worst case scenario is something like the 1918 flu, but it's not 1918 anymore and we can deal with viruses like that a lot better.
I guess I will be brown9-2 from now on then... thanks.
"In addition, Never a good idea to build a business based on what newspapers are saying or how the stock market is performing..."

It's probably not a good idea to ignore them, either. I don't know about you, but all the "market research" that my customers ever do is whatever lands on the front page (or on their favorite 24h news channel), and they allocate their buying power accordingly.
Yep, I think that formatdoc is a subset of markdown. PG makes an explicit reference to the original markdown in the code.

From app.arc:

; http://daringfireball.net/projects/markdown/syntax

(def md-from-form (str (o nolinks))
(markdown (trim (rem #\return (esc<>& str)) 'end) 60 nolinks))

(def markdown (s (o maxurl) (o nolinks))
(let ital nil
(tostring
(forlen i s
(iflet (newi spaces) (indented-code s i (if (is i 0) 2 0))
(do (pr "<p><pre><code>")
(let cb (code-block s (- newi spaces 1))
(pr cb)
(= i (+ (- newi spaces 1) (len cb))))
(pr "</code></pre>"))
(iflet newi (parabreak s i (if (is i 0) 1 0))
(do (unless (is i 0) (pr "<p>"))
(= i (- newi 1)))
(and (is (s i) #\*)
(or ital
(atend i s)
(and (~whitec (s (+ i 1)))
(pos #\* s (+ i 1)))))
(do (pr (if ital "</i>" "<i>"))
(= ital (no ital)))
(and (no nolinks)
(or (litmatch "http://" s i)
(litmatch "https://" s i)))
(withs (n (urlend s i)
url (cut s i n))
(tag (a href url rel 'nofollow)
(pr (if (no maxurl) url (ellipsize url maxurl))))
(= i (- n 1)))
(writec (s i))))))))
I like it. I hated it at first, but then I looked at my feed. I could actually find things that were interesting in less than 15 minutes (and I'm only following 80 people). Sure this was an option before, but my inclination to drink from the fire-hose was so great that I never even thought of turning it off.

The OP's "hack" is a good one and I hope it catches on. Let's not forget that "@", "RT", "OH", hash-tags and all of those other twitterisms are emergent developments. "!" could be next (although I'd suggest "¡" for those of us with international keyboards :).

There's also a nice concept of loudness. I can now whisper inconsequential nothings to a group of my friends or broadcast from the rooftops.
Elephant in the room: The art market went through a massive, just staggering, boom. Prices and volume went through the roof on fine art.

These guys showed up way too late to the party. No matter what their product was, it wasn't a good idea to launch something related to the sales of fine art just as the bloom came off the rose.
Nimrod Programming Language
Just another variation of the Milgram experiment[1], highlighting people will have a much higher likelihood of believing extraordinary claims and orders from their superiors.

[1] http://en.wikipedia.org/wiki/Milgram_experiment
Get Your News *Without* the Nonsense
> Tabs instead of spaces

Every editor on earth supports both. Why the hell do I have to use spaces if the choice has -no effect whatsoever-.
"When you call a virtual method, you never know what might happen."

Good OO programmers can be confident enough to not care what happens when you call a virtual method.
It's not how many people you follow, it's how many tweets they produce. If you follow 500 people who tweet on average once every couple of days, that's 250 tweets per day. I'm sure you read more than that on HN. Or you could fill up your daily attention quota with a few accounts like scobleizer, techcrunch, jasoncalacanis, etc.
Perhaps that is not a case of worrying about WA: but using clever tactics to get their new products into media focus.

It matters not whether the "New Stuff" from Google is a competitor or reaction to Wolfram or completely unrelated. What matters is the media thinks it is competition and generates all this Google vs. Wolfram media hype :) Wolfram get some sympathy as the underdogs but ultimately it just pushes Google brand (they still just hold the public opinion of not being evil: so if you see a Google vs X discussion you imagine it is Good vs. Good battle and that both products are OK).

It's a tactic Google have always used - often to superb effect :)
Airbus pictured booting Linux 2.4
Nearly 2 years ago Slashdot covered the news that Airbus was to include Linux in every seat. Well, we just found out(the fun way).
Dark cloud computing
Does anyone know what the EU does with the money? Is it distributed among the member states? Is it added to their budget?
May 13, 1884: Electrical Engineers Meet Up, Light Up
Good point, but it's also the selection criteria that makes little sense to me. I can understand people actually thinking "Ah Stephen Fry says some witty things, I think I'll follow him".
I can understand that - being interested in a specific 'celeb'.

But when you're following 500, how have you decided that each one is useful/valuable. How can you be interested in "everything" that "500 people" say? Surely at that sort of stage it's better to be interested in particular subjects/keywords/hashtags rather than people.

I don't think I'll ever understand TBH.
Can Amazon be the default payment API for the Web?
This is crap.

It stops being a "fun example of the stuff you can do with very little Ruby" as soon as it performs some function with social ramifications. Code does not exist in a moral vacuum.

The fact of the matter is that people do use scripts like this to game the system, which inflates the meaningful currency with which a given community operates, ultimately devaluing and undermining that community.

Scripts like this contribute to Twitter going the way of MySpace.
You have to use press to your advantage. If its important to your customers, make sure you are covered.

My point was - Don't enter a market because press thinks its a good place to be in. There are two reasons for that

1. Most press stories are mostly driven by PR. There is a PG essay that also talks about it.

2. Press is late at identifying trends. If press says its a great thing to get into, it means you are already late to the party.
He'll mail us our password? Are our passwords not encrypted?
There are some cases where 200-line methods are perfectly acceptable, when breaking the logic into smaller functions only complicates the understanding and development of the algorithm. Not everything can be broken into multiple elegant 10-line functions without obfuscating the purpose or control flow.
You are saying that this code is immoral? You're gonna have to back that up.
What is your favorite web framework?
I didn't. I looked for the best article on the subject, and especially one that didn't require registration, because I always have trouble with NYTimes articles.

I didn't know that the WSJ required registration, I don't have an account there, and I can still read the entire article.
Depending on what you use twitter for, yes, it's etiquette, which basically means mutual masturbation. You follow them, they follow you, so both your counts go up and you get more "popular", which may matter if your account is basically just another PR angle, or if you're so self involved you believe the world is interested in you live-tweeting your lunch at McDonald's.
What web framework do you enjoy most and why? You can leave a response in the blog comment section or here and also check out what frameworks other developers enjoy.
Correct; let's not get into this discussion again so soon..
In that code sample the variable "matches" seems to be magically set by the =~ assignment. That would not be very clean. Or am I missing something?
5 Secrets To Ninja Writing
It's less emotional, but in my book more cut and dry as well. Microsoft was bundling "free" things, for the most part, which honestly, I do believe have a part in a modern, rich desktop. Intel on the other hand was basically paying major vendors not to buy anything from its main competitor.
"your [sic] assuming I wouldnt spell check a 5K essay and therefore would dail such a test... ;)"

Whiteboards have spellcheck?
I think the best approach is (paraphrasing something I read once): don't reinvent the wheel unless you want to learn more about wheels.
What would you rather be doing?
The Evolution of Advertising
You can take this guess as a starting point. Later you can use the empirical distribution you encounter in the wild.

First, the distribution is useful for running simulations of your placement algorithm(s). Also without a distribution your are limited to analysing worst-case-scenarios. With a distribution of inputs you can also take a look at the distribution of outputs that your method achieves. Suppose you measure the quality of your output with a single number, than you can look at certain quantiles - like the median outcome. Or the 95%-quantile, that will be closer to the worst case scenario, but not as pathological.

Second, to give an extreme example: Say you'd know everything about the coming demands, then you no longer had to use an online algorithm. But even much more limited knowledge will help you prepare for the future.
They're not used as executable code. They're used as meta data. Not much different than an XML file sitting beside of a script, except that

1) it's more DRY because for external files to say something about a construct in code there is repeated information, i.e. <route><to><class>Foo</class><method>bar</method></to><from><method>GET</method><url>some/url/here</url></to></route>,

2) because you're using the PHP language to specify metadata about a PHP construct refactoring is easier, i.e. change the name of a function and you don't have to go update your routing somewhere else,

3) having the metadata inline with code turns out to be mentally lightweight once you get over the initial shock of seeing metadata in a comment.
RJMetrics: BI for Web Startups
As a Ruby developer, awesome.

As a Twitter user, I just use http://friendorfollow.com/ - takes seconds :)
I'm a pretty avid reader of this site and I haven't seen the discussion here yet. (Can't read everything I guess.) But I don't like that fact one bit. What's pg's email? What's the best way to contact him?
Fascinating analysis of the new "metaplatform" (a.k.a. cloud); how it relates to mobile computing and networks, and what opportunities it presents to OS and application vendors. My favorite piece of advice:

Many successful app vendors are trying to create APIs that will enable other developers to extend their products. This is the right idea, but the implementation is often off-target. Many of the app companies I talk to are trying to make their APIs into the business equivalent of an operating system, with developers coming to them and living entirely within their private ecosystem. A warning sign is when a company uses a phrase like, "(insert company name) developer network" to describe its offering.

The wave of the future is not turning an application inward into its own little walled garden; it's opening the application outward so it can be mixed and matched with other functionality in the metaplatform. If you have the best drawing program in the industry, you should be asking how you can also become the best drawing module in the metaplatform. Get used to being a component in addition to a standalone product. You lose some identity in the process, but gain greater opportunities to grow.
Sometimes Twitter can be used to try and build a relationship or get the interest of someone. If such an attempt fails over time, you might choose to cut your losses. Yes, it might be sad and cynical, but people act this way. Hey, I do it.

Also, sometimes you follow people who you eventually find a bit boring, but your manners might dictate that you don't unfollow them if they're still following you. Likewise.
indents per line of more than 2 spaces. drives me baddy

I hate 2-space indentation. It's weird. It makes the code look less readable and every other more or less popular programming language uses 4. I see no reason why Ruby code needs to look like a narrow, dense spaghetti because of this stupid "rule".

There is nothing in the language that justifies this awkward feature: Ruby isn't excessively nested and an average line length is short.

This language looks beautiful when properly indented with 4 spaces. I've heard from a couple of Pythonista friends that Ruby looked to much Perl-like to them, I suspect some of it can be attributed to this tradition of fucked up indentation.

Before reading open source Ruby code I always reformat it properly: just a hotkey in vim.
Do You Know How Much Your Customers Want to Solve Their Problem?
I can't seem to reply to wizard_2's post (I guess it's a designed limit) so here's the post which spawned the encrypted password discussion:

http://news.ycombinator.com/item?id=595231
Behind Fez : Trixels (part two)
Eh, Hulu might be too ahead of the curve. e.g., they may get strangled by broadcast and cable TV before their (assuming they don't adapt) inevitable death.

I heard this on NPR yesterday -http://www.npr.org/templates/story/story.php?storyId=1040594... . It pointed out that DVR is decreasing the value of a Thursday night ad slot, since if people watch a Thursday night show on Sunday (after the weekend plans have been made), why should ad execs pony up for the prime time ads? Obviously Hulu can play ads during a certain time period, irrespective of shows, so this doesn't hurt them.

Overall, cable and broadcast TV are not sustainable in their current form. My guess is that they'll eventually go to a la carte style subscriptions at the last moment to avoid completely going under, and not a moment sooner.
This might be the perfect ad. It completely recasts the cynical MS Laptop Hunter ads in a personal and emotional light.

The MS ads are all about megahertz and inches and, unbelievably, always end with the consumer getting handed a big wad of money. The Apple ad takes this checkbox-driven hunt for a machine and turns it into the slightly awkward yet enormously emotionally satisfying experience of asking someone out on a date.

The MS ads end with the conclusion of a (slightly sleazy) financial transaction. The Apple ads end with "I'm a Mac." "I'm a Megan." -- the beginning of a relationship.
Almost all of these "No-No's" apply equally to development on any platform. Adding "Rails" sorta makes it link-bait, since there's very little domain-specific knowledge here:

* Write tests
* Don't write obfuscated code
* Consistent indentation, using spaces
* Don't mix presentation with logic

etc. etc.
How to earn money with Facebook applications?
Facebook offers a tremendous opportunity for those who are looking forward to earn money online. A lot of people in the past few years have earned a lot through Facebook applications by just using some simple strategies; the most important and vital one being making their Facebook applications viral and focused. The term viral application is a strategically term referring to applications that are very catchy and easy to use making the user addicted to it. This is the reason why the most successful and widely used applications on Facebook today usually are games, quizzes and planners.
Intel fined 1.45 Bln
show the same result for any queries.