HNHacker News
TopNewBestAskShowJobs

kgilpin

487 karma · joined June 9, 2014

https://dev.to/kgilpin
submissionscomments
kgilpin··on Homemade Electric Motorcycle Stopped on M25 in Hertfordshire
Towing kills the range
kgilpin··on Empress trees absorb about 103 tons of carbon a year per acre
I guess you would be trading a carbon problem for mass extinction.
kgilpin··on Big O Notation – Using not-boring math to measure code’s efficiency
It's true that most engineers are not going to implement a binary search algorithm or an optimizing compiler during the course of their employment in a typical year.

However, CS fundamentals are the language of software engineering. It's important for engineers to be able to communicate efficiently about things like runtime analysis, indexes, concurrency models, type systems, etc.

Your mechanic knows how a carburetor works, (s)he knows how brakes work. Mechanics have a common set of fundamentals that they all know and share, and can use to communicate with each other about their work. The purpose of this knowledge is not to be able to fabricate new car parts, although given time and the right equipment, it could probably be done.

The purpose of CS fundamentals is not to so much to implement complex algorithms, as to understand how to use tools and libraries that are based on them.

kgilpin··on Amazon Unveils Futuristic Helicopter-Plane Hybrid Drone for Deliveries
Maybe they will just prosecute people who do that?
kgilpin··on Types will be part of Ruby 3 stdlib source
You could do this in C++ by storing the unit of measure with the measurement value and then performing unit conversion in overloaded math operators.
kgilpin··on Types will be part of Ruby 3 stdlib source
I’m curious which projects you used to try this out on?
kgilpin··on New study shows grim outlook for future of Air Force pilot shortage
Jets cost a ton to operate, in fuel, maintenance and personnel.
kgilpin··on Bye lands orders for nearly 300 electric planes
If you have a headwind, which is very commonly 30 knots or more, then in this plane you are barely moving. So, it would be hard to reliably get anywhere at all.

Training flights are mostly in the vicinity of the airport so speed and range matters less. But you do still have to get places (eg the practice area and back) and a really slow plane is going to make a difference in the number of flight hours you need to accomplish the missions.

kgilpin··on Boeing 737 MAX crash and the rejection of ridiculous data
Assuming that there are many software subsystems that need angle of attack input, it shouldn't be the responsibility of every one of those systems to try and determine if they are receiving bad input from the AOA indicator. Rather, there should be one angle of attack (AOA) sensing software system which feeds AOA data into all the other dependent systems. If the AOA sensing software system cannot determine a reliable value, then it should feed a value of "I don't know" to the downstream subsystems.

Then, all possible expertise about how to determine if the AOA input is valid (and I'm sure there are many, many, such factors, redundant physical sensors being just one) can be directed to that one AOA sensing system.

If MCAS gets an input of "I don't know" from the AOA sensing system, then clearly it is going to disable itself. So, a complex decision has been turned into a very simple one.

If you agree with me, then this is a really important example of why separation of concerns is so important.

kgilpin··on Boeing 737 MAX crash and the rejection of ridiculous data
Among all the MCAS noise, this is the best summary of the problem that I've seen so far.
kgilpin··on YC's latest moonshot bet is a startup building a $380K “flying motorcycle”
Anything you fly over is going to be simultaneously blasted and cooked.
kgilpin··on All late projects are the same (2011) [pdf]
I think you’re missing the point of the article. His original theses was that we aren’t good enough at estimation. And in fact much hand wringing over estimation has been done in this industry over the last 6+ decades.

Now he’s amending his opinion to state that estimation is not really the core issue. The core issue is that projects are doomed from the start by mismanagement. Issues such as: racing to catch up with a competitor (giving the s/w group an impossible deadline), or starting a project whose business value is so low that minor time and cost overruns reduce the actual value to below zero (at which point people start blame shifting to try and hold on to their jobs).

kgilpin··on All late projects are the same (2011) [pdf]
He doesn’t think estimation is the problem. He says that the projects are started late and that developers are handed a deadline by the business and then accused of being late when they can’t meet that deadline.
kgilpin··on Company Update
There are ways to cut costs without layoffs and some companies choose to go that route. I think the point you are trying to make is that your employer will need to do what’s necessary to remain solvent. But that doesn’t automatically mean layoffs.

For example:

“We have a very skilled and competent work force and the last thing we want to do is lose them when we’re assuming this economy is going to come back,” said Craig Reider

https://www.nytimes.com/2008/12/22/business/22layoffs.html

kgilpin··on Lessons Learned from Writing Over 300k Lines of Infrastructure Code
There is a simple way to make it much easier. Use hosted platforms (eg PaaS) instead of self-maintained infrastructure.

Unfortunately, most enterprises are still not willing to outsource their IT platform to the real pros and thereby make it someone else’s problem to keep that infrastructure up and running. They want to build their own in-house competency. But the problem is, if you’re a true DevOps pro, why would you work for some random company in which IT is considered a cost center, rather than working for either a hosted platform provider or a (for lack of a better phrase) “independent provider of DevOps”?

IT and security managers are able to convince business executives that IT infrastructure needs to be kept in-house, even though today’s typical enterprise has no chance of actually building and maintaining a infrastructure that is 1% as good as what they could rent from a dedicated provider.

kgilpin··on Silent and Simple Ion Engine Powers a Plane with No Moving Parts
Flapping wings are also silent. And articulated wings can perform complex maneuvering including hover and vertical takeoff and landing.

So is there any other advantage to ion propulsion besides quiet operation?

kgilpin··on The Lost Art of Steam Heating (2017) [video]
I think it’s a lost art in that they aren’t being built any more, yet lots of people have them.

In any case I live in Massachusetts and had steam heat for many years and found these books super helpful. There are however some plumbers around here that know their way around these systems.

kgilpin··on Where Ruby/Sinatra falls short
In my experience with web applications at non-Googley scale, most performance problems are occurring in places like SQL queries, rather than the raw speed of the web application stack itself.

Another really common mistake is tasks being performed inside the web request that should instead be offloaded to background job processing. If something is going to take more than milliseconds, it should be a job. If you see a PR where someone is bumping up the HTTP timeout in order to keep their slow processing request from being timed out by the webserver, they are doing something inline that should actually be a job.

kgilpin··on Where Ruby/Sinatra falls short
Sinatra is a great way to build test programs and demos. Once scaling up to a real application I have found that Rails is a better choice because it has a lot of the things built in that feel missing from Sinatra.

For example if you are trying to figure out how to add things like flexible initialization logic, security protections, clever MIME type handling, Cucumber testing, and better routing, you’ll find that Rails has these things built in.

What you can’t get from Rails is the “one file application” that’s the killer feature of Sinatra. But all those files and directories in Rails are doing stuff that you’ll eventually want.

kgilpin··on M.I.T. Plans College for Artificial Intelligence, Backed by $1B
Last year, 90 degrees in the Humanities were awarded by MIT out of a total of 3,490. This presumably includes double majors.

The largest subcategory was Economics, which is considered a humanity subject at MIT.

https://registrar.mit.edu/stats-reports/degrees-awarded

kgilpin··on Solving Tech Addiction Is an Underappreciated Market Opportunity
I’m glad to see this getting ridiculed on this forum. I would be happy to see more critique of the attitude that the problems created by irresponsible technology can be solved with more technology.

The driver of the “phone addiction” problem is obviously direct economics. Companies are organized around profit, and more phone time means more profit (especially in ad-driven models like Facebook).

So how about addressing the problems by looking at root causes?

kgilpin··on IRL Glasses Block All the Screens Around You
From my reading, the sunglasses are created more as an artistic or philosophical statement than as a serious product.
kgilpin··on CNCF to Host Cloud Native Buildpacks in the Sandbox
It sounds like a buildpack identifies a common case of what someone might be doing in a container / Dockerfile, and standardizes it to remove the arbitrary variation that inevitably occurs when lots of people are independently solving exactly the same problem. For example, the patch level of the OS is directly or indirectly specified in the Dockerfile, but generally doesn’t actually matter to the application.

If your use case fits into a scenario which is handled by an existing buildpack, then the claim is that you’ll be better off using the buildpack because the infrastructure can make optimizations that can’t be made with arbitrary containers.

If your use case isn’t covered by a buildpack, then you can either (1) make a buildpack or (2) revert to raw containers.

(Although your platform may not allow (2)).

kgilpin··on ‘Goblin’ world found orbiting at the edges of the Solar System
There may be more photons than you think. 10^^17 per cm^^2 per second at the surface of the earth.

https://www.reddit.com/r/askscience/comments/2n6zo0/comment/...

kgilpin··on Quantum observers with knowledge of quantum mechanics break reality
> receive either a stream of particles with collapsed wave functions, or a stream of uncollapsed ones

I don’t think there’s any way for Bob to determine whether the particle stream has been measured by Alice or not.

kgilpin··on Why We Need Dynamic Secrets
Also, Terraform stores "all settings, including usernames, passwords, port numbers and literally everything else" in the tfstate file (1).

I believe that using Dynamic Secrets is HashiCorp's proposal for how to mitigate this; leave the secrets in the log files, but make sure they expire in a timely manner.

[1] https://tosbourn.com/hiding-secrets-terraform/

kgilpin··on Why We Need Dynamic Secrets
Yes, establishing that “secret 0” (the credential which grants access to all the others) is a tough problem.

In some scenarios it’s possible to at least avoid introducing another vault-specific credential. For example if your workload is running in a managed environment like AWS or Kubernetes, the platform provides a credential automatically (IAM role or service account). If the vault can recognize this platform credential and map it to a role defined in the vault, then you are using the platform credential as the “secret 0”.

It’s still not completely idiot proof because you have to define the mapping between platform roles and vault roles, and define permissions between vault roles and secrets.

And of course the detailed workflows for doing this vary between vaults.

kgilpin··on EA reportedly under criminal investigation in Belgium due to FIFA's loot boxes
That totally works for me as well :-)
kgilpin··on EA reportedly under criminal investigation in Belgium due to FIFA's loot boxes
I’m the parent of a teenager who has struggled with an unhealthy obsession with features like this. A kid who is 14 or 15 is able to intellectually understand how to use these game systems, but at the same time he or she is often lacking the type of sophisticated understanding that an adult would have (e.g. that gambling can be addictive and therefore restraint and self-observation is required). They greatly overestimate their ability to participate in a safe and healthy way.

I would like to see loot boxes out of games for players under 18. Loot boxes are not a real part of the game anyway, they are a way for the publisher add the types of subconscious psychological rewards to “increase engagement” that are now rightfully criticized in platforms like Facebook.

kgilpin··on What Companies Mean by Culture Fit
I'm in agreement with other commenters here that "culture fit" usually feels like a euphemism for something else. I think what it's really about is explained here in the article:

"A single toxic employee who is a bad fit for the existing culture can tank the morale and productivity of an entire team. "

So, is there really more to "culture fit" than the No Asshole Rule (1)? If not, can we start calling it what it is: "asshole rejection screening". Then maybe we can use the word "culture fit" less (maybe even "culture" less), because requiring new employees to "fit a culture" is pretty lacking in concrete justification.

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

← PreviousPage 4 of 7Next →