HNHacker News
TopNewBestAskShowJobs

plasma

1,907 karma · joined March 26, 2011

submissionscomments
plasma··on Tell HN: Latest Windows security update is locking all our computers
Not sure it’s helpful, but if you happen to use InTune / Endpoint Manager, recovery keys are accessible from there.
plasma··on Ask HN: How to design database schema for usage based billing?
I've written billing/usage systems before, something your missing is the audit trail, you will get a query on a bill by a customer (for example, why did my bill increase this month so much, or spike on Wednesday?) and you need to be able to dig into the raw data (eg, your raw usage logs that contain high detail of start/stop events or usage information for each service call) to provide comfort to yourself and your customer about the billing query and validate there was no billing error.

Since you will want to plan for that, one thing you can do is treat the end of month billing calculation (or ongoing usage per day) as a calculation based off your raw usage logs.

So your usage of the product (service usage start/stop times) are log events (eg, pushed to S3 if its a huge system or start with just another database table like billing_usage_event) that describes each service start/stop and calculated rate etc.

Then your bill is the aggregation of the raw events for the day/month, allowing you to both do an audit if there is a billing query (find out why the bill spike occurred by looking at billing_usage_event) and also provide peace of mind to you and your customer the billing is accurate.

("Accounting for Developers" was posted recently on HN, it was a great read - https://news.ycombinator.com/item?id=32495724)

plasma··on One kitchen, hundreds of internet restaurants
No blog post, but collected some good photos of our setup, perhaps I should write my second blog post (my first was about the acquisition of my podcasting tech start-up, https://andrewda.com/blog/omny-studio-acquired for those who like stories with photos).

As per the EDIT yes one of my two brothers is a professional chef, I also completed a short course to be accredited as a food safety officer/supervisor (a requirement to run even a short term food business), spoke with Uber Eats about the onboarding process, discussed our brand/food options together, found a location in a pocket we thought would do well for that cuisine etc.

If this is of interest perhaps I can put a few little things together.

plasma··on One kitchen, hundreds of internet restaurants
Great question, this was in Australia, we were able to obtain a temporary food license, one of my brothers is a professional chef, and we both hold the necessary food safety accreditations and had an inspection done by the council to approve the space for food preparation.
plasma··on One kitchen, hundreds of internet restaurants
I ran an Uber Eats-only toasted sandwich business with my brothers for a month as an experiment - we rented a small room with no shopfront, and while we were popular, realised it was difficult to grow revenue when your only source of orders was via the gatekeeper apps (Uber Eats, etc) that take a high margin, and your at the mercy of their positioning of your shop amongst others.

This makes me think anyone running a cloud kitchen is going to always be under the thumb of the apps/landlord with no way to expand revenue.

plasma··on Netflix explores cloud gaming as it looks for new hires
Perhaps they will leverage their Netflix CDN edge machines they have stationed in so many ISPs/POPs around the world?
plasma··on How to allow users to execute code on my SaaS product server-side?
I’d look into a few things like https://firecracker-microvm.github.io/
plasma··on Ask HN: How do I properly secure a windows server machine using FOSS tools?
I’d enrol the laptops at least into Microsoft Endpoint Manager (InTune) so you can apply device management policies and monitor activity; potentially doing for the server too.
plasma··on “Magic links” can end up in Bing search results, rendering them useless
In my experience Gmail does this from time to time too, so any “load once” links won’t reliably work.
plasma··on Cloudflare had a partial outage
jgrahamc, just some feedback about trying to reach support:

1. I could see my site down, including cloudflare.com with nginx 500 errors, via Sydney AU

2. Logged in to dashboard (via Melbourne AU) that worked; and so was thinking it was an issue with Sydney Cloudflare My experience with Cloudflare has been in the past sometimes servers in some regions have issues and its a transient thing.

3. Status page showed no problems, so I went to "Contact support" and went around in circles (really frustrating) via the "Contact support" link moving me between Community forums, Support ticket, etc. I then see Chat is an option is available with a Business plan, so I upgrade to that, hoping for some real-time support to alert of the Sydney issue.

4. Return to the "Contact support" page after upgrading the plan, but the Chat option still not present on the support screen (and help articles say to return to support page and click "Chat" but it never shows up).

5. Come across https://community.cloudflare.com/t/cloudflare-for-teams-chat... searching for why I can't see Chat as an option on the support forum saying they're on paid plans with no chat support and its not showing up, so I just give up assuming its broken

6. Open HackerNews and see its at the top. A few moments later the status page reflects the outage.

I still can't see the Chat option so I've down-graded the plan again.

plasma··on Cloudflare had a partial outage
Seems fine in Melbourne but not Sydney
plasma··on Ask HN: Side projects that are making money, but you'd not talk about them?
I remember reading about this project a long time ago, congrats!

If you don’t mind me asking, what do you find hard to talk about?

plasma··on Ask HN: Side projects that are making money, but you'd not talk about them?
I’ve put together lists of ideas before, here’s a few ways I’ve done it:

1. Any idea that comes in your head, jot down in a card or list. This is just to get in the habit.

You may sometimes write a full page about the idea, sometimes it’s a sentence.

2. Quick triage, is this for “fame” (it’s just a small, time bound, scoped, fun project with no explicit objective or plan to earn money), or “fortune” (you’d only want it to be a business, prepared for months and years of work), both are fine

3. For “fame” tasks, pick ones that scratch an itch where you want to learn something or solve a problem (simple website, VS Code plug-in, OSS repo on GitHub, a tool/script you wrote and use locally you want to offer to others as a website, etc) something that’s time bound and has a very simple and complete scope.

4. For “fortune” tasks, decide which ones you feel are interesting, you have knowledge about the problem personally, you see revenue generation possibility, you can do it on your own or with minimal resources to start, you know it’s going to take years, but you’ve got something encouraging/progress to show yourself within 1-2 months

That’s how I think about ideas lately.

plasma··on Azure is having issues, again (West Europe)
Not sure if this is related, but GitHub Actions accessing api.nuget.org (for C# packages) are intermittently failing during builds too, perhaps its Azure CDN.
plasma··on How to test code that uses time?
Introduce a date/time class you use everywhere in your app that needs “now” that normally returns the current time.

For testing, you can explicitly set the return value (because it’s static or injected) to a particular value to freeze or change time during testing.

plasma··on Ask HN: Advice running a big scale chess tournament
Why are salaries a no-go from being paid for by sponsorships?

The sponsors shouldn’t care how you spend the money internally, they’re buying advertising.

Salaries of staff (payroll) is often the largest expense, it’s totally fine to pay yourselves.

plasma··on Ask HN: Do You Use AWS CDK?
Yes, I use it and find it helpful; was much nicer using a regular coding language to build the infrastructure than learn another domain language,
plasma··on Show HN: EnvKey 2.0 – End-To-End Encrypted Environments (now open source)
Looks interesting, is it a replacement for BitWarden too, or more focused on app environments (to set ENV vars)?
plasma··on Show HN: Socket – Secure your JavaScript supply chain
Hey team, great to see someone tackle this project, and the idea to scan for new potential issues based on the code that changed is cool

Initial impressions when visiting the website though is I can't understand how it works exactly, for example the learn more page at https://socket.dev/integrations says Socket helps improve the posture, but it would be good to explain (perhaps with screenshots an actual example?) of it catching an issue.

plasma··on Ask HN: Is MongoDB obsolote when Postgres and SQLite provide JSON types?
Most recent pg releases use the -> operator to access json fields now, in case you didn’t know about this syntax improvement.
plasma··on Ask HN: Founder Visas for Australia
Fellow Australian and startup founder here, a passion project of mine is https://startupgalaxy.com.au - mix of jobs and startup directory details.

We've had a few people watch our job boards from overseas for the purpose of moving to Australia, I wonder if we can surface Visa sponsorship information to help people spot jobs open to this more easily.

plasma··on Current MFA fatigue attack campaign targeting Microsoft Office 365 users
Azure AD MFA has a preview feature that helps mitigate this somewhat, https://m365security.net/2021/11/21/how-to-enable-mfa-code-m...

Instead of getting a contextless “approve?” notification, you’re shown the app asking for approval, location, and also asked to enter the two digit number shown on the apps login screen requesting login. You can also respond “this isn’t me”.

This means you can’t really approve such an attempt because you need to enter a two digit code too.

plasma··on Ask HN: Should I give my employer all my medical records?
Absolutely not, that’s quite invasive and inappropriate.

You should consider seeking employment legal advice so you can have expert help navigate this with you.

You should call someone from https://www.fwc.gov.au/resources/where-get-legal-help from the “Legal help from other organisations” section.

I’m based in Australia too.

plasma··on A decade of major cache incidents at Twitter
I remember reading Facebooks caches had a dedicated standby set of “gutter” servers that would take over a failure quickly (otherwise inactive and unused) that was an interesting mitigation for some failure scenarios.
plasma··on Ask HN: Security Awareness Training
Haven’t used them myself, but I see https://www.securecodewarrior.com mentioned, aim is to teach developers and seems engaging.
plasma··on Tesla FSD Beta Lunges Toward Bicyclist
Would be interested to see footage from other companies like Cruise, any open beta testing footage like this?
plasma··on Ask HN: Feeling Depressed and Choked. How to handle it?
I'm a little older than you, without kids, and its still a challenge to work on my projects and other things in life (relationships, fitness, etc).

I've seen a friend of mine get up earlier to do side project work while then attending to their child, and perhaps this is a conversation to have with your partner, so you can support each other (carve out some side project time) to continue with that goal too, your partner may also be wanting a bit of time for themselves as well.

plasma··on Java BitSet performance-flicker mystery
I’m not a Java expert, but potentially due to the CPU/memory OS scheduler?

Try running the workload with pinned CPUs assigned and not across NUMA nodes.

plasma··on Launch HN: Sieve (YC W22) – Pluggable APIs for Video Search
Neat project, you may want to consider adding audio processing too (eg sound detected) as part of the video.

You could go deeper and compare samples of audio that could be uploaded separately (eg, siren sounds), check out MFCC processing https://en.wikipedia.org/wiki/Mel-frequency_cepstrum#Applica... to do Shazam-style audio comparison.

I wonder too if you process it on a per-frame basis or you can take series of frames too (eg analyze the last 5 seconds of frames) to detect things like a "hand wave".

plasma··on How we bootstrapped our SaaS to $1M ARR
Their $1m figure is Annual Recurring Revenue (ARR), so they just need $83k per month (or 333 clients paying the $249 per month).
← PreviousPage 2 of 17Next →