HNHacker News
TopNewBestAskShowJobs

calrain

536 karma · joined July 19, 2017

I work in Identity and Access Management, Cyber Security, Infrastructure, and software development.

My key focus is helping organizations do security better, make it simpler, and get alerted when things get messy.

submissionscomments
calrain··on Monzo Writing Principles
Just some feedback on your landing page.

I have no idea what problem you're targeting, what your product is, or how I would use it.

Hit those three targets without someone scrolling below the fold.

calrain··on SQL style guide by Simon Holywell
I think that API URI naming conventions have impacted SQL table names.

It's common to have endpoints like `/customers` and `/customers/{id}` which has a tendency to move SQL table names to match the API endpoint.

I tend to name tables in the singular form if writing applications that interact directly with SQL tables, but where standing up a API in front of a SQL database, I tend to move to the plural naming of the table.

It helps to have the table 'customers' be associated with an API endpoint of the same name.

calrain··on Tracker Beeper (2022)
>> But that data is reasonably only accessible by the people who instrumented that tracking.

... and Google... and the people they sell aggregated traffic data to...

CloudFlare (e.g. NSA [joke!]) also gets a truckload of data from each web call, and your ISP, and the hosts of any <script> tags, and the image hosts, and all the engagement tracking plugins in your site...

The list is endless

calrain··on Nothing left to solve
From a market penetration perspective, FireFox is not winning, but as a worker in the Cyber Security space, almost all my peers use FireFox.
calrain··on Secret 3D scans in the French Supreme Court
What is the risk of releasing the files, is it about to expose that the Rodin Museum has fakes?
calrain··on Ask HN: Is this VSCode extension malicious?
100% stay away from it.

I think a better question is: "How can you ensure any VS Code extension is safe to use?"

Understanding exactly what an extension does and getting clarity around how it operates is something that I'd like to better understand as well.

It makes me think that moving to other editors like Neovim might be a safer way to go, if Microsoft has created an environment where malicious plug-ins can operate.

calrain··on Microsoft exec sends stern warning to staff about return to office
This is one of places where Unions can help
calrain··on Ask HN: Do Physically Fit CEOs Make Better Leaders?
No
calrain··on ⓿ dependencies!
Advertising, that one dependency we can't remove...
calrain··on The Hackney Mole Man [video]
In 2006, a network of tunnels were discovered beneath a house in Hackney, London. This discovery initiated a wave of public concern and media attention revolving around a lone figure, known locally as 'the Mole Man'.
calrain··on Show HN: BudgetFlow – Budget planning using interactive Sankey diagrams
Where does the data get stored?

Why is there no company / legal entity / contact information on the home page?

It's an interesting idea, but if you want budget information about people, you need to excel at being above board.

calrain··on Initial details about why CrowdStrike's CSAgent.sys crashed
This reminds me of the vulnerability that hit jwt tokens a few years ago, when you could set the 'alg' to 'none'.

Surely CrowdStrike encrypts and signs their channel files, and I'm wondering if a file full of 0's inadvertently signaled to the validating software than a 'null' or 'none' encryption algo was being used.

This could imply the file full of zeros is just fine, as the null encryption passes, because it's not encrypted.

That could explain why it tried to reference the null memory location, because the null encryption file full of zeroes just forced it to run to memory location zero.

The risk is, if this is true, then their channel loading verification system is critically exposed by being able to load malicious channel drivers through disabled encryption on channel files.

Just a hunch.

calrain··on Give people something to link to
He references the site https://boringtechnology.club/ which is a great slide deck on reserving your effort to innovate on your unique solution.

And for the rest of the stuff, stay as boring as possible.

So many times I see dev teams get innovating the whole way down and end up losing the focus as to how they provide value.

I need to burn this slide deck into my world view!

calrain··on I Created a URL Shortner
you need to deal with a lot of edge cases, have a look in your saved URLs.

Also add an option for people to view the target of a URL before they click it, such as adding a + to the end.

But also understand that URL shorteners are considered unsafe due to the lack of transparency on the target.

calrain··on [dead]
The funny thing is they have no voting power as there are so few of them.
calrain··on Any programmers here also play instruments?
I play the keyboard, in particular the Keychron K10 Pro
calrain··on In memory of all that I lost when tinnitus took away my silence Essays
Yup, it sucks, but it's also part of you now.

Embrace it, there is no other option.

calrain··on Ask HN: Why is nobody manufacturing low tech electric cars in 2024?
Wouldn't electric car conversions count as low tech? Like those VW or 2CV conversions.
calrain··on Woman set up a table to share her collection of washers. Nothing was for sale
The world is a wonderful place
calrain··on Don Estridge: A misfit who built the IBM PC
This IBM viewpoint of PC's is well entrenched in enterprise IBM Mainframe support teams

I remember in 2010, having to present to a team of Mainframe techs at a bank about how we would be integrating an Identity solution (that ran on Windows servers) into their Mainframes.

They couldn't stop making comments about how useless Windows is and it's just a gaming platform. One guy ranted and raged so hard that he stood up and stormed out of the room.

I remember my Project Manager who was in the meeting looked at them and said 'Guys, we talked about this earlier'...

I can see where that mindset comes from, these guys have been drinking the IBM Kool-Aid for a long time

calrain··on Popular Mac app 'Bartender' acquired by new unknown developer
This is the attack vector I worry about the most.
calrain··on Ask HN: The Required Fundamentals for Self-Taught Programming
If you can get access to ChatGPT, use it as a learning resource.

Ask it to act as a mentor that is teaching you how to program, ask it to give you an problem to solve, and give it a shot.

Then paste back your code you wrote (keep it simple) and ask it to explain your approach, provide advice, describe patterns, and explain tradeoffs between different techniques.

Initially, learning how to talk about code is important, then identifying patterns and approaches.

Coding isn't about memorizing things, it's about understanding the advantages and disadvantages of different approaches.

Have fun!

calrain··on Notepad Tab
OK, red alert on a cyber security risk with this site.

Your URL is logged, therefore everything you type is readable by anyone farming your URLs.

What am I missing here, why does this seem like such a security risk.

calrain··on Instead of “auth”, we should say “permissions” and “login”
100%, this is a standard approach.

If you're new to this concept, then you're new to programming in this space.

calrain··on Why startup founders have mood swings (and why they may have uses) – LessWrong
A good article.

Too often when working on a startup, you have a number of core beliefs or assumptions that can be corrected during the down swings.

Those negative swings are a way of letting you see through the assumptions and re-evaluate their importance.

The upswings are lies, that is what I've always told myself.

The middle band is the nice place to be.

calrain··on Ask HN: Is there a need for a new Linux distro?
Solutions first need problems.
calrain··on Poll: Do You Like Discord?
It's good, but falling into the enshitification cycle.

There is room for a future competitor, but now might be too early.

calrain··on The IMEI Code: Your phone’s other number
Is it possible to record IMEI codes of phones around your location?

Say... to help identify if a specific phone comes around, or what phone/s were around when a break in occurred?

calrain··on A brief history of web development, and why your framework doesn't matter
I remember using ColdFusion to dynamically render HTML on the server, and still support client side rendering in the client via standard JS if needed.

Times were simpler then, I feel the abstraction was a lot simpler.

I'd like to see the simpler ColdFusion / ASP style model grow with support from smarter back end tech.

The crazy levels of abstraction in the client/server model are just confusing for someone like me, who was quite happy with the older way of doing things.

Web delivery should be about simplicity and maintainability, not seemingly academic exercises in purity, speed, or abstractions.

calrain··on Snake_Cases are easier than CamelCase for non-native speakers of English to read
It's easier to read for English speakers as well.

When working with databases, all properties / columns that I use are lowercase snake case.

Much faster to work with, you learn to type _ pretty quickly.

← PreviousPage 5 of 8Next →