Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fexl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
67 ms
·
571.
▲
by
fexl
17y ago
Here is a more flexible functional representation of numerals, courtesy Steensgaard-Madsen [1989], but written in Fexl: \zero = (\zero\succ zero) \succ = (\n \zero\succ succ n) This delays the binding of the handler functions (zero
572.
▲
by
fexl
17y ago
I do atomic transactions on pure file systems using the "update" routine in my Loom::File module here: http://github.com/chkoreff/Loom/blob/master/code/Loom/File.p... The stress test for that module is: http://github.com/chkoreff/Loom/bl
573.
▲
by
fexl
17y ago
So let me see if I follow the definition of append there, using Fexl notation which doesn't use pattern matching (all data items such as lists are just functions applied normally). Here's the fold function: \fold = (\func\val\list list
574.
▲
by
fexl
17y ago
One minor issue, I think. I noticed on page 7 it says: bcrypt(cost, salt, pwd) state <= EksBlowfishSetup(cost, salt, key) I guess the symbols "pwd" and "key" are synonyms there, right?
575.
▲
by
fexl
17y ago
That's performed especially well recently.
576.
▲
by
fexl
17y ago
These are my favorite: http://bullion.nwtmint.com/gold_krugerrand.php Krugerrands have the lowest premiums and are resistant to scratching. That particular vendor is highly professional.
577.
▲
by
fexl
17y ago
Asimov said it well: "violence is the last refuge of the incompetent." The people who stole that man's money are incapable of earning a living through voluntary means, so their first instinct is to reach for a gun. I steer clear of peop
578.
▲
by
fexl
17y ago
MUCH faster, thanks. Now I'm piping that into Perl to convert the counts to percentages. If I figure out a one-liner for that I'll let you know. Next I'll be tempted to write a module for generating "realistic" (Benford-compliant) random n
579.
▲
by
fexl
17y ago
Right Fred. Khan could have responded maturely, either answering your questions or acknowledging that he doesn't yet know the answers. Feynman probably would have said something like "good point Fred, those are exactly the kinds of questi
580.
▲
by
fexl
17y ago
Heh, same thing happened to me when I downloaded Thunderbird 3.0 to my Linux machine. I didn't know what to do next, and I searched the web in a bewildered fashion. Then I sent a Pidgin message to a colleague and he said "you don't instal
581.
▲
by
fexl
17y ago
I had to use a different stat command on my Linux system. This worked for me: find . -type f -exec stat -c %s {} \; | cut -c 1 | sort | uniq -c Note that I exclude directories to avoid the size 4096 bias. I ran it in my "project" directory
582.
▲
by
fexl
17y ago
That is precisely why I criticize SSL. One of the primary goals of SSL is to authenticate a site so that Grandma can rest assured she is not being scammed. "Phishing" represents a catastrophically expensive failure to achieve that goal.
583.
▲
by
fexl
17y ago
I welcome your suggestions on how browsers can help protect Grandma from the phishing on the computer she already uses. Using someone else's computer for secure access is always problematic, for reasons far deeper than we're discussing. I
584.
▲
by
fexl
17y ago
Interesting observations. How then would you suggest improving security against phishing? For example Grandma gets an email saying "You have initiated a large wire transfer from your Building and Loan account. Please log in to confirm th
585.
▲
by
fexl
17y ago
That's a great concept which I need to try. The challenge will be extending it to SSL and making it friendly to Grandma. That said, when Grandma first signed up at building-and-loan.com, she probably went to the correct site. Now that she
586.
▲
by
fexl
17y ago
Yes, it's pretty close. However where SSH warns you whenever you encounter a new server, the SSL in your browser only warns you when you encounter a new CA (Certificate Authority). For the browser to behave more like SSH, it would have to
587.
▲
by
fexl
17y ago
SSL is a messed up protocol, relying on trust in central authorities. SSH did it right: it only ensures that the server you connect with today is the same one you connected with yesterday, and it does not aim to do anything more. An SSL c
588.
▲
by
fexl
17y ago
I consider it evil to initiate force against another individual. Therefore, specifically, I consider it evil to incarcerate someone for not paying money into a giant pool to be spent by other people. I consider it good for individuals to e
589.
▲
by
fexl
17y ago
Here's an interesting video about the history of financial aid for education: http://schiffforsenate.com/?q=media/how-government-programs-... Synopsis: In 1918, a factory worker at Ford Motor Company earned $5 per day and kept all of it.
590.
▲
by
fexl
17y ago
The disincentive to work is very real indeed, I can assure you. I am making the best money of my life and I aim to make less. That extra money is costing me time spent on more rewarding pursuits such as writing interesting code, or even j
591.
▲
by
fexl
17y ago
Ah, I should have used omega there instead of omicron. I'm sure I got dinged for the defiant sentiment though.
592.
▲
by
fexl
17y ago
" it is unfair that a shift manager at Starbucks should have to pay a tax that a 6-figure-income small business owner gets to walk away from." Indeed, the shift manager should enjoy the same exemption.
593.
▲
by
fexl
17y ago
Ah yes, I wonder how many thousands of hours humans have wasted on this issue. (Thank goodness for the /\r?\n/ regex eh.) I'm old enough to remember those CRTs, teletypes, and line printers where CR, LF, and VT triggered specific motions o
594.
▲
by
fexl
17y ago
μολον λαβε
595.
▲
by
fexl
17y ago
However, when building functions with combinators it's clearer to use bound lambdas along the way: \I = (S C C) \U = (S I I) \R = (S (C S) C) \Q = (S R (C U)) \Y = (S Q Q)
596.
▲
by
fexl
17y ago
I might prefer this: S S I (S (S (C S) C) (C (S I I))) But then I'd be tempted to abstract the I out and apply to (S C C).
597.
▲
by
fexl
17y ago
I've published the "clump" program here: http://github.com/chkoreff/Clump
598.
▲
by
fexl
17y ago
Several years ago I wrote a little utility called "clump" to compile C code and I still use it to this day: http://fexl.com/clump/ You just run "clump" with no args and it builds your C code minimally based on time stamps. A lot have peo
599.
▲
by
fexl
17y ago
Here's a CPI (estimate) chart going back to 1784: http://nothirdsolution.com/wp/wp-content/uploads/2008/07/cpi... When the dollar was defined as a specific mass of gold, the prices of goods tended to fall slightly each year, which is what
600.
▲
by
fexl
17y ago
It is true that script kiddies write ugly and unreadable Perl code. It is also true that professionals write highly disciplined and beautiful Perl code. Incidentally, on the subject of object orientation, I concur with Sriram Srinivasan's
More ›