skysight-inc/HackerNews huggingface dataset:
I find the whole focus on abstraction as a solution to flexibility very troublesome. Taking the declaration for a C++ function and whacking an abstract interface only goes a small way to making the system more flexible. All your interacting components still depend intimately on each other's behavior. The behavior is not fully captured by the interface - if it was, it wouldn't be an interface, it would be an implementation. So abstractions leak by their very nature, and the success of our attempt to enable flexibility through those interfaces depends completely on how well we choose what the interfaces are and how much of the behavior specification we decide should live in the interface definition vs the implementation. That subtlety of the design process is completely lost by this love of abstraction where it is assumed that anything with an abstract interface is completely flexible whereas anything without one is not.
Show HN: Popup library inspired by Medium and PopClip
Probably because of the way government contracting works with (value added) resellers. One such is "Carahsoft" (see http://openbeta-contracts-explorer.usaspending.gov/#!/year/A...). If you dig into the details of the transactions you'll see that many are for technology companies' software and services. One example link that includes Salesforce, HP, VMWare, Symantec, etc.: http://openbeta-contracts-explorer.usaspending.gov/#!/year/A...
ThoughtWorks Technology Radar 2016 [pdf]
What tax payer subsidies? Please explain because I am not aware of any.

If you are talking about the 501c3 status that some Universities have that has not reduced tuition costs for anybody in state or otherwise. Additionally the state contributes very little these days to a state university, case in point the UC system.

As far your link that only concerns Pell Grants. Pell Grants are only available to "people of need", most middle class families don't qualify and the average for award if you do is just $3800.
> Who cares.

Whoa. This breaks the HN guidelines. Please edit personal nastiness out of your comments here.

Your comment would be so much better without that last bit.
They have to test deployment, of course!
Source/context? There was no such thing as "India" before colonial rule. The idea of India as a cohesive entity is a colonial and post-colonial innovation.

Hinduism was never even a cohesive entity before British rule, it was the orientalist scholars that classified it based on many similar belief systems. http://www.e-ir.info/2012/11/26/the-impact-of-european-colon...
> is adding 100,000 new jobs every four years at this point. In 20 years, that one industry will employ a million people

I think your math doesn't add up.

But going along with your line of thought: will UBI be phased in over 20 years? No. It'll happen over a year or two. Several million people will suddenly be off the rolls. That's not a gradual decline; that's a bloody step function. You will most definitely not have jobs for them. Creating jobs is hard, really hard.
Not a new addition either, the overall Bosnia reference has been there since the article was expanded from stub in 2006 and Zavidovici itself has been listed since May 2007.
> Even if you think that "Fighting ISIS" is destroying civilization

"Funding ISIS" (or loosely supplies and training for sectarian groups the US had(s) no control over).
The .js files don't import the transpiled .ts files -- the .ts files are written to import other .ts files using relative paths.

A.ts importing B.ts would be `import * as A from "./B"`, where the transpiled A.js file would import from `./B.js` rather than the original A.ts file.

Furthermore you can mix JS into your compilation process and the TS compiler will* accommodate you by compiling your JS alongside your TS code.[1]

* TypeScript 1.8

[1] https://github.com/Microsoft/TypeScript/issues/4792
>which can make it fine for basic scripts.

As long as it's for your own system administration, sure. The moment it's being used for software intended to be used by third parties, no, the niceties of bash over bsh are not worth it.
We detached this subthread from https://news.ycombinator.com/item?id=11840853 and marked it off-topic.
Isn't that even one of the main reasons for FPGAs?
It's a joke: http://www.bloomberg.com/news/articles/2016-02-10/marc-andre...

Edit: at least I think it is.
The cost of free software
This comment breaks the HN guidelines by calling names, being uncivil, and last but not least by using all caps for emphasis. (Just kidding; that is least. But still unwanted.)

Please don't do these things when commenting here. Instead, please (re-)read the guidelines and follow them, by posting civilly and substantively or not at all.

https://news.ycombinator.com/newsguidelines.html

https://news.ycombinator.com/newswelcome.html
Does Maine have similarly good FTTH coverage as Vermont?
Another vote for ts-node running your tests, it makes things a lot simpler. Running tests directly instead of running compiled tests is faster and more reliable.
Does that apply to United States readers?

There are certainly many criticisms of or insults to our country that a lot of our countrymen would prefer to not see.
Show HN: Easily search Microsoft Graph in Android Apps
Fan Death
I had a personal conversation with Larry Hastings (the presenter) at PyCon. Here are a couple of notes from that chat, phrased neutrally. Some of these points may be reïterated in the linked video:

- We can view this work is as a revisiting of Greg Stein's GIL-removal attempt in Python 1.4:

http://dabeaz.blogspot.com/2011/08/inside-look-at-gil-remova...

It seems wholly reasonable to revisit the approach in light of how the language and ecosystem have changed since 1999.

There are demands made of CPython core developers to remove or address the problem of the GIL, and these efforts demonstrate how much work is necessary to do that successfully.

- Comparing single-threaded performance in a GIL implementation against single-threaded performance in a GIL-less implementation is considered an unfair comparison. A GIL-less will do extra book-keeping that will necessarily result in slower single-threaded performance.
Any chance you could link to that paper please?
We detached this subthread from https://news.ycombinator.com/item?id=11840629 and marked it off-topic.
:)

I've always found built-in/integrated cameras/mics to represent tremendous negative value.

1. I cannot unambiguously disable them.

2. I cannot upgrade / swap them readily for something better.

Aftermarket/detachable just seems such an obvious alternative.

And yeah, a simpler solution to a hard problem ;-)
The current system also puts small companies at a disadvantage. I work at a tiny company that pays more than the companies you listed and we have a lot of difficulty getting new H1Bs.

If we had an auction style system then at least small companies would have the opportunity to pay more and get access to foreign labor. In the current system, this is not even an option so companies like mine are disadvantaged with no recourse. Startups could always hire native workers or hire foreign workers offshore.
You do know this is a feature not a bug.
The H1B system favors inexperienced grads straight out of school over truly experienced workers bringing unique skills. Grads get 3 years on OPT while the company can navigate the labyrinth H1B application process. A company looking for a critical senior position for which they cannot have a large class of intakes is at a huge disadvantage. With the level of unemployment of recent grads still high, I think we need to seriously rethink how to structure the H1B program to actually be for uniquely skilled, highly paid workers who would otherwise be "irreplaceable".
That may work, as long as you can prevent people from using the wall or lamp switch, and if it works even if your internet connection/router is down. My preference is for more hard-wired/bulletproof solutions.
You are correct, there is no type-checking at runtime. Getting garbage data where you are expecting properly formed data will throw a nasty wrench in your application.

Thankfully this rarely happens.
Slim chances.

I'm sorry to say that but most cancer research you hear of in media don't want to cure cancer. Its just a business. Otherwise Apple could throw 40 billions of $ in it and come up wit ha cure.

At least in USA, it become such a fat cow to milk that foundations grew everywhere out of nowhere... go to your local store and say "no thank you" when cashier ask you "would you like to donate to fight cancer" and see their look like you are a murderer or something. Its next to "charity" best way for crooks to get rich tax-free while sucking on unaware populus.
CRISPR kit https://www.indiegogo.com/projects/diy-crispr-kits-learn-mod...
Please show my proof or a citation that the "us does not produce enough tech talent to sustain its position in the world" It seems to me that every year for the last 15 years the US produces new and innovative tech tech companies many very successful. How is this possible then if its not sustainable?

That's a straw man that not buying into the nonsense that without H1B visas the tech economy will grind to a halt means isolationism. The U.S. is a nation of immigrants, diversity is not an issue.
I have used it for about 2 years total, in two production projects.

The first project used Spark, so Scala was a natural choice. One big-ish issue at the time was that our team didn't have anyone with experience in the language, so the code base ended up being very Wild West-like, with different styles mixed and heavy usage of implicits. However, none of my teammates had much difficulty becoming productive in Scala (not being an expert, but just being able to produce sane code, quickly), even though they came from mostly non-functional backgrounds (Java, C#). I did struggle with the type system initially - needed some time before it all "clicked", e.g. when to use 'flatMap' instead of 'map', things like that.

The second project uses Akka, which is by itself pretty neat. This time however, I'm the only engineer with experience in Scala and writing production code in general. I feel like the type system provides a lot of protection against silly mistakes that newbies sometimes make (especially with the poor test coverage, such as it is), and the code is much more concise that Java would've been, so yay smaller code reviews! The rest of the team is familiar with traditional C-like syntax, so it's easy for them to get started. I try not to push too hard for the functional features initially, instead showing people how their imperative code could be rewritten in a more clear and concise way.

One major problem is the IDE support. It's 2016, yet IntelliJ is still slow as hell with Scala, and I've abandoned Eclipse long ago.

I do notice that the language seems to promote in some people a certain tendency to write esoteric code and use some very cryptic features just for the sake of it, but I haven't been bitten by this in the libraries we use, and try to be pragmatic in our own codebase.

Lastly, the value of the infrastructure - the JVM, the rich set of libraries for Scala and Java, Scala itself with stuff like Scala.js and Native - should not be underestimated by anyone who considers the language for production use.

Oh, and I do have some comments about Clojure as well, if anyone's interested.
Yes because your Mom and Dad paid taxes in that state, thats hardly a subsidy!
Nope. This is a marketing move, but one that is not done in concert with actually making the state's infrastructure and utility access and cost any better.

I love Maine, I love living here, but it is not friendly to business and for the life of me I can't figure out where the leadership gap is in terms of turning it around.
sha256sum -c <(curl -sS https://hash-archive.org/history/http://openwall.com/signatures/openwall-signatures.asc | sed -nr 's/.*sha256&#x2F;([a-f0-9]*).*/\1 openwall-signatures.asc/ p')
The other option is that the majority is wrong, human rights aren't up for a vote.
> Die, basic income.

Please stop posting unsubstantive ideological comments to Hacker News. We don't want this level of discussion here. If you can't make a point thoughtfully, please don't post until you can.

The name-calling undermines your argument too. It's surprising to me how people who post comments like this don't seem to realize that they're diminishing their own cause in the mind of the reader.
Three years ago I proposed using Ulam Spirals as the peering logic for Bitmessage (decentralized, trustless messenger service). Essentially with Bitmessage you trade messages with everyone on your network but you can be a member of multiple networks. My proposal was to be in one network but peer with with all the "touching" digit peers according to the Ulam Spiral. The benefit of this approach is that newer (higher value) networks are peering with older more established ones and there are multiple paths between non-touching networks to send messages.

Here is the forum post with the suggestion: https://bitmessage.org/forum/index.php?topic=2549.0
Like AI, IoT is a catch-all term for the things that are not yet significant enough to have their own more specific category. Useful applications arise from the primordial soup and acquire their own name.
Interestingly, there is a lot of approximation / asymptotic analysis in mathematical physics: http://m.youtube.com/watch?v=LYNOGk3ZjFM
You've been using HN exclusively to prosecute ideological agendas. That's not a legit use of this site, and we've asked you before to stop doing it. If you can't or won't stop, we're going to ban your account.

This site is for collegial conversation, not for being blared at with bullhorns. Single-purpose accounts aren't welcome here to begin with, and certainly not ones whose single purpose is agitprop.
Presentation Export to SWF Format and Controlling Chart Legends Entries Using Java
Aspose.Slides for Java 16.4.0 introduced the long awaited support of exporting presentation to SWF format. It also included the support for getting the coordinates for paragraphs and portions holding text inside presentation slide. We have improved the presentation rendering features and have resolved many rendering issues that earlier resulted in missing or improper images, missing charts, missing tables, improper text rendering and broken hyperlinks for exported PDF and slide thumbnails.
I don't know much about this new explorer tool, but it's based off of USASpending.gov which is a bit fickle...which is to be expected given the messiness of the data involved (companies have varied names, subsidiaries etc., among other real-life complexities).

But you can do an "advanced search" by registered company name, and this is what comes up for "Microsoft" -- probably doesn't include all of its subsidiaries that don't have "Microsoft" in the name: ~$1.4 billion in awarded contracts

https://www.usaspending.gov/Pages/AdvancedSearch.aspx?sub=y&...

edit: Oh I know the reason for the discrepancy...the homepage of the beta app says it's only partial data:

> Added more years of contract data to now include 2011 - 2015
And the NSA has changed the internet itself quite a lot.
I recently, as of now it's been about two years, took the APCS exam when I was in high school. I can tell you it was a horrible measure of computer science or even software engineering knowledge.

I know they recently changed the exam, to remove grid world, but I took the exam that they used to transition from grid world to the new material.

I got a 5, the maximum score. I'm fairly sure I was one of ~3 in my school that got that score.

The material was antiquated: no low level systems questions, no optimization of code, no coding style questions, no design pattern questions, no software architecture questions, no security questions. In essence no thinking questions.

It was just a test based on "Do you know Java" as the only questions that I felt were of substance were things questioning understanding of Java's object inheritance.

I want to go into software engineering, and it is slowly turning me even more cynical that I can't actually find a good CS program to teach me about the over arching issues about software engineering (at least at a reasonable price).

I want to learn the things I need help with, but no one has given me a platform to expand my knowledge base. I'm stuck trying to look for work so that an employer can fill the gaps in my hodgepodge software engineering career.
Dota was a user made mod originally, so I don't think that counts.
Interesting read. I had embedded Python in one of my apps and I wish I had known about being able to zip the distribution. To save space, I compiled all the .py files into .pyc bytecode files, and tediously removed a bunch of modules my app didn't need (tkinter, antigravity, ...), along with setting PYTHONDONTWRITEBYTECODE. You can probably still do this, of course, in addition to zipping it all up.

I had compiled python myself and used static linking instead of dealing with install_name_tool, although I do wonder if I should have built a dynamic library instead. Anyway, compiling from source (or adjusting the homebrew formula?) gives you control and being mindful of eg: LC_VERSION_MIN_MACOSX as already mentioned here.

For my specific use case, I also wanted to use Apple's GCD and have Python do all of its work on a secondary thread. I had to make sure the interpreter would only stay on a single thread (whereas GCD normally doesn't make such a guarantee).
Nothing is truly thread-local in Python. You can muck with anything from another thread, finding it with "dir" and altering it with "setattr" if necessary. This implies worst-case locking.

To get past all that locking, you need to be able to determine which objects are never visible to more than one thread. They don't need locks. PyPy might be able to do this; it does some global analysis.
It saddens me that instead of trying to understand and debate the truth you instead refuse to accept facts which contradict your worldview.

I never made a political argument. None of my statements were normative. I certainly never said they "get their education on the backs of foreigners."

You can't just deny the objective fact that international students pay more than local students and hence their attendance helps to subsidize local tuition.

Whether this is proper and fair is a completely separate discussion from whether it is true. You can't deny the fact that financial aid for US students is substantially more generous.

As for references, you can find literally hundreds of stories about this very phenomenon:

* http://fusion.net/story/142895/how-international-students-ar...

* http://blogs.wgbh.org/on-campus/2014/6/17/international-enro...

* http://www.nytimes.com/2012/02/05/education/international-st...

* https://www.insidehighered.com/news/2015/05/08/some-public-u...
>So we are supposed to give people purpose in life?

No, you're supposed to acknowledge that "purpose in life" is far more immaterial and nebulous than our ingrained concepts of professionalism and our ingrained cultural work-ethic usually admit, and that if the economy doesn't demand someone's labor, it doesn't affect their innate value as a human being integrated into the same broad moral ecosystem as all other human beings.

Sure, those people could be engineering vastly improved medicines or train systems. They could be painting houses or planting gardens. They could even be taking care of children.

But society has decided, of its own free will and through its own mechanisms, not to allocate living wages to doing those things. Complaining that broke and unemployed people don't form (uncapitalized) work teams to perform pro-bono labor on behalf of Society and the Nation and Humanity simply isn't fair game, even if the things you'd like them to work on seem necessary or beneficial to you. If you think the Greater Glory of Something is so important, pay for it.
One has to wonder why we age in the first place. No doubt we have evolved to age because a species that does not die off cannot evolve. The advantages of living longer eventually are outweighed by the pressure to evolve more rapidly. So if we see age as an evolved trait, might cancer be part of that endgame? Or at least, our growing susceptibility to cancer and other diseases as we age evolved specifically to kill off the old so as to make room for new generations.

This of course would have evolved long long ago, back before we were mammals. As only a handful of the most primitive animals are essentially immortal (jellyfish and the like) this would seem a very successful evolutionary trait.
Serendipity happens online all the time.
Pomodoro Time Forecasting
Clojure is great, beautiful and simple, but it requires either good discipline and lots of tests, or good discipline and something like Clojure.typed, Schematic, or Clojure.spec. Otherwise there's just too many silly type errors at runtime.

The good thing is that "runtime" doesn't have to be production - you can experiment with live data in a REPL and flush out most of the bugs, which of course doesn't diminish the need for good tests.

I wouldn't recommend it for teams consisting only of junior developers and/or large codebases, where it can be hard to maintain good hygiene in the long run.
Not joking: I've seen them wrapped up in layers of tinfoil.
Do you tell clinically depressed people that they "just need to cheer up," too?
Easy fix -- give the visas to the highest paid people in each job category. After you've gone through each category once, do it again for the next highest paid. Eventually you'll run out of harpsichord teachers and so the more popular categories would keep getting filled until the quota was reached.

Then you get highly paid people and you get a nice cross section of skillsets, and it incentivizes the companies to pay the highest wage for that skill.
sorry - I didn't mean to indicate that using transactions to signal a roll back is an anit-pattern. I started out that comment listing good things I had see exceptions used for. Then that example of the userNameInUse exception came to mind. I realize my choice of words made that less than clear.
I don't think it was a joke.
A 20 year old roman could expect to live to ~50:

http://www.richardcarrier.info/lifetbl.html

In the US in 1900, a 20 year old could expect to live to ~62:

http://www.infoplease.com/ipa/A0005140.html

Today, a 20 year old can expect to make it to about 80.

So the gains aren't really limited to infant and child mortality. A substantial portion of the gain has certainly come from improvements there though.
Welcome to Canada :) Oh, and we're taxed on income as well. I think something like 44% of everything I earn goes to taxes.