skysight-inc/HackerNews huggingface dataset:
I don't know what kind of citation would satisfy you. These debates still come up in e.g. the Lua (1-based) mailing list, and used to be everywhere.

Visual Basic had the "OPTION BASE" statement to select.[0] (Many other versions of basic did too)

APL also has the ⎕IO Index Origin setting [1]

If you want to see a lively debate, there's c2[2], and there's also Dijkstra[3]

[0] https://msdn.microsoft.com/en-us/library/aa266179%28v=vs.60%...

[1] https://en.wikipedia.org/wiki/APL_syntax_and_symbols

[2] http://c2.com/cgi/wiki?ZeroAndOneBasedIndexes

[3] http://www.cs.utexas.edu/users/EWD/ewd08xx/EWD831.PDF
Here's a nice analysis by a well-known security researcher in response to that article. He could not confirm the results.

https://systemoverlord.com/blog/2015/08/16/so-is-windows-10-...
You've been using HN primarily to post angry political rhetoric for a long time now. That's an abuse of HN, and we've asked you several times to stop. Instead, you've been breaking the guidelines ever more egregiously:

> to shit in the face of all the whiny little SF hipsters that think they are somehow morally better than the rest of society.

If you don't stop, we're going to ban your account. I don't want to do that, first because you've been a legit user apart from this (though 'this' has unfortunately become dominant), second because we try not to penalize unpopular views, which some of yours are in an HN context, and third because if we do so we'll immediately be accused of "abuse of power" and "silencing", which is annoying when in reality we bend over backwards not to do that. But if you keep posting uncivil, off-topic flamebait and conducting yourself in ways that you know are not ok here, we'll have no choice. The quality of the discourse is the #1 thing we have to protect, and you're lowering it badly.

This has nothing to do with your views. For example, it would have been easy to post a comment arguing for the social beneficence of the AM leak that omitted your wish to "shit in the face" of perceived enemies, if you'd wanted to. HN is not a vent for personal rage.
It's great to see a course to teach basic command line use, I tried this back when it was in beta and it was great. At the time I had also emailed their support team about some security concerns regarding the course and never heard back(I'm not infosec expert but I was surprised at a few things they allowed that would seem like security issues).
Hmm, I think it's easier than ever for the solo programmer. Production deployment is easier, research and knowledge sharing is easier, testing is easier, finding a third party library to help is easier...everything is easier. A good programmer can build a product from beginning to end very easily now.
I've tried Todoist, Wunderlist, Microsoft OneNote, Evernote, Google Keep, Apple Reminders and none of them coalesce into a nice simple personal task manager that keeps me happy.

I do have a Moto 360 and bark commands to that more often and I find that I keep going back to that to send me reminders. I believe it uses whatever is behind the reminders infrastructure in Google Inbox/Keep. Other than the fact that it sometimes has a hard time recognizing my voice it works well for the most part and I'm so busy that it is the simplest way for me to keep track of things in the moment.
I would love two nice for pair programming. Also for playing/making a first person shooter for two people where each player controls one arm/gun. A third player would control the legs and head. It would be amazing!
Ask HN: Teaching friends software/web development, should we sign a contract?
Hey HN,
I have a few questions and am in need of some guidance of what to do.

I'm a software engineer, and have recently offered some good friends the opportunity to be taught by me how to code.

Similar to many code bootcamps out there, I'm more than confident in my ability to teach them how to write good code and get to the point where they can work full time at an entry level position. Since they're trying to attain a higher paying job, they don't have money to pay up front and frankly I'd prefer not to take money up front. I offered them a deal where I would take 10% of their gross pay of their first year's salary paid over 1-2 years.

I also explained to them that I would teach them 5-10 hours per week, and the majority of the work would be done on their own time. I reiterated if they don't put in the work, they won't get to a professional level and it will be a waste of both of our time. I told them I would expect it to take 6 months of full time effort, but could be quicker or could take longer depending on their effort and intelligence. I told them there's no set schedule, but that they must meet a minimum threshold of work per week otherwise it won't be worth it for me or them.

However, if they don't land a job in the industry, they don't have to pay me. But that got me thinking, what if they get a job in the industry 1 year later, partially or mostly as a result of my effort and my work?

This was all verbal, so I think I'll need to draft a contract/agreement and sign it with them. But I've never done anything like this so I'm not sure what route to take. Would I be safe doing this myself? Could I use one that already exists? Should I contact a lawyer?

Those are my main concerns and questions right now, hopefully you guys can point me in the right direction. I just want to help my friends out and if it pays off for them I want to have my time pay off.

Thanks!!
You mean Ferguson and Shumow? http://rump2007.cr.yp.to/15-shumow.pdf
Java: Barry Cranford - https://twitter.com/bcrecworks

Ruby: Rhys Evans - https://twitter.com/rhysyevans

.NET: Adam Bolton - https://twitter.com/Adam__Bolton

Everything else - https://twitter.com/TeamPrimeLtd
”didn’t base their claim on nothing”

Actually, they didn’t claim anything, and only talked about unconfirmed reports (https://twitter.com/TorontoPolice/status/635816932474814464, http://www.cbc.ca/news/canada/toronto/ashley-madison-hack-2-...)
Actually clang has a static analyzer that is free and pretty usable.

Additionally, I religiously use `-Weverything -Werror` for C and specifically disable warnings I know to be false positives. People have told me that it is excessive, but I have found that it leads me to write dramatically more stable code in the long run.

Clang is also planning to add some additional options in the style of -fsanitize that will allow for compile-time checking and failure on detection of undefined behavior. That is a feature I am incredibly excited for! Having runtime-checks for UB is nice, but bloats the resulting executable quite a bit (not to mention the performance penalty). But having compile-time checks would be awesome; adds a little more work for me if I've been relying on UB, but makes the code better in the long run and doesn't affect run-time unless the change was necessary anyway.
Not sure what happened but it's showing less cards over time for me. I wonder if the back-end overhead is just too high to predict and deliver timely information to me.
AppFormix Is Hiring Engineers, Marketers, and Sales Rockstars
The law on cliff vesting 401k matches is that it has to happen in three years. If it were tied to your start date, then everyone would have to wait exactly three years. Since it's tied to calendar years, you only have to wait the full three if you start on January 1st. Even if you start on January 3rd, you come out a couple days ahead.
What do people think about wrapping a Natural Language Processing interface around the command line (for educational purposes)?

For example: "Show me all of my files, including my hidden ones" --> "ls -a".

Good idea or not?
Aren't the homes likely to be even less attractive to foreigners [normally eligible for Japanese visas] than to the Japanese people that have abandoned them?
It's only been in the most recent update to Google's mobile app that they started defaulting suggested voice queries into the search box. Before that, it's really challenging from a discoverability pov to figure out what exactly you can ask Google. And some things are just clumsy. Try asking it to call someone, for example, if you have multiple phone numbers for them.
Runs on Windows and Mac OS X as well, so it's a good cross-platform example. But there's no way to tell how much money it makes from each OS....
Show HN: Robot that copies artist's exact strokes to replicate a painting in 3D
Ashley from Sage Recruiting in Toronto (it's her company), @SageRecruting.
Well, the limitations for GIMP in Print work is obvious and already mentioned above, but also consider the fact that "Photoshop" looks far better on a designers resume than being an expert in GIMP.
I've placed orders to buy one of my favoured indices today (which should turn into an actual purchase on Wednesday), and I wish I had more cash to invest at the moment.
Can Cortana in Windows 10 do this?
Tech money drives San Francisco building boom, pushes others out
The advice about storing pointers in integers:

http://cpphints.com/hints/7

is poor. It points out that converting a pointer value to "unsigned long" so you can perform arithmetic on it is a bad idea -- which is perfectly correct. But it advises just using a different integer type, such as "uintptr_t". The correct solution is to use pointer arithmetic. Don't store pointers in integers, store pointers in pointers; that's what they're for.

I've sent a comment to the author.
I reposted so that people who don't surf HN on Sunday still get a chance to see.
A pointer points to the start of its pointee - i.e. the point "just before" its pointee. That's how derived-to-base casts work. That's also how you can have "one-past-the-end" pointers, which are actually "just after" the relevant array.

for example, if you have the following structs

typedef struct { void *key; } base;
typedef struct { base b; int misc; int data[2]; } derived;

then derived is laid out as follows

-----+------+---------+---------+---------+-----
... | base | derived | data[0] | data[1] | ...
-----+------+---------+---------+---------+-----
^ ^ ^
| | |
base derived.data &derived.data[2]
Eric Chahi's work on Another World immediately came to mind as a great solo achievement while reading this. This code review written a few years ago is very good: http://fabiensanglard.net/anotherWorld_code_review/
> Now it's people who have free time and few skills trying to make money on Mechanical Turk.

It just might be much much worse than that [0]. It seems that people sometimes discuss questionnaires with other study participants, and that sometimes the same people, while answering different questionnaires, will end up answering the same questions over and over again, if the questionnaires overlap (as they commonly do).

[0] http://www.culturalcognition.net/blog/2013/7/10/fooled-twice...
http://andrewgelman.com/2015/08/10/dan-kahan-doesnt-trust-th...
Firefox DevEdition 42: Wifi Debugging, Win10, Multiprocess, ReactJS Tools and More
SaaS in China – Subscription Software Behind the Firewall
Tradier.com is another one. They have an API for developers. It's not as mature as IB, but if you are looking to start/play with something with no/minimal initial investment check it out - https://developer.tradier.com

I know that instavest.com (YC company) is powered by them as well.
But at least home prices are back to bubble levels ... so there's that, right?
Is it worth trying to get in contact with a recruiter if I want to leave academia and enter industry in a data science position, or better to go it alone?
Aren't the homes likely to be even less attractive to foreigners

Hence the proposal to market them to non-mainstream foreigners, like artists looking for inexpensive retreats.
Indeed. I've had a number of pleasant experiences with recruiters, meeting me before interviews to drop hints, bringing me coffee, inviting me to vip beer tastings, etc. I feel extremely lucky to be in this line of work and I'm always very nice to the recruiters I meet.

The ones that spam my email with irrelevant 2-week contract postings 5000 miles away can fuck right off though.
IANAL, but Fair Use is a statutory exemption to copyright law only. Not CFAA.
Yeah, we have fixed quite a few bugs in the past week. We are pretty proud of the result, maybe give it another go!
Linking to a 2.3 GB file on HN is perhaps not the best move.
One Millennial's Letter to CNBC
Actually the way to maximize the time it takes to vest your 401k is to start just late enough in the year that you can't accumulate 1000 hours. Around mid-late July, if I remember correctly from the math I did when trying to figure this out for myself.
Very clever. Hope to see a mysql port someday.

There's a big argument going on in php-dev right now if php should do some basic, obvious injection protection. Of course that is controversial.
One of the maintainers already committed to flipping the switch on the mailing list. The reasoning given was that extension signing was a security feature and it is better to trust Mozilla than to trust an old add-on whose developer did not bother to update so that it could be signed.
The servers are all sandboxed and isolated to you as an individual learner. What problems did you find? Feel free to email me at artur@codecademy.com.
Since his son is 10 years old, he'll most likely enter the professional industry in ~10 years. Maybe Racket will be a popular language by then.
Also the TSP fees are much lower than even Vanguard.
Those are cool projects !

The abstract visual debugger is how I imagine people will be doing development in the future.
Real time, interactive manipulation of objects which represent parts of the program.

Have you considered applying it to a LISP language, like Clojure ?

I've played a bit with building an experimental lisp editor, which doesn't use textual editing, but graphical representation of the forms, pictograms and symbols for core function calls (like map, reduce, filter, sum, etc), 'slots' for function parameters/call arguments, etc.
And it doesn't force you to use your mouse, but allows fast keyboard navigation and various commands for slurping/barfing forms, vi-style.

Eventually, I thought, this should be built in 3D. But I didn't finish it as it was too much work, just played around with the idea.

The cool thing about doing it for Clojure, is that, like any lisp, it can be evaluated in real time and the results animated immediately without restarting the app.

Your visual debugger is making inroads into the same territory I think.

Would you like to explore this idea a bit further together ?
Awesome!

My 11 year old son submitted his first LudumDare Jam game this morning. It's a Javascript / HTML5 clicker/incremental game (think Cookie Clicker) built on a game engine I created. He's been getting so much better at coding all summer long. I had to help a lot at first, but now he's implementing everything on his own, and only comes to me when he can't hunt down a bug - which 99.9% of the time is a missing end-quote, ) or }

I'm not sure I want him to have a public website though with photos and an email address posted :/ I guess I'm not as trusting of... well... the entire world. Then again, maybe it's a good idea. I don't want him to leave the house at 18 and be surprised at how nasty the Internet can be.
I just landed a really great offer in NYC and a lot of it is because of Sarah Chimino at Andiamo (https://twitter.com/schimino). She always had a really positive attitude and I came away with it feeling like she was always going the extra mile for me.
You might have misread. He's wondering if you need Bootstrap when you're using Angular and suggesting that you don't. No where does he conflate the two.
Completely agree with all of your answers but would add a nitpicky option 4;

4) Self-manage a portfolio of 2-4 index funds across the spectrum of equities and bonds, starting with a standard allocation rate (80-95% equities, the remainder in bonds) and rebalancing yearly, while adjusting the rate as you approach retirement age.

This is slightly different than the options you mention (though largely the same formula). The reason you might do this is that it can be much cheaper than the other choices (except for 3) and requires not much more savvy than items 1 or 2.

Further, sometimes you get lucky with a 401k plan that will boost you into higher fund categories (Flagshipt etc) and thus lower fees at much lower investment points than an open market fund would require.
My mother-in-law, who grew up in a Midwestern city in the 40s-50s, recently mentioned it is much easier to get fresh produce today, than when she was young. For her, growing up, canned vegetables were the norm, fresh greens were a treat.

For my own parents it is the opposite. Around the same time, they lived in an exurb, fairly rural environment, and ate with the seasons. They live a suburban area now, and eat more canned goods now than they used to.

I was surprised to hear that eating processed foods was so common already 60-70 years ago.
Did Tim Cook Violate Regulation “Fair Disclosure”?
From the article:

> Speaking of the optimiser, rustc uses LLVM, which is industrial
> strength, and supports a lot of autovectorisation
What's really surprised me here is that I haven't seen Microsoft comment on any of the privacy concerns here at all.

They haven't even said they're going to fix the stuff you can't disable ( see http://arstechnica.com/information-technology/2015/08/even-w... ).

I'm worried that they're just going to ignore problems like this and in a few years, there will be no choice but to run this if you want to be able to run the latest versions of other software.
I highly recommend TD Ameritrade's Think or Swim platform.
Doesn't your Macbook already have a unix command line?
If you ever get acused of having illegal images on your PC, you can ask Microsoft to prove that you never had .jpg files in C:\Windows\Fonts.
> And don't some of the same companies store all their company documents, email etc. on Google Apps? Or on Dropbox?

Storing company confidential information on services not controlled by the company is explicitly forbidden at many large corporations. They run their own email servers (not Google Apps), and often ban & block things like Dropbox outright.
Any recruiter is only as good as his/her listings. Comparing recruiters is like comparing NYC brokers. They're pretty much all terrible (principle-agent problem, along with tending to be the type of person who had to resort to recruiting because they couldn't get a better job), only as good as their listings, and inherently work to your disadvantage by making you significantly more expensive to employers (recruiters charge employers ~20% of your first year's salary). Again, even if your recruiter has an awesome personality and makes you feel fuzzy inside, at the end of the day he/she is only as good as his/her listings.

A better post would be to evaluate companies so that we can bypass the recruiters, make our own educated unbiased decisions, and capture all of our market value.
Yep. A pointer is a memory range, but it supports a cast operation that allows you to change the pointer type, and therefore the end address. I think we agree, right? :)
Twitter shuts down accounts monitoring politicians' deleted tweets
Ask HN: Can a bill be introduced to stop HFT?
HFT is not trading. It is gambling. It has killed stock market.
You can turn off the nagging by uninstalling update kb3035583. Then hide the update so it doesn't helpfully install it again for you.
Has it actually been proven that this happens? Vague wording in a EULA isn't proof.
Are you sure you want the CISSP?

http://daveshackleford.com/?p=838
Aline Lerner! Former engineer. No bullshit.
http://blog.alinelerner.com/
I can't tell from the writeup, is the animation speed a reasonably accurate analog of how fast New Horizons passed Pluto?
FWIW, I am a professional coder, and find Eclipse bewildering.
I haven't gamed seriously in about 5 years, because I have been busy finishing up my undergraduate degree. Now that I've graduated and I'm employed I've started building a gaming rig, with hopes of getting back into the hobby. Now that I've read this I'm wondering if I should even bother. Perhaps I should focus on building my portfolio more. I find video games help me unwind so that I don't have a restless feeling when I'm focusing on what really matters. In adequate amounts I think video games are alright. I'm wondering what your threshold for "addiction" is though ...
That's always been the mystery of Twitter to me. The fact that it became a place where interesting people have (ostensibly) serious conversations is _incredible_ to me, given how amazingly ill-suited to that task it is. If it was just as successful but (only) full of people exhibiting drive-by "wit", it would make a lot more sense to me.
If you ran a pharma company and had a new drug which helped reversed alzheimer's, which methods would you use to promote it?
Target the patients, hospital admin, government officials?
Or would it make more sense to talk with people who are trained in that field and deal with the people who will be impacted the most?

Yes there are many cases of people being over-prescribed, and drugs being approved with debatable benefits, but communication between pharma and doctors can be very helpful. Given proper oversight of course.
I have a 2 year old, and we play Minecraft, and I'd say we've started with 'concepts' already.

Simple things, but things like make a switch that turns on and off a lamp or opens a door. Or simply building larger things out of smaller things.

I mean programming is really a matter of logic and composition. Something like "This switch will turn off all of the lights, but these switches will turn on and off individual lights." is a sort of "If (mainswitch is on) then {lights settings is the same as its switch} else {light is off}"

Apart from some pretty simple logic, it's really just composition. A turing machine is comprised of some really simple functions, and apart from that it's just a matter of understanding how to compose those into more complex ones, and understanding programming is just recognizing the processes of breaking down those complex compositions into simpler ones.
There are a lot of people who believe totally unreasonable things.

And yes, there are a ton of people who think that, for example, vaccines are deadly, and that they are being pushed by big pharma anyway because of profit motive.

No, it doesn't make any sense. That's not a prerequisite for being believed.
Arin's IPV4 Waiting List
An interesting article, which begs another question. Are the intestines of Japanese bigger compared to those of neighbouring Asians - the Chinese and the Koreans (from whom they apparently descended despite a reluctance to accept this fact) ? This should answer the question of whether it's the genetics at play or the diet itself.

Remember the American doctor mentioned Asian women and not Japanese. Statistically speaking there is a higher chance that the woman with long intestines happens to be Chinese. His comment also brings up another interesting question as to whether the lengths of male and female intestine are different. Why did he mention women specifically?
Does that apply to cancer? With cancer, it seems like a race to kill it before it kills you, and it's not generally something that can be managed as a chronic condition.
I'm having a problem smoothing the stepper motors with real time motion data. I was hoping someone on HN could point me in the right direction.
Show HN: Sequence.js (Version 2) – The responsive CSS animation framework