skysight-inc/HackerNews huggingface dataset:
Backbone: subviews, default “div” wrapper and delegated events
Hi!!

We are trying a solution with Backbone and subviews, and after several days we are blocked in the same point. Is the next:

For example, we have two Backbone Views: A parent view (PersonView) and its subview (LocationView). Their templates, in Mustache notation, are the next:

* PersonView template:

<h2>{{fullName}}</h2>
<div>
<h3>Address:</h3>
{{{location}}}
</div>

* LocationView template:

<h4>Places:<h4/>
<dl>
<dt>City:</dt>
<dd>{{city}}</dd>
<dt>Place:</dt>
<dd>{{place}}</dd>
</dl>

NOTE that these templates does NOT have a parent element; so, Backbone will asignate them the "div" element by default in the "el" property.

In PersonView's "render" method, How can we add the LocationView's rendered HTML into "PersonView.el" WITHOUT loossing LocationView's events and WITHOUT ADDING the deafult wrapping "div" element of "LocationView.el"?

If we remove de subview's "el" property, we always loose the events (in the subviews), but if we keep that "el", then we have problems if we want to associate it with jQuery events :-(

Anybody has any solution about this?
Many Thanks in advance.
Daniel.
You might want to keep an eye on the slowly collapsing US electrical grid. The number of annual major blackouts has skyrocketed over the last 20 years.

http://www.zerohedge.com/sites/default/files/images/user5/im...
Somebody pointed out about the CNAME available on Cloudflare. I never knew that and i checked out the article. The First paragraph:

"CNAME setup is a manual process generally available to paid CloudFlare plans only. If you are interested in testing CNAME setup, please contact CloudFlare first with the domain you would like to test CNAME with. Please specifically mention CNAME Setup in the subject field for faster review. Allowing for CNAME setup is entirely at the discretion of CloudFlare."

So NO: This isn't even a features at all. They made it as hard as possible to set this up and will grant you the use of it as they like.
Does HN have some kind of hellbanning in place?
On my other account with -15 karma, the website takes like 20 seconds to load the front page and same thing for comments page but on this account and when im logged out, it loads almost instantly. Is there some sort of auto hellbann when someone has negative karma?
If you'd like to use this sort of ink in a hands-on way, without a multimillion dollar computerized commercial offset press or anything, look for a local arts institution's course in letterpress or intaglio printmaking. (The latter is more drawing-oriented than the former.) It's rather fun. You also get to use some really nice paper, too.

You can find this sort of ink in squat little tins in the right art supplies store.
You need to reason about async operations when for example you need to do something when multiple async operations have completed; even more often if some may have failed.

If all you have to implement async operations are plain callbacks then yeah, they are not really an abstraction of anything, and you can probably call them 'leaky'. Which is why you need to create real abstractions around them, like promises.

I think we basically agree.
And what Coke no longer contains: alcohol, cocaine. Also without sugar and caffeine if you want, sometimes I wonder what's the point of drinking it.

I remember reading it would be more interesting to use steel cans because it's easier to catch them using magnets. Are we now able to sort and recycle aluminum cans better ?
The idea that the attacker knew about the bug is, I think, a remote but intriguing idea.

Wonder if Cloudflare need to do some tests along the lines of:

A) List up all the types of rules we usually use to mitigate these situations.
B) Run those rules on a test router with wildly unusual input values, as was the case in this situation.
C) Send test traffic using that wildly unexpected input to see what happens.

Basically a bit of manual fuzzing

Time-consuming and maybe not worthwhile, but it could save against another full system death.
I just noticed your comment, so sorry for the belated reply. I just wanted to mention that the tecgraf, makers of IUP, has thankfully simplified their build system -- no more custom build system. Also, they've started releasing pre-built binaries for all major OSs, including Linux and OSX. So now it's as easy and downloading a file and running sudo ./install. And if you want to build it yourself, it's as simple as running a few make files (make; make install each for the IUP, CD, and IM libraries).

But absolutely, the first time I tried to use IUP a few years ago, I couldn't get it build due to the complexity of the build system. Fortunately, that's all changed now.
If you bang some of the electrons hard enough into some of the neutrons or protons you'll even get quarks.
Coding was taught in school in my day and we didn't all turn out to be programmers, so I think that is obvious.

However, the previous poster suggested that there is no need for more professional farmers, so there is no need to teach farming. By extension, he seems to be saying that when we have enough programmers in industry, there will be no need to teach programming anymore.

And pushing people into an industry does come with dangers. When I was a student we were pushed into teaching. Today, I have friends who went with that push and are still on the job hunt many years later because so many others did the same.
Oatmeal Vs Rice – Similarities Yet Differences
Meteor does have plugins to make your site SEO friendly. I would assume that they would work with Ground Control as well.
That's correct. You can find this sort of ink in squat little tins in the right art supplies store, if you ever wanted to do any printmaking yourself. (A local arts institution may offer courses in intaglio or letterpress. You also get to use some really nice paper.)
Rodney Mullen Interview, Slamtrick 2003 Italy
Colgate alum here-- cheating was just as bad when I was in school as it seems to be at Harvard now. All you had to do is look in your fraternity's 'library' and how about that? the test hasn't changed in 15 years?

Edit: I'll add that there was an honor code that all students were required to sign, but it seemed that the gist was 'we'll give you a ton of leeway, but if you are dumb enough to get caught, the consequences will be extremely harsh.' That way both sides win: students can share test questions and answers with little risk of being caught, and the school can seem serious about cheating by occasionally expelling the most egregious violators.
Yeah i wish someone could crowd source a project so Mike could spare 20% of his time on RubyVM.
I believe he was referring to the [frequency of the] sensation to void his bladder, not the resulting volume.
And that's how you keep women away from computing. Yes, let's continue the practice that have lead our industry to lack diversity.
Re: "there aren't really any viable options..."

Total misconception. BGP, OSPF, ISIS, LISP, etc. are all non proprietary. Sure, the root cause of this particular problem is that CF is using something specific to Juniper, however router interoperability is not predicated on components like that. This example was a tool CF operationalized, and likely had little to do with their routing with the exception of it being a metric they may have influenced routes with.

People who have all Cisco or all Juniper shops namely do it from a cost perspective. Sure, there are some reasons outside of that but it's likely the big driver. The more you buy, the more you save. And the network sales realm is royally messed up to begin with. I've seen Juniper give 90% discounts on hardware just to break into a Cisco shop. But, the reality of the situation is that all of this gear is marked up well into the thousands of percent. So if you're not getting, minimally 50% then your probably not doing yourself due diligence.
Or if you're an Emacs user you can use sqlplus.el, a very nice wrapper around SQL*Plus.
Well they have Thad Starner http://www.cc.gatech.edu/~thad/ who has been doing wearable computing nearly as long.
Careful... don't choke on that bile
http://www.the-digital-reader.com/2012/09/19/printer-ink-wha...
Sanderg Leans Into "Glass Ceiling"
"I'm not on facebook" is a very proud statement among almost every teen or tween group nowadays atleast where I come from (India) and more often than not it is followed by a "Oh nice".

Apparently people have really started getting over facebook or atleast for many of them it has remained as a contacts manager and a messenger.

In my opinion the solution is not another SN like G+ but a better, more refined and faster way to communicate electronically.
Oh my god this is awful. I'm sure I should be impressed but this is just awful.
Glass connects to users smartphone via bluetooth
It's jelly, actually.
And providing no direction also has dangers.

My dad grew up on a farm. He decided the military was easier. He got to sleep an hour later and, when no one was shooting at you, the work wasn't hard. I am an environmental studies major. I think it is still important to understand our relationship to the land, regardless of how you pay the bills. A lot of people really don't these days. And I think it does cause problems.
FYI, despite the livestream player clearly saying "LIVE" this event is no longer live. Dragon was captured and docked by 9AM ET
That means that the CPU reconfigures the pins into USB2 mode, which means that Lightning can at least do 400Mbps. This is because any SoC nowadays can do low-level USB-device pinout, so it's reasonable to simply pass it through the lightning connector, unlike HDMI or DVI which require specific video encoders.

It says nothing about Lightning maximum speed. Besides, whatever maximum speed can be measured with today hw, it doesn't mean that can be pushed tomorrow with different HW in the iDevice.
‘Green Spring’: The Crusade For VFX
I dunno. There are vast patches of ocean that are going pretty much unused right now.

(Yes, I know that's still science-fiction, but is it really that much more of a stretch than the AI/robot/automation "software will eat the world" firm-belief that you see daily on HN?)
I made LAUNCHED Weekly, a weekly newsletter announcing most interesting projects
Ask HN: Is it too late to apply for an Internship?
Hi,
I was planning to do research this summer for my thesis. However, my advisor will be out of the country the whole summer so I had to delay my research to the Fall semester.

I was talking to some tech companies and it seems that everybody filled out their positions. Is it because I was talking to big companies?(since I am an international student, it is easier to find big companies that sponsor visas)
You should also add some screenshots on the website, just so people get a feel for what it's like before signing up.
Crohn's is just bowel problems: bad gut bacteria + autoimmune issues. There's occasional debilitating flare ups with sometimes serious complications. Otherwise, just imagine having low grade diarrhea 24 hours a day. Occasionally there's very minor containment failures. The guy should go to work; it keeps him going. It keeps his family fed. It's better than going on welfare.

He should have perhaps considered changing the Fruit of the Looms a couple of times a day, though.

Regardless, many people have health problems that make getting to an doing work a challenge. Meeting that challenge is way better and sitting at home.
I was disappointed by this headline. After resetting my Evernote password this morning, I was looking forward to reading about a new technique that would allow me to avoid password resets in the future. Oh, well.

Is anyone working on such a thing?

(While I'm thinking of it, wordpress.com's password reset should be shot. I get several emails a day because it allows resets by username instead of email or username+email. This whole password issue needs some better minds assigned to it.)
lol at this bum's hopelessly orthogonal comment...
And this is why handling state in imperative programs is such a mess. You are fundamentally changing the way state is treated in that application - why shouldn't it require a massive refactor?
The real issue here though is it's a solution to a non-existent problem. This was potentially a problem before HDMI was a standard. That's no longer true though. Modern HDMI does video, audio and has an ethernet bus standard right on the cable.

All Apple is doing is proprietary lock-in here - it's not more flexible in anyway, where as HDMI is signal compatible with DVI and DisplayPort.
>The impact and fall injured my leg and also broke my wearable computing system, which normally overwrites its memory buffers and doesn’t permanently record images. But as a result of the damage, it retained pictures of the car’s license plate and driver, who was later identified and arrested thanks to this record of the incident.

This image retention also happened when he was attacked at a McDonald's in Paris last summer: http://www.huffingtonpost.com/2012/07/17/steve-mann-attacked...

Here's his account: http://eyetap.blogspot.com/2012/07/physical-assault-by-mcdon...

As far as I know, nothing ever came of it (i.e. there were no charges or settlements).
To the couldflare folks; It's refreshing to see you take responsibility,
but I think you've been a bit too hard on yourselves by taking all the
blame. First of all, what you hit was a unknown bug in JunOS, and
Juniper is to blame for their part. Using some form of staging to slow
roll-out of rule changes might have saved you from a full meltdown,
but when you're getting attacked, every second counts. Slow versus fast
roll-out is one of those really tough balancing acts in your situation.
You did a great job with it; by the time I saw the "cloudflare is down"
post in the newest queue, it was already back up running again.
> a package that allows streaming netflix via wine+firefox+silverlight

I've tried this, and the performance is pretty bad. I'll stick to torrents + MPlayer until that's fixed.
I think the point was that scandinavian countries are less bad than the alternatives.

There are restrictions on freedom of speech in just about every country btw.
Müslüm Gürses'i Kaybettik
"The second ingredient, caramel coloring, gives the drink its distinctive dark brown color. There are four types of caramel coloring — Coca Cola uses type E150d, which is made by heating sugars with sulfite and ammonia to create bitter brown liquid. The syrup’s other principal ingredient is phosphoric acid, which adds acidity and is made by diluting burnt phosphorus (made by heating phosphate rock in an arc-furnace) and processing it to remove arsenic."

Hmmm... arsenic

I'd rather there were no lethal poisons at any point in the production process.

I'm never drinking another glass of Coca-Cola. I'm not touching PEPSI either.
Thanks for the pointer. Leave it to reddit to have niches for everything. Subscribed!
Ask HN: How to deal with being overwhelmed when starting out
Hello HN,

I'm a 24 year old student who started learning coding about a year and a half ago and have been spending most of my waking time on coding the last 2 months.

With the introduction out of the way, I was wondering if anyone could give tips on how to deal with the sense of being overwhelmed when just starting out. I have learned the basics of Python programming when I first started out and have been writing little scripts which make my life easier but apart from that I have no solid experience with programming.

Lately, I've been trying to get into web development and I finished the "Web Fundamentals" track on Codecademy. Feeling that I without putting what I learned to use I would soon forget everything, I bought a domain, signed up for webhosting and created a pure HTML and CSS website. (You can find it at http://howyoucod.in but please be gentle.)

Now I want to expand on the foundation but I feel very intimidated and overwhelmed when trying decide where to start. I want to learn JavaScript, I want to learn Django, I want to learn JQuery and loads of other stuff that I find out about thanks to HN. I have ideas that I want to bring to life but each time I try starting work on one I find that I have to learn a lot of new stuff.

Don't get the wrong idea, I love learning. It keeps me occupied and I get a rushing feeling of euphoria when I wrap my head around something new. But when I have so much to learn, it's a problem for me to decide on where to start. I've been thinking of signing up for CodeSchool as I believe that I can benefit a lot from their content and I've been thinking about finding a way to attend a dev bootcamp in the US.

I would really help it if experienced developers can point me in the right directions and give me tips on how to prioritize my learning objectives.

Thanks a lot in advance!

PS: Wow, the process of creating a new thread on HN was more nerve-wracking than I thought.
When reading comments by nirvana you need to realise that anything done by Apple is good, and anything done by anyone not Apple (but especially MS, Google, and Samsung) is stupid, or evil, or crooked, a dumb.

"Google is trying to swindle people with dishonest PR stunts" translates into "Google is doing the normal pr stunts that every company attempt; there are problems with most pr."

In 1998 researchers with a 1000 subjects found a 93% confidence of predicting whether a comment was made by nirvana or not nirvana just from reading the post, based on phrasing such as "the real reality distortion field".
I find this really interesting as I built an augmented reality headset that used only sound as output to the wearer as an undergrad project. It tracked the wearers orientation an position as well as using ultrasonic to detect obstacles. It then used 3D audio to convey this information to the wearer. It was built as a framework on top of which multiple applications could be built and three demos that we (I did this project together with another guy) made were: a guidance application that used 3D positioned audio as waypoints; a virtual band playing music so you could walk between the instruments as if the band were playing in the room and finally an application that used the ultrasonic sensor to detect walls. The wall detection would play a number of blips in quick succession and the tempo was relative to the distance to the obstacle. The cool thing was that you could turn your head and get a general sense of the shape of the room by how the blips sped up or slowed down as you scanned along the wall.
Oracle Brings Java to iOS Devices (and Android too)
Why does your belly button accumulate fluff?
If I enter the first 10 characters in regular order of my French azerty keyboard that are &é"'(-è_çà)= I get a top 4/4 score :). Not very good for security.
Write your own profiler with JEE6 interceptor
I grew up in a blue collar family. This guy's father is the norm, not the exception. My grandfather was a lineman for the electric company. He worked around the clock in all kinds of bad weather and had friends who'd been electrocuted.
My father-in-law worked on an end loader while suffering through hemorrhoids and hernias. My brother-in-law has a crushed disc and works as an auto mechanic, oftentimes requiring him to lift things over his head when working in the pit. When he gets home at night he has one chair that he can sit in to relieve his pain.

This isn't macho cult bullshit, trust me they can't wait until they can retire. They're simply working men who'd go to the ends of the earth to provide for their families.

I can't speak for the rest of the world but this is the culture of a blue collar family in the American Midwest.

I am so glad I create software for a living. 40-50 hours work per week on average, more during a crunch, all in a climate-controlled environment. You can eat and drink any time you feel like it. You have flexible work schedules. And if your neck gets sore you're paid well enough you can go get a message and have it worked out.

We've got it made.
Get Customers Addicted to Your Brand- 20 Ways to Do It
I'm getting tired of these threads. Kids should be taught how to learn. Teach persistence and bravery in face of failure. (US schools have taught the EXACT opposite - perfectionism and fear of failure). This was why liberal arts were just fine degrees back in the day when standards were much higher.

Take the profit out of education - it's a human right.
@coldtea:

I understand you very well. I also agree with you. But at this point in human history, this is just a lost debate. Better minds have fought this but lost!

http://www.economist.com/debate/overview/186
This is pretty impressive. Keep in mind most of the team is on the west coast so this happened at 1am on a Sunday and they put up a post mortem within hours. Obviously you would prefer it not happen at all, but that is a great response imo.
I did something similar two years ago with Lua + sockets, same experience (but I never persisted with it long enough to figure out why, since my project was finished)
" If you can accurately predict something that happens at a future time or in a different place, then that's all I need to consider it science."

That's an extraordinarily vast definition. I think it's so vast as to be not just "an opinion I disagree with" but something I'd happily label "incorrect".

I can read some words on a piece of paper, put that paper down, and then predict what words will be written on it if I pick it up again and read it again. To call that science is, to my mind, incorrect.

I could likewise write down a sequence of numbers on that piece of paper, and predict what they will be when I read it again. Still not science.

I could save space by writing in a mathematical notation the rules for generating that sequence of numbers and again, I can predict what those numbers will be in the future when I expand that notation and get the sequence back.

I could save myself the hassle of deriving the sequence on paper by having a machine do it for me. What I've now made is a deterministic, predictable future event that is no more than what I described above. It's not science.
Thanks for the link. My dad used to build packaging machines like the ones in the video. It always fascinated me as a young child to watch them at work.
funny how the fairly obvious concept of resource scarcity, which probably underlies the father's post, goes unnoticed by most hn posters. i guess a natural affinity for technology and deep personal investment in learning to control it goes hand in hand with this insane whig mentality
Just to get it out there, this appears to be the current development of DTrace for Linux: https://github.com/dtrace4linux/linux
http://crtags.blogspot.com/
Which actually doesn't make any sense. Sure copper and cable has been around for thirty years but as Google Fiber, Verzion FioS, and AT&T U-Verse show it's often required to install new cabling and other hardware. This is true of Phone (dsl upgrades) and Cable internet also. I used to work as a Subcontractor for Time Warner's Road Runner internet service when it first arrived in North East Ohio. Part of the common work was installing new routers and switches after the new cable lines were installed in the individual neighborhoods.
Taking 1 master protocol (DisplayPort) and converting appropriately would make a hell of a lot more sense then starting with your own proprietary format, and putting compressed video decoders in your cables.

Avoiding custom hardware in devices just seems ridiculous - to support new standards Apple are either going to have to update their chips or update their devices, and they will have to update the cables too. There's not a saving here that isn't achieved by simply using an existing standard.
Yes, but we're not talking about encouraging people to become an English major, we're talking about introducing people to these subjects. Do you think people would learn more logical thought doing a year of coding or a year of reading?
Secrets to movie special effects :)