Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
samatman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
60 ms
·
931.
▲
by
samatman
2y ago
Julia is the spiritual successor to Dylan in many ways: multiple dispatch, Lisp heritage, and a full-power macro system with gensyms and local capture. It's a bit type-cast as a language for numerics and scientific programming, a niche
932.
▲
by
samatman
2y ago
Every open recruitment market is a market for lemons, the problem is especially acute in tech. As an employer, you have a specific position to fill. What would you rather do: sort through a slush pile? Or interview someone vetted by a trust
933.
▲
by
samatman
2y ago
Honestly, build it. The same thing which makes Tinder a blight on human happiness would make the format an excellent way to pair jobs with job seekers.
934.
▲
by
samatman
2y ago
> You clearly didn't understand the statement you are replying to. You sure about that? https://github.com/JuliaLang/julia/blob/af545b90c5657e0e210a...
935.
▲
by
samatman
2y ago
Perfectly obvious what's going on here. If they actually believed that their big-linear-algebra programs were going to spontaneously turn into Skynet and eat us all, they wouldn't be writing them. Since they are, in fact, writing
936.
▲
by
samatman
2y ago
You absolutely can. Now the company has to pay one of their lawyers ($$$) to show up, or the claim is a default judgement, which they have to pay. So the lawyer shows up and says blah blah mandatory binding arbitration. The judge can interr
937.
▲
by
samatman
2y ago
How do you reconcile this belief with the Fine Article's finding that the average age of a program creator is 37.5 years?
938.
▲
by
samatman
2y ago
That can't possibly be true. East Asian countries have a long tradition of lacquerware, which is made with urushiol-containing saps. https://en.wikipedia.org/wiki/Lacquerware In fact urushi is the Japanese word fo
939.
▲
by
samatman
2y ago
The meta fallacy on display here is the Fallacy Fallacy. For every logical fallacy, there is a fallacious application of it to a given example of rhetoric. You've committed the Argument from Authority Fallacy Fallacy: citing people wh
940.
▲
by
samatman
2y ago
All operators, you say? Which of the following: ← → ↔ ↚ ↛ ↞ ↠ ↢ ↣ ↦ ↤ ↮ ⇎ ⇍ ⇏ ⇐ ⇒ ⇔ ⇴ ⇶ ⇷ ⇸ ⇹ ⇺ ⇻ ⇼ ⇽ ⇾ ⇿ ⟵ ⟶ ⟷ ⟹ ⟺ ⟻ ⟼ ⟽ ⟾ ⟿ ⤀ ⤁ ⤂ ⤃ ⤄ ⤅ ⤆ ⤇ ⤌ ⤍ ⤎ ⤏ ⤐ ⤑ ⤔ ⤕ ⤖ ⤗ ⤘ ⤝ ⤞ ⤟ ⤠ ⥄ ⥅ ⥆ ⥇ ⥈ ⥊ ⥋ ⥎ ⥐ ⥒ ⥓ ⥖ ⥗ ⥚ ⥛ ⥞ ⥟ ⥢ ⥤ ⥦ ⥧ ⥨ ⥩ ⥪ ⥫ ⥬ ⥭ ⥰ ⧴ ⬱ ⬰
941.
▲
by
samatman
2y ago
This is correct, but it's important to realize that compile time continues during runtime. Julia's execution model is quite distinctive, and it does take a thorough understanding of how it plays out to get native-code speeds out o
942.
▲
by
samatman
2y ago
In Julia: M = [1 2 3; 4 5 6; 7 8 9] λ = eigvals(M) Which is much the same.
943.
▲
by
samatman
2y ago
> Only for those grapheme clusters that do not have a representation in Unicode! I think it's reasonable to consider a grapheme cluster composing one codepoint to be a codepoint, not a grapheme cluster. One grape is not a cluster
944.
▲
by
samatman
2y ago
Or if you have numbers that aren't integers to perform math on, you can use integers. It's not a new problem, and it isn't specific to floats. Computers do discrete math. Always have, always will.
945.
▲
by
samatman
2y ago
> Nope; it has linked list syntax (that certainly isn't ignored even by very good compilers) We're looking at the same string and seeing different things. You're seeing `(write-string "hello world")` as a prog
946.
▲
by
samatman
2y ago
Granted, that was put poorly, let me try again. What I said doesn't in fact have the implication you took from it, but I didn't explain myself particularly well. There are many programs one can write in C, or Zig, or some other ma
947.
▲
by
samatman
2y ago
IEEE 754 defines an exact binary result for the addition of any two floats. That this bit-identical result is not the same operation as addition of real numbers is irrelevant, because floats aren't reals. f1 + f2 is not an estimation.
948.
▲
by
samatman
2y ago
> the terms are used interchangeably in most contexts Counting and estimating are not used interchangeably in most contexts. > because in the real world all counting methods have some nonzero error rate. The possibility that the c
949.
▲
by
samatman
2y ago
There are several languages which are motivated by providing a better experience than C in C's native domain. Rust is not one of those languages. Rust has an innovative, but highly opinionated, memory model: the premise is writing high
950.
▲
by
samatman
2y ago
Thought I'd take a crack at it in Zig: const foo: [_][8]**fn () [*][*:0]const u8; This is an array of result-defined size, of arrays of eight pointers to fn pointers, which returns a many-item pointer to null-terminated arrays
951.
▲
by
samatman
2y ago
Raku also has a distinctive (and a bit bizarre) string type for including graphemes. It builds a lookup table of grapheme clusters, and represents them in memory as negative i32s. My Hot Take on this is that finding grapheme clusters is imp
952.
▲
by
samatman
2y ago
"Correct" isn't quite, well, correct here ;) For a starting point, case-insensitive comparison is comparison, and is locale-specific. The general name for the task we're discussion is "collation". Unicode defin
953.
▲
by
samatman
2y ago
I don't understand how a language runtime is supposed to prevent your colleague from using an unexpected encoding. Next time you try to load whoops-weird-encoding.txt as utf-8, and get garbage, may I suggest `file whoops-weird-encoding
954.
▲
by
samatman
2y ago
Regex compilers know what a character is, so that "α+" doesn't match one 0xce followed by one-or-more 0xb1. Regex engines neither know nor care what a character is. They match bytes. Invalid UFT-8 is just another thing they
955.
▲
by
samatman
2y ago
I don't understand this compliant at all. The company still manufactures and sells the Pi 1, 3, and 4, in several variations. What did they take away from the world by making a more powerful model which uses, uh, 12 entire watts? 50%
956.
▲
by
samatman
2y ago
(write-string "hello world") has linked list semantics, the fact that compilers can be smart enough to ignore this is not the point I'm making. (write-string (cdr '(write-string "hello-world"))) also has to wor
957.
▲
by
samatman
2y ago
You need a linked list to write hello world in any Lisp, though. Seems like the glaring exception to the rule!
958.
▲
by
samatman
2y ago
I'm fairly sure you're conflating the mini with the base model, and comparing it to the Pro. The Pro always has features which the base model lacks. I don't remember there being any features, ever, which the mini was missing
959.
▲
by
samatman
2y ago
I'm going to keep using mine for as long as I can, and just hope that Apple releases another one by the time I need a new phone. "shitty components and artificially disabled hardware" is one way to look at it. I think "s
960.
▲
by
samatman
2y ago
Yeah, I remember all that dot com hysteria like it was yesterday. Page after page of Wired breathlessly predicting the future. We'd shop online, date online, the world's information at our fingertips. It was going to change everyt
More ›