Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kaoD
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
84 ms
·
931.
▲
by
kaoD
10y ago
> really cool feature Arguable.
932.
▲
by
kaoD
10y ago
For anyone interested, I asked what's going on in Reddit's /r/MusicTheory. https://www.reddit.com/r/musictheory/comments/5kwdbq/analyzi...
933.
▲
by
kaoD
10y ago
> Rust is about decreasing unsafetyness or whatever the correct word for that is. I think the word you're looking for is "safety". Safety is inherently relative and mostly about risk management. There's no such thing
934.
▲
by
kaoD
10y ago
As someone watching from the sidelines... maybe it's the cynic in me, but I think you're giving too much credit to the "but I don't have safety problems" folk. Judging by how defensive they get, it's just a p
935.
▲
by
kaoD
10y ago
Too late to edit but, further down the rabbit hole: improvising over my Lydian recording with Lydian melody didn't work at all. My ear wanted to hear the mode a major 3rd up (Aeolian) or a minor 3rd down which is, perhaps unsurprisingl
936.
▲
by
kaoD
10y ago
I can't help but hear the iii as i, making the progression seem more like "viº || i v ii III | i IV VII" to my ears, i.e. Dorian. Which is a very nice progression by the way :) EDIT: Now that I think of it, it might actually
937.
▲
by
kaoD
10y ago
I've been following Rust since way before 1.0 and one of my fears when 1.0 was announced was that it seemed rushed. On the other hand, I completely understood the need for stabilization for people that actually use Rust in production (
938.
▲
by
kaoD
10y ago
> in terms of speed That's the point. Most applications don't need speed, and most that need it can offload speed-critical code with no significant drawbacks. The web is fast enough for 99% of use cases.
939.
▲
by
kaoD
10y ago
I'm mainly an app developer that transitioned (a long time ago) from native to web apps, tired of code duplication. I'm well aware of other options. The web comes with its warts, but I've yet to see an app platform as ergonom
940.
▲
by
kaoD
10y ago
I've spent a few minutes digging around the repo and I still don't know what this does or how it works. There doesn't seem to be an obvious library "entry point" from where to start understanding the system. Where a
941.
▲
by
kaoD
10y ago
Your arguments are really convincing!
942.
▲
by
kaoD
10y ago
> D wants to give you options, so you can use GC/RC/manual where appropriate. Again, those options are what I listed as the wrong approaches. Manual = ad-hoc memory management. There's an additional option only present in
943.
▲
by
kaoD
10y ago
No I didn't miss it, I just don't think that duality is inherent to OOP and is pretty much a byproduct of OOP languages being imperative, mutable and referential, which makes OP conflate all those properties. What do you think pre
944.
▲
by
kaoD
10y ago
> Rust: [...] A over active amount of fans, that do not understand its complex. No. We understand it is complex. We also understand why: memory management is complex in and of itself, but RC/GC everything (or ad-hoc memory managemen
945.
▲
by
kaoD
10y ago
That doesn't look like React, render() takes what looks like props and state. Is this a similar framework to React, or just poorly-written React?
946.
▲
by
kaoD
10y ago
Plus React still encourages the traditional separation: - Model is props/state. - View is render(). - Controller is everything else (lifecycle, handlers, etc.) IMHO it's also best-practice to separate view from presentation using
947.
▲
by
kaoD
10y ago
You're nitpicking. GP said: > If objects are mutable then the order of execution matters, and you have to trust the programmer to get the data flow and control flow to agree My point is that, even in FP, as soon as you hit sequentia
948.
▲
by
kaoD
10y ago
It's not an example of evaluation order because we weren't discussing evaluation order. GP said: > If objects are mutable then the order of execution matters, and you have to trust the programmer to get the data flow and contro
949.
▲
by
kaoD
10y ago
> In OO the core concept is the mutable object. I disagree here. In OOP the core concept is the object (whether mutable or not) understood as a set of data and accompanying functions which operate on it. This is where OOP and FP collide:
950.
▲
by
kaoD
10y ago
I think you're being downvoted due to strawman ([s]he praised documenting concepts, not the documentation as a whole) but you're right though. I've never dived into my toolchain code (due to missing or frugal documentation) m
951.
▲
by
kaoD
10y ago
What Clojure excels at (expressive data structure walking/manipulation) is, in my experience, seldom used in typical frontend programming, often taken care by underlying frameworks like React. JSX works fine, looks like HTML, and Cljs
952.
▲
by
kaoD
10y ago
Slightly unrelated: I often find myself in the browser console, exploring data scraped off webpages (often from Wikipedia tables). I think REPLs are another kind of "tool of thought". E.g.: I recently scraped my country's ele
953.
▲
by
kaoD
10y ago
Whoops, I missed your reply (and you'll probably miss mine). Apparently so. I just went there one day and it was gone. There were rumors like a fit of rage or the owner no longer wanting to be associated with cheat coding, but as an ou
954.
▲
by
kaoD
10y ago
I'm certainly not familiar with Rebol/Red, but every single time I've been introduced to them as "modern incarnations of Forth", and AFAICR they conserve right-to-left function application and the concept of diction
955.
▲
by
kaoD
10y ago
> Like Rebol/Red. Well, that was unexpected. It's too late guys, you should have tried to popularize Forth like 20-30 years ago.
956.
▲
by
kaoD
10y ago
Not sure why I'm taking the bait but here I go: > Now we have much more powerful things Like what? Off the top of my head, Rust, Haskell and F# are probably the only ones that come close, and they're about as popular as the Lis
957.
▲
by
kaoD
10y ago
But it isn't. Machine code is for computers, assembly for humans. Although assembly is machine code represented with mnemonics, they're not the same: assemblers take assembly and produce machine code.
958.
▲
by
kaoD
10y ago
You know what? I was ready for bullshit and you actually gave a compelling answer :P Yeah, that's a bummer, but there aren't that many instances of that drawback (it's bitten me a couple times maybe in many years?) and on the
959.
▲
by
kaoD
10y ago
Not sure I understand what you mean.
960.
▲
by
kaoD
10y ago
Unless I misunderstood that won't show the result of the command.
More ›