Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
billsix
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
91.
▲
by
billsix
9y ago
> Several years ago, a blind acquaintance of mine briefly lost his job because some developer didn't pay enough attention to accessibility in an application that he was required to use Can you explain in more detail? As a person ig
92.
▲
by
billsix
9y ago
When you say, draw a button in an immediate mode gui, the widget is drawn for this frame, which has not yet been flushed to the monitor. Yet the draw button function returns true or false on whether it was clicked. But how can that be, th
93.
▲
by
billsix
9y ago
The reason that I love immediate mode GUIs like nuklear and dearimgui is that, unlike callback based GUIs like nanogui, qt, gtk, wxwidgets etc, I do not need to learn how the framework Works internally in order to use it effectively. The la
94.
▲
by
billsix
9y ago
Yes it works on windows. Hopefully this does not come across as rude, but from the readme "It was designed as a simple embeddable user interface for application and does not have any dependencies, a default renderbackend or OS window a
95.
▲
by
billsix
9y ago
For python fans, I've been working on pyNuklear https://github.com/billsix/pyNuklear
96.
▲
by
billsix
9y ago
Fully agreed. With Qt, Qt itself is the app, your code is just a plug-in. :-)
97.
▲
by
billsix
9y ago
Modularity. In a project of mine, https://github.com/billsix/hurtbox , I switched from "dear imgui" to "nuklear" trivially. I imagine that switching a project from qt to gtk or wxwidgets would be a
98.
▲
by
billsix
9y ago
Lol I was just about to repost my pyNuklear link. Regular nuklear is fantastic if you like C, which I do too :-).
99.
▲
by
billsix
9y ago
No callbacks. No lifecycle diagrams. You don't give up control of the event loop. No memory management. You can add new widgets by copying/ pasting/modifying from demos easily. Lisp is interesting in that unevaluated code
100.
▲
by
billsix
9y ago
https://github.com/billsix/pyNuklear if nuklear.button_label(title="Button"): print("Button pressed!")
101.
▲
by
billsix
9y ago
Immediate mode graphical user interfaces have changed the way I look at GUI programming for the better. Here are my bindings to python for the nuklear framework. https://github.com/billsix/pyNuklear
102.
▲
by
billsix
9y ago
Fair enough :-)
103.
▲
by
billsix
9y ago
(sorry, I had edited my post before I saw your reply)
104.
▲
by
billsix
9y ago
Proof that Creep cannot be played using only white keys. https://youtu.be/mp64EY_WAcs Q.E.D.
105.
▲
by
billsix
9y ago
Try not to judge a musician's talent and knowledge based off of their popular hits. John Mayer is a phenomenal guitarist whose commercially successful songs require few of his actual abilities. I find that Radiohead creates quite int
106.
▲
by
billsix
9y ago
> Physically it is the result of sliding an open E chord down the neck to produce higher notes then, la piece de resistance, taking a finger off. Radiohead added a killer feature of turning the gain up on the amplifier for the chorus, ge
107.
▲
by
billsix
9y ago
I have "written" guitar riffs that I later found out were from a song I hadn't heard in 5+ years. I had honestly thought that I wrote it.
108.
▲
by
billsix
9y ago
That word,"Transpile". Lol. GCC transpiles C to assembly.
109.
▲
by
billsix
9y ago
I'd like to update Gambit Scheme from the 4.2 series to the 4.8 series in debian unstable. if you have some time to help me figure it out, please email my username at Gmail.
110.
▲
by
billsix
9y ago
As a Debian user for 15 years, I like it, but as a developer looking to contribute packages, I am displeased. I can't figure out how to update Gambit Scheme to the newest version by making a package, setting up a local repo, etc. The
111.
▲
by
billsix
9y ago
> (And before you ask, sorry, we’re actually not hiring. That’s part of the restraint bit. We have a team of fifty five of the most kind, wonderful, and capable people I’ve ever had the pleasure of working with. That’s all we need at the
112.
▲
by
billsix
9y ago
Books are good mentors SICP https://mitpress.mit.edu/sicp/full-text/book/book.html On Lisp http://www.paulgraham.com/onlisp.html
113.
▲
by
billsix
9y ago
Thanks for the reference on doctests. I encourage the collocation of tests with procedures in every language, but I personally doubt the efficacy of pound defines. Assert macros are great, but how can a programmer guarantee that they are ev
114.
▲
by
billsix
9y ago
Not impossible, I do it in the book. I write both macro definitions and namespace declarations to file during compile time! :-)
115.
▲
by
billsix
9y ago
With Gambit and libbug (my book), any computation can be done at compile time, including state and I/O :-)
116.
▲
by
billsix
9y ago
Thanks! Will update
117.
▲
by
billsix
9y ago
It is not. I made a preprocessor which expands "lambda literals" into lambdas. [|y| (cons x y)] turns into (lambda (y) (cons x y))
118.
▲
by
billsix
9y ago
Author here. The book is about augmenting the Gambit Scheme compiler with the code which it is compiling, thus treating the compiler as an interpreter. Testing dominates the compile-time computation, as each procedure in the book is colloc
119.
▲
Show HN: Computation at Compile-Time now free online
(billsix.github.io)
57 points
by
billsix
9y ago
|
14 comments
120.
▲
by
billsix
9y ago
There are no "if" statements in Smalltalk. You call the"ifTrue:ifFalse" method on an instance of a Boolean, passing two lambdas for the respective cases. To this day I don't know what an "object/function
More ›