Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
joncampbelldev
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
joncampbelldev
9y ago
I found yesql inadaquete for use with anything other than simple queries. Writing plain SQL is definitely nicer than an ORM, however, I find that manipulating SQL as data (honeysql) is far superior to .sql files with added magic (yesql). As
62.
▲
by
joncampbelldev
9y ago
You may find your comment turning less gray if you articulated the issues you see with this lib. I definitely would be interested, since I am a current user. Its always good to get a differing perspective on your tools.
63.
▲
by
joncampbelldev
9y ago
I'm currently using honeysql in clojure projects at work, it's definitely my favourite option for interfacing with mysql (although would of course rather use datomic, but then what patriotic clojure fan wouldn't?). In case an
64.
▲
by
joncampbelldev
9y ago
well clojure does pass by reference, but the reference is to something that cannot be changed (i.e. a persistent data structure)
65.
▲
by
joncampbelldev
9y ago
If you can shadow previous bindings then that would also cause no problem for repl re-usage, unless the shadowing syntax is different to the binding syntax. Either way, unrelated to the point in the article about the advantage of immutable
66.
▲
by
joncampbelldev
9y ago
As a person who has used the standard java debugger in intellij for clojure, could you expand on what features are missing? I find I don't get much use out of it anyway, due to immutable values and (mostly) pure functions I find I don&
67.
▲
by
joncampbelldev
9y ago
I think there may be some confusion here, immutability is about the stability of values (e.g. I have a string, list, map etc and I want to pass it to others, view its value, make changes without affecting the original value). Immutability i
68.
▲
by
joncampbelldev
9y ago
Very nice. Perhaps using (partition 2 1 _) could be a clearer way to view the prev line instead of the reduce on a nil?
69.
▲
by
joncampbelldev
9y ago
There certainly is a minimum, especially when bringing in another language entirely. The point of the google closure compiler, with advanced opts, tree shaking etc etc is that the size will grow slowly as you add hundreds of your own source
70.
▲
by
joncampbelldev
9y ago
Did you say "immutable by default"? fanfare, fireworks, etc CLOJURESCRIPT!! sorry I just get really excited when I can mention it ... I'll go now
71.
▲
by
joncampbelldev
9y ago
A one-off event for a single-page-app which is likely to be used for more than a few minutes, and if performance of old mobile users matters then a native app is necessary, period. If you're talking about a webpage then yes that would
72.
▲
by
joncampbelldev
9y ago
Like the 966k of JS on your homepage? ;) There are several things to consider with download time: - is this a website? why on earth do you need react or anything for a website? - is this a single page web application? then to develop with a
73.
▲
by
joncampbelldev
9y ago
60k is hardly an issue, most hi-res images would be larger than that. Plus due to the google closure compiler code can be minified with an aggression unknown to the typical js minifiers. Add to that tree-shaking (removing unused code) and t
74.
▲
by
joncampbelldev
9y ago
Immutability in js is awful hence the complexity, a library like immutable.js can make it better, but the language is just not built for it. Because imperative code and persistent, immutable data do not play nicely together.
75.
▲
by
joncampbelldev
9y ago
If the author wishes to continue with js/react/redux then he needs to pick up a library like immutable.js to cut down that immutabiilty helper crap. However, there is a better way ... lein new figwheel my-app, clojurescript+refram
76.
▲
by
joncampbelldev
9y ago
Perhaps native speakers enjoy this kind of talk a lot. I can't speak for others but I certainly did. I don't feel that listening attentively for a couple of hours is that much of an imposition.
77.
▲
by
joncampbelldev
9y ago
Just to say, from my perspective I love your talks, zero distractions, just a long cogent train of thought to follow. Please don't feel the need to make too many changes.
78.
▲
by
joncampbelldev
9y ago
This kind of thing is useful for web applications, specifically single page apps i.e. a situation where the user needs to have javascript to use the product / whatever in question. Easily scoped and programmable css is very useful for
79.
▲
by
joncampbelldev
9y ago
This is why slack has configurable notification levels, depending on message content and the channel its sent to.
80.
▲
by
joncampbelldev
9y ago
If the standard data structures in your language are mutable this will not save you. Luckily many languages like Java have nice third party persistent collection libraries
81.
▲
by
joncampbelldev
9y ago
what is the relationship between a concurrency primitive like coroutines and a view library like react?
82.
▲
by
joncampbelldev
9y ago
I think long term stability is more an indication of your competence as a software engineer than flex builder's stability. not bashing flash/flex though, my first job was making educational flash games. I wish I could be as produc
83.
▲
by
joncampbelldev
9y ago
I'm learning mandarin and have a chinese girlfriend, fully ready for the takeover when it happens ;)
84.
▲
by
joncampbelldev
9y ago
How easily extendable is that without the original source (e.g. when using as a library)? From what I can see it looks like if you can't edit the case statements you can't extend the functionality (e.g. expression problem stuff).
85.
▲
by
joncampbelldev
9y ago
for people as disappointed as I was that this wasn't a guide to a perfect mini burger, this is my goto guide: http://aht.seriouseats.com/archives/2010/03/the-burger-lab-h...
86.
▲
by
joncampbelldev
9y ago
Very good, although I thought the dynamic typing one was a bit snarky. I'll happily give up dynamically typed languages like clojure when structural typing can give me the same flexibility. I say this as a person learning idris and Has
87.
▲
by
joncampbelldev
9y ago
That is an accent, not an apostrophe
88.
▲
by
joncampbelldev
9y ago
Unfortunately there are still some people who don't believe it today :(
89.
▲
by
joncampbelldev
9y ago
they are excellent observations, but it seems pretty clear the team would be unable to implement them properly this late in the game, or worse unable to understand why they are a good idea.
90.
▲
by
joncampbelldev
9y ago
buildkite can be done entirely on your own infrastructure (for the purposes of source control and builds), its an interesting setup: - the ui is SaaS, but it doesn't care about your repos or build agents - the build agent runs on your
More ›