2,042 questions
1
vote
0
answers
49
views
Why doesn't my GD script with autoloads post its variables?
When I use (Morton.morton_statetest) in another script, It gives me 0, and even if I put a print in Morton script and If I put an print in the other script, it gives me two values different, wit out ...
1
vote
1
answer
102
views
Local composer dev repo namespacing issue
I am using Composer version 2.2.25
Per https://getcomposer.org/doc/05-repositories.md#path, I have this structure:
├── path
│ └── to
│ └── composer_stuff
│ └── compiled
│ ...
0
votes
1
answer
90
views
PHP autoloading with multiple third-party libraries [closed]
I'm writing a plugin that uses a few third-party libraries (one from a long-abandoned repo that I'm modifying). Library A uses Library B, and my code uses both.
In Library A are 50-odd files with ...
0
votes
0
answers
133
views
Databricks Autoloader fails with AWS SQS
I have texts files in an AWS S3 bucket and reading with pyspark with autoloader. SQS and SNS is set but when I use .option("cloudFiles.useNotifications", True)I get access denied error. ...
0
votes
2
answers
249
views
Does cloudFiles.backfillInterval Reprocess Every File in Source Every Time Autoloader Runs?
Im struggling to understand how to control the backfill process baked into Autoloader:
https://docs.databricks.com/en/ingestion/cloud-object-storage/auto-loader/production.html#trigger-regular-...
2
votes
2
answers
145
views
How to "require" a LUA script within a Spoon-package?
We have base LUA file ~/.hammerspoon/init.lua which can load a spoon package:
hs.loadSpoon("Foo")
Now we have our package file init.lua by path:
~/.hammerspoon/Spoons/Foo.Spoon/init.lua
It ...
0
votes
1
answer
88
views
PHP Autoloading Issue with Incorrect or Duplicate Namespaces in GLPI Project: Traits Not Found Due to Misconfigured PSR-4 Autoloading
PHP Autoloading Issue with Incorrect or Duplicate Namespaces in GLPI Project: Traits Not Found Due to Misconfigured PSR-4 Autoloading
I am working on a GLPI in and encountering persistent PHP errors ...
2
votes
1
answer
291
views
Is it possible to access an autoloaded node's CLASS, not itself as an instance?
I get the gist of how autoloaded nodes work. They each get plopped into the tree as a singleton first thing, and they're accessible from basically anywhere at runtime using their class names.
Suppose ...
5
votes
1
answer
353
views
Rails 7 way of auto-loading methods into controllers via engine
I'm looking into updating one of my favorite CMSs to Rails 7 that have been archived on github (PushType). Only I haven't coded Rails since Rails 6. Apparently, something about autoloading methods ...
1
vote
0
answers
224
views
Naming conventions for rspec tests with zeitwerk expecting model_spec.rb to define constant ModalSpec
I'm working on upgrading rails, and part of that process involves switching from the classic autoloader to zeitwerk. I've been running bin/rails zeitwerk:check and handling all the cases that come up,...
0
votes
1
answer
80
views
Can't using spl_autoload_register to load classes in PHP
I just encountered an error while programming PHP. The thing is that I used spl_autoload_register inside the init.php file but could not load the classes inside the classes folder. I make sure that ...
0
votes
1
answer
761
views
how to enable schema evolution on autoloader
I want to do schemaEvolution on autoloader in order to addNewColumns as they are arrived and ingested
When I click display the Stream supposed to fail and tell me that there are unknown columns
1
vote
0
answers
205
views
How to prevent firefox from keep loading new content while scrolling to the page bottom
How to prevent firefox from keep loading new content while scrolling to the page bottom? I've met this at the news sites, various media resources and even at google search.
I switched off autoscroll ...
2
votes
2
answers
2k
views
ServiceNotFoundException when trying to use TYPO3 12 ActionController
When Trying to register my DummyController to use it as a Typo3 Plugin, I get the following error:
ServiceNotFoundException: You have requested a non-existent service "MyVendorName\...
1
vote
2
answers
1k
views
Rails 7.0 upgrade: Autoloading with Zeitwerk
Having trouble autoloading modules when upgrading from classic autoloader to now using zeitwerk.
Currently my modules are as follows:
# app/lib/configuration/test_configuration
module ...
0
votes
0
answers
56
views
PHP error checking in spl_autoload_register
I have a project which registers an autoloader using spl_autoload_register() that falls back to running include_once(). If the file being loaded contains syntax errors, I want want to see errors ...
0
votes
1
answer
52
views
Why doesn't my package export names in `@EXPORT`?
I'm tying to provide some special constants via the autoload function.
Basically creating the functions works fine, but the code would allow to create any name for the constants instead of a specific ...
1
vote
0
answers
103
views
How to point ruby app to local gem on machine during development of gem, without rebuilding and reinstalling the gem on every change
I'm building a (non-rails) ruby gem, and during development I created a small ruby project that uses the gem so I can test things out as I build it.
In my ruby app, the Gemfile points to the gem like ...
0
votes
0
answers
31
views
Validate iso datetime of csv column pyspark
The dateformats that I'm expecting is as such:
"2023-01-01T09:00:00.0000000+03:00"
When reading csv files with pyspark, how can I validate for the correctness of this field in a robust way? ...
-2
votes
1
answer
307
views
When I try to submit a PHP form from my web (on render.com) I get this error:
When I try to submit a PHP form from my web I get this error:
Warning : require(/var/www/html/vendor/composer/…/symfony/polyfill-ctype/bootstrap.php): failed to open stream: No such file or directory ...
0
votes
0
answers
298
views
Error while starting webpack dev server over nodejs fastify
command:
"build": "webpack --config ./webpack.development.js"
"start": "fastify start -l debug --options dist/bundle.js",
error:
AvvioError \[Error\]: ...
1
vote
1
answer
875
views
CodeIgniter 4: Too few arguments to function" error in controller constructor
I'm encountering an issue in my CodeIgniter project where I'm getting a "Too few arguments to function" error in the constructor of one of my controllers. I'm not sure why this error is ...
11
votes
2
answers
4k
views
`FrozenError: can't modify frozen Array` in Rails 7 Engine when running `rspec`
I just upgraded an Engine from Rails 5 to Rails 7. This error started appearing at Rails 6.1.7.6, but I thought perhaps it might've been fixed in Rails 7.
Here's the error I get when I run rspec
An ...
0
votes
1
answer
188
views
Append output mode not supported when there are streaming aggregations
I have the problem with Append output mode not supported when there are streaming aggregations. As mentioned here I need to add the modifiedon in my groupby statement in the below code like this
agg = ...
0
votes
1
answer
216
views
Autoloader filter duplicates does not work
I am loading the data from D365 crm via dataverse in azure data lake. I have configured the synapse link with append only functionality, which will keep the hisotrical data too.
Using the autoloader ...