skysight-inc/HackerNews huggingface dataset:
Thanks that you liked my comment. Minor correction, its Shikhandi and she / he had valid grudge against Bhishma. I rather not tell that story lest I hog this entire thread but you can read about it here http://en.wikipedia.org/wiki/Shikhandi

Human shield you say, been done and at the suggestion of Krishna.

(sorry HN'ers, I am admittedly bit of a Maharabharat fanboy, please grin and bear)

Bhishma knew about the story so it was sort of self inflicted penance. This is what I find just marvelous about the Mahabharat no one can take a moral high ground. There is no holier than though stand to adopt and every single person got served, Krishna included.

EDIT

I would also take the opportunity to state that ubasu and tn13 are not wrong (framework of laws did exist and both sides did agree to follow them but when push came to shove ...), just that they are scrutinizing every word and projecting too much on the choice of words. The piece could have been worded better, written better but I dont see any evidence of bad faith or bad intentions in the article.
I'll quote one of my math professors: "At this level, nobody knows how to subtract!"
Yes authors should never be able to suggest reviewers. I always hated this as I knew the whole process was so corrupt. Not all journals ask for this, but it seems to have become more common.
Had to do a little digging to get from the article to the Github repos from last year and this year:

https://github.com/dariusk/NaNoGenMo

https://github.com/dariusk/NaNoGenMo-2014

Love 'generated detective': http://gregborenstein.com/comics/generated_detective/1/
It's frustrating. Many people want an interprocess subroutine call, and few OSs have the right primitives for it. (QNX does, and Windows sort of does, but the Linux/Unix world does not.) There's an endless collection of kludges so program A can call program B implemented on top of pipe/socket like mechanisms.

OpenRPC and CORBA are out of fashion. Google protocol buffers help, but don't come with a standard RPC mechanism. HTTP with JSON is easy to do but has high overhead. Then there's the handling of failure, the curse of callback-oriented systems. ("He said he'd call back. Why didn't he call back? Doesn't he like me any more? Should I dump him?")

The lack of a good, standardized interprocess call mechanism results in interprocess call logic appearing at the application level. At that level, it's intertwined with business logic and often botched.
Dear Nic, Should we log directly?
> "In any case: no, nobody has proposed mandatory minimums for CFAA crimes."

False.

http://volokh.com/2011/05/24/congress-considers-increasing-p...
Countdown to deleting the app. 3...(delete)

How foolish of them.
Forget Twitter. This hole needs to be plugged. As an app developer, I may now be able to identify where you bank. Step 1 to an effective phishing attempt.
Parsers are generally easy, I was thimking more about implementation stuff like: How can we pipe input from one protocol to another protocol on top of it? How to poll on a user-space protocol? How to integrate it with foreign event loops? If in user space, how to handle process termination if there's still data in tx queue? How to handle many different peers at once without having to create a separate thread for each of them? Et c.
I'm not sure whether to be heartened or concerned that the W3C is referencing the doge meme in its specifications... see Example 6.
I agree with what _you're_ saying, but I think tn13 is saying that they are violent because of the Koran.
Yet somehow AMD manages to consistently offer better hardware (wrt double floating point performance) for a lower price. I'm sure it's because the fine folks at AMD are silicon wizards and not because of NVIDIA's cozy monopoly position due to shrewd marketing of CUDA + their early-mover advantage in academic markets.
> There is a solution: parentheses without commas. I don't know why this works, but I'm glad it does.

It's worth mentioning that this is a somewhat controversial practice. Guido has even discussed removing C-style string literal concatenation:

http://lwn.net/Articles/551438/

You may wish to consult your project's style guide and linter settings before using it.
A lot of the standalone stores are franchises, where most of the mall locations are corporate. Big difference.
True they have a weak supply of Arduino stuff. Since its mostly open hardware they could probably source low cost kits instead of trying to gouge customers. I've been there recently and it took me all of 2 minutes to look through their entire inventory... Imagine an entire wall of different modules, sensors, servos, etc etc... that would get me in the store!
I've been dreaming of this since Datomic came out. I recommend it to our AWS account rep every chance I get.
The recent Cosmos remake has a good episode that touches on this. I think it's http://en.wikipedia.org/wiki/The_Immortals_%28Cosmos:_A_Spac...

One theory set forth is that earlier in Earth's history, while bacteria were first evolving meteors would periodically strike and extinguish life, but cast rocks with dormant bacteria into space that would later re-enter and re-seed the planet after the dust settled. First time I heard the idea but it's intriguing, and segues into the whole idea of panspermia.
Why Can’t I Get Any Good PR for My Startup?
I was grateful for the example of multilined strings, mysterious as it is. The lack of any way to do this has been an annoyance of mine for quite some time.
Don’t Carpet Bomb for Introductions
Sequoia Capital's Doug Leone on Luck and Taking Risks
Initially had XUbuntu (Ubuntu with XFCE), forgot what exactly happened, but one of the major upgrades (12.10 to 13.10) broke my system, didn't trust those major upgrades anymore, since then I read more about how Arch works and got used to rolling updates. It does require more tweaking to get it running, it forces to learn the "Arch way".

If you are just getting started with Linux then I would suggest to start off with Ubuntu or read up on different distro's. (If you are coming from Windows or Mac, all linux distro's will require some level of tinkering, they just vary on degree.)
That was my initial reading, too. Further searching for the CORTEX project revealed that it's probably an internal accounting system.
It's the holding company that bought KMart and then bought Sears which I'm thinking of as the mismanager (so to speak), actually. Sears had its share of issues pre-merger but they weren't in as bad shape before KMart bought them as they ended up afterward. It's my admittedly anecdotal impression that when someone ends up in a Sears these days it's probably to buy a Sears-specific brand. That could certainly be wrong. (A cynic might say that when someone ends up in a Sears these days it's probably because they took a wrong turn.)
This is the problem I have with the contrarian's position in all of these threads. As usual, the answer is somewhere in the middle.
Perl6 has it too

> perl6
> 3 < 4 < 5
True
352 with all options and limit 1000. Anyone do better? :)
The server is overwhelmed. Coral cache: http://spritesmods.com.nyud.net/?art=hddhack&page=1
I'm in SF and not leaving for the holidays.
Would be down for a coffee on Friday. Hit me up at dan at techendo dot com. :)
Very nice. but it should visualize repetition instead of printing "Repeat 1 or more times".
e.g. for "a+" it should be "a -> a*"
Or change the system.. Thanks Naval!
That's cute, but the result of a bad design decision.

Python overloads "+" as concatenate for strings. This also applies to lists. So

[1,2,3] + [4,5,6] yields [1,2,3,4,5,6]

This is cute, but not what you want for numerical work.

Then, viewing multiplication as repeated addition, Python gives us

[1,2,3]*4 yields [1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3]

This is rarely what was wanted.

Then there's numpy, which has its own array type, needed because Python's array math is slow. Numpy arrays have different semantics - add and multiply perform the usual numeric operations.
You can mix numpy arrays and built-in lists with "+" and "*". Mixed expressions are evaluated using numpy's semantics. Since Python doesn't have type checking, it's possible to pass the wrong kind of numeric array to a function and have it treated with the wrong semantics.

Moral: when designing your language, using "+" for concatenation is tempting, but generalizing that concept comes back to bite you.
I think IE status page lacks some kind of info (in status item details) You could make it more clear for devs whether some tech has your real attention or your message is "this is ok but don't invest you time in it - we will not implement this in next 30 yrs"
Are there any attempts out there to build a better open standard than FPGA? I'd be interested to look into them if there were.
coming soon...storm-as-a-service (built on clojure)
In Canada radioshack rebranded itself as "The Source". I used to pop into radioshack to find plugs, adapters, and the occasional electronics component. They stopped carrying those years ago and now, if I want anything like that, I either drive across town to a hobby shop or order online. Since "The Source" now seems to specialize in overpriced junk, I haven't set foot in one for years. This article makes me feel good about that decision. It would be better for ratshack's workers to be out of a job and then in a job that treats them as human beings.
Smart Pipe: IoT toilet pipe, bring your toilet to the social revolution
According to Uber, WRITE_SETTINGS is used for "We use this permission to save data and cache mapping vectors, which helps power our app in 45+ countries and make Uber the world's most reliable ride."

https://m.uber.com/android-permissions
From https://twitter.com/sama/status/530880914708897793

> whenever i hear VCs say "we will only meet people with a referral" i think "more opportunity for YC!".
I worked out of what might be the best-designed office space in America
> It's not all that different to the advantages of vertically integrating iTunes/iOS/Apple Ax-based hardware.

It's different due to the fact that Internet is a "utility" now in the same way gas, electricity and water are (isn't it considered a human right in the USA now?). An Apple iPhone is not in any way a utility, and its functionality can be made up, 1:1 (fanboyism aside, thank you) by another device. iTunes (the store) is not a utility, and its functionality can be made up, 1:1, by purchasing CDs or using Google Play / Spotify / Rdio. iTunes (the app) is not a utility for obvious reasons.

Yes Apple locks you into an ecosystem, however that ecosystem is not a fundamental "requirement" to function as a business. There's simply no replacement for the Internet and, in a lot of places, there's no replacement for $ISP.
Wacko in the Morning Thanksgiving Special with Regin Le Faye 11/27
Common Lisp (and other dialects):

(< a b c d) ;; T if a < b < c < d
(<= a b c d) ;; T if a < b < c < d

Also:

(lcm a b c d ...) ;; lowest common multiple

(+) -> 0
(+ a) -> a
(+ a b) -> a + b
(+ a b c) -> (a + b) + c

(*) -> 1
(* a) -> a
(* a b) -> a * b
(* a b c) -> (a * b) * c

Is it just syntactic sugar? (< a b c) evaluates a, b and c only once, which matters if they are expensive external function calls or have side effects.

(and (< (foo) (bar))
(< (bar) (baz)))

isn't the same as

(< (foo) (bar) (baz))

By the way, this could be turned into a short-circuiting operator: more semantic variation. Suppose < is allowed to control evaluation. Then an expression like (< a b c d) could avoid evaluating the c and d terms, if the a < b comparison fails.
"Whenever i hear VCs say “we will only meet people with a referral”"
So often an RPC mechanism is not what you really want in the end. You tend to be better off with a MOM-style interface.
If this Pycharm really had brains it would tell you that (2>3 and 2<7) reduces to (false and true), to false, at compile time, so the code wrapped in the if is unreachable.
0r ethics ;) and you are quite correct - look at the SnapChat users.
Then what would you have

[1,2,'q',[1,('a',2)]] + 4

yield? The reason why numpy lets you do math operation on each element in an array is because you can safely assume that each element is a number. You can assume absolutely nothing about the types of the elements in a list.
Leaving Mozilla – Robert Nyman
M-Pesa and Bitcoin are mirror images of each other
Like a tablet but on your skin
Like Demand Media? Would it be a bad thing for people to have free access to Wikipedia and Open Street Maps? They could always pay for Demand and GMaps if they wanted to.
"This is rarely what was wanted."

I don't know what else you would have expected...
Different strokes I guess. I've tried both ways and I've found this one pleasant for scanning down an expression.

I mean, it's kind of the SQL analogue to the

MyObject
.Child
.Grandchild
.ItsMethod(stuff)
.HeyThatReturnedAnotherObject()
.MoreObject(moreStuff)
But can any lisp dialect do:

a < b >= c

?
Surprised that nobody has mentioned BatteriesPlus. Checking their website, they have at least 586 stores selling batteries - cell phone, laptop, car, etc. - and light bulbs.

Focusing in those areas seems exactly what RadioShack could and should have been doing.
The tools are more valuable than raw performance, which can be bought with time and money.
Seems hoaxy to me. I reckon that kind of projection angles, and using sking instead of white projection canvas, would need a lot more juice than what you could store in a bracelet battery... Even if you could cram a projector into that size.
"TypeError: cannot add 'str' and 'int' objects."

Just because you can define semantics for nonsense doesn't mean you should.
very good project managment
So we now have

|&:|
|&mut:|
|:|

at declaration-site and an optional

move

at use-site, in addition to obfuscating

hashfn: |&String| -> uint

to either

<F>(hashfn: F) where F : FnMut(&String) -> uint
// "FnMut(&String) -> uint" is "syntactic sugar for "<'a> FnMut<(&'a String,), uint>"

or

hashfn: &mut FnMut(&String) -> uint

I really want to believe that this is a great success at the technical level, because from a UI point of view this is a disaster.
[Ask HN]How to get started with contributing to bio/astronomy software?
This question is coming from the standpoint of somebody who wants to contribute something meaningful using software development preferably in bioinformatics/computational genomics/astronomy. I wish to leverage my existing expertise (software development) into something that will make a difference and might also help in advancing the field.

Why did I choose these fields? Astronomy is something that has always held a fascination. The biology related fields because of two reasons

- I like working with data (true for astronomy also)

- I want to do something that helps improve human life

I am sorry if these sound pretty vague, and biology and astronomy are really different fields, but I hope you will understand the core of my question. Any suggestions on roadmap, study trails, strategies would be really appreciated.
I think syntactic sugar is vastly undervalued by programmers. Anything that lets me more naturally read & write code should lead to fewer bugs and more productive software development, as well as making programming more enjoyable.
I think if someone can hack my wallet from a public key we have bigger problems
Thanks for that. That's the way we feel as well. We don't have the need to be a huge company. We're quite happy with 20 people and grow slowly now with the right people.
I think there is a pervasive culture that investment is a game that is almost completely separate from actually executing. Like the killer pitch deck wins the money. Or the best elevator pitch. Or most persistent founder.

There are a lot of stories that validate this, so I can see why. However, these kind of narratives are terribly distracting for a company. It's trite stuff, but stick to the fundamentals.
This is something I do instead of writing a long if-else:

opt = {0: do_a,
1: do_b,
3: do_b,
4: do_c}
opt[option]()
I worked at CompUSA in the mid 90s... They basically suffered from the same problems, but flamed out more quickly because of their large big box format.

The hobbyist stuff at CompUSA (video cards, disk drives, tools, etc) were just a way to get you in to potentially buy a PC.

What's the issue? These stores survived by selling big ticket items like computers and cellular phones at high margin, and upselling people into accessories, service plans, etc. A TRS-80 sold for the equivalent of $1500 2014 dollars, sold at a 25% margin and generated sales of all sorts of other crap. A bag cell phone in 1990 was $1200, and carriers paid substantial commissions for the contract life.

By 2004 when this dude worked there, the PC market tanked for retailers as PC prices imploded and margins shrunk. So they were stuck with selling toys and other stuff. The Nextel craze and smartphone revolution propped them up a bit, but the market for phones is about as saturated as you can get -- my local supermarket sells crappy droids for $40.
We make those things optional. We're at the moment on Koh Samui with 6 people, while the majority of the team is still in Barcelona and a few others at random other places.

Everyone should do what they think is right for them in their current situation. We just want to give options :-)
I understand your point. I am having some rethinking about my style of writing too :)
I enjoyed it Steve. Shared a lot of the same early experiences I think. Tape drives!
I don't know. It should only develop cyclical force (back and forth - but pushing against nothing).

I'm not 100% sure this thing actually is real, I'm just going by the description in the wired magazine, plus reconciling it with the statement that it doesn't violate Newton's laws.
Scored 47232 before giving up...

For those who are still struggling with mental arithmetic, or kids just learning, this seems like it would be a great way to practice --- there is a a certain addictive quality to it, like "flappy bird".
I find this really encouraging, as 8 to 10 years ago, I used a Markov-chain type strategy to complete a novel for me when I didn't have time to enter NaNoWriMo. I did a combined corpus approach with Project Gutenberg copies of Sense and Sensibilities and Thuva, Queen of Mars. Jane Austen is far more interesting when there's a sword fight every page.
Depends on the project. We've clients ranging from tiny startups up to huge multinational companies. So we usually adapt to their preferred processes with some recommendations from our side.
Yours comment have added the great value to a discussion for which I thanks you.
Why not? Mozart did the same thing (http://sunsite.univie.ac.at/Mozart/dice/)
Enterprise Mobility Adoption
Sorry that was unclear, I meant no menu bar and no drag bar with minimize and close buttons; my terminal window goes from the top of my screen to the bottom. I realize I can use a DE that lets me do that, but my preferred DE on linux atm is xfce itself. If there is a way to configure roxterm to not have a drag bar from inside the program, I have not found it.
> It's probably worth having a DNS failover strategy for Route53 (if that's what you're using) that doesn't involve the UI on console.aws.amazon.com.

Which is one of the reasons I setup https://dns-api.com/ - A way of updating Route53 DNS via git hooks.
Do you have money? Come up with a marketing strategy and then just pay people to do the stuff you don't like. Getting people to write blog articles, manage your Twitter/FB page or reach out to bloggers doesn't need to cost that much.
Temperatures on the exterior of the rocket reached as high as 115.4 degrees Celsius during liftoff and 128.3 degrees Celsius during atmospheric reentry

Doesn't that re-entry temperature seem way too low? I get that its probably a rear-facing surface, but still...
I think I did answer the question. I don't think that users should be billed for Internet access based on what they use, and I don't think that carriers should be able to play favorites when it comes to content providers. However, given that the wireless industry in many third-world countries works this way, and given that the WMF is unlikely to change either business practices or telecom policy in these countries, I would much rather see the WMF work within the system and try to provide free resources to people then refuse to participate on principle.

There's a huge practical benefit to Wikimedia Zero - people who have very limited access to information resources can get these great resources for free. Balanced against that, I just don't see how not participating benefits anybody, except, perhaps, by letting some people in San Francisco and Cambridge, MA feel good about standing up for an abstract principle.
I was using stock Ubuntu...I think it was around V10 back then? I also ran BackTrack on it for my security class. It was dual booted to win 7. The nVidia graphics drivers were proprietary and had to be installed separately, but otherwise everything seemed to work fine.
I work with python full time, and the last (#10 string chaining) is one of the few times the syntax had caused me grief, due to missed commas in what were supposed to be tuples of strings. The chaining rules are one of the few sources of apparent ambiguity in the syntax, especially when you include the multiline versions.
>No, Because it closes out competition to newer, better information.

But that would only make sense if Wikipedia created some sort of insurmountable barrier for newer, better information. It doesn't. Newer, better information can reach people through Wikipedia with just as much ease (provided it fits Wiki's publishing standards) as it would through any other platform.

For all intents and purposes, Wikipedia and other similar open and free general knowledge sources can (and perhaps should) be regarded as a public good. We don't complain that the government's monopoly on building public roads closes out competition to 'newer, better roads'. We recognize that these roads are vital public infrastructure. Platforms like Wikipedia should be no different.
We've only spoken with people in SF and NYC, because that is where our US network reaches into. However, developers there are too expensive for us (at the moment), so it doesn't make much sense.

That said, we've noticed that many people care much more about the freedom and flexibility we over, rather than having a huge salary, as long as the base salary is fair.

With the bonus we want to encourage everyone to think and act like a co-founder. Take responsibility and action where needed instead of just ignoring problems until the shit hits the fan.
Ken Thompson is the top trending developer on GitHub
Funny you say that, I had a friend who owned a 8-10 mall stores (panera-like cafés), most with one developer who was considered the "prime" mall company in the region.

He had two stores that due to mall expansion and re configurations just died. He operated both at a serious loss for several years -- at one point the mall was fining him for not making money! It killed his cash flow, but He couldn't pull out without losing his good leases. Ultimately, he was saved when a big box store bought out his lease.
There's no general number. It depends on the clients. We have huge companies that pay very well, but we also like to work with startups on interesting projects. If we're really interested in a project we usually try to figure out a way to make it work for everyone.
From a tweet by Rob Pike:

> Ken Thompson is the top trending developer on github, which he's never used.

https://twitter.com/rob_pike/status/537840401793568768
Partner with someone who loves marketing and believes in your product idea.
So last month I was in US for the first time and I was dying to walk into a RadioShack, the temple of cool things as I have been hearing about on obscure and popular electronics hobby forums since I was 16. After checking out 6 stores in 4 cities, I was really disappointed. No cool stuff. All I could find was phone cases, cheap earphones and a few IC's(mildly interesting). To be honest, I didn't know what I was expecting but certainly not what I saw.