skysight-inc/HackerNews huggingface dataset:
> What is really the difference

Well, the difference has already been explained to some extent in other comments. In the first snippet using a templating engine, the engine automates the DOM manipulation. There is no procedural "and-then-have-the-component's-code-do-X" step.

In the second snippet you're responsible for writing that code and making sure that your `.foo` query didn't unintentionally pick up some other random DOM element, that you don't have logical conflicts in the case of some code relying on the class name's presence and other code toggling it, etc.

Re: performance, I think today it would be wise to start questioning the idea of hand-optimized DOM manipulation being faster than libraries, because most people aren't templating engine authors and don't know the tricks that those engines use, the algorithms to deal w/ the hairier cases, or what triggers deoptimizations in js JIT engines, whereas library authors are actively dealing with those concerns on a ongoing basis.

Two-way data binding is somewhat orthogonal to the templating engines' primary goals. All a 2-way data binding does is wrap a helper around an event handler (e.g. oninput) and a setAttribute call. But as I mentioned above, you don't need to use the bidirectional binding abstraction; you can have explicit re-render calls instead.
> Under its all its just a panasonic lumix

There was/is a cheap Leica digital that was a rebadged Lumix, but that isn't true of these full frame digitals.
Yea, but anyone good enough at CSS already knows that.
How BuzzFeed's Jonah Peretti Is Building a 100-Year Media Company
Given that the sidekick/hiptop was heavily reliant on servers (frankly the phone was dumb as a brick if the Danger servers were down), likely what they did was run a proxy of sorts that handled the actual AIM connection.

You could have something similar on IRC by running a bouncer on a shell account somewhere, and aiming your client at it rather than the IRC servers.

The bouncer would then stay connected as long as the shell server was running, and log any activity on the channels.
This leads to great and interesting debates. An opponent well used is a tool to sharpen your own arguments and make your own point shine clearly in contrast to another positition. It's easier to show what a "white" horse is, if you have a "brown" horse to compare with.
Don't be fooled by the circus. The string pullers have had a plan the whole time. While Trump and Sanders have slightly thrown a wrench in my predictions, they still factor in to the plan.

First, you have to look at who the original runners were: Jeb and Hillary. Jeb is connected to the action arm of the dark arts, through his father, brother, and his time in Florida, and Hillary is connected to the Rhodesian group for Anglo-Saxon dominance through her Oxford husband.

My prediction was that they would drop the dirt on Hillary mid-late cycle, while dropping the GOP forerunner (right now Trump) and suddenly shifting his votes into Bush. Suddenly we have a potential Bush vs Sanders/Hillary election, and the reason the world order group are fighting so hard to get Hillary the nomination is because Sanders is a wildcard in their plans. If they keep Hillary in, it's a globalist in office either way.

Incompetence is rampant, it's true, but don't let it smokescreen the hidden machinations, or else you will never be able to grasp the bigger geopolitical picture.
We read the books on the shelf
The other thing is it is real of course, the intent of it isn't for tourists, neither are the 'castles and queens' and the branding as you put it.

Not saying it doesn't help tourism, its just not the intent of it all & doesn't have much bearing on the decisions being taken as much as the simple act of continuing traditions.
Same! (Though I was cheaper and it convinced me to get the Lumix G2 with the same pancake.)
I was referring to the Copenhagen area in particular.

It's a nice balance between salaries and house prices. Malmö is even better. Since housing is usually taking the majority of your income, this has a huge impact on the quality of life.

As a postdoc, you can easily buy a house in Copenhagen. Or you can rent, at it's barely 1/3 of your salary. In Cambridge, an equivalent flat is more like 1/2-3/4 of your salary.

Also the rental market in the UK is really wacky with regards to tenant protection.
Do you still organize bike rides?
Beta? I upgraded from one of these normal popups that come when I start the app. When I do "Help" -> "Check for Updates" it still offers me 1.8.1 without any beta label. Am I overlooking something?
You already have the freedom to run your webservers as mirageos unikernels (with a networking stack written in ocaml). You already have the freedom to write and run everything you want in such an environment.

But what you really want, is to force other people to write code for you, but in a language you prefer (and for it to be easy and convenient for you). Good luck with that.
Content tampering is a surefire way to get users to leave to another service. Of which there are many.
Did you not read the Drone Papers documents? They go into much more detail and generally back up what this article is saying.
I've been hearing about D for at least ten years. I don't think it's going to really break out at this point - it's been sort of lapped in the trendy, new language corner by Go and Rust and whatnot.
I have segfaulted the Java vm plenty of times. Technically that is not pure Java code, because the vm is written in C++, but it was triggered by pure Java code. I don't use much complex code written in C++ that I can see crash, but I do remember Rails being very happy to execute whatever code you feed it as yaml.

Ultimately every language will have bugs when people neglect to validate all possible user input. There is one class of bugs that typically doesn't happen outside C (segfaults) but I can't imagine a C version of Rails executing YAML as code - and at least the segfault is more difficult to exploit.
> Haven't you just confirmed that in your opinion, the problem is that the teachers and administration can't or won't do anything, so they're doing "bullying theater", and handing off the problem to all the pencil-necked bystanders, who really have no business intervening, and lots of motivation not to intervene?

Oh, totally agree. The end result is awful, regardless of the reasons.

> Personally, I don't even believe the "fear of lawsuits" thing. I was in middle school in the mid-70s, in Missouri. The crustier teachers still gave out "swats" as punishment. No fear of a lawsuit there.

This ain't the 70s. Such a teacher's ass would get fired very quickly. And it's not just lawsuits—parents can and will go to the media, and sometimes they print what they say, especially if something can be framed (justly or not, doesn't matter) as racism.

> Bullying was more or less winked at, depending on who was getting bullied. You don't have to believe me, but I saw a PE "teacher" walk in on a football player banging a poor kid's head into the wall, repeatedly. The "teacher" checked to see who was getting beaten, then walked away quietly.

I'm sure this happens—I've seen too many accounts of it to believe otherwise. As with things like e.g. the power of teacher's unions to protect bad teachers, I have a feeling the facts-on-the-ground for this issue vary greatly across the country, and even district-by-district and school-by-school.

I doubt many teachers have a desire to preserve some power structure that involves bullying, though some might—usually they'd rather the bullies be removed from their class entirely. They're no fun for teachers, and their parents are usually even less fun. Mostly they want to go home feeling like the kids learned well that day, and bullies and other troublemakers are a leading obstacle to that. Effective responses to bullying aren't even available, though. Send 'em to the office, maybe a detention. Take away some recesses in lower grades. Talk to their parents, but their parents usually back them up and just get pissed off at the teacher (typically accusing them of racism when possible) so that's just tons of fun and so productive. That's about all they've got, and all it does is buy them (and the kids) a few hours at best.
> Israel: origin of half of the problems of the world, but nothing can be said against them

Over its 120 years (so far), the entire Israeli-Arab conflict (with 6 countries participating directly) has caused roughly 100,000 deaths[1]. That is a terrible, regrettable cost, but it pales in comparison with the 5-year-old Syrian civil war[2], the decade-old Mexican Drug War[3], or the nine-months-long Balkan wars[4] -- all unrelated to Israel, and just a sample of relatively recent world conflicts. So the fact that you think this relatively small (though long-lasting) conflict is the origin of half of the world's problems shows that there's plenty of "saying things against (or for) them" going on.

[1]: https://en.wikipedia.org/wiki/Arab%E2%80%93Israeli_conflict

[2]: https://en.wikipedia.org/wiki/Syrian_Civil_War

[3]: https://en.wikipedia.org/wiki/Mexican_Drug_War

[4]: https://en.wikipedia.org/wiki/Balkan_Wars
1. You shouldn't use `=` for assignments in R but `<-`. `=` does late binding.

2. You shouldn't use `class()` here but `mode()` to check the actual underlying data structure.

> mode(d)
[1] "list"
> mode(e)
[1] "list"

3. The reason `[` works differently is because it a S3 method which invokes different functions for lists and data.frames -- that's why class(d) doesn't return "list". See `methods("[")`.

See https://cran.r-project.org/doc/manuals/r-release/R-lang.html... for details.
Comparing Rails and Phoenix: Part I
Much love for King, but he was wrong as a point of fact. Violence has by far resolved more issues than anything else.
ProPublica's Campaign Finance API
Yes, it's a sad situation. In Scandinavia I was always renting houses from people that had moved abroad, or switched countries for a while. Here it's always investors, who are feeding the bubble.
You don't like Chef Hops? ;)
Similar to the value that shared hosting provided in the 90s I think this is a natural evolution to provide similar value 2 decades later.

The benefits here are that it is pay per use, scalable, and opens up more possibilities than traditional shared hosting.
In layman's terms - It probably won't, just install security updates as usual and you shouldn't have to worry about it.
Ask HN: Looking for a quotation about mentoring
I know I read it somewhere--it was a fairly well-known name in programming, and went along the lines of "In order to be ten times better at programming, help ten other programmers learn how to be better." Looking for the exact quote and source
You are missing the forest for the trees. Grandparent is saying "replace all C with Rust" and you replied with "but look, Rust programs rely on glibc! It's unsafe!"

Yes, Rust programs can be affected by this. But only because they call into C at a lower level, for the libc layer. If glibc was in Rust it would provide security to all application, including ssh or curl which aren't in Rust.

Also, extern "C" is for C FFI exports not calling C APIs. The world unanimously decided C FFI is the least common denominator, so its not like Rust can provide a different API with better safety hints.
Whoa, $55M series c for a company with zero plans to monetize something that's very difficult to monetize? I must be missing something here. They must have incredible growth or something but even then what's the end goal? Ad words won't succeed on images (Google tried this twice; once with text and once with images[1]) so why do they think they will? Didn't imgur have a similar issue when people would just link to the image thus working around their ad placement anyway? imgur had to resort to pro subscriptions and creating their own social network of sorts where they could place sponsored content to make money[2] but where would either of those fit into Giphy?

I feel like I'm either missing something incredibly obvious that's going to make Giphy rich or...these investors are just throwing money away. I'm not sure which but it at least feels like it must be the former.

[1] http://www.cnet.com/news/google-adding-display-ads-to-image-...

[2] http://www.businessinsider.com/this-is-how-imgur-plans-to-ma...
You don't need to modify your Django projects in anyway to use it! Super easy to come, super easy to go.
Update your machines and you should probably restart too so any running processes link to the new libc.
You win the Internet!

Seriously. There's an LA Tech Slack that I really wished was something other than an endless cascade of gif spam. I left it because I got sick of the red notification buttons making me head over to look for something about... I dunno... tech... and instead there's a dancing nut sack.

/giphy facepalm
Does this do anything to address the difficulties of sharing the gpu resources among processes, particularly concerning untrusted code like a website? Even opengl es can crash my video driver easily under a heavy load and it's more careful than opengl.
SMS and MMS is handled in a store and forward fashion, much like email. So if the connection between carriers are down, or saturated, or a million other reasons, it will stall for the duration. And the delivery can only happen over carrier mobile networks.

Whatsapp on the other hand can deliver as long as there is some kind of net connection present (wifi, cell, even USB to a PC with ethernet may work in a pinch).
JavaScript Safe Navigation Using Proxies
Craig Mod even mentions it in this article:

> Earlier in 2015 I used the Fuji x100t for three weeks but wasn’t impressed enough to write about it.
True, but it specifically says "hide public methods from the superclass".
There is a book called What To Cook When You Think There's Nothing in the House To Eat that is an attempt to solve this problem. I've never read it though, so I can't really say if it works or not.

That being said recipe ratings are so useless.
The Poppy Humanoid project
You are correct, a US Marshal would almost certainly be armed while on duty.
Intelligence Squared does this. Interesting podcasts. US version: http://www.npr.org/series/6263392/intelligence-squared-u-s UK version: http://www.intelligencesquared.com/podcast/
C++ is a mess, but Java, Ruby, Swift and Python aren't viable options if your software is performance sensitive.
I was careful in my wording. I do grant that the initial war in Iraq catalyzed the creation of ISIS. What I was saying here is that the power vacuum we caused in Syria and especially Libya created a place where that seed could grow and thrive.

But anyway, that wasn't the main point. The real point was to show that it wasn't a neocon that started our wars in Libya and Syria - it was today's iconic Progressive who did that, and without any sort of Congressional approval at all. Those wars can't be attributed to neocons, they are the Progressives' to own.
Phone "helping" me! I meant Readline.
Not really, no. The very first modern stack overflow exploit (Lopatic's NCSA HTTPD) targeted HPPA, where the stack grows up.
Are fucking serious? Have you built anything significant?

This is a very empirical view, not a superstition. If you want to learn more about this, and aren't just trolling look at the development of the A4 Skyhawk, the lunar lander, the space shuttle ... hell, any well documented large system.

I wish I could reach through the internet and smack you in the head for such a stupid comment.
This is exactly my reason for starting a couple of recent side-projects in C. You can pretty much count on the target system having an ANSI C compiler (even rather old systems), which can't be said for any other language. Have an ANSI C compiler? Great! You don't need anything else to build and install this program. You don't need to install a hefty runtime like the JVM and you don't need to know what a gem is.

I don't think I'm immune to the hazards inherent in the language. I try my best be aware of them and to write safe code, and still find myself introducing a segfault now and then. Luckily, tools like valgrind and Coverity can really help to catch these kinds of issues early (of course, they can't catch everything, but I've been amazed by just how much they do catch).
Ah, that reminds me of the internet of yore. I almost miss Geocities.
So it'll be of no use to those of us who use the vi mode.
To a first approximation, $1200 probably sounds like "too much to pay" for a camera to the same number of people that $5000 does. We all have our baseline for what a camera "should" cost...and somewhere, I suspect, someone is thinking "$1200? I can get a DSLR for $500!" and to that "I will just use my phone, thank you very much."

One of the things about Lecia is that it supports it's customers and will repair their cameras. Nobody fixes Coolpix L11's.
1997 Letter to Amazon Shareholders by Jeff Bezos [pdf]
First of all it would be great if you didn't insult me to bring across your point.

The second thing I'd like to say: I never contradicted any facts you state here. Likely they will be using the data to improve their ICBM's, it would be an enormous waste of resources if they didn't. (and so does every other country that has ICBM's)

I said: nothing indicates that they will use a nuclear weapon, "it is all about the delivery mechanism" -> they will use ICBM's but without the warhead, which does not break any treaties to my knowledge.
Here's a good article on the issue of debtors prison. I find it particularly telling that putting someone in actual jail for failure to pay a debt is considered a human rights violation. IMHO, if someone is capable of paying and isn't, the most action which should be taken is to garnish their wages.

https://www.themarshallproject.org/2015/02/24/debtors-prison...
you need to restart all processes that might do a network address lookup. That's pretty much every daemon.
This book has everything you need: http://www.amazon.com/ARRL-Ham-Radio-License-Manual/dp/16259...
How to Hide Spam Links in Blogger Comment Section – Onenaija Blog
There is no silver bullet, but can we at least stop aiming the gun at our own foot?
Thanks, that's a neat site too!
That looks awesome. I backed it.
Isn't the difference that bankruptcy will not erase student debt. Debt collectors otherwise have to take that into account when collecting, but not for student debt.
I didn't know this, thanks. Where was it invented?
Invoking the blunt hammer of armed enforcers is an unnecessary act. Any of the debtor's current and future wages can just as easily be garnished with the same stroke of a pen.
New app turns smartphones into worldwide seismic network
I think it's possible to statically link glibc in Go, but I don't recall the particular compiler incantations offhand.
I am legitimately unsure if this is sarcasm or not. Well done.
And "go get" is already wordplay.
Create Images for Twitter, Facebook, Instagram and More at Once with DesignFeed.io
One of the main tenets of successful social shares has always been an engaging or informative image to accompany it. But not everyone actually follows that sound advice, even if they preach it to their team. It always sounds good in practice but time or lack of creativity are usually the limiting factors. Or on the flipside the abundance of choices of fonts, colors, pictures, etc. drives us to spend too much time trying to craft the perfect image.

Wouldn’t it be great to have all those design decisions made for you automatically and be able to craft an image for every social account in less than a minute? Well DesignFeed.io does all that for you with its smart design algorithm and wealth of available fonts, backgrounds and color schemes. Their motto is “Design at the Speed of Thought” and we are going to show you why.

http://www.thebroadsheet.co/2016/02/deisgnfeed-io/
> IMO C++ is syntactically very difficult

Are you sure you don't mean semantically difficult. With the exception of a few dark corners (meta programming, function pointers) the syntax is basically the same as another language. Learning that && denotes an rvalue reference is easy. Trying to understand what that means though is a lot more difficult
Google tried to. Twice. They tried with text ads and image ads. Neither works as far as I could tell. http://www.cnet.com/news/google-adding-display-ads-to-image-...
> "Giphy hasn't monetized, so the normal conversation about revenue multiples that's killing everybody else doesn't apply yet."

I keep hearing this kind of thing: that it becomes harder to raise once you start to have revenue.

Really?
Not only are they armed, they have a reputation for unusually thuggish behavior, since they know it's unlikely a federal court will discipline their own enforcement body.
How to (Possibly) Get a Job in Venture Capital
Get ready for that bubble to burst!
Oh, I get it. I think s/from/of is what was meant.
I was about to say the same. Seemed like a regular update to me.
No I think he meant that if you adhere to certain language constructs the language is just as memory safe as Rust/others.

Eg.
Don't use C++ as C with vectors, use C++ with the more modern language features:

It's the difference between:

// where f is of type fstream of a file containging "this is a string\r\n"No I think he meant that if you adhere to certain language constructs the language is just as memory safe as Rust/others.

Eg.
Don't use C++ as C with vectors, use C++ with the more modern language features:

It's the difference between:

std::string A = "ab" + std::string("c");

// And:
char Buffer[512] = {};
strcat(Buffer, "ab");
strcat(Buffer, "c");

Or alternatvily:

std::vector<uint8_t> SomeData = { 1,2,3 }
std::vector<uint8_t> OtherData(SomeData.begin(), SomeData.end());

// and:
std::vector<uint8_t> SomeData = { 1,2,3 }
std::vector<uint8_t> OtherData;
OtherData.reserve(3);
memcpy(...)

In the first one you're 'protected' by the stl code, which is arguably the same level of protection as afforded by any memory safe language’s library code.

std::string A = "ab" + std::string("c");

// And:
char Buffer[512] = {};
strcat(Buffer, "ab");
strcat(Buffer, "c");

Or alternatvily:

std::vector<uint8_t> SomeData = { 1,2,3 }
std::vector<uint8_t> OtherData(SomeData.begin(), SomeData.end());

// and:
std::vector<uint8_t> SomeData = { 1,2,3 }
std::vector<uint8_t> OtherData;
OtherData.reserve(3);
memcpy(...)

In the first one you're 'protected' by the stl code, which is arguably the same level of protection as afforded by any memory safe language’s library code.
Pick 2

- great idea

- great design

- great execution

I think C++ was great idea that was masterfully executed, but suffers from a chaotic overall design.
Vulkan API demonstrated on mobile GPUs
You know, you could just disable colors already picked in close proximity. For maximum distinguishing power, offer primary colors first, then secondary and tertiary colors, and then differences in brightness/saturation.

Unless you're dealing with several dozen cars arriving at once, it should be reasonably distinct, and even if for some freak reason there is more cars than colors, it'll still help sorting through prospective cars more quickly.

You could also do this automatically, but offering the user control over it may help them feel in charge and/or remember the color they picked better than just assigning one.

That's my thoughts on it.
People seem to forget that Objective C is a superset of C. No slapping on required. You're already writing it. Avoid brackets and a few other things and it's C.

You don't even have to rename .m to .c, but you can.
Master Bowling Fail
Yeah, but nobody likes CSS or thinks its well designed.
On this site, you'll find free tools to perform common string manipulations
Is Silicon Valley today's heaven or tomorrow's hell?
> How high powered?

Up to 1500 watts in the US.

Various specific frequency ranges have lower limits either across the board or in specific geographical areas (e.g., there are some restrictions near the Canadian border, and near White Sands Missile Range), but I don't see any that apply to the amateur bands that overlap with wifi bands.