skysight-inc/HackerNews huggingface dataset:
I know it's Hacker News and there are likely to be more such users than average, and probably just enough to be worth worrying about.

But maybe they (kogir, dang, whomever) can add ?cols=n as a parameter or something so they can adjust it to their heart's content. Most of us have room for 80 characters and plenty to spare.
I had elevated liver enzymes (i.e. signs of liver damage) for two annual physicals in a row. My doctor tested me for all the usual culprits including all types of hepatitis and everything came back negative.

She then asked me if I took a daily multivitamin. I told her I did and she told me to stop taking it. That was 12 years ago and I have not had elevated liver enzymes since. According to my doctor, people that get enough vitamins and minerals through their diet can actually overdose on the sledgehammer of vitamins in a typical Centrum-style multivitamin. This can then cause liver damage which shows up in an ALT/AST blood test.

I think it's prudent to only take vitamins for which you know you are deficient either because of dietary restrictions or through actual testing. For example, my vitamin d level gets low in the winter time so I take vitamin d3 for that.
> Should I never say anything

Well if you can't understand why your phrasing turns a positive idea into making somebody feel bad, probably.

> Which attitude is that? Optimism?

A version of it, yes. The "if you don't find it easy you are the problem" attitude.
I think NYC has better public transport like London - making commuting feasible.

eg I work a 500m from St Pauls on the banks of the Thames but I don't live in the City its self.
Debugging...

log "Var x =" x
I guess it marks me out as an old person that I find Bill Gates to be a hilarious example of a non-bully.
Same in Italy, but many people here buy fresh milk, and I guess the same is true in Germany. It lasts only 3/4 days but is only treated with light pasteurization that leaves most nutrients unaltered.
I've never read any programming books or taken any classes, I've just read a lot of code written by others and also written some myself. Here's my advice after 15 years of reading both brilliant and shitty JS code:

a) Don't use anonymous functions ... You want your program to be easy to understand, so come up with a name for the function and put it as a sub-function at the bottom of the current function.

b) I love the Nodejs implementation of modules and I would say it's the main reason behind Nodejs success. But it doesn't make sense in the HTTP world. Imagine having to download 100 dependency files each time you visit a webpage.

c) I have a keyboard macro for " + + ". So if you don't save an extra keystroke, what's the deal? It might be useful if you have nasty habits like building HTML or SQL by concatenating strings though. (don't do that).

d) Just declare your variables at the top of the function and stop worrying about scope, (while listening to Bobby McFerrin.)

e) I can somewhat agree here. But where it's really needed you should make a copy or clone function. And if it's not really needed you shouldn't. Makes you write less complicated code because of laziness.

f) Give it a name!

function Car() {var car = this;}

Or if you don't want people to understand your code:

var that = this;

g) You are probably trying to make your function do too much! If you Do want to have one function to rule them all, pass an object to it.

h) It's possible to make async code intuitive. Stop using anonymous functions will help a lot! But it's not That easy. Promises is just another (ineffective; it just threats the symptoms) paradigm to reason with async code.

i) We don't need classes. The prototype already work great. It might be hard to learn but once you understand it's brilliant! (I don't blame you if you never will, it's hard to learn an old dog to sit).

I encourage you to use the paradigms you believe in, and also to try different solutions, and think outside the box. But don't force certain paradigms by changing the language itself. One exception being Node.js where you are forced into making modules. (but some people are stubborn and use Browserify to circumvent it).
Berlin Subway Station Signage
That's exactly why most FP articles and tutorials around the net didn't help me, but Dan Grossman's "programming languages" coursera course did.

If (when) I ever learn enough to talk about why OCaml is better in detail, it will be with concrete examples not buzzword bingo :)
Indeed. You can get a pretty decent 1-bedroom for under 2k/mo, in one of the better neighborhoods of Manhattan.
I grew up in the Bay Area and that sounds about right. To live comfortably while raising a family in a South Bay suburb you pretty much need both parents making six figure salaries.
No we aren't. Consider this: your company could be producing more products than it currently is. You have tons of ideas but not enough resources to do them all. With PPP, the cost of a developer now becomes just attracting and onboarding them. What are the chances a given project will succeed? They are less than 30%. So, the expected value of this strategy vs paying for the developer is positive, especially if you don't have the $ to spend on all kinds of projects and see what works.

So you can certainly justify it for projects that you wouldn't have otherwise undertaken. The projects that you have to develop for sure, are another story. And then there is everything in between. This is just a great way to structure those deals fairly and align incentives instead of trying to optimize your own share. If the project fails, then you lost nothing. If the project succeeds -- and the developer is more incentivized that it will -- then you get a partner with whom you are both interested in increasing the revenue.

We've done it with our apps and have been happy with the results. It works especially well with startups without a huge budget, but a platform and technology that can be used by many people. We've actually open sourced our platform, and in the future plan to do an entire accelerator program around this concept. In our situation we have a few more things:

* We have a clause that if the developer leaves and we spend X amount (at our discretion) on the app, then 30% of X is coming out of the money due to them, with the proviso that they won't ever get less than 10% in any given month. And of course they get 30% only if they launch version 1.0 of the product, and complete all the deliverables.

* We have a quarter million monthly active users, so the developer is interested in working with us vs stealing our idea and going solo. Because if they launch through us and we handle all the QA, production, launch etc. then we can get their app a big userbase from day 1. They are as happy as we are to give 30% to Apple for taking care of all the sales, fulfillment, credit card processing etc.
How does losing pigmentation help? Darker skin would absorb more sunlight.
Perhaps you're confusing the private key of a wallet for an actual bitcoin. The private key of a wallet is just a sequence of bits which can be copied essentially cost-free, but the bitcoins the wallet contains are scarce, and cannot be copied at all (assuming the soundness of the crypto Bitcoin uses). Apart from new coins created from mining, each Bitcoin transaction is a zero-sum transaction.

Anyone with a copy of the private key of a wallet can transfer all the bitcoins from that wallet to a different wallet, i.e. a wallet that only they control.
Ask HN: Headless broswers – use cases?
what might be interesting use cases for headless browsers like Ghost or PhantonJS, except for running tests?
MongoDB v3.0 Storage Engine Shootout
> (And sure, some of these philosophers don't always know as much about the physics as they should, but their ignorance in this respect is usually nothing in comparison to modern physicists' ignorance of philosophy.)

I realize you're just debate-baiting, but this isn't anywhere near a symmetric situation. For the philosopher physics is a bridge to reality, it's a source of invaluable information. I've seen no evidence philosophy has anything to offer the physicist that's of equal importance.
After seeing two of your posts I genuinely can't tell if you are joking or don't understand crypto-currencies.
You could just as easily hypothesize that there are components in broccoli that are unhealthy. The science isn't the hypothesis, it's the experimentation. Without experimental evidence you just have a guess, and in this case you can prefer the one "from nature" without evidence to suggest one or the other is correct. This is exactly the "appeal to nature" fallacy. You really need to compare cancer incidence in different populations to get a full idea.

> the "appeal to nature" argument here would be that there is something fundamentally irreducible or non-replicable in broccoli that we just can't reproduce in a lab, because nature

This is a huge strawman.
But not open-ended liability that's the point of a Joint Stock company you might ante up some capital but not so much as to bankrupt you.
From the announcement:

"during the DDOS two separate trades spiraled out of control either due to a bug or an exploit and transferred a very large number of small Bitcoin transactions to Ambiorx's account."

Note "either due to a bug or an exploit". Then:

"Ambiorx used the fraudulently obtained Bitcoins..."

If the cause was a bug in your own code, that's not fraudulent is it? Isn't that the exchange's fault? That line seems to assume exploitation, when they already said it was possible it was a bug.
"Heh, but that doesn't work either..."

Well, the point of my original comment may have become obscured, I'm not sure.

It was that HtDP is not so much a book about Racket/Lisp/Scheme, as it is a book that aims primarily to impart sound fundamentals for the design of computer programs, regardless of the language used. And as I wrote previously, that becomes quite apparent by the end of Part 1, when the "design recipe" has seen its second major restatement.

By the way, I am only familiar with the 2nd edition of HtDP. I can't really comment on the 1st edition, and it's possible that it gives a different impression.
You don't have to. Some other people doing so might find out something useful along the way.
Broccoli (5 cups), peanuts (1.5 cups), and milk (3 cups) will give you 100% of recommended intake for known nutrients/minerals/vitamins.

So too will eating a good balance of meat, vegetables, legumes, and fruit (except iodine).
If you have a Python CRUD app, there are many steps you should take to speed up the app before parallelizing queries.

The first couple that come to mind:

- Caching. The 90-10 rule applies to most CRUD apps. Use varnish to get rid of some requests before they hit your webserver or make a redis/memcache LRU layer to prevent queries from hitting your database.

- Shifting more work away from Python to the database. A surprising number of apps don't do pagination properly.

For example, if you want to show the top 10 X objects for each item Y, you don't need to get X * Y rows. You can use a window function to get the top 10 for each Y can get 10 * Y rows instead.

- Using PyPy if you can. It's a free performance boost, in most cases.

- Smarter indexing. Postgres's partial indexes are really powerful.

- Intermediate caches. If you have common GROUP BY queries, a materialized view could go a long way.

- If you reallllllly need it, you can Cython and rewrite slow parts of your app in C.

My point is - parallelizing queries should be one of your last steps in speeding up your app. It adds a lot of complexity sometimes and there's a lot of cheap easy optimizations out there.
Okay, if we didn't report vacation days, how would it stop me from taking 3 months of vacation and using the time to work on my startup?
Since we basically live indoors these days, sunlight (the historical source mentioned by others) is less viable. There were historical solutions for that- for example, the Inuits who live in the dim far north, bundled in furs:

Vitamins A and D are present in the oils and livers of cold-water fishes and mammals. Vitamin C is obtained through sources such as caribou liver, kelp, whale skin, and seal brain; because these foods are typically eaten raw or frozen, the vitamin C they contain, which would be destroyed by cooking, is instead preserved.

But that doesn't fit into a modern Western diet.
I have, for data-flow analysis software.

Haskell gets used in the oddest places, where one of two things is true:

1. Nothing else works (with reasonable LOC *and* performance)
2. The safety of an advanced type system is required

I'm not optimistic about Haskell appearing anywhere else for the time being, so I think it will stay an "exotic" language for awhile longer.
Also, I've found that modern smart-phone microphones are better than than my ears.
Do people in those countries typically eat whole wheat or "enriched" white flour? Fortification of white flour attempts to replace the nutrition that was stripped away by processing, with only partial success. Whole wheat is rarely fortified with anything since it doesn't need it.
How far has development come with the Mill CPU?

This video[1] mentions that "nothing with pins on the bottom" has been made yet.

[1] https://www.youtube.com/watch?v=QGw-cy0ylCc#t=13
Why don't I put caching on my threaded app and leave it at that? Async gets me nothing.
High-end consumer motherboards often include 2 integrated NICs. Over the last decade I've owned four and had one of the NICs fail after 2-3 years on every single motherboard. Glad to know it's endemic, and Danpat's explanation is fascinating.
I see this viewpoint expressed way too often on HN by people who should know better. Mortgages are not all upside. See http://www.nytimes.com/interactive/2014/upshot/buy-rent-calc...
But the NYC subway renders that far less important. I have always worked in Manhattan, and never lived there. The level to which the subways open up the city cannot be underestimated (but investment in the subways can, and is, always undervalued)
Why should any disease be cured if not to extend the life and quality of life of the person suffering it?
Architecture of FPGAs and CPLDs: A Tutorial [pdf]
Burglary traditional implies physical entry of a perpetrator into physical building or space. I assume it would not apply to "breaking into" a computer or network in most modern legal systems. Regardless, this would almost certainly be considered larceny, as well as computer fraud.
Before giving doors and toasters sentience, decide what we're comfortable with
I've been hearing about it for years but it's still vaporware AFAICT.
These "gotcha" optimizations are infuriating. Whether or not they're legal under the C standard, real-world _programmer_ mental computational models don't include a zero-length memset magically deleting NULL checks before and after the memset call. These optimizations are compiler bugs and need to be fixed.

Not everything the standard permits is in fact a good idea.
Which is why I only use credit cards.
Take it from me in the UK It's not hard to fire some one "for cause" don't believe all you read in the Daily Mail.

And the NHS helps flexibility as there is no down side to working for a start up if you or your family have health issues.

IR 35 really hit contractors hard in the It industry so you cant do most IT contracts as a personal company - you have to go for an Umbrella company
Sadly, if you live someplace like Canada or Finland the quest for sunlight in the winter is pretty difficult. I found that i do much better taking vitamin D supplements, in terms of mental state and reduction of symptoms like tingling limbs at night.
Like mine here? https://www.youtube.com/watch?v=XUy8lELWhJg&t=50s

When people at work angrily insisted that these were not true holograms because you can't make opaque objects, I sat down and drew opaque objects. This was around ?1996? Instructions from published paper: sect. 3.3.1 http://amasci.com/amateur/hand1.html#331
> there are ways of speeding up your app that don't involve touching the Python side (caching using Redis, denormalizing, etc), but they are a lot harder to implement than asynchronous I/O. Why give up on some free performance for many types of applications?

1) I can't say I find migrating blocking code to non-blocking code trivial. The bad thing about it is that you never know what you left behind. Blocking code doesn't tell you when it's blocking your event loop.

2) Async helps apps use less memory by doing away with thread overhead in connections, but is otherwise suboptimal (hinders latency) under higher cpu load scenarios. It never was a way of getting additional "free performance" for your app.
It's possible with a small bank.
Why not? Aging is just one more of the imperfections of nature that we are trying to fix.

To give an example:

The fact that it might be impossible to "fix" aging is no reason to not fight against it. Just like the conservation of energy law and the 2nd law of thermodynamics are no reason for us not to try to inch closer and closer to the theoretical limits of efficiency in clean energy production.
Also it doesn't get cold so it is a lot easier to live outside than it is in NYC.

Just reminds me of people sleeping in their cars in Silicon Valley. I still absolutely cannot believe that people do it, but to each their own I suppose...
Card fraud was a huge problem in Europe/Russia/Asia etc, but less so in the US (probably related to US's dependency on credit and "credit history"). The internet was taking off and magnified this problem exponentially. To counter this the card companies decided they needed more security in all/most markets outside of the US.

In the "Amazon" type of model, Amazon collects card details and more or less keeps it on file. When a customer wants to buy something, the card companies and Amazon's bank more or less trust that Amazon will keep fraud to a minimum by looking at usage patterns, doing proper card authorizations etc.

They allowed this in the US, but decided to forbid this model more or less everywhere else. Everybody else had to start using 3DSecure.

With 3DSecure the purchaser's bank gets a say in each and every transaction. So you've now got Amazon, Amazon's bank, the customers AND the customer's bank. So when a purchase gets done, the card companies now demands that the customers bank (who know their customers) guarantees that it is the actual customer who is at the other end. The customer's bank can decide not to do any checks, but then if there IS fraud, that's the customer's bank's problem.

So most customer's bank require that the customer - at the time of purchase - identifies himself. Very often this is done by throwing the customer back to the customer's web-based banking solution (which already has identification procedures in place), or something similar, where the customer's bank can authenticate the customer (with passwords/2-factor etc).

The technical details of how 3DSecure actually works sucks bigtime. At least when it was launched it involved using encryption and signing xml-based documents. To make this work those documents had to be "normalized" etc - a huge mess.

Because of the mess, there probably is very little competition in implementing solutions for 3DSecure. Which again is probably why most 3DSecure feels like a throwback into the "Web 1.0" area, with the customer being thrown back and forth between the store and his own bank, typically with a user interface reminiscent of the "CGI" area.

Another consequence is that the US have had a huge advantage (and probably still do) when it comes to everything related to internet e-commerce, simply because the card companies and banks do not allow deviations from 3DSecure anywhere (mostly) but the US.
the odds are hilariously against ycombinator picking 716 startups and having those companies end up with a combined valuation of $30 billion, an average of $41 million, including only current rounds that have already closed.[1]

but it's a fact, and statistically relevant.

if you have an allergy to hilarious facts, you probably should stop learning about startups, because there is a lot more where that came from.

[1] http://blog.ycombinator.com/yc-portfolio-stats
Does anyone know of a good open-source alternative to IDA Pro? I really like the idea of this plugin but don't really like developing plugins for closed software.
How do I sell my business? (Fitness/Workout app with an audience)
I'm trying to sell my app, but I have no idea who to contact or sell to. Ideally I would like to find a buyer building something cool in the workout space that could take my users, revenue, and engagement and parlay that into an immediate audience for their product.

$1250/mo revenue
2000 downloads/mo
150,000 iOS app opens /mo.

I don't have time to work on this app, and I don't want to do a disservice to the users by doing no development over the next year.

If you or someone you know has a fitness/workout startup that could be interested, let me know.

I've listed on flippa, but I could sell outside of flippa if that's easier. Is there somewhere else I should list the app? Should I be contacting individuals directly? I'm lost and could use guidance.

https://flippa.com/3856691-ios-app-with-2-000-downloads-mo-making-1-242-mohealth-and-fitness
NASA code than startup technical-debt code

I have a friend who ported then maintained critical software at NASA about almost decade ago. He said that introducing source control was viewed as "a radical idea" at the time. Also, management seemed to go with superstition and "truthiness" as far as making decisions. "If it ain't broke, don't fix it" was the management mantra.

(I would reveal the piece of software he was working on, but that would easily reveal his identity.)
I don't think it's true that "Googlers generally don't like Go". Some like it, and some don't. From my vantage point, the majority (maybe 80% or so) who have actually tried to do real with in Go seem to like it.
That's in interesting viewpoint, but I didn't see that expressed in the article. It did describe the people involved going on to do other things, but it did not show that they were actually influential. As I pointed out, the original title didn't claim that Big Data had its roots in Cybersyn.
Since it wasn't immediately clear to me how the percentages were pulled from the smartctl output, I'll note that "Perc_Rated_Life_Used" is the relevant readout.

(Some online sources mention "Wear_Leveling_Count", and even misreport that as a percentage – but in fact that seems to be an absolute count of the number of times each single block has been rewritten. The percentage is presumably this Wear_Leveling_Count divided by the rated number of cycles.)
Haskell for all: Purify code using free monads
Agreed.
I could not care less what happens to these individual exchanges. But the long term damage to the industry as a whole is troublesome.

We can't keep arguing against regulation while allowing this to happen by not self regulating.
this is good advice, thank you!
Salary isn't related to some abstract "value" of a job
The huge caveat to that is that most option contracts require an outlay of cash at exercise time and RSU's typically don't.

If that exercise point is at an IPO or other exit event, it is largely irrelevant because the deal itself will typically finance the conversion of the options to stock. If you quit or get fired on the other hand, you are on the hook for the money to exercise the options. That is on top of your lowered salary and your vesting time period, in order to get any value out of the options you have to give the company you are leaving for one reason or another, real actual cash.
I used it for logging into my bank's crappy web interface and dumping my financial data as csv. It required javascript and has no api available.

This was so I could convert the data from multiple accounts to http://www.ledger-cli.org/ format automatically.