Recent submissions

Comment · 10 years ago
Sweet, thanks! I'm not sure why I didn't think to try that. Worked for me!
Comment · 10 years ago
For the people who want to try this on OS X run `locate ncurses.h` to see if you have the ncurses library. If you have Xcode installed, you should have it in a few places. Then update the Makefile, set `NCURSES_H = {dir}` and it should make and install just fine.
Comment · 10 years ago
Its pretty cool to see this being done in ASP.NET Core and TypeScript.

Microsoft sure has come a long way over the past few years. I'm glad to see that developers are embracing it too!

Comment · 11 years ago
Comment · 11 years ago
That is the most common occurrence of this issue. It can also happen with directives that use transclude or if the app is explicitly call Angular's $interpolate function on a user's input.

You should definitely avoid mixing server side and client side templates, but if that's too much work, scrubbing would work. You would need to strip the expression stand and end symbols. Default symbols are '{{' and '}}', but some apps use different symbols to avoid collisions with other template engines that use the double curly brace.

Comment · 11 years ago
From the research I have done, this is a true statement. The reason being is people are adding Angular into their web apps that were initially built with an MVC framework of some sort.

The problem ends up being that they mix server side templates with client side templates. If user input is rendered in a server side template and ends up in an element that is part of the Angular scope, the expression will evaluate. So attaching an angular controller to your body tag and then including server side templates within the body, is bad...

Comment · 11 years ago
So who will be the next president?
Comment · 11 years ago
Author here. Thanks for sharing! I was wondering why I was getting traffic from HN :)
Comment · 11 years ago
Completely agree! I started limiting myself to apps that had night mode such as, Alien Blue and Tweetbot.

Being able to go from a computer with f.lux to my iPhone with f.lux will play much nicer with my eyes at night. I can literally feel the strain in my eyes when going from f.lux to no f.lux.

Comment · 11 years ago
That Minimal Viable Product graphic on there is a classic! I love it! Always a good thing to show people when when they get too hung up on the planning phase.

I'm a believer in: Just build something that works and iterate off that. Prototype rather than over-engineer. Over-engineering early is future proofing for a future that may never happen.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton