skysight-inc/HackerNews huggingface dataset:
I want an e-reader, but I want to read technical (coding) PDFs etc. I'm told this will be inconvenient at a screen this size and that I should get the Kindle DX.

Hopefully they announce a massive price drop on the DX as well (preferably before I visit the USA in December)
There's a rule in the preprocessor to prevent infinite recursion: only replace each symbol once. The first time it encounters 'true', it's replaced with 'false'. The first time it encounters 'false, it's replace with 'true'. It's already seen 'true', so it throws up its hands.

The consequence of this rule is that cycles of #defines don't do anything. Edit: Well, that's only true if there aren't other symbols introduced during expansion. Here's a counterexample that prints 3:

#include <stdio.h>

int x = 1;

#define x 1 + y
#define y 1 + x

int main(int argc, char *argv[])
{
printf("%d\n",x);
return 0;
}
On the other hand: there's an infinite amount of things you can't/won't do in your life, vs. a finite amount of things you will do. Don't spend your time worrying about all the things you haven't done: that gets in the way of actually doing things.
Approach difficult problems with a curious attitude. Many problems that at first glance seem beyond your skill set or nigh impossible turn out to be easily decomposed if you play with them a little.
Having anything submitted to the 'Themes' category not include the permission to view your call history is automatable.

> I'm sure they'll pull these when the right people at google are alerted to the problem.

I've ported about 15 different apps to Google which were blatant cases of IP theft, and one of search results gaming. They're all still there, with zero response. They might be better with handling malware but I doubt it.
So the iPhone is too closed, and Android is too open.

In my opinion, they should have a quality assured Market, but keep the ability to load .apk files whenever you want (and also the ability for others to create their own marked).

Quality assurance on market should mainly be about maliciousness of applications.

It sounds stupid arguing for android to be more closed, but really Google is very slack with their Market.
I maintain that his sentence is either nonsensical or clearly unfactual.
Google Philosophy
صاروخ التحميل الصيني فلاش جت بآخر اصدار له FlashGet 3.6.0.1142 Beta [CN
Former NBA player Lorenzen Wright, found dead
No more so than it would be a donation to a car dealership if a car thief bought a car.
Sleep is good.
Pay for nothing
That's pretty damn sloppy of them.
Alleged Mariposa Botnet Author Nabbed
You need to know what is before you can know what it should be and how to make it as it should be. Particularly in regards to knowledge. You need to know what is known first, before you can invent new theories, hypothesis, make suggestions.
In Canada they are also $150 but Canadian dollars (like $200 NZ) isn't it built in Canada?
I stayed in a Youth Hostel right in Tenderloin. The crack dealers I met were pretty much only interested in you if you were either interested in buying crack, or were obviously scared of them (at which point they'd make fun of you - hey I would too).

The big surprise for me was how dirty downtown San Francisco was compared to LA. I'd never seen someone actually take a dump in the middle of a city sidewalk, or piss a level down into a train station before SF, and I haven't seen it since. My Full House illusions were well and truly shattered.
Thanks for that, that mug is great and I just ordered it.
I won't know about Canonical's claims but it is sure that they're perceived to have more impact on desktop than Red Hat, and that's a very fair perception regardless of the number of commits Redhat does on one particular piece of the desktop.

Linux has been starving of a good, stable desktop, and Ubuntu has provided that. Regarding free-ride, sorry but that's how open source software works. If Ubuntu credits itself for code that RedHat wrote that's not right, but if Ubuntu claims they changed the Linux desktop they have a very reasonable point regardless of who wrote what.
If you do not know your limits, or actively try and not acknowledge them, then you would engage in self deception and lead yourself onto a wrong path.

I think it is more preferable to know your limits, but not necessarily accept them and then actively work towards overcoming them.
Ancient hunters have created a breed of domesticated wolves/dingos, cost $100 or less in countries where they're subsidised at your nearby humane society.

edit: updated for a less euro-centric view. Thanks araneae
They're both the subject of vast public ignorance in regard to the hazards. :D
Most judiciously used in discussing http://cuiltheory.wikidot.com/what-is-cuil-theory
An easy way to detect mobile devices
"Two roads diverged in a wood, and I -- I took the one less travelled by, and that has made all the difference." - Robert Frost
Why is this here again? Some kind of advanced "Directory Enumerator" tech that we haven't heard of?

du -h | grep -v '/' | gawk '{print $1}'
Yeah, but they don't look like these.

(Also, I suppose a small fraction of the money goes to support their IMO interesting research. Which is approximately infinite percent more for a charitable cause than from the price of a designer cat or dog.)
About "which Lisp": I think most people recommend PLT Racket for newbies. I do, even though I use Kawa Scheme daily.

About macros: If I recall correctly, Scheme got hygenic macros in 1991 with R5RS. If I recall incorrectly it was earlier, definitely not later.

Many Scheme implementations clone CL's defmacro, which is non-hygienic unless you're careful, but is useful. There's also syntax-case, which is hygienic by default, but let's you break hygiene explicitly.

Macros should be used only when functions won't do, and not because of tool support. Macros act at compile time, not run time, so they aren't run-time objects that can be used flexibly the way functions can.
Calling it "the most common smartphone multitasking scenario" seems like pretty extreme hyperbole. I don't even know if my phone (N900) can do this, because it's never occurred to me to try.
When you select some text and 'put' over it, Vim yanks the selected text into the default register. The text that you just put is still put-able via "2p, if you'd like to put it again. Vim is essentially saving that selected text for you, just in case.

I hope that answers your question.
Changes in Arctic sea ice coverage from 1978 to 2008
I thought the main point was to provide a centralised repository, not to have a 'stamp of approval' and a guarantee of being 'malware free'.

For the life of me I can't see how google could begin to put a dent in evaluating each and every application at that level.

Do they refuse applications according to some publicised rule set ?

Each and every one of the closed source downloads that has ever been done from download.com could turn out to be malware tomorrow morning, I find it hard to believe we should hold download.com as the place where we 'got it' responsible for stuff like that.

In the end, you should trust the creator of the software, emphatically not the place where you downloaded the code. Whether it's a big site maintained by a big name or a smaller one, if it isn't open source you basically can't trust it.
No, it's a problem in the model.

User testing has shown, over and over again, that users do not read pop-up boxes. Why would anyone expect security warnings would be any different than error messages? MS dialed down granularity from Vista to 7 and the UAC is still a joke.

What's needed is something different. I don't know what that thing is, but pop-up boxes are not it.

My pet theory atm is "services". When an app installs, it can register as knowing what to do with certain data. Say, GPS coordinates or contacts.

If a user wants their wallpaper to have access to that data, they'll open their GPS, or contacts app and explicitly allow the behavior.

That way, an app only has access to those data sources if the user explicitly sets out to grant it to them. If it's a conscious multi-step process, it should be pretty hard for people to accidentally grant a wallpaper access to all their personal data.

And given the competitiveness of mobile app stores, I doubt any app would survive that sits functionless and nagging until the user explicitly grants it a half-dozen permissions. So they'd quickly end up asking for less, or at least delivering as much as they can with as little as they're given.

I know "services" hardly goes all the way. But my point remains that no level of granularity will make the pop-up approach 'work'.
Web app has an important downside: it's not hanging on your wall. Out of sight, out of mind.
According to http://www.debian.org/News/2009/20090729 the current policy is a two-year release schedule, with the next release expected in Q1/2 2012.
Sitting in your day-job having to use (a very flaky) ClearCase instance working on a monster code base that has no tests and has a non-deterministic build process. Think of the pay-cheque at the end of the month. Get paid, save/invest properly and use your evenings and weekends to work on "that" project.

Course, this is my personal motivational technique.
ODF 1.2 Begins Final 60-day Public Review
All meaning is man-made, so make your own, and make it well.

...and by what standard should we judge "well"?
Ask HN: When did you last put yourself out of your comfort zone?
When did you last push yourself past your comfort zone or do something spontaneous?

What it is that you did, and what was the outcome?

I'm trying to determine whether pushing oneself past the comfort zone always results in a positive outcome.

I thought asking the question on here might get me a good sample. ;-)
Make a mobile version of your website (Invite code: MSTAC2)
These are cute: http://www.sibfox.com/foxes/ :-)
I've seen/learned this from many programmers.

Also just another point. don't over work yourself, we're all humans (except those damn bots) and you have to give yourself down time to let your brain simmer on the latest and greatest thoughts.
E-Books Fly Beyond Mere Text
Ask HN:  Need local San Francisco iPhone hackers in San Fran
I cant post too many details here, but let me say that we are on the bleeding edge, on the verge of releasing a groundbreaking Augmented Reality app that is truly monetized. It will be scalable to your own areas. We are claiming San Francisco but you can use the same software for your own areas of the world. Please contact me if you are interested. Under NDA terms I will share most all details. This is a blockbuster. It required XCode and web server database programming to pull this off. Wired.com is ready to see it, although even they don't quite know what is coming. Write me at sddengineer@gmail.com if you are interested.
the only fun way to learn vim is to ascend a character in nethack. once you played for a while you'll know your way around vi!

but vi keys force you to have your right hand in the wrong position. sure its more convenient than bpnf (emacs style memnonics) but i dont like it for typing, especially when using a lot of special characters, that is, coding...
I remember seeing a documentary about these foxes last year. IIRC they were part of a science experiment to see if it was nature or nurture that was the key factor in the domestication of dogs.

Basically with each litter of foxes they selected the most friendly, and allowed them to breed, creating more friendly / domesticated foxes. They also selected the most vicious and bred them separately as a control. Later when the behaviours became more pronounced they artificially inseminated the vicious foxes with the domesticated foxes embryos to find out if they would be aggressive or domestic. They turned out to be domestic.

Interestingly because foxes are solitary animals they behave more like cats than dogs.
How Deal Terms Affect Valuation & Liquidity
Agreed, they're beautiful animals.

You can actually befriend foxes in the wild near your home relatively easily if you are patient. I'd be very wary of letting one of them (or one of the 'tame' ones above) near very young children though.

Dogs have been bred for many thousands of generations and yet there still are plenty of them that bear careful watching in spite of being tame, with these animals I'd be extra careful, their roots are much more wild than any regular dog you'll ever meet.

The brother of one of my ex employees in Canada had a half-wolf, half Sheppard. An absolutely amazing animal but imprinted on one person only, dog to him, wolf to the rest of the world. I imagine these foxes to be much more tame than their wild cousins but until you've seen them in stressful situations you'd have to be careful with individual specimen, even if as a breed they're considered tame enough for being around the house. The same goes for dogs.

In Australia there are people that hold dingos as pets, that's another interesting option.
Every household in North Korea is provided with a white cloth.
The secret to customer service is "I'm sorry" and putting a period after it ASAP to avoid undoing all the good you just accomplished. ("I'm sorry you couldn't figure out how to..." <-- failed.)

Relatedly, buy yourself a puppet and route all email through the puppet.
Ah .. Makes sense. Thanks.
They evaluate it and... then they are all supposed to pick another subject, because of... money? Well, I hope you are happy: I certainly wouldn't have been if those were my most important criteria for choosing my education.
Startup Idea: Top 8 Friends Redux
I don't know which podcasts this person is talking about. Some boring foreign podcasts? I watch podcasts about videogames and technology. He should go to iTunes and look at the most popular podcasts there. There are much worser shows on TV.
... no, the article mentions checking the backups are being made, that the processes you put in place are actually working. This says nothing about how useful and effective your backups actually are in a worst-case scenario. For this, you need to be doing test restores, which aren't mentioned in the article.
Only thing I can think of is by sharing your email address with selected 3rd party companies.
For every coding Lisper, there are 99 opinionated non-Lispers waxing poetic over its glory, or barking polemic over its demise.
What to do when pypi goes down
What does Ruby have that Python doesn't and vice versa
Somebody observed (around here or reddit?) recently that there are no unemployed mathematicians. By that, s/he probably meant statistics/probability, linear algebra and diff EQ's as good things to be good at:

http://measuringmeasures.com/blog/2010/3/12/learning-about-m...

=====================

FP, there's pretty strong interest in erlang, ocaml, haskell, F#, scala , clojure. Also scheme/CL .

http://stackoverflow.com/questions/805429/learning-scala-or-...

http://www.slideshare.net/brweber2/functional-concepts-for-o...

http://enfranchisedmind.com/blog/posts/what-killed-lisp-coul...

http://ivory.idyll.org/blog/jun-10/functional-programming-la...
and diw and daw delete the whole word, gUiw uppercases the whole word, and ...

The composability of vim motion commands is what keeps me using it.
I used Levenshtein Automata when I wrote Atomiq Duplicate Code Finder (http://www.getatomiq.com). It is some pretty cool stuff!
Study: Hackers aren't exploiting software vulnerabilities
No back navigation on iPhone from browser to Twitter? You mean this back button here that's only there when you need it? http://yfrog.com/86px1kj
you can't know your limits until you've hit them, and even when you hit them you have to make sure you diagnosed your limit correctly.
Hacker finds a way into ATM computers
These are not the usual kind of Siberian Foxes one finds on the Internet... ;)
I highly recommend A Byte Of Vim for anyone wanting to learn the editor: http://www.swaroopch.com/notes/Vim
I tried learning by using cheat sheets, but they don't stick because I don't go back to them for reference or if I do, I forget because I think I'll have a reference later.

Commands stuck when I saw someone else use vim, do something I didn't know about like yyp, and I asked how they did it. I'd like a video of someone using vim for real work and then explaining how they did it.
I asked the taxi driver on the way to the airport if things were always like that and he gave an explanation about adjacent police districts taking it in turns to move these folks from one district to another - apparently this had just happened so things were a bit more lively than normal.

I learned the lesson and booked my own hotel the nice time I visited - stayed somewhere very nice right next to Union Square. :-)
But you can knock over banks for arbitrary amounts of money. All it takes is a gun and a bag.

Whichever way you found to do that it would be illegal as hell and you'd be much more likely to rot in jail for a very long time as you would be to 'work on your OSS projects'.

Crime sometimes pays but for the most part it doesn't. The funny thing is that criminals on the whole are stupid enough to think the 'opposition' is also stupid.
But, to say it is god-awful development is pretty deeply ill-informed, and insulting to the small handful of dedicated volunteers who currently maintain Squid

PHK was obviously referring to a specific issue; Squid's implementation and usage of caching in its particular area of application. Varnish is obviously better at that. Squid is obviously better when it comes to portability and flexibility.

I'm going to think out loud here, and please take a minute to consider this, because I'll just try to be honest, not mean or elitist: Is it enough for my software to compile and run correctly on multiple platforms for me to call it 'portable', or should I take advantage of the characteristics of each platform?

I know that when it comes to my work, I choose the second, and I'm guessing that PHK would too. The "1975 programming" bunch, well, maybe not.
Cold Sore Remedies
Get rid of cold sore, cold sore remedies and cold sores treatment by using virulite cold sore machine which cures and prevents cold sores medically.
If you are selective about which arguments you inspect for flaws, or how hard you inspect for flaws, then every flaw you learn how to detect makes you that much stupider. It gives you one more chance to fail each time someone presents you with a new argument, and you face the challenge of changing your mind. Intelligence, to be useful, must be used for something other than defeating itself.
Verizon:Breaches often caused by config errors, not so much from software flaws
Glass, social noting on websites.
I'm a big fan of Postgres and have a hard time overcoming my visceral dislike for Oracle. But I suppose this makes perfect sense for them. Businesses protect themselves from real and potential threats. If I were an Oracle shareholder, this is probably what I would want and expect them to do.
If that doesn't answer it, do a little editing then :reg
You'll see what's going on from there.
Been waiting for this release to (re)jump back into Perl development. Congrats to everyone involved!
Context-Aware Computing The Future?
I saw this on Gartner and figured the startup world is always ahead of the analysts. Does anyone know of any good examples of companies headed down this path?

http://www.gartner.com/it/page.jsp?id=1410313

Honestly, I had no idea what Context-Aware Computing was but thanks to Wikipedia I understand the concept. It sounds very intriguing.
Not really. Copying games doesn't destroy anything.
It's the standard position I learned in touch typing class (jkl;). You're right, special characters are a pain. How do you do it?
how about one of the common compression libraries like zip or gzip?
Google looks to expand with acquisitions
The standards that you yourself make.
What an amazing find. Thanks!
And if you use PayPal, it's even worse than that.
Time.

It destroys the time it took the developer to make the game.
Indeed. Speaking as someone who has had several articles at the top of HN and reddit-programming, as well as several on proper reddit as well as digg: it's total nonsense. I'll get 5-10k hits, for a "decent" HN story, I'll get 20k+ for proggit. For a #1 HN story, I'll get maybe 20k hits, and 40k+ for a #1 proggit.

Top-level front-page reddit is pushing 100k.

Here's an example of the traffic of a recent article that got both HN and proggit: http://imgur.com/TpQ5T Obviously, n=1 here, but this pattern repeats all the time.
I think the key distinction that Katz is failing to make is this: switching to Vim is not a matter of 'You’re learning a new EDITOR for God’s sakes. Of COURSE there’s going to be a learning curve.'

As pointed out, Textmate is a new editor and you don't come to a standstill when you use it for the first time. But Vim is a fundamentally different KIND of editor than Textmate. It's not that it's a different program. It's that it's probably the first modal editor you've ever used. As far as I'm concerned, the whole bulk of the first and hardest step in learning Vim is just wrapping your head around editing modally. Whether you want to disable your arrow keys and obsessively leave Insert mode, in order to cultivate good habits, or you just want to muddle through and implement Vimisms where you can is wholly up to the reader. It's analogous to whether you want to cover your keycaps and use dvorak all the time even when you can't touch type, or just ease into it. But the hump, the bit that's a qualitatively different experience, is the modality of the application.
WH wants easier FBI electronic surveillance of Internet
Check out this: http://blog.interlinked.org/tutorials/vim_tutorial.html (text-objects section in particular).
There have been a few blog posts recently on this topic:
http://www.aaronstannard.com/post/2010/07/03/NET-Culture-Sho...

http://tinpanvalley.tumblr.com/post/796605832/why-startups-d...
So it's circular, you're saying? I don't disagree, but this is not ultimately very satisfying to someone who'd like meaning in their life. It amounts to saying "Don't want that, then", does it not? :)
The word "niggardly" and it's cognates are not preferred language not just due to their phonetic similarity to a word which unfortunately has awful connotation, but also because sophomoric racists have unfortunately appropriated these terms to have this sort of racial meaning. I should have said "recent etymology" above.

For this reason, magazines and newspapers avoid the term: http://en.wikipedia.org/wiki/Controversies_about_the_word_%2... (see the bottom)

I might be dating myself here, but "niggardly" and "niggle" used to be used quite often to imply racial meaning even if none technically exists. Perhaps we shouldn't avoid the term just b/c some ignorant folks used them in racist ways, but in this case I don't see the harm in avoiding it considering there are so many other ways to say the same thing. Unfortunately, once racists use these words to mean something other than their dictionary definitions, you run the risk of raising eyebrows amongst people who may have experienced these terms in these secondary contexts.

In England, this is likely a different story.

And would you really use "niggardly" to describe something in America in 2010? Really?
As Confucius said, 三人行，必有我師焉 ("wherever three persons are walking, my teacher is surely among them"). I can learn from anyone in my environment, and other people always have a lot to teach me if only I will listen.

(Adapted from

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

where the first person to reply to this quotation that time reminded me that not everyone on HN takes advantage of this, but where other HN participants got Confucius's point.)
Video with the foxs: http://www.youtube.com/watch?v=enrLSfxTqZ0
I don't know if this is the source, but this is all I could find.

http://www.writesomething.net/post/1260672/