News for hackers. Stuff that matters.

andreif

Re:Slack Overflow on Tuesday January 28, 2025 @11:50AM (#42854551)
So I have to upload files to enable syntax highlighting. There is probably a reason but the users frustration is helping them to look for alternatives.
Re:Slack Overflow on Tuesday January 28, 2025 @11:47AM (#42854500)
Do you enjoy the other parts of MS ecosystem?
Re:JSON5 – JSON for Humans on Monday December 09, 2024 @10:57AM (#42367378)
Actually, right this moment I am writing docs for my mini-yaml to generate JSON Schema Draft 4 for our EDA. Easy-peasy
Re:JSON5 – JSON for Humans on Monday December 09, 2024 @10:55AM (#42367353)
I think main problem people trying to solve is treating JSON as computer-human interface. It was not designed for it and I don’t think we need to expand its use-case. You can perfectly use subset of YAML with much better readability for human interactions. I wrote custom parsers for subset I need with like 100 lines of Python code. JSON should stay as a loggable system-to-system format that you can render in a more readable way.
Re:Go is my hammer, and everything is a nail on Tuesday August 13, 2024 @05:40AM (#41233851)
Dependencies is a sign of weakness.
Packages is another story though. Pyenv is for Python versions. For me it’s either that or using Docker images. The later performed poorly with PyCharm when I tested a few years ago. I have seen an issue with Pyenv only once and not even on my machine.
Pyenv is for Python versions. There is a plugin for virtualenvs that can be useful for some specific cases but I rarely use it nowadays.
Dependencies are for the weak. You only need Python. Just support a range of versions if you intend to distribute.
It’s totally up to your knowledge and experience to produce code that supports multiple versions. I had no issue with doing it. That’s what you pay for dynamic language that evolves rapidly.
Also, when working on packages supporting multiple versions it was very helpful to use tox with pyenv.
Works fine for me on macOS. I am using venv the same way you do except some global ones for certain tools.
Re: on Sunday February 11, 2024 @08:12AM (#39334761)
> while other cloud providers feel more like utilities that give you building blocks.

Idk why you don't see AWS as a utility providing building blocks.

> I don't think trying to emulate AWS's support and consistent API makes sense as a strategy for other cloud providers.

Those are such essential things. It's very hard to imagine prioritising something else and succeeding in anything.

He should charge the police for hosting training exercises for their swat teams.
Re: on Saturday February 10, 2024 @12:40PM (#39328308)
You remember any example? I don't call API directly and usually use CLI/SDK/CDK that work a lot better than gcloud. I did see some inconsistencies between services (e.g. updating params for SQS and SNS) and that could definitely be improved. But honestly, comparing to GCP mess, AWS is ten times better.
Re: on Saturday February 10, 2024 @12:29PM (#39328202)
> few things are cli only

wdym? As far as I see, it's either CLI or Terraform. GCP SDK is complete garbage, at least for Python compared to AWS boto3. I have personally made web UI for AWS CLI man pages as a fun project and can index everything myself if needed. Googling works fine. If you are not happy with it then ChatGPT is to the rescue. I honestly do not see any problem at all.

Re: on Saturday February 10, 2024 @12:11PM (#39327993)
Have you named any successful product?
Re: on Saturday February 10, 2024 @12:07PM (#39327938)
How many popular products have you named and launched? Naming products is hard to meet both usability and marketing objectives. This has never been as big of a problem for me, as GCPs APIs for example. Those are the true evil. Product names I care little for.
Re: on Saturday February 10, 2024 @12:03PM (#39327898)
Why it's weird to blame them for product names? Because their purpose slightly different. I can see where negativity comes from and understand, but product name is a lot less important as consistent API experience. AWS is the best among big players by far, hats off and well-done to their teams and leadership. I hope the others will finally learn and follow.
Re: on Saturday February 10, 2024 @11:55AM (#39327800)
I am yet to meet an IRL person who believes Azure has "sane management interface". In my experience it was horribly inconvenient, filled with weird anti-UX solutions that were completely unnecessary. It maybe shows you all at once, or at least tries to, but it's such a horrible idea for a complex system. Non-surprisingly it never worked properly with various widgets hanging or erroring-out. It was impossible to see wtf is going on, what state it is in, or how to do anything about it. Azure will always be an example of a web UI done horribly wrong. This does actually not surprise me at all since Microsoft products are known for this. Every time I need to extend my kids Xbox subscriptions I have to pull my hair out to figure out how to do it in their web mess.

How can you even compare it to AWS is a mystery to me. There are pages showing all your resources, not sure why you think it's a problem. Could be a problem from long time ago?

Re: on Saturday February 10, 2024 @05:45AM (#39325173)
I thought you meant API and parameters. Blaming them for product names is weird to me.
Re: on Saturday February 10, 2024 @05:43AM (#39325164)
Pub/sub is more like SNS or EventBridge Bus to me
Re: on Saturday February 10, 2024 @04:28AM (#39324824)
To be fair there are lots of GCP docs, but I cannot say they are as good as AWS. Everything is CLI-based, some things are broken or hello-world-useless. Takes time to go through multiple duplicate articles to find anything decent. I have never had this issue with AWS.

GCP SDK docs must be mentioned separately as it's a bizarre auto-generated nonsense. Have you seen them? How can you even say that GCP docs are good after that?

Re: on Saturday February 10, 2024 @04:22AM (#39324794)
Azure is a complete disaster, deserves its own garbage-category, and gives people PTSD. I don't think AWS/CGP should ever be compared to it at all.
Re: on Saturday February 10, 2024 @04:16AM (#39324765)
That's completely opposite to my experience. Do you have any examples of AWS naming that you think is "teenage boy trying to be cool"? I am genuinely curious.
Re: on Saturday February 10, 2024 @04:03AM (#39324711)
GCP's SDK and documentation is a mess compared to AWS. And looking at the source code I don't see how it can get better any time soon. AWS seems to have proper design in mind and uses less abstractions giving you freedom to build what you need. AWS CDK is great for IAC.

The only weird part I experienced with AWS is their SNS API. Maybe due to legacy reasons, but what a bizarre mess when you try doing it cross-account. This one is odd.

I have been trying GCP for a while and DevX was horrible. The only part that more-or-less works is CLI but the naming there is inconsistent and not as well-done as in AWS. But it's relative and subjective, so I guess someone likes it. I have experienced GCP official guides that broken, untested or utterly braindead hello-world-useless. And also they are numerous and spread so it takes time to find anything decent.

No dark mode is an extra punch. Seriously. Tried to make it myself with an extension but their page is Angular hell of millions embedded divs. No thank you.

And since you mentioned Cloud Run -- it takes 3 seconds to deploy a Lambda version in AWS and a minute or more for GCP Could Function.

Re:Pratt Parsers: Expression Parsing Made Easy (2011) on Monday January 22, 2024 @02:00PM (#39093755)
Jonathan Blow just did a stream on parsers and how to make them easier https://www.twitch.tv/videos/2024681994?t=00h11m50s
Re:"Simple Made Easy" – Rich Hickey (2011) [video] on Tuesday December 26, 2023 @10:52AM (#38772801)
By using dang's comments I can fetch all historical discussions and render them on the same page. Easy made simple :)
Re:Google Ending Support for Jamboard on Friday September 29, 2023 @09:57AM (#37704314)
Maybe not your workflow but I am so happy that we stopped using Jamboard and switched to Miro. It’s a universe filled with joy and happiness and freedom. Now I am looking for a free Miro alternative with at least two users and nothing is even close. Not sure what’s happening in the industry that makes people produce horrible UX and not being able to see how Miro does it properly.
Re:Google Ending Support for Jamboard on Friday September 29, 2023 @09:50AM (#37704221)
I would agree about Reader, but Jamboard is not something I will miss. There are a lot better alternatives.
Re:Poetry: Dependency Management for Python on Monday August 12, 2019 @01:43PM (#20677878)
Well, it's 1.0.0b1 which is still good news considering how long it was in alphas.

Older »