Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dualogy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
541.
▲
by
dualogy
10y ago
> Fat and sugar (a carbohydrate) account for two of the three most common macronutrients, the third being protein. Eating a diet that's low in both fat and carbs would imply a mostly-protein diet which can lead to illness Spot-on
542.
▲
by
dualogy
10y ago
I suspected as much. Still gotta dig into all this more deeply eventually , but given your anecdote it's probably fine to stretch this out over half a year, a weekend here, a train ride there, etc, rather than attacking it full-on
543.
▲
by
dualogy
10y ago
Looks so promising. Haven't decided yet whether I'll view through these 15 whopping hours or study the written (massive-book-length) equivalent chapters on his blog.. Sizing this up, my real question now becomes: as an active day-
544.
▲
by
dualogy
10y ago
Heh. I think static-site-gens are the new "PHP/ASP CMS": as in, every small-time coder writes their own from scratch now ;D v0 "works" already, it's just stupidly inefficient and too messy code to properly ref
545.
▲
by
dualogy
10y ago
Prefer my own hacked-together static site generator. First iteration [1] was a mess, next (more-robust cleaner and faster) one is coming along nicely [2] and should replace [1] "any-day-now".. (nb. If you need Markdown or restruct
546.
▲
by
dualogy
10y ago
> However, I find it pretty difficult to pick up new things. That's the whole idea of it, sonny. > Learning a language is also pretty intimidating If you're like most people, then the very experience of having learned yo
547.
▲
Category Theory for Programmers
(bartoszmilewski.com)
6 points
by
dualogy
10y ago
|
0 comments
548.
▲
by
dualogy
10y ago
Luckily I first encountered "OO" after having already learned the concept of structs/records in Pascal, this way I did not have to seriously entertain the idea that simple scalars oughta be anything-but..
549.
▲
by
dualogy
10y ago
> rust for linear types Apparently Philip Wadler came up with this notion, so your already-mentioned Haskell should suffice ;) > idris for dependent types Are we still on "Essentially, which are these few common paradigm languag
550.
▲
by
dualogy
10y ago
C is a bit dated and Lisp too wishy-washy, I'd suggest either Rust or Go for the Turing machine paradigm, and for the Lambda Calculus paradigm Haskell (or any truly comparably powerful robust "strictly" pure- and -lazy functi
551.
▲
by
dualogy
10y ago
> and more : llvm, wasm, asm.js ... Neat for sure, but not a lot of stuff you can "usefully" do in asm.js in terms of end-user-facing "RIA", you have numbers, byte arrays, function calls, numeric operators, primops
552.
▲
by
dualogy
10y ago
I think they should just recompile the whole Electron app-wrapper shell (with its whole own webview + JS engine) into asm.js via emscripten via LLVM for "putting Atom in the browser". What could go wrong! While you're at it,
553.
▲
by
dualogy
10y ago
> The prime example of this is the Haskell "Quicksort" implementation, which is, of course, not actually quick and only vaguely related to the idea of Quicksort. Yeah but at least it's lazy! ;) If you only ask to (sort
554.
▲
by
dualogy
10y ago
> Dental caries aren't caused by a single species of bacteria, but by multiple species working together. Yeah, but not many. Next to the ~half-dozen-hundreds-or-so of species populating our oral cavity without issue (indeed contribu
555.
▲
by
dualogy
10y ago
> I'm of the opinion that worked examples are often worse than no documentation. I'm not, especially for the many more-abstract-concepts. I have yet to see a followable code case demonstrating the use of custom monads (not IO o
556.
▲
by
dualogy
10y ago
> It's not something you want to see in an industrial strength language because it basically turns your language in factorial(n) languages, where n is the number of pragmas. I don't see this as an issue because here it's j
557.
▲
by
dualogy
10y ago
> ...but, this 'dont use anything but the standard library' movement that keeps popping up here and on reddit is just ridiculous. It's just fall out from people who can't be bothered figuring out how to use 3rd party
558.
▲
by
dualogy
10y ago
> I think PG's Arc even runs on top of it. That so? Then what's the actual use-case for Arc again? It's a Lisp, Racket is a Lisp, hence a Lisp running on another Lisp? "Lisps all the way up"? ---well that's
559.
▲
by
dualogy
10y ago
Interesting thoughts! > Therefore "ideal" WYSIWYG editing of HTML/CSS is not achieavable in principle. I think users just need to be (made) aware that any & all web pages' design is always "template/th
560.
▲
by
dualogy
10y ago
> I do not want to understand this absurdness. Then don't read the ejohn? =) (Me neither, fwiw. Would rather write a combined com/transpiler from sane to asm.js/wasm bypassing JS entirely. Not that I do , just that I&#x
561.
▲
by
dualogy
10y ago
Too bad you didn't have a legacy "flat design" from the early 90s still at hand, saves time when changing trends every 10-15 years..
562.
▲
by
dualogy
10y ago
> Functional programming does not work well in (cont..) You state earlier that programmers can and perhaps should write functional style (AFA feasible) in the languages that do excel at above problems. So you probably meant that &quo
563.
▲
by
dualogy
10y ago
> given the amount of energy that is put in the process for producing meat and dairy, it's ridiculously huge compared to what can be done with the land in other way That's the case for all industrial-age agriculture at today&#x
564.
▲
by
dualogy
10y ago
Opposable thumbs, most likely.
565.
▲
by
dualogy
10y ago
@VLM, ice age ancestors needed big game. Small fish are a joke for sustained energy and nourishment, maybe as a condiment to the main meal of mammoth or aurochs. Our "ancestors" really thrived for the most part of the very mega-
566.
▲
by
dualogy
10y ago
> Of cause this is rather speculative Insanely speculative. Homo sapiens brains were largest 90k years ago, stayed there until 60k years ago, shrunk a little until ~10-15k years ago, then began shrinking markedly. This coincides with a s
567.
▲
by
dualogy
10y ago
> So what is lost? Well...whatever isnt abstractable, right? Raises a most curious question.. what ever isnt abstractable?
568.
▲
by
dualogy
10y ago
> and do so quite inefficiently Matter of perspective. Compared to carnivores, all herbivores are "inefficient". A wolf (even humans) can gulp down some 1-2 pounds of fatty raw meat in 10-15 minutes and be done with eating fo
569.
▲
by
dualogy
10y ago
> This, to me, brings up the question of "where does myself ends and where does my environment begins?". Good question this! Until you find a conclusive answer, ie. until you clearly define/delineate "myself" &
570.
▲
by
dualogy
10y ago
Yeah, and all sorts of useful byproducts for clothing, housing, lighting etc. Again sturdy beasts of burden too, perhaps more so the bulls. Indeed these quite complex animals together with their micro-organism colonies are highly evolved to
More ›