Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dancek
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
181.
▲
by
dancek
8y ago
Indeed. And it's not only websites, either. Consider all the people who still use sysvinit and (a fork of) GNOME 2. (Yes, I think many who oppose systemd do so because of the UI change.) And consider the much larger group that initiall
182.
▲
by
dancek
8y ago
That comes down to what code is easiest to read, and that is different for different people. If playing with the APL family has taught me something, it's that what someone sees as a completely incomprehensible mess might be very readab
183.
▲
by
dancek
8y ago
Certainly, and I do agree with most of the article. But the instances where lambdas are better replaced with an ordinary function don't use a different programming paradigm. My observation was about how different communities consider d
184.
▲
by
dancek
8y ago
Just a note: this works on macOS, but isn't very useful. It only shows cpu base frequency and cpu activity, at least without sudo.
185.
▲
by
dancek
8y ago
So in Python, imperative style is often more idiomatic than code that uses lambda expressions. While in some functional languages (Haskell) and array programming languages (J), tacit or point-free style is often more idiomatic than lambda e
186.
▲
by
dancek
8y ago
Not sure if you're familiar with the mentioned languages. I've been working on my first Clojure/ClojureScript project for a couple of months now. Alone, with no previous real-world experience on any lisp. I dare say I'm
187.
▲
by
dancek
8y ago
I was going to post just this. While I'm very skeptical that either of them will become popular, dat seems to be more suited for publishing websites and sharing large files. For a website it's nice that you share the whole site an
188.
▲
by
dancek
8y ago
I saw the talk live last Friday in ClojuTRE. Someone asked about performance, and IIRC the speaker said that a GraalVM-built native binary tends to run about 50% slower than JVM for long-running tasks. For some purposes this matters and for
189.
▲
by
dancek
8y ago
That's pretty much true, but I have to nitpick a bit. Arduino tends to mean an 8-bit AVR chip, say ATmega328. That's actually not very low-power and things get difficult once you need just a tiny bit of performance. Luckily there
190.
▲
by
dancek
8y ago
It always depends on your goal. If you want a quick prototype and are good with javascript, get a board that you can program easily with javascript. But maybe you want to learn how things really work on a low level. Or maybe you prefer to r
191.
▲
by
dancek
8y ago
Here's a link to the article. http://blog.fogus.me/2011/05/03/the-german-school-of-lisp-2/
192.
▲
by
dancek
8y ago
Note that Nils Torvalds voted against the directive today. My source is the Finnish tech magazine Mikrobitti [1] which gives a link to the vote results [2, p.38]. I'm sure someone will eventually post a more readable list of who voted
193.
▲
by
dancek
8y ago
This is a relevant answer. Thank you. We're using Integrant already so yes, I can mostly work in a REPL without restarting. But the restarts are more like 15 seconds. I'll have to measure and see what's so slow. My rdev platf
194.
▲
by
dancek
8y ago
I'm working on my first Clojure project and find JVM to be painful (it starts very slowly and eats lots of RAM). I'd appreciate any tips on making JVM non-bloated.
195.
▲
by
dancek
8y ago
That can happen with pretty much any technology if you hire people who can't learn new things. The current de facto tech stack for building SPAs in ClojureScript seems to be Reagent + Re-frame (or something built on top of them). It&#x
196.
▲
by
dancek
8y ago
Really? It's counterintuitive considering the GPU draws the screen anyway. Is it because the shader pipeline has some inherent latency that a software renderer doesn't?
197.
▲
by
dancek
8y ago
Yeah, the feeling is pretty much "the letter appears while I'm pushing the key down" vs. "the letter appears when the key returns to the top position". Both feel immediate in their own way.
198.
▲
by
dancek
8y ago
Input latency makes for a bad user experience. People just usually don't notice it when typing as it's so common. See https://danluu.com/term-latency/ for measurements of some terminal software and discussion
199.
▲
by
dancek
8y ago
Maybe you just saw a nice opportunity to make a reference. But if you also downvoted me, maybe you missed both my pun (a capitalist should be able to assess the value of everything ) and my point.
200.
▲
by
dancek
8y ago
Your colleague would be very grateful to you. If you don't know the value of grateful people, you're not much of a capitalist.
201.
▲
by
dancek
8y ago
Do you consider "religious" appropriate? I see the point that theology originally means something like the study of God .
202.
▲
by
dancek
8y ago
Well, that depends. It's easy to lock your front wheel for a split-second on gravel without falling---you just need to keep your balance while the wheel is locked. If there's a certain amount of kinetic friction front wheel drive
203.
▲
by
dancek
8y ago
Smartphones make it easier to optimize your transit lines on the fly, sure (yet I'll note the practice existed before smartphones). But there are different philosophies to traveling: some leave at the last possible minutes and ponder t
204.
▲
by
dancek
8y ago
If you want to, you could inspect the API and read source code for the plugins that you use (and disable automatically updating plugins if your editor supports that). Or you could run a local instance. It's all open source and plugins
205.
▲
by
dancek
8y ago
I'm using a ready-made solution from http://wirelesstag.net . While I think I could build suitable hardware myself, I wouldn't have the skills to make them run on a battery for two years.
206.
▲
by
dancek
8y ago
Why do I want to keep kindergarten photos of my kids, or why don't I want to manually save them one by one from the website? Why do you ask?
207.
▲
by
dancek
8y ago
It's behind a login and they've asked for parents' consent for each child separately. Everyone with access has agreed not to share any of the photos. I actually haven't shared my scraper script just because I think someo
208.
▲
by
dancek
8y ago
I can relate to this. I would like some remote control features though but then I always consider what a hacker could do and what's the worst that could happen if the system malfunctions. Quite often the worst-case scenario is a fire,
209.
▲
by
dancek
8y ago
Screen scraping photos of my kids from a kindergarten website. Recognizing good photos that feature my kids and deleting everything else is manual, though. Alerts to my phone if the fridge or freezer temperature exceeds a limit or the humid
210.
▲
by
dancek
8y ago
Even my dad has knit several Klein bottle hats for fun, inspired by one of those projects. I got one as a Christmas present.
More ›