HNHacker News
TopNewBestAskShowJobs

kgilpin

487 karma · joined June 9, 2014

https://dev.to/kgilpin
submissionscomments
kgilpin··on Has UML died without anyone noticing?
Indeed. The problem is not with the diagrams, so much, as with the requirement for people to draw them. The code is the source of truth and the only true representation of the program.

There is value in diagrams - but that value is highest when the diagrams are derived directly from code. That is why I am making https://appland.com/docs - get the benefit of interactive code diagrams, generated automatically from executing code (not just static analysis, which is too weak to handle the dynamic behavior of modern frameworks).

kgilpin··on Learn How to Tie Knots
I spent a few months on Zoom tying knots under the camera. I have busy hands. Now I know quite a few knots by heart.
kgilpin··on The Pretty JSON Revolution
I found JSON path to be so, so weak and limiting. Missing powerful axis traversals like xpath has, and also has very confusing semantics (the filter condition also changes the output???).

I hoped to find jq as a gem/module/library but I was disappointed. After days of searching and trying different things, I honestly could not find any powerful library or API for traversing and searching JSON.

kgilpin··on Use AppMap recordings to generate insightful visualizations
Thanks for posting us. To get beautiful, interactive diagrams generated automatically from your Rails or Spring app, try our VSCode extension https://marketplace.visualstudio.com/items?itemName=appland....

Setup time is just two minutes - https://www.loom.com/share/78ab32a312ff4b85aa8827a37f1cb655

kgilpin··on Going to the Moon Was Easy Compared to 100UL
My airplane has a 1950s era engine (Continental O-300), which is able to run on automotive fuel (“mogas”). However, mogas is not much available at the airports. If there was a way to obtain it, I would use it. But it’s almost never an option.
kgilpin··on Ethereum 2.0 launches
Well to be fair, transferring information instantly was pretty great even in 1997.
kgilpin··on Ethereum 2.0 launches
Bitcoin is valuable because of its value?
kgilpin··on Shanghai stock exchange suspends Ant Group's A-share IPO
How can Jack Ma belong to the Chinese communist party, and also own a huge company? Does communism not mean what it used to mean any more?
kgilpin··on Technical Debt: Why it'll ruin your software
Discussion of technical debt always seems to devolve into an augment about what technical debt actually is.

Are there specific patterns of code behavior, metrics which can be derived from analyzing code, quality scores that are non-controversial, which can be used to define this problem? Things that can be measured and managed in a canonical way? How can some knowledge of experienced CTOs be distilled so that we can start to automate some of this wisdom?

kgilpin··on Managing Technical Quality in a Codebase
Do people find that leverage points, as described here, are well known for large code based, or are they difficult to identify, track and manage?

“... three most impactful points are interfaces, stateful systems, and data models.”

kgilpin··on Scorpion Transforming Computer Chair
I would like one of these with rudder pedals instead of a foot rest :-)
kgilpin··on DrawERD makes it easy to visualize your database structure
For the first version we used Mermaid, but in order to make it more interactive it’s now custom d3 code. It uses many of the same dependencies as Mermaid, for example graph layout.
kgilpin··on DrawERD makes it easy to visualize your database structure
Hi, if you are working in Ruby or Java, you might be interested in my project which is called AppLand (https://app.land). AppLand dynamically draws visualizations of web services, code paths, and SQL queries. The information is obtained primarily by running test cases; a browser plugin can also be used to step through the app and create a recording, which is then visualized in AppLand. AppLand gives you an end-to-end depiction of your code and data flows, so it's broader in scope than a static analysis (e.g. class diagram). And unlike APM (e.g. New Relic) you get detailed information about code internals (parameter values, function calls, etc).

Best of all, you can filter the views down to specific classes, keywords, and web service routes, which solves the scaling problem ("too many nodes!") that one generally finds with UML or ERD on large projects.

kgilpin··on DrawERD makes it easy to visualize your database structure
The approach that I am taking is to narrow the ERD to a specific context, such as a single HTTP server request route. When the specific tables and relationships are rendered for just that route, a manageable amount of data is presented.

This approach also provides metadata that can be used to figure out which tables are being used where in the code, and vice versa.

Context is king!

kgilpin··on Foiling Electric Boat
People need to enjoy the outdoors in order to care about preserving it.
kgilpin··on RBS, Ruby’s new type signature language
The point is that the type of a local variable can almost always be inferred based on what it’s assigned to.
kgilpin··on Moldova Shuts Down Bootleg Helicopter Factory
You can build and sell experimental aircraft. Here’s a marketplace of them:

https://www.barnstormers.com/category-18671-Experimental.htm...

However, there are many commercial uses which experimental aircraft are not approved for. This mostly limits their practical utility to personal use (aka “fun”).

kgilpin··on A man owns the most advanced private air force after buying 46 F/A-18s
How about the fact that they have modern radar? :-)
kgilpin··on Ask HN: What projects are you working on now?
I’m cleaning out my garage to build an RV 12, a popular type of two-seat single engine home built airplane. Putting time at home to good use!

https://www.vansaircraft.com/rv-12is/

kgilpin··on Toyota invests $394m in Joby Aviation's flying taxis
If an aircraft can’t glide or autorotate then I don’t understand how it can be safe at low altitudes. Because whole plane parachutes (BRS) have a minimum altitude required to open successfully, and that altitude is a lot higher than anyone would care to drop.

Airplanes have energy from their forward motion. Helicopters have energy in their rotor blades. This energy can be used to soften a crash landing. Without this available energy, and without a parachute, then how do you soften a crash and survive?

People say that electric motors are so reliable... But batteries can spontaneously combust.

I would like to know how these aircraft are safe enough to be treated the same as a taxi ride.

kgilpin··on Are Humans Fit for Space? A ‘Herculean’ Study
Dead astronauts can’t complete the mission.
kgilpin··on Are Humans Fit for Space? A ‘Herculean’ Study
I don’t think it would be too long before the aliens evolved away from the need to spin. There would be so many advantages to adapting to zero G.
kgilpin··on The Most Mindnumbing of Office Tasks Made One Man $360M
“Wizards” also sounds kind of Windows 98 :-)

https://en.wikipedia.org/wiki/Wizard_(software)

kgilpin··on Piper Announces First GA Aircraft with Autoland Capability
Most of the GA fleet is still vacuum powered for backup.
kgilpin··on Piper Announces First GA Aircraft with Autoland Capability
In an emergency, all the other traffic will be cleared out of the way.
kgilpin··on Piper Announces First GA Aircraft with Autoland Capability
Maybe the best case scenario is a small modern plane flying a Rotax 912, making about 24 mpg on standard auto fuel.
kgilpin··on Piper Announces First GA Aircraft with Autoland Capability
A typical single engine piston plane might fly at 130kts burning 10 gallons of aviation fuel (100LL) per hour. Or, roughly 15 statute miles per gallon. More efficient options are available on modern planes. Most of the fleet is old though.
kgilpin··on Piper Announces First GA Aircraft with Autoland Capability
One thing to keep in mind is that any type of auto-fly is dependent on a LOT of automation systems on the plane itself being functional. For example, instruments, sensors, autopilot, auto throttle.

To be considered safe, an auto-fly needs to be able to gracefully degrade as the subsystems in which it depends start to fail. Human pilots are trained to handle this by compensating for system failures in a variety of ways, including compensation (eg in a split flap scenario) and disabling (turning off a misbehaving autopilot). Ultimately, a human pilot can always turn off all the automation and fly the plane by looking out the window (or, in poor conditions, using gyro powered “steam” gauges).

In the case that the pilot is disabled, then auto-land is a great option, even though it’s reliant on so many subsystems. But for an always-on auto-fly, the requirement to gracefully degrade, and degrade, and degrade, and still operate at the level of a human pilot using the “Mark 1 eyeball” is a tough one which hasn’t yet been met (as far as I know).

There’s mention in this discussion of fully automated drones. But, those are basically expendable if there’s a serious system failure, since there are no souls on board.

kgilpin··on World's Best-Run Pension Funds Say It's Time to Start Worrying
Finance, economics and money become irrelevant pretty fast if you aren’t making something people want to buy.
kgilpin··on Talos: OS for Kubernetes
How difficult is an HA cluster? Because that’s more of a fair test. Setting up a dev-only instance of anything ought to be easy.
← PreviousPage 3 of 7Next →