HNHacker News
TopNewBestAskShowJobs

Conlectus

732 karma · joined September 25, 2013

submissionscomments
Conlectus··on Why you should NOT use NativeScript
Hard to want to believe something if it means nobody will care about your work no matter how good it is for reasons out of your control.
Conlectus··on Links are not buttons (2013)
Noting that you can use form="my-id" to have the fields outside the form tag, though that might be the complications you mentioned.
Conlectus··on Why and how capitalism needs to be reformed
Property rights are the name of the game though right? The extent to which you are allowed to own property is the fundamental design mechanism for an economy system. Simple versions being taxation, more extensive being things like collectivist anarchism.
Conlectus··on Sublime Text 4 – Build 4100 has native Apple Silicon support
The memory management of large blocks of text often uses a recursive data structure called a "Rope". It may be difficult to guarantee good memory properties without manual management of some sort.
Conlectus··on Yes, experts will lie to you sometimes
Relevant: The Responsibility of Intellectuals by Noam Chomsky

https://chomsky.info/19670223/

Spoiler: It's to tell the truth.

Conlectus··on A simple program reducer for any language
The full thing would be an example of property based testing, I believe, based on the property "the compiler doesn't crash".
Conlectus··on Insect Has Gears in Its Legs (2013)
It seems to me this "impossibility" might be an artifact of definition: if some system contains disjoint parts, we no longer call it "an animal".

Colonial animals are the edge case here. Most would be hesitant to say an ant colony is "an animal", but are happy to refer to a Portuguese Man 'o' War as such, despite also being a colony.

Conlectus··on I Want a New Duck (2020)
(meaningful) isn't as much a get-of-out-jail clause here as you suggest, if I understand correctly. Requiring implementations at all, even if they are broken, moves the time when you find out about a missing definition to runtime, rather than being statically determined at typecheck time.

If the not-overriden method isn't commonly called, it's possible for the non-meaningful / raise an exception version to make it to production. Not so if the error happens at typecheck time.

Conlectus··on I Want a New Duck (2020)
This distinction is the same as the distinction between structural and nominal typing, described at the end of the article.

Abstract base classes require everything to extend from a base-level object, and also inherit it's default implementations. This is a nominal (name-based) mechanism.

Protocol (structural-based) subtyping instead only declares what methods something has to have, without requiring it tie itself to either to a concrete parent class and its behaviours.

Edit: since you partially address this, you ask why you'd use structural typing rather than an abstract base class. I'll turn it around and ask why you would use an abstract base class, which requires modifying the children accordingly, when you could instead use a structural type. The usual preference comes down to whether you want to be explicit about implementing it or not, and whether you want to pull in default behaviour.

Conlectus··on [dead]
Taken from the article

> "It is no surprise that search engines replicate biases that are not exclusive to the technology, but rather cultural ones. Women of certain nationalities are pigeonholed into sexual and services roles by a male English-speaking culture," she adds.

Conlectus··on [dead]
Since there is no "correct" way to rank images, why doesn't Google return them randomly? Because they have _chosen_ a way to rank them, motivated by some goal (likely, "user satisfaction"). It is therefore reasonable to critique that choice.
Conlectus··on [dead]
The article mentions that queries made in the country's native language tended to be less "racy", suggesting the later. More generally, it's the differences in the intent of the search that may be the cause, with those intents reflecting the beliefs of others about a country.
Conlectus··on Alternative Shells
Ha! I was working in literally the same thing a while ago (a terminal emulator that used separate panes for commands, based on Electron).

You could potentially pipe every command output into a separate FIFO file and then run them in the background.

Conlectus··on Balthazar Personal Computing Device, a 13” RISC-V laptop
Note, the grandparent is not actually quoting the website, they are referencing the fictional Turboencabulator[1]

[1] https://en.wikipedia.org/wiki/Turboencabulator

Conlectus··on Rqlite: The lightweight, distributed relational database built on SQLite
That's right, yes. This is apparently possible (if not common) given the networking setups of a lot of data centers.
Conlectus··on Rqlite: The lightweight, distributed relational database built on SQLite
One thing that jumps out at me after reading a lot of Jepsen analyses - does Rqlite assume that partitions form equality relations? That is, that all nodes belong to one and only partition group? This is not always the case in practice.
Conlectus··on Are We Really Engineers?
This was in reference to a quote from a software developer comparing software development to building a bridge. That is why "he has never built a bridge" was emphasized.
Conlectus··on Are We Really Engineers?
I believe the comparisons between how engineering is practiced make this more than "silly". The purpose of the writing is not to answer that shallow question, but to better understand both fields.
Conlectus··on Are We Really Engineers?
It may be an important question because answering it requires dissecting the similarities and differences between software development and the jobs that people usually call "engineering".

In doing so, we see what lessons there are to take from each other, and gain a better understanding of both fields. For example, the author cites that version control is an innovation that traditional engineering could hugely benefit from.

Conlectus··on Are We Really Engineers?
The moral differentiation is one the author talks about a lot, because it's the usual reaction.

That said; which engineering field are you basing this on? I thought that generally only lead engineers or architects were responsible in that way.

Conlectus··on Molly for Android: A fork of Signal for Android with passphrase lock
Any reasonable length pin would not contain enough information to act as a safe encryption key; it would be too easy to brute force.
Conlectus··on We need a new media system
To prod this a bit: Qanon is popular and growing conspiracy theory. Should a news organization covering it spend equal time detailing the supposed evidence of an international satanic pedophile ring as they do discrediting it?

If such a news organization became mainstream, do you think this would lead to people being more or less informed?

Regardless, I think the "zero editorializing" idea is self-defeating. As others have said; there is near infinite information and finite webpage space and broadcast time.

Conlectus··on Pointer Pointer (2012)
Here's a picture of all the different regions:https://imgur.com/a/oYDA5Ja

For those curious if how it works, Paul Irish did a breakdown of it quite a while ago: https://youtu.be/Z2ZXW2HBLPM

TL:DW - Vornoi Diagrams[1] and manual tagging, no machine learning needed.

[1] https://en.m.wikipedia.org/wiki/Voronoi_diagram

Conlectus··on Self-host your fonts for better performance
> How arrogant of the web developer to override the user's preference!

I imagine this is partly tongue-in-cheek, but I think the real difficulty here is that CSS doesn't differentiate between "user-configured sans-serif font" and "the system fallback sans-serif font". As a result, you can't allow users to override your font choices without disregarding custom fonts entirely.

Conlectus··on Amazon reportedly has Pinkerton agents surveil workers who try to form unions
> What tactics are ok for a company to combat unions?

None. This is a legally protected right.

Conlectus··on macOS to FreeBSD migration a.k.a. why I left macOS
Nice! Apologies if I sounded condescending, you clearly are much more familiar than me :).

I tend to agree, but I have difficulty when you scale the problem. No individual person benefits from having their computer rebooted enough to counteract the issues, but might everyone collectively? The utilitarian calculus becomes difficult.

Though parallel solutions: better security testing or a capacity for live updates without a reboot, may be an answer.

Conlectus··on Babelfish: SQL Server-to-Postgres Translation Layer
MySQL has worse guarantees in several cases, though. For example, using `SERIALIZABLE` isolation means your queries can deadlock when run in parallel.

Likewise, selecting a column not present in a GROUP BY leads to random values being returned.

Conlectus··on macOS to FreeBSD migration a.k.a. why I left macOS
It's a bit more complicated than that I think. A common function of malware is to create "zombie" computers that are controllable en-mass to, say, DDoS a website. This makes the prevalence of malware-ridden Windows machines a _common_ concern, rather than specific to Microsoft.
Conlectus··on Mmhmm
This project is entirely doable on any of those platforms.

Edit: perhaps with some difficulty for the last hop to a virtual device on Electron, to be fair.

Conlectus··on Sengi – A FLOSS multi-account Mastodon and Pleroma desktop client
Webview looks like an interesting project. I feel lost people's complaints with Electron apps from from memory usage / JavaScript performance though, which it doesn't look like it would improve significantly.
← PreviousPage 3 of 6Next →