Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jeremiep
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
121.
▲
by
jeremiep
10y ago
You're ignoring that we're pushing these languages a LOT more today than we did back then, it doesn't even compare. I also wouldn't call their feedback loops "fast"; you lose all state between reloads, you'
122.
▲
by
jeremiep
10y ago
What I like best is that a single tool (lein or boot) drives the entire development pipeline and you get to choose between data-driven or code-driven approaches respectively. Usually there's one place for dependencies, one for builds,
123.
▲
by
jeremiep
10y ago
What's wrong with the tooling? My current CLJS setup is boot with boot-cljs, boot-reload and boot-cljs-repl. They're configured using normal Clojure code in a build.boot file and the entry points are configured in live-reloadable
124.
▲
by
jeremiep
10y ago
I tend to abuse the fact that subscriptions can compose in re-frame to lower the work needed in order to react to app-db changes. The fact that you can namespace keywords make it easy to scale as well. Its also easy to optimize if you integ
125.
▲
by
jeremiep
10y ago
TIOBE is a terrible indicator generally. More activity doesn't mean more people are using a language. I wouldn't work for anyone using it to make decisions :) The Cognitect website[1] lists quite a few success stories using Clojur
126.
▲
by
jeremiep
10y ago
Its a bit more complicated. Its that JSON data, the request to API endpoint(s) to get it, the JavaScript to drive it, the request to fetch that JS and whatnot. That may not waste much CPU indeed, but instead wastes bandwidth and time. This
127.
▲
by
jeremiep
10y ago
Considering Clojure's impressive adoption I wouldn't call it a niche choice anymore; it even seems to be a win for most people adopting it.
128.
▲
by
jeremiep
10y ago
It really depends on your tech stacks. Running python on the backend and JS on the frontend will create enough impedance mismatch to indeed make server-side rendering of react rather difficult. Clojure's reagent and re-frame remove mos
129.
▲
by
jeremiep
10y ago
And then you can cache it. Whats the point of downloading megabytes of javascript, calling 80 different endpoints and then generating what could've been statically saved from the beginning and sent in a single request?
130.
▲
by
jeremiep
10y ago
I really don't like that argument because it assumes your program is important enough to be the only one running on your user's machines; it rarely ever is. Everything easily wastes 90% of the CPU resources it touches and the task
131.
▲
by
jeremiep
10y ago
Easiest win for me was trying out re-frame[1]. Not only do you get the best performance out of react, to the point where the actual virtual-dom implementation doesn't matter, but you also gain productivity and since it forces you to bu
132.
▲
by
jeremiep
10y ago
Its quite easy to do server-side rendering of react pages, then only mount the dynamic views once in the browser.
133.
▲
by
jeremiep
10y ago
The difference in Emacs vs Vim is Emacs-Lisp. This means Spacemacs is incredibly more powerful than Spacevim from a conceptual point of view. Emacs is a living, self-documenting environment and Spacemacs extends it quite a lot. This Lisp en
134.
▲
by
jeremiep
10y ago
You won't see it in the code. Run it through the debugger; the value of "channel" is sometimes the value of the GL enum rather than the index of the texture unit. It could've been fixed since as well.
135.
▲
by
jeremiep
10y ago
Most of these languages are also bootstrapped! I wonder when we'll see Swift written in Swift. And I wonder what kind of monstrosity a PHP written in PHP would look like.
136.
▲
by
jeremiep
10y ago
That's to optimize the scene, not the engine itself :) There could be some tradeoffs to those suggestions as well. For example using unindexed geometry for simple meshes can still be slower if there's many vertex attributes. Its a
137.
▲
by
jeremiep
10y ago
We had one as well. We're rendering VR with barrel distortion applied in the main vertex shader rather than as a post-process. Saves an expensive framebuffer (some mobile GPUs take as long as half a millisecond to switch render targets
138.
▲
by
jeremiep
10y ago
That's good to know! We went with ImageMagick and PVRTexToolCLI driven from a node.js script. I'd go with GraphicsMagick now that I know about it; IM doesn't yield good DXT compression quality.
139.
▲
by
jeremiep
10y ago
Latest. Here's the string concatenation to set the active texture unit. (By the way the fastest way to do it is "gl.TEXTURE0 + channel" instead of creating the string to index in the proper constant). https://githu
140.
▲
by
jeremiep
10y ago
I looked through the source code and saw string concatenation to set the active texture unit among many other inefficiencies. Everything does isReady() checks multiple times per frame (rather than creating it only once its ready). The mater
141.
▲
by
jeremiep
10y ago
That's mostly because of the architecture of Unity3D being both efficient and productive and UE4 being much more so. They're radically different architectures than what three/babylon have. And the fact that they both compil
142.
▲
by
jeremiep
10y ago
We tried babylon for a mobile VR experience, needless to say the performances are mediocre at best. It runs well on PC because it can afford to waste 95% of the computer's power and still run smoothly for small scenes.
143.
▲
by
jeremiep
10y ago
I agree, but even in those cases if you can't explain it without jargon its often a sign of a shallow understanding to begin with. I feel that if you can explain a concept without jargon such that a layperson understands it, then you c
144.
▲
by
jeremiep
10y ago
This is spot on. Being able to express ideas without jargon is to me a sign of mastery. You've learned the subject so well you can convey it in layman terms. I learned the most out of computer science from talks given by such people. I
145.
▲
by
jeremiep
10y ago
True, but every time you switch jobs you can improve your conditions and salary. At some point you're bound to find a place you're comfortable at.
146.
▲
by
jeremiep
10y ago
Countless people have tried to make programming "easier" and "more fun". It usually ends up into wishful thinking and lots of sentences with "awesome" and other words without any meaning in them. I'd rathe
147.
▲
by
jeremiep
10y ago
How is knowing something different "smarter" ? Its just another domain.
148.
▲
by
jeremiep
10y ago
And then you still quit and get better conditions elsewhere and realize you should've left long ago :p
149.
▲
by
jeremiep
10y ago
I prefer function composition for that when possible :) Aspects I feel are more useful when you want to modify the behaviour of existing code you don't own. Maybe if I had easy access to them I'd find more use cases :)
150.
▲
by
jeremiep
10y ago
Oh definitely, I was referring to things like Jira, Scrumm and the likes rather than industry standards.
More ›