Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jhgb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
571.
▲
by
jhgb
5y ago
This a perfectly nice Programming 101 example of a recursive function -- if an angle is too large, calculate its sine using the sine of the half-angle, otherwise return the angle (or, if you're fancy, some simple polynomial approximati
572.
▲
by
jhgb
5y ago
It's not a CIA black site. It's a garden. It works just fine even if people can see you from above.
573.
▲
by
jhgb
5y ago
> So I can only use the diff tool to compare two non-compiling versions of a source file if I provide a test suite for that file to the diff tool? Not sure what this whole straw man is about. I definitely didn't suggest anything lik
574.
▲
by
jhgb
5y ago
I thought a condominium was the entire building? In any case, not calling an owned housing unit in a larger building "an apartment" must definitely be an Americanism.
575.
▲
by
jhgb
5y ago
What "test suite for the parser"? Of course a test suite for the faulty program you're trying to correct into a working one.
576.
▲
by
jhgb
5y ago
My point was that test suites should give you a heuristic on what corrections are good and which are bad. A source code change that turns a test fail into a test pass should be considered an improvement.
577.
▲
by
jhgb
5y ago
"If the file is malformed, there is almost certainly an infinite number of possible edits to make the file adhere to the grammar, hence there can not be any algorithm that just provides the one and only correct syntax tree. This in tur
578.
▲
by
jhgb
5y ago
That is true, yet it has nothing to do with the strange universal claim that "everyone would prefer X". In a world with over seven billion people in it, such universal claims are inherently dangerous.
579.
▲
by
jhgb
5y ago
> In some sense I prefer a Lamborghini to the Hyundai I own. I guess everybody would. Why would you think that? I for one definitely would not prefer a machine that not only has hideous resource consumption but also makes it much easie
580.
▲
by
jhgb
5y ago
When I visited my step-grandmother in (then) West Germany in the 1980s, she had a private yard, despite living in an apartment tower...in the middle of Frankfurt. Apparently such allotments are common in Germany, even in cities.
581.
▲
by
jhgb
5y ago
> It is hilarious that some parts of Germany outlaws "Z" while at the same time giving weapons that will end up in the Azov regiment, which soldiers would be thrown in jail in Germany for wearing their nazi insignia. Like, Germ
582.
▲
by
jhgb
5y ago
> I hate apartments, they are cramped, noisy, I don't have a private yard Is this something that can't be solved by building codes?
583.
▲
by
jhgb
5y ago
It's possible; I haven't looked at Skia for some time. As far as I can tell, in the past, https://skia.org/docs/user/tips/#does-skia-shape-text-kernin... applied.
584.
▲
by
jhgb
5y ago
What I was responding to literally talked about "work hours increase". I don't see how you can have "work hours increase" and simultaneously keep the same "normal 8 hour day". That sounds contradictory to
585.
▲
by
jhgb
5y ago
Nothing drastic about that. If anything, 40/2009 Sb. § 365, § 404, and § 405 had been underused in the past.
586.
▲
by
jhgb
5y ago
> Working too hard just decreases that ratio because work hours increase while money stays constant I assume this may hold for the US, but not for many other countries. For example in my country the hourly rate for overtime hours is high
587.
▲
by
jhgb
5y ago
Except Skia is not a text renderer. Skia won't correctly position glyphs for you. It can only render glyphs for you at positions that you provide.
588.
▲
by
jhgb
5y ago
Now that you have safe AND performant languages like Rust or Oberon, what is the reason to not have exokernels for these applications?
589.
▲
by
jhgb
5y ago
That's a weird thing to say when for example Emacs+SLIME has had everything you wanted from a Lisp IDE for more than a decade. There's literally no reason for not having full IDE experience in Emacs.
590.
▲
by
jhgb
5y ago
What I had in mind was that this is also necessary to support an on-disk object database.
591.
▲
by
jhgb
5y ago
> What exactly is the problem with this? What if I want to continue using Emacs?
592.
▲
by
jhgb
5y ago
> In short imagine Java or C++ objects, but they can live in a soup in a persistent database. AllegroCache still exists today. So at least Lisp people don't have to imagine that. I wonder if that is one of the reasons why CL people
593.
▲
by
jhgb
5y ago
> it would be torturous more than soothing Relevant Asimov story: https://en.wikipedia.org/wiki/The_Dead_Past
594.
▲
by
jhgb
5y ago
> Before I started using Onshape, I thought that 1) all CAD software was a million billion gigabytes, and required stupidly powerful hardware for no readily apparent reason So I take it you have never seen OKAD? ;) http://www
595.
▲
by
jhgb
5y ago
The problem I imagine would be with the corner pieces. You'd need three different temperatures for the three different faces (with stable temperature across each face). I imagine that achieving this might be still technologically possi
596.
▲
by
jhgb
5y ago
Lisp: "List processing". Clojure doesn't even have cons cells... A Lisp without cons cells is like a C derivative without pointers...is it really C at that point? I'd also question the "profound belief that recursio
597.
▲
by
jhgb
5y ago
I was kind of hoping the faces would be heat-colored but I imagine that would have been a bit more complex.
598.
▲
by
jhgb
5y ago
And I got my MRI brain scan and I had absolutely zero emotional reaction to it, except for curiosity. But then again I'm a schizoid so that was very likely anyway...
599.
▲
by
jhgb
5y ago
Emacs+SLIME has worked like this since the beginning.
600.
▲
by
jhgb
5y ago
The REPL experience in Lisp stems from how Lisp works; notebooks on top of Python don't remove Python's fundamental limitations. You can put a better interface on top of Python and it will still have Python's limitations, suc
More ›