Trailing slash lets you do this though:
For example, in the case of
<div/>Some text
, browsers interpret this as<div>Some text</div>
, treating the slash as ignored and considering the div element to encapsulate the text that follows.
Trailing slash lets you do this though:
For example, in the case of
<div/>Some text
, browsers interpret this as<div>Some text</div>
, treating the slash as ignored and considering the div element to encapsulate the text that follows.
Sleep(Math.random()+1)
Select_Traffic_Lights()
SpaceOS is built for the modern Web, so anything you do on the Web, you can now do - in space.
AKA it’s a glorified Chromebook in terms of functionality. Not there yet…
Don’t see it. Could somebody give me a pointer?
Also, researchers asking ChatGPT for long lists of random numbers were able to extract its training data from the output (which OpenAI promptly blocked).
Or maybe that’s what you meant?
I’m both, I say fuck all the time. I fuck on and off the clock.
On the other hand, TAI does not take into account the variations in Earth’s rotation speed, which determines the true length of a day. For this reason, UTC is constantly compared to UT1. Before the difference between the two scales reaches 0.9 seconds, a leap second is added to UTC.
On average, Earth has been slowing down a bit over the past decades, so UTC is currently running 37 seconds behind TAI.
Not to flex, but I can draw ampersands and curly brackets.
Maybe I should’ve gone for a different skill…
Does it do it well, though?
I know enough digits of pi to calculate the circumference of the universe??
First guy looks really happy he forgot the BBQ tools.
AI’s not bad, it just doesn’t save me time. For quick, simple things, I can do it myself faster than the AI. For more big, complex tasks, I find myself rigorously checking the AI’s code to make sure no new bugs or vulnerabilities are introduced. Instead of reviewing that code, I’d rather just write it myself and have the confidence that there are no glaring issues. Beyond more intelligent autocomplete, I don’t really have much of a need for AI when I program.
It’s very much intended. Cinnamon was forked from GNOME 3 when it was released. It was intended to preserve the old GNOME 2 layout, but ended up evolving into the Cinnamon we know today.
I love how simple and small scale splitting an atom sounds. Then you get to doing it…
Freaking love TUIs, it’s like they took the convenience of a GUI and the efficiency of the CLI and merged them. As a Neovim and Lazygit user myself it’s amazing what I can accomplish in but a few keypresses.
Better yet, git commit -p
Commit more often. Maybe work in a different feature branch, and don’t be afraid to commit your half-working crappy code. If it’s a personal project/fork, it’s totally acceptable to commit often with bad commit names and small unfinished changes: you can always amend/squash the commits later. That’s how I tend to work: create a new branch, work on the feature, rebase and merge (fast forward, no merge commit). Also, maybe don’t jump around working on random features :P
Oh that’s smart! And then nushell just handles the data for you…I might try that!
I’ll point to how many functional languages handle it. You create a type Maybe a
, where a
can be whatever type you wish. The maybe type can either be Just x
or Nothing
, where x
is a value of type a
(usually the result). You can’t access the x
value through Maybe
: if you want to get the value inside the Maybe
, you’ll have to handle both a case where we have a value(Just x
) and don’t(Nothing
). Alternatively, you could just pass this value through, “assuming” you have a value throughout, and return the result in another Maybe
, where you’ll either return the result through a Just
or a Nothing
. These are just some ways we can use Maybe
types to completely replace nulls. The biggest benefit is that it forces you to handle the case where Maybe
is Nothing
: with null, it’s easy to forget. Even in languages like Zig, the Maybe
type is present, just hiding under a different guise.
If this explanation didn’t really make sense, that’s fine, perhaps the Rust Book can explain it better. If you’re willing to get your hands dirty with a little bit of Rust, I find this guide to also be quite nice.
TLDR: The Maybe
monad is a much better alternative to nulls.
Yeah I mean if you really want a UI with no JavaScript you can still use one, it’s really just a case of better defaults here (and I totally agree).