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 CLion Is Now Free for Non-Commercial Use
Programming languages are high-cost, low-revenue beasts. When Kotlin was first released, JB was hoping it would replace Java in the enterprise. And as the sole providers of Kotlin tools, they'd have a greatly expanded market.

Kotlin did not replace Java, except on Android. So JB now has a beast they have to feed without an enterprise revenue stream. They do get secondary benefits: they use it internally, etc.

We examined Kotlin in detail for a CLI app and based on conversations with Kotlin developers concluded that it was not sufficient of a Java replacement for us to evaluate further. For those in a similar situation, the greatly increased cadence of Java releases has probably permanently foreclosed Kotlin-qua-enterprise language.

ternaryoperator··on Still standing
Alex Jones lost a civil case to the families of the victims. There was no first amendment issue because the first amendment specifies what the government can and cannot limit w.r.t. speech.
ternaryoperator··on Petition to the Open Source Initiative: Publish the Full 2025 Election Results
They do not own the Open Source trademark. They tried to trademark "open source", but the USPTO denied the application. Since then, they've worked at convincing the public that OSS means anything with a license approved by the OSI. This too is not so. For example, SQLite, arguably the most successful OSS tool ever built, is not covered by an OSI license and doesn't intend to be.
ternaryoperator··on Layered Design in Go
In the abstract, I think I agree with you. But in reality, what I see is that go projects use far fewer packages than, say, programs in Java. Many go projects use one or two omnibus packages--principally, I expect, to avoid having to worry about circularity issues.

By forcing this design pattern on developers (something no other language does), I think the result has been overall worse code rather than better.

Perhaps a warning, rather than stop-the-compiler error would have been a better choice. Not sure.

Either way though, I wholly agree that the compiler gives too little information, which is curious because it knows the needed data and should easily be able to present it in a useful way.

ternaryoperator··on Who isn't a big fan of "impartial" news? People who don't have power
Quite agreed. It's an extraordinary book that's far more relevant than Postman could ever have imagined.
ternaryoperator··on Who isn't a big fan of "impartial" news? People who don't have power
Clay Johnson's 2012 book, The Information Diet, discusses this phenomenon in the context of CNN going from a prime place in the news firmament to an also-ran when TV stations started driving news based on primary on their audience's political preferences. For a while, CNN still enjoyed a place as a definitive source whenever big events happened (national elections, disasters, etc.). But even that role was later subsumed by the biased TV sources.

In addition to viewer's preferences for their political slant on the news, I think that when CNN gave up the 24-hour Headline News, that probably diminished their role as well.

ternaryoperator··on Why are credit card rates so high?
That's an excellent summary--clearer, in fact, than the summary at the end of the article itself.
ternaryoperator··on I stopped everything and started writing C again
In the abstract, the simplicity of C has a definite appeal. However, pragmatically, the sense that I am mowing the lawn with a pair of scissors gets tiring quickly.
ternaryoperator··on JetBrains Fleet drops support for Kotlin Multiplatform
CoPilot has been working fairly well for me in GoLand. I don't know if Copilot has the same or more support in Goland than in Webstorm/Pycharm, so, if the latter, my observation might well be disjoint from yours.

But so far, it's a moderately capable assistant. My biggest complaints with it have more to do with its responses than its fit with the IDE.

ternaryoperator··on Go Data Structures (2009)
Honestly, I couldn't believe that this code works as you stated it does. But I ran it in the Playground[17] and sure enough! That is exactly what it produces. Ugh!

[37] https://go.dev/play/p/rO7rlvK7Dna

ternaryoperator··on Former tech CEO suing to get the record of his arrest removed from the internet
Precisely. This is the difference between scandal-mongering and journalism. Both can cover things that are true and factual, so can be deemed news. However, the former is closer to entertainment than it is to information of value.
ternaryoperator··on TikTok goes dark in the US
Freedom of the press is guaranteed in the first amendment, "freedom of the platform" is a non-existent right.
ternaryoperator··on Can You Read This Cursive Handwriting? The National Archives Wants Your Help
I think it likely that reading the great variety of cursive styles makes simple teaching rather complicated. Folks who spent years in school reading and writing in cursive can quickly adapt to the various styles, in a way that I'm not sure it could be done in a simple tutorial.
ternaryoperator··on Campsite switches to Creative Commons Non-Commercial license
Creative Commons isn't a bar to being open source, but the Non-Commercial part certainly is. Definitely not OSS.
ternaryoperator··on Pat Gelsinger was wrong for Intel
It's very, very difficult to shrink a public company until the board fully accepts that it has to happen.

The problem Gelsinger faced is one that many similarly placed CEOs face. A company is bloated when they come in; they have to make the company smaller; they become the sacrificial lamb for reducing its size and temporarily its income; so another CEO is brought in who recognizes the need to do the same thing; they are also fired; finally, the board brings in a white knight (typically someone with a moniker like "Chainsaw Al") who makes them see that the company has to shrink even more to get the turnaround. That CEO gets to keep the job and, if successful, win all the plaudits.

ternaryoperator··on Dear sir, you have built a compiler (2022)
That's right. One of the knocks on those early versions was that every new release broke previous code in significant ways. Which is one reason that v. 1.0 was so important to the community. They could finally commit code using a stable language.
ternaryoperator··on Notepad++ is 21 years old
Agreed. The author being "Michael" with no last name and no bio, the lack of any technical description of Notepad++, the lack of any comment from Don Ho, etc.
ternaryoperator··on Exploring Typst, a new typesetting system similar to LaTeX
Search in HN for Typst and you'll see this link is routinely posted and as little as three months ago got nearly 200 comments.
ternaryoperator··on Show HN: Kotlin Money
price + (10.percent * 2) looks like 12: If 10.percent = 1, 1*2 = 2. 10 + 2 = 12.

Under the usual rules of operator precedence, that would be the expected answer (multiplication having higher precedence than addition).

ternaryoperator··on Swift 6
> The most batteries included multiplatform language right now is _by far_ Kotlin and nothing else is remotely close.

Kotlin is nowhere close to Java in this comparison. For all intents, there is just one realistic IDE for Kotlin. And realistically only one build system. And the community is very small. Java, by comparison, has many IDEs to choose from, many build systems, and a very large community to answer questions.

K

ternaryoperator··on Zettlr: Note-Taking and Publishing with Markdown
> I'm able to customize almost every aspect I need to.

Are you, though? I've not seen a single site that I know to be published with Obsidian Publish that does not have the content graph. And when I checked out Publish, I found no way to get rid of it and use that real estate for content of greater value to the reader. Has that changed?

ternaryoperator··on Go is my hammer, and everything is a nail
Agreed on all points except #3 re the core libraries. Coming from the Java ecosystem, it was a bit of a shock to see how small the standard libraries are. For example, the minuscule collections library, among others.
ternaryoperator··on Gangs in the Los Angeles County Sheriff's Department
> Giving them a relatively small amount of money, say $10,000 per year

We must live in different universes. In mine, $10K is not "a small amount of money" nor even close.

ternaryoperator··on Twilio confirms data breach after hackers leak 33M Authy user phone numbers
> The telephone companies make money based on minutes of usage.

I don't see how that could be correct. Once you pay your monthly fee, the fewer minutes you tie up the company's resources the better for them. That's true too for pay-ahead plans.

ternaryoperator··on My Windows Computer Just Doesn't Feel Like Mine Anymore
Your suggestion doesn't solve the problem. I want to know about updates without being forced to install them to avoid being badgered. AFAIK that's not possible.
ternaryoperator··on My Windows Computer Just Doesn't Feel Like Mine Anymore
My Mac is constantly bugging me to install OS updates. Same with my iPad and my iPhone. Apple gives you no option to skip the updates. The only way to avoid the constant carping is to allow Apple to do the update automatically, which is not by any means having control of your own devices.
ternaryoperator··on Major cause of inflammatory bowel disease discovered
Gene therapy is opening miraculous doors in medicine. One more generation and I expect many of today's diseases will be entirely treatable, with some eliminated (provided they don't get caught up in politics).
ternaryoperator··on Ask HN: How Did You Land Your First Tech Job with No Experience?
The first company I worked for would recruit at my school for students with the highest grades. As the school used letter grades, I was in a tie with three other students, but I was the only one who applied for this particular position. Glad I did, as I learned a ton b/c previous hirelings from my school had done well there. So they trusted me with tasks I didn't expect to be asked to take on right off the bat.
ternaryoperator··on Lewis Carroll – computing the day of the week for any given date (1887)
You don't have to take the mod 7 of each of the values. You can sum them into one number and take its mod 7. You'll get the same result.
ternaryoperator··on Show HN: A web debugger an ex-Cloudflare team has been working on for 4 years
Looks really good. And it's a better fit for my work on a CLI app that makes no use of a browser.
← PreviousPage 5 of 29Next →