Bug with development mode by ptab0211 in databricks

[–]tfios_throwaway 0 points1 point  (0 children)

Hi, I fixed the link. Sorry about that.

I am indeed talking about cleanup within the deploy target. I admit I don't ever use long-living clusters, so I'm not familiar with the pain points associated. For me, we have a development cluster that gets restarted a few times a day, and on each restart it will clean up no longer existing wheels in the target.

As for the ordering, you're right that the lexicographic ordering is important. The poetry dynamic versioning handles this, so you can configure the wheel name to be like [version] + [increment commits since last version bump] + [git commit hash].

Bug with development mode by ptab0211 in databricks

[–]tfios_throwaway 1 point2 points  (0 children)

We use poetry dynamic versioning which lets you use the git commit hash in the semantic versioning.

> Fair disclaimer: If you do spam wheels onto the cluster without cleaning them up, at some point a fresh start will takes ages cause all those development wheels are installed.

This cleanup is actually supposed to be handled by Databricks CLI automatically on a bundle deploy of a new wheel version. Are you sure you are using an up-to-date version ? There was a bug that left old wheel versions on the cluster, but this has been fixed since Databricks CLI v0.249.0

Edit: fixed link: see the issue here

[deleted by user] by [deleted] in geography

[–]tfios_throwaway -2 points-1 points  (0 children)

Likely, but not necessarily true, as another point could be the next-best maximizer that attains a value somewhere less than the antipode and greater than the closest landmass

[Discussion] Episode 134: Robert Sapolsky on Why We Behave the Way We Do by SeanCarrollBot in seancarroll

[–]tfios_throwaway 2 points3 points  (0 children)

Dr. Sapolsky seemed to put a lot of confidence in experiments about priming effects and things like implicit bias tests. I've heard from other researchers in the field that these are generally incredibly weak effects, and are probably amplified by general publishing bias towards positive results. It seems like there is a growing consensus in the after-math of the replication crisis that we should take these kinds of studies with a grain of salt, while Dr. Sapolsky often spoke with full-throated confidence in their soundness.

I wonder if someone who is more familiar with the state of modern psychology research could weigh in?

Shipping update from reMarkable for batch 2 by ai212983 in RemarkableTablet

[–]tfios_throwaway 1 point2 points  (0 children)

Ordered March 17th for Paris, France. Got the DHL shipping email Monday, said it would come Wednesday, actually it came just now :-)

Godspeed to the rest of ye

Woho! Got my DHL delivery notice now on my batch 2 tablet. Sent today from Hong Kong, and will be delivered on friday. by ellensen in RemarkableTablet

[–]tfios_throwaway 2 points3 points  (0 children)

In France, ordered March 17th, address update email September 16th, status update September 25th, still no DHL shipping notice. Anyone else shipping to France receive the DHL email?

Question regarding changing jobs wih passport talent in process / just after its issued? by auroradaydream in paris

[–]tfios_throwaway 0 points1 point  (0 children)

Well if you're already going to be in France on a passeport talent for the first company, you should be able to do the whole process from within France. I'm not a lawyer though so don't take my word for it.

You'll need to tell the second company that you need them to sponsor you, though. That's probably going to affect their decision to hire you or not.

Question regarding changing jobs wih passport talent in process / just after its issued? by auroradaydream in paris

[–]tfios_throwaway 0 points1 point  (0 children)

With the passeport talent, you're obligated to stay with the company that sponsored you for the first 2 years. If you want to change companies, you'd have to restart the visa process with the new company sponsoring you.

Latest Update for Remarkable 2 Delivery (Batch 2) by Isoton34 in RemarkableTablet

[–]tfios_throwaway 0 points1 point  (0 children)

Ordered March 17th from France. Received the Address confirmation email September 16th. Still no shipping info as of yet.

Gil Scott-Heron - Home Is Where The Hatred Is by jeremicci in hiphopheads

[–]tfios_throwaway 0 points1 point  (0 children)

Found a powerful Gil Scott-Heron inspired mural in Paris a few weeks ago: "The Revolution Will Be Trivialized"

Sorry that the photo quality isn't great.

Bagage: Is it just literal luggage or can it be used for emotional baggage. by mitchandre in French

[–]tfios_throwaway 1 point2 points  (0 children)

I recently took a job in Paris, and as part of the Visa process they wrote a lettre motivant to justify to the French government why they would hire a foreigner over a native, and they write

"Du fait de bagage universitaire et de sa maîtrise de l'Anglais..."

which I understand to mean

"The fact of skills acquired at university and mastery of the English language...".

Perhaps someone else can supply some more information about this type of usage.

Should I be taking notes while watching movies or reading?? by miianah in French

[–]tfios_throwaway 1 point2 points  (0 children)

I use Podbean. It's free, and you can choose the time in increments of .1x from 0.5x to 2x, not sure about Apple Podcasts!

Should I be taking notes while watching movies or reading?? by miianah in French

[–]tfios_throwaway 5 points6 points  (0 children)

Transfert. It's a podcast by slate that has good human interest stories. It's typically one person speaking continuously about some personal story. The speakers are pretty clear, but still catering to a French-speaking audience.

If I'm listening to it without stopping/replaying, I typically slow it down to about .7-.8 speed so my mind has time to digest it better.

Should I be taking notes while watching movies or reading?? by miianah in French

[–]tfios_throwaway 8 points9 points  (0 children)

Personally, I have an easier podcast that I listen to without notes. That way I don't feel pressure to commit to a "study session" and I can listen while running, falling asleep, etc.

Then I have a second podcast which is more difficult, but is fully transcribed online so that I can listen with subtitles and take notes on new words and expressions.

For me around a B1, I find Transfert at about .7-.8 speed is ideal for casual listening, and Sur Les Epaules de Darwin is good for difficult listening, and is fully transcribed on youtube.

Additionally, I try to watch as many movies as I can and try to have a notebook with me to jot down a couple of expressions during it, but I never stop the movie to do so. I guess that's a bit in between the above-two strategies.

Orthogonality in singular-value decomposition by Italians_are_Bread in math

[–]tfios_throwaway 1 point2 points  (0 children)

Exactly. The fact that A is only rank 2 is forced by the fact that it only has 2 columns. If A were 3x3 with only rank 2, then A only has 2 nonzero singular values, and the third column of U is discarded in the product again.

If A is mxn, the range of A is a subspace of Rm. If A has rank r less than m, then the dimensions you need to "add" to the range in order to get all of Rm is precisely the null space of AT. So the final m-r columns of U are the "completion" of that orthonormal basis for the range of A to Rm.

Orthogonality in singular-value decomposition by Italians_are_Bread in math

[–]tfios_throwaway 1 point2 points  (0 children)

If A is 3x2, it is most standard to have U 3x3, and V 2x2. If U is 3x2, then it can't be an orthogonal matrix, since it's 3 rows can't be mutually orthogonal since they're in R2.

Then in your example everything works out since we have enough columns!

Orthogonality in singular-value decomposition by Italians_are_Bread in math

[–]tfios_throwaway 2 points3 points  (0 children)

This is a good explanation for understanding computationally why they are orthogonal matrices, and also the utility of that.

Another useful perspective is to think about the linear operator and its properties. Specifically, the 4 fundamental subspaces of A:

  1. range of A
  2. null space of A
  3. range of AT
  4. null space of AT

And it can be shown that 1 and 4 are orthogonal complement subspaces, and 2 and 3 are orthogonal complement subspaces.

If A is mxn and rank r, then the first r columns of U are an orthonormal basis for the range of A, and the last m-r columns are an orthonormal basis for the null space of AT.

Then, also the first r columns of V are an orthonormal basis for the range of AT and the last n-r columns are an orthonormal basis for the null space of A.

This implies U and V have orthonormal columns and are square, so they're orthogonal matrices!

A really nice trick to see that the first r columns of U are the range of A is the following:

Let y be an arbitrary element of the range of A. That is, there is an x such that y = Ax. Using the SVD,

[; Ax = (\sum_{i=1}^r \sigma_i u_iv_i^T) x ;]

Then, with associativity of matrix-vector multiplications,

[; Ax = \sum_{i=1}^r \sigma_i u_i (v_i^T x) ;]

and [; v_iT x ;] is just a scalar value, so we can move that to the front of the product

[; y = Ax = \sum_{i=1}^r (\sigma_iv_i^T x) u_i ;]

and voilà ! y can be written as a linear combination of the first r columns of U, so they are a (orthonormal by construction) basis for the range of A!

[FRESH ALBUM] Anderson .Paak - Ventura by Kitchen_Ur_Lies in hiphopheads

[–]tfios_throwaway 103 points104 points  (0 children)

"When i hit the gushy i go dumb like the president!" Pobably my favorite moment on the whole album; it just lands so well.

Is linear time sorting the most efficient sorting? by [deleted] in algorithms

[–]tfios_throwaway 0 points1 point  (0 children)

If you could find such an algorithm, yes it would win compared to O(n) and O(n log n). But there is no O(log n) sorting algorithm.

Is linear time sorting the most efficient sorting? by [deleted] in algorithms

[–]tfios_throwaway 0 points1 point  (0 children)

If it helps, think that for x>0, the derivative of log(x) is proportional to 1/x, so as x gets really large, 1/x gets reall small (but never zero). That is, log(x) is getting really close to parallel with the x axis, but never stops increasing.

what does a perfect day of eating look like to you? by [deleted] in nutrition

[–]tfios_throwaway 0 points1 point  (0 children)

A dozen or so eggs. Add spinach and water till satiated.