skysight-inc/HackerNews huggingface dataset:
While he certainly doesn't have as much code in the content sections, I believe there are quite a few assignments with code.

A lot of this just comes down to what is being taught. Earlier volumes were teaching how to analyze code. To do that, you needed code. This volume is focusing on the algorithms.
I noticed that a lot at hacker conventions (CCC). You might think that the guys in simple black t-shirts are tolerant about clothes and don't judge people by their appearance.
Git in six hundred words
Slightly exaggerated, but that sort of thing absolutely happens.
As a long time crashplan user, I backup a few Tb of data and use the key based encryption. Does arq fall flate in comparison to anyone? I like the sound of this, but I am wondering if I gain anything versus using cradhplan to just write the files locally instead of sending to crashplans storage.
Wow, that unclosable add to cart banner made this way too annoying to look at on my phone.
I don't think DartVM was ever turned on in Chrome
I can't think of a single revolution that ended with a better government replacing the existing one except for the American one. Russia, Cuba, Iran, etc.. don't make the odds seem likely.
I've only briefly looked through the source, so I'm not sure if they're doing this, but you can sort of intercept operators like `+` by implementing valueOf() on the object. When you perform a primitive operation on an object, the VM calls valueOf() on it to get a primitive value that it can handle. It does not tell you what operation caused valueOf to be called, nor does it let you influence the result (except by the primitive value you choose to return).

I suspect that they're doing something else, and given the Syncify.parallel construct, I don't think they're blocking the whole thread.
Implementing a task queue is not that hard in Django's management commands. See https://docs.djangoproject.com/en/1.8/howto/custom-managemen... - it covers 90% of the what you'll need. When you start to scale out, you might need a different solution, but this will work and be easy to deploy for the mostly everything.

As an example - I use this to create contracts with LaTeX asynchronously. The contract is created and then sent to the user by email. A management command runs every 5 minutes to check if there are any contracts that need to be generated.
It seems incredibly fragile, better to just use some kind of compile-to-js language. IcedCoffeeScript, Clojurescript, Gopherscript and more all make it possible to avoid callbacks in a cleaner way, with fewer restrictions and probably better performance. Babel has experimental support for es7 async functions, if you really want to write javascript code.
It's interesting that VM for some doesn't mean the same as virtual machine. A bytecode interpreter _is_ a vm with the bytecodes representing opcodes of the machine. What this isn't is a 'modern VM' complete with JIT and GC.
> the Texas Legislature passed a bill in 2009 to make the theft of even a single cow punishable by up to 10 years in prison.

> More recently, in 2011, serial rustler Carl Wade Curry was sentenced to 99 years in prison for stealing more than 400 head.

It'd be way cheaper for the state to just reimburse the farmers for the stolen cattle than to imprison people.
I sure hope not -- I'm working at the headquarters in San Jose this summer.
I was trying to think of a way to do so without writing several thousand words on the subject. But basically, it comes down to this:

Conflict avoidance is not conflict resolution.
Yeah. Do you have the 42mm?
A Card Game about Tech Startups and Investors
I was recently reading David Chappell's "Understanding ActiveX and OLE" (published in 1996) and found this part amusing:

"Once the Windows shell itself lets you browse the Web, the need for a separate web browser application becomes less apparent. But while web browsers as such might one day fade into the mists of history, that day hasn't yet arrived. And even if browsers per se vanish, [COM] components such as the Web Browser object and the HTML viewer will survive."
This is true except that the US would not be getting involved unless it aided US security or other interests. In this case the US would like to contain China from becoming too large a global player (the US Grand Strategy for defense for the past few decades has been to prevent any other superpower from rising).

http://www.cfr.org/china/revising-us-grand-strategy-toward-c...
Machine Learning and APIs: Introducing Mills in REST API Design
It seems to depend on reactivity[1], hence it doesn't block.

Here's an example: https://jsfiddle.net/k61y5sLo/2/

Pre-callback
Evaluating getCallbackText()
Post-callback
callbackTest => cb("Alice")
Evaluating getCallbackText()
callbackTest => cb("Bob")
Evaluating getCallbackText()
Callback returned: Alice Bob

https://github.com/aldonline/reactivity
I also buy that it looks like a great idea, and will like to see how far it can get.
"In South Florida it is edgy to be against war. In San Francisco it is socially enforced to the point of banal conformity."

Banal conformity: that was a great summary of the article.
Maybe. But all of those big business are using the opportunity to basically bypass sovereignty in the western world, as well as ram a lot of other harmful legislation.

So it's not all about China anymore - and in fact, East Asia is basically independent of the way it will be felt by most people. So practically speaking, it isn't about China and East Asia at all.
6 Remarkable Habits That Will Boost Your Confidence and Make You Indestructible
Yeah I think this is smart strategy by Mozilla. Establish and prove the OS without having to break carrier lock-in of other OSes

And as a developer, god knows, I'd love to not to ever have relate to the Android API again if I could just deal with HTML and JS.

I'm not an android dev. Is it not possible to develop "HTML and JS" apps on that platform?
I've found using promises with generators yields code very similar to async/await, without relying on experimental features.

https://github.com/tj/co

or

https://github.com/petkaantonov/bluebird/blob/master/API.md#...
Slight variation - http://typedrummer.com/0r4ki5
Two questions to author: what was his grandfather charged for, and did Soviet slavery machine forced his father to become drunkie?
Lots of countries aim for protectionism. The reason is they need to boost their manufacturing base or else they'll be stuck exporting raw materials to import manufactured goods to no end.
Here's my best guess:

a: click with a slight rattle, like rattan brushes
b: closed hihat
c: distored synth bass with rattle, like tambourine
d: distored synth bass higher pitch and muted
e: muted synth bass
f: sizzle ride hit like crash
g: maracas
h: muted maracas
i: afuche-cabasa
j: synth snare
k: deeper snare
l: castanets
m/n: tap on closed hihat - maybe striking the hardware?
o: booming tonal bass
p: half muted tonal bass
q: muted bass
r: very muted, blockish bass
s: synth splash
t: agogo bell
u: guiro upstroke
v: guiro downstroke
w: tamborine
x: snare
y: synth snare
z: concert bass
non-alpha: rest
(): beat = 1/3 - note: triplets will begin on the letter before the first open paren, it modifies the space before, not after, each note.

A beat: http://typedrummer.com/91l102
Not really a bug, Chrome heavily throttles timers in background tabs to save the user's juice. All you can really do is suspend the sequence until the tab returns to foreground.
I cant's see the argument shredded by modeling....
No Country for Poor People
Waiting for the TL;DL. What _is_ this evidence?
The Software Engineers Guide to Mercury Retrograde
Show HN: Create a KPI Dashboard by Pasting SQL Queries
But that too is a small minority. To be exact, in 2013, 9% of all first year students in tertiary education took a gap year. About 1/3rd of them traveled during that time, most of the rest had a job. And although the data doesn't explicitly say, it does seem like that includes those work for a few months between the end of the school year of high school (in May/June) and the start of the year at university, in September/October or in January, depending on the specifics. I'm not claiming they included everyone with a summer job, just that what is claimed to be a 'gap year' isn't really in many cases, but more a 'I have a few months time and I need to pay for my studies, let's make some money'. A far cry from the GP's suggestion that there is some formal structure to go soul searching or whatever.
Somebody had to do this. Sorry in advance.

Sounds better than the original though.
http://typedrummer.com/rik4mt
Buying cattle futures seems like a good idea
What would you recommend the penalty be for the actual person who committed the crime, rather than the state?
>JEE is design-by-committee crap mainly designed to sell consulting hours.

To whom does Geronimo sell consulting hours?

The design-by-committee hasn't been the case for at least 10 years. J2EE 1.4 was the last version largely developed that way. The last released version (EE 7) and the current one (EE 8) sees a lot of community contributions.

People from the community create JIRA issues, send contributions, even implement entire features (see the work for JSF 2.3 and MVC 1.0).

If that's design-by-committee then everything is design-by-committee.
“would just reinforce property right”

In many instances, the property right is questionable. Much of the property right, such as with IP, was built on the back of a looser interpretation. Disney's earliest years of spoofing mainstream cultural vernacular with Mickey Mouse is perhaps the most well cited example. We could also question the legitimacy of the well documented fleecing of earlier African American musical artists during the 40s-70s that in turn amassed vast libraries of IP.

Art moves as language and relies on an interaction with the language of the culture. The excessive IP is nothing more than a locking away of the keys that permitted the mega corporations to come to power in the first place.

Illegitimate hegemony. Appropriated content. Preserved as capital by those with little to no involvement with its creation.
First global graphic t-shirt marketplace
I hoped to have seen more services built on top of email, especially IM. Products using email as a transport layer rather than the presentation layer per se. But I guess, its inherently slow and tough to scale with its default architecture, considering the overheads.
The idea is to improve code composition by creating synchronicity. With Promises, you generally have to return the promise and then attach a then method to do something which is contagious and creates tons of dependencies on promises.
Kotlin: http://en.wikipedia.org/wiki/Kotlin_(programming_language)
>I don't see much reason to use it, either.

For regular transactions (local, one transactional resource involved) they're still pretty handy as well. EJBs also have things like @Asynchronous, @RolesAllowed and the timer service. The @Stateless concept itself can be just the right abstraction as well.

Eventually though the EJB model will be decomposed and its services made available via CDI.

This is NOT because the EJB model is bad or unworkable, but because it makes sense to align everything on a single component model.
Don't worry, the cancer will then evolve politicians, who will hail that evolution as an unprecedented innovation, claiming that only further innovation and economic growth will solve cancer's problems. They'll point out how cancer cells are special compared to other cells: how they've conquered the natural causes of death and overcome many logistical obstacles to build a complex high-density society with a rich history and lots of diversity.

Intrepid cells (no doubt sick of the crowding in their native tumor) will sometimes set out to explore and colonize the unruly wild parts of the body. It will be hard, but a few of those colonists will succeed in establishing far-flung outposts.

Surely there will be a few environmentalist cancer cells that oppose the "development" of the body, but the common perception among cancer cells will likely be that those cells are just standing in the way of progress, and anyway that the body is so vast that a single cancer cell can't do very much to effect the outcome.

/remove tongue from cheek ;)
To have a good understanding of why the USG wants the TPP, yes, it's about China.

As citizens we feel that inequality of wealth opportunity is the high, urgent priority - and that tools inside the TPP will exacerbate these issues.

As the government the existential threat to the US hegemonic uni-power world order - and by extension the political power and much of the economic opportunity and strategic interests of the US - is the high, urgent threat.

TPP is a bad deal because it only seeks to solve one of these and may actively harm the other - but I remember Obama saying something to the effect of "find me a better deal."
It basicly a wrapper around Promises.

Nothing of your sync functions work until after you do syncify.revert which gives you a function taking a CALLBACK.
It is cool indeed, but is not mine. Author is https://twitter.com/nicosomb
That actually sounds brilliant and I think there's definitely a need for something like this. As a mobile developer I often use Parse as a starting point b/c it allows fast prototyping for clients, but invariably I get frustrated by limitations and then roll my own backend.

I see on your site that you guys are looking to develop iOS & Android SDKs, feel free to let me know if you would like a hand with that :) (My email is in my profile).

Good luck!
I sort of agree here, but I think teen alienation is another factor. You don't feel like you fit in wherever you are, at times in your life. She was in SF after that period.
Looks really promising, thanks for the hint. It's on my to-evaluate list along with:
http://robobinding.github.io/RoboBinding/

Also, if you're open to Xamarin, there's a great library there called MvvmCross that gives you in-AXML databinding and a general feel similar to Angular.
Yeah, they wanted it to be a surprise for the party congress or something :D
Ask HN: I am giving up early on things I want to achieve.What is the way forward?
I have realized that I end up giving up on things more often than I should.

If I want to learn drawing or sketching: I may try for a day or two and then think "It doesn't look like the one I saw on the internet".

If I want to do kaggle competition: I won't even try to do single submission thinking - "I won't make it to the top 10, why bother, instead do something else."

I want to be the best in something I do, but I lose patience often, thinking "it is taking more than what it should be taking". May be I am completely unaware of how time it actually takes to master something and setting up wrong expectations.

Have you felt this, and how to achieve your goals or master something without giving up?
That it's a huge mistake to use a BaaS for anything but a demo. I think it's good to abstract out certain details that don't pertain to your application logic, and that's precisely what something like Heroku does. In my experience, a BaaS adds barely anything to that, and subtracts way more in terms of flexibility and lock-in.

The amount of administration that using a BaaS saves (as opposed to something like Heroku) is minimal; the time that you'd spend doing straightforward admin stuff is just moved over to working around limitations of the BaaS, and is often multiplied in the process. The amount of actual code that using a BaaS saves is between 100-400 lines for a web application. Awful deal.
>But using JSF and EJB is a pretty extraordinary combination to be using these days. You would honestly be laughed out of every Java development team for even considering it.

You'd be surprised.

I don't even know where you got that idea. BOTH are widely deployed and used in enterprise.
Seems like people are upset that they didn't compare JEE to common frameworks and platforms that startups are known to use often like node.js w/ Express, Ruby on Rails, and Django rather than trying to explain more of what's interesting about modern JEE.
Let's turn it around, what do these "other" ways have as advantage?

It's not sucking less, it's completely not sucking at all. JSF is very powerful and easy these days. I've dabbled in various other technologies, and I think they pretty much all sucked and where much more complicated.

I do like AngularJS 1 somewhat, but it's a client side technology which has its own set of disadvantages (remember why Twitter went back to serverside generation of "ready-to-render-html")
The Texas Instruments TMX 1795: the first, forgotten microprocessor
In terms of languages that facilitate doing work concurrently or in parallel with the HTTP request/response cycle:

- Java / Scala / Clojure
- Go
- Erlang (add Elixir if you are comfortable with its maturity)

Not meant to be an exhaustive list of languages. Celery is great but there are plenty of situations where chucking units of work into a job queue or running a cron job feels like an incomplete solution.
yes, async/await and generators are the same construct, represented by two different syntaxes. Each can be implemented in terms of the other.
>and may not bring along any staffer //

Where are these rules written down, surely such anti-democratic actions have to be unconstitutional?

Plus where does USA get off in trying to impose laws on the rest of the world through secret treaty negotiations the details of which are only open to a very limited and controlled politically chosen group and a second group chosen entirely on wealth.

Land of the Free my arse - plutocratic hegemony more like it.

TPP is the most blatant "we're rich we'll decide the rules" that I think I've ever come across.

From the OP:

>"is there any way to look at this situation and not judge it to be a case of massive corruption?" //

No there isn't.
> because J2EE sucks

It does, but Java EE is great! :)
I am confused about why you need to think that certain operations are/are not expensive, or why you think a table is faster.

I think they are expensive, and it won't be faster. Hence we're at an impasse. That block was predictable, and easily solve by taking the equation you have and testing against the reference code.

If you test it out, you'll know the answer. There's no need to think you know the answer when you can just measure it, and overrule any incorrect beliefs I may have.
Choosing Java over Ruby/Python for your web-app really depends on what you want to sacrifice.

I counted LISP out because unless you're using Clojure, I know for sure you're not going to be able to beat anything else for web-app development. LISP for web-app probably works in the 90's for PG but we're in 2015 where libraries, frameworks, and tools for these other languages are just far too advanced and more productive than writing macros... sorry mate.

Anyway, back to Java over Ruby/Python.

Take a few examples:

At the Microservice area, Java seems to shine over other languages/platforms. JAX-RS feels more complete than Sinatra or whatever Django plugins that the Python community use. See a quick example of JAX-RS vs Sinatra somewhere in this blog post: (http://www.appneta.com/blog/microservice-service-oriented-ar...)

Maven can be huge and underwhelming (and ugly once in a while) but it's definitely more powerful than gems+bundler+rake and whatever Python adopts these days. Maven has been around for a while so most Java DEVs don't have to pick up tools as Python DEVs have to do quite often. But again, there are trade-offs: Maven XML is definitely uglier than Bundler or requirements.txt or package.json.

Let me ask one thing: in platform other than Java, do you use declarative transaction? My guess is "No". Which means you have to know when to open and close a transaction (and potentially join an existing one if the library isn't smart enough). Java Spring/EJB provides annotation based transaction.

I'm not suggesting that Java is better than other languages, but there are advantages of choosing Java.
Banal conformity is not necessarily a bad thing. Boring perhaps, but that conformity is often why people move to cities like San Francisco, to be with like minded thinkers.

I grew up in the suburbs and went to college in a small conservative city. But, my family visited California when I was a child and I always liked it, although I'm not sure I could put my finger on "why" as a child. So, when I had the opportunity to do a college exchange program in California I jumped on it.

The first thing I noticed was that people felt comfortable being different. As someone who always felt like I didn't belong, I immediately felt comfortable.

It took me about 10 years after college to make my way to California, but I finally feel at home. I don't enjoy the excitement of being different, I like the comfort of similarity.
> and various zones and modes to appease IT departments, is not going away.

That "zone" crap is something I never understood anyway. It's a real PITA to setup a Windows Server (tried 2008 and 2008 R2, and I believe its predecessors also had it), because you have to click a dozen different buttons, checkboxes and sliders just to visit a website - and to download stuff like a driver or, heaven forbid, another browser, even more clicks.

Also, these days I don't believe that the whitelisting approach works anymore either, because every website on the web loads content (ohai Jquery and friends) from others... hope it's gone for good in the "new IE".
Everyone may have awesome ideas sometimes, make an issue here
I'm amazed that branding is being mentioned as some sort of old-time technique that's making a comeback; where I live it's always been done. I've helped brand calves before and got the impression that everyone does it. I wonder if it's just very large, corporate-type ranches that are skipping the brands.
That is, itself, a cause.
And here is a part of the problems he had with Pocket (wich, at the end, was fairly reasonable)

https://www.wallabag.org/blog/2014/01/24/open-letter-address...
> To be fair, a lot of these corporate interests, if applicable broadly and without prejudice (unlikely), would just reinforce property right.

That argument is unlikely to hold much weight for anyone who isn't an extremist libertarian.

Even libertarian moderates usually accept that property rights are a means to an end (usually liberty, hence the name) and qualify their beliefs about property rights being a good thing to acknowledge that there are circumstances in which they can be abused. Perverse incentives are real and most sane people feel a need to at least acknowledge them in their philosophical wanderings.
Yes. I don't really get it: why the burning need for fulfilling the definition of rebellion? Does it give you some sort of safety? Want to be both unique and socially accepted? This is an immediate contradiction, you know, as wide acceptance comes at a price of fitting oneself within one or more (couter)culture categories. Instead just do whatever you want man.
THE Female Tech Startup Diary
> In reality, truly "urgent" messages are rare. Most people incorrectly call "important" messages, "urgent".

Perhaps triage is better. My wife texts me to know our son's doctor is fine. Not urgent, nice to know.

> What I mean is, the examples you mention can and often are covered by other devices that you're already using.

That's true. But that was also true when I got the iPhone & iPad.

> Countdown clock is not a smartwatch feature, you can get that on a regular watch. Not sure why you'd mention that as a plus for a $400 Apple Watch.

Just a way I used it that's different from what I did with my watch before. (My prior watch was a self winding Hamilton.)
I don't know maybe that's the point. In any way reading programming books on the phone doesn't really make sense to me.
thanks for this. I don't know what I was expecting beyond the jobs board / who is hiring threads. maybe some kind of secret handshake that only ycombinator people know?