Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dualogy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
241.
▲
by
dualogy
9y ago
> As somebody who has plenty of open source projects--the set of employers who actually looks at them is within epsilon of zero. I have not once, not once gotten a meaningful question from anything I have posted on Github I guess that
242.
▲
by
dualogy
9y ago
> I like to have side projects, but I still don't like to share them. People love to find reasons to reject Nowadays you can share anything online (git or other) without fear of rejection, because unless you choose point select
243.
▲
by
dualogy
9y ago
> Why should I accept a performance penalty if I write in TypeScript, being so similar to JS? TypeScript is js with typing support Indeed you shouldn't. TS set out to be "JS with types, that get checked then ditched". Ha
244.
▲
by
dualogy
9y ago
Beautifully done, but ergonomically "no way to code" for me. Could be pretty neat if you focus on learners. Once mildly proficient, one'll want the speed and flow of typing and freely operating on lines/blocks/sel
245.
▲
by
dualogy
9y ago
I stand corrected.
246.
▲
by
dualogy
9y ago
Any one language of your choosing that you extract a dumb-tiny-and-explicit sub-set out of to target =)
247.
▲
by
dualogy
9y ago
I concur with parent. Health insurance: if you're freelance, your health insurance is preferably private (cheaper) and you're free to cancel it if you please. Capital gains: is for speculations, can choose to "be a saver not
248.
▲
by
dualogy
9y ago
Well, ouch, a transpiler writer has to code up a bit of boilerplate, most of it just once early on in the project's life-time.. "too bad"! IMHO reconstructing stuff may be a somewhat tricky challenge, but there's no in
249.
▲
by
dualogy
9y ago
How so? Interested in your elaboration. I would have surmised it'd be very smooth and fun to target, given all the freedoms it gives you (free-form records, dynamically-sized arrays, no types). All the things that are "foot guns&q
250.
▲
by
dualogy
9y ago
> being forced to have only one choice (Javascript) When it comes to JS, you already have a gazillion prettier and more enthralling languages to choose from that transpile neatly to JS. Are {{TypeScript/Flow/ReasonML/
251.
▲
by
dualogy
9y ago
Late edit: of course none of this disputes or negates "that many essential nutrients are provided by plants" --- many indeed are . Just none that are essential that aren't furnished in sufficient amounts in a sizable helpi
252.
▲
by
dualogy
9y ago
> I guess technically you are right, even meat has some carbs in it because muscles hold some glycogen Near-zero because muscle glycogen is used up upon death in a process called "rigor mortis" (not the case for liver glyco
253.
▲
by
dualogy
9y ago
> Considering that many essential nutrients are provided by plants None that I can think of that are proven "essential" in the absence of all carbs. "Phytonutrients" aren't proven essential. Vitamin C ("as
254.
▲
by
dualogy
9y ago
> You need to define a struct in a header to pass by value, which is usually cheaper than having to dereference a pointer (often resulting in a cache miss). If one wanted to do this, what kind of struct size would be the cut-off point
255.
▲
by
dualogy
9y ago
In Go, sure. In Haskell, for some app use-cases (and I believe static-site-gen is one such) it takes endless patience and tweaking to reach on-par performance with let's say "systems languages". There's scenarios where H
256.
▲
by
dualogy
9y ago
> that people absolutely need A tough one. Asking myself what I absolutely need , I come up with air+water+meat+housing. And I'm a coder! =) but even for softer interpretations of "absolutely", haven't ran into a
257.
▲
by
dualogy
9y ago
Good starter project for learning a new language. You get to touch various interesting areas from IO to templating to a simple modicum of "dependency tracking" (for incremental rebuilds), many neat areas to learn/try optimiza
258.
▲
by
dualogy
9y ago
> with Hugo + Pygments was taking ~20s for ~20 pages at the time That's long! Glad I wrote my own in Haskell (and I'm a Gopher! just did it to get my feet wet in Hs) --- 92 pages in 1s (full rebuild; incremental is of course
259.
▲
by
dualogy
9y ago
Man, sites like this make me nostalgic =) https://kevinroth.com/projects/ gonna have to check out that ASP 3 stuff..
260.
▲
by
dualogy
9y ago
A neat example indeed! Yeah that makes sense. Especially I guess in code-bases where such deeply-nested record updates abound everywhere repeatedly time-and-again --- have not run into such myself yet . Writing the above on-the-rare-occasi
261.
▲
by
dualogy
9y ago
> Another use case is implementing actual functional programming I remember our chat 8 months earlier on Reddit about this: https://www.reddit.com/r/functionalprogramming/comments/5ufm... Yeah. You'
262.
▲
by
dualogy
9y ago
> Haskell lenses kinda goes into this stuff They seem neat but I haven't come across a case where whipping up, in vanilla old-school Haskell, a custom set of small simple ADTs and the related handful of recursing walk-and-transfor
263.
▲
by
dualogy
9y ago
The fact that all these use-cases pop up again tells us that they're real. I was dubious the first-time-around =) Well in green-field projects it's certainly advisable to minimize what is "done in"/"expressed
264.
▲
by
dualogy
9y ago
I'm hacking on a PureScript-to-Go transpiler (ie. alt backend for existing PureScript compiler once PR #3117 gets accepted). Watch http://github.com/metaleap/gonad/ --- hoping to "get there" within
265.
▲
by
dualogy
9y ago
Of course not but that sort of meaning for the term class was GP's point here
266.
▲
by
dualogy
9y ago
Well this stuff happened in '88: http://homepages.inf.ed.ac.uk/wadler/papers/class-letter/cla... --- they possibly didn't expect OOP and "classes" (Stroustrup '79) to become quite so
267.
▲
by
dualogy
9y ago
> like the old <script runat...> in ASP Good memories! I remember how neat I found that as a script-kid back in the pre-.NET, VBScript-based ASP 3.0 days some 17 years ago. (MS Personal Web Server for the Win! The QBasic of the e
268.
▲
by
dualogy
9y ago
> Have no idea about haskell Born as a non-proprietary Miranda alternative, but instructors would have to be careful to side-step various modern quirks across the libs ("SQL as a free-monadic-profunctor-optics" and such broohah
269.
▲
by
dualogy
9y ago
Agreed on both points, love it and a bit too wicked for new-comers. Elm is perfect there and should find its place into all kinds of educational contexts hopefully. Such a friendly ML language, I secretly call it "the Basic of FP/
270.
▲
by
dualogy
9y ago
> Typically, growth hackers come in three forms: hackers, hipsters and hustlers. Well, today I learned!
More ›