Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
grayrest
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
151.
▲
by
grayrest
10y ago
No popular current generation framework relies on jQuery. The most recent one I can come up with is Angular 1's reliance on their jQlite micro-library but would use the full jQuery if it was on the page.
152.
▲
by
grayrest
10y ago
> I also spend/waste a lot of time, probably the most time in total, tracking down complex issues that got past the type system and existing tests and code reviews Nobody will argue against you on this. The static/dynamic debat
153.
▲
by
grayrest
10y ago
> I understand but I can't really agree since things like typos and type fails pretty much never happen to me, at least in production. The typos / type fail comments are shorthand for the real complaint, which is that a long-ma
154.
▲
by
grayrest
10y ago
> Yes, the first couple of weeks were a bit rough while I was getting used to the ownership system, but since then I have been progressing at a relatively quick pace. This is the very definition of "high barrier to entry". Clea
155.
▲
by
grayrest
10y ago
> it got me to start thinking about what I wanted in a functional language that compiles into JS I investigated Elm just after the 0.17 release, decided I was fine with it but didn't really love the language. I've since moved t
156.
▲
by
grayrest
10y ago
> The Rust ecosystem is so new that it feels a bit like we're in the Wild West. This is pretty normal for an ecosystem at Rust's stage of development. Ecosystem development is always something of a monkeys-on-typewriters effect
157.
▲
by
grayrest
10y ago
Does the new inference allow incremental construction of objects? interface Color { isRed: boolean, name: string } function example(): Color { let x = {}; x.isRed = false; x.name = &quo
158.
▲
by
grayrest
10y ago
> I've been looking at a bunch of the libraries that expand upon mio, but this is the first time I've heard of `rotor`. The current state of affairs is somewhat up in the air because Alex Crichton (futures) and Carl Lerche (mio
159.
▲
by
grayrest
10y ago
It got supplanted by Transit [0] as an interchange format. Both are only really used within the Clojure community. I use Transit for internal-facing APIs. [0] https://github.com/cognitect/transit-format
160.
▲
by
grayrest
10y ago
> Are there any enormous advantages to using Vim vs. a Vim emulator? There are lots of vim commands and most emulators do not implement the entire set. Macros, register recording, text objects, correct repeat, recursive keymappings, book
161.
▲
by
grayrest
10y ago
> I don't know exactly how fragile that magic is. It's reasonably robust for the HTML/JS part. The majority of current generation Javascript frameworks are built on similar techniques and the main thing Elm adds is the typ
162.
▲
by
grayrest
10y ago
Last time I messed with Swift, I was using a vim plugin based on SourceKitten[1] but it was a couple months ago over a weekend and I honestly can't remember how well it worked. If you were inclined, it seems like it'd get you most
163.
▲
by
grayrest
10y ago
Rust has been great. Not so much for the language itself but rather as a vehicle to explore the layers under the language runtimes I've been using for most of my career. It hasn't really changed my perspective on programming. I ha
164.
▲
by
grayrest
10y ago
Different poster, but I have an opinion. I think that if you're going to do React/Redux, your life would be easier in Elm. I'm a full time Clojure/Clojurescript dev and from my perspective, the main thing Elm is lacking
165.
▲
by
grayrest
10y ago
I've been using React as my primary platform for 3 years now and I'd be interested in novel React criticism. I believe the most important thing when developing software is managing state. The best cross-language technique I know f
166.
▲
by
grayrest
10y ago
They just had a meeting with TC39 about it. Here's the writeup from the node side: https://hackernoon.com/node-js-tc-39-and-modules-a1118aecf95...
167.
▲
by
grayrest
10y ago
> Are people really making projects with dozens (hundreds? more?) of dependent libraries? Yes. > Are there aspects of the language or runtime that reward multiple layers of configuration management? A significant fraction of the node
168.
▲
by
grayrest
10y ago
There are lots of languages in the world. The majority of them are written by a single person for themselves or (if there's funding involved) a small group of people who deeply understand the compiler. These are either research, hobbyi
169.
▲
by
grayrest
10y ago
If you're interested in fantasy land, you might also be interested in: https://github.com/rpominov/static-land https://github.com/gcanti/flow-static-land
170.
▲
by
grayrest
10y ago
This showed up on r/rust last night and there's a lot of discussion there: https://www.reddit.com/r/rust/comments/52grcl/rusts_stdcolle...
171.
▲
by
grayrest
10y ago
React has never been about speed (if you look at the official dev posts, speed is never listed as a top priority) but rather about not being slow (sCU check and whatnot). It's the slowest vdom implementation I know of, but it's fa
172.
▲
by
grayrest
10y ago
Since Rust people are reading this. I find myself wanting to walk an iterator pairwise regularly for stuff like this and I'm using: for (cur, next) in (& vec).iter().zip(vec.iter().skip(1)) { encoded_data.push(cur);
173.
▲
by
grayrest
10y ago
The construct wouldn't be valid as written for the reasons you mention. The blog post for this discussion glosses over the details by writing `impl Future<Item = Bool>` instead of the concrete type a future would have to have in
174.
▲
by
grayrest
10y ago
I didn't remember this being too bad. I just checked with Elm 0.17 using the tutorial's [1] nesting/3-gif-pair.elm as the main. Size is 209k out of elm-make, 60k minified (closure compiler advanced), and 19k gzipped. I wouldn
175.
▲
by
grayrest
10y ago
If you're interested in reading more, Frank moved his blog to a github repo: https://github.com/frankmcsherry/blog
176.
▲
by
grayrest
10y ago
They're using the same core library and conceptually work the same way but there's no no out-of-the-box unified widgets allowing you to share view code between both. So you can share your controllers, model, viewmodel, and higher
177.
▲
by
grayrest
10y ago
None of the things you mention are part of the Computer Science academic discipline, which is what they teach. Computer Science undergrad generally covers algorithms, data structures, parsing/compiling, operating systems, discrete math
178.
▲
by
grayrest
10y ago
> It took lots of mistakes, a lot of reading and shooting my own foot to finally start writing worthy code after like 2-3 years. This is completely normal and I expect this out of any junior developer hire. My brother-in-law went through
179.
▲
by
grayrest
10y ago
All languages add a bit of code to a binary to make the code you write runnable. Rust [1] and C add almost none, language like Swift and Go have to add their GC support code even if it's in the same binary, and jit+scripting languages
180.
▲
by
grayrest
10y ago
I've been putting time into Rust. There will always be a need for a C-level language and I think Rust has a strong long-term future. The language as it exists today isn't going to be my all-purpose default but it might be. There a
More ›