HNHacker News
TopNewBestAskShowJobs

triggercut

669 karma · joined September 10, 2013

submissionscomments
triggercut··on Translating a Visual Lego Manual to a Machine-Executable Plan
Would be interesting to see a solution of the reverse process i.e. given an image or definition of a final model, create a bill of materials and (within various bounds) output step-by-step instructions to create it.
triggercut··on How to think about task estimation
As someone who has done this professionally across multiple sectors (built environment, software, public-policy) for all types of projects and outputs both of the most concrete and most abstract, I usually cringe at a lot of "estimation" articles and discussion. This however I found to be a solid intro because it focuses on the most important thing, the answer is irrelevant or incorrect unless both parties truly know and understand "why" they need to know.

The secret to estimating for scheduling is you only really need to answer this for the critical path. The hard part is defining and uncovering what the critical path actually is, and rarely is that ever achieved in projects or programs with the necessary accuracy or reflective of reality. This is why the critical-path is often seen as a myth, and perhaps it is, but like most myths it has an important message. There will be a subset of the project that requires a priority of focus to ensure success (in time, cost, or value delivered)

Assuming a narrow range of effort but a desire to be complete as soon as possible (because money costs money), luckily, most of the time you don't need to define the critical path exactly, to do so would be nigh impossible anyway, you only need to define it to a comfortable level of abstraction which is as free from external dependencies as possible, because, as humans we are flexible; sometimes the details change and we can accommodate that on an individual basis. The sticking point is the complexity of involving many people, or skills, or processes, or settings, or conditions. At some points this will work for you, and at others against you, something else will vy for criticality and you must then understand it.

triggercut··on Implementing "seen by" functionality with Postgres
Haha, I love the start as a form of riffing on bizzare things you come across in the wild.

The year is 2022. You're head DBA at the hot new social site, SupaRate... Your startup is seeing eye-boggling growth because everyone loves sharing their positive AND negative ratings restricted to UNSIGNED TINYINTs.

Why Unsigned? Because! How do you know if it's positive or negative? There's a VARCHAR(256) field for that, duh.

triggercut··on A systems model of anxiety-driven procrastination
I thought this was me. Many professionals told me this was me. I had a horrible off and on decade fighting it, trying to do all the things you're supposed to, feeling guilty for failing and hating myself. A decade later someone finally figured out - despite the small fortune spent on education and medical professionals - that I actually had ADHD and some learning disabilities. There was a slightly different model with previously hidden forces. Only now, knowing this, have I finally been able to effect real positive change for myself.

Make sure you have the right model for you.

triggercut··on How Crossrail was affected by the curvature of the Earth (2018)
Funny, I was just reminiscing about this very problem this afternoon.

When you are working to specific locations at each end it is a really tricky problem, but local grids like the ones described here help. I've worked on rail projects for mines in remote areas that need a few hundred kms of new track and span across "zones". The problem is exacerbated (at least then, early 00s) by the way you represent these in various CAD products, especially when sharing data between them. There are two main 3D modeling kernels that most popular professional CAD products rely on, both from the 70's 80's with minor updates neither 64bit native. Why is this an issue? Well, you see, the standard for civil design is to model in "real world" coordinates. That means you could be dealing with a file at the resolutions of mm for engineering purposes, but thousands of kms away from the origin. Now we enter the world off floating point calculation errors and subsequent kernel issues.

There are ways around it. Essentially offsets that move the origin of the file temporarily with a note to itself that everything must also account for the offset before displaying in the UI. But it can get confusing, fast, every product does it its own way and may not recognise this trickery. Working digitally with sparse real world reference data of varying qualities can be a big risk. I remember being in a large workshop with two surveying companies, our client and some civil engineers. I was horrified that I knew more about the various grids and their issues than any one else. I did one unit of surveying at uni, not long before and had to do a lot of research to get my head around the issues. These people were meant to be the experts.

The good thing about linear projects is that on those scales you can usually get somewhere where you can "work it out" on site (i.e. fudge it to make it fit). But It potentially affects everything, like, how many meters of track are we ordering? What contingency do we need? What are our expected mass haul volumes and estimated fuel costs? How big should we make our margin of error? It'll all work itself out, it'll just cost.

What happens when we start building beyond the planet and need to accomodate for curvatures in space time? Even ones that are brought about by the very thing you are building?

triggercut··on Mental illness, attention deficit disorder, and suffering
> Comments like these are hurtful. I ask myself the question the commenter asked me every single day. I just try to approach them with care and the assumption they are coming from a good place. I know that isn't always the case, but it's the best I can do.

I try to as well, I had to rewrite that comment several times to be bit more generous but had to leave it where it was. It's hard - Ironically it comes from a place of wishing the world would be more generous to you. Beyond regular therapy I don't talk openly about this, both for this reason, and as I had been struggling with, and treated, for depression for over 20 years (which it now turns out is exacerbated or even caused by the untreated ADHD).

I've spent an incredible amount of effort and energy actively hiding this fact and any consequences from employers, teachers and loved ones out of fear of what it would mean for my already difficult to maintain status quo. I've seen what the stigma of mental health can do to ones career and future opportunities (unless of course you are an active and visual advocate, campaigner as well as your normal role).

triggercut··on Mental illness, attention deficit disorder, and suffering
From one data point in the sea to another, this is genuinely good to see.
triggercut··on Mental illness, attention deficit disorder, and suffering
I would assume from the fact they were diagnosed (as they stated) by a professional (hopefully)?

As someone who also fights an internal battle with my diagnosis 24/7, comments like this are not helpful and can even be hurtful.

Would you ask someone with a hearing aid how they could be sure they were deaf? Or someone wheelchair bound how they could be sure they can't just walk if they try hard enough?

The world of work that we have made for ourselves as a society can be as inaccessible as the built environment can be to those who need accommodations to move around it safely.

triggercut··on Update on the Atlassian outage affecting some customers
I just got the same! More than a bit worrying.

Edit: After reviewing the snippets below looks like the script has gained sentience.

triggercut··on Ask HN: What hyper-focused industry newsletters do you enjoy?
Especially if the dog is reactive!
triggercut··on Sounding the alarm: How noise hurts the heart (2021)
I got curious and tried to find the original but I think might be:

Haines, M. M., Stansfeld, S. A., Job, R. F. S., Berglund, B., &Head, J. (2001a). Chronic aircraft noise exposure, stress responses, mental health and cognitive performance in school children. Psychological Medicine 31, 265-277.

And features in a brief meta analysis which some may find interesting:

Matheson, M., et al. "The effects of chronic aircraft noise exposure on children's cognition and health : 3 field studies." Noise and Health, vol. 5, no. 19, Apr.-June 2003. Gale OneFile: Health and Medicine, link.gale.com/apps/doc/A164796669/HRCA?u=googlescholar&sid=bookmark-HRCA&xid=afd7e60c. Accessed 11 Apr. 2022. [https://go.gale.com/ps/i.do?p=HRCA&u=googlescholar&id=GALE|A...]

triggercut··on Sounding the alarm: How noise hurts the heart (2021)
I did some research on this as part of my undergrad in the early 00's

I skimmed the article but it seems to align with the literature back then. The thinking was during our evolution that high volume low frequency sounds would represent a precursor to mortal danger (avalanches, earthquakes, stampedes, thunder, wind) so we were attuned to secreting stress hormones in early response. Unfortunately, much of our urban built-environment is full of (human-made) constant low-frequency sources, although we appear to have adapted to a degree (HVAC systems in buildings, traffic, industrial process plants, airports and air traffic, explosions, concerts).

What isn't mentioned here, that I remember finding particularly concerning, was that while we seem to adapt, it's over our own time, as children we secrete more cortisol to low frequency noise than when we are adults... maybe some form of long term CBT I don't know.

I have no idea where my old paper is but I remember (and someone with more time might want to check/confirm this) one important study showed cortisol levels of children at schools close to Heathrow compared to out in the UK countryside and how this affected standardised testing. There were limitations, and of course you had to control for a range of factors, socio-economic, teaching staff etc, but there was some measurable negative effect (again no idea if this was repeated/corroborated).

The actual research I was doing was into our auditory perception of urban spaces. We took recordings of various urban settings and had participants listen and rate their emotional responses, if it felt "hot" or "cold" (and other adjective pairs), we also had them draw something to represent what they were listening too.

Our "findings" were pretty limited for a short undergrad project but it was interesting how we generally appreciate background chatter and live-music and generally fearful and cold from large flat surface reflected sound (empty city plazas).

triggercut··on Shane Warne has died
Was just about to go to sleep and saw this. Now I'm on YouTube remembering how her could make that ball seemingly teleport, defying time, space, physics. If we didn't have slow-mo to see what really happened people would claim it was magic.

https://youtu.be/Qs2Pw952rcI

There'll never be another Warney.

triggercut··on When is OAuth2 and Open ID Connect Useful?
OAuth2 and Open ID Connect (and FAPI) underpin the design of both the UK and Australian Open Banking systems. The Australian design (Consumer Data Right) is even starting to extend into other sectors beyond banking, such as Energy and Telecommunications, where "Data Holders" (sector specific companies, think your bank, your power company, your telco etc.) must become identity providers so consumers can log-in and grant access to new third party products (Data Recipients) who will provide value added services on top of your data (account aggregation, bill smoothing, who knows) via standard APIs. This is reflected in law and compliance is monitored by a government agency.

Other countries are watching these examples before undertaking their own versions.

The future could be built on it.

triggercut··on Google leaves TODO message at the top of basic HTML homepage
AI assisted prompts to users to provide more structured context[1], de-duplicate, cluster, prioritise. All things people _should_ be doing but can't be bothered to or aren't incentivised to.

Who here hasn't been in a standup where a task was created against a CL that only had a title "FIX" (with the intention of filling it out later)

Complex Project Management in other sectors (construction) is starting to see life in this regard. Unfortunately much of the digital transformation of PM to date has focused on capture and reporting. Capture is capture but the problem with reporting is that nobody read the reports before and aren't going to read them now they are in dashboard with endless possibilities to slice and dice.

Automating insight is next but insight is difficult to draw when you have tens to hundreds of people building an often unreliable, usually bespoke, and piecemeal semantic model over time; quality and context is scattershot and the datasets not large enough on their own and not comparable to others.

[1] e.g. Clippy but AI that gets better as teams provide feedback: Does this issue relate to x or y? Is this issue A more important than this issue B? Was this issue A fixed by this PR B?

triggercut··on Google leaves TODO message at the top of basic HTML homepage
The system works!
triggercut··on Ask HN: Why do people (waste their time) hating each other?
I would suggest reading On the Pleasure of Hating by William Hazlitt

Personally... a significant portion of people like to "right". Some base their identity on it. People who are "right" in some things will often believe they are "right" in all things, which they may or may not be "right" in, even if they are sometimes unsure. It is these things that people will argue most vehemently in order to be "totally" right for any humility would be seen as total defeat. Some do it unconsciously, and some, more worryingly, do it consciously.

triggercut··on Graphviz: Open-source graph visualization software
Graphviz has saved my bacon so many times throughout my career. Not just for visualising constraints and dependencies in planning and scheduling (construction, not computing) but in so many other areas.

Best example was for fabrication of a large subsea structure. Often, these critical assets have material traceability requirements on-par with space exploration, producing thousands of pages of certificates and documentation along the way.

I.e. you need to prove and assure the provenance of every piece of material sitting on the 1km down on the ocean floor back to the assay report of the soup in the ladle at the forge when it was formed, and everything in between; material certificates, design specs, third party testing, mother plate to material stock to final cut part identification, and all the third-party witnessing and assurance along the way. Easy for small parts but cumbersome for 60tn structures with thousands of parts and welds.

When the requirement is 100% QA/QC coverage, linking IDs to certificates and other documents in each part of the chain meant we could easily visualise things and look for rogue elements like child parts pertaining to be from two seperate mother plates, or destructive testing coverage for all materials.

Not how it's usually done but it was a useful tool for communicating to other not so technical stakeholders and helping some on the project sleep easier. :-)

triggercut··on Ideal Monitor Rotation for Programmers
The ideal rotation is clearly π/8 rad
triggercut··on How to replace estimations and guesses with a Monte Carlo simulation
Whilst I'm happy that probabilistic methods of estimation get air time, I feel these sorts of posts give the lay person unearned confidence that they are suddenly far safer then they are. In most cases I find people don't know what should be planned, how it should be defined, measured, tracked or assured - and when combined with a lack of appreciation for Risk and how it should equally be defined, measured, tracked and controlled this is the core problem not idea of estimating itself.

### Skip to TLDR ###

Usually it's of little consequence and the stakes are low, but it's this general lack of skill in such a large population of people who are doing it poorly that gives estimation such a bad reputation in the first place. The idea of estimation is not incorrect, it's that people aren't taught how to do it properly in the first place and industry continues to propagate the myth that it's simpler than it is. Often because it's mandated by those who don't understand it themselves.

Having played in many types of industries I have a thesis that much of what we do in planning and estimating has had real benefit in some areas historically - where there are clear, repeatable, measurable observations, certain types of construction and fabrication - but not others due to their success being tied to the method alone without account for how the nature of what is being measured.

Monte Carlo has very real and valuable uses in critical path method scheduling, but, as with most things, only when used appropriately. Weather is something that fits well, because it is cyclic, we have a lot of data, we can, ahead of time, to some degree, have a likely view of where and when things like hurricanes/cyclones will occur in a given period.

In the Australian North-West Shelf where I used to plan O&G maintenance dive campaigns, knowing how long it takes to get to an area, a diver to get to depth, perform a task, return safely and leave the area is the easy part. "Everything going to plan"* we should be able to do these x number of inspections/interventions in y number of days. But weather is where you can come unstuck. Sea state matters, there is always some chance that you will have to interrupt or postpone on a day because of conditions. We know there are roughly x number of these days per cyclone season and roughly how long we might not be able to work for but pay full rates for crew, equipment etc.. An at risk period for weather goes on to the end of the schedule as contingency and is drawn down as needed, but in some scenarios where in the network of activities these multi-day events occur can have varying impacts. Inserting a three day stand-down early on could have a greater impact on the end date than a three day stand-down right near the end if at the earlier time you are doing things that must be done in a continuous sequence with - if interrupted - will need you to repeat again from the beginning. Luckily there are tools we can use to not just look at the net effects of activities in a schedule network having their own distribution curves, but also injecting events, again with their own probabilities, randomly throughout the network during the run.

This gives you a much greater insight than a 'P90' estimate on your critical path, it gives you the sensitivity of activities in your network.

### TLDR ###

This all assumes, of course, that what you have modelled (planned) reflects reality to some degree. A bad schedule with bad bounds will give you a bad result regardless. It doesn't matter how many times you simulate it.

*it rarely does

triggercut··on Pandora papers: biggest leak of offshore data exposes financial secrets of rich
You might be interested in the OECD's way to make blatant tax avoidance like the original comment a little harder.

[https://www.oecd.org/tax/beps/]

Groups where the ultimate parent is responsible for roughly over 1Bn in revenue are required to submit Country By Country Reports covering all cross border transactions their details and their transfer pricing methodology, and, in many cases, the underlying documentation of those transactions (contracts, loan agreements etc.). These are digitally submitted via your local jurisdictions Tax authority and shared with all member countries. Companies as part of that group are required to lodge more detailed information at a local level on just their cross border transactions with others in the group. This allows for some level of check that information being reported is globally consistent between tax authorities, who are then able to identify and place controls on unwanted behaviours.

triggercut··on 2006: Dwarf Fortress
Thankyou! So many playthroughs full of messages about fighting carp suddenly all make sense!
triggercut··on Kids Can Recover from Missing Even Quite a Lot of School
Single data point here I missed my first two years of highschool (less than 40% attendance) due to being immunocompromised + side effects of immunosuppressants + depressed. Work and readings were sent home. I did most of the work but not all. I did exams and did very well. There was talk of having me repeat the second year despite getting mostly As and Bs but luckily I didn't have to.

Fast forward to the final two years of high school. I was much healthier, didn't miss school but did terribly. Maybe undiagnosed attention deficit, maybe depression, which led to a lack of motivation once my grades started to slip + general adolescence and socialising.

That being said, I had a relatively privileged upbringing and depending on your definition(s) of intelligence I would be generally considered above average. (I would hazard a guess that, a lot, if not most of HN leans that way) If either of those things didn't hold I probably wouldn't be where I am today.

triggercut··on 25% of students age 16-32 take Adderall 1-7 times per week, not prescribed
As an adult recently diagnosed with a marginal attention defficit, who has recently started a perscription of dexies, I really think I'm missing some trick even more now. The only results I've seen so far are extremely subtle (general feelings of lethergy have reduced slightly, generally a little more content / less depressed, can read for longer periods of time during the day without falling asleep) only after weeks of taking concistently, the first few days I didn't notice anything. Nothing like the sudden surge of focus and energy described here after taking a single dose. What quantities are these kids/young adults taking to get this effect?
triggercut··on PG&E will bury 10k miles of power lines so they don't spark wildfires
Perth's metropolitan region in Western Australia has the largest percentage of underground power in the world. Granted, a large portion is in suburban areas and I suspect entirely in the distribution network not the transmission network. It's climate is very similar to much of California.

Power infrastructure on this magnitude requires an extraordinary amount of capital investment to set up. Who takes on their debt? The operating expenses for asset management and maintenance of a mature network are eyewatering when compared to their underground counterparts as there is a lot more numerous and frequent replacement activity for parts. Pole infrastructure may have a life span of 10-15 years but some parts will be replaced out every 3-5. Before you know it you pay for every pole 4 times over it's life. Now multiply that by several hundred thousand poles in a large network and then you start to get the picture. I'm not trying to be an apologist but I'm surprised from what I hear of American infrastructure that it's not a far more regular occurrence.

triggercut··on Watching Jeff Bezos Go to Space Was More Depressing Than Inspiring
Watching Wally Funk go to space almost makes up for it... almost.
triggercut··on The worst volume control UI in the world (2017)
Is this podcast TOO LOUD? Or are your arms tired from holding your headphones a couple of inches from your ears at all times? Or would you just like to be able to mute ads like these that override your volume settings in your podcast app? Well, you can fix that, with a $2.97 monthly plan to volumeslider.com Listeners to this podcast use the promo code "STFU" for 22% off an annual subscription.
triggercut··on Dabrowski’s theory and existential depression (2020)
Not sure on her sources but you may find the following interesting

https://www.ted.com/talks/elizabeth_gilbert_your_elusive_cre...

6:02 - "And that search has led me to ancient Greece and ancient Rome. So stay with me, because it does circle around and back. But, ancient Greece and ancient Rome -- people did not happen to believe that creativity came from human beings back then, OK? People believed that creativity was this divine attendant spirit that came to human beings from some distant and unknowable source, for distant and unknowable reasons. The Greeks famously called these divine attendant spirits of creativity "daemons." Socrates, famously, believed that he had a daemon who spoke wisdom to him from afar."

triggercut··on Dabrowski’s theory and existential depression (2020)
Well that sure as hell cheered me up.
triggercut··on A New Era for Mechanical CAD
>>Then you extrude the thread cross section along a spiral, subtracting that from the cylinder, to cut the threads.

Whoa! Whoa! Whoa! No Helix geometry in this office, are you trying to get us all killed?!

← PreviousPage 4 of 8Next →