ajohnstone

93 posts

ajohnstone

ajohnstone

@ajohnstone

Operations architect at photobox

London, England Katılım Ağustos 2008
237 Takip Edilen83 Takipçiler
ajohnstone
ajohnstone@ajohnstone·
@simonplend Why do you need to wrap in node, console.log and eval? Seems unnecessary? Can’t beat jq, such an amazing tool, formatting and manipulation of the output can be done directly. jq -n ‘. | “\(.field)”’ Can pipe to tsv etc
English
1
0
2
50
ajohnstone
ajohnstone@ajohnstone·
@simonplend @benpbarnett been quite out of touch with things regarding web dev, looking to write an app and just wondering what’s trending now? I’ve gone down the route of angular/typescript/graphql. Anything you’d recommend looking into?
English
1
0
0
0
ajohnstone
ajohnstone@ajohnstone·
@simonplend I use both extensively a) yaml can be easier to read at a glance b) I prefer json for processing/parsing c) other protocols/formats for more efficient storage and processing. Jq is awesome for manipulating and managing json
English
2
0
1
0
ajohnstone
ajohnstone@ajohnstone·
@simonplend 1. Yaml is a superset of JSON. 2. Supports comments 3. multi line strings 4. Anchors and aliases and overrides 5. Payload sizes are larger in yaml with formatting and spacing typically 6.Readability 7. execution/performance differs with encode/decode 8. Yq is inferior to jq
English
1
0
0
0
ajohnstone
ajohnstone@ajohnstone·
@DinisCruz 1. Aws lambda has its own scheduler. 2, docker socket would not be exposed. 3. Virtual kubelet could be ran and a rootless docker ( virtual-kubelet.io ) So maybe possible.
English
0
0
0
0
ajohnstone
ajohnstone@ajohnstone·
@DinisCruz Statectr could be messed up. See code here, repeatable after a daemon restart? #L38" target="_blank" rel="nofollow noopener">github.com/moby/moby/blob… #L16" target="_blank" rel="nofollow noopener">github.com/moby/moby/blob…
English
0
0
0
0
ajohnstone
ajohnstone@ajohnstone·
@simonplend Curious about the format your using, mistakes, knowledge and skills and how that helps you arrive at a product? Not seen that before, would of thought some kinds of mind map?
English
1
0
0
0
ajohnstone
ajohnstone@ajohnstone·
@hillelogram I once wrote a backend based on google sheets, so I didn’t have to write a backend. Just make sure you use protected fields/columns and use validation on input :)
English
0
0
0
0
Inactive; Bluesky is @hillelwayne(dot)com
Does anybody else feel like Excel would be a really good tool in the developer's toolkit, just most of us don't know it well enough to use it well?
English
72
17
274
0
ajohnstone
ajohnstone@ajohnstone·
@DinisCruz Your permissions will be incorrect for your iam role you have assumed. It won’t be an issue with AWS.
English
0
0
0
0
ajohnstone
ajohnstone@ajohnstone·
@simonplend I also use warning to add important information that can easily been seen above informational messages to add emphasis on the message. It does not necessarily mean an error occurred.
English
1
0
0
0
ajohnstone
ajohnstone@ajohnstone·
@brianleroux @DinisCruz Would probably create a sqs queue, and trigger aws lambda off the back of it. Entirely depends how your processing the files.
English
0
0
0
0
ajohnstone
ajohnstone@ajohnstone·
@DinisCruz Lol, allergic and java in the same sentence ;)
English
0
0
0
0
ajohnstone
ajohnstone@ajohnstone·
@DinisCruz If it was bubbled up it would be raised and then handled :)
English
0
1
2
0
ajohnstone
ajohnstone@ajohnstone·
@DinisCruz This demonstrates bad practice. 1. Do not wrap and hide exceptions 2. Bubble up and handle the exceptions correctly in the context they are used. 3. Unfortunately, above demonstrates to engineers how to suppress exceptions. 4. I cannot count the amount of times I’ve rejected PRs
English
0
2
38
0