Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
smlckz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
151.
▲
by
smlckz
6y ago
You should try Tcl.
152.
▲
by
smlckz
6y ago
https://wren.io/performance.html#why-is-wren-fast
153.
▲
by
smlckz
6y ago
Why no one talking about OCaml?
154.
▲
by
smlckz
6y ago
>> Not for sale on the Indian subcontinent. huh?
155.
▲
by
smlckz
6y ago
They're using gitweb. You can read the code for any commit, just click the 'tree' link associated with it. Alternatively, just click the 'tree' link at the top for the tree of the latest commit in their default 
156.
▲
by
smlckz
6y ago
In a Chrome dominated browser market, how much choice do the other browsers have?
157.
▲
by
smlckz
6y ago
No, now looked at the docs and saw that linenos does not work with rtf formatter. Sorry :( (I didn't have to print line numbers back then) You can generate LaTeX documents, images etc. with line numbers. And then print them. hmm. http
158.
▲
by
smlckz
6y ago
We had a project work to submit C programs. Originally, the teacher told us to write the programs by hand. I had written ~20 C programs in my computer and was feeling lazy to write out all of them by hand onto paper. I then asked the teache
159.
▲
by
smlckz
6y ago
I do not know how OP would be benefited from printing code, but I had to print my C code to submit as a school project.
160.
▲
by
smlckz
6y ago
$ mkdir rtfs $ for F in src/**.rs; do > pygmentize -o rtfs/$(basename $F .rs).rtf -O linenos=1 $F > done Now open the .rtf files with a word processor and print them. To chan
161.
▲
by
smlckz
6y ago
Nice. >> I would now love to opensource the project for everyone. Where is the license? Learn more about licensing here: https://help.github.com/en/articles/licensing-a-repository
162.
▲
by
smlckz
6y ago
dead or broken link
163.
▲
by
smlckz
6y ago
fix the typoes in "Important Regular expression cheat sheet:" * 0 or more . . . [a-q] ... [A-Q] ... . . . [abc] ... [^abc] ... that is, remove backslashes from the front of them
164.
▲
by
smlckz
6y ago
Especially interested in variable name attributes [1] ('const' and 'close') as well as to-be-closed variables. [2] [1]: https://www.lua.org/work/doc/manual.html#3.3.7 [2]: https://ww
165.
▲
Lua 5.4 Reference Manual
(lua.org)
6 points
by
smlckz
6y ago
|
1 comments
166.
▲
by
smlckz
6y ago
.\31{width:5%} .\33{width:22%} .\34{width:30%} .\35{width:40%} .\32{width:15%} huh? can you tell me what those \31 \33 etc. mean?
167.
▲
by
smlckz
6y ago
hmm. when reading, /dev/null behaves like an empty file but /dev/zero gives you endless amounts of NUL bytes ('\0') ; iirc and the /dev/random and /dev/urandom gives you endless amounts of r
168.
▲
by
smlckz
6y ago
>> Basically piping from /dev/null Can you actually do that? Why not piping from /dev/zero , heck even /dev/random or /dev/urandom ?
169.
▲
by
smlckz
6y ago
haha. what about microphones?
170.
▲
by
smlckz
6y ago
You can try FASM ( http://flatassembler.net ) besides YASM and ld.
171.
▲
by
smlckz
6y ago
Programming language * self compiling compiler (self-hosting?). * self interpreter interpreter (metacircular evaluator) [from scratch. no parser generator or backends like LLVM, or tools like that, as they hide much info and insight] Testin
172.
▲
by
smlckz
6y ago
Are we Turing machines? :|
173.
▲
by
smlckz
6y ago
Ah! Good old C. I did not dare to open the gcc man page, now I think I will look at it. For that constraint, one have to pass an option. I want to know if any language (other than V) which has this as default.
174.
▲
by
smlckz
6y ago
ah, Mathologer video. Have seen that. Another one by 3b1b on that topic: https://youtube.com/watch?v=sD0NjbwqlYw
175.
▲
by
smlckz
6y ago
>> In design - not just programming language design - constraints are generally a good thing. The best example of that in programming language design I have seen is the V programming language. ( https://vlang.io ) No global
176.
▲
by
smlckz
6y ago
Reminds me of the paradoxes of Zeno [1], especially the paradox of Achilles and the tortoise. At least one can simply prove that 0.999... = 1 without much hard work. Maybe less controversial than the following: 1 + 2 + 3 + ... [someho
177.
▲
by
smlckz
6y ago
Read the accepted answer to this question: https://stackoverflow.com/questions/2800964/benefits-of-prot...
178.
▲
by
smlckz
6y ago
JavaScript is very expressive and powerful language. Maybe hard to learn. The prototypal inheritence and 'this' were confusing to me and took much time to understand those. Then I learnt that prototypal inheritance is a superset o
179.
▲
by
smlckz
6y ago
try to implement a ES2020 interpreter from scratch (like fabrice bellard's quickjs) when you're done, you'd have learnt enough on the way and know what you don't know
180.
▲
by
smlckz
7y ago
another proposal: _If, _Ifdef, _Ifndef inside function macros for example: #ifdef SOME_CONST #define WHATEVER(w, h, a, t, e, v, e, r) \ ... common part ... \ ... for SOME_CONST ... \ ... common part
More ›