Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
netghost
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
241.
▲
by
netghost
11y ago
If you want to learn about prototypical languages, I think Io is a great place to start. http://iolanguage.org/guide/guide.html#Objects-Prototypes
242.
▲
The Constructive No
(monkeyandcrow.com)
2 points
by
netghost
11y ago
|
0 comments
243.
▲
by
netghost
11y ago
Chrome Canary at least is now showing deopt next to functions in the profiler.
244.
▲
by
netghost
11y ago
Could you compare and contrast Quill with some of the other editors that have popped up on HN recently? Are there philosophical differences, or major differences in approach between Quill, Trix, and ProseMirror?
245.
▲
by
netghost
11y ago
This isn't meant to replace something like say vim, or perhaps dream weaver. Instead, I believe this is for people who want to make it easy for casual users to format text in a comment or what not.
246.
▲
by
netghost
11y ago
If you use a few different browsers, like say Chrome and Firefox this might be handy. Also if you're sitting at someone else's computer, it can be handy to use some bookmarking website.
247.
▲
by
netghost
11y ago
Yup, here's how to use it to define a Singleton that is transparent to the caller: class S class << self attr_accessor :singleton end attr_accessor :value def initialize
248.
▲
by
netghost
11y ago
One use might be to create simple singletons. That said, I'm not entirely sure how you would do it, maybe have `Object#initialize` redefine `Object#new` to always return the singleton.
249.
▲
by
netghost
11y ago
And even before that Firefox supported a different JSX which also let you embed xml in JS. Looks like they removed it some time ago...
250.
▲
by
netghost
11y ago
Yeah, I'm super impressed by the element matching both when editing HTML and CSS. Plus the autocomplete for CSS was a nice touch.
251.
▲
by
netghost
11y ago
Frickin' enormous, but at the end of the day if someone is productive in vim, use vim. If they're productive with Atom, use Atom. You can spend your life proving that your editor is the truth, or you can get on with it and build
252.
▲
by
netghost
11y ago
That is, assuming you don't need to support older browsers like ie9 or ie8...
253.
▲
by
netghost
11y ago
So actually, I think you can often skip the wrapper div with _display_ table as an orphaned table cell generated a row and table around it for layout purposes.
254.
▲
by
netghost
11y ago
It has the words React AND Angular in the title. Instant upvote for folks I suppose.
255.
▲
by
netghost
11y ago
You mentioned that TextMate was dated. Have you tried TextMate2? I feel like the UX is a lot nicer than Sublime.
256.
▲
by
netghost
11y ago
Yeah, I think this is all under the hood, so in future releases, Postgres should perform even better for you ;)
257.
▲
by
netghost
11y ago
The first 12" macbooks were super efficient lap warmers. Mine would get so hot (doing nothing much in particular) that the case would temporarily warp and then snap back into place when it cooled. The first generation retina macbooks
258.
▲
by
netghost
11y ago
If you're not using meteor, but are interested in using this in node, take a look at the library it's built on: https://github.com/numtel/pg-live-select At a glance it looks like it creates triggers on the fl
259.
▲
by
netghost
12y ago
And recognize or communicate uncertainty. Too often I think that people like to brush uncertainty under the carpet, and then forget that their nice clean plan is just one of many possible outcomes.
260.
▲
by
netghost
12y ago
Or a brewery!
261.
▲
by
netghost
12y ago
Actually he does point folks towards the work being done with Mercurial to embrace the centralized + offline commits model. Facebook's apparently been building some good stuff around that.
262.
▲
by
netghost
12y ago
Achievement unlocked!
263.
▲
by
netghost
12y ago
I think it's completely different. This essentially lets you build local applications that use the dom as the UI and JS as the controlling language. The site doesn't do much to explain that though, so here's a presentation:
264.
▲
by
netghost
12y ago
I honestly wouldn't suggest it for production code, but I think that learning it gives you a great perspective on how powerful the right simple basic constructs can be. So learn it to be a better programmer.
265.
▲
by
netghost
12y ago
Lua and IO are easily the two best ways to learn Javascript. Once you know one, or both of them, you can see what's going on so much more clearly.
266.
▲
by
netghost
12y ago
I think he's just saying, there's a time and a place for Rails, Sinatra, etc, but you can get some simple stuff done without a whole lot of overhead.
267.
▲
by
netghost
12y ago
If you're interested in some actual code, take a look at this stampit library[1] on github. [1] https://github.com/ericelliott/stampit
268.
▲
by
netghost
12y ago
Just write ordinary migrations with updates and such. I think you should able to manipulate the JSON without too much bother. Here's the functions available for JSON: http://www.postgresql.org/docs/9.4/static
269.
▲
by
netghost
12y ago
There are some more tricks you can do using postgres' arrays to efficiently query the data: http://monkeyandcrow.com/blog/hierarchies_with_rails/ Namely using the && operator let's you make use o
270.
▲
by
netghost
12y ago
Mercurial as well for what it's worth.
More ›