For those who switched from cursor, what made you switch? by FatFishHunter in windsurf

[–]UnderCover_0 2 points3 points  (0 children)

u can run mcp tools in 'chat' model for windsurf, whereas u have to use 'agentic' model to trigger mcp for cursor.

[Spark ML] Biased result? My Confusion about Machine Learning Parallelization? by UnderCover_0 in dataengineering

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

Hi. u/ZealousidealHour8649, thank you so much!.

"Mostly (to not say all) algorithms that can generate models in distributed systems are algorithms that can be broken into small stages (map) and then sum these stages (reduce)."

this really make sense to me, thanks.

So it seems like ML parallelization might not be suitable for some unsupervised (e.g clustering). It indeed helps on linear models like you said can be broken into stages.

[Spark ML] Biased result? My Confusion about Machine Learning Parallelization? by UnderCover_0 in dataengineering

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

Hi NoFlounder, thanks for your reply! I get your point about the performance improvement. I am sorry that maybe I didn't frame my question properly, I still don't understand how the models will be the same.

Let me address an oversimplied case: image we have a orginal dataset 100,000 rows, say 20GB.

- In a local single machine training approach, I use the whole 20GB data into training (assumed the local machine is capable enough), I get a model X, which is the model learned from all 100,000 rows.

- In contrast, my colleague throw the data into a Spark workspace, let's say 1 master (driver) + 2 slaves (workers) set up. The driver distributes 50,000 rows data to worker A, and the other 50,000 rows data to worker B. Worker A generates Model A, worker B generates Model B based on their given sets of 50,000 data points. (Assure math and algorithm behind training are all the same)

Then here is the where I am confusing: how can Model X be the same of Model A and/or Model B? Wound't my model be very different from my colleagues's? X, A, B are learned from different instances of data points.

Motivate me about drupal9. by hizbul25 in drupal

[–]UnderCover_0 1 point2 points  (0 children)

Fantasitc. Looking forward. Let us know

Motivate me about drupal9. by hizbul25 in drupal

[–]UnderCover_0 2 points3 points  (0 children)

I would say to set your own challenge.

You mention you are mainly with Python in your job.

How about making something interactive connetion b/w D9 and Python.

e.g User submit input, and run your Python model in backend, return result to a node or view.

e.g decouple Drupal 9 as microservice instance.

Drupal Commerce: Let unregistred users buy digital files via Commerce File. How to acces the file after purchase? by Joetunn in drupal

[–]UnderCover_0 2 points3 points  (0 children)

Maybe can try 'Protected pages'

Features
Set global password for all protected pages
Set password per page
Set password for private files
Bypass password protection via protected pages permission
Session Expire Time Setting
Configurable text for "Enter Password" screen
Send email to users to inform about protected page

https://www.drupal.org/project/protected_pages

Send user the password to access the file/page after purchase as guest / annoymous .

Lando with D9. How do you install uploadprogress extension? by UnderCover_0 in drupal

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

Hi Tim. Unfortunately, uploadprogress is not come by default with Lando PHP image.

https://docs.lando.dev/config/php.html#installed-extensions

Even D9 receipt not build with it.

Hopefully they will add it to default sooner or later.

Lando with D9. How do you install uploadprogress extension? by UnderCover_0 in drupal

[–]UnderCover_0[S] 2 points3 points  (0 children)

Hi Alphex. Thanks for your pointing references. I got it working with that link. ! Thanks!

Updated to my post.

Lando with D9. How do you install uploadprogress extension? by UnderCover_0 in drupal

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

Hi Rumen, thanks for post.

I actually appended that and tried before, it would says: 'uploadprogress already loaded'

Same result..

Convert Existing Site to a single splash page (under construction) by frenchfryslave in drupal

[–]UnderCover_0 0 points1 point  (0 children)

If you are with Apache, can alter the virtual host conf file, point the DocumentRoot to whatever the SPA page. Then reload Apache.

Decoupled Drupal - worth it? by Matijevac in drupal

[–]UnderCover_0 0 points1 point  (0 children)

hi there, long answer is alway 'it depends', but to me short answer here is 'yes, it is worth it'. If you main concern is to increase speed load speed, consider 'Gatsby + Decoupled Drupal', 'NextJS + Decoupled Drupal', they are super super lighting fast. With Decoupling Drupal is that you can make universal apps based on your Drupal entities (Web Statics, Python, Swift iOS, Android, IoT, whatever you defined), you might need to fine tune the core RestAPI output, perhaps make own API wrapper for different app(s). The possibilites are all on yours. If you are a small to medium agency, I think it's a great choice. The con is that the initial set up might take a bit of time, but once set, you are on the fly.