502 points · by lateguy · 11y ago · 110 comments
I become active Hacker news at the start of year, its been incredible journey so far. I have learn so many things from computer science to psychology to economics etc. Thanks for all the contribution and best of luck for future. Happy Holidays.
This is refreshing and always good for the mind, scientific or not that it might be.
And thank you for being a big part of my small world :-)
To get a jumpstart on my New Year's resolution, time to air some grievances (with myself)!
1. Dammit Xan, when are you going to finish up those unit tests for tänzer? You're holdin up the actual 0.1 release!
2. I can't believe you haven't started implementing your bytecode VM yet! Are you waiting on a freaking miracle, or just piddling until you figure out whether you want to make classes and functions defined at object code load time, or have opcodes for registering classes and functions at runtime?
I can't go home until I wrestle myself in this year's Feats of Strength and get code for my VM, birchvm, up and running.
map (\x -> chr (x + 32)) [45,69,82,82,89,0,35,72,82,73,83,84,77,65,83,1] #include <string>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
string s {33,78,68,0,65,0,40,65,80,80,89,0,46,69,87,0,57,69,65,82,0,79,70,0,
70,85,78,67,84,73,79,78,65,76,0,67,79,68,69,0,84,79,0,89,79,85,0,
84,79,79,12,0,51,73,82,1};
transform (begin(s), end(s), begin(s), [](char c){ return c + 32; });
cout << s << endl;
} 5 FORX=1TO16:READN:N=N+32:?CHR$(N);:NEXTX:DATA45,69,82,82,89,0,35,72,82,73,83,84,77,65,83,1[45,69,82,82,89,0,35,72,82,73,83,84,77,65,83,1].map((x) -> String.fromCharCode x+32).join('')
map (chr . (+32)) [45, 69, 82, 82, 89, 0, 35, 72, 89, 73, 83, 84, 77, 65, 83, 1]
map{chr$_+32}(45,69,82,82,89,0,35,72,82,73,83,84,77,65,83,1)
shorter using pack: # shorts
pack("s*",25933,29298,8313,26691,26994,29811,24941,8563)
# longs
pack("l*",1920099661,1749229689,1953720690,561209709)
# 64-bit
pack("q*",7512884309367350605,2410377348306397554)
# hex
pack("h*",d45627279702348627963747d6163712) // Merry Christmas
console.log(
[45,69,82,82,89,0,35,72,82,73,83,84,77,65,83,1]
.map(function(i) { return i + 32; })
.map(function(i) { return String.fromCharCode(i); })
.join("")
); [45, 69, 82, 82, 89, 0, 35, 72, 82, 73, 83, 84, 77, 65, 83, 1].map(function(x){ return String.fromCharCode(x +32)}).join('') ; Racket version
(apply string (map (λ (x) (integer->char (+ x 32))) '(45 69 82 82 89 0 35 72 82 73 83 84 77 65 83 1))) map(lambda x: chr (x + 32), [45,69,82,82,89,0,35,72,82,73,83,84,77,65,83,1])
Just paste it into a python terminal and run it :) "".join(map(lambda x: chr (x + 32), [45,69,82,82,89,0,35,72,82,73,83,84,77,65,83,1])) List(45,69,82,82,89,0,35,72,89,73,83,84,77,65,83,1) map (_ + 32 toChar) mkStringAll the best to the community. It's the only place on the Internet where comments are often more insightful than articles :)
How about having a little new year party this 31st ?
¡Feliz navidad! :)
If that's not possible, I'll take world peace instead.
I use HN Enhancement Suite: https://chrome.google.com/webstore/detail/hacker-news-enhanc...
https://news.ycombinator.com/item?id=8706496
(I wrote one of the Firefox ones -- CollapsableThreads.user.js)
Maybe there's a fear that if it got too pretty, they might start to attract the wrong crowd?
Oh, Huxley.
But hey - I still love this place, Merry Christmas!
I do find it fascinating how the spirit of Christmas (effectively read: holiday consumerism) is unshakable in the Western world, possibly more so than any religion.
There might be a business lesson in here.
Santa got you a thesaurus for Christmas?
I wish though. A thesaurus would be a most endearing gift.