skysight-inc/HackerNews huggingface dataset:
Correct, I was not using Numpy. I did not think of a good way to fit my program into a Numpy shaped solution. The main point is that I didn't NEED to try, as an almost literal translation to Julia worked much better. I also did not try using Numba, which I suspect would have given me similar results to Julia. I am a fan of Python overall, but sometimes you just need to choose a tool that gets the job done with the least mental effort expended on the tool. This was a one-time script that needed to be written, no maintenance was needed: I just needed an answer, and within a certain amount of time.
"Mostly drunk ramblings of a programmer and crypto enthusiast."

Maybe we shouldn't drink and "crypto"? :-)
I agree. I'd estimate I restart the REPL about three or four times a day while developing. My analysis runs are minutes or longer, so a few seconds spinning up Julia+packages just doesn't ammount to much.
The data isn't "dirty", it's perfectly accurate. You are just using it wrong. The test can give you an objective answer like "you have a 20% probability of having cancer".

But the system doesn't weigh the cost and Quality Adjusted Life Years of treatment vs not treatment, it just defaults to treatment. This is the problem that needs to be fixed, not eliminating collecting data.

And if the patients really are the problem, then don't show them the raw numbers. But having them is potentially useful. But maybe they should see the numbers, and maybe if they decide on treatment anyway that is their right to do so, and taking it away is wrong. Either way the problem is the system, not tests themselves.
But that's the point, once you think of indexes as distance things make much more sense.

The index is the distance from the first element. Thus, the third element is two elements away from the first, thus it has index 2.

I think the only reason zero-based indexing is not the standard everywhere is because some people (usually non-programmers) have a problem with the idea that the fifth element has index four.

I am suggesting that this is a linguistic problem that has messed up programming.
Which doesn't mean it's not a good test to rule out the tested condition if there are symptoms that might indicate the condition. Sometimes it's clinically valuable to rule out a condition, particularly if the appropriate treatment for another possible condition would be drifter if the tested-for condition might be present. There are people whose training makes them, in principle, the appropriate experts to decide when these tests are needed and worthwhile, they're called physicians.
“Interview with Deb Lloyd”
The world needs less Slack-fanboism.
Kodachrome.
The bilderbergers [1] now acknowledge their group's existence, though 25 years ago it was just a conspiracy theory. Little people don't know what to believe - when "authorities" are caught lying regularly, anything's possible.

[1] https://en.wikipedia.org/wiki/Bilderberg_Group
Yes, my argument is purely about habits. 1-based indexing is a potent trap for programmers who are used to implementing stuff in 0-based indexing world.
I was going to say "but there's RcppArmadillo!" But now I see there's RcppEigen, too. I'll have to check it out.
An obvious analog of the correspondence principle [1], usually stated in terms of QM and Newtonian physics, holds here. It's going to take more than "new physics" to change the behavior of sound in this rather-well-understood regime, it's going to take physics-breaking-physics.

There's a time and a place for "we may learn new things in the future". This is not that time. There's no room for "new physics" to be hiding here, short of postulating outright magic, which will probably have a great deal more applications in the world than salvaging something that was always frankly a silly idea anyhow.

I mean, why go to bat for this idea anyhow? It's not flying cars or FTL, it's an incredibly annoying, inferior way of doing something you probably do every day already, and you aren't sitting there going "Gosh, this is a really inconvenient way of charging my phone and there's nothing I can do about it", because there already is something you can do about it if you just can't stand wires. Inductive chargers work and are years-old off-the-shelf tech. I have a cousin-in-law that was involved in marketing them. (It doesn't "beam" the power, but, well, that's why it works. EM beaming certainly seems to be "less" impossible, but probably never practical for ambient personal electronic charging.) Even if this all worked as claimed it would still be yawn-worthy tech. Hardly a reason to resort to nuke-the-entire-philosophical-world arguments about our complete ignorance of everything everywhere ever.

[1]: https://en.wikipedia.org/wiki/Correspondence_principle
sounds kinda like SystemTap?
There are tons of things which you need an index for when iterating over an array. Do something different for every 4th element but then something else if it's 16th. Keep doing something for triplets of elements unless you run into specific index which is divisible by 7, then start taking them one by one. Iterate but go 5 elements back if you encounter something in some state.
There are a lot of algorithms which take advantage of array being an indexed data structure with an order and not just plain container without structure.

The problem doesn't just go away with for each style loops. Python added enumerate for this reason but it really is quite clumsy for anything more complicated (and you have to choose if it's indexing from 0 or 1 anyway).
OS/2 (ok, technically it does kinda-sorta still exist, but for all practical purposes it's dead)
With Python, is there an alternative for pexif.py to parse the orientation data for reorientating images? I used Thumbor in production for a while (which relies on Pexif) and found so many bugs in it that I had to make a hurried switch back to PHP.
This weekend learn to build this music app
Yup, and you can even spend $50 on AdWords and estimate your CAC by measuring conversion rates.
Of course, zero-based indexing is prone to error if you've grown up using natural language ordinals your whole life, and get business requirements based in them both of which are stunningly common of real developers and real development tasks.
There's also the Vactrain concept. Several variants were pursued from 1914 on, with Robert Salter of RAND writing a couple of proposals in the 1970s.

https://en.m.wikipedia.org/wiki/Vactrain

Salter, Robert M. (August 1972), The Very High Speed Transit System, RAND Corporation

https://www.rand.org/pubs/papers/P4874.html

Salter, Robert M. (February 1978), Trans-Planetary Subway Systems: A Burgeoning Capability, RAND Corporation

https://www.rand.org/pubs/papers/P6092.html
Well, I don't know if you got this fired off before I got https://news.ycombinator.com/item?id=11692983 out, but I certainly hadn't seen your post before mine, so, thanks for proving my point.
I can't tell, either.
What We Buy When We "Buy Now"
I am from Sunset Park, Brooklyn, which was mainly a Puerto Rican and Dominican neigborhood when grew up there in the 1970s. Custom cars were just that, custom! With painted hoods akin to the back panels of Levis Jeans jackets with rock star or salsa or gang pictures. I now live in East Java, Indonesia, and have traveled in the Philippines, Thailand, and Vietnam to name a few for the past 9 years as an expat.

The Philippines is certainly up there on the crowded spectacle meter of buses and other transport vehicles. I remember seeing three people standing on a bus bumper holding onto the roof as we drove behind over a bridge. The paint jobs, detailing, added hardware (bumpers!) was fun to look at. But one pothole, a loose grip and you are not showing up to work that day.

I am always amused by what seem like cross-cultural similarities to the colorful, blasting stereo vehicles in each location. I guess the colors are inspired by the tropical climates' flora, and other cultural influences.

Indonesia has its becaks or moto-becaks (bicycle or moto-powered rickshaws), but it is more conservative here with regards to transport both outside and in them, but people pile in.

Thailand has the tuk-tuk and motocabs.

I am stirred when seeing a family of 4 or 5 on a 125cc scooter here in Java. No helmets, kids sleeping on the back with their school knapsacks, and a kid standing in front, no eye protection or helmet, squinting at the road.

I have two older children back in the US, and a newborn girl here. I always have to adjust to car seats, and transportation in general when I return for a visit, and NYC traffic now looks so tame to me.
> having users is at least some sort of reward. When you have the revolutionary breakthrough, add that to the app

Actually this approach "MVP" works well with web applications, but it doesn't work too well with mobile apps. In fact, it's quite the opposite. With mobile apps, you have to make a big splash in your launch, get most things right, and just minor tweaks once you're launched.

The alternative approach is to launch your MVP in a small and/or isolated market (a non-US country), hash it out there, and once you have your approach all figured out and your "revolutionary breakthrough" working, then do your main release worldwide.
Echoing what many others on this thread have said - FinTech isn't just hard, it's insanely fucking hard. The technology piece is truly the easy part. Build the app, design a nice interface, and so on.

Then you have to deal with the banks, and yes, you absolutely must deal with the banks. There is simply no way around it. Anything having to do with money is heavily regulated and for good reason.

The first rule of creating a product that involves money is that people will look for ways to exploit it (read: fraud). There are many great FinTech startups out there right now wanting to do great things and the simple truth is that it is orders of magnitude harder than just about anything else. Barring, maybe, sending people to Mars or disrupting the car industry. :)
> I do think HN is not the right forum to link to individual comments and call out people for their behavior.

Fair enough, my problem is that the project continually looses what appear to be serious contributors to a toxic developer (admittedly all second hand to me; but there are public examples and some private reports I have; including the person who first showed me Julia years ago). For all that it is an interesting language with plenty of problems I would enjoy fixing and taking the initiative on I simply don't have a desire to want to contribute. Again mostly due to politics. Which just sort of makes me bitter you fail to acknowledge the problems.

Like why should I take lots of time (I'm fine doing hard things like reading undocumented code bases if it's worth it (large sections of the core compiler code due to it's lack of comments or documentation are hard to read)) to help you fix technical problems, when you have social problems that are noticeable to anyone paying close enough attention to the community.

Also, thanks for taking the time to listen to my rants. I'm just disappointed.
A small problem is a good thing if you have lots of people with similar problems, in which case your market can grow really large.
>> Warehouse workers, when pressed to meet order/put-away quotas, tend to put inventory in pick locations based on the product type, NOT where the warehouse management system directs them to

Have you got any source for this being a real problem ? Because it seems such things are easily detected at the packing station, by barcode. And if an employee does so often, he'll probably won't stay long.
For what it's worth I think it's important to bring up regardless of the snarkiness of his phrasing. There was a time when suggesting that at all would have sounded tinfoil-hatty, but now we need to consider it not just as a possibility but a completely plausible one. Yubi could make a whooooooooooooole pile of money doing this at the behest of, or encouraged by, government actors.
I'm not sure Beijing is the only true competitor to SV, but it definitely has the combination of educated and motivated young people, huge target market, low cost of living, and tons of floating investment money to do interesting things. As the author points out, Chinese startups are also much better positioned on the hardware front than their US counterparts because they can easily work directly with factories to produce just about anything with no language, cultural, or time barriers.
My personal strategy is to ignore all the good reviews. I already know why I'm interested in something. I want to know what other people think sucks about that something, and then I decide whether it is something that would bother me.

People are naturally more vocal about complaints, and if they have a serious gripe then they are far more likely to speak up in a negative review.

If they like something, that is basically meeting expectations and there is no urgency to seek resolution. So I expect a larger percentage of positive reviews to be shills, since nobody else will feel much need to post anything.

But if the negative reviews are things I don't care about (or are obvious douche reviews) that tells me a lot.
DC/OS[0] is a fast way to set up Mesos (via Terraform[1][2]) if you just want to kick the tires without having to learn a bunch of stuff.

Note: No relation to the DC/OS people, just a happy user.

[0] https://dcos.io/

[1] https://www.terraform.io/

[2] https://dcos.io/docs/1.7/administration/installing/cloud/pac...
There is always this alternative: don't have any variables to name!

(defun print-first-n-pos (n seq)
[(opip (take n)
(keep-if [orf zerop plusp])
(progn
(mapdo (op put-string `@1 `) @1)
(put-line)
@1)
(- n (length @1)))
seq])

$ txr -i first-n-pos.tl
1> (print-first-n-pos 4 '(-1 2 3 4 5 6))
2 3 4
1
2> (print-first-n-pos 5 '(-1 -2 3 4 -5 6))
3 4
3

Well, @1 is technically a variable. :)
Check out www.anywhere.com. No app needed.
In that case, you are one of the guys on whose shoulders much of what I have done stands. Thank you.
They don't pay any extra, since the license agreement actually has a maximum of $6.5 million per year. Well that was true through 2015 at least, I can't find a source for this year. http://www.zdnet.com/article/a-closer-look-at-the-costs-and-...
It depends on how 'hostility' is defined. It could mean 'non-civility', it could mean 'criticism'. Explicitly insisting on civility would have been better.
This is exactly why all of my off by one errors happen in zero-based indexing languages. I need 1-based languages for data analysis, and 0-based languages for working on instrumentation.
Yep: https://news.ycombinator.com/item?id=11692360 (40 points, 7 hours ago, 36 comments)
Wrong -- we could move the earth closer to the sun. Or make the sun burn hotter. Either way, totally possible.

/s ;)
This isn't really 'gaming' the system. It's good customer service. Even one Bad Amazon review can be death to a business on Amazon.

I think it's a little ridiculous that so much power is given to many buyers that only want to take out their anger on someone, even if it isn't really the fault of the seller.

I used to be an Amazon seller and quit because so many people would leave negative feedback over unrealistic expectations.

It seems to be the M.O. of the millennial generation.
calcsan never suggested anyone is lying. He said in each circumstance a different party is much more likely to be right.
To me, it is completely obvious that Professors hate the online education system. If they did believe in it, there would be a lot more interaction by the Professors in the classes they teach online. Instead most Professors allow themselves to treat it like a correspondence class, where they write up instructions and just expect students to learn on their own.

The day Professors actually start looking to engage with their students is the day that Online Education makes a complete turn for the better. There are little things that they could do such as recording a lecture by video or by just by audio.
I completely forgot about that exchange. I was about 90% sure that link was going to be a clip of Superman: The Animated Series when Clark first encounters Mr. Mxyzptlk. I can't find it on YouTube, but it goes like this:

Mr. Mxyzptlk: You, my friend, are the ultimate challenge! We're going to have very merry games, you and I!

Superman: A game has rules! Your stunts are just random idiocy!

Mr. Mxyzptlk: Okay, I'll give you a rule! If you can make me say, spell or otherwise reveal my name backwards and I'll split, until our dimensions come into alignment again in... oh, three months, give or take.

Superman: I can't even say your name forwards - how am I supposed to say it backwards?

Mr. Mxyzptlk: No, dope, you don't have to say it, you have to get me to say it!

Superman: Say what?

Mr. Mxyzptlk: Kltpzyxm! Gosh, you're thick! Now, for the last time... ah, nuts!
Reminds me of Moller and his flying car.[1] Moller has been announcing a flying car Real Soon Now since 1974.[2] It still doesn't work, although he's spent lots of money over four decades, and been in trouble with the SEC. This may be a record for the longest running scam. It's outlived Madoff and the Keely Motor.

Technically, the problem is that Moller is trying to do it with Wankel engines, rather than jet turbines. He has some very high power to weight Wankel engines, and at least briefly, he's been able to get the thing a few meters off the ground. But the Wankels can't maintain that power level for long. Jet turbines can, but they cost too much.

(Want a hard problem to work on? Build a small, cheap, reliable jet engine. Many people have tried. Willams got the furthest.[3] The general result is that, below 6-passenger bizjet size, smaller jet engines don't get much cheaper. Small jet engines have been built, but the price doesn't come down much if you want the reliability and life of an aircraft engine.)

[1] http://www.moller.com
[2] http://www.downside.com/scams/moller/
[3] http://www.williams-int.com/
Why do you think athletes are dumb?
Google Translate could become more accurate soon thanks to deep learning
Your link doesn't back up your conclusion.

US census for 2014 says we'll hit 400m by 2050:
https://www.census.gov/population/projections/data/national/...

Consisting of an increase of almost 50m native born; and 30m foreign born (between now and 2050).
Ask HN: Is Bay Area / SF good place for a 40 year old Programmer?
I am a 40 year old iOS programmer and work/life balance is important to me. I am looking for my next gig. I live in Los Angeles and thinking of moving out of the city to start something new.
Is Bay Area a good place to move at this age ?
Watch in the Cut Online Free Putlocker – Putlocker – Watch Movies Online Free
>> they be expecting 1-based indexing, they might not even know that that's a thing they have to think about

The truth of the matter is that this is not a point that anyone should ever mention as either a pro or con of any language. It's simply a fact that you're going to see one or the other, and it's useless to complain about which one is present in any given language. It's a one-time discovery as to which you're working with. People try to make it out to be a debilitating factor, when in reality it's a non-issue.
Yes, I think this counts as proof: https://twitter.com/Sc00bzT/status/731243916951994368

My win was legit, but there's no way for me to prove that. Well if this was a PR stunt then I should of @defcon or at least #defcon to get a larger audience, but in all reality I'm banned from PayPal and haven't used Bitcoin. Which is why I said I'll settle for a beer, but I should of asked for zcoin after it launches... shit now this is all a PR stunt for "Zooko money".

Anyway if anyone working at PayPal sees this and wants to hook me up by unbanning me that would be nice.
Fortran has the rather unusual feature that you can change the indexing to an arbitrary offset. You can declare arrays to be indexed from 0 if you want, but it defaults to 1 and almost nobody uses this feature for obvious reasons.
Web Project Management Workflow: Why Waterfall Is Bad
Yeah, I thought about this before I posted. I mean, they're not explicitly selected on intelligence, so you get the full spectrum of people. And there are a lot of dumb people in the world, which kind of gets cut off by the process of deciding who gets to be on TV, etc, unless you're also a good athlete.
Problem is whether patents can be enforced in the jurisdiction where the author lives.
If you have hundreds of thousands of files to categorize and put into folders, you will be subdividing forever. It's much easier to put everything in as few piles as possible and rely on searching and other methods. I think that was the intention of that comment.
Regarding the slowdown in development, perhaps it's a seasonal variation connected to GSoC. For example, notice a drop in postings since October in https://groups.google.com/forum/#!aboutgroup/julia-dev . This seems to be more or less consistent with the observation in http://www.davideaversa.it/2015/12/the-most-promising-langua..., but that's just a guess.
> Sadly I personally would accept their superiority.

It's not as if you'd have a choice in the matter, any more than neanderthals had a choice when we came along.
the article and most comments here are more about EH's VISION of empowering regular people for cheap and on-demand blood tests. but the major problems the regulatory bodies, medical practioners and diagnostics experts have are mostly about theranos' underlining TECHNOLOGY, its basic SCIENCES and daily lab PRACTICES. to this date none of these three has been established at theranos (non-peer-reviewed, non-core patents, criticized by cms & fda w/ banning threats). in short, it just does not work (yet?)

it's like someone always talk about building beautiful resorts or gigatic mining operations on Mars, but fails to develop rocket propulsion systems or space travelling vehicles. if there would be other someone to bring us to Mars, it must be elon musk.
Springnote was like evernote but automatically categorized things in a smarter way from the browser. I could add a page with an isbn and it would let me add it as a book with all the details looked up, not as a webpage.
Lol. I'm not repeating myself twice if you're not seeing the point.
"This person is a criminal. Next!"
I can't speak for others, but I see marketing as manipulation and I see manipulation as a dehumanizing act that robs humans of their own agency.
If Intuit is influential enough to suppress income tax reform, I have no doubt that the cacophony of financial institutions involved will do whatever it takes to ensure they can continue skimming their margins off the tops of their pieces of the machine.
Can We Make the Digital World Ethical
Of course, Frankenstein's creation wasn't the monster in that story, at least not at first. The monster was the human too wound up in his own bigotry and religiosity to accept the consequences of science on its own terms, Frankenstein himself.
I don't really get the difference. I'm in academia i guess (grad school) and use MATLAB a bunch, as well as Python (not a CS major). I don't think it's that much work to switch between the two, and I don't understand why there's such a division. Why is this such a huge deal?
It is true that it's not easy. But one's job as a founder is to find a way to "make it functional in the first week". They even have a whole startup jargon for it--"Lean startup/MVP". You can sit and just complain how difficult it is and not do anything about it, or you can find a way to validate your hypothesis little by little. Again, I know this is not easy, but the OP should at least realize the reason he failed was not because the world fucked him up, it was because he couldn't come up with a clever way to validate his vision despite the difficulty. The better approach in this case would have been to figure out a way to release an MVP without trying to rely on an assumption that the bank deal will go through. There could have been many approaches like others pointed out in this thread.
actually i for "index" ('ix'->'index x'), not "integer"