Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
junke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
391.
▲
by
junke
10y ago
Are you sure you aren't mixing causes and consequences? I'd say that this is actually because undefined behaviour is hard (didn't say impossible) to get right at the human level that tools were, and still are, being developed
392.
▲
by
junke
10y ago
Why just type errors? You might want to trace any error that occurs at runtime back to the original source code anyway.
393.
▲
by
junke
10y ago
In France, you are a donor by default if you don't opt-out. In 2018, relatives won't be able to oppose organ donation in case of uncertainty.
394.
▲
by
junke
10y ago
> In Lisp's case, you don't get to choose - the macro system critically depends on a particular representation (named variables) Please tell me how Haskell represents HOAS and how this is not possible in Lisp. Also, read Barzi
395.
▲
Question about type assertion in Go
(varunksaini.com)
2 points
by
junke
10y ago
|
0 comments
396.
▲
by
junke
10y ago
> This does sound like a rookie mistake, and I'll bet there's a dev somewhere saying "Oh crap" a lot because of it. Howard Wolowitz.
397.
▲
by
junke
10y ago
> Indeed getting anything done is hard. Why? Too much Red tape?
398.
▲
by
junke
10y ago
Worth noting that you can both read and print such forms.
399.
▲
by
junke
10y ago
> ... this doesn't make sense. In order to have an ML, you take a subset of Common Lisp and specialize/extend it in a very specific direction. The part that are removed from Lisp are the one you don't care about. I care ab
400.
▲
by
junke
10y ago
Not all languages age the same way. That's the reason I enjoy writing Lisp code even if I am not paid for it. There are some warts, but it aged well.
401.
▲
by
junke
10y ago
> What if we don't use that operator anywhere in a program and don't even know it exists; how do we know the language is not functional? ;-) If a tree falls in a forest and no one is around to hear it, does it make a sound? If
402.
▲
by
junke
10y ago
I am also aware of that. I am not really trying to convince you of anything, mostly trying to prevent casual readers from being taught Common Lisp from you. Look at the example you just gave, this is beyond ridiculous. I would prefer if yo
403.
▲
by
junke
10y ago
Structural equivalence is given by EQUALP and has of course its own limitations (but works with trees, user-defined structs and hash-tables, for example). Of course, if you use the identity comparison, you get different results. I agree CL
404.
▲
by
junke
10y ago
Not a Haskell expert, but maybe monomorphism restriction can require you to perform an eta abstraction. Just saying.
405.
▲
by
junke
10y ago
Yes, hence the distinction between first-class features and others, which you have to implement yourself.
406.
▲
by
junke
10y ago
A term does not necessarily become meaningless when it applies to a lot of things. "Functional" might be a broad category after all, not the exclusive name of a subset of functional languages. And if your language allows different
407.
▲
by
junke
10y ago
Yes, it's terrible. How can I pretend to be working with such a name...
408.
▲
by
junke
10y ago
As far as I know, a placebo is all about symptoms and how a patient perceives them. When you take care of a patient and give him/her a pill, statistically the patient will report to have recovered quickly or suffered less. There might
409.
▲
by
junke
10y ago
Take it from the other side: why would a language that allows to create higher-order functions/closures not be called functional?
410.
▲
by
junke
10y ago
Ideally, only results should matter. But 'Zzz' somehow reinforces the default assumption that a remote worker will try to be paid for slacking off. Now, I am going back to bed.
411.
▲
by
junke
10y ago
> Notifications are muted and the sender sees a 'Zzz' symbol next to your name. That's a minor thing but 'Zzz' really sends the wrong signal to the sender: if you are not available, then you are sleeping (i.e. un
412.
▲
by
junke
10y ago
This example does not fit my experience of "exploratory" programming. Here the author implements DPLL from a textbook, and while there is a gap to fill between pseudo-code and Haskell, the problem is already well-defined. Think-up
413.
▲
by
junke
10y ago
The begs the question: can we SETI at home?
414.
▲
by
junke
10y ago
Symbol property lists (like in CL: http://www.lispworks.com/documentation/lw70/CLHS/Body/t_symb... ) are useful, but you have to take care about the difference between symbols and variables. The same symb
415.
▲
by
junke
10y ago
This looks like TheDailyWTF.com, but thanks.
416.
▲
by
junke
10y ago
I don't deal with such huge files. Honestly, what use case requires 900GB of JSON ?
417.
▲
by
junke
10y ago
> I had this "JSON" file sent to me Why? By whom? Did you complain loudly?
418.
▲
by
junke
10y ago
I don't know what toolkit you are using, but when I want to place text with e.g. SDL_ttf, I can compute the width and height of a string knowing its font. IMO relying on a specific font is exactly like throwing magic numbers in a codeb
419.
▲
by
junke
10y ago
This request handler, in particular, produces HTML/CSS and Javascript in the same scope: https://bitbucket.org/tux_/rssparser.lisp/src/7a9f5ed45aca8b...
420.
▲
by
junke
10y ago
In those cases I take a defensive approach. There will be exceptions I don't know about, and that's fine. I let go the desire to fully know the set of all exceptions that can be thrown. Instead, I weaken my assumptions and code as
More ›