Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kgr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
kgr
2y ago
This short video / simulation, explains why, IMO, Unix surpassed Multics: https://www.youtube.com/watch?v=3Ea3pkTCYx4
2.
▲
by
kgr
2y ago
For those feeling nostalgic (or curious), you can run my BASIC to JS compiler in your browser: https://codepen.io/kgr/full/yLQyLjR
3.
▲
by
kgr
3y ago
Unlike previous OSes, UNIX provided the pipe facility to allow you to combine the functionality of many small programs. Ex. ls | grep ... | sort ... | more Before that every command-line program had to support the full suite of additional f
4.
▲
by
kgr
3y ago
If we analyze the computational complexity of software architectures the way we do regular algorithms, we see that UNIX was much more efficient than previous OSes/approaches. It's demonstrated in this short video: https:/&#x
5.
▲
by
kgr
3y ago
I wrote a BASIC to JS compiler/transpiler that includes all of the programs from "BASIC Computer Games" as examples. You can try it out in your browser at: https://codepen.io/kgr/full/yLQyLjR Just s
6.
▲
by
kgr
3y ago
I worked at Google on a project called the Chrome App Builder which would let you create simple Kiosk apps which ran on these kind of devices. It wasn't uncommon for companies to buy these 5 thousand to 20 thousand at a time to run the
7.
▲
by
kgr
4y ago
I would say that the best programmers don't change the multiplier, but the exponent, so that the factor by which they're better than the average increases with the size of the problem. This is why you might not see as much of a bi
8.
▲
by
kgr
4y ago
I think FOAM does most of what the author is asking for. A quick explanation is provided in this video: https://www.youtube.com/watch?v=S4LbUv5FsGQ And more details can be found at: https://github.com/kgrgre
9.
▲
by
kgr
4y ago
This short fun video demonstrates how FRP is related/similar to spreadsheets: https://www.youtube.com/watch?v=-fbq-_H6Lf4
10.
▲
by
kgr
4y ago
The Wikipedia article on AA-Trees is good: https://en.wikipedia.org/wiki/AA_tree
11.
▲
by
kgr
4y ago
If you eat low-pesticide fruits and vegetables, you're less likely to die. If you eat high-pesticide fruits and vegetables, your chances of dying are unaffected, which is surprising because you would expect that increased fruit and veg
12.
▲
by
kgr
4y ago
> of being a lightweight, platform agnostic target A little late for that. I see that my Chrome browser is currently using 2.66GB of RAM (for about 40 tabs, or about 65M per tab). I remember when I first started using Java, my whole comp
13.
▲
by
kgr
4y ago
I don't think it's because of the milk lobby (which didn't exist until early 1900s according to other posts) because I once browsed a cookbook from the 1800s and noticed that many of the recipes called for an amazing quantity
14.
▲
by
kgr
5y ago
This short video demonstrates why pipes were crucial for UNIX's success: https://www.youtube.com/watch?v=3Ea3pkTCYx4
15.
▲
by
kgr
5y ago
I wonder if this is the reason for the recent Ontario license plate fiasco. The new design for license plates had a blue background but they were very difficult to read. https://toronto.ctvnews.ca/premier-doug-ford-to-hold-f
16.
▲
by
kgr
5y ago
When we designed to UI library for FOAM in 2011 at Google, we did extensive benchmarking, and discovered that DOM calls were very slow and that we could greatly improve performance by batching them. Yes, in the end, you still need to make D
17.
▲
by
kgr
5y ago
Correct, no single interface does what the UNIX pipe did for command-line text-based IO-stream processing programs. In FOAM, we have about 20 standard interfaces, which correspond to your different glue types. Things like DAO (Data Access O
18.
▲
by
kgr
5y ago
I'm not advocating a closed system. Just like UNIX doesn't lock you in to any hardware or CPU vendor. FOAM is open source and most of the functionality is provided by existing languages, libraries and databases.A universal adapter
19.
▲
by
kgr
5y ago
Both the video from the article and the one I posted above are from this longer talk of mine: https://www.youtube.com/watch?v=PsFLlgrzn2E I think this the most important problem in software development to be given the least
20.
▲
by
kgr
5y ago
https://www.youtube.com/watch?v=S4LbUv5FsGQ covers this topic. As I say in the video, no point solution (ie. some new API) can solve the problem, when the need to integrate (glue) between so many point solutions, is the pro
21.
▲
by
kgr
5y ago
Seems to be heavily influenced by the Smalltalk language and VM. I find it interesting that people will say that embedded microcontrollers are too resource constrained for this type of system, despite many being significantly more powerful
22.
▲
by
kgr
5y ago
The article seems to claim that if we did as he says and rewrote all of our code to be data-oriented instead of object-oriented, then our code would run ~2X faster and all of our performance problems would be solved. However, I got my first
23.
▲
by
kgr
6y ago
This video shows the kind of things you can do if you embed the spreadsheet concept in a general purpose programming language (Javascript): https://www.youtube.com/watch?v=-fbq-_H6Lf4
24.
▲
by
kgr
6y ago
I'm known as a strong proponent for keeping code DRY (see: https://www.youtube.com/watch?v=S4LbUv5FsGQ ), but even I sometimes advocate just copying and modifying code. Sometimes two simple pieces of code are less work&
25.
▲
by
kgr
6y ago
This video explains why UNIX was a moonshot, and why it could be developed by a small number of people because of it: https://www.youtube.com/watch?v=3Ea3pkTCYx4
26.
▲
by
kgr
7y ago
When I worked at Google, we made a prototype of a non-grid spreadsheet-type thing. More graphical than tree-like, but the same underlying engine could be used for other purposes. Videos: 1. The FLOW Shell: https://drive.google.co
27.
▲
by
kgr
8y ago
I made a simulation and video which shows why the pipe is so powerful: https://www.youtube.com/watch?v=3Ea3pkTCYx4 I showed it to Doug McIlroy, and while he thought there was more to the story, he didn't disagree with
28.
▲
by
kgr
9y ago
According to the link you provided, most white rices are in the high-glycemic category. According to the "International table of glycemic index and glycemic load"[1], Jasmine Rice has a Glycemic Index of 109, which is actually hig
29.
▲
by
kgr
9y ago
The results are compatible with "risk homeostasis" or "risk compensation" theory. People who use unit tests have an increased sense of safety, so are more comfortable living with less-safe designs and code-bases. "R
30.
▲
by
kgr
10y ago
The 7-GUIs suite looks better, but so far only one JS framework implements it. The problem with more realistic benchmark apps (or suites) is that they require more effort to implement, so you have a selection bias towards easy-to-implement
More ›