The Official Status Thread
-
@stillwater I heard about them a while back and adjusted accordingly to accommodate a diet that's not the most healthful. My water intake is something on the order of three bottles an hour.
-
@pie_flavor with that much water intake, you're probably getting your daily exercise with all those trips to the restroom.
-
@pie_flavor said in The Official Status Thread:
@stillwater I heard about them a while back and adjusted accordingly to accommodate a diet that's not the most healthful. My water intake is something on the order of three bottles an hour.
That's probably a bit much, but shouldn't be harmful as long as you stay under the LD50 for water, which is around 6 liters.
-
@stillwater said in The Official Status Thread:
@Groaner said in The Official Status Thread:
In terms of what it feels like, imagine that someone stabbed you in the stomach and pushed the knife all the way out your lower back. Now, imagine that sensation but in addition you also feel nauseous.
Wow holy fuck. I drink about two glasses of water per day. I probably am running on just luck. Need to up the water intake I definitely don't want what you describe happening
I'd say diet is probably the most important factor, but it can't hurt to stay hydrated.
There's a guy in one of the discords I'm in who likes to talk about how dehydrated he is, the color of his urine and sometimes embeds relevant pictures to communicate such. If there's anyone who deserves to get a kidney stone, well....
-
@Groaner said in The Official Status Thread:
If you have a lot of oxalate ions in your diet (e.g. spinach, chard, chocolate, almonds, tea)
A bunch of risk factors there, although I've almost eliminated tea. Tea is my preferred source of caffeine, but I'm not supposed to have caffeine any more.
-
@Groaner said in The Official Status Thread:
There's a guy in one of the discords I'm in who likes to talk about how dehydrated he is, the color of his urine and sometimes embeds relevant pictures to communicate such. If there's anyone who deserves to get a kidney stone, well....
The TMI thread is .
-
@pie_flavor said in The Official Status Thread:
Status: What kind of a fucking Starbucks opens at NOON?
One that caters to students?
-
@Groaner said in The Official Status Thread:
There's a guy in one of the discords I'm in who likes to talk about how dehydrated he is, the color of his urine and sometimes embeds relevant pictures to communicate such. If there's anyone who deserves to get a kidney stone, well....
Wow, and I've been accused of TMI....
-
@Tsaukpaetra said in The Official Status Thread:
Wow, and I've been accused of TMI....
Don't see this as a challenge ...
-
@Tsaukpaetra said in The Official Status Thread:
@Groaner said in The Official Status Thread:
There's a guy in one of the discords I'm in who likes to talk about how dehydrated he is, the color of his urine and sometimes embeds relevant pictures to communicate such. If there's anyone who deserves to get a kidney stone, well....
Wow, and I've been accused of TMI....
That's just the tip of the iceberg. Later in the evening, a few of the resident edgelords switch over to classic shock images like good ol' goatse (they even have a goatse emoji for important situations) and copy-pasting accident/gore GIFs to try to get a rise out of the other inhabitants. Those of us who aren't new to the Internet are more annoyed by this behavior than shocked or offended.
The last straw for me was when one of them posted a picture of a bathroom stall in a public restroom with toilet paper strung from one side of the stall to the other, and a brown mass being delicately supported by the hanging length of paper. "i made a poop hammock," he said.
Yeah, I don't really interact with these people anymore.
-
status: Died in my Subnautica save for the first time. Goddamn warpers and their proximity to the goddamn lava.
-
status:
https://i.imgur.com/Z5gExDn.png
-
@Groaner said in The Official Status Thread:
shouldn't be harmful as long as you stay under the LD50 for water
So as long as less than half the people die it's harmless?!
-
@HardwareGeek said in The Official Status Thread:
@Groaner said in The Official Status Thread:
If you have a lot of oxalate ions in your diet (e.g. spinach, chard, chocolate, almonds, tea)
A bunch of risk factors there, although I've almost eliminated tea.
Shit, I didn't read that carefully enough. After spinach and chard I thought I'm fine, I don't eat such healthy things.
Chocolate, though... And I drink a pot of tea most days.
-
@Groaner There's a couple other kinds of stones other than oxalic stones (usually called calcium stones). Uric acid (too much purine, which can come from meat, fish, or shellfish), struvite (women with UTIs), or cystine (genetic, rare).
Another strange thing (for me at least) is that they're so painful (being knifed is a good analogy, although I've never been knifed) but as soon as they pass the pain just...goes away. It's a tangible thing, the pain.
The one that finally passed at 2 AM this morning had been hanging out, mostly asymptomatic, in my urethra until Saturday night. Then it decided to cause trouble. Imagine that same knife, except about 3 cm from the tip of the penis.
-
Status: Had cause to be in the 'plugins' section of an embedded IDE. I see a linter plugin, awesome!
Install it and then it tells me I need to do a laundry list of manual config. Fine.
Config nearly all done, but I have to point something at the linter executable, can't find it anywhere but start to notice language like 'the installation directory for your licenced product'...
Eventually end up on a website that looks like it's from the end of the 1990's. Turns out it's a paid product that's 400 quid. Why the fuck is there a plugin that does seemingly nothing, and why can't these assholes put a 'PAID' label on it, or at least mention it isn't free before you get to the end
-
@Cursorkeys said in The Official Status Thread:
embedded IDE
-
@pie_flavor said in The Official Status Thread:
@Cursorkeys said in The Official Status Thread:
embedded IDE
An IDE for developing for microcontrollers. It's special, and not in a good way.
-
@Cursorkeys What is the point of such an IDE that your standard C/C++/Rust-supporting IDE couldn't cut it for? AFAIK you just need to tell it to build without libc and against
thumbv6m-eabi
or similar.
-
@pie_flavor said in The Official Status Thread:
@Cursorkeys What is the point of such an IDE that your standard C/C++/Rust- supporting IDE couldn't cut it for? AFAIK you just need to tell it to build without libc and against
thumbv6m-eabi
or similar.Bolded the problem. IIRC, microcontrollers usually only understand a specific, heavily non-standard version of C or C++. Plus, that base library may be proprietary and only accessible from their IDE...
-
@pie_flavor said in The Official Status Thread:
@Cursorkeys What is the point of such an IDE that your standard C/C++/Rust-supporting IDE couldn't cut it for? AFAIK you just need to tell it to build without libc and against
thumbv6m-eabi
or similar.Live debug mostly, the hardware debug tools are all proprietary, so it is use their IDE or it's back to the bad old days of having to debug blind using whatever hardware you had available to side-channel messages. Wait, was it the status light blinking twice or thrice for UART framing error if it's already been on for over a minute?
Edit: This over-priced hockey-puck is an In-Circuit-Debugger, communicates with the micro over a special lead and allows you to set up to 4 breakpoints, pause, step-in, step-over, inspect/molest variable contents etc..
It also has RGB lighting because...I have no idea:
-
@Cursorkeys said in The Official Status Thread:
the hardware debug tools are all proprietary
Probably ends up being JTAG when it hits the board, and a nasty VB DLL to communicate with things. Because doing things the easy way isn't how those folks roll…
-
@dkf said in The Official Status Thread:
@Cursorkeys said in The Official Status Thread:
the hardware debug tools are all proprietary
Probably ends up being JTAG when it hits the board, and a nasty VB DLL to communicate with things. Because doing things the easy way isn't how those folks roll…
Microchip use a high-speed serial protocol they call ICSP, supposedly the gory details are:
ICSP is a wrapper on JTAG. The wrapping is done by multiplexing 3 JTAG lines on PGCED. The multiplexing is 4:1, so ICSP is 4 times slower than JTAG (with everything else equal).
-
@Benjamin-Hall said in The Official Status Thread:
IIRC, microcontrollers usually only understand a specific, heavily non-standard version of C or C++.
wat? CPU instructions are CPU instructions, what does it matter what it looks like before it's compiled?
-
@pie_flavor said in The Official Status Thread:
CPU instructions are CPU instructions, what does it matter what it looks like before it's compiled?
They're probably using language extensions for saturating fixed point values (since they're much cheaper to work with if you can get your math to fit in them). Standard compilers have a nasty habit of looking at those and going “WTF?! Nope!” and I shudder to think what an awful thing it would involve to make the set of classes required to make things work right (and efficiently!) with them in C++.
-
@dkf Easy enough in rust.
extern crate fixed;
-
@pie_flavor How does that express fixed point constants?
-
@dkf it uses single-element structs for everything. The whole library is just a convenience wrapper around primitive integers. From what I can tell, it only provides binary fractions.
-
@pie_flavor So now your code has to include a fixed-point software library, and ignores the built-in floating point hardware (garbage though it may be) adding size pressure and reducing performance. Good tradeoff?
-
@TwelveBaud How do you know the performance is reduced? And we've already established that fixed point is being employed; the only question is how cleanly.
-
@Gąska said in The Official Status Thread:
it uses single-element structs for everything
I was more interested in the syntax; the implementations can be done with one-element structs but without good syntax the result is still not usable. The example I found doesn't leave me feeling hopeful that it'd be particularly nice; the constants in real code aren't usually as nice as “11.0”…
In general, I was thinking about what it would take to port our transcendental function library over. (No, I'm not about to actually do the work.) I know that it internally relies on a number of tables of magic constants in order to implement log() and exp(), and those have to be exactly correct for things to work. We use a C extension so that we can write them down directly, rather than needing to do awful tricks (with type punning) to create them. We're not about to get rid of this particular library either; it's much better on our hardware than the standard solutions (and yes, we've measured that exactly).
-
@TwelveBaud said in The Official Status Thread:
ignores the built-in floating point hardware
Why do you assume that there is such hardware?
-
@dkf Write out the constant as an int and then divide by 10x. Easy.
-
@pie_flavor I just looked up what we do now (in C). It's this:
static uint32_t log_ck[] = { 1610612736, 1612693673, 1614742838, 1616761188, 1618749635, 1620709053, 1622640276, 1624544106, 1626421307, 1628272616, 1630098736, 1631900343, 1633678087, 1635432592, 1637164458, 1638874261, 1640562556, 1642229879, 1643876743, 1645503644, 1647111061, 1648699455, 1650269271, 1651820939, 1653354872, 1654871473, 1656371128, 1657854212, 1659321087, 1660772103, 1662207601, 1663627908, 1665033342, 1666424211, 1667800815, 1669163444, 1670512377, 1671847888, 1673170241, 1674479692, 1675776492, 1677060882, 1678333097, 1679593367, 1680841913, 1682078952, 1683304693, 1684519341, 1685723096, 1686916150, 1688098693, 1689270907, 1690432973, 1691585063, 1692727349, 1693859995, 1694983162, 1696097009, 1697201687, 1698297348, 1699384138, 1700462197, 1701531667, 1702592682, 1703645376 };
(There's also a comment about wanting to be able to compile and run this on x86 when checking the numerics, which I guess is why this isn't expressed as fixed point constants.)
-
@dkf said in The Official Status Thread:
@Gąska said in The Official Status Thread:
it uses single-element structs for everything
I was more interested in the syntax; the implementations can be done with one-element structs but without good syntax the result is still not usable. The example I found doesn't leave me feeling hopeful that it'd be particularly nice; the constants in real code aren't usually as nice as “11.0”…
Yeah, that
from_bits
method is pretty much the only way. Although it shouldn't be too hard to make a procedural macro for it (the syntax could be likefrac_i32!("34.75")
- not perfect, but still an improvement, and you don't have to do the math yourself anymore; it might be possible to get rid of the quotes too).@dkf said in The Official Status Thread:
@pie_flavor I just looked up what we do now (in C). It's this:
Wow, that's awful. Anyway. It looks like you'd be fine with doing the fraction point calculations yourself, as you've already done that. Also, writing a macro that takes all these numbers and wraps them through
from_bits
should be even easier than the first one - you can even do it with regular, declarative macros!
-
@Gąska said in The Official Status Thread:
Wow, that's awful.
It's in one of the files that almost our entire coding staff refuses to open.
-
@Luhmann said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Wow, and I've been accused of TMI....
Don't see this as a challenge ...
Well, let me tell you about this paper cut....
-
@pie_flavor said in The Official Status Thread:
@Benjamin-Hall said in The Official Status Thread:
IIRC, microcontrollers usually only understand a specific, heavily non-standard version of C or C++.
wat? CPU instructions are CPU instructions, what does it matter what it looks like before it's compiled?
Well, there's special things like the address-space qualifiers that are quite important the compiler understands.
@dkf said in The Official Status Thread:
@TwelveBaud said in The Official Status Thread:
ignores the built-in floating point hardware
Why do you assume that there is such hardware?
On the early PICs you couldn't use divides, because there was no hardware assist and it was all software implemented and, consequently, slow as balls. Cue fudging everything to be integers that needed to be multiplied/divided by powers of 2 so you could just get bit shiftin' :)
-
@Cursorkeys said in The Official Status Thread:
MPLAB- X IDE | Microchip Technology
Oh fuck!
I'm so sorry...
-
@Tsaukpaetra said in The Official Status Thread:
@Cursorkeys said in The Official Status Thread:
MPLAB- X IDE | Microchip Technology
Oh fuck!
I'm so sorry...
It crashes slightly less than the old MPLAB-IDE, so it's got that going for it I guess...
-
@Benjamin-Hall said in The Official Status Thread:
finally passed at 2 AM
@Benjamin-Hall said in The Official Status Thread:
Imagine that same knife, except about 3 cm from the tip of the penis.
I'd much rather not, TYVM.
-
@Groaner said in The Official Status Thread:
@stillwater said in The Official Status Thread:
@Groaner How do y'all get them in the first place? Is this something that happens because of lifestyle or some people are inclined to get it no matter what?
Reading about kidney stones scare the fuck outta me.
For the most part, it's basic chemistry. If you have a lot of oxalate ions in your diet (e.g. spinach, chard, chocolate, almonds, tea) and just the right conditions, they can precipitate out of solution as masses of calcium oxalate. This can be counterbalanced by citrate ions (which lemons are a much better source of than oranges). Drinking lots of fluids also helps as more liquid = more capacity to dissolve ions. Despite oxalate pairing up with calcium, I've heard extra calcium can also be beneficial.
Actually, your diet plays only a very minor role in creating kidney stones when regarding the most common (i.e. 95% of them being some oxalate variant). You cannot really influence it by getting rid of, say, black tea and drinking citrus also doesn't really work.
The only thing that's actually helping is drinking lots of fluids.
If you create stones not of the oxalate variant then diet may play a role again.
Source: My nephrologist who also teaches at university and is also responsible for writing the guidelines on how to deal with kidney stones in Germany.
Seriously, pretty much all of my previous doctors said: "Doesn't really matter what you drink as long as there's enough fluid intake." You simply cannot consume enough oxalate through your diet to make a measurable difference in your blood content - it simply isn't metabolized that way, similarly to how your blood acidity doesn't change when you drink acidic fluids. Plus, oxalates are part of some metabolic pathways in your body so your organism creates that stuff all on his own.
-
Status: Making a scene-component (that's not the root) buoyant, without making the parent component also buoyant. It's more tricky than it seems.
-
Status: Furnace repaired; it now pushes air through the house again. House is returning to normal after reaching a low of 50°F.
I forgot to plug in the network switch in the basement after he was done, so I had to go all the way downstairs and fix it to restore internal networking to the house.
I'm still cold.
-
@Parody said in The Official Status Thread:
I forgot to plug in the network switch in the basement after he was done
You bought an IoT furnace?!
-
@Zerosquare said in The Official Status Thread:
@Parody said in The Official Status Thread:
I forgot to plug in the network switch in the basement after he was done
You bought an IoT furnace?!
It was evidently buffering poorly.
-
@Parody said in The Official Status Thread:
reaching a low of 50°
@Parody said in The Official Status Thread:
I'm still cold.
Satan?
...
Ah, it's 50°effs. Never mind, good job, carry on then.
-
@Tsaukpaetra said in The Official Status Thread:
@Cursorkeys said in The Official Status Thread:
MPLAB- X IDE | Microchip Technology
Oh fuck!
I'm so sorry...
+1.
@Cursorkeys said in The Official Status Thread:
It also has RGB lighting because...I have no idea
Think about it. Which one is more fun to work on: fixing outstanding issues (like, I don't know, every operation involving the ICD being slow as hell), or adding fancy lights?
-
@Zerosquare said in The Official Status Thread:
@Parody said in The Official Status Thread:
I forgot to plug in the network switch in the basement after he was done
You bought an IoT furnace?!
Heh, no. The switch plugs into an outlet that's next to the furnace and the repairman needed outlets for his stuff.
-
@pie_flavor said in The Official Status Thread:
status: dropped half my fries on the way out of the restaurant, and while I understand why they won't replace them for free, I take it as an insult that they offered me more ranch dressing as compensation. (a) shit's free, (b) if two packets were enough for all my fries do you really think four will be necessary for half as much, and as a footnote (c) I never asked for any in the first place, and if they had asked me if I wanted the ones already in the bag I would have said no.
I take my revenge. I bought from them again last night, and today I find out that no transaction has appeared on my card. Muahahaha.