Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vq
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
1.
▲
by
vq
2mo ago
TI-83 was built on Z80 as well. I remember hand-assembling a program for it with pen and paper, something I did earlier with the Sinclairs.
2.
▲
by
vq
4mo ago
And Haskell is an ensemble of rainbows. It's very fun and pretty to look at. Type classes can smooth over some of it but it's not unusual to have to do some plumbing.
3.
▲
by
vq
6mo ago
I didn't consider inlining but I believe you're correct, you could regain the optimisation for this example since the function is non-recursive and the application is shallow. The GHC optimisation I had in mind is like the opposi
4.
▲
by
vq
6mo ago
One slightly contrived example would be if you had a function that returned the point of a set closest to another given point. getClosest :: Set Point -> Point -> Point You could imagine getClosest build a quadtree internally and that
5.
▲
by
vq
6mo ago
One "feature of currying" in Haskell that isn't mentioned in the fine article is that parts of the function may not be dependent on the last argument(s) and only needs to be evaluated once over many application of the last ar
6.
▲
by
vq
7mo ago
It may or may not change everything.
7.
▲
by
vq
1y ago
Emacs is practically a product of AI research. Even if it didn't, it's distributed with a psychotherapist mode, hippie-expand (which I use almost every day) and dabbrev.
8.
▲
by
vq
2y ago
I maintain a couple of Debian servers and this is how I do it too. Reverse proxy, DB, etc from Debian. The application server is built and deployed with nix. The Python version (and all the dependencies) that runs the application server i
9.
▲
by
vq
2y ago
Are you aware of Sioyek[0]? It's a PDF viewer with a fairly minimal UI and a focus on keyboard interaction. [0]: https://sioyek.info
10.
▲
by
vq
2y ago
It reminded me of the Sinclair Zeta[0][1]. I hope their product work out better. [0]: http://rk.nvg.ntnu.no/sinclair/vehicles/zeta.htm [1]: https://www.grantsinclair.com/vehiclehistory
11.
▲
by
vq
2y ago
The reason I spelled it out is because I don't use them even though they are available. I realise now that what I wrote is ambiguous, thanks for mentioning it.
12.
▲
by
vq
2y ago
I work almost exclusively in Emacs without the modern LSP-based tools. I believe I do keep more in my head than programmers that use more advanced IDEs. In code I have control over myself I avoid imports that doesn't enumerate all imp
13.
▲
by
vq
2y ago
My python+numpy+matplotlib version from when I was playing around with it: import numpy as np import matplotlib.pyplot as plt n = 2048 X, Y = np.mgrid[:n,:n] plt.imshow(X^Y, cmap=plt.cm.Spectral) plt.show()
14.
▲
by
vq
2y ago
I've had luck with the Prologix Ethernet<->GPIB adapters[0]. At $500 I wouldn't call them cheap but they are a lot easier to integrate than those old NI/Keysight PCI/USB-based interfaces. [0]: https://p
15.
▲
by
vq
2y ago
I live in Sweden where we have minimum 25 paid vacation days (I have 28) and 9 paid holidays. https://en.wikipedia.org/wiki/List_of_minimum_annual_leave_b...
16.
▲
by
vq
2y ago
Also not mentioned: SAAB 36[0], the supersonic bomber intended to carry nukes. [0]: https://en.wikipedia.org/wiki/Saab_36
17.
▲
by
vq
3y ago
The auto-quotation in jupyter-notebook (codemirror?) drives me bonkers. I certainly sympathise with the author.
18.
▲
by
vq
3y ago
Ericsson had an internal IRC server a long time ago.
19.
▲
by
vq
3y ago
Seems like I'm just slightly older (230381) with a two letter username.
20.
▲
by
vq
4y ago
Photopia by Adam Cadre. https://ifdb.org/viewgame?id=ju778uv5xaswnlpl It's short and sweet game and a good introduction to interactive fiction (IF) in my opinion.
21.
▲
by
vq
4y ago
I've used nix on Ubuntu and AlmaLinux. I'm betting that nix works on all the distros you listed.
22.
▲
by
vq
4y ago
You recall correctly. https://www.dell.com/community/XPS/FAQ-Modern-Standby/td-p/7...
23.
▲
by
vq
4y ago
I doubt there could ever be something official, but for me (and others,) nixpkgs serves as a central source for a huge amount of C and C++ code.
24.
▲
by
vq
4y ago
I'm closing in on 15 years of git usage as well. Before that for a short period I really wanted to get into darcs, the first DVCS I used. I was constantly confused about what commands to use to rectify the off-the-happy-path situation
25.
▲
by
vq
4y ago
I always run small mutations like that in a transaction. BEGIN; DELETE FROM product WHERE id=123; ROLLBACK; --COMMIT; And then I remove/comment the ROLLBACK and enable the COMMIT when I'm confident it's correct.
26.
▲
by
vq
4y ago
I didn't know about C-x SPC, thanks for the tip! I enjoyed your article but I think the solution for me is to leave TMM disabled, though it makes me curious about what else I've missed in the last decade(s). You just made a sale
27.
▲
by
vq
4y ago
I do too. I'm one of those weirdos that disable transient-mark-mode because I don't feel like it does the right thing for all situations where you use mark. Sometimes I want to use mark like a cheap bookmark and C-x C-x between m
28.
▲
by
vq
4y ago
fix :: (a -> a) -> a fix f = f (fix f) f :: [Int] -> [Int] f xs = 1 : map (*2) xs take 7 (fix f) ==> [1,2,4,8,16,32,64] Looks right to me.
29.
▲
by
vq
4y ago
https://en.wikipedia.org/wiki/Special:Random
30.
▲
by
vq
4y ago
- Photopia - The Legend of Zelda: A Link to the Past - Kerbal Space Program (less deep story, more fun, engaging and educational)
More ›