Hacker News new | past | comments | ask | show | jobs | submit | denysvitali's comments login

This assumes that it's available in digital form. Knowing Japan, there is a chance this is an analog CCTV

Surely it would still be cleaner to digitize the tape (?) than to point a camera at the screen, wouldn't it?

This was faster

I seem to recall Azure had a similar issue until recently. Pay-as-you-go accounts weren't able to set budgets.

I wanted to link the specific article mentioning that, but it seems like this works now :)


Wait, so you can now set up a hard cap on your spending and they guarantee they won't charge you more? It would be exciting but I don't believe they actually allow that especially as their competition also refused to implement that, in spite of it being no #1 requested feature for many years.

By the looks of it (their updated documentation) it seems like they do support this now!

I haven't tried it myself, and I hope it's true (:


Where did you see this documentation?

Okay, my bad, I was looking at this page [1] which says that the "Cost Management" feature is available for Pay-as-you-go subscriptions, but [2] is pretty clear on the fact that Spending Limits aren't available for Pay-as-you-go subscriptions.

So, TL;DR: Azure still doesn't allow you to set spending limits on Pay-as-you-go subscriptions

[1]: https://learn.microsoft.com/en-us/azure/cost-management-bill...

[2]: https://azure.microsoft.com/en-gb/support/legal/offer-detail...


This is very interesting and it looks like the first step (or last step?) towards having a device with no USB connection

I think protobuf solves some real problems but introduces new ones (especially when coupled w/ gRPC). It's not a silver bullet, but sometimes it really brings benefits (e.g: not having to re-invent the wheel between the backend and frontend, in terms of types)


I mean, posting about the other Y Combinator on... Y Combinator


Wow, what a nice article! Every point of it matches my experience (mostly positive) and buffrs [1] is a tool I wasn't aware of. Thanks for sharing this article!

[1]: https://github.com/helsing-ai/buffrs?tab=readme-ov-file


I don't think argv[0] includes the full path (or at least some programming language strip the whole path and keep only the last part)


I stand corrected - C, Go and Python are all consistent here and show the full path.

I seem to recall there was a language that only provided the stripped part - but I guess my memory is failing me here. Sorry for the wrong information above.


It depends on the caller not on the language of the program being called. If you execute something via $PATH then most shells will only pass the command you typed and not the full path. Similarly, when you use a relative path like ./command then usually your argv0 will be that relative path and not the full path to the executable. So in practice argv may or may not be a full path and if it does not contain a slash then it generally isn't even a relative path (well, not relative to the current directory anyway).

For the help case in gp I think it makes sens for programs to always strip away anything up to including the last slash from argv0.


Languages might remove the dirname part, but argv[0] is not necessarily a path, it's just a string passed to the exec system call that is also passed to main(int argc, char *argv). While many languges don't call their main function that, somewhere in the runtime that's what it gets.


This is impressively good - I admit that without looking at the URL I felt like visiting an official gov.uk website.

Now, as someone else mentioned this might be a bit deceiving, so I wonder in what context could this be used (outside of the gov.uk use case). Their design system is really good, so I don't mind people copying it - hopefully not to the point of Bootstrap's websites


One example is the RNIB (Blindness and sight loss charity in the UK) - they use various bits of GOV.UK Frontend on their website, such as the breadcrumbs and accordion on [0]. Many local councils use it too (or a version of it).

Because it's so heavily tested for accessibility it makes sense to use in those kinds of contexts where accessibility is a very high priority.

GOV.UK Frontend can be heavily customised via Sass variables (eg the font stack in [1]) so the components don't have to look like GOV.UK if you don't want them to. GOV.UK Vue pulls all its styling from Frontend so it's as customisable as Frontend is.

[0] https://www.rnib.org.uk/living-with-sight-loss/assistive-aid...

[1] https://github.com/alphagov/govuk-frontend/blob/main/package...


Good job! I'll make sure to consider this option for my next Vue frontend :)


The US Web Design System actually links to various implementations, some community-generated. It's not new to try to make it easier for teams to implement the system using various frameworks.

https://designsystem.digital.gov/documentation/implementatio...

Nice work, matteason!


I might be doubly misunderstanding this, because my first concern was that this could be used to impersonate government services; but; my second thought was (as someone with no idea of web tech stacks), perhaps this is a reimplementation using a different stack (Vue) of the original, for use for the same purposes?

Basically, you want to build a gov.uk site using your preferred stack, which happens to be the same as this, use this instead?

Again, many be completely misunderstanding, so hopefully someone can clarify.


Exactly - services on GOV.UK are developed by teams across government (as well as agencies etc), and they're (mostly) free to use whatever tech makes sense for the team and the project.

GOV.UK Vue isn't intended for normal, bread-and-butter transactional services (usually a series of form pages) but for things like more complex internal tools, dashboards, mapping etc which would be using JS to provide interactivity


No screenshots or demo - how do I know if this is better than the already awesome web-first binvis.io?


My project was inspired by Cortesi's blog posts, among other things. I thought binary visualization could be useful for reverse engineering, a fun thing to program, so I did. I wanted to share it in case someone was interested in the code for generating the image, since I made it as "extensible" as I could, but I am sure there are a lot of improvements to be made.

That website is more interactive, shows a hex dump of the binary and doesn't require you to download/compile anything. It's probably more practical for most users, but my project has some other modes that might be helpful for recognizing patterns in different file formats (look at the talks linked in the README for more information on what I mean). Also, as far as I know the source code for binvis.io is not public.

P.S. I added a link to binvis.io to the README as well.


I don't think it's a good idea to give a DB connection string to everyone, even if it's read only


Funny enough, looking at the db logs, no one queried it. I think simonw made it so much easier with Datasette that no one bothered.

But I did spin up a single use free tier supabase db for this usecase. Spent a lot of time worrying some hacker would find an exploit.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: