I recently picked up a Linksys e8450 (twin sibling of the Belkin RT3200) and flashed it with openWRT and it's been great; WIFI-6 speeds on a router that is actually configurable
even simpler, I have always wished that JSX/JSX-alikes would serialize to something like a tuple like `(tag: string | Component, attributes: Record, children: List)`, so your example would start looking something like this:
<div class="example">
<h1 id="heading">This is an example</h1>
<h2>creating React markup</h2>
<AnotherComponent foo="bar">
<li>
<a href="http://whatever.com">One list item</a>
</li>
<li>
Another list item <hr />
</li>
</AnotherComponent>
</div>
Ruby has blocks, so in Phlex, you’d write it like this using methods and keyword arguments.
div(class: "example") do
h1(id: "heading") { "This is an example" }
h2 { "creating React markup" }
AnotherComponent(foo: "bar") do
li { a(href: "http://whatever.com") { "One list item" } }
li do
text " Another list item"
hr
end
end
end
"JSX-inspired" caught me off gaurd, the only thing JSX could inspire me to do was build something so I never had to touch it again, I landed on something similar to what you have here, I call it "Elementary"
Thank you. That gives me a red underline under ContactId and Email now. I think because input.Contact__c and input.ContactEmail__c are unknown. I think this is the right direction. What is my next step?
(property) Output.ContactId: string Type 'unknown' is not assignable to type 'string'.ts(2322) Output.ts(4, 5): The expected type comes from property 'ContactId' which is declared here on type 'Output'
Back when I worked at OmniTI (from like 2015 to 2017), we had an in-house Illumos neé Solaris distro for cloud servers named OmniOS. I didn't use it too much myself as it was somewhat legacy but all the other devs who used it for prod debugging loved all the dtrace/zfs stuffs on it.
LOL, small world. I was at OmniTI from '10-'13; I was around for the transition from Solaris 10 to OmniOS. It was an interesting system and I do wish the rest of the freenix world would learn some of the lessons that could be learned from it. (I guess in fairness they're starting to re: openzfs, ebpf, some of the smarter service management tools, et al.) That was the last time I touched proprietary unix at work, though. Even working at Oracle's AWS competitor later, everything internally was Oracle Enterprise Linux (which is to say, RHEL with the serial numbers filed off).
I wouldn't call that proprietary. It was freely available, and I worked with it for a bit, until switching that project to SmartOS, which is also... not proprietary.
Both were excellent systems to work on in dev and prod.
Pobox also had a few racks of hardware running Illumos/SmartOS as parts of their older stack. it was a pleasure to use once I wrapped my head around it, which was little enough because it was so reliable.
I use OmniOS - its actually not that rare to use if you want a good ZFS server. I am about to do a fresh install on new hardware of it as well. Its not legacy at all.
I started out doing the former because I liked using the typescript notation, but I ended up doing the latter more often as I could leave the return type off the signature, which I prefer to do
This is really cool! TIL. At this point though, I feel like you might as well just use Typescript, no? You’ll get more features / tooling and cleaner syntax. I’m intrigued to learn more about advanced JSDoc now though, if anything to be more prepared if I’m ever forced to work with it in the future.
Oh wow, this is great! I have tried other window-based application switchers but never really liked how they worked. I understand that macOS has a app-centric model but I find that switching between windows works so much better for me.
I add the TOTP to my 1Password vault, I try not to use SMS for 2FA. That said, I should start keeping a list of all my accounts that _require_ SMS for 2FA
`fish` is amazing. I used to have a big old dotfiles repo, but nowadays I add starship[0] to my env and I'm pretty much good to go.
On the non-interactive scripting front, I've found fish to be a very competent language for it, but you're right, the error handling (among other things) are lacking compared to "real" languages
I have to say, I use fish and I customize my prompt... is starship really necessary? I recognize starship is cross-shell, but if I standardize on installing fish on my machines, I'm not sure I need that feature.
Is there a "killer app" for starship that you can't get from writing out your prompt in a fish shell script?
It's a 3-line prompt with a timestamp on the first line, my username@host + pwd on the 2nd line, and the actual prompt with the cursor on the 3rd line. I'm now considering swapping the timestamp to the right side after that possibility was mentioned in other comments in this thread.