Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
billsix
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
31.
▲
by
billsix
7y ago
RIP Eric Naggum http://www.schnada.de/grapt/eriknaggum-xmlrant.html
32.
▲
by
billsix
7y ago
Many times, you know the input and output of a procedure that you know must exist, but can't remember the name. Methodfinder finds the name. Let me know if you find it useful! >>> import methodfinder >>> metho
33.
▲
Show HN: Methodfinder for Python
(github.com)
2 points
by
billsix
7y ago
|
1 comments
34.
▲
by
billsix
7y ago
Many times, you know the input and output of a procedure that you know must exist, but can't remember the name. Methodfinder finds the name. Let me know if you find it useful! >>> import methodfinder >>> meth
35.
▲
Show HN: Methodfinder for Python
(github.com)
5 points
by
billsix
7y ago
|
1 comments
36.
▲
by
billsix
7y ago
http://www.paulgraham.com/onlisp.html
37.
▲
by
billsix
7y ago
> Look at a statement of equivalence. You might say that "A is equal to B" or "A == B". There are two "flows" going on there: A has to match up with B, sure, but B also has to match up with A. Weird way to d
38.
▲
by
billsix
7y ago
That's the best introductory material on the subject that I know!
39.
▲
by
billsix
7y ago
Yup, I did exactly that in Scheme http://billsix.github.io/bug#_make_generator
40.
▲
by
billsix
7y ago
As an Android user, I liked my Nexus 7 at the time, but I received security updates for a year or two max, and then never bought an Android tablet again because of it.
41.
▲
by
billsix
7y ago
No callbacks, so no forced heap allocation nor lifetime management . "oh you want to use FooGUI? First let me tell you about the object hierarchy and object lifecycle". No mvc. No custom, required data structures. The programmer
42.
▲
by
billsix
7y ago
Immediate mode gui frameworks make for a pleasant programming experience https://github.com/vurtun/nuklear
43.
▲
by
billsix
8y ago
Agreed, I've tried and failed to make Debian packages, and have no idea how to proceed. In contrast, with Gentoo and their documentation, it was straightforward for me to make my own additional, separate repo, look at other ebuilds to
44.
▲
by
billsix
8y ago
Agreed regarding use cases. My scheme implementation does both yield and send, cleanly imho, because of call/cc.
45.
▲
by
billsix
8y ago
Incorrect. In c terms, you can think of callcc as a procedure which memcpy s the stack onto the heap for later application. And when it is later applied, the heap allocated stack is memcpy ed back into the stack region of memory, destroyi
46.
▲
by
billsix
8y ago
Continuations also allowed me to implement python’s yield/send in 16 lines of Scheme code :-) http://billsix.github.io/bug.html#_make_generator
47.
▲
by
billsix
8y ago
I had trouble understanding how paging worked it until it was explained in Rust
48.
▲
by
billsix
8y ago
Here is my work in progress for intro OpenGL programming http://billsix.github.io/modelviewprojection/ It in python, doesn’t involve matrices. It really only requires high school math, with the exception of the z axis
49.
▲
by
billsix
8y ago
In constant time? O(1)?
50.
▲
by
billsix
8y ago
It results in tautological tests.
51.
▲
by
billsix
8y ago
But he learned about refactoring in Smalltalk 80, and later wrote the book in java
52.
▲
by
billsix
8y ago
I thought this new book would be the third edition. https://www.amazon.com/Refactoring-Ruby-Addison-Wesley-Profe...
53.
▲
by
billsix
8y ago
> The thing is, it isn't just javascript eval; any eval is bad. Eval'ing during macroexpansion in Gambit Scheme is the basis for my book, http://billsix.github.io/bug.html#_computation_at_compile_ti... It allow
54.
▲
by
billsix
8y ago
They are very similar. They are both applicative-order, meaning that the arguments to a procedure are evaluated before the procedure is applied. The evaluation of a lambda results in a function value, which captures the enclosing scope, bu
55.
▲
by
billsix
8y ago
You neglected to quote the full sentence, which wasn’t even long. To change your mindset, read: http://www.paulgraham.com/onlisp.html Or instead, how bout this. show me your implementation of generators in the “user space”
56.
▲
by
billsix
8y ago
I implemented a compile-time test framework in Gambit Scheme in 7 lines of code, and Python's yield in about 20 or so. http://billsix.github.io/bug.html#_make_generator Lisp code has few wasted moves. Programming in i
57.
▲
by
billsix
8y ago
It’s a library for making windows, buttons, etc (called widgets), for windows Linux and macOS. If you’d like to make graphical applications though, I recommend immediate mode frameworks https://youtu.be/Z1qyvQsjK5Y https:&
58.
▲
by
billsix
8y ago
Pirate away bro, it’s just like a library, you’re correct. The word “library” is derived from the Latin word “liber”, meaning book.
59.
▲
by
billsix
8y ago
I said that more than a select few can afford the book. I did not say that it is affordable globally. Pirate away dude. The piracy of JSTOR repos didn’t help the global poor population, nor will piracy of this book.
60.
▲
by
billsix
8y ago
Reductio ad absurdum.
More ›