skysight-inc/HackerNews huggingface dataset:
Really, a better coding style is to use STL strings, containers and algorithms and never get down to the point where you have to care.

Coding at the bare-metal level is a very slow, tedious, error-prone and silly way to code unless you're doing, or have some external constraint that forces you to (and, no, efficiency isn't usually a reason not to use C++ or the STL, it almost always compiles to the same as using strcpy's and malloc's.)

--
Ayjay on Fedang/coding
> Yes, prostitution is illegal. It long has been

Uh? Is it? Is prostitution actually illegal in the US or just streetwalking, or brothels, stuff like that? "Networks"?
Actually polygraph tests kind of work but not for the reasons people think they work. They work only if those administering the polygraph tests manage to convince those taking the test that the polygraph tests work.

Security agencies, when their administer the polygraph, will ask the subject how well they are familiar with how polygraphs work. Sometimes they will drop some polygraph test jargons words into the conversation to see if the subject reacts to them. Knowing the truth about the polygraph test usually renders the polygraph test ineffective. Such subjects usually "fail" the test because of attempt to use "counter-measures".

As for sphincter muscles, the pin in the shoe, some basic breathing tricks -- those are easily detectable by "expert" polygraph administrators.

The danger of polygraph tests is that they actually prevent people who are too honest to pass, but they will let sociopaths or those who lie slightly to pass easier.
Depends on the state. I believe prostitution is only "legal" in Nevada, and only then in highly regulated Brothels in mostly rural counties.
There is a difference between off-topic on HN and off-topic in this specific topic. No one on HN hates you, and if you were to make a Ask HN post about it instead of continuing to post here, I'm sure you could even get some valuable feedback.
Try "smokes weed with", "drinks with" and "is"
I notice that the author used to be sleeping 6-7 hours (going to bed at 3 or 4 am and waking up at 10), but after camping, is sleeping 9 hours (going to bed at 11pm and waking up at 8).

That seems like a bigger deal than shifting the schedule. I imagine it's much easier to feel rested in the morning if you're getting 2+ hours of sleep more than you used to.
That phrase "points of information" is a common term I apply to all pieces of knowledge, whether it is gained through practical hands on experience, reading, observations and analysis or talking with others to know what they gained from their hands on experience, reading, observations or analysis and so on.
End of the day, however it is gained, first hand or second hand, it is all knowledge.

No: it is not "all knowledge." There are also things like judgment, and wisdom.

I repeat: I think you're heading down a rat-hole with this "meta-belief system." You're creating an extremely reductionist epistemology, and sooner or later, it's going to start skewing your judgment.
The pkzip format allows you to "zip" data uncompressed if you are worried about that. Then you can trivially unpack your files using nothing but seek and read for those cases where you also accidentally misplace your last copy of unzip.
The "heaviness" speech, an oldie but a goodie.

For some reason it reminds me of that quote from Annie Hall. Woody Allen trying to cop some hippie jargon... "Did it achieve total heaviosity?"
I wonder why they're not saying anything about title case (Like the Title of This Post). Man!
> Is it ok to soft-launch, see how it goes, and only form an LLC (or equivalent) if/when you establish some growth?

Yes.
Surely there was a better way to get this story out than piecemeal via 60 staccato tweets? I know this article is supposed to show Twitter is important "new media" that changes the way news works, but I have never seen such a salient topic so well destroyed by interjecting hard stops every 140 characters. It was like reading a NY Times editorial in the form of an IRC chatlog. The format belied the potential of the content.
If you type "white-out" it corrects to "Tipp-Ex"
This is a clip from the episode explaining how it works:

http://www.youtube.com/watch?v=NsoI92BfmqY
As long as they don't make me use cpio, I'm fine.
I meant more towards the very anti large non free software business messages that are in it.

For example (all microsoft examples here off the top of my head)

Raymond giving the thousand yard stare at Microsoft exec
Bill Gates open letter
Richard talking about MS being a small player initially
The Microsoft free software refund meeting

All were made large closed source businesses look like the enemy. So the show is very biased especially towards Microsoft. Richard is indeed very open but the movie can be seen as a propaganda piece rather then purely factual.
According to Superfreakonomics, prostitution was mostly legal in the US until the early 20th century---its prohibition was part of the same movement that brought us Prohibition and women's suffrage.
Most of the print activities that share corporate ownership with CNN are probably under Time. Here's a link to the Time-Warner businesses:

http://en.wikipedia.org/wiki/List_of_assets_owned_by_Time_Wa...

As far as hurting newspapers goes, don't measure it by what Craigslist takes in. Some of the would-be paying newsprint advertisers are getting exposure on Craigslist for free, and of course papers still see that as damaging.

The media is not very friendly towards entities that don't buy advertising and take away ad dollars of or compete with operations that do. Note how little mention Ubuntu gets at release time, or when Windows malware hits, even though it would help many readers/viewers.
Music box is not Turing complete so it is a misleading analogy for Python.
Self-esteem is a tricky thing. Doubts, fears and a state of anxiety are linked together and are causing and amplifying each other.

It is not so simple. There could be a genetic predisposition for an anxiety, and doubts and fears (conscious or not) will be the consequence - an attempt to avoid unpleasant state, while there is no reason for it.

Doubts lowers self-esteem, low self-esteem produce doubts and fears, and so on.
Yup. The algorithm was first used in planning paths for Shakey The Robot back in the late 1960s, which seems like ancient history in computer terms. (I only know of it because my dad "invented" A-star. :-) )
Yep, the Buddhist stories say that he spent a while as a rich prince, then some sort of eXtreme(TM) yogi, and neither really worked out for him.

The popular American impression of Buddhism is pretty weird - historically, it's heavily skewed towards Japanese Zen Buddhism, but secondhand, from the Beats* . The way people talk about Zen, you'd think it had antioxidants or something.

* Due to their infatuation with the San Francisco Zen Center, Shunryu Suzuki, etc.
Site appears down. Is node popular enough yet for the "Node doesn't scale" talk? :)
Hi nicko. Do you have an email address I could ping you on. Would love to quiz you about your experience :)
I conducted an experiment. I slept as much as I wanted and whenever I wanted. Sometimes I slept for 10 minutes and at other time for as much as 14 hours. I just let my body sleep without limitations whenever I felt sleepy - no exceptions.

After about 3 to 4 days of doing this my sleep schedule settled on its own accord. On most days, I now sleep at around midnight and sometimes perhaps in the afternoon for a bit. Some days I don't sleep at all because I don't feel sleepy but that corrects in a few days to become normal again.

For me this is remarkable, I used to be an extreme example of a night owl.
I was talking more about liguistics, not politics/culture. Linguistically, they are separate languages, not dialects, though what you say is true (and it also holds for Spanish and Portuguese, for example). I don't speak Arabic, so I don't know how far the differences between say, Lebanese Arabic and Tunisian or Moroccan Arabic go. I do know that I've met people from Lebanon and Tunis, and they communicated in French between them, mostly. The explanation was basically that written Arabic was pretty much understandable by all Arabic speakers, but the dialects were too different in some cases.
Re. 1: yup, I'd prefer that. A DM would pop up on my iphone via notifo, while email gets lost among other emails, and I check them once per hour only anyway.
Why don't you trust it? Have you checked the result and found it to be suspect?
It dates to the medieval copyists---mostly monks---who developed new ways of writing that were faster. In some cases the letters connected (what we'd call cursive), sometimes just flowed (italic), sometimes they were just shorter and rounder (uncial/half-uncial). The dominant form was this new style. BUT, for the beginnings of chapters and/or pages, they would revert to the old Latin letters, often with a great deal of decoration. Thus the capitals remained in active use even as the running text evolved. The printing press narrowed the number of distinct styles somewhat, but even today if you look at handwriting across Europe, the capitals are pretty recognisable and would look familiar to an ancient Roman, but the rest of the text diverges a lot.

...which doesn't exactly answer your question of what it's "for", I guess. But to some extent, we have two cases because that's what history gave us, and now we make use of them as best we can.
Absolutely.

I once had to deal with code that did something like this:

return a ? b : c ? d : e ? f : g;

I'm not kidding.
No, power users are your best customers when you present a clear value proposition. Casual users don't ever see the need so they don't ever bother paying.
It does. Well, pdf and open document format. That should meet the needs of most people.
"... Paul Graham's advice, that the best way to get a job is to start a company and sell it, is really just a particular instance of my advice, that the best way to get a job is to create assets and get them to people. ..."

The guts of the article is in this quote by Giles after you read about being fired throwing creamy soda at other programmers and how to get arrested in New Mexico. I miss reading this kind of stuff.
No probs, I just updated my profile with my email.
There's unfortunately already a whole boatload with extremely poor quality control, totally crapping up Google Books and Amazon results, especially for more niche topics. They're generally automatically compiled by a script for tens of thousands of titles, and then printed on demand, attempting to pass themselves off as original books on the subject (no mention of "Wikipedia" anywhere). Two of the more notorious publishers are Icon Group (some examples: http://www.google.com/search?tbs=bks:1&tbo=1&q=%22we...) and Alphascript (example: http://www.amazon.com/dp/6130070446). Sort of a meatspace version of content farming.

(That doesn't mean a non-scammy version isn't still a good idea. But the market for bookifying Wikipedia articles is definitely currently not too upstanding.)
[You probably won't believe me but] you misspelled faze http://www.merriam-webster.com/dictionary/faze http://www.merriam-webster.com/dictionary/phase
Ignore the rabble. :-/
The semicolon in your #define is evil and should be removed.
(There's a conspiracy to make cool programming languages hard to google.)
>By the way Japanese don't encounter all katakana sentences, since it's just used for the 'imported' words.

As patio mentions, that's a common misconception.
When computers were first being developed for Japan, they used a half-width katakana font in order to fit in a smaller byte-size, and also be able to be displayed on small screens such as cash registers. This has carried over, and many appliances, printers, atms, etc still use the half-width katakana for display. It is truly a pain in the butt.

Sometimes all-katakana sentences are also used in books for when robots, aliens or foreigners are talking in order to give the speech a halting or "non-japanese" feel to it. I personally find it obnoxious, and like the Full Metal Alchemist way of dealing with it, where they only changed the last character of each line into katakana.

Katakana can also be used as english-speakers would use italics (or even all caps) in order to put stress on a certain word in a sentence.
かれのスタイルはサイコー！

>You need to know 2000 characters before you can start reading the newspaper.

Honestly, for foreigners this is considered a huge hurdle, but 2000 characters is nothing. Especially for a native, who will have about 12~ years of learning before they start reading newspapers, it's really not a big deal.
Strange popup:
"Hello, i see you are coming from hacker news.

the article you clicked on was most certainly not submitted by nodejitsu.

news.ycombinator has a long history of squashing articles and submitters that aren't funded by y-comb.

most of this is done through their "silent" banning and censoring mechanisms, that leave people not even realizing they have been silenced.

i hope you enjoy this article, and remember that HN is extremely biased and that you should keep your horizons broad."

While I would agree that HN is bias towards YC-funded projects I would not agree that it is biased against non-YC projects or news. In fact, the majority of the items on HN are non-YC. This also follows for submitters and commenters for the year or more I've been here.

On a different note. Hpricot is not representative of Ruby scraping anymore - nokogiri (http://nokogiri.org/) is where it's at. Which has a Hpricot translation layer if you need to change. Even when I decided to solidify on Python for everything else I will still go back to Ruby just for nokogiri when it comes to scraping.
What happened to the old account, Tim?
The article lists BeautifulSoup as the Python choice for scraping, but that isn't necessarily true. I'm using http://scrapy.org/, for example, which is a scraping framework that uses lxml and xpath by default.
"... The pkzip format allows you to "zip" data uncompressed if you are worried about that. ..."

Didn't know that & must check the docs again.
The article you linked was not about QA, it was about contract negotiations for one-off projects.

I source thousands of tons of material from Chinese factories, and the QA challenge is different. My option is to station Chinese employees (who are trustworthy) at multiple factories overseas to verify product quantities and quality prior to sailing the can. Or I could have my Chinese-American staff in the US office monitor shipments via remote robotics.

Certainly telepresence does not replace international trips to build and maintain the relationship, but it can greatly assist in monitoring QA processes after the initial setup has been completed.
AirDropper lets people put files into your Dropbox without signing up
6 SaaS Metrics You Should Track - ReadWriteCloud
Mens Nike Air Max 90 Shoes Colorful
"If you find yourself trapped in the middle of the woods without electricity, running water, or a car you would likely describe that situation as a “nightmare” or “a worse case scenario like after plane crash or something.” White people refer to it as “camping.” " -- Stuff White People Like

http://stuffwhitepeoplelike.com/2009/08/14/128-camping/
I'm curious what people would think of this scenario:

You have made a niche software product that targets a very specific kind of small business (hair dressers, say). The product is genuinely interesting to many of them; it will save them time and money.

You have a big list of email addresses of such businesses, but no prior relationship with them. Is it okay to send all of them a one-time polite mail about the product?
Yes, as cliched as it is, I think it's time. I couldn't use at least 6/10 of the node challenge top 10 when it hit the HN front page (and the rest were beset by bugs and didn't work - the pixel one where you form characters stopped showing the shape I was supposed to be trying to get into after a few rounds, and the robot war one never let me buy or release my wave of robots on Chrome or Firefox). Overall it was totally disappointing experience.
"... I have two giant jars (910 g/2 lb each!) of Vegemite ..."

The biggest tins (yes, tins) I found of Vegemite was in Colac at local grocery store weighing in at 5Kg. I wish I had a photo. Sounds like you, @silentbicycle have an acquired taste for the stuff. Love offering it to American folk who usually accuse me of trying to poison them. Marmite is similar but there is a distinct taste difference. Both do well as stocks.
Ironically, that page doesn't have the "Print/export" box on the left hand side, which made it a bit confusing for me to get started... and made me wonder how easy the rest of it would be to use if this (first) usability issue hadn't yet been noticed... All other pages seems to have it. It's probably because it's a "help" page, not a regular page. But why shouldn't someone want to print it out? It's a confusing exception. </rant>
The man is writing about C, not C++. C remains important. I agree that C++ and the STL are good toolsI don't agree that STL style string handling code will compile down to the same thing as C style string handling code.
Are there any information/discussions about the "censoring mechanisms"?
Medical Tourism Company - India
Health Care Facilitator in India: Medical Tourism Company in India.Medical Tourism Packages & Medical Treatment Facilities,Services available in Chennai, India.Medical facilities along with other Medical services & health care packages to foreigners.
Using a new account is providing me enough cognitive dissonance to post again... TBH it's kind of arbitrary I'm using this account. :-p

I'd be happy to proof read (in addition to Computer Science I also study English). Although admittedly my experience with the JVM approaches zero, so I can't be of much help there. Good to go on the CL pieces though.
I think what helped him reset his sleep schedule is :

- Exercise

- The lack of artificial light

You don't have to go camping to have that.
Hp pavilion dv9000 battery,HP pavilion dv9000 laptop battery replacement
1、25% off！！！free shipping！！！
2、HP pavilion dv9000 battery replacement:14.40V,4400mAh,li_ion.
3、Brand new HP pavilion dv2000 laptop batteries.
4、30 days money back,1 year warranty!
With respect to sunlight hours, wouldn't this technique depend a lot on timing (e.g. winter vs. summer) and latitude? I mean, it wouldn't seem to be of much use in say northern Alaska during the summer where daylight nears 24 hours or in winter where you're in the dark much of the time.
Try http://www.zerotosuperhero.com
Amazed that someone even figured this out. I also tried cleaning my monitor and, on failing, rationalized it away as some kind of oil smear that would later require proper cleaning.
Ok, that did faze me.

Thanks though, you've saved me countless future misspellings of that word.
Looking for a Web Developer @ Sequoia Capital
Mac fluidline eyeliner gel,MAC Eyeliner Gel wholesale from buy-self.net
mac fluidline eyeliner gel,MAC Eyeliner Gel wholesale from buy-self.net

mac fluidline eyeliner gel,MAC Eyeliner Gel wholesale from buy-self.net

mac fluidline eyeliner gel,MAC Eyeliner Gel wholesale from buy-self.net

MAC Cosmetic Bags 13
ID: 446
$ 49$ 25

Adidas Sportwear Suit
ID: 6315
$ 58$ 16

DSCF2844
ID: 5410
Coincidentally, brain scans often show around 10% activation (random google eg. http://www.nimh.nih.gov/science-news/2009/impaired-brain-act...)

Only a fraction of a CPU is active during a given time period (eg if no floating point arithmetic is needed); and we don't use all the muscles in our body most of the time either. That's a bit different from what the pop-psy authors meant though.
It is certainly true that going camping will reset your sleeping schedule. Last year, my sleep schedule was to start sleeping at 8AM, and wake at 4PM; after a few days of camping, it had shifted all the way to sleeping at 8PM (sunrise).

The only problem with this is that camping isn't something that you can just go out and do, especially if you have any sort of obligation (work, school).

I recently "reset" my sleep schedule from sleeping at 4am to sleeping at 12am. It wasn't really that hard, and I didn't use anything tricky or uncomfortable, like starving myself beforehand. All you really have to do is climb into bed two hours before you went sleeping the previous night, and start reading. I find that reading puts you in a much more relaxed state, and after an hour or so, I don't drift off to sleep so much as it hits me like a train. :) You can knock back your sleep schedule almost an hour a day through this strategy.

The other advantage of this is that you get to do a lot of reading.
You can incorporate later, but the decisions you make as a sole proprietor or sole trader can come back to haunt you even after incorporation. Your liability after incorporating will depend on the nature of the app and the way you bring it into your corporation. If damage results from a problem that a lawyer can demonstrate pre-existed and should have reasonably been taken care of before incorporation, you will be in his cross-hairs.

The extent of your liability will depend on where you live (the UK is harsher on developer responsibilities, IMO). IANAL, but I have worked as both sole trader and company director. Incorporation is dirt cheap compared to the cost of liability.
Fantastic adventure game! You can't take that thing on a plane, that's for certain. The inventor talks about disassembling the box but what if you were the recipient of a closed box? He talks about that too... Basically set the coordinates within non-flying distance.

Coca-Cola did something like this a while back, http://www.google.com/search?sourceid=chrome&ie=UTF-8.... They created a bunch of gps enabled coke cans and randomly distributed them. I heard about it through some aviation/counter terrorism security site that highlighted a study done by some three letter agency on the device for security purposes.
Eric Raymond is not someone you could really describe as "left wing".
RIP http://alpha.beepl.com
Hi ...

> Please help me to understand what makes you think
> I came in here to beg for a programmer?

Sure - these bits:

> I am not a programmer ...
> ... I have dozens of ideas jumping around in my head,
> ... The problem is I need a partner.
> I can't create this by myself.

That sounds like you need someone to program.

Just saying.
The end.

Dead pool.
I have a question: Does scraping like this execute Javascript on the scraped page? Am I able to access the output of Javascript/AJAX on that page?

As far as I know this is impossible with any other server-side scraping technology.

If so, that would be amazingly useful for a couple of my side projects, much easier than parsing their Javascript code and extracting the info I need.
Might be a cool way to get to see part of what makes the valley tick from the inside. On the minus side, the word "ninja" is trotted out.
As far as I am concerned it doesn't matter if it is polite or not - if someone doesn't have an existing relationship with me and they send a non-targeted email to me offering a product or service then it is spam.

However, if someone contacts me with a targeted email that looks like they have actually given it some thought and explains where they got my details then I will give it some consideration and reply politely (even if it is to say "no" - which it usually is).
Curious what kind of camping you've done -- I used to think I would hate it, but if you do it right it can be a pretty amazing experience.
I dunno, growing up part of the reason I stayed up so late to begin with was because I was in bed reading...