Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gugagore
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
421.
▲
by
gugagore
6y ago
> Note that functions like sin and cos have exactly the same type signature, yet it is disastrous if you mix them up. Static type checking doesn't help. I agree with you. I am hard-pressed to imagine types (where it's static an
422.
▲
by
gugagore
6y ago
I assume you say it at least a bit in jest, and with a good deal of sincerity. Did you ever know an interactive environment for producing Fortran code? Anything like a REPL?
423.
▲
by
gugagore
6y ago
We should be careful to appreciate the “types” in Julia for what they are at their essence: a way to direct dispatch of methods. Certainly the Julia compiler reasons about types in order to generate efficient code. But Julia types also affe
424.
▲
by
gugagore
6y ago
I really want more interfaces like this, with diagram representations of source code, and convenient and interactive plotting. Thank you! Can you speak to why a scatter plot and a line plot are distinguished using `(xs, ys, zs)` and `[xs, y
425.
▲
by
gugagore
6y ago
Did you ever develop a crush on someone you never really interact with, and who had no positive impact in your life? Perhaps someone who has had a less-than-positive impact? You don't know the person that well.
426.
▲
by
gugagore
6y ago
If I recall, this is the solution: https://stackoverflow.com/a/27185688 I don't know why there isn't a sys.argvb as there is is.environb
427.
▲
by
gugagore
6y ago
Seems like the rub is "The main requirement of a heterogeneous list is that it can hold any type." when I think I would colloquially say, and use as a working definition, that they need to hold different types. Also the rub is tha
428.
▲
by
gugagore
6y ago
This is just begging the question, I think! Transference being real requires the idea that the caregiver is a blank slate onto which projection occurs.
429.
▲
by
gugagore
6y ago
I think `grouby` is a compelling example: https://toolz.readthedocs.io/en/latest/control.html#other-pa... > Most programmers have written code exactly like this over and over again, just like they may have repe
430.
▲
by
gugagore
6y ago
I'm not sure they were suggesting using type-specific sentinel values (like null and nan), but to always use null or point to a value. I like wrapping the information in a data structure exactly as you suggested, and if you never mutat
431.
▲
by
gugagore
6y ago
I like to remember "plans are useless but planning is indispensable". The plan is useless because of the challenge of predicting the future. But the planning is useful because trying to predict the future gets you asking good ques
432.
▲
Why do some people say “We don't know what electricity is ”?
(amasci.com)
1 points
by
gugagore
6y ago
|
0 comments
433.
▲
by
gugagore
6y ago
> These types of design changes remind me why I write web pages instead of making videos: I can keep improving these pages over time. I care a lot about longevity. I want to make things that keep getting better over time. It's also
434.
▲
by
gugagore
6y ago
I love that example of the lua error message, but aren't there non-arithmetic functions that also error? What's the message in that case? What's nice about Python's message is how compositional or "orthogonal"
435.
▲
by
gugagore
6y ago
> So to "describe" stuff, Lua doesn't need libraries. Maybe you can clarify what "describe" means. It reminds me of the subtle-possibly-false dichotomy between a program and a configuration. Turing-completeness c
436.
▲
by
gugagore
6y ago
You can do that in the same way that you can upscale a raster image to arbitrarily high resolutions by interpolating. In my mind, it's not just that you can zoom into vector graphics without seeing pixels. It's also that you can m
437.
▲
by
gugagore
6y ago
Surely you can see that rasterizing defeats the purpose of a vector graphics representation.
438.
▲
by
gugagore
6y ago
Wonderful example, and this is why signed-distance functions/fields (SDF) are used. The diagram in https://en.wikipedia.org/wiki/Level-set_method might help explain how such a representation can "uniformly&qu
439.
▲
by
gugagore
6y ago
Signed zeros are a tricky design choice, for sure... https://www.johndcook.com/blog/2010/06/15/why-computers-have... I like this comment: > To other commenters: It’s important not to confuse floating
440.
▲
by
gugagore
6y ago
Thanks for re-highlighting this point, and for doing it with a pun! While not directly related to the differentiability question, the idea that you can resolve spatial movement to well below the spatial resolution of pixels in an imager is
441.
▲
by
gugagore
6y ago
By the way, the term for this kind of biomedical measurement modality is Photoplethysmography (PPG). The HRS3300 is an example of a PPG sensor used in a few devices, including the PineTime.
442.
▲
by
gugagore
6y ago
This requirement might never have reached a software engineer in many organizations, and perhaps that's what I mean. So part of the mastery is ensuring you are around to provide solutions when business needs are being deliberated. That
443.
▲
by
gugagore
6y ago
Your use of "spec" here is a weasel word to make your point. There are many kinds of specs. The spec here is "users need a physical copy", the organization was intending to solve it by using the services of another busin
444.
▲
by
gugagore
6y ago
It seems like this value you brought in is "outside" the domain of software engineering, however. Yes, the solution ended up being found in software engineering, but the problem came from a business operation thing, no? (I wish yo
445.
▲
by
gugagore
6y ago
> Basically every organization and politician on the left was supporting that not the left. Lots of D politicians, granted. But I can't believe you seriously think that the "the election was fraudulent theatrics" (which I&
446.
▲
by
gugagore
6y ago
> Uber and Lyft thrived because taxis are so disastrous. Yes! Exactly! These businesses create value with convenient apps and better logistics. They should rely on that value, and not the value that they can extract from labor. (The rest
447.
▲
by
gugagore
6y ago
It is worth being more precise than "there is a lot of opposition". That opposition corresponds to a political ideology that public entities like mass transportation and USPS [1] should break even to begin with. It's not a re
448.
▲
by
gugagore
6y ago
For a video to address this misconception of the speed of light being constant, and it just appears to slow down due to ping-pong, I recommend "Why does light slow down in water?" by Fermilab: https://www.youtube.com&#x
449.
▲
by
gugagore
6y ago
This is an issue solvable with better provenance / data lineage, which has come up in recent HN discussions.
450.
▲
by
gugagore
6y ago
I agree intent counts. You start by saying "You might be seeing sexism where there is none.". To me, our comments are summarized with: You: "it might not be sexism because people often assume heterosexuality, but the statemen
More ›