YAML is good for files that have a very flexible structure or need to define a series of steps. Like github workflows or docker-compose files. For traditional config files with a more or less fixed structure, TOML is better I think
YAML is good for files that have a very flexible structure or need to define a series of steps. Like github workflows or docker-compose files. For traditional config files with a more or less fixed structure, TOML is better I think
Do these things correlate that much tho? Not to toot my own horn, but I am fairly tech-proficient and have terrible typing skills. My technique is somewhere in between hunt-and-peck and touch-typing, despite regular typing lessons in elementary school. I imagine a lot of other people are like this, and vice-versa as well.
Please don’t. If you need something like json but with comments, then use YAML or TOML. Those formats are designed to be human-readable by default, json is better suited for interchanging information between different pieces of software. And if you really need comments inside JSON, then find a parser that supports //
or /* */
syntax.
Never knew that ddg had an LLM, will check it out. Thanks!
I’m sorry which LLM is this?
It’s perplexity.ai. I like it because it doesn’t require an account and because it can search the internet. It’s like microsoft’s bing but slightly less cringe.
How’d you get that out of it?
The screenshot is fake. I used Inspect Element.
Still better than automatically converting :) to 😃
I’ve heard stories of webdevs adding technical-looking error popups on their website asking the client to pay. Something like ERROR 402 PAYMENT REQUIRED: Database connection failed due to insufficient funds.
Apparently it works pretty well
idk man ipv4 NAT sounds like the “complicated bloat” to me.
Thanks, will take a look when I have time
No, it’s an edit. I linked the original in the post text. If you can’t access it for some reason, here’s a transcript:
Government of the Netherlands
Home > Topics > Coronavirus COVID-19 > Travelling to the Netherlands from abroad
Checklist for travel to the Netherlands
Do not travel to the Netherlands.
Agreed. Though I wonder if ipv6 will ever displace ipv4 in things like virtual networks (docker, vpn, etc.) where there’s no need for a bigger address space
He’s recording the extracted data into a MongoDB database, yes!
Jokes aside, LLMs are actually pretty nice, since they lower the barrier to entry for programming. A guy I know has been doing all of his data processing with obscure Excel hacks his entire life. But recently he had to parse a file with like a million or so lines, which would take forever in excel, so now he’s hacking together a python script using ChatGPT and meta ai. And in the process, he’s actually picking up a bit of python knowledge himself. He now knows what lists are, how loops and if statements work, and he even understands “intermediate” features like list comprehension and regex. They said llms would replace programmers, but in reality they’re making more of us lol
This but with “microsoft office” instead of java
Gradual typing isn’t reinventing the wheel, it’s a new paradigm. Statically typed code is easier to write and harder to debug. Dynamically typed code is harder to debug, but easier to write. With gradual typing, the idea is that you can first write dynamic code (easier to write), and then – wait for it – GRADUALLY turn it into static code by adding type hints (easier to debug). It separates the typing away from the writing, meaning that the programmer doesn’t have to multitask as much. If you know what you’re doing, mypy really does let you eat your cake and keep it too.
tldr
is great. Basically a crowd-sourced alternative toman
with much more concise entries. Example:$ tldr dhcpcd DHCP client. More information: <https://roy.marples.name/projects/dhcpcd>. Release all address leases: sudo dhcpcd --release Request the DHCP server for new leases: sudo dhcpcd --rebind