Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jorams
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
61 ms
·
811.
▲
by
jorams
10y ago
I very much agree. There are some cases where short variable names make sense. In the example the loop index is called "i", and that's good. It's good because it's just an index . The only reason it's there is
812.
▲
by
jorams
10y ago
Claiming that the comments are "serverless" is the equivalent of claiming that the ride is "carless". You, the person being driven around, can be "carless" and you, as a site owner, can be "serverless&
813.
▲
by
jorams
11y ago
CLOS only allows dispatch on classes and not types, because there is no hierarchy in types. For example, if you have a method specializing on the type (satisfies a) and a method specializing on the type (satisfies b), and you call a generic
814.
▲
by
jorams
11y ago
Do note that Drudge Report is far from an unstyled page. I'd say the styling it does have is far worse than the default browser styling in terms of readability.
815.
▲
Loops in Lisp Part 4: Series
(malisper.me)
1 points
by
jorams
11y ago
|
0 comments
816.
▲
by
jorams
11y ago
Has it? The order pure functions are applied in doesn't matter if their inputs don't change. Here, the inputs do change. The result of handleCollisions is a different state than the state you pass into it, so you should expect a d
817.
▲
by
jorams
11y ago
> This is exactly the kind of problem that functional programming was supposed to help us avoid! No, no it isn't. Just like you wouldn't expect 2 * 3 + 8 to suddenly return 22 when you intend it to, you shouldn't expect th
818.
▲
by
jorams
11y ago
I'm a bit confused by this. I thought the entire point of making things "native" was that the app would feel like it belongs on the platform. Native interfaces have certain details that might not be immediately noticeable, bu
819.
▲
by
jorams
11y ago
Imgur does that, based on referrer: http://minimaxir.com/2014/02/moved-temporarily/
820.
▲
by
jorams
11y ago
It's a bit non-obvious, but there are some smaller plans. You have to click the arrows on the sides of the box to see them.
821.
▲
by
jorams
11y ago
The total setup you need is equivalent to what you'd need to do with Clojure. 1. Install runtime (JVM/CL implementation) 2. Install dependency loader (Leiningen/Quicklisp) 3. Install any native libraries required. 4. Get the
822.
▲
by
jorams
11y ago
You are missing the point. People that choose Python do just that, they choose Python. The use of JS is very often not a matter of choice, because it's the only language supported in browsers.
823.
▲
by
jorams
11y ago
Here (in the Netherlands) I see more and more kitchens with built-in instant hot water dispensers (like a Quooker[1]) instead. It's been a long time since I've seen anyone use a 'dumb' kettle. [1]: http://www.
824.
▲
by
jorams
11y ago
For some perhaps the color of the text is the only complaint, but for me the font is also illegibly thin [1]. I got around it by disabling the web font, because just setting the font weight to 600 didn't fix the odd shapes [2]. The bo
825.
▲
by
jorams
11y ago
That's not a problem because subtraction in Racket, as in any Lisp-like, looks like this: (- x y)
826.
▲
by
jorams
11y ago
Note that point 3 was an answer to the question > What features of EE belong in CE in your opinion? which means rcarmo knows they're in EE, but thinks they belong in CE.
827.
▲
by
jorams
11y ago
What your parent meant is that your #_ only comments out the first form, not the other two. Surrounding them all with an extra pair of parentheses groups them into a single form.
828.
▲
by
jorams
11y ago
The code base being a mess is a known problem. There's an issue open for the next release to get rid of all those useless files ([1]). The code has also recently been passed through clang-format, and in general the quality of the codeb
829.
▲
by
jorams
11y ago
While I don't particularly like your tone, I found the inclusion of that entire paragraph surprising. The paragraph immediately before it states: > Where the quality of the idea matters, not the author’s qualifications. It is then f
830.
▲
by
jorams
11y ago
> Who on earth thought it was a good idea to have a two step for username THEN password!? Google, as of a while ago. Persona at least had a good reason for it, with not all users needing to enter a password.
831.
▲
by
jorams
11y ago
I'm a bit confused about the use of "just give me a system font", then several named fonts and then "sans-serif". Isn't that exactly what "sans-serif" does, giving you a sans-serif system font?
832.
▲
by
jorams
11y ago
> But most importantly, it just isn’t Reddit. I think the thing that would set Upvoted apart, and that's basically the one reason it could work, is the fact that under the hood it is Reddit. Reddit has an enormous community that p
833.
▲
by
jorams
11y ago
That first app is odd. I am in the Netherlands, but it is "not available in your country". The second one is.
834.
▲
by
jorams
11y ago
If you're looking for a quick tool to serve static files from a directory, darkhttpd[1] is also pretty good. [1]: https://www.unix4lyfe.org/darkhttpd/
835.
▲
by
jorams
11y ago
The author almost immediately writes off Common Lisp for lack of "frictionless access to a rich ecosystem of code written in the same language as your software", then recommends Clojure. Most of the ecosystem you have access to in
836.
▲
Debugging Lisp, Part 5
(malisper.me)
131 points
by
jorams
11y ago
|
10 comments
837.
▲
Debugging Lisp Part 3: Redefining Classes
(malisper.me)
84 points
by
jorams
11y ago
|
17 comments
838.
▲
Debugging Lisp Part 2: Inspecting
(malisper.me)
79 points
by
jorams
11y ago
|
9 comments
839.
▲
by
jorams
12y ago
I always wonder what people do with their email address to receive that much spam. I have a Fastmail account with a catch-all that receives all mail sent to a domain, and I rarely receive spam. I'm not exactly careful spreading my emai
840.
▲
by
jorams
12y ago
That's because it's expecting a UK keyboard layout. Press Alt-F12 to toggle to US, then it should work.
More ›