HNHacker News
TopNewBestAskShowJobs

kgilpin

487 karma · joined June 9, 2014

https://dev.to/kgilpin
submissionscomments
kgilpin··on A state official refused to release water for West Maui fires
Pilot in command can deviate from regulations to the degree necessary to address the emergency. It’s very well established, drilled into every pilot and there truly won’t be any trouble for invoking this.
kgilpin··on Show HN: AppMap – Sequence diagram generation and design flaw analysis
Hi, thanks. Yes, you can record AppMaps from within a dockerized app. For Django you’d add a dependency on the appmap package, then as the app runs it will generate an AppMap of each request. You can also record test cases. It’s designed to be used primarily in dev, test and CI environments. For full details about appmap + Python, see https://appmap.io/docs/reference/appmap-python.html
kgilpin··on Add an AI Code Copilot to your product using GPT-4
Thanks for the advice! I agree with your characterization as somewhere between “instant” and “too late” (eg in prod) feedback. We are focusing on the code editor and GitHub Actions at the moment. For example, figuring out out what happens after the GitHub Action identifies a problem. Do you try and fix it directly in the browser? Or go back to the code editor to inspect the issue and work on the AI-assisted fix? Fixing “in browser” feels awkward to me, but I have seen some videos of Copilot X doing this so maybe it’s possible? Working with the code back in the code editor is of course much more powerful, but it takes some work to setup the context locally to work on the fix. Wdyt?
kgilpin··on Add an AI Code Copilot to your product using GPT-4
I agree - “fixes” are a cool opportunity. I’ve created a runtime analysis of code execution that spots certain types of flaws and anti-patterns (that static analyzers cant find). Then I’m using a combination of the execution trace, code, and finding metadata (eg OWASP URL) to create a prompt. The AI responds with a detailed description of the problem (in the style of a PR comment), and a suggested fix. Here’s a short video of it in action - lmk what you think.

https://www.loom.com/share/969562d3c0fd49518d0f64aecbddccd6?...

kgilpin··on Dropped iPad implicated in fatal Rotak Chinook helicopter crash
Some people don't like knee boards because you have to move your head up-down-up-down to use it, and that can be disorienting, especially in poor visibility conditions (when external visual references are minimal). There are other types of mounts available, such as suction mounts, that mount the device closer to eye level, but while robust these are not as secure as built-in equipment. The overheat problem is real as well, but having your iPad shut down in flight is nowhere near as big a deal as having it jam in the rudder pedals.

Further reading: https://airfactsjournal.com/2018/10/how-spatial-disorientati...

kgilpin··on Former US SEC attorney: 'Get out of crypto platforms now'
What was interesting about cryptocurrency was the idea of holding your own private keys and conducting transactions directly on the blockchain. In that scenario, everyone is their own “exchange” (kinda) and the SEC might let it roll. Cryptocurrency exchanges really have almost nothing to do with actual cryptocurrency. They just use the terminology (and the hype) as levers to try and build an unregulated exchange. Centralized exchanges are regulated - so here comes that process.
kgilpin··on VSCode config to disable annoyances – telemetry, notifications, welcome pages
If you use process recording you should be able to get maps of all your code in that project - it just won’t have any special framework or database markup - https://appmap.io/docs/reference/appmap-java.html#process-re...

edit: Actually I see JUnit so test case recording should also work.

kgilpin··on VSCode config to disable annoyances – telemetry, notifications, welcome pages
Absolutely! Please go try this and I will talk to you as much as you want - https://appmap.io/docs/appmap-overview.html
kgilpin··on VSCode config to disable annoyances – telemetry, notifications, welcome pages
As a VSCode extension creator - thank you! People may not realize how hard it is to make a great app if you have no idea what your users are doing with it.

On web apps there is all kinds of tracking and it’s heavily used to make the apps better (not just for marketing or annoying you). In a code editor extension there is the same need for that type of information, and telemetry is the only way to get it.

kgilpin··on Show HN: PlantUML based collaborative UML editor is now open source
That was not Grady Booch’s doing. His vision was not for UML to become a full blown programming environment. It was meant to be a disposable thinking tool for developers, which is more how people are using it now.

See for example, https://www.informit.com/articles/article.aspx?p=1405569

kgilpin··on AppMap: Runtime code analysis tool with support for Ruby,Java,Python,JavaScript
Founder of AppMap here. We are a seed stage company so we’re building out as resources allow! Would love to get to Eclipse at some point.

You can also do all the AppMap things using the command line - make AppMaps, open them in your browser, run analysis. But because it’s less tightly integrated with the code, some people find it less satisfying.

If you want try out a purely CLI experience, install @appland/appmap from NPM and run the help command. You’ll see a full suite of commands.

kgilpin··on What’s wrong with medieval pigs in videogames
Square rigged ships (the pirate ship most people imagine) are designed primarily for speed running with the wind. They would sail more or less down a line of longitude to a trade wind and then sail in the direction of that wind. They could tack of course but they were really not very good at sailing upwind and that was essentially a design trade off to make them better at sailing in the trade wind.

Ship builders of that time did, of course, know how to make more maneuverable ships with different types of rigging. These would all be used for different jobs, eg coastal and fishing.

But for long distance transport, speed with the trade wind was the most important consideration.

kgilpin··on Plastic might be making us obese
Is it lower consumption of alcohol?
kgilpin··on Cirrus Vision Jet Pilot Pulls Chute in Florida
It may or may not be false but I don’t see the relevance of citing stats about the purchase of brand new airplanes. As I’m sure you know, most airplanes sold are used, because most people can’t afford a brand new 4 place certificated airplane.
kgilpin··on US regulators will certify first small nuclear reactor design
Who are these people who want a nuclear reactor in their garage? Folks, you may be getting a bit carried away!
kgilpin··on I bought a cheap electric pickup truck from Alibaba (2021)
If you build it yourself then some /many of the regulations don’t apply. For example you don’t need airbags (in Massachusetts). It varies by state:

https://www.semasan.com/resources/everything-you-need-regist...

Roughly the same thing is true for airplanes - experimental (“home built”) have to be airworthy but not certificated.

They say it’s due to long tradition of DIY vehicles in America.

kgilpin··on What Drop-In API Observability Looks Like, Pre-Launch and Post-Launch
Hi, I’m creator of a tool called AppMap that will record traces of your code (test cases or live interaction). Once you’ve made AppMaps there are different tools you use on top of it, such as visualization and analysis, and extensions for VSCode and JetBrains.

One of the tools is openapi generation. Here’s a blog post that shows how it works: https://appland.com/blog/2021/12/22/how-to-auto-generate-ope...

AppMap works with Rails, Django, Java, and JS/Express. Check it out and let us know what you think!

kgilpin··on On the Weaponisation of Open Source
It’s the copyright holder who gets to decide, not the OSI.
kgilpin··on On the Weaponisation of Open Source
That’s right except in this case, Russia is the house and the open source author is you. They are taking their ball and going home.
kgilpin··on On the Weaponisation of Open Source
This seems like another example of people taking open source for granted. Software takes time and effort to create, and in return for that effort the author receives ownership and copyright. The author of an open source project can do whatever they want with it - limited only by other legal limitations (such as, it’s illegal to intentionally destroy other people’s properly).

In a legal contract, some value (consideration) must be contributed by both sides. What do most people contribute to the open source projects that they use? When the answer is “nothing”, then why do they expect the right to judge the decisions of the author?

Sure this is rant-ish. But I’m saying that people sure feel privileged to raise a hue and cry when open source authors make decisions that they don’t agree with. Don’t like it? Fork it - or buy a license that has the terms you want.

kgilpin··on How do you visualize code?
AppMap (https://appland.com/docs/how-to-use-appmap-diagrams.html) is an open source tool we created to record and visualize code execution. It currently includes interactive dependency graph and trace views, and works with Node.JS (+TypeScript), Ruby, Java, and Python.
kgilpin··on Kosovo pulls plug on energy-guzzling Bitcoin miners
If value of a commodity is predicated on scarcity - eg gold - then isn’t it the case that Bitcoin is actually using energy as the scarce commodity on which its value is based?

Unfortunately, production of energy is one of the very things which is driving one of our biggest global problems - global warming.

I don’t see how the two can be decoupled.

kgilpin··on 94% of the universe’s galaxies are permanently beyond our reach
The expansion of space itself is not subject to the same constraints as travel through space.

Put another way: Nothing can travel through space faster than light. But the expansion of space itself isn’t a form of travel, and so it’s not subject to this limitation.

kgilpin··on Discontinue Sourcetrail
AppMap (https://appland.com/products/appmap) takes the approach of recording code execution flows and presenting them visually. There are also some tools to diff and compare AppMaps. These more advanced tools aren’t on the website because they are in development but I’d be happy to share with you, or do a demo. In this way you can get a clear view of the difference in code paths and dependencies, based on different parameters.

@kegilpin

kgilpin··on Rhizome – A pedagogical example of a JIT for Ruby, implemented in Ruby
I recently gave a talk at RailsConf that might interest you. I stepped through some ways to make a code base "auto-document" itself - including Swagger/OpenAPI, end-to-end code and data flows, and database schema. The talk is available as a 4-part blog series, starting here - https://dev.to/appland/we-need-a-better-way-to-communicate-a...
kgilpin··on The work-from-home future is destroying bosses' brains
We want leaders, not managers.
kgilpin··on The work-from-home future is destroying bosses' brains
People will trust you if you demonstrate leadership.
kgilpin··on Nobody cares about your clean code
What are the odds this is a single developer code base? It’s ok to have a mess, when it’s your mess. It’s other people’s messes that are the problem.
kgilpin··on Ask HN: What diagrams do you use in software development?
We dogfood our own tool, AppMap (https://appland.com/docs/how-it-works.html) which records executing code into JSON files and then turns that data into interactive diagrams and analysis.

We also think Mermaid is a great project. I want to try the entity relationship diagrams next.

kgilpin··on Has UML died without anyone noticing?
I'm working on this, for Ruby, Python, and Java - https://appland.com/docs/get-started.html - would love to get your feedback.
← PreviousPage 2 of 7Next →