HNHacker News
TopNewBestAskShowJobs

ternaryoperator

5,231 karma · joined June 16, 2011

I value your time and mine. So, I intend my comments and posts to be helpful. If they're not, lemme know. We're all in the soup together.
submissionscomments
ternaryoperator··on 1950s – California Street Scenes in Color
Ah, the days when people dressed up to go outside! I like that.
ternaryoperator··on Transcending My Father's Abuse
I too share your sentiments about the upcoming generation(s). The other thing I notice about them is that they're overall far more accepting about differences in race, sexual orientation, gender, etc.
ternaryoperator··on Writing a SQLite Clone from Scratch in C (2022)
Another good one is Jacobin[0], a JVM being written in go.

[0] http://jacobin.org

ternaryoperator··on JEP 450: Compact Object Headers
Not sure why you're being downvoted.

The Jacobin JVM [0] does exactly what you suggest: 64-bit operand stack and local variables. Longs and doubles still occupy two slots on the operand stack, so as to avoid having to recompile Java classes that assume the two-slot allocation, but the design avoids having to smash together two 32-bit values every time a long or double is operated on.

[0] http://jacobin.org/

ternaryoperator··on Oklahoma court won't stop Glossip execution
Since the governor has given multiple reprieves, can he not grant clemency to avoid the miscarriage of justice? Does the governor not have that power in Oklahoma, as he does in most other states?
ternaryoperator··on The Effects of Noise on Health (2022)
I have tinnitus. And I feel that silence id the only true luxury. When I am in an environment that is so quiet that the only thing I hear is the hum of my tinnitus, I feel very much at peace.
ternaryoperator··on The Effects of Noise on Health (2022)
I've long felt that the truest luxury in today's world is silence.
ternaryoperator··on Catch-23: The New C Standard Sets the World on Fire
This reminds me of a point made by the late Stan Kelly-Bootle, who for years wrote the Devil's Advocate column in UNIX Review magazine. In the early 1990s, he was discussing Microsoft's new C compiler and noted that in the promo material for the new compiler, it showed a benchmark for a loop that counted from 1 to 10,000 then printed "Hello". MS claimed that without optimization it took a few milliseconds, after optimization: 0 ms. A small asterisk explained the optimizer simply removed the loop. Kelly-Bootle pointed out, that the only reason a developer would write such a loop was to introduce a needed delay. Therefore, deleting the loop was not optimizing, but in fact pessimizing. And so, it was in fact Microsoft's Pessimizing C compiler.
ternaryoperator··on Ask HN: More magazines like Quanta and Noema?
Agreed about the New Yorker. Likewise, agree with the exact same description for the Atlantic. And I have bounced back and forth between them over the years.
ternaryoperator··on Zig as an alternative to writing unsafe Rust
I quite agree. I take it a step further: I think devs should be taught how to handle complexity better. It's a skill that some programmers have and that others sorely lack, but AFAIK, it's not a skill taught at all in CS programs.
ternaryoperator··on Building a Minimalistic Virtual Machine
It's not close to as easy as you represent. To start with, there are 204 instructions, some of them, far more complex than what you term "basic," such as invokedynamic. The exception mechanism is also far from "simple," -- it's simple conceptually but extremely difficult to get exactly right when it involves finally clauses both in the exception handler and the original excepting code. There are many subtleties that can lead to completely wrong results if not designed very, very carefully. It's far from "simple."
ternaryoperator··on Building a Minimalistic Virtual Machine
The folks at the Jacobin JVM [0] project (a JVM written in Go) are working on the issue of size and the ability to have a fully functional JVM maintained by a small group of developers. Right now, per the latest post [1], they can run simple classes and expect to complete the interpreter in the next few months.

[0] jacobin.org [1] http://binstock.blogspot.com/2023/02/jacobin-jvm-at-18-month...

ternaryoperator··on Beautiful Binary Search in D
> D was designed by Walter Bright (who played a large role in inflicting C++ on the world)

That's a rather unfair characterization. He wrote the Datalight/Zortech C++ compiler. He was never--that I recall--a big flag-waver for C++.

ternaryoperator··on Reducing technical debt by valuing comments as much as code
The link at the end of the article to the JVM written in Go is a cool project. The GH project is at https://github.com/platypusguy/jacobin
ternaryoperator··on Sound travels further in cold weather (2019)
Most sites that weigh in on this topic agree that "further" does not apply to physical distance. [0][1][2]

[0] https://www.merriam-webster.com/words-at-play/is-it-further-...

[1] https://www.grammarly.com/blog/farther-further/

[2] https://www.britannica.com/dictionary/eb/qa/what-s-the-diffe...

ternaryoperator··on Sound travels further in cold weather (2019)
Sound travels farther in cold weather. FTFY
ternaryoperator··on Mona Sans and Hubot Sans
Very handy utility! My foray steers me to Source Code Pro.
ternaryoperator··on We Switched from Python to Go (2017)
> It's not targeted to be easy to learn.

Not sure where you get that idea. "Easy to learn" is literally the second bullet point on the go home page. [0]

The golang authors (Russ Cox, etc.) in Communications of the ACM (May 2022): "Go is efficient, easy to learn, and freely available..."[1]

...and many other places similarly.

[0] https://go.dev/ [1] https://cacm.acm.org/magazines/2022/5/260357-the-go-programm...

ternaryoperator··on Show HN: I built a site that finds the cheapest place to buy a book
On your prices, if the amount ends with a 0, you lop it off. So $12.40 becomes 12.4. Dollar prices require two decimals.
ternaryoperator··on Lowest “Who is hiring?” Post Count in 30 Months
The first factor, if valid, would have shown up in previous years too, no?
ternaryoperator··on How the SQLite virtual machine works
> For much of its lifetime, SQLite wasn't taken seriously

As far as I can recall, it was always well regarded as an embeddable database. What makes you think that it wasn't taken seriously "for much of its lifetime"?

ternaryoperator··on Github.com Down Again?
Crashed but seems to be up again
ternaryoperator··on Samsung Recent Security Incident
Came here to say this. The least they could have done is provide you with a free credit report, regardless of whether you previously used your freebie.
ternaryoperator··on Finnish as a world language?
Well done satire will fool any community. That's the definition of good satire. I don't think HN is any more easily fooled than other communities. And frequently HN finds some aspect being ridiculed and shows that in fact it's not nearly as dismissable as the satire would have one believe.
ternaryoperator··on Finnish as a world language?
Japanese is a language with no future tense and a very choppy system of plurals (many of which have to be inferred). I don't think it's a good candidate.
ternaryoperator··on Serving Netflix Video Traffic at 800Gb/s and Beyond [pdf]
This! I am frustrated at how often devs will not accept that simple things become incredibly complicated at scale. That favorite coding technique? That container you wrote? Those tests you added? All good, but until you've tested them at scale, don't assert that everyone should use them. This dynamic is true in the other direction too: that techniques often taken for granted simply are not feasible in highly resource-constrained environments. With rare exception, the best we can say with accuracy is that "I find X works well enough in the typical situations I code for."
ternaryoperator··on Ask HN: How to find a small town to relocate for remote work?
> Gentrifying a place pretty inherently means removing at least some of the people who live there.

Not necessarily. You could buy a house that's empty.

ternaryoperator··on Quirky computing books
I think the whole "Head First" series from O'Reilly qualifies.
ternaryoperator··on The semantic web is dead – Long live the semantic web
Not sure I understand the comparison with Lisp. You list five reasons for the semantic web that mostly involve cost.
ternaryoperator··on If only Borland had stuck with Turbo Modula-2 for CP/M (2013)
This is the history as I remember it too. IIRC Topspeed C was an excellent compiler.
← PreviousPage 7 of 29Next →