skysight-inc/HackerNews huggingface dataset:
I'd like a service that allows me to write internet-connected scripts that can be scheduled or executed on demand via webhooks. I have a bunch of things I want to do (like monitor a site for example) without messing around with servers.

To take it even further these scripts can come with their own store (just a simple key-value will do the trick), exposed over an API with a private key.
> Sure, but to access a private class, I'd typically need to message the class to obtain an instance

Apple is also (and probably most) worried about you messing with objects borrowed from/exposed by Cocoa, so looking for calls to [Class alloc] is not enough.

> I could obsfucate my access of the class, but equally I could obsfucate obtaining the selector.

The problem is that after compilation every call is obfuscated. Compilation throws away types, so all you're left with is tons of identical function calls with generic pointers pointing to `isa` structures that aren't definitive at compile time. I imagine this is really hard to statically analyze, especially that you can easily "launder" origin of objects by passing them through containers like NSArray, notifications, etc.
I don't know that batching the alerts would solve the problem, I want to be able to ping these services to determine unread counts at that point in time. I'm, of course, just assuming that these are available via API from the services I use.
The way you've asked this it will lead people to think you're asking for very powerful static checking. If you instead just want runtime assurances then the typical (Haskell) method is a "smart constructor".

For instance:

-- exporting only the type Positive, the extractor `getInt`, and the
-- smart constructor `pint` ensures constraint safety.
module Positive (Positive (getInt), pint) where

newtype Positive = Positive { getInt :: Int }

-- creation of Positive types ensures that constraint
pint :: Int -> Maybe Positive
pint i | i > 0 = Just i
| otherwise = Nothing

Now if you want that `ensure` line to be checked every time the Positive type gets modified... well, hopefully you're not leaving it up to the compiler to do that naïvely as you'll waste a lot of checks.

A similar method can be done with the ambulance type, though I don't think modeling the world like that in functional types is a good design.
> Spending lots of time on Facebook looking at pictures of friends could make women insecure about their body image, research suggests.

http://i.imgur.com/8xmRqKM.png

Extra extra! Read all about it! Hot off the press!
Responding to Joseph's comment here since I can't reply directly for some reason. Re Dev Bootcamps: I applied to and interviewed with a bunch of them about 6 months ago.

Didn't even hear back from gSchool. Didn't get into App Academy (it was almost as if you already needed to know how to code to get in). Didn't get into Hacker School. Couldn't move to SF for Hack Reactor.

At this point, I'm not sure I'm willing to put up the majority of my remaining savings when I'm not even sure I'm fit to be a developer.
Heartboned: Why Google needs to reclaim Android updates
If you don't mind, can you give me a rundown about what it's all about?
Take a look at ATS then! My understanding from playing around with it is it is trying to be C with dependent types.
You can create multiple calendars but they are always associated with a user's google account. You don't want Stripe for calendars, but rather Balanced for calendars. A whitelabel calendar API where you user's dont have to sign up for another service in order to use yours. Correct?
Check out http://idebate.org/debatabase I knew it as debatepedia a while ago. Choose a topic and click on a subtopic. The old version had a argument map style debates. There is already a mention of argument maps in one of the comments which is another great tool.
Does Sprig or Spoonrocket or the other alternatives not deliver healthy food? I believe they have a vegetarian option.
CreepFace.com – Facial Recognition for Online Dating
I was listening to NPR a few months ago and they actually had a bit on tracking Twitter for gang activity and the ethics behind scanning twitter. Here's a link to the story [1]. One of the products they outline is called BlueJay [2] and scans for key words and locations. I guess NPR isn't popular among gang members or they would probably stop.

[1] http://www.npr.org/blogs/alltechconsidered/2014/02/28/284131...

[2] http://brightplanet.com/bluejay/
Tesla has promised the ability to swap out battery packs in the future. So, after 8 years the Model S should hold very good resale value because at that time you could probably swap in a 120+kwh battery (that goes 400+ miles). 30k residual value after 8 years on a well-options S 85kwh sounds about right IMO.
Sounds like squidoo, but I don't think anyone uses them anymore.
Model S battery packs can be upgraded in a few minutes at robotic service stations...
It seems to me the truth of corruption versus petition is if the politician sells their vote for cash or actually listens to the merits and makes a decision.

Now that is hard to judge from the outside, but that is the real difference.

I suspect many people believe those in power now are mostly selling their vote for cash not making decisions based on the merit and just happening to side with those giving piles of cash because they heard those people give explanations of why favoring them was a good move for the country.
You claim to disagree with my premise, but you did not address the premise of my statement.

I did not say it was unreasonable to "gain a sense of the uniquely different cultural attitudes and priorities that are prevalent in a society".

Based on your analysis, I think you have misinterpreted both the intent and premise of my comment.

What I actually said was precisely what I did say: that you should not be quick to publicly espouse these generalizations that you have anecdotally observed. To a general audience of people who do not know you, the words that you write on here are the only basis we have on which to understand you as a person, short of getting to know you personally.

Perhaps you have never been on the receiving end of a racial stereotype or generalization, even an "innocent" one. Even if the comments are not made with malicious intent, and believe me I know the OP had absolutely no malicious intent at all, stereotypes can and do make some people uncomfortable to hear.

Why is that? Well, there are lots of reasons. If for nothing else, it makes the member of the group in question the "Other". If only for a brief moment in time the individual ceases to exist; their racial characteristics are being now being discussed, rationalized, and analyzed by the others in the room.

I really just wanted to give my honest advice to a nice guy (the OP), that it would be wise to avoid allowing this sort of discussion be associated with him as a person, unintentionally immortalized by the internet.
Why can't the government just send me a bill? If they're able to detect that I've slighted them, they sure as hell have a reasonable idea of what I owe.
Net present value is a way of measuring future flows of money and comparing them to each other. For instance, which is worth more:

- Getting $100 now

- Getting $200 3 years from now

The answer is, "it depends on your assumptions about interest rates".

In the blog poster's spreadsheet, the "net" line is the cost of owning that car in that year in that year's dollars. The PV is the cost of owning that car in that year in THIS year's dollars (a figure obviously depending on assumptions about interest rates). The NPV line is the cost of owning that car for 8 years in this year's dollars.
Right, but that would mean that mogenator could change the names of the class methods (or add additional ones) without having to worry that Apple would adopt them in a later update and thus render the whole exercise moot.
You're not the one making a copy when you're just accepting the software to run.
Marxism isn't working and here are the reasons why:

http://hawaii.edu/powerkills/20TH.HTM
(inserts tongue firmly in cheek) I think there would be more money for a site that helps you argue your position from available data, the truth be damned.

I'm thinking "How to Lie With Statistics"[1] as a service - tell it you want to, say, show that guns are becoming safer, or that higher taxation causes obesity, and it will produce a nicely manipulated graph containing only real figures from readily available datasets, ready for feeding to a journalist.

[1] http://en.wikipedia.org/wiki/How_to_Lie_with_Statistics
One of the biggest reasons isn't just the licensing and individual system, but the supporting systems and processes: certification and accreditation processes for security, ability to only pay for one year at a time due to legalities of budget constraints, and items such as mandated ediscovery systems that are tied to the OS and systems architecture they are designed for using. It takes a great deal of experience, planning, and foresight to decouple services and make removal and swap out of key pieces open and even possible to change out. Add to that active defaults by vendors that encourages lock-in as well as the failure to draw in expertise that would survive in such an environment, equates to mediocrity in IT.
The underlying idea is that a dollar today is worth more to you than a dollar tomorrow (all else equal).

The NPV is how much a thing is worth/costs now after taking that into account and discounting future cashflows appropriately.
Well there is a HN front page story just now about Puppet moving to Clojure ;).

(And Chef is part Erlang...)

That being said, my point wasn't that there are no software outside of Rails, that would have been quite a claim, but rather than Ruby is much more defined by Rails than Python is defined by Django, which is why migration which alway be much more difficult on this side of the animal kingdom.
I love this idea.

I don't think most people -myself included- would be able to accept the rational arguments. (There is probably research showing that people's beliefs become more entrenched if you show them evidence to debunk or otherwise convert them).

Using gun control as an example. I have a position. I'm in a discussion with soomeone. I think I'll use evidence to persuade them, so I visit your site. I find that the argument pretty much demolishes my point. I thus ignore your site on that occasion, complaining about bias and lack of use of the site hy right-headed people, and I add my tedious arguments to my discussion.

Or I find that the argument supports my position, in whichcase your sote is brilliant and the Internet is a marvel so I post a link, which the person I am talking to ignores.

But it is still a great idea and you're right that some subjects (abortion; gay marriage; drug control; gun control; Israel / Palestine; circumcision; etc) get discussed a lot, with repetitive and circular and eventually boring arguments.

Seeing how well, or poorly, Wikipedia has handled hot-button topics points out some difficulties of finding "accuracy" when people are not rationally calm headed.

It would be great to see it though.
You're not understanding the point of the rebate. Part of the purpose of the rebate is to finance car companies selling viable electric cars so that they can later on down the road make more affordable cars.
The statement that electric motors have fewer moving parts so they last substantially longer is a fallacy that electric car proponents have been spreading for years. There are still many, moving parts which require servicing and can fail at a rate of similarly serviced gas engines. In fact servicing (rewinding) is quite a labor intensive and expensive operation, given the price of copper or other conductive material used in the construction of electric motor.

Should a motor fail. The cost is significant.

I like the idea of an electric car, but the truth is the motors do fail. They require maintenance in the static environment of a factory or they will fail, a car on the open road with harsh environmental factors it will be hard on them.

But the biggest lie about electric car maintenance is that is lower. Its not. 90% of a vehicle's maintenance has nothing to do with its motor. It's tires, brakes, lighting, lubricants(yes electric motors need oil changes too), and power systems. Which I suspect will be more extensive here since there will be countless OS upgrades to both the drive systems and the power control units.

Its not possible at this time to compare gas engine maintenance w/ electric motor maintenance because its not apples to apples. You can however look at replacement cost as an indication of serviceability. A 400hp electric motor costs about $24,000 vs. a 400hp gas engine at about $6000.

The gas engine is still far more economical at this point even factoring in fuel costs.
Part of the problem is that many people can't own an electric vehicle because neither their apartment/condo or work has a place to charge it.

You basically have to be a home owner in order to own an electric vehicle.

That's not an easy situation to solve either.
It sounds a bit like an execution issue to me. Do you have any code samples, resume, etc. you could share?
It is certainly not backwards compatibility. Every internal review of Microsoft systems within the government indicates they upgrade whenever possible, even to the detriment of keeping versions that "just work". That is one of the frustrating things about succcesses in deployment of open source: a mindset that still wants to put out the latest version due to features and "coolness" instead of patching and keeping stability that would ultimately save money.
How Washington and Its Allies, Uses Social Media
To help some understand why the Model S could be "cheaper" to own vs a Honda Odyssey it's important to understand a few factors:

1. Low fuel costs - electricity is way cheaper than gas and when you factor in gas savings over 8 years, you get substantial savings (ie., $20k over 8 years if driving 15k miles a year, of course depends on gas prices and electricity prices).

2. Low maintenance costs - there's no oil changes, timing belt, etc. It's basically tires. Even brakes you don't need to change often because of regenerative braking.

3. High residual value due to upgradeability - the battery pack is swappable, so after 8 years (or longer) you can swap out battery packs to a bigger pack (ie., 400+ mile range). This is a great feature and will add residual value to the Model S. Also, over-the-air updates keeps the software always up to date.

4. High residual value due to battery pack - the battery pack for the Model S is holding up well with customers so far, and after 8 years it should show minimal degradation (ie., 10-15% likely, max 20%). In other words, the battery will still hold substantial value and when a person buys a 8-year-old Model S in the future, they are not only buying the car but they are buying the battery pack (ie., fuel savings) as well. This is why the residual value of a Model S (or another EV with a large battery pack) will be substantially higher than a comparable ICE car.
Depressingly accurate portrayal of hiring in a large company. Also hilarious.
Until it's a burden for your and/or you can't live out of it.
>I knew nothing about tripcodes until now, thank you. Won't it be a drag to have to type in a tripcode each time you want to post something? Isn't it better to allow having a username and password, but hash whatever is displayed as an identifier on the screen to preserve anonymity?

Yes and no, you could just say that the tripcode is a password, and then the user wouldn't even have to type the username :)

Also you can save it to localstorage or something, so that the user has to type it only once.

>On spam, it's not anonymity that leads to spam. You get spam on sites that have username/passwords too, like HN. You can fight it in the usual ways any site fights spam.

I agree, let me say that differently: such a site would have a very low barrier to entry, easily exploitable by bots. Just type in your post, eventually a name/password/tripcode/however you call it, and press the publish button. Easier that the usual register, confirm valid email, publish.

>(A note for HN moderators: your algorithm for detecting spam links automatically deletes a new post from a new user.)

Are you using tor? Because I remember reading that if you create a new account on tor you have to wait two weeks before your account is allowed to post.
I'm not taking a side (really!), but there's a lot to be said for keeping open source projects strong on their own without injecting cash. Cash coming in creates a disincentive to develop without cash and promotes a reliance on paid services rather than a mentality of contributing back. Also, when it comes to many projects, the organization that offers services around them has a negative incentive to contribute clear, quality code.
Crowd-funded stowaway to deploy 104 tiny satellites
I don't understand how the '14 model S is "AWD equivalent".
Thanks to the OP for this link. I just found out why USSR didn't invade Romania (a long time subject of speculation in Romania). We were poor, communists enough, defenseless and not much of a threat. This is so funny when I remember how many naive Romanians thought our army had some "secret weapon " :D (actually we had, it was based on the beans served regularly to the soldiers :D).
oh cool, pre-crime. worked for tom cruise, why not poor people in disadvantaged communities?
Think of a small project and build it. If you think that part of it could be improved then take the time to rewrite it.

Ask people to review the code and give you feedback.

Web development requires practice, there's no way around it.

There is a tipping point between looking for work and having your inbox filled with people begging you to work for them. It doesn't take long to get there if you work hard and build up your portfolio. Consider joining a startup for the summer, they will usually pay you and you'll get a ton of experience. There are far more businesses than there are developers, and they all need good developers.

If you can't figure out what you want to do with your life then consider joining the Navy, I'm serious, you'll learn more than you could ever imagine and will have an impressive resume and skill-set afterwards. I say the Navy specifically because it seems like they focus on technology more than other branches. I'm also assuming that you are in the US, if not, then ignore this paragraph.

Rather than applying for dozens of jobs (spray and pray?) you should craft your resume to a couple specific positions that you really want and that you think you'll have a good shot of getting, then build a simple demo to show the hiring managers. Read up on the companies you apply for and make sure they know that you want to work for them in particular and show them how you will create value for their organization.

More importantly you need to think outside-the-box when trying to find a place to work. Spamming your resume to potential employers you found on job sites won't work because thousands of people, many of which are more qualified than yourself, will also see those job listings.

From my experience all it takes is one thing to make you stand out to an employer, you'll have to figure out that one thing for yourself. I got lucky and found mine early.
What you have here is a fairly atypical fuel engine lifetime that you are treating as typical.
You should also keep in mind that most of those companies expect applicants to practice that kind of puzzles/code challenges before. A couple of years ago, I was also in a similar state-of-mind with you, but when I get to know people who got good developer jobs at top companies, they all suggested me to study code challenges/puzzles that can be found online. So imho, you should do more research on what type of questions people get to asked in the companies you are looking for, and just practice.
What about ruggedness? Up here in (eastern) Canada we have stretches of weeks even months where the temp doesn't go above ... 10F? 15F? (-10 to -15 C) and frequently goes down to -20C or lower (below zero F). How does this affect battery range? Also I don't live in a big city, so who in the hell do I call when there's something wrong with my Tesla and how long do I wait?
Agreeing with everyone here. He has definitely overstepped the line and he is not acting like a true CTO. Part of his job is to ensure he instills a high level of trust and support with the team in addition to the rest of his role. Assuming you're an overall good guy, he should do what he can to ensure you stay as part of the company you helped build, be it bad code or not. And if things are not working out, at least provide the path of what you need to do to make it better as the clause. But either way, it sounds like he's just being an ass with an ego.
Travis (who forked my model to create the cash flow model) and I chatted about this. It's primarily due to the effect of time value on money, when you finance the car. If you were to purchase the car outright, you would want to use the 1st tab; vs. financing, the 2nd tab.
Can't I just add the destination of a McDonalds or something to my route in Google Maps? I don't see the need for this?
TLDR:

Tesla P85 $44,948

Honda Odyssey $56,094
> fewer moving parts

I think auto makers use this to distract potential buyers from what's really going to be replaced: the battery.

Just like laptop batteries, the charge life of the car battery is going to decrease with time.

Tesla did have this on their website, but the link this is quoted from is broken:

"A Battery Replacement Option will be available for purchase soon. The option allows you to pre-purchase a new battery to be installed after eight years for a fixed price: $8,000 for 40 kWh batteries, $10,000 for 60 kWh batteries, and $12,000 for 85 kWh batteries."

http://www.teslamotors.com/it_IT/forum/forums/battery-replac...
Haha, thanks for pointing that out. I'll play around with it after dinner and try to find something less annoying.
I've done the same thing but at this point I've probably sent out job email inquiries in the 1000's ( plus I'm in my later 30's ). The narrative of someone being a nobody to super-hero is nice but keep in mind those stories have a tendency to blur reality. In short, you don't hear about the failures, the grit, the work and the more human costs of getting out of a bad situation.

My advice is not to let your mind get locked into thinking that you must 'be a dev'. What you need to do is continue to develop your skill palette and explore what exists for that palette.
You might end up doing things that use your programming abilities daily of which is not a 'dev' role. Currently I'm doing some work where I research something technical and then do tutorial videos for it. I'm barley getting by but this is an area I'm kind of good at because I know what it feels like to know absolutely nothing hence I try and explain things as simply and as 'to-the-root' as possible.

If you like making things with computers you're always going to do it. The question is how to bend your own interests to fit with the economic order in a manner where you're on the beneficiary end of it.

I'll leave by encouraging you to check a book called "Mastery" by Robert Greene.
perhaps the GTM series has some bad titles; i haven't read them all. but it has some good titles, and from the description original poster's background, it's probably as far as the person wants to stretch right now. sure, the cambridge advanced math series might be more "quality," but those also tend to be both very focused (in terms of specificity of the topic) and very dense (in terms of delivering a lot of results with almost zero fluff).