Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Xurinos
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
Xurinos
14y ago
For Common Lisp to support converting [1 2 3] to a vector: ; [] to #() (defun bracket-reader (stream char) (declare (ignore char)) `(vector ,@(read-delimited-list #\] stream t))) (set-macro-character #\[ #'bracket-reader)
32.
▲
by
Xurinos
14y ago
What I get for not penetrating further than the examples. Yay!
33.
▲
by
Xurinos
14y ago
I experience a kind of jolt when I read lispy syntax mixed with constructs like [1, 2, 3]. It shouldn't be a big step to make a syntax for #(1 2 3) or (make-array 1 2 3) instead. Get rid of that infix comma syntax! Then there is the reco
34.
▲
by
Xurinos
14y ago
One should change passwords on an irregular basis (a regular basis is weaker protection than an irregular basis). This is just an additional layer of security, not a perfection. If the password has ever been compromised, a password change
35.
▲
by
Xurinos
14y ago
Wow, that component's approach is a nice idea. That component ALSO handles keyboard changes to the date.
36.
▲
by
Xurinos
14y ago
To add to this... http://filamentgroup.com/lab/date_range_picker_using_jquery_... Same one? Seems to have a slick interface that does not require an apply button, does provide ranges and customizable range options, although it does not h
37.
▲
by
Xurinos
14y ago
I have to do a ton of clicking to get to last year. It would be much faster to be able to type in arbitrary dates, too, and have the calendars update to reflect those new dates. And when I altered the date text in the editable field (the
38.
▲
by
Xurinos
14y ago
My hope is an answer to this problem that is so easy that my computer-phobic grandmother can do it: https://xkcd.com/949/
39.
▲
by
Xurinos
14y ago
If a girl asked you if she was fat (and she was) are you going to tell her that she is fat? An old coworker of mine had some fun advice... He said if his wife asked if some outfit made her look fat, and it did, then he would say so. He w
40.
▲
by
Xurinos
14y ago
2) Do you really need jQuery there? You seem to be using it only for the html method, and including 93K extra JS instead of just using innerHTML seems a bit overkill. It checks for the case that .innerHTML setting is not supported (I thin
41.
▲
by
Xurinos
14y ago
For humor, I started to read responses here on H/N to see how they match up. > I had problems reading all of this because the tin foil hat I'm wearing kept slipping down over my eyes. From the article: "5. Sidetrack opponents with name
42.
▲
by
Xurinos
14y ago
To the folks putting down ORMs: what is your alternative to solve the same problems? (A positive note would be nice.) For my work, using something with a Data Mapper strategy has been useful.
43.
▲
by
Xurinos
14y ago
It is. :( I have few accounts on the net, so I have rarely run into this except on sites I do not care much about. However, I understand others differ in habit. It is hard enough to remember one password per account.
44.
▲
by
Xurinos
14y ago
I agree. I put random garbage in the security question answers, a password so hard to crack that even I never remember it. ;) In other words, I opt out whenever I get the chance.
45.
▲
by
Xurinos
14y ago
As I recall in my reading of SICP, one of the first big chapters actually hints towards OOP but has you designing it from the ground up. They never call it OOP, but it is heavily leaning towards it; they just happened to set it up using cl
46.
▲
by
Xurinos
14y ago
Procedural has a static state of flow working from the program controling the data and OOP has a lose state of flow working with the data controlling the program. Would that be a easier true definition? No. (What is "static" vs "loose"?
47.
▲
by
Xurinos
14y ago
Here are a couple of the reports: Including Thing: http://heim.ifi.uio.no/~trygver/1979/mvc-1/1979-05-MVC.pdf Revision: http://heim.ifi.uio.no/~trygver/1979/mvc-2/1979-12-MVC.pdf
48.
▲
by
Xurinos
14y ago
archive.org helped me find this link: http://web.archive.org/web/20110612045555/http://www.wisdom....
49.
▲
by
Xurinos
14y ago
I wonder if anyone on Hacker News does the excellent service of doublechecking linked pages for attempted nastiness.
50.
▲
by
Xurinos
14y ago
I found a blog post that gives a rundown on the evolution of MVC ( https://billkrat.wordpress.com/2010/12/23/hello-world/ ) and links something similar to the document I had originally read ( http://heim.ifi.uio.no/~trygver/1979/mvc-2/1979-
51.
▲
by
Xurinos
14y ago
Naturally, I meant nothing personal to you. Would a bug report suffice? ;)
52.
▲
by
Xurinos
14y ago
I suspect this is because most people do not actually understand what MVC is and how it applies to server-client relationships; in fact, the wikipedia article on MVC is slightly off on the subject, assuming one accepts the original Xerox de
53.
▲
by
Xurinos
14y ago
Well, if he's like me, he has it selectively enabled/whitelisted for trusted sites (NoScript or Chrome's JS settings).
54.
▲
by
Xurinos
14y ago
He has JavaScript disabled. The code samples are provided by github's gist stuff. It's an interesting example of JavaScript being used to render rather than enhance, complete with a lack of graceful fail.
55.
▲
by
Xurinos
14y ago
Am I the only one who feels like commentary that categorizes "good" and "bad" programmers is unhelpful? One can make a good case for somebody having more appreciable traits than another, but I would be loathe to call either "good" or "bad"
56.
▲
by
Xurinos
14y ago
I used to have nightmares. I had died from falling, been injected with deadly painful poison, been shot up by various kinds of projectiles, or simply kept running. I built up a certain confidence in my waking life and my dream life where,
57.
▲
by
Xurinos
14y ago
It becomes dangerous if you have changes in your working tree. You truly lose those changes with a "git reset --hard HEAD" or the forced checkout.
58.
▲
by
Xurinos
14y ago
It's funny -- I think this is where some of the conflict lies. With git, you can do a bunch of commits with crappy comments and then, when you are ready to publicize it (push, whatever), you can use rebase to pretty up your commit history.
59.
▲
by
Xurinos
15y ago
What scares me is there is next to no choice on buying these, particularly if they are fast. There is an extreme advantage to people having easy access to information as it is presented in the video. Moreso than smartphones, it is a game
60.
▲
by
Xurinos
15y ago
Thank you... This seems like one of those basic things we should learn in elementary school -- the healing rates of various parts of our body. We should know what needs the most protection/care. I still do not know that information, and i
More ›