Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bakul
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
301.
▲
by
bakul
9y ago
It is widely assumed Pāṇinian languages (generated using the formalism he used for describing Sanskrit) are context free languages but the following paper argues that they are a much larger set than CFLs. https://web.stanford.edu
302.
▲
by
bakul
9y ago
The following works too! (24*60*60*1000)=*/(!6)^!6 so does (24*60*60*1000)=1{x*y^y}/!6 but now you have two hideous parameters!
303.
▲
by
bakul
9y ago
K: (24*60*60*1000)=*/x^x:!6 1 No stinking whitespace :-)
304.
▲
by
bakul
9y ago
The point was to give the OP an example he can hopefully wrap his head around the concept of currying.
305.
▲
by
bakul
9y ago
Think of an array such as int x[5][10]. Here x is a two dim. array. Indexing it just once such as x[i], you get another array, a vector of 10 ints, which can be indexed further. So in a sense x[i] is a "curried" array! In general
306.
▲
by
bakul
9y ago
A more recent (Sep 2017) article on stepwells by the same author: https://www.archdaily.com/878527/the-astonishing-vanishing-s... I've been to the Adalaj Vav (stepwell) near Ahmedabad. Its distinctive architecture
307.
▲
by
bakul
9y ago
Amd29000. Moto88000. And DEC alpha. But this is long due for India. Recall that the US semiconductor industry did have plenty of govt help at its inception. The Indian govt can similarly provide early support by being a customer. But still,
308.
▲
by
bakul
9y ago
How does this compare with https://github.com/cosmos72/gomacro which does something very similar? It seems fairly complete, or at least much further along than neugram + it does lisp style macros! If you ignore the mac
309.
▲
by
bakul
9y ago
For home use FreeBSD+ZFS will leave more control in your hands. For a (stable) filesystem node If I were you, I'd let others debug the latest release and just use 10.3. Or at least lag the latest release by a few months to a year or so
310.
▲
by
bakul
9y ago
I found that I don't feel sleepy after lunch if I work while standing up. But if I sit in a chair I can feel sleepy and a five minute nap makes for a more productive afternoon than fighting the sleepiness. Has anyone else observed th
311.
▲
by
bakul
9y ago
Richard Miller's port of plan9 runs on every RaspberryPi (pi0 to pi3 - where it uses all the cores). This may be the easiest way to experience plan9 and to build a small distributed system. You can experiment with device drivers or do
312.
▲
by
bakul
9y ago
Several suggestions: As others have suggested, looking through go's std library is a good idea as you will need to be familiar with it in any case. Use https://golang.org/pkg/ liberally to go from reading API docu
313.
▲
by
bakul
9y ago
For me a buddy system works well. Agreeing to meet a friend at a certain time at the gym and calling one another when starting out for the gym works wonders for me on days when I'd rather do something else.
314.
▲
by
bakul
10y ago
There was no kidnapping. She had to take that first step to protect herself and her kids. In the end things worked out fine for everyone involved. It was a long time ago....
315.
▲
by
bakul
10y ago
Many years ago my colleagues and I helped another colleague and her kids move out of her home. She was deathly scared of her abuser husband and planned everything in secret. But things quite stressful when the husband showed up in the middl
316.
▲
by
bakul
10y ago
This is fantastic! I can sort of grok your code at a high level but only enough to appreciate it; not to do much with it as that would require investing a bunch of time. Questions: 1. Did you find anything really surprising? Some new algori
317.
▲
by
bakul
10y ago
Rafia is a she. Not that it changes anything. This fear is much worse now. Watching what you say, the language you speak, books you read, what may be on your computers/phone, your demeanor, etc. Because of that fear she tried to remove
318.
▲
by
bakul
10y ago
I don't know about being more productive but I use commands like 3cwfoo<esc> to replace the next three words with foo. Or 2cf,foo<esc> to replace everything including the second comma on the current line. Or some : command.
319.
▲
by
bakul
10y ago
Then there is this quote: "All programming is an exercise in caching." -Terje Mathisen
320.
▲
by
bakul
10y ago
Consider: (define x (vector 1 2 3 4)) (define y x) (vector-set! x 0 100) Should y[0] be 100 or 1?
321.
▲
by
bakul
10y ago
I was responding to "If I understand what you mean by "immutable by default", then it's all Scheme implementations"; not whether one should or should not use mutating operations!
322.
▲
by
bakul
10y ago
What about set-car! set-cdr! vector-set! string-set!
323.
▲
by
bakul
10y ago
Once I started earning money, for a long time I had a simple budgeting rule: input > output (at least on a yearly basis). It served me well. But I kept feeling guilty (my mom kept meticulous accounts for decades - she had to when every p
324.
▲
by
bakul
10y ago
All programming is an exercise in caching -- Terje Mathisen Corollary: there will always be programming jobs :-)
325.
▲
by
bakul
10y ago
Nygaard (along with Møller-Pedersen) later designed the Beta language. A very fine "object oriented" language that tried to unify the concepts of classes, procedures and structures into "patterns". Seemed like a far bett
326.
▲
by
bakul
10y ago
Very nice! One suggestion is to auto arrange to different number of columns based on the current time unit. Though zooming would get weird -- it would have folding/unfolding effect or snaky undulations! Not sure if this is possible but
327.
▲
by
bakul
10y ago
Another view is plan9 didn't become popular because it was not freely available. If it had been "freed" prior to when 386bsd was first released, history might've been different. I knew about it much before 386bsd came ou
328.
▲
by
bakul
10y ago
"In this way, Elm is the BSD to JavaScript's GNU/Linux." Is there X such that X is the Plan9 to Elm's BSD?
329.
▲
by
bakul
11y ago
The 1st law of robotics: a robot must not do any harm to a human through its action or allow harm through its inaction. The 2nd law of robotics: a robot must obey an order given to it by a human, except when in conflict with the first law.
330.
▲
by
bakul
11y ago
Nope! I forward mail from various other email addresses to my email address where I care.
More ›