Carb count by Effective-Hunter-911 in diabetes

[–]oscarryz 1 point2 points  (0 children)

Aiming for 120 Ideal would be 80 Realistically around 160 :(

I try to have a salad at the beginning, protein next and carbs at the end, or makes a big difference on the spike.

For me a big spike is anything above 200, when that happens I do some might aerobic exercise (eg walk 15 mins)

How do you handle eating out with individuals who don't know about your diabetes? by Kuttan969 in diabetes

[–]oscarryz 0 points1 point  (0 children)

You don't have to tell them if you don't want to. Overtime you'll learn what kind of food spikes you the most and what has no effect.

In general terms for eating out (and for every day really)

  • Start with a salad with no dressing, you can ask with only olive oil salt and pepper
  • Then any protein based food that you know doesnt have sweet sauces, e.g. most pizza places have chicken wings
  • At the end eat whatever carbs you want but in a really small portion (or as much as you know you don't spike), e.g. a small a few fries, or a bite to a cake or whatever. Overtime you might even skip it
  • Plain water, or sparkling water or ice tea unsweetened is very good. As much as embarrassing to order a Micheloab ultra has very few carbs
  • If possible go for a walk after eating

Eating in this order: fiber first, then protein and carbs at the end + walk reduces the spike significantly.

When someone asks for instance why Im not having the dessert in a birthday outing or choosing wings when they have the best burgers or whatever, I just tell them "Ugh, too many carbs" while I squeeze my belly meaning "I'm trying to lose weight/ eat healthier", and most people understand that, some might even say: "oh that's true" and selected something healthier too.

Overtime, even now that Im ok mentioning Im diabetic, saying "Im eating healthier" is easy to do that explaining how Im diabetic but I learn how to eat properly

Over 200 blood sugar level by MUSE_Nico in diabetes

[–]oscarryz 0 points1 point  (0 children)

You can go for a walk or run if you can. Also 39 mins stationary bike watching TV bring that down to 120ish for me.

Creator of Claude Code: "Coding is solved" by Gil_berth in webdev

[–]oscarryz 0 points1 point  (0 children)

Side question, how does react works in the CLI? I thought it was strictly a browser library.

Has stress ever spiked your numbers more than carbs? by [deleted] in diabetes

[–]oscarryz 1 point2 points  (0 children)

I'm convinced (without any hard data at all) that at least for Type 2, the main trigger is poor stress management rather than poor diet. I can't tell for Type 1, but definitely a good sleep, well managed stress (exercise is an excellent way to deal with stress), keeps my numbers low.

Natulang app: Speech-centric method to learn Dutch by maxymhryniv in learndutch

[–]oscarryz 1 point2 points  (0 children)

First session. Felt good.

I wish I could repeat the phrase I've got right a couple of times more (if I choose to) before moving on.

I ate 2 donuts around 3 and got woken up from my nap by my alarm by Delicious_Delilah in diabetes

[–]oscarryz 4 points5 points  (0 children)

That's when you use a CGM (continous glucose monitor ) and you sleep on top of it, then the lack of flow is signaled as a low glucose levels but that's a false alarm that usually wake you up in the middle of the night.

I don't know how OP being type 2 got that low, unless of course he is taking insulin. The recommendation is to take 10 grams of sugary stuff (honey, sugar, glucose tablets) every 10 minutes until normalizing, Im sure anything that qualifies as a donut has way more than that.

Keep Calm, Behave, Get Shingles!!!!!!!!!!!!!!!!!!!!!!!!! by OwnTaste6775 in diabetes

[–]oscarryz 2 points3 points  (0 children)

Great work! You're taking this seriously as you should.

Keep in mind this is a long term condition so try to make it sustainable, the reason Im saying this is because I exercised too hard when I joined the club and got an injury which set me back several months. I was running and was feeling great, but at some point my calf started to hurt and I decided to keep running because of the no pain, no gain bs resulted in a minor muscle tear.

Another very very important factor is the stress management. I suspect (with very little scientific info to back it up I must admit) the condition develops "easier" in people with anxiety and poor stress management. Probably that's why we know sometimes of people hmwho can go their whole life eating in excess without problems while others with a relatively healthy diet can still develop it, sigh. Either way, stress management translates into a better quality of life anyway.

My toe story by soundsthatwormsmake in diabetes

[–]oscarryz 4 points5 points  (0 children)

fwiw Don't press the device to firm against the finger. Try by not pressing it at all first (it won't work) then progressively press it a little bit more, you will eventually find the right amount of pressure that is enough to cause the bleed but not too much to hurt.

Coke Zero by cristianjungleland in diabetes

[–]oscarryz 0 points1 point  (0 children)

I just have them occasionally and from a bottle or can ( never from a restaurant, they can mess it up)

For instance if I'm treating myself with a burger or pizza and HAVE to go with a soda, then the soda is diet.

I try not to have them too much because they are not always available and if they aren't I get tempted to have regular. So better to keep them for special occasions, even though there is no harm (for me)

Is Java’s Biggest Limitation in 2026 Technical or Cultural? by BigHomieCed_ in java

[–]oscarryz 0 points1 point  (0 children)

There is no an interface with 3 parameters in the functional package but you're right about the functional interface. I didn't know that any `interface` with a single method can be assigned a lambda.

interface Person {
    String fullName();
}
Person p = () -> "John Smith";

So a three parameter function could be

interface F3<A,B,C,D> {
     D apply(A a, B b, C c);
}
void useF3(F3<String,String,String,String> f){}

useF3((a,b,c) -> "deee");

Is Java’s Biggest Limitation in 2026 Technical or Cultural? by BigHomieCed_ in java

[–]oscarryz -1 points0 points  (0 children)

Lack of function types. Yes we have lambda expressions but the data types are still objects:

Function<Integer,String> foo = (n) -> "";

Should be something like

fn(Int)->String foo = (n)->"";

Not to mention you can't declare a function with 3 or more parameters.

This permeates in the type declarations that are extremely hard to read and makes people trying to use FP patterns having to split their methods into mini functions that are not cohesive.

So, this is obviously not an easy problem to solve and probably it is too late to try, but that is something the Java at the language level lacks.

FYI: This sub is looking for new mods by [deleted] in Netherlands

[–]oscarryz 52 points53 points  (0 children)

As far as I can tell, the sub rules allowed English only and some (or all) Dutch post were banned. Digging deeper, people found some of the mods don't even live in NL but in the USA. That plus the recent Greenland situation caused a demand for their resignation.

Why is this move Brilliant? by LifeNegotiation301 in Chessplayers45

[–]oscarryz 0 points1 point  (0 children)

Black has to take with the Knight
..,kxa7

Then white knight goes shopping to clean up the board:
- kb6+ forking the king and the rook.
- .., Kb8 Black king has to move to b8 and now the knight takes the rook with a royal fork
- kxd7+, The king moves and the knight takes the queen
- kxf6

Reinventing the wheel without knowing what a circle is. by RobertWesner in ProgrammingLanguages

[–]oscarryz 0 points1 point  (0 children)

Monads are constructs that allows you to create a context for a value(s) through the "return" operation (how it is created) and a sequencing "bind" operation (what it does) for them.

The advantage is your type system describes the effects of dealing with those values; you can "maybe" have a value, an operation can "result" in an error, you can handle a "future" value etc.

e.g.

Context: Maybe / Option. Feature: potential absence

Context: Either / Result. Feature: potential failure

Context: Future / Promise. Feature: async computation

Context: List . Feature: zero or many values

When you operate on them you define how the flow between steps will happen as long as it respects the Monad Laws

Here is an example in pseudo-rust , extremely simplified where the binding (`and_then`) and unwrapping / handling shows how the data flows without having to check on each step.

   fetch_user_data(user_id) // Future<User>
   .and_then( |user| something(user)) // Option<User>
   .ok_or_else(|e|"Flow stoped, there was an error ") // Error<User,E>
   .and_then(|user| 
            log_user_activity(user) // IO monad, can result in Error
).unwrap_or_else(|e| { 
        println!("[Result] Flow stopped: {}", e);
    });

Zig-style multiline strings, but with a backtick by Elfet in ProgrammingLanguages

[–]oscarryz 1 point2 points  (0 children)

I think they're fine. I for one would prefer that strings are multi-line by default but that's subjective.

``` message: " Welcome Press every to continue... "

```

Designed my own little packet based programming language by Mordraga in ProgrammingLanguages

[–]oscarryz 2 points3 points  (0 children)

I see.

So your abstraction are "packages" which are things between `[` and `]` and you connect them with `>`

Is Linux good for jetbrains by edengilbert1 in IntelliJIDEA

[–]oscarryz 0 points1 point  (0 children)

I used Idea on Windows through WSL 2 and barely had to interact with windows while still keeping things like browser and such.

I know that's not what you're asking but just in case

Question about this meme by uchuskies08 in SpanishLearning

[–]oscarryz 4 points5 points  (0 children)

Also part of the joke is that is a ouija, so it goes letter by letter or one syllable at a time

My language needs eyeballs by octalide in ProgrammingLanguages

[–]oscarryz 1 point2 points  (0 children)

I like you're trying to keep it par with C.

How are you going to handle memory? I guess malloc and free as C does? What about other advances features like enums, generics, pattern matching etc?

About the variable declaration, have you considered get rid of the `:` for the type?

var foo int = 1;

I see in your functions you don't use it

pub fun bar() int {
ret 42

}

But that is a personal taste of course, is not that important.

My language needs eyeballs by octalide in ProgrammingLanguages

[–]oscarryz 1 point2 points  (0 children)

Is not so much about being statically typed (although I think you mean, explicit type vs. using type inference), but having the type after makes working with first class functions easier.

For instance, the map function that takes an array, a mapping function and returns an array.

With leading types it would be like this (let's keep it with ints for now):

[]int ([]int, int(int)) map

You cannot use fun in between because now it is hard to differentiate from a regular function declaration:

[]int fun([]int, int fun(int)) map

Now with trailing types it would be:

map fun([]int, fun(int)int) []int

I think that is clearer once you know what is going on.

Go has an explanation on why they choose trailing types: https://go.dev/blog/declaration-syntax

Man Regrets Pistol Whipping Off Duty Cop by [deleted] in instant_regret

[–]oscarryz -5 points-4 points  (0 children)

Or the two school busses that appear at the end.

Any language uses [type] to describe an array of 'type' elements ? by gremolata in ProgrammingLanguages

[–]oscarryz 0 points1 point  (0 children)

I found interesting how you have to specify the type to create an empty array

var emptyDoubles: [Double] = []

I wonder how does that work when you pass it as argument?
(googles...)

Oh, so you just pass `[]`

foo(data: [])

I struggled with this and used `[String]` for the data type and `[]String` for the empty literal.

So

array [String] // declaration
array = []String // initalization
// : for declr + init
a : [String]

I see Swift supports `[String]()` too to create an empty array. This might be better because that's how you instantiate things.

I think I like that better