skysight-inc/HackerNews huggingface dataset:
But can I declare the local t in the function? And is the t in the function parameter local?
Hostages Are Held Inside Cafe in Australia, Police Say
yes, Khan Academy has lessons on a huge number of topics. no, nothing in the posted article has anything to do with "implying that [Khan Academy] will make you proficient at coding"
Hadley Wikham's work has made the R environment much more tolerable and interesting. Because of it, R can be a pleasure to work with.
I think it's a really hard question, I would change gender if a magician could do it with no ill effects. But I wouldn't consider myself transgender, and I think it would be unfair to count me or John as part of that group.

On the topic of gender I'm basically like John, just more open about it. But at some point in my life realized that I don't care enough about my gender that there's any point for me to put in any effort into this. There's just so many things that I would rather put energy into, like building nice things for people.

When there's a free text field for gender I fill in whimsical things like programmer or mathematician depending on context.
Thanks for the advice and that excerpt. As someone who is pretty career/productivity focused it's been difficult justifying doing something so 'frivolous'. I do feel like most of the people I've interacted with over the past couple years have been startup/tech people, so hopefully he's right that having some completely different experiences will pay off in intangible ways
That's just impure desomorphine though
And I submitted it back then: https://news.ycombinator.com/item?id=7192081
https://play.google.com/store/apps/details?id=net.supware.ti...
No, no it can't. I'm glad that it works for you, but for me the part of my brain that focuses on voices turns off the part of my brain that turns thoughts into code. It doesn't matter if they're talking to me or not, but I work at 10% focus if I can hear voices, even in my headphones (unless it's a song I know really well, or trance/metal where the voices are distorted)
jsbeautify and jshint configs seem to disagree on number of spaces.
Could you give an example of working with graphics as purely mathematical objects?
I think I still have some marketing materials for the National Aerospace Plane from the late 80s
But the track record for such a doctor will clearly see that they aren't tackling the difficult cases. Would a doctor want a high success rate if it comes with a reputation for only taking easy cases?

Even if the answer to the above question is Yes, the reduced number of doctors willing to tackle difficult cases will be able to charge higher fees. So at some point you would reach a market equilibrium where the desire to tackle easy cases is balanced by the desire to earn a higher income. That is, when compared to the current system the easy cases will become cheaper and the more difficult cases will become more expensive - but maybe that is an acceptable outcome if it means the system as a whole is more efficient?
A Parasitology of Sound
OCaml: Abandoning Async
I think nowadays you should just start with Python 3. The majority of the ecosystem is compatible with Python 3, now.

As soon as you have mastered the basics you can learn on how to write Python-3 code that is compatible with Python 2.7. There are some excellent tutorials for that on the net.
For new projects there is no need to start with Py27 and then port things to Py3, which is more difficult than writing Py27 compatible Python-3-code.
They pretend the air is precooled, not cooled after going through the engine.
I was hesitant to use ES6 because of how terrible Traceur's output is, but 6to5 looks really nice!
Could it have been something really stupid like a loose screw that would let vibrations get amplified into dangerous territory?
I'm pleased to see ongoing efforts to get data on these kinds of things.

@brighteyes: Indeed! Just treat people nicely goes a long, long way. Well said.

@jensnockert: IMHO, there are a lot more people not fitting exactly into the boxes than any of us realize. As I get to know more people well in my life, and they come to understand I'm not discriminatory in any way on these things, they say stuff. If the "no ill effects" path were reality, I sometimes wonder just what people would do and how many of them would do it.

And millenials appear to be past a lot of this, notably valuing people presenting as who they are honestly to a much higher degree than we've seen in the past.
Only the worst teachers failed to motivate math procedures. Granted, the curve may have been skewed to worst. :) But CCSS does not suggest a little professional development to get teachers to explain the "why" behind the procedures, it wants kids to invest a ton of time in proving procedures multiple ways before then, well, going ahead and mastering the procedure.

CCSS is untested (unless you count its imposition on 40+ states a test) so we'll have to wait and see if it moves the US up the meaningless PISA test rankings.
This is the kind of incident where heavily armed SWAT (or in countries without Posse Comitatus, SOF/military) should be used; not serving drug warrants routinely, crowd control at protests, etc.
That's odd - normally Python libraries tend to be simple to interact.

I wanted to stitch a few photos on friday and used Python w/ the Pillow library, and was once again impressed for easy and pleasurable the experience was (using mostly C and Go nowadays).
This is completely illegal.
You could use SNI and support the majority of clients.
Alternatively, bug the compiler writers to make their compiler recognise that portable version. That way, you don't have to maintain all those special code paths.

Getting the compiler writers to help you is easier if your project is significant, or if you use a portable version that a big open source project uses.
That is the part of the point I was making. I have no idea what that would look like. Maybe something like simple proofs from Number Theory or Abstract Algebra? I read up a little on Lisp family of languages on Wiki and they look vaguely close to being 100% purely mathematical, syntax-wise. I wonder what it's like doing graphics/objects(?) work in Lisp.
Of course the answer to 1 is 'YES!'. We're at or near the apex of a very large pyramid of species that in concert form the ecosystem that supports us. Without the pyramid the apex has nowhere to go except for going extinct itself. We need those 'lower' species a lot more than they need us.
> I want to jump to any file at any time regardless of where I am in the project instantly, can Sublime do it? And even if a project has 30-40k files, it must be fast and make me jump instantly

Yes, Sublime handles that smoothly. Do a linux tree clone, enter the directory, run "subl .", then ctrl+p (or cmd+p) and start typing whatever. It fuzzy-completes your typing and immediately displays your selection as a preview in the background as well.

Video here:
https://www.dropbox.com/s/wjc9k8ocwiukq5t/sublime-linux.mov?...

(note the percentage in the footer, it was indexing in background the files for code completion and other stuff, since I had just cloned it, but the file jumping still works smoothly).

I skimmed through your other videos, and I didn't instantly see anything that I couldn't do with a recent editor as well.
To reiterate, given that I apparently failed to communicate this well-

-The mobile space was essentially locked down by ARM. All of the OS', tools, and apps targeted ARM.

-Intel was on the outside looking in, so they starting giving away chips, offering their own engineering to bring Android (and other OS') to x86, and making it a compelling target for the makers.

-Intel x86 OS images for Android became available and production quality (originally only deployed in developing markets as essentially a beta). Intel x86 toolsets were available. Still, though, it didn't matter much because there was no market.

-So Intel gave away their chips. By the tens of millions. These chips are actually quite excellent (great performance, 64-bit, great graphics, low power consumption), but knowing that they were on the outside looking in, they gave them away.

The Android ecosystem now is one where x86 (and soon x86-64) is as supported as ARM is. There are tens of millions of x86 devices, and it's only accelerating. No one can ignore it.

Intel gave away chips because they were at a disadvantage, but they're quickly getting to a position where if they make a very compelling chip they no longer are sabotaged by being an outsider.
There's a 1440p monitor 32" Benq. About $600. VA.

Believe theres a 4k version of this also.
Yeah I use emacsclient as well, but I wanted to keep the description simple.
That would be incredibly foolish if he did.
Riffwave.js – HTML5 sound synthesis via PCM encoding
If you know the number of notes being played you can solve in polynomial time. You could run it with a few variations in the assumed number of notes.

The harmonic spectrum of each instrument will be extremely difficult to get, though, as each note can have a different waveform and will be affected by unknown non-linear effects in the instrument itself as well as in mixing (i.e. compression or distortion).
> Gender Dysphoria ... is most likely neurological in nature

As opposed to what?
Cheers Cheers Cheers Cheers
Companies don't pay overtime. Those numbers cited would never happen. Instead, employees would simply lose the freedoms they enjoy now to work hours that suit them or spend company time learning.

I was hourly once because my company was very conservative about labor laws. Finally reaching the rank that no longer required me to fill out timecards or justify project time was a big upgrade in my life style. Did I work an occasional Saturday? Sure, but I also left early on other days or worked from home. I couldn't do that when I was hourly.

I'm far from convinced that overtime rules would make anything better for tech workers.
Agreed -- Just looking for individual spikes in the harmonic spectrum is naive. However, I think even if you have a good idea of which instrument it is there are other factors involved which could make matching a generic instrument model more difficult (e.g. the player, the playing space, instrument variations, etc.). For instance with the french horn (it's what I know) there are sometimes drastic differences between players and instruments -- the most stark being possibly the vienna horn vs. the usual double horn.
Quite the opposite: It's eliminating lock-out, which is where Intel was in an ARM-only mobile world.

Intel has the most advanced fabs in the world, and the limits of their own devices has primarily been their concern about competing with themselves (which I'm sure is still the case. With each new chip they probably have internal negotiations about how to ensure it doesn't threaten their desktop and server chips). If Intel isn't disadvantaged in mobile, only a fool would count them out.
It says in the Wikipedia article that: "The key design feature for the Scimitar engines is the precooler, which is a heat exchanger that transfers the heat from the incoming air into the hydrogen fuel."
The module system shimming is kind of roundabout. 6to5 generates CommonJS, RequireJS converts CommonJS to AMD, and AMDclean converts that to "regular" JS.

RequireJS is really only good for AMD, but since AMD is rightfully dying in favor of CommonJS, I would use Webpack instead. There is some overhead compared to the AMDclean-ed version since it shims require(), though.
Do you know any Mach 5 planes?
EMMC is worth it, I have the ODroid U2 and am about to purchase the one at this link, and would not skip out on the EMMC for anything. SD card bottleneck is real.
Holiday in Malaysia 2014: Pangkor Island
The worst part of R is that array indices begin at 1, and trying to get an array at 0 will fail silently by returning 0. I've spent many a night trying to figure out why all my data is wrong because my_array[0] * frame$column is returning the wrong numbers.
"Technology and drugs have always existed in an easy symbiosis: the first thing ever bought and sold across the Internet was a bag of marijuana. In 1971 or 1972, students at Stanford University’s Artificial Intelligence Laboratory used ARPANET—the earliest iteration of the Internet—to arrange a marijuana deal with their counterparts at the Massachusetts Institute of Technology."

This is fantastic. Anyone know of an article that delves into this more? Assuming it's true, I'm surprised it isn't more widely known.
No not at all.

Coffeescript is a transpiler. It converts its own code directly into javascript code. This project converts its code to AST, not Python code itself. You can generate the Python code off from the AST, but it dosnt always imply the resulting Python code is runable.
I commented about using any drug entails some finite risk of bad effects. The apparently common belief that "designer drugs" shouldn't be "illegal" is certainly not supported by the article.

I can see your line of thinking: X has risks, X should not be done, thus make X illegal and X will not be done and the risk will no longer exist.

But that's not the way the world works. Making X illegal does not prevent X being done. Instead, it creates incentives try and find people doing X and put them through the criminal system. That introduces a whole separate set of risks. And making X illegal reduces the probability that problems created by X will be treated in time. Another set of risks. Etc.

The question you should be asking is: are the risks of X greater than the risks of making X illegal?
Yep also the type system is very unforgiving but probably by design.
A diverse system is more robust to threats of all kinds. The more species there are the more likely they are to survive a threat. Biodiversity is not vanity it is a strong defensive position to ensure long term survival.
My proposal costs the implementer just a few #if lines in one file. Your alternative costs much more people much more time, and the gain is then just... the implementer saves a few #ifs.
Psychological. Many early theories tended along the line that gender dysphoria was an extension of sexual fetishistic behaviour. We know now this to be very wrong, but there are still many who advocate for this position.
> the fact that sending humans vs sending robots isn't a zero sum game

only if we pretend there's infinite money available. if sending a single human being to mars/moon is so expensive that NASA isn't capable of doing anything else.. then it is a zero-sum game.

> The reality is also that we don't learn much science with practical benefits for the hundreds of millions to billions of dollars we spend on these probes.

It's unfair to compare one probe against sending a human. The moon landing cost $150 billion. Is a human more valuable than 100 or 500 of these probes?
Yes, there are several studies showing no differences in various task-based studies. There is also at least 1 MRI study I am aware of that didn't find sex-atypical differences, but did find a difference between the subjects and the cisgender controls.

However, and I repeat myself, as a whole - we now at around 30-40 studies most of which fall on the side of there being neurological differences in subjects with gender dysphoria. And in a few key areas we have replication of these findings too.

When you couple this together with long term treatment studies a picture starts to emerge - one of gender dysphoria being an intersex condition which response to hormone therapy and gender confirmation surgery. And most psychologists and endocrinologists now accept that when you take this approach, it is the most successful in producing happy and healthy patients.
The battle between R and NumPy reminds me of the competition between American and Japanese auto manufacturers. Did American car companies successfully play QA catchup in the past 10 years? Probably, and God knows they needed to. Meanwhile, Japanese car manufacturers were building on 35 years of QA excellence the whole time.

I would be far more excited about the possibilities created by a cornucopia of new stats/dataviz functionality built into Python than I would be about some packages that make R a bit less terrible to write.
Why, in good old Keynesian terms, did spending 4 % of the total budget on what could be described as a New Deal for engineering and scientists, was there supposedly so little ROI? That seems to be the argument from this article - we did not go back because it was too expensive. But if it brought more benefits than it cost, surely the expense is worth it?

I would have assumed economists would be all over NASA's accounts and the impact on the national debt?

It just seems a great natural experiment for spending as an economic influencer.
This was an excellent insightful post thank you
I gave up on R long ago. On python, pandas, numpy, scipy, scikit-learn and statsmodels are often enough to replace basic R functionality. In the case of needing an actual R package, I've found it's almost always worth the time to build a wrapper on rpy2, or use ipython notebook's rmagic extension.

On the note of building wrappers-- it's still a good idea to rpy2-wrap basic statistical tests and present in both ecosystems. The R functions are battle-tested and have been looked over by far more statisticians and mathematicians than their python counterparts (or so it seems).
I'm a fan of the following architecture:

DB <==> Business Logic <==> API <==> JS Services Layer (common functionality + api handling) <==> JS display logic <==> html/css

It forms a communication pipeline with very distinct layers, as opposed to a backend that mixes business logic with display logic instead of using an API. Many Frameworks implement this paradigm, and its fairly easy to roll by hand.

Model View View-Model works will on the frontend- your JS code can consider anything coming from the API to be a model, the services layer can transform it into the View Model, and the display logic updates the view.
Sydney siege: hostages held inside Martin Place cafe – live
Graphic Showing Affiliate Tools Blog Site Ping Software
NLP is definitely growing, and starting to transition from academic-orient to core business applications.
Best Online Resources for Entrepreneurs
No. In a Bitcoin transaction the fees are implies by in minus out. There's no way of knowing without a proof the value of a particular output, so if you accidentally spend one far below it's actual value you can end up paying an insane fee. People have lost hundred of Bitcoin due to bugs like this, like off by one errors. A malicious or misbehaving API could misstate the value and cause you to unknowingly lose money in this way if you blindly trust them.
I'm curious as to the distinction here. Can you explain? Either way sounds like something wired abnormally.

I don't think people necessarily choose their sexual fetishes either, though gender dysphoria strikes me as more of a compulsion than a sexual thing.
If this turns out to be true it would mean we live in a "logical" universe rather than a "causal" one which would be very surprising. That is a universe that strictly follows causation from one state to the next, vs a universe with no "starting state" and where any state in time can depend on both states in the "future" and "past" with cyclical relationships.

http://lesswrong.com/lw/fok/causal_universes/

>Our own universe does not appear to have Time-Turners, and does appear to have strictly local causality in which each variable can be computed strictly forward-in-time.

>And I don't know why that's the case; but it's a likely-looking hint for anyone wondering what sort of universes can be real in the first place.

>The collection of hypothetical mathematical thingies that can be described logically (in terms of relational rules with consistent solutions) looks vastly larger than the collection of causal universes with locally determined, acyclically ordered events. Most mathematical objects aren't like that. When you say, "We live in a causal universe", a universe that can be computed in-order using local and directional rules of determination, you're vastly narrowing down the possibilities relative to all of Math-space.

>So it's rather suggestive that we find ourselves in a causal universe rather than a logical universe...
How about if the medical procedure and preparation was better and the social consequences ere nil?

How is that different than saying "If I could have sex exclusively with men without being disowned by my family, I would, but it's just not that important to me?"

You're not alone.
By that logic most HLLs shouldn't have been made.

Remember - write once run many times. Implementing it in GCC / etc once means that many people won't have to do it themselves - especially as it's far more likely that one implementation will be bug-free than many people writing their own.
> And when drugs are legal, people do them less. Like in the Netherlands where marijuana use ranks far below America's. And other decriminalized countries.

> You HN libertarians are living in a dream world.

I've heard this kind of argument multiple times talking to people about legalization/decriminalization of drugs. I just assumed GP meant their comment that way.
The Government in New Zealand had an interesting response to this sort of thing. http://www.newscientist.com/article/dn23703-new-zealand-law-...

Seems like it might be the most effective idea, since, if there are legalized drugs, the majority of the drug oriented population is likely to stick to the safe, approved drugs, and, those who are inclined to push limits can easily go into research without fear of persecution.
The acrylic cases are backlit with blue LEDs...

This is just adorable. Now I feel less guilty about putting up LED lit fans in my computer.
People finding their 'waze' to once-hidden streets
After dating a transwoman, I came away with the strong opinion about what being transgender is from a biological/psychological point of view.

What I learned was - it boils down to is a missmatch between the software, and the wetware - the thing is, many people have this, many who are successful and happy in the body they have - but there are some, a minority of those afflicted who simply cannot deal with that missmatch - I don't know why they can't (up bringing, inability to extend beyond classic gender identity, something biological, not really sure) - but whatever the cause, they can't, and those are the folks that generally end up identifying as transgender, and going thru the process of transition to remove the discongruity between the hardware and software.

I don't (well try not to, I'm only human) place a value judgement on it, its about finding your own happy place where you can flower into a good person.
These rules are about hourly contractors, not equity-incented employees. You're comparing hourly to non-hourly. This is about hourly with overtime (tech writers) vs. hourly without overtime (engineers).
Those incidence numbers strike me as implausibly low. I happen to know two transpeople fairly well by completely random chance. One is good friend of my (now adult) kids, whose parents are also friends of mine who I met through work, the other is an adult child of my girlfriend.

Unless you hypothesize that for some reason I befriend people who have a vastly increased probability of having trans offspring, numbers like 1:10E4 give me a 1:200000 of being in this position. I would generously assume I know 25 people as well as I know these people, so the probability of finding two in that group who are trans would be 1E-4251E-4*24 = 0.000006. Tiny.

Now, in a world with a few billion adults in it there are going to be a few tens of thousands of people like me, who know more then one transperson from completely unrelated means, but it would be interesting to know if anyone else here does. I'm pretty sure people in my situation are not as rare as those numbers would indicate.