HNHacker News
TopNewBestAskShowJobs

knighthack

735 karma · joined May 29, 2017

submissionscomments
knighthack··on PostgreSQL upgrades are hard
This is why I love SQLite. Upgrades are not an issue an all. And backup in the event of upgrades are just copy-paste.
knighthack··on Maccy is an open source lightweight and searchable clipboard manager for macOS
I've used Ditto on Windows which was really good.

But I had to move to using a Mac and Linux ecosystem. I found and adopted CopyQ, which then became my main clipboard manager, and which then supplanted Ditto as my clipboard of choice. I highly recommend CopyQ. It's great.

knighthack··on Ask HN: What's the coolest website you know?
Is it just me, or did they custom/hand-draw all the illustrations for the hardware being sold?

And man, the UI is brilliant. Straight and to the point - just enough complexity to handle what they're selling, without the clunkiness of Amazon's UI.

knighthack··on SumatraPDF 3.4 Released
As a lawyer, SumatraPDF is my go to for everything. Fast, snappy, and works with zero-config problems through Wine on Linux.
knighthack··on “What if it changes?”
> ...break the shared code paths into a palette of smaller subfunctions/subcomponents and then have each use case have its own high level code path that picks and chooses from these subfunctions: One does ABCDE, another does ACDEX. It makes it supremely easy to reason about what each of them actually do, because they read almost like a recipe. It becomes a sequence of high level steps, some of which are used by several use cases, while others are unique.

Isn't this just the Command pattern? - https://en.wikipedia.org/wiki/Command_pattern

knighthack··on Data Science in Context – Peter Norvig's New Book
I was excited at clicking the topic - quickly read/skimmed the PDF, and it reads more like an industry analysis than a code/technical book related to the application of data science. Quite disappointed.
knighthack··on Okular – Universal document viewer
I use SumatraPDF on Ubuntu/Pop OS, via Wine 7.0.

It is impressively fast. It's pretty much rendered the default PDF viewer on my Ubuntu obsolete, because SumatraPDF is minimalist and perfect on its key features: browsing PDFs fast, selecting text and finding text.

knighthack··on Gimp 3 Beta Released
First: doing harm to who? Gimp's an open source software that's been a boon to the community for a long time. I don't even use it, but I welcome its existence - it's not a virus, nor is it a bad influence upon the world since most people not inclined to use Gimp can stick to alternatives.

> But because it exists it means someone who would do it better has less incentive to do so.

That makes no sense. There are a ton of great image editors always striving to do better in the same domain - Affinity, Paint.NET, Photoscape, Canva, etc.

knighthack··on Gimp 3 Beta Released
Blender and Inkscape's UI/UX improvements have been wonderful.
knighthack··on A clean start for the web (2020)
HTMX has been one of the best libraries I've used to date. Love it to bits.
knighthack··on Ask HN: Any other self taught devs terrified of interviewing these days?
I have no idea how you'd fail Fizbuzz, if you had been programming for over the 10 years as you claim.

Speaking as a programmer, knowledge and trivia of "hard-earned common sense and a meaningful understanding of how software evolves over time" is not useful to the actual building of software at all.

knighthack··on A Simple Hash for Perlin Noise
Kudos to the skeptic at least for being willing to accept, and declare, that he was wrong in the first place.

There are many skeptics who would rather disregard other assertions, than to admit their own possible flawed testing/experimental/verification methodologies.

knighthack··on PowerToys – open-source Windows utilities
I use Launchy in Windows, and Ulauncher for Linux. They're both as good and extendable as Alfred.
knighthack··on Robots are writing poetry, and many people can’t tell the difference
There is such a thing as expertise.

But in matters of taste, and specifically of wine-tasting, claims of 'expertise' have repeatedly been proven dubious. Run a search and you'll see why. There's a scam around that industry.

knighthack··on Impressions from a first-time Mac user
> I don't think most end users are plugging in four monitors, cut and pasting folders, or playing 25 year old games.

Most users are not cut and pasting folders? What?

When I first used a Mac, that was one of the first major difficulties I encountered. Cut and paste was quite unnatural - you had to Copy the source item, and then press COMMAND+OPTION+V to move/paste an item rather than to copy it. It was quite unintuitive.

knighthack··on The Joy of Small Projects
This is fascinating! How do you decide what note in a particular key/harmony to voice lead with (e.g. 3rds/7ths)?
knighthack··on Young women earn more than young men in several U.S. cities
If it's not that surprising, then we should ready to accept that the whole gender wage gap thing is a myth, rather than to keep trumping it up as a reality.
knighthack··on My macOS keyboard shortcuts
Why did you decide to move off MacOS?
knighthack··on Inclusive Coding Bot on GitHub
I don't even know how the phrase "refugees from big tech" could be offensive or insensitive. It isn't at all.

Given the burnout rate and the pace of the tech world, it's an apt (and even meaningful) description of the state of working in that industry.

To presume/take offence at every single word is absolutely silly.

knighthack··on Inclusive Coding Bot on GitHub
> I think it's more likely to be the project of a near-retirement-age programmer who is outraged at all the "social justice warriors running amock" and created the project to mock people working on inclusiveness, generate blowback at them, and misrepresent their movement to de-legitimize them. Sort of like how in the 50's and 60's everyone ran around screaming about how feminists were "kill all men" commie baby-stealers.

Let's just be clear: that's pure speculation on your part, and not facts.

And to entertain your speculation, it's also possible that the disruptive bot is instead the genuine work of a coloured/female/young social justice warrior who was trying to police the language of professional repos on the internet, right? Since you are speculating, that's just as much a legitimate speculation as well, if we go by the actual user history of the profile.

knighthack··on Inclusive Coding Bot on GitHub
A "university student" has no free license to go around damaging the work of professional developers (whose output is relied by many other programmers around the world). Even actual interns at companies try to tread carefully when it comes to the work of people there.

The fact that the "university student" doesn't even care about basic syntax (e.g. the word 'man' for manual), and repeatedly spams repos, tells you that this is a really carelessly-designed bot and that the writer of the bot is incompetent and disruptive.

knighthack··on L.A. judge rules LGBT corporate diversity law unconstitutional
I agree. And it's common sense that you can't force a corporate entity as to who its business leaders. The signing of that law makes no sense.

If boards are composed of people chosen based on their colour and ethnicity, that's not just odd, it's racist. Affirmative action should extend only so far.

knighthack··on Artists Who Code, a group helping artists switch careers to tech
In the first 4 paragraphs alone the word 'software engineer' appeared 4 times. I really wonder if some of these are actual engineers, or whether the use of that word has been inflated to accommodate people who _aren't_ actually engineers.

I really don't expect most of the purported 'artists' to be actually have a substantial career in tech at all, especially if they are purely creatively-minded, and are not inclined to put in the long hours required for the technical finesse and study of writing (good) code.

knighthack··on New type of ultraviolet light makes indoor air as safe as outdoors
I couldn't stop thinking of zombies while reading this.

In Dying Light, ultraviolet light wards off the zombies.

If we assume that a) the imminent singularity/zombie apocalypse of modern reality will be preceded by infectious airborne viruses, and b) this new UV light has protective/cleansing effects that "reduce the level of indoor airborne microbes by more than 98%", c) that "that far-UVC light can kill the COVID virus, other human coronaviruses, influenza, and drug-resistant bacteria", then hey presto: we've got a potential counter-weapon that can be modified to work against the zombie apocalypse.

knighthack··on The counterintuitive rise of Python in scientific computing (2020)
> Ruby is not my favorite language, but I would bet real money that without dependence on libraries, nobody could show me Python code which I could not show more logical, consistent, and readable Ruby code which solves the same problem. I say Ruby because it's of the same "type" and follows similar methodologies.

I keep hearing all the stories about Ruby supposedly being more logical and sound than Python. I really would love to see actual source code being cited to back those claims.

knighthack··on Programmable Notes
I'm a lawyer. Notes are absolutely crucial to my workflow, as there are literally millions of legal cases, and precedents, and you don't want to repeat yourself or repeat unnecessary research. I'd see it no differently than programmers who keep gists or repositories of useful configs.
knighthack··on Python and Qt simplified
This is really a symptom of the packaging scenario in Python, more than anything else. Web-apps have a lot of advantage in that regard, but desktop apps have their place, and I hold hopes that Python will come forward with better packaging tools in the long run.
knighthack··on KyuWeb: A proposal for a simple document-oriented web
HTMX is such a killer library, especially with Django. I use it for almost everything now, and with a touch of Alpine JS.
knighthack··on Ask HN: Why aren't devs making desktop apps any more?
> If "time to ship" is actually important, than why do most companies go to the work of making three separate codebases for their applications - Android, iOS, and web?

Because if you develop for the web and handle the REST/other APIs well, it can be trivial to work on the mobile frontends that connect the interfaces (whether on Android or iOS). It becomes more a matter of plugging the right pipes.

Whereas the backend for desktop apps across systems may be completely different; you may create more work to handle the idiosyncracies of different OSes.

knighthack··on Ask HN: Why aren't devs making desktop apps any more?
I personally prefer desktop apps. I find most of them smoother, and more intuitive given that you get used to the controls/widgets of a particular OS and most apps will have some similarities in their GUI. But web apps are so much easier to handle, and you get less of the headaches of OS compatibility, package management, dependencies, security, etc.
← PreviousPage 8 of 11Next →