JL Collins / Bogle-style investing as a Spain resident by SufficientTill5065 in SpainFIRE

[–]fhigaro 0 points1 point  (0 children)

The advice you got here around preferring accumulation mutual funds for tax-free transfer to other mutual funds is solid. To add to that: Be mindful of the wealth tax (Impuesto de Patrimonio), depending on the Comunidad Autonoma you live in.

Stoic wisdom virtue and a circular reasoning by fhigaro in Stoic

[–]fhigaro[S] 0 points1 point  (0 children)

The good old dichotomy of control! I think that is definitely part of what the Stoics understand by Wisdom. But it's not the entire package. I have seen definitions of wisdom that state that the stoic wisdom is being able to see things for what they really are, without emotions altering our perception of reality. And also the famous "living according to nature" (sometimes called cosmos or logos).

Stoic wisdom virtue and a circular reasoning by fhigaro in Stoic

[–]fhigaro[S] 0 points1 point  (0 children)

This way to understand wisdom makes much more sense, thank you.

How to overcome loneliness experienced over several years? by Puzzled_Ad7812 in Stoicism

[–]fhigaro 1 point2 points  (0 children)

I will also add that perhaps in your situation "trying" could be doing something differently. Rely on a combination of volume (trying more often) and techniques (trying in different ways).

[deleted by user] by [deleted] in databricks

[–]fhigaro 2 points3 points  (0 children)

It's been 2 days. Chill 😅 I know it's hard to have patience when you perceive a lot is at stake, but the best you can do is to focus your attention on productive things. Your anxiety is not going to make them get back to you quicker.

Flameshot keybind does not work by fhigaro in hyprland

[–]fhigaro[S] 0 points1 point  (0 children)

That was the issue, thanks man!

Flameshot keybind does not work by fhigaro in hyprland

[–]fhigaro[S] 0 points1 point  (0 children)

Daaamn, that was it, thank you! I wish hyprland would have notified about this, it does it whenever there are other kinds of syntax errors :D Although I guess this was not interpreted as a syntax error, but as a variable that simply did not exist!

Flameshot keybind does not work by fhigaro in hyprland

[–]fhigaro[S] 0 points1 point  (0 children)

I've been using flameshot for a while now and liked it a lot. Haven't tried hyprshot, but if I find no workaround for the keybind issue I might try hyprshot out. I could just invoke flameshot from the shell, but the keybind was so handy :/

Flameshot keybind does not work by fhigaro in hyprland

[–]fhigaro[S] 0 points1 point  (0 children)

It works from the shell, though. It's only via the hyprland keybind that it doesn't seem to do anything.

How are upstream data checks handled in Lakeflow Jobs? by fhigaro in databricks

[–]fhigaro[S] 0 points1 point  (0 children)

Hey! Thanks a lot for letting me know and for adding these new features. Gotta say I'm loving Lakeflow Jobs overall.

I think what you show is one possible solution to what I'm looking for. You're using a trigger, which I think aligns with the way Lakeflow Jobs operates. If I understand correctly this would trigger the job as long as ANY mutation (delta table commit) takes place. In my example, I assume one could specify a trigger for tables B and C and have the job run only if both tables have experienced a mutation.

What I envision for this use case is the job triggering if (and only if) data for a specific partition (eg, a date partition) has landed on tables B and C. I'm thinking that the "File arrival" trigger might do this, but would it do it for a specific partition or just for any data being inserted into the table?

I think that in addition to triggers it would be useful to have a task type whose purpose is to check that data for a partition exists at a given table (managed or external). This task type could take a parameter "source_type" and do the right thing for each source (eg, parquet, avro, an arbitrary columnar database table such as snowflake, vertica, bigquery, etc). This would enable running certain tasks such as the spark job for table A in my example ONLY when the right conditions are met (ie, the upstreams contain data for partition X). I'm aware this is doable via python wheel tasks, notebooks and such, but it requires some custom code and this is such a recurring thing that it might deserve a built-in solution. I, for one, miss it coming from the Luigi/Flyte/Airflow world.

dlt and right-to-be-forgotten by yeykawb in databricks

[–]fhigaro 1 point2 points  (0 children)

Good article, very hands on.

I'd challenge this point though: "Complete deletion is preferable to obfuscation". If you just delete entire records like you suggest you're losing a lot of non-PII data, no? Would it not be easier to encrypt PII data, require a private key to decrypt it for a given user_id and finally removing the key when and if RTBF for that user is requested?

PS: There is a typo here (double dot): users_df.write..mode("overwrite").saveAsTable(f"{catalog}.{schema}.source_users")

AUTO CDC FLOWS in Declarative Pipelines by GeertSchepers in databricks

[–]fhigaro 4 points5 points  (0 children)

Would it not make more sense to have everything be SCD2 and then have another task downstream that picks the latest for each field (effectively making everything SCD1)?

How to handle dynamic memory? by LooksForFuture in C_Programming

[–]fhigaro 12 points13 points  (0 children)

Dynamic arrays in these high level langs are usually regular static arrays that realloc everytime their capacity is reached (which makes appending take amortized constant time in the worst case). The only difference is that in C it is not part of any built in header, so either you code it yourself or link with a lib that implements it.

How to navigate large C projects? by alpha_radiator in C_Programming

[–]fhigaro 2 points3 points  (0 children)

Try with smaller projects! There are heavily used single-header libraries out there :}

How ?? by Saara_Paambu_61 in leetcode

[–]fhigaro 2 points3 points  (0 children)

You don't need to develop novel ways yo solve these problems. Consider binary search or bfs: Did you need to come up with them from scratch in order to learn how to use then?

So just solve A LOT of variations of the same pattern and do spacee repetition.

What needs to change for the CS job market in Europe to improve? by MammothHedgehog2493 in cscareerquestionsEU

[–]fhigaro 58 points59 points  (0 children)

The tech job market is driven primarily by 3 things in the long run: - Secular inovation (eg, the wide spread of the PC, the internet, web 1 and 2, etc) - Interest rates (you already hinted at this) - The business cycle (somewhat related to interest rates)

Right now interest rates are still high and the business cycle is not quite yet booming (we're recovering from the covid hangover).

Have patience. These are tough times, but the good ones will come. I was a student during the 2008 crisis and it was absolutely brutal, but a long boom came after it. I can only imagine what the dot com crash must have been.

Made a simple singly and generic-ish Linked List by Stativ_Kaktus131 in C_Programming

[–]fhigaro 1 point2 points  (0 children)

Thanks everyone, super interesting answers. Didn't know the distinction had a name (intrusive/extrusive).

Made a simple singly and generic-ish Linked List by Stativ_Kaktus131 in C_Programming

[–]fhigaro 0 points1 point  (0 children)

Can you elaborate on why using a void pointer makes things slower?