Readit News logoReadit News
pattycakes commented on Robotics and ROS 2 Essentials   henkirobotics.com/robotic... · Posted by u/dtquad
inetknght · a year ago
I tried to use ROS2 twice in my professional career. Both times ended up with massively bloated build pipeline code, significantly longer build times, and massively bloated Docker images.

Don't use ROS2. The benefits just aren't worth it. It's great for school but it's terrible for production.

pattycakes · a year ago
Sounds like your build system is the problem, not ROS.
pattycakes commented on TypeSpec: A new language for API-centric development   typespec.io/blog/2024-04-... · Posted by u/ubolonton_
BillyTheKing · 2 years ago
It's this or writing openapi ymls... Even for people who know yml picking this up to define and write basic openapi definitions is much simpler than writing an openapi doc from hand, which is really painful
pattycakes · 2 years ago
FastApi can generate the OpenApi yaml
pattycakes commented on Show HN: Auto-generate an OpenAPI spec by listening to localhost   github.com/Adawg4/openapi... · Posted by u/adawg4
w3news · 2 years ago
When you build an API, please start with the OpenAPI specification, before you write any code for your API. It can be iterative, but for every part, just start with the OpenAPI, and think about what you want from the API, what do you want to send, and what to receive.

It is like the TDD approach, design before build.

Writing or generating tests after you build the code, is the same as this. It is guessing what it should do. The OpenAPI specification, and the tests should tell you what it should do, not the code.

If you have the specification, everyone (and also AI) can write the code for you to make it work. But the specification is about what you think it should do. That are the questions and requirements that you have about the system.

pattycakes · 2 years ago
Waste of time imo if you use a framework like fastapi which generates the spec for you
pattycakes commented on Reddit should show upvotes and downvotes separately   old.reddit.com/r/unpopula... · Posted by u/amadeuspagel
pattycakes · 2 years ago
Reddit used to show it, they intentionally removed it maybe around 2015
pattycakes commented on Super Mario 64 on the Web   probablykam.github.io/Mar... · Posted by u/nazgulsenpai
Yukonv · 2 years ago
Firefox prevents audio from playing with no initial user interaction like a play button. Can see the warning if you pop open the dev console. Don't know of workaround besides sites not creating an AudioContext on page load.
pattycakes · 2 years ago
I there a way to turn on audio? I'm on chrome and do not have audio either
pattycakes commented on The merge vs. rebase debate   graphite.dev/blog/why-ban... · Posted by u/thunderbong
pattycakes · 2 years ago
This is the strangest debate and it's not really clear from the blog post what the benefit of picking one gets you. Why does it matter what happens on a devs branch? just do a squash and merge when merging a branch to trunk.
pattycakes commented on Beyond OpenAPI   antonz.org/interactive-ap... · Posted by u/nalgeon
pattycakes · 3 years ago
OpenAPI is more than just documentation generation, it’s also used for runtime time validation and codegen for both client and server stubs. I’d argue that what’s discussed in this article can complement OpenAPI but doesn’t replace it.
pattycakes commented on A tale of webpage speed, or throwing away React   solovyov.net/blog/2020/a-... · Posted by u/todsacerdoti
deergomoo · 6 years ago
Yes. HTML is a terrible platform for applications. It provides basically nothing and I am continually surprised that it doesn’t seem to be a major focus for improvement like JS and CSS.

I don’t need more types of semantic rectangle, I need actual real UI controls that are efficiently rendered and accessible by default, so I don’t have to build everything from scratch.

The fact that there’s no built-in element for things like dropdown menus is mind boggling to me. That’s GUI component #0; menus have existed for as long as GUIs have!

I feel that Houdini may eventually solve CSS’ shortcomings for application UI layout, but being stuck with HTML is like trying to build an aeroplane with sticks and mud.

pattycakes · 6 years ago
>The fact that there’s no built-in element for things like dropdown menus is mind boggling to me.

You mean the select tag?

Deleted Comment

u/pattycakes

KarmaCake day9August 1, 2016View Original