skysight-inc/HackerNews huggingface dataset:
>Firstly, how one abstraction can implicitly be a 'better abstraction' than another I am not sure. Only perhaps because you (individually) understand it better or have used it before it is more useful to you.

That was clumsy of me. I meant to say that it was a better abstraction for teaching iterative programming, which is a good tool for getting people productive with a minimum of training.

> Secondly, how is 'each' any less 'plain iterative' than 'for...' when they both do exactly the same thing (iterate)? Also, how is it more 'functional'? To me its more object-oriented in that the object is stated first, but this isn't to say it is less plain or more abstract.

When we're talking rich objects instead of simple iterators, we are speaking more abstractly. Now, naturally, you're always using a rich object in a language like Ruby, but it's a lot easier to gloss over that with for.

>I agree that Assembly is good to learn, but not sure what you mean by calling it 'iterative'.

It's full of side effects, you're not working with clean encapsulated objects.

> Secondly, how is 'each' any less 'plain iterative' than 'for...' when they both do exactly the same thing (iterate)? Also, how is it more 'functional'? To me its more object-oriented in that the object is stated first, but this isn't to say it is less plain or more abstract.

More object oriented == more abstract. But that's basically a semantic game and kind of beside the point, which is that there are more principles of computer science lurking in each than in for. That's great if you're teaching computer science, not so much if you're teaching computer programming.
Here's an advice I've learned by experience. Indeed, many of us have a hundred ideas before the morning shower, and we often start working on some of them. But to have any chance of success, what you really need is a domain expert.

This means that, in this particular example, you need someone who has experience at least with tourism in general, and ideally with adventure tourism and similar activities in specific. Also, they need to be able to think out of the box and explore new possibilities in their trade.

Ideally, this means that you're working in an area YOU know intimately yourself, or barring that to have an expert for a co-founder. If you don't, you'll have to learn the basics and make the rookie mistakes which an expert would avoid.

When you look around, you'll notice that there are very few success stories that were started without an expert in the field. Off the top of my head I can think only of AirBnB, and they keep running into basic level situations like trashed apartment and the like.
Right. Also, people should learn to swim by first dipping their tippy toes in a bathtub.
You will find this kind of ethic also in old Greek philosophy:

http://classics.mit.edu/Epictetus/discourses.1.one.html
Definitely some great ideas here!
Imagine a terrorist with an RPG walking into the front door of an airport and firing upon the security checkpoint. Or shooting down a large jetliner from the side of the highway next to the airport.

You can't make security policy decisions based on hypothetical horror stories alone. If you don't balance fear with reason you end up with ridiculously expensive policies that do absolutely nothing to increase safety.
I haven't used it for a few years, but I always found it funny that a project that was supposed to make Java application development easier and more agile than J2EE ended up being just as large, if not larger. Core Spring did a lot for dependency injection, which was a big shift in thought. However, for dependency management, I'd go with something like Guice today.
> Immediately there should have been an armed response. Heavy weapons,
> armored cars to the area that the perimeter was breached. The
> airport should have been locked down.

I realize the need to protect the security of the airport, but "heavy
weapons" and "armored cars?" Someone watch a little too much Die Hard 2?
If a terrorist (or terrorist group) wants to breach airport security,
I have a hard time believing they will be storming the airport with
artillery and automatic weapons.
Spring was innovative in 2008. Now, Spring is overbloat, buggy (look at request-mapper) and have old, sensless integration to others modules, see spring-data for NoSQL, or try integrate last version of Velocity with last version of Spring.

And additionaly, all, what you can do with Spring, you can do with JEE.
Spring is not garbage.
Well, for starters the whole idea of programming in XML. That and gems such as http://static.springsource.org/spring/docs/2.5.x/api/org/spr... or http://static.springsource.org/spring/docs/2.5.x/api/org/spr...

Of course I can't a priori prove that Spring is garbage, much like I can't a priori prove that it's better to be healthy and rich than to be poor and sick. It is a judgement call, but a judgement call that I believe I'm qualified to make, having worked with a large Spring codebase for 2.5 years.
Well, now that the flaws of their security system is exposed to the whole world, they can't sit on their ass and be like 'Yeah, come and breach while you can'.
This is supported by this paragraph:

The episode has brought out an angry Port Authority
police union, whose chief told the Post JFK's electronic
surveillance system "is an expensive piece of junk with
no value as a security deterrent."
Seems like it would almost be worth subsidizing purchases too, since they reduce costs coming from driver error.
Code that isn't part of the OS kernel.

http://en.wikipedia.org/wiki/User_space
Keep in mind that every transaction, whether it be email or bitcoin, has to involve two parties. If the centralised solution become widespread, it becomes difficult to avoid it because the chances are that the other party is centralised, even if you're not.
Most of the time, software vendors do document new features and changes.
If you click through to the NYPost article, it mentions that he didn't have any ID or anything on him:

“All his IDs, his money, his car keys — they’re all gone.
They sunk with the jet ski,” Cowan said.

I can see them initially arresting him for trespass, but after the matter is sorted out, I would expect them to drop the charges. If they keep pushing for them, it doesn't make any sense (other than in a "you embarrassed us, and now you'll pay" sort of way).
DropWizard is a great way to start Java project.
That's what normal applications are referred to as opposed to kernel-level code. So anything user-facing that does not need low-level system access.
I am curious about what, specifically, you find easier to do in Java syntax than Python syntax.

Seriously, there is a fairly direct translation from any Java you might want to write to completely equivalent Python. Sure, Python offers more complex techniques such as list comprehensions and iterators. But you don't need to use them. You can just write Java-like Python.
Good advice. Although I am not a full time guide, I have a lot of domain experience and have guided in the past. I have intimate knowledge of the adventure/guiding community and what's involved with adventures, but need to research more about guiding companies and legals involved with that. I think partnering with someone who has run an adventure guiding company would be ideal.
I hope it's for real.

I was just looking for a backup debit card for international travel. This would give me a low-risk but high-utility reason to finally try bitcoin. And avoid opening another damn bank account
So I baked a Sony Vaio today...
Aren't they supposed to wait for the first Tuesday of the month to patch all of their security holes though? ;-)
Actually, I'm just as concerned about standing amongst masses of other people waiting to go through security screening, as I am about a ninja baine character. There have been occasions where there have been more than a planes worth of passengers massed together pre security check. You can't catch every scenario.
You can check out a bit more about me here: http://www.clarkcarter.com
API for APIs?
I've been using the Mac Air exclusively for work for about a year now. Coincidence? Maybe.
They don't even need to "protect the security of the airport" to the extent of stopping lost people from wandering in. Because they can't totally lock it down, so they should assume sometimes (and this is extremely rare) people will wander in, just like anywhere else in the world. It's not a maximum security prison. Will they establish a mine field with robotically controlled laser beams next that fries any wayward dog that happens onto the runway?

Arresting the guy is a crime against humanity, and shows the complete lack of moral authority or common sense held by the various paranoid autocratic and senseless state and federal agencies within the US.

The guy making the comment about a military response involving armored cars and heavy weapons is completely insane and should be removed from his position. He is a danger to the public.
I used to believe "that building the actual product is only 5% of running a business". Because if you don't have good sales people the product won't get sold. If you don't have good managers, resources will be wasted. If you don't have a good HR dept, good employees will be lost.

But I think the product has to be good. You need it all, but a software company needs its product to be good. Doesn't have to be the best or even great but at least good. Pulling a number out of my *ss I'd say the product is about 75% of running a business.

As for the culture of product managers, we have the same. And I loathe them.
I actually think this is much easier today than it used to be. Write something good, then tweet about it / Facebook it / share it on LinkedIn / post it to Hacker News. You don't need a big audience of pre-existing subscribers to get something good in front of a lot of people any more.
> Why is it so horrible as a systems language above C?

* First class functions (interfaces with one method) plus garbage collector eventually encourage a functional programming style, with lots of little objects created on the heap. Alas, the per-object memory overhead of popular Java implementations is horrendous.

* Strong emphasis on using threads for concurrency. Alas, in practice, threads are incredibly large memory hogs.

* Verbosity. While it is possible to write clean composable code in Java, it is also remarkably verbose. After a while, this gets old and people take all shortcuts they can to limit verbosity. Which is a very bad idea. To quote an esteemed colleague, "I never took a shortcut I didn't regretted it later". Can we have our lambdas yet, pretty please?
Rigth tool for the right job is key here. I personally like to add Groovy to the devops list.
You can ditch the xml almost entirely in spring 3, which I've been using for 2 years now. All you need is 50-100 boilerplate lines and the rest is annotations. I agree that 2.x was xml hell, but it is worlds better now.
Why is it not garbage?
Bitcoin was alive?!
Considering the billions spent on "national security".

Considering all of the privacy violated in the name of airport security.

Considering that it's considered okay to fly across the world to and assault someone's house in an armed chopper because they may have been accessory to copyright infringement.

I don't think an armored car is too much to ask when someone actually could have terrorized an airport with no resistance.
Exactly, IRC networks have been realtime AND decentralized for decades, they even solved the redundant data problem.
Java is good enough for all types of projects. People hate Java because... they can't Java right. Personally, I very like Python and JavaScript and features like multiple inheritance or prototyping, higher-order functions and so on. But Java is better sufficient for projects which more complex as "Hello world", because type safe (robust, compile-time feedback), excelent IDE support and incredibly fast and allow fast development (if you can Java, TDD and so on).
Link to the comment as a bookmark.
These are exactly the kind of thoughts I like to see people having about Bitcoin.
What you do is as bad as standing next to a doctor's office and telling the people coming in, that you personally don't need to see the doctor to be healthy, so they must be doing something wrong, especially since they seem to come in more than once.

You're being a jerk, whether you meant to or not.
Blogspam. OP is https://www.youtube.com/watch?feature=player_embedded&v=...
The Mystery of Sleep and the lucky few who don’t need it
Reply to your Edit: You can have a phone number and multiple email addresses associated with your iMessage account. It really is quite a great thing at scale that would be almost pointless as a startup.
You are "just as concerned"? If we learned anything from 9/11 isn't it that control of a plane is a significant force multiplier?

PS I did not get lucky with google and ninja baine. Is that some new hipster meme?
Moreover, any sort of active assault on an airport by terrorists presumably defeats their actual goal--sneaking something or someone onto a plane.

Even if they manage to fight their way into the airport, planes would be grounded and outside forces alerted before the attackers could do anything useful.
LOL. I misread and thought he put the whole laptop in and the tinfoil was what was left of the casing.
Former TM employee here. Some thoughts:

"Given that LiveNation is the by far the biggest promoter in the US, it would be an enormous risk for a venue to forsake Ticketmaster and go with an alternative."

This is far from inconceivable. The issue is a combination of technical & financial.

First, can a ticketing system support a massive onsale? Ticketmaster has proven they can, time & time again. A lot of geeks thinks it's not a hard problem.

LiveNation apparently thought that too & went their separate way. They threw $100M at the problem & continually crashed for major onsale events. Eventually they threw in the towel & merged with TM.

So if you're a promoter, why take the risk?

As for financial, that brings us to the next point.

"Venues/Artists Need To Ditch The Big Guys"

You missed the biggest reason this won't happen: Venues & artists are the ones responsible for the fees. Those fees are largely dictated by venues, promoters, artists & the rest in the supply chain.

Honestly, when I hear this, it's a bit like someone telling Tony Soprano he needs to ditch his hitmen because they're violent.
I can't find any evidence for this on either site.
The best reason to use Java is the enormous ecosystem of libraries and resources.

The best reason to AVOID using Java is the huge demand for Java programmers and the low supply. At my job we can barely find applicants with Java so we end up hiring .NET people and converting them.
as the others have said price mostly. You are cutting out the middle man. Heroku has an awesome service, but they are just running on AWS. Elastic Beanstalk is basically the same Platform as a Service idea but you get rid of the middle man. I'm happy to see python supported as I was just getting started with a project and debating using heroku vs dealing with the hassle of doing it myself on aws. Now i get the best of both worlds.
You're watching too many movies. As long as we are imagining, why not imagine a team of terrorists paratrooping on to the tarmac armed with nuclear bombs, and a vial of smallpox virus genetically modified to be exceptionally virulent? Or that the president is secretly controlled by aliens and has introduced an agent into the water supply that will sterilize all humans, allowing a non-violent takeover of the planet by 'them'.
The Liquidity of Ideas
Personally, I'd recommend working on whatever you're interested in and best at. Just hope for the best.
My main problem is that it has awful support for functional programming, which I find to be a really helpful way of doing something like a web crawler, where you're essentially describing a computation to parse some input. I would use F#, because it offers powerful functional programming tools, is on .NET / VS 2012 (not sure if that's a pro or con for you), and has type inference (so you get the benefits of static typing without the cost of writing out the types of everything).

You should probably check existing web crawler solutions to see if you can adapt them before rolling your own.
Is this real? I have a hard time believing it. There's another video with the title "REAL Golf Ball hitting steel" and it looks much more believable (http://www.youtube.com/watch?v=00I2uXDxbaE&feature=relat...).
Yes, I was careful to say "J2EE" and not "JEE". WebBeans/CDI in Java EE 6 are quite decent. JSR 330 seems as if they just standardized on Guice. JSR 318 is quite good as well: I highly recommend using Jersey if you're building a REST API.
I think groovy is sensless language. You lost all Java benefits like checked exceptions, robust code... what is about debugging? And you is not faster developing with groovy. You developing faster if you ensure quality and not inline filters or other crap. If you like groovy, look at Python.
It was freshly wiped before he inserted his SIM. He just used the SIM to activate it with iTunes.
Art of Living
I am puzzled at how arrays are hard to use in Python? I cannot understand how you could be 'banging your head' against Python's array syntax unless you are just new to Python.

If you want to use Java (e.g.: you know it already and don't like learning other things), who cares? Why is this an issue where you have to challenge other people's opinions of Java? Use it if you want to.
It seemed strange to me that the author would conclude that this is what they expect to happen. If the goal is influence, wouldn't you want the share-ability of free? Then again, if you convince enough influential people to subscribe to your thoughts, and they can share amongst themselves, maybe that nets you even more influence.
The Affero GPL [1] is a specific license to address this, because existing OSS licenses have no specific clauses regarding network software; the idea of "distribution" is generally considered as "the computer on which the software is running."

[1]: http://www.gnu.org/licenses/agpl.html
Facebook is finally deleting your ‘deleted’ photos
At first I thought it would be cool to call this "Adventure Time," but then I realized that you might receive a few lawsuits.
Is free online course movement good for higher ed?
The automatically appended "You should follow me on twitter _here_" is a great punchline.
No, you're right, this is not a regular golf ball. Title is wrong.
Thanks for the infos, it makes a bit more sense to me now. I'm still trying to understand as a layman with engineering background, so I'm pulling a few numbers out of my ass now..

Let's say we have a unit power output of P_therm and P_bomb (in case of the bomb its time plot should look close to dirac pulses while P_thermal should look like a flat line), we have efficiencies eps_therm, eps_bomb and we have the mass of the propellant systems m_ohterm, m_ohbomb.

I'm assuming
P_thermal to be 1e+7W (1/100 of a powerplant),
P_bomb = 0.15 kiloton per second ~= 6e+11W => lets make that 1e+12.
Efficiency: eps_therm = 1'000 * eps_bomb
Mass: m_therm = 10 * m_bomb

so if these numbers work out the bombs give you about 10^5 times the power output of the furnace, deliver 10x the power to the ship (efficiency differences) and yield about 100x the effect per unit of mass.

hmmmm... I think I'm starting to get it ;). However here's the thing: I'm imagining that the furnaces can be scaled up much easier than the orion design. You can just make them bigger up to a certain point and when that doesn't help anymore you can strap them together. You can't really strap together the orion propellers because it would become incredibly susceptible to timing (one bomb goes off 1ms earlier and you end up spiraling everyone to death with 20G acceleration or so :D ).
I noticed a lot of criticism of Java's verbosity in the comments and I'm a bit curious what people are referring to? I work primarily in Java, but also do quite a bit of Javascript and Perl, and I don't notice Java being especially verbose. Maybe internally I'm giving it a break because it isn't a scripting language? I'm honestly curious to see what you guys think.
I'm curious as to what deficiencies reddit has that made you choose to create a site like this. In other words, what features would reddit need to make you think that reddit solves the problem sufficiently?
Sexual self-denial isn't a problem and it seems that if anything it leads to happiness, considering the amount of personal problems indulging every sexual desire causes.

I'm glad this is working for you, but please don't think for a moment that more than a few individuals that can't handle adult relationships that involve sex think this way. Cognitive dissonance likely has a large psychological component in your reasoning.
Final testing for the Mars Science Laboratory: http://www.msl-chemcam.com/index.php?menu=videos&rubriqu...
Even if you don't need the textbooks, they might still be well worth it. For me, at least, they cost a small fraction fo the tuition. If you are paying $50K a year for your education, you need to maximize the value extracted. I got more from lectures when I had read the relevant chapters first.
Please note that the code in this article is broken. It lacks proper use of atomics, memory barriers, let alone compiler barriers. You can find a similar and correct queue at http://concurrencykit.org (ck_fifo.h). The liblfds queue is very heavy-weight for a simple SPSC workload and is also lacking in correctness.

If you're looking for a learning resource, I suggest looking at http://www.rdrop.com/users/paulmck/perfbook/ and http://1024cores.net
And, the OP says he wants to move away from Python to a C-like language for better arrays? It's a weird reason given that arrays are not that complex a data structure, plus the option of using numpy arrays, which are quite fast and capable.
I didnt come up with that tagline, this was submitted by someone else. But.. for the full answer, see the FAQ (question #2 and #3): http://pineapple.io/faq

I apologize in advance for the typos, it was really long programming day when I wrote that part of the FAQ. I just noticed them now.
<a href="http://www.cheapjerseys2usa.com>Cheap NFL jerseys</a>,Cheap nhl jerseys,Cheap mlb jerseys,Cheap nba jerseys,Cheap football shirts,basketball shirts,NFL jerseys Wholesale,Discount NFL jerseys
I think perhaps the reason that these have become known as "idioms" is that in older programming languages, there really are idioms. For a classic example, in C we have:

for (;;) {
}

to mean an endless loop. This really is an idiom - to people who've "grown up" with it, it says "endless loop" as clear as day, but for everyone else it just looks odd. And C programmers who know the idiom don't tend to look down on someone who instead uses:

while (1) {
}

or some other form.
Oh, that's bad. I thought it's may an option for you, because you have already been there for a while. The rules for getting a visa in NZ are really strict then. What are the major differences between Australia and New Zealand from your viewpoint? I heard that Australia is more US-like and NZ more Europe oriented, but thats it. It would be cool if you could share some experiences :) Thanks
After I posted. Fair enough.
its called Workaholism. the workaholic sabotages to make work because his ultimate fear is not having enough work. google "Chained to the Desk" book on amazon and read it on kindle. also google my post "Hero - Martyr Cycle" or "Kent Beck: Ease At Work (Part 1 of 7)". also read "4 Hour Work Week" by Tim Ferris to learn how to really get shit done and go play. also "Rework" and "Getting Real" by 37Signals.