Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bakul
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
241.
▲
by
bakul
7y ago
The old ispell used to be able to deal with TeX/LaTeX input. Though that is for the text, not {La,}TeX code. You can try using TeXworks. You can try typesetting when you want to test and see the output in a pdf preview window. tex.stac
242.
▲
by
bakul
7y ago
It is more that you code around the lack of generics. Interfaces: same API, different source code. Generics: different APIs, same source code. This is why Go needs to have generics.
243.
▲
by
bakul
7y ago
This can get a bit tricky. You can do something like this today: d:{_sqrt+/(y-x)^2} ls: 2 10 # 20 _draw 0 // a list of 10 random points +/d':ls // total length Now if x, y above are vectors of p
244.
▲
by
bakul
7y ago
I am more familiar with k so will use it as an example. If we were to extend it, the equivalent of some functions in compositor.nl would be something like this: compositeSrc:{x} // output first arg compositeDst:{y} /&#x
245.
▲
by
bakul
7y ago
Kay: > There are several modern APL-like languages today — such as J and K — but I would criticize them as being too much like the classic APL. It is possible to extract what is really great from APL and use it in new language designs wi
246.
▲
by
bakul
8y ago
This guy missed an excuse to build a Lego sorting machine....
247.
▲
by
bakul
8y ago
In UK you are using NHS, a public service, funded out of your tax dollars. NHS spent over £124.7B in 2017/2018 so your average cost is about £2000/person. Not sure how you can break out costs for heart bypass but I suspect they
248.
▲
by
bakul
8y ago
Most people have difficulty with the fact that an array expression can very compactly represent some powerful functions. For example, (+/*)\: is matrix multiplication. The following computes the transitive closure of a binary re
249.
▲
by
bakul
8y ago
? It's available on Amazon Prime in the US. In Hindi, Tamil 7 Telugu. With English subtitles. Smart TVs these days allow Amazon Prime so why would try Chromecasting from your computer?
250.
▲
by
bakul
8y ago
> don't most CSV files contain a header? tail +2
251.
▲
by
bakul
8y ago
“Diaspora” comes from Greek “Diaspora”. Dispersion. It so happens that some Indians were brought over as indentured laborers by the British to various parts of their empire which resulted in the development of a large Indian diaspora: http
252.
▲
by
bakul
8y ago
On the original RaspberryPi it took a minute to recompile the kernel from scratch and 4 minutes to recompile all the standard programs. In comparison it took 10 to 11 hours to recompile the Linux kernel. Cross-compiling the plan9 kernel on
253.
▲
by
bakul
8y ago
The idea was that individual programs would be small and loosely coupled. That is, rather than drag in a giant library, abstract out its code in a separate server and talk to it via some protocol. This worked remarkably well on the whole. S
254.
▲
by
bakul
8y ago
I believe the original meaning of cloning was indeed to grow a plant or a tree from a cutting and such plants are identical to the original — this term is still used in gardening.
255.
▲
by
bakul
8y ago
I wonder if this explains why the "Method of Loci" or the "Memory Palace" technique of memorizing and recalling facts work so well.
256.
▲
by
bakul
8y ago
From the Washington Post article: “Scientists unaffiliated with the project are skeptical that this system, or future iterations, will work as intended.” And they point out some of the reasons. May be Slat will prove them wrong. I was mainl
257.
▲
by
bakul
8y ago
The latest reports are that Boyan Slat's invention has not worked well in practice. And experts are skeptical it will work as intended. https://www.washingtonpost.com/science/2019/01/17/experts-wa...
258.
▲
by
bakul
8y ago
Algol68 had this property. Consider STRUCT (INT x, y) z = (1, 2) Here z is a const struct. If you wanted a variable, you'd have to say STRUCT (INT x, y) z; z := (1, 2) or equivalently REF STRUCT (INT x, y) z = LOC S
259.
▲
by
bakul
8y ago
May be you should say "LLVM will be considered once its code is converted to V." :-)
260.
▲
by
bakul
8y ago
Is this "Object oriented programming in the beta programming language" by Madsen, Møller-Pedersen & Nygaard? ISBN-0201624303. It's available online now.
261.
▲
by
bakul
8y ago
A much better object oriented language than C++. I was not fond of its syntax but liked its uniform treatment of a number of different abstract mechanisms via “patterns”.
262.
▲
by
bakul
8y ago
"In fact the headline and first sentence sum up the whole issue very succinctly." Surely you jest. An April, 2016 academic study of bit.ly links shared on Twitter to BBC, CNN, Fox News, New York Times and Huffington Post articles
263.
▲
by
bakul
8y ago
Of course this corruption of a science conference is a serious concern but what BBC is doing with its misleading headline is to painting all “India” scientists with a broad brush when they (as well as HN readers) should be supporting the re
264.
▲
by
bakul
8y ago
Still, the headline is misleading. Indian scientists are calling out these speakers for their nonsense theories. An academic that rejects scientific methods is not a scientist. Unless “scientist” too has become just another meaningless term
265.
▲
by
bakul
8y ago
I don’t consider these folks scientists.
266.
▲
by
bakul
8y ago
Misleading headline by BBC. The very first sentence in the article is this: "Indian scientists have hit out at speakers at a major science conference for making irrational claims."
267.
▲
by
bakul
8y ago
What I was getting at is that non-freeing programs would use much more memory. This doesn't increase the "pressure" on the allocator for such a program but does increase the pressure on the OS (that has to handle memory reque
268.
▲
by
bakul
8y ago
It's the compiler's job to do so, not a programmers! The programmer can do whatever makes sense. For example, in Scheme (define (make-counter) (let ((n 0)) (lambda () (set! n (+ n 1)) n))) is guaranteed to work in any c
269.
▲
by
bakul
8y ago
The issue is that if the local variables of A, such as X are allocated on the stack, once you return from A, the stack frame will disappear. So the example you cite can only work as long as A is active (not returned from). If A itself ret
270.
▲
by
bakul
8y ago
I believe the original Algol-68 didn't have full closures. For example, the following (taken from the revised report) wouldn't work: proc f = (real x) proc (real) real: (real y) real: x + y; proc (real) real g := f (3); A
More ›