HNHacker News
TopNewBestAskShowJobs

leejoramo

1,759 karma · joined September 27, 2010

submissionscomments
leejoramo··on Show HN: Killport – CLI tool to kill processes running on a specified port
When killing by port number, you usually want to restrict to the LISTENING server port. Otherwise you will likely kill things connecting to the port. For example, in a local development environment the above command would kill both the web server and the ALL web browsers with an open page to that server

That is the full browser instance not just the specific tab connection to the server

This is the command I would use.

> kill -9 (lsof -nP -t -iTCP:8080 -sTCP:LISTEN)

leejoramo··on Plane Lands/Takes Off in Only 20 Feet (2013)
I don’t know Jason Kottke’s depth of knowledge about being a pilot, but I’d be willing to give him some credit. His father was a pilot and operated a small cargo airline. Jason regularly few with his father in small craft.

Blog posts about his father

https://kottke.org/tag/Jerry%20Kottke

And his decades of blog posts about flying.

https://kottke.org/tag/flying

leejoramo··on Kottke.org Is 25 Years Old Today
Kottke.org has always been a source of links to break me outside of my normal routines. I pretty sure I started reading in 2000. But maybe it was from the default feeds in the original 2002 NetNewsWire RSS reader

Beside http://scripting.com, Kottke is one of the few personal blogs that has survived this many years.

leejoramo··on Nobody needs a faster dishwasher – solve real user needs
As others have mention, commercial dishwashers are faster. With cycle times well under 2 minutes.

The primary purpose of a commercial unit is to sterilize. Cleaning off stuck food is secondary for the machines, as a by hand pre-wash is assumed.

There are two main styles to achieve sterilization:

1) chemical systems. These need a water source of around 130F, use a series of harsh chemicals for cleaning, sterilization and speeding drying. While a home water heater is usually set to a high enough temperature, the commercial dishwasher requires its compartment water to be at this temperature. This usually requires a near by instant water heater.

2) hot water systems. These rely on a water source that is around 180F and do not typically rely on additional chemicals. To get water hot enough requires an attached heater. In North America, this often requires a Three Phase electrical connection.

All of the commercial systems use vastly more energy and water. They produce huge amounts of noise. And far more steam than a home owner would want, they often require ventilation systems to deal with the steam.

This covers the basic styles of dishwashers that would be somewhat recognizable to a homeowner. In fact there are a vast number of specialized systems, depending on specific task and operational scale.

Source: I own a coffee house/bar/bakery

More info

https://www.webstaurantstore.com/guide/620/types-of-commerci...

leejoramo··on Apple orders entire supply of TSMC's 3nm chips for iPhone 15 Pro and M3 Macs
> Quicksilver did it before on OS X

And before Quicksilver there was LaunchBar, which pre-dates OS X having originally shipped for NeXT. I believe I starting using LaunchBar during the OS X public Beta, and I still use it.

You can download all of the old version of LaunchBar including for NeXT:

https://obdev.at/products/launchbar/download-legacy.html

leejoramo··on Most Appliance Manufacturers Won’t Give the Public Repair Info
I remember back not the 70s and 80s helping my father repair stuff. So many appliances had a repair manual attached to their back, or maybe a electrical schematic taped inside the a panel.
leejoramo··on Can self-replicating species flourish in the interior of a star? (2020) [pdf]
Dragon’s Egg is my favorite hard SF novel. I remember attending a session with Robert Forward at an early 1980s World Science Fiction Convention and was amazed at how much detail science and math Forward put into his books.
leejoramo··on RssCloud, WordPress. FeedLand, and Dave Winer
And before MORE, he created Think Tank for PC and Apple 2.

I remember reading him say his first outliner was on a timeshare system in the 1970s, and he took inspiration from that Douglas Engelbart’s Mother of All Demos

leejoramo··on A year of building for the terminal
I am someone who used micro-computers such as TRS-80, Apple ][, CP/M and early MS-DOS PC's. I used VisiCalc, MultiPlan, the original MS Word, dBase and many more. One of the most significant pain points with such apps was the lack of stand UI and keyboard conventions.

One of the revolutions of the Macintosh was not just the GUI and Mouse, but the standard visual UI and keyboard shortcuts.

Borland's Turbo Vision almost got us these features for TUI, but it was too late. I am glad to see people taking another crack at it.

So let's make this TUI consistent with the conventions of your preferred GUI. I personally prefer macOS, but I am currently logged into to Windows 10 and KDE Neon. I spend most of my day in VSCode, with lets me configure it any way I want to.

leejoramo··on Bun 0.3
Will be watching how the new nodejs compatibility works out. Maybe in a few months I will have the time to test porting a few expresses applications.
leejoramo··on GE buys out entire NYT print paper in historic first
Reminds me of Apple’s November 1984 buyout of Newsweek. It was hyper focused on showing people the original Macintosh, mostly to people who had never consider the need for a computer.

Very different to GE trying to explain why a troubled but long standing NYSE conglomerate is unbundling itself.

Here is the full copy of Apple’s Newsweek buyout

https://archive.org/details/Newsweek-1984-Macintosh-brochure...

And yes. Apple did advertise in a week they knew would have a huge print run.

leejoramo··on GE buys out entire NYT print paper in historic first
And the NYT subscriptions go to Households, Offices, Waiting Rooms where the number of readers is greater than the number of subscribers
leejoramo··on Silver Bullet: Markdown-based extensible open source personal knowledge platform
Wow. My initial impression of both Silver Bullet and Bangle is very high

I have have used various tools in this category such as ThinkTank and More since the 80s. I used Setext, and then transitioned to Markdown soon after Gruber announced it. Currently I most work with notes in whatever text edit I am currently using with a dose of NVAlt.

I will need to give both of these new tools a deep review to see if they are worth of daily usage.

leejoramo··on Drag and Drop from Terminal
Just yesterday i accidentally type `open .` in my Ubuntu/KDE/fish shell to open the current directory in the GUI.

I quickly thought “wait, remember that only works on macOS” and the was shocked to see KDE’s Dolphin open the directory. I dig into it and found there was an alias for ‘open’ to ‘xdg-open’

Nice

leejoramo··on Ask HN: Am I missing something (modern webdev)?
I am a web programmer since the late 90s. Most of my time has been doing development similar to what you described although with a large bit of JavaScript/jQuery done as a progressive enhancement. Most of this work was for the public side of large content sites.

We’re we struggled was on the internal tooling for content creators and managers. While we could still do most things, many of the new requested features were difficult to implement with our tools and time budgets

In other words, the older development ways still work for us for static content delivery but rich interactive applications were very hard. And increasingly the public side of things needed to be more application focused.

My team ended up choosing to use SvelteJS, which in many ways allowed us to still use similar development patterns. And has all so allowed us to slowly enhance our sites and not fully rewrite in on go.

I won’t say it has been an easy transition, and we had several false starts (trying React and other frameworks). But we are now very happy with our direction.

In the end, do what works for your project. Your current practices maybe the best for your situation l

leejoramo··on Potluck: Dynamic documents as personal software
Glad to see references to Apple’s Data Detectors, a great if underutilized tool built in to the system.
leejoramo··on Graphviz 7
Yes Omnigraffle accepted Graphviz files. But uses its own excellent layout engine and allows you to adjust the layout by hand. If you include integration with OmniOutliner, you also get Graffle can also use a wide variety of text based outline file formats.

https://support.omnigroup.com/doc-assets//OmniGraffle-Mac/Om...

leejoramo··on Refurb Weekend: PowerBook 1400
I remember using laptops before the PowerBook. The keyboards were always pushed all the way forward with a large gap between the keyboard and the hinge for the screen. The laptops were thick and there was often an inch or more height difference between the keyboard and the desk.

I thought if only they pushed the keyboard back the would be a palm rest.

Apple’s PowerBook was the first computer that I knew of moved the keyboard back. And Apple had the first nicely integrated mouse.

When the ThinkPad was introduced a year or two later, it copied the keyboard placement on some (all?) of its keyboards. And I preferred the TrackPoint to Apple’s trackballs and trackpads. Although over time and many improvements I came to like the trackpad more.

leejoramo··on Ask HN: How can a total beginner start with self-hosting?
> In short it’s all about control, privacy, and security, in that order.

I am going to strongly urge you to consider changing that order and move *security* to the first priority. I have long run my own servers, it is much easier to setup a server with strong security foundation, than to clean up afterwards.

As a beginner, you should stick to a well known and documented Linux server distribution such as Ubuntu Server LTS or Fedora. Only install the programs you need. Do not install a windowing system on it. Do everything for the server from the command line.

Here are a few blog posts I have bookmarked over the years that I think are geared to beginners:

"My First 5 Minutes On A Server; Or, Essential Security for Linux Servers": An quick walk through of how to do basic server security manually [1]. There was a good Hacker News discussion about this article, most of the response suggests using tools to automate these types of security tasks [2], however the short tutorial will teach you a great deal, and automation mostly only makes sense when you are deploying a number of similar servers. I definitely take a more manual hands-on approach to managing my personal servers compared to the ones I professionally deploy.

"How To Secure A Linux Server": An evolving how-to guide for securing a Linux server that, hopefully, also teaches you a little about security and why it matters. [3]

Both Linode[4] and Digital Ocean[5] have created good sets of Tutorials and documentation that are generally trustworthy and kept up-to-date

Good luck and have fun

[1]: https://sollove.com/2013/03/03/my-first-5-minutes-on-a-serve...

[2]: https://news.ycombinator.com/item?id=5316093

[3]: https://github.com/imthenachoman/How-To-Secure-A-Linux-Serve...

[4]: https://www.linode.com/docs/guides/

[5]: https://www.digitalocean.com/community/tutorials

leejoramo··on Cairo: Alternative Windows Desktop
I highly prefer the Mac's Menu Bar at the top of the screen when using a mouse, and I agree with the Fitt's Law arguments.

However, I am also highly keyboard centric.

So in the case of the top menu, I recommend Menuwhere by ManyTricks. It allows you to assign a mouse click to popup a copy of the current applications menu under your mouse. And you can assign a keyboard shortcut to activate this menu and then navigate the menus by key

https://manytricks.com/menuwhere/

While we can make lots of arguments around about Fitt's Law and what is the ultimate computer UI, much of it comes down to individual preference. I personally find the Mac's GUI to be an ideal environment because Apple provides both a good basic set of global keyboard shortcuts. MORE IMPORTANTLY macOs has great API's to allow other tools to be built to bend macOS to my personal style developed over 40 years of computing. Naturally, you will have other preferences.

(On macOS I also use LaunchBar and Keyboard Maestro among other apps to make my Mac as keyboard focused. On Windows I am a heavy AutoHotKeys user. And on Linux, well it is mostly CLI)

leejoramo··on iPhone 14 Pro Camera Review: Scotland
Regarding the desire for a Red Screen Mode to save night vision I have long used the Accessibility feature of a red Color Filter
leejoramo··on Play 1978 Oregon Trail in the browser
Oregon Trail goes back to 1971 as this first installment is 50 Years of Interactive Fiction explains

https://if50.substack.com/p/1971-the-oregon-trail

leejoramo··on Best Practices for Form Design (2008) [pdf]
This has always bothered me with web forms.

Back in 1992, I developed networked databases applications for macOS using Panorama. It included looking up city and state from ZIP codes. The only times I recall it getting the wrong info was in cases of recent city boundary changes.

Panorama still exists, it was so much better than Access or FileMaker.

https://provue.com

leejoramo··on GM makes $1,500 subscription mandatory on GMC, Buick, Cadillac Models
I have seen it at a number of places in Colorado. The local supermarket I go to shows 1% PIF tax
leejoramo··on GM makes $1,500 subscription mandatory on GMC, Buick, Cadillac Models
Just to add another layer of complexity.

Many landlords and development companies add on percentage based fees. Some merchants will report these on recipes as PIF Tax (Property Improvement Fees). These are not a technically a tax, but impact the consumer the similarly

Even if you are tax exempt or buying non-taxable items like food, the property own still collects PIF.

PIFs are in the contract between the landlord and merchant the actual details of how fees work are not publicly know. Merchants may benefit from actual property improvements, or the fees are entirely a profit stream for the landlord.

leejoramo··on Sol: Open-source Alfred/Raycast alternative for macOS
LaunchBar is the original of this style of launcher including using cmd-space, fuzzy search of apps and files, calculator and more actions. LaunchBar originated on NeXT and thus pre-dates Mac OS X. I believe, I started using LaunchBar during the original OS X Beta. It highly influenced QuickSliver, Alfred and Spotlight, Keypirinha, PowerToys Run, etc.

You can still download the old versions all the way back to NeXT:

https://obdev.at/products/launchbar/download-legacy.html

I still using LaunchBar, but it's development has stagnated. I am evaluating the current version of Alfred. Alfred recently added the ability to send the selected file to the application of your choice, which is an essential feature for me.

leejoramo··on Thank You, Firebug (2017)
In the beginning we used Show Source and Console. As web pages grew in size it became difficult to navigate the source code, and you still had no direct way to view how CSS was being applied.

The first web inspector that I used was Xyle Scope in 2004. It was an early tool based on Apple's new Safari engine. It was a few years before Firebug was released, and even then it took a while for Firebug to beat Xyle Scope in features.

I still have the lingering feeling that Xyle Scope's UI was better at directly inspecting HTML and CSS than our current tools. Although that maybe the haze of nostalgia. I found it hard to find any really good screen shots but here is one:

https://taoofmac.com/space/apps/xyle_scope

Of course, FireBug and its successors do so much more than just HTML/CSS inspection. I would often jump between Firebug and Xyle Scope. Eventually, Cultured Code the developers for Xyle Scope focused their talents on creating their Things task manager.

https://culturedcode.com/things/

leejoramo··on Things I've learned building a modern TUI framework
As someone who started out using pre-PC micro-computers (TRS-80, Apple ][, CP/M), I often would like to have access to a good suite of what we now call TUI programs.

Having a common TUI would be a bonus, which briefly existed back in Borland’s heyday.

leejoramo··on Ask HN: Why do terminals insist on interfering with copy and paste?
As others have noted, the Macintosh has always avoided this by using the Command key.

I really wish we could create additional OS level modifier keys like Shift, Control, Alt, Window/Command. Such functionality would go along way to solving this issue and maintaining the normal key bindings. This would allow me to add macOS style keybindings on Windows and Linux.

I know about Kinto. And have created my own Windows 1000 line AHK macro along with a fully programmable hardware keyboard to mostly get the key bindings I want. However, being able to add my own OS level modifier keys would make this so much easier and better

leejoramo··on Ask HN: What open source projects have great documentation?
Svelte’s tutorial, docs and REPL are among the best both at introducing the technology and giving depth. The REPL is used in through out to teach the basics and allow the community to link to working solutions when answering questions in forums across the internet.

https://svelte.dev/tutorial/basics

← PreviousPage 5 of 19Next →