[EXP] How to find out the final name of content script (without hash) from contents folder?

What is the example you wish to see?
I'd like to see how I can embed the content script into a page manually
Is there any context that might help us understand?
I have this structure
| background
|__ index.ts
| contents
|__ CustomPopup.tsx

In the intex.ts file I use the following code:
chrome.action.onClicked.addListener(async (tab) => {
  try {
    await sendToContentScript({
      name: "click"
    })
  } catch (e) {
    // The error occurs on pages that were opened in the browser before the extension was installed
    chrome.scripting.executeScript(
      { target: { tabId: tab.id }, files: ["CustomPopup.hash.js"] },
      () => {
        setTimeout(() => {
          sendToContentScript({
            name: "click"
          })
        }, 500)
      }
    )
  }
})

Instead of CustomPopup.hash.js, I want to use the correct name of the final script. Or I want to disable hashes for prod builds, if the file name is impossible to know.
I tried using url: and raw: directives but it didn't help, because of them a second script is created which doesn't work the same way as the first one. Probably because the scripts in the contents folder are handled in a special way.
P.S. Now I have to use a workaround in the form of a .sh script that is executed after the build:
# Find the CustomPopup file by mask inside build/chrome-mv3-prod
file=$(find build/chrome-mv3-prod -type f -name "CustomPopup.*.js")

# Get only the file name without the path
name=${file##*/}

# Replace the string inside index.js with the file name
sed -i -e "s/CustomPopup.hash.js/$name/g" build/chrome-mv3-prod/static/background/index.js
echo "Replacing CustomPopup.hash.js with $name"

Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

Hey, @upokusaev ,
Hope this will solve your problem-
import raw from 'url:~/contents/CustomPopup.tsx';
chrome.action.onClicked.addListener(async (tab) => {
  try {
    await sendToContentScript({
      name: "click"
    })
  } catch (e) {
    // The error occurs on pages that were opened in the browser before the extension was installed
    chrome.scripting.executeScript(
      { target: { tabId: tab.id }, files: [raw] },
      () => {
        setTimeout(() => {
          sendToContentScript({
            name: "click"
          })
        }, 500)
      }
    )
  }
})

Unfortunately, no.

Two files are created
The second file, the one we import through the url directive - does not work.
Error:

Unchecked runtime.lastError: Could not load file: 'chrome-extension://bke...cde/static/background/../../CalendarPopup.828a0e9c.js'.

plasmo doesn't seem to have this feature, it uses Parcel as a packaging library. we can change the packaging configuration to achieve this.
.parcelrc
{   "extends": ["@parcel/config-default","@plasmohq/parcel-config"],   "namers": [ "@plasmohq/parcel-namer-manifest","parcel-namer-rewrite" ] }
package.json
 "parcel-namer-rewrite": {     "hashing": "never"   },


Do not cache invalid/truncated files

Closes #1328
Closes #1229

Ah, I've deleted the branch before pushing master, it's merged into master (and not merely closed)


In Firebase, the password hash is stored in passwordHash and is hashed using SCRYPT with specific parameters. In Supabase, the password is stored in encrypted_password and is hashed using bcrypt. As a result, when migrating authenticated users, an error occurs due to the different password hashing algorithms.

Bug report
The difference between the newly created Supabase user and the migrated Firebase user is primarily in the password handling. Here’s a breakdown of the issues and potential reasons for the "invalid_grant" error:
Password Storage and Hashing Differences
Supabase User (newsupabase1@yopmail.com):
The password is stored in encrypted_password and is hashed using bcrypt ($2a$10$d31Fd//DLU.28P2H3.ywpOqkfrBODA74IlmuNtU3LbJPm/1hhYGhy).
This indicates that the password is correctly hashed and stored by Supabase's default bcrypt implementation.
Migrated Firebase User (newusersexperienced@yopmail.com):
The password hash is stored in passwordHash and uses SCRYPT with specific parameters.
This user’s encrypted_password is empty, and the passwordHash field contains the SCRYPT-based hash.
hash_parameters include details like rounds, mem_cost, algorithm, and base64 encoding, which indicates SCRYPT was used for hashing.
Due to this issue, we are unable to authenticate Firebase users in Supabase. As discussed, you mentioned that this is a bug and that you will soon update the password hashing in Supabase.

Thanks Deepak. For interested contributors a reference PR for argon2id is here: https://github.com/supabase/auth/pull/1597

We decided to establish a default convention, similar to what's used with argon2id

Hello J0,
Thanks for your reply.
I'm not entirely sure what you mean by argon2id, but the basic concern is that if Supabase provides the capability to directly migrate authenticated users from Firebase into Supabase, it should work seamlessly without compatibility issues related to different hashing algorithms.
However, if the argon2id requirement is a core part of Supabase's authentication security, it would be helpful to understand how this affects the migration process. Is there a workaround or recommended approach for handling these differences in hash formats?
Also, based on your decision regarding the use of argon2id, can you confirm whether the previous query I provided will work as expected, or if any adjustments are needed to ensure smooth migration?
Looking forward to your guidance.
Best regards,

Hey,
Thanks for the follow up - we had a further discussion and we decided to define a format for scrypt users - if passwords are converted into that format you should be able to log in seemlessly. We're working on the PR now, and will get back to you soon - we ask for your patience in the meantime.

Sure J0, I'll wait for your response. Thanks.


[Question] How to stop warning log

I am using NodeJS to serve a translation model.
There are so many warning log when translation processing. How to stop this?
2023-08-29 23:04:32.061 node[3167:31841] 2023-08-29 23:04:32.061977 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.2/encoder_attn_layer_norm/Constant_output_0'. It is not used by any node and should be removed from the model. 2023-08-29 23:04:32.061 node[3167:31841] 2023-08-29 23:04:32.061987 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.0/encoder_attn_layer_norm/Constant_output_0'. It is not used by any node and should be removed from the model. 2023-08-29 23:04:32.062 node[3167:31841] 2023-08-29 23:04:32.061997 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.4/self_attn_layer_norm/Constant_1_output_0'. It is not used by any node and should be removed from the model.

Same problem. 😢

Sure, I can update the default log level for onnxruntime to be "ERROR", meaning it won't show those warnings. I'll also add an option to set the log level back to the default.

Sure, I can update the default log level for onnxruntime to be "ERROR", meaning it won't show those warnings. I'll also add an option to set the log level back to the default.

Isso irá ajudar.

Sure, I can update the default log level for onnxruntime to be "ERROR", meaning it won't show those warnings. I'll also add an option to set the log level back to the default.

It will help. Thank you very much!

Been looking into this a bit and I believe I found a bug in onnxruntime when creating the session from a buffer (instead of using the path): https://github.com/microsoft/onnxruntime/issues/17377. Will keep you updated.

Any update on this?

https://github.com/microsoft/onnxruntime/issues/17377#issuecomment-1758275303
but current version of transformers.js still using old release of onnx-runtime...

In the worker before process or loading the model:
const originalWarn = console.warn;
console.warn = function() {};
After loading the model or process:
console.warn = originalWarn;

Was this ever solved, super annoying?


Bug: Conflict errors in dlz deployment

Deployment Mode
Deploy To Azure
Steps to reproduce
one click deployment to West Central US failed, dmlz was deployed successfully and pre-requisites were met.
data-lz (e05a3d6b-8c06-4754-bb38-09846652a2a7) test subscription was used.
Error Message
{
  "code": "MultipleErrorsOccurred",
  "details": [
    {
      "code": "Conflict",
      "message": "Invalid deployment location 'westcentralus'. The deployment 'PURVIEWSUBSCRIPTIONROLEASSIGNMENTREADER' already exists in location 'canadacentral'."
    },
    {
      "code": "Conflict",
      "message": "Invalid deployment location 'westcentralus'. The deployment 'PURVIEWSUBSCRIPTIONROLEASSIGNMENTSTORAGEBLOBREADER' already exists in location 'canadacentral'."
    }
  ],
  "message": "Multiple error occurred: Conflict,Conflict. Please see details."
}

Screenshots
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

resolved by removing previous deployments. (As per Hamood Aleem's suggestion).


failing test for multiple orm instances at the same time

This test reproduces the behaviour from discussion #4304

Well, but that's expected behaviour, you have two ORM instances, they won't be sharing anything, by design.

The problem here is that the entity prototype holds a reference to the hydrator - and you use the same entity classes in both ORM instances. I tried to replace it dynamically but for some reason, it's still not working as expected.
What's the use case here, why do you want to have multiple ORM instances for the same set of entities/database?

We're using multiple instances (3 actually) in our api endpoint tests:

In the api instance
In the tests, to edit entities and persist them, without needing to call api endpoints
In the seeder

The seeder could probably reuse the ORM instance from the test files, however the issue is still present when we do that.

I still don't understand why you would need more than one, but it should indeed work. The fix might end up a bit breaking, so maybe it will go to v6 only, will let you know when I manage to find a proper way.

Closing as this is no longer reproducible on v6.


Auto-size the "General" tab according to its text in RTL builds

STR:

On Windows, set Poedit 2.0 to Hebrew/Arabic
Open Preferences
Observe the "General" tab text in relation to the tab's width

The tab's width should be shorter, and/or the text should be right in the middle of the tab.
Other tabs look okay in this regard.
Not sure if this is a regression since 1.8.

The same can be observed if Poedit's lang is set to Arabic, thus I concluded that this is a RTL issue.

My first reaction was dismissing this as the text is drawn by Windows. But Poedit does add some padding in HiDPI modes, so this is a Poedit bug: one present in HiDPI and RTL situation.
(BTW, I'm adding a RTL label, feel free to use it, your judgement is apparently often better than mine ;-)

Actually, this appears to be standard Windows behavior: there's minimal width to the tabs and כללי is too short. Observe a similar situation in English:

Closing as a Windows defect, then.


Add a markdown editor when adding a new comment

Welp, Mazal Tov :) Took just 4~ years (and 1 actual free night). See #389


Why access to a few protected members?

I found there are weird access on init file.
Since _* member is protected, It should not be access.
Why below two line are accessing to protected member?
https://github.com/flask-restful/flask-restful/blob/master/flask_restful/__init__.py#L17
https://github.com/flask-restful/flask-restful/blob/master/flask_restful/__init__.py#L281

The current_app._get_current_object() is needed because that's the actual object that's being proxied to and does not require the application context. Whereas just passing current_app would be the proxy and might not be the application you were intending on passing.
As for _endpoint_from_view, it's patching how blueprints are setup and uses that function to reverse engineer the endpoint name if one is not explicitly given.
As for general _thing access, I look at it as a "This is an implementation detail, but you can use it if you know what you're doing".
There's no actual concept of "protected" or "private" in Python (_thing is a community convention, and __thing gets name mangling but it's more about ensuring a name isn't overwritten than actual protections), and in languages with those concepts protected and private are just flip covers on dangerous switches. They're not there to stop you from doing something, they're there to make sure you actually want to do that.


Polygon Creation issue

Good morning again,
I think I may have come across a little bug that took me much too long to come to a conclusion on. I think it boils down to a Polygon, given 4 points, doesn't create an enclosed area every time. For the sake of brevity i'll include two screenshots so i hopefully don't have to type everything out. You'll see the polygon should be a rectangular shape, but the polygon segments generated are... wrong.
Let me know your thoughts, if it's what i'm thinking, i'm sure it'll be obvious.
Sample grid with points (that make up the polygon) and the segment:

The code:

The console output:

If I swap some of the points around in the fromPolygon() function, sometimes you get 1 intersection (almost there) and other times still 0, but still not the 2 desired.
Thanks

Hi @umdstu ,
that's a good catch, thank you! It was a numerical floating point issue that has been fixed now (release 2.0.2). In addition I have clarified how the polygon needs to be constructed (points need to be given that define lines that doesn't intersect each other), not adhering to this will now throw an exception release 2.0.3, and documentation was improved in 2.0.4.
So try it out, version 2.0.4 is out on npm now, please try it out :)

Thanks for the quick turn around on that and the updated documentation!


Streaming local gzip compressed JSON line files is not working

Describe the bug
Using streaming to iterate on local gzip compressed JSON files raise a file not exist error
Steps to reproduce the bug
from datasets import load_dataset

streamed_dataset = load_dataset('json', split='train', data_files=data_files, streaming=True)

next(iter(streamed_dataset))

Actual results
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-6-27a664e29784> in <module>
----> 1 next(iter(streamed_dataset))

~/Documents/GitHub/datasets/src/datasets/iterable_dataset.py in __iter__(self)
    336
    337     def __iter__(self):
--> 338         for key, example in self._iter():
    339             if self.features:
    340                 # we encode the example for ClassLabel feature types for example

~/Documents/GitHub/datasets/src/datasets/iterable_dataset.py in _iter(self)
    333         else:
    334             ex_iterable = self._ex_iterable
--> 335         yield from ex_iterable
    336
    337     def __iter__(self):

~/Documents/GitHub/datasets/src/datasets/iterable_dataset.py in __iter__(self)
     76
     77     def __iter__(self):
---> 78         for key, example in self.generate_examples_fn(**self.kwargs):
     79             yield key, example
     80

~/Documents/GitHub/datasets/src/datasets/iterable_dataset.py in wrapper(**kwargs)
    282     def wrapper(**kwargs):
    283         python_formatter = PythonFormatter()
--> 284         for key, table in generate_tables_fn(**kwargs):
    285             batch = python_formatter.format_batch(table)
    286             for i, example in enumerate(_batch_to_examples(batch)):

~/Documents/GitHub/datasets/src/datasets/packaged_modules/json/json.py in _generate_tables(self, files, original_files)
     85                         file,
     86                         read_options=self.config.pa_read_options,
---> 87                         parse_options=self.config.pa_parse_options,
     88                     )
     89                 except pa.ArrowInvalid as err:

~/miniconda2/envs/datasets/lib/python3.7/site-packages/pyarrow/_json.pyx in pyarrow._json.read_json()

~/miniconda2/envs/datasets/lib/python3.7/site-packages/pyarrow/_json.pyx in pyarrow._json._get_reader()

~/miniconda2/envs/datasets/lib/python3.7/site-packages/pyarrow/io.pxi in pyarrow.lib.get_input_stream()

~/miniconda2/envs/datasets/lib/python3.7/site-packages/pyarrow/io.pxi in pyarrow.lib.get_native_file()

~/miniconda2/envs/datasets/lib/python3.7/site-packages/pyarrow/io.pxi in pyarrow.lib.OSFile.__cinit__()

~/miniconda2/envs/datasets/lib/python3.7/site-packages/pyarrow/io.pxi in pyarrow.lib.OSFile._open_readable()

~/miniconda2/envs/datasets/lib/python3.7/site-packages/pyarrow/error.pxi in pyarrow.lib.pyarrow_internal_check_status()

~/miniconda2/envs/datasets/lib/python3.7/site-packages/pyarrow/error.pxi in pyarrow.lib.check_status()

FileNotFoundError: [Errno 2] Failed to open local file 'gzip://file-000000000000.json::/Users/thomwolf/github-dataset/file-000000000000.json.gz'. Detail: [errno 2] No such file or directory

Environment info

datasets version: 1.9.1.dev0
Platform: Darwin-19.6.0-x86_64-i386-64bit
Python version: 3.7.7
PyArrow version: 1.0.0

Updating to pyarrow-4.0.1 didn't fix the issue

Here is an exemple dataset with 2 of these compressed JSON files: https://huggingface.co/datasets/thomwolf/github-python

Hi @thomwolf, thanks for reporting.
It seem that this is due to the fact that the JSON Dataset builder uses pyarrow.json (paj.read_json) to read the data without using the Python standard open(file,... (which is the one patched to work in streaming mode).
This has to be fixed.

Sorry for reopening this, but I'm having the same issue as @thomwolf when streaming a gzipped JSON Lines file from the hub. Or is that just not possible by definition?
I installed datasestsin editable mode from source (so probably includes the fix from #2608 ?):
>>> datasets.__version__
'1.9.1.dev0'

>>> msmarco = datasets.load_dataset("webis/msmarco", "corpus", streaming=True)
Using custom data configuration corpus-174d3b7155eb68db
>>> msmarco_iter = iter(msmarco['train'])
>>> print(next(msmarco_iter))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/media/ssd/TREC/msmarco/datasets/src/datasets/iterable_dataset.py", line 338, in __iter__
    for key, example in self._iter():
  File "/media/ssd/TREC/msmarco/datasets/src/datasets/iterable_dataset.py", line 335, in _iter
    yield from ex_iterable
  File "/media/ssd/TREC/msmarco/datasets/src/datasets/iterable_dataset.py", line 78, in __iter__
    for key, example in self.generate_examples_fn(**self.kwargs):
  File "/home/christopher/.cache/huggingface/modules/datasets_modules/datasets/msmarco/eb63dff8d83107168e973c7a655a6082d37e08d71b4ac39a0afada479c138745/msmarco.py", line 96, in _generate_examples
    with gzip.open(file, "rt", encoding="utf-8") as f:
  File "/usr/lib/python3.6/gzip.py", line 53, in open
    binary_file = GzipFile(filename, gz_mode, compresslevel)
  File "/usr/lib/python3.6/gzip.py", line 163, in __init__
    fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'https://huggingface.co/datasets/webis/msmarco/resolve/main/msmarco_doc_00.gz'

Loading the dataset without streaming set to True, works fine.

Hi ! To make the streaming work, we extend open in the dataset builder to work with urls.
Therefore you just need to use open before using gzip.open:
- with gzip.open(file, "rt", encoding="utf-8") as f:
+ with gzip.open(open(file, "rb"), "rt", encoding="utf-8") as f:

You can see that it is the case for oscar.py and c4.py for example:
https://github.com/huggingface/datasets/blob/8814b393984c1c2e1800ba370de2a9f7c8644908/datasets/oscar/oscar.py#L358-L358
https://github.com/huggingface/datasets/blob/8814b393984c1c2e1800ba370de2a9f7c8644908/datasets/c4/c4.py#L88-L88

@lhoestq Sorry I missed that. Thank you Quentin!


Allow controls to change shape of mouse pointer even when mouse filter is set to 'Ignore'

Godot version:
master / cfcb6e11f25ad
OS/device including version:
Manjaro Linux 17.1
Issue description:
It seems that Control.MouseDefaultCursorShape is only effective when Control.MouseFilter is set to either Stop or Pass.
However, there can be such a scenario when you want one of such controls to indicate an interactable area by changing the mouse cursor, but need to use another node to actually handle the input events.
For such a case, it'd be better if there's a way to make a control to change shape of the mouse cursor without actually blocking the input events.

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


Liveness of this project

Assuming this project is moribund.. too bad Ruby crushes python.

Not quite true. Activity is in the other modules in https://github.com/SciRuby. There is quite a bit of work going on with CUDA and math. And I agree, Ruby is superior to Python in almost every way.

oh! Thanks for the pointer to that "home page" .  I'm going to see if can find a viable environment with:

usable dataframe
reasonable stats summarization
basic linear and random forest algos
plotting/ dataviz

That  would constitute a workable environment for initial exploratory data analysis.  Just browsing through those seem to be at least partially addressed in:

daru
rubyplot /nyaplot
statstample, distribution, rb-gsl

Pretty exciting - will do test drive in a few weeks after I get out from under red hot deadlines.

Best to join the sciruby mailing list too.
On Fri, Feb 08, 2019 at 08:18:03AM -0800, StephenBoesch wrote:

oh! Thanks for the pointer to that "home page" . I'm going to see if
can find a viable environment with:
* usable dataframe
* reasonable stats summarization
* basic linear and random forest algos
* plotting/ dataviz
That would constitute a workable environment for initial exploratory
data analysis. Just browsing through those seem to be at least
partially addressed in:
* daru
* rubyplot /nyaplot
* statstample, distribution, rb-gsl
Pretty exciting - will do test drive in a few weeks after I get out
from under red hot deadlines.
—
You are receiving this because you commented.
Reply to this email directly, [1]view it on GitHub, or [2]mute the
thread.
References

https://github.com/SciRuby/sciruby/issues/57#issuecomment-461857109
https://github.com/notifications/unsubscribe-auth/AAA073llpbcVEHNWnSsq5i0NAftilKDIks5vLaM7gaJpZM4aqZS_

Don't forget NArray family.

Numo::NArray
Cumo <- CUDA
SVMKit <- random forest algos

SVMKit looks delicious
Am Do., 21. Feb. 2019 um 22:43 Uhr schrieb kojix2<EMAIL_ADDRESS>
:

Don't forget NArray family.

Numo::NArray https://github.com/ruby-numo/numo-narray
Cumo https://github.com/sonots/cumo <- CUDA
SVMKit https://github.com/yoshoku/SVMKit <- random forest algos

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SciRuby/sciruby/issues/57#issuecomment-466291660, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAZEkdLLhzXk8dIJ7LvHFZ360yXAzM0_ks5vP5GVgaJpZM4aqZS_
.

… one want to make its hands dirty, where is a good point to start?

With a binding for Julia (which crushes python too) ?
-- Maurice

Le 23 sept. 2020 à 01:09, peter scholz<EMAIL_ADDRESS>a écrit :
… one want to make its hands dirty, where is a good point to start?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

For Julia and Python bindings, mrkn is working on pycall.rb and ruby-julia, but ruby-julia has not been committed recently.

Thanks for the link on ruby-julia. Too bad it is no longer maintained.
In the meantime, I went to Julia for the scientific code.
-- Maurice

Le 23 sept. 2020 à 15:10, kojix2<EMAIL_ADDRESS>a écrit :
For Julia and Python bindings, mrkn is working on pycall.rb and ruby-julia, but ruby-julia has not been committed recently.


[Feat]: Making Dark/Light Mode Toggle Button Functional

What feature?
The Dark/Light Mode Toggle Button on top right corner seem to be non-functional. I can make it functional for whole application with beautiful animated effect.
Show us the magic with screenshots
I just made a similar toggle button for an open source project 2 days ago. Here are the screenshots :
Light Mode :

Dark Mode :

Record

[X] I agree to follow this project's Code of Conduct
[ ] I'm a GSSoC'23 contributor
[X] I want to work on this issue

Hey, can I know why duplicate label ?


Build test_each as a special-case each for tests

Motivation
Support table-driven testing: this presupposes a test_each method which acts trivially like each but which only allows it-blocks inside of it, which sidesteps the other problems with desugaring each in minitest files. Fixes #1504.
Test plan

See included automated tests.

I've incorporated the changes we've discussed into this PR, so now it will accept any value as argument but will only copy those values in if they're constants or literals (or sends with the above things, so we can handle things like A.new.)


Validate that preformat tags match, and fix an instance where they didn't

@thockin @lavalamp

@eparis basically rewrote this WHOLE THING.  Sorry

Closing this since it was obliterated by @derekwaynecarr 's change.  If I feel like it I will re-open a different PR from head.


PlotGenerator has hard-coded loop0, loop1, loop2 and loop3

runinfo.loop{n} has been changed to runinfo.scan{n}. PlotGenerator needs to be updated.

Path forward after 8/20/2024 pyscan meeting:

in load_experiment convert any loops to scans
in plot_generator, use scan0, scan1, ...


Analyse a suitable package for implementing event calendar for showing Engagements

Show the engagement in a Calendar like google calendar where we can see the various events on a day or span across multiple day. It  should be shown along with other reports in redash.
This calendar report should be additional visualization in redash.

Based on various requirements, we have come down to react-big-calendar react module. Reference https://openbase.com/js/@types/react-big-calendar

I had also worked on the integration of this package in the redash as it is totally compatible with the current node and typescript version of redash.  PR has been created with the basic implementation of the same in redash
https://github.com/AOT-Technologies/redash/pull/10
Further, we should be working towards showing up the Engagements in the calendar.


[WIP]*: test tls util for the case when both app and ca tls assets exist

Test the case when both app and ca tls assets exist in the cluster, the GenerateCert should just return those k8s assets to the user.

test are not being ran in the CI. ref: https://github.com/operator-framework/operator-sdk/issues/440

@fanminshi Can move this test to test/e2e. You should be able to use the e2e framework to do everything you need.
You can create a namespace for you test using the same context package present in test/e2e.
And until @AlexNPavel refactors to add in a dynamic client to that framework you can still use the core k8s client exposed by the framework to CRUD the secrets/configmaps in this test.

@hasbro17 yeah, I am planning to move this under test/e2e. Any reason that we can't our own dynamic client?

Any reason that we can't our own dynamic client?

I don't want to use a global client that's not explicitly part of the framework. Plus one more thing we have to refactor out when we move to the controller-runtime. Can you just use the regular core client for now.

yeah, that's fine with me.

CI passed. PTAL cc/ @hasbro17

LGTM


Automatic version update

No changes!
(I want to use wrangler on a scheduled basis to propagate changes, but I didn't realise it would open a PR when nothing actually needed to be bumped).


Cant move tokens

Noticed today I couldn't move a single token unless I used the arrow keys instead of dragging with the mouse.  Went through all my modules and found this one to be the culprit.  Turned off this module and the problem was fixed

I don't see that issue using Foundry v11.304 with dnd5e 2.2.2 and Elevated Vision v0.5.4. What version of Foundry, what system, and what version of Elevated Vision are you using? Also, do you see any error messages in the console when you attempt to drag a token using the mouse? (For most computers and browsers, F12 will bring up the console.)

I don't see that issue using Foundry v11.304 with dnd5e 2.2.2 and Elevated Vision v0.5.4. What version of Foundry, what system, and what version of Elevated Vision are you using? Also, do you see any error messages in the console when you attempt to drag a token using the mouse? (For most computers and browsers, F12 will bring up the console.)

Im on V11.305 with dnd5e 2,2,2 and the most recent version of Elevated Vision.  I went through all my modules and I had the issue every single time this module was enabled.  Not sure if its conflicting with another module though. I didnt even look for error codes

I don't see that issue using Foundry v11.304 with dnd5e 2.2.2 and Elevated Vision v0.5.4. What version of Foundry, what system, and what version of Elevated Vision are you using? Also, do you see any error messages in the console when you attempt to drag a token using the mouse? (For most computers and browsers, F12 will bring up the console.)

Uncaught TypeError: texture is undefined
[Detected 3 packages: elevatedvision, lib-wrapper, drag-ruler]
fromTexture PixelCache.js:934
#refreshElevationPixelCache ElevationLayer.js:777
get elevationPixelCache ElevationLayer.js:769
elevationAt ElevationLayer.js:798
terrainElevationAt CoordinateElevationCalculator.js:152
terrainElevation CoordinateElevationCalculator.js:160
currentTokenState TravelElevationCalculator.js:996
cloneToken tokens.js:283
clone#0 libWrapper-wrapper.js:187
_onDragLeftStart foundry.js:28909
_onDragLeftStart foundry.js:56050
call_wrapped libWrapper-wrapper.js:507
onEntityLeftDragStart main.js:135
call_wrapper libWrapper-wrapper.js:616
_onDragLeftStart#0 libWrapper-wrapper.js:189
callback foundry.js:31547
#handleDragStart foundry.js:31874
#handleMouseMove foundry.js:31856
notifyListeners earcut.js:128
notifyTarget earcut.js:128
propagate earcut.js:128
dispatchEvent earcut.js:128
mapPointerMove earcut.js:128
mapEvent earcut.js:128
onPointerMove earcut.js:128
this is the error I got.  Maybe drag ruler is conflicting with it as well.  Not sure.  But drag ruler works when elevated vision isnt enabled

I'm having the same issue.
Foundry V11.306
Elevated Vision 0.5.4
Here is the error I'm seeing:

My problems have gotten worse in v0.5.5. The one map I had that was working no longer works. In addition on one of the maps that was having the issue, overhead tiles won't disappear when I select a tile beneath them, as they are supposed to do.
Here's an example of the errors I'm seeing.

Hello, same problem :
Foundry v11 305
Pathfinder 2 5.2.2 (rule-based vision enabled)
Elevated vision 0.5.5
Levels 4.1.6
GM vision 1.0.3
libWrapper-wrapper.js:513 Uncaught TypeError: undefined. Cannot read properties of undefined (reading 'wall')
[Detected 5 packages: elevatedvision, lib-wrapper, levels, system:pf2e, gm-vision]
at RenderedPointSource.js:505:44
at Array.some ()
at VisionSource.hasWallCollision (RenderedPointSource.js:504:25)
at VisionSource.pointInShadow (RenderedPointSource.js:348:29)
at VisionSource.targetInShadow (VisionSource.js:79:15)
at DetectionModeBasicSight._testLOS (detection_modes.js:28:27)
at 🎁DetectionMode.prototype._testLOS#0 (libWrapper-wrapper.js:187:52)
at DetectionModeBasicSight._testPoint (detection_modes.js:41:14)
at 🎁DetectionModeBasicSight.prototype._testPoint#0 (libWrapper-wrapper.js:187:52)
at foundry.js:49434:36
at Array.some ()
at DetectionModeBasicSight.testVisibility (foundry.js:49434:18)
at 🎁call_wrapped [as call_wrapped] (libWrapper-wrapper.js:507:22)
at 🎁DetectionMode.prototype.testVisibility#levels (wrappers.js:186:20)
at 🎁DetectionMode.prototype.testVisibility#0 (libWrapper-wrapper.js:187:52)
at DetectionModeBasicSight.testVisibility (pf2e.mjs:74:36132)
at CanvasVisibility.testVisibility (foundry.js:38325:39)
at 🎁call_wrapped [as call_wrapped] (libWrapper-wrapper.js:507:22)
at CanvasVisibility.visibilityWrapper (wrappers.js:148:25)
at 🎁call_wrapper [as call_wrapper] (libWrapper-wrapper.js:616:16)
at 🎁CanvasVisibility.prototype.testVisibility#0 (libWrapper-wrapper.js:189:20)
at get isVisible (pf2e.mjs:16:41008)
at 🎁call_wrapped [as call_wrapped] (libWrapper-wrapper.js:507:22)
at Token.tokenUIWrapperIsVisible (uiHandler.js:22:72)
at 🎁call_wrapper [as call_wrapper] (libWrapper-wrapper.js:616:16)
at 🎁CONFIG.Token.objectClass.prototype.isVisible#getter (libWrapper-wrapper.js:364:19)
at Token._refreshVisibility (foundry.js:54815:25)
at CanvasVisibility.restrictVisibility (foundry.js:38249:9)
at 🎁call_wrapped [as call_wrapped] (libWrapper-wrapper.js:507:22)
at 🎁CanvasVisibility.prototype.restrictVisibility#gm-vision (script.js:77:24)
at 🎁CanvasVisibility.prototype.restrictVisibility#0 (libWrapper-wrapper.js:187:52)
at CanvasVisibility.refresh (foundry.js:38084:10)
at PerceptionManager.applyRenderFlags (foundry.js:50180:58)
at #applyRenderFlags (foundry.js:27606:44)
at nn.emit (index.js:89:1)
at Dt.update (index.js:89:1)
at Dt._tick (index.js:89:1)
It also makes player unable to see the scene even with an owned token on it.

I'm running 11.306 with PF2E 5.2.3 in an unRaid docker. I have the same issue. It's only an issue for me with Elevated Vision and Levels are both enabled. If either is disabled then everything works as expected.
Where is everyone getting these error outputs?

Press F12 to bring up the console (this is the default key) and check the "errors" section. Might have a 0 next to the word if you don't have any errors. Whenever you encounter any bugs, they'll likely throw up a message with a red background in the console area.

Short term, if you disable "Override Visibility Tests" in the Elevated Vision settings, this will correct the issue with Levels

This error with Levels should be fixed in v0.5.6.  Thanks all for the reports! (Basically, Levels is overriding hasWallCollision in a problematic way, in that it is not returning the walls in the return data. That was unanticipated. I replaced the method with a custom one that avoids the issue. There may, however, be other compatibility issues with Levels related to this.)


[WICKET-7074] sample application showing error

This is PR is not intended to be merged. This is just to illustrate WICKET-7074
1- You click on "Produce error"

2- As there are no filters the code bellow is excetuted

and
<?xml version="1.0" encoding="UTF-8"?><ajax-response>
is written directly to response
3- Then WeirdException is thrown while rendering component and we redirect to an error page
4- Then the code bellow is executed

5- The end result is a malformed XML is sent to client

Before my changes to KP-7074
Screencast from 2023-09-20 07-43-08.webm
After
Screencast from 2023-09-20 07-41-25.webm

@reiern70 This could be closed now, right ?

Yes
On Tue, Nov 28, 2023 at 8:44 AM Martin Grigorov @.***>
wrote:

@reiern70 https://github.com/reiern70 This could be closed now, right ?
—
Reply to this email directly, view it on GitHub
https://github.com/apache/wicket/pull/658#issuecomment-1829875635, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AADQ6P4IAMN72WUSU5VMVXLYGXTDVAVCNFSM6AAAAAA473EBKCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRZHA3TKNRTGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Regards - Ernesto Reinaldo Barreiro


Upgrade Hugo and Docsy

The versions of Hugo and Docsy are quite old.
https://github.com/kubernetes/contributor-site/blob/1a8d9c6dff430129d1ab6998b539f8367aa9171e/netlify.toml#L5-L6
For example, Hugo 0.69.2 was released in April 2020.
/cc @nate-double-u

Why upgrade? E.g., Docsy's current page-feedback feature is incompatible with GA4 (https://github.com/google/docsy/issues/1302). Since UA is being deprecated and this site is being migrated to GA4 (#354), the a new version of Docsy will eventually be needed. (There is a work-around for the page-feedback issue, so the upgrade isn't urgent.)

/remove-lifecycle stale
We were able to upgrade to 0.89, but remain stalled on the upgrade to 110.

See the revised PR, #374

We did spend some time on this during the Contributor Summit at KubeCon Chicago. @jeefy's fork has some errors we need to work through but, we've made a step forward here.

What still needs to happen before we can call this Done?

I'm back and working through said errors (actually I started from scratch and scrapped my post-lunch hastily-done branch)
Most errors that we encountered at the summit are fixed, and the last thing I'm updating is the Dockerfile. PR inc soon.

Oh duh.
/assign

Were you going to tackle the move from submodules to Hugo Modules? I can do that separately if you'd like.
I also want to update the K8s.dev picture now that we have a big crowd pic for a replacement.

Kinda did it all, see here: https://github.com/kubernetes/contributor-site/pull/456
Need help with a CSS issue post-migration but otherwise it's all done and clean.

/remove-lifecycle

/remove-lifecycle rotten

/remove-lifecycle stale

Looks like we're up to Hugo 0.124 now. There is a slightly newer release out, but I think it's just regular dependency management at this point. Follow-on work being done in #456. I think it's safe to close this issue now.
/close


Remove version: Google.Chrome.Canary version 127.0.6501.0

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://dl.google.com/release2/chrome/ozzoelxpbutratnojf7o2safbi_127.0.6501.0/127.0.6501.0_chrome_installer.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 912)


Added Float32/64 Typed array types

Seems like someone forgot to re-export Float32Array and  Float64Array in JavaScript.TypedArray from JavaScript.TypedArray.Internal.Types.
Also I would like to have (TypedArray a => JSRef -> a) interface for my WebGL things: some of the webGL methods return typed arrays of arbitrary type - https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView

And last thing: do you consider exposing SomeTypedArray/SomeArrayBuffer?
My concern is that WebGL does not care about mutability, and I do not want to implement two different interfaces for mutable/immutable arrays, but this might be handy for users.

Oops I was typing a reply to this, but accidentally closed the window

I was expecting libraries to typically use one of the two types, and users to (unsafe)freeze/thaw for conversion, but maybe it can indeed be exported, if it doesn't lead to new ways of circumventing safety. I'll have to think about this a little.

What exactly should your (TypedArray a => JSRef -> a) do? Try to convert an arbitrary typed array in the JSRef to the requested one, and fail with an exception if it can't (due to improper alignment for example)? Can you give an example of where you'd use this?

Yes, I see that my suggestion is not very nice in that sense. I have problems with porting my library to the new ghcjs-base, because in my version of typed arrays I use single type parameterized by an element type. Today I tried to make it as close as possible to yours, and here is it:
type TypedArray a = SomeTypedArray Immutable a
type STTypedArray s a = SomeTypedArray (STMutable s) a
type IOTypedArray a = SomeTypedArray Mutable a
newtype SomeTypedArray (m :: MutabilityType s) a
    = SomeTypedArray JSRef deriving Typeable
instance IsJSRef (SomeTypedArray m a)

Then e.g. WebGL operation readPixels looks like this:
readPixels' :: Mutability m ~ IsMutable
            => WebGLRenderingContext -> GLint -> GLint
            -> GLsizei -> GLsizei -> GLenum -> GLenum
            -> SomeTypedArray m a -> IO ()

Also I parameterize arrays over Num types directly, not by TypedArrayElem, and use two classes for immutable and mutable operations. This makes it possible to provide simple functions like following:
fromList :: [a] -> SomeTypedArray Immutable a
fromListIO :: [a] -> IO (SomeTypedArray Mutable a)
fromListST :: [a] -> ST s (SomeTypedArray (STMutable s) a)


added optional nodeport to cluster.json.

will default to ClusterIP if Nodeport not present.

forgot a file, will re request.


Mason: How do I specify python environment to use in pylyzer?

The issue
#54 might have mentioned that, however they have a different issue. My question is more general.
I have two python environments - virtual env and system environment, which seems to be enforced by default. Why enforced?
When entering nvim, having executed source ./venv/bin/activate, pylyzer can't find installed modules. Example below:

Specs
NVIM: v0.9.2
pylyzer: v0.0.45
python env:
:!pip --version
pip 23.0.1 from /home/quakuei/Desktop/iamjaf/spbstu/postgre-tasks-spbstu/car_service/car_service_fr
ontend/venv/lib/python3.8/site-packages/pip (python 3.8)
:!which python
/home/quakuei/Desktop/iamjaf/spbstu/postgre-tasks-spbstu/car_service/car_service_frontend/venv/bin/
python

What I've searched
Couldn't find information on that matter in documentation, unfortunately.
This is what I looked through
Saw pyright stackoverflow discussion on similar topic, however solution seems to be related to pyright, and also they used an older version of nvim
Saw venv-selector.nvim on github, however no out-of-box support for pylyzer mentioned.
What can I do to specify the python environment to use for pylyzer?
Thanks.

#22
It's currently not supported.

Ideally it should read VIRTUAL_ENV automatically.

pyright read pyproject.toml https://microsoft.github.io/pyright/#/configuration?id=pyright-configuration
[tool.pyright]
venvPath = "."
venv = ".venv"


Add gitattributes w/ export-ignore

This will allow for a production ready version of ParsedownExtra when archived/exported for release(s) and still allowing a development version within the repository.
The export-ignore excludes un-needed files and directories when a branch is archived for release and these files are included when the repo is cloned/forked.
This would be very useful because releases are intended for production use and when users are using a package (via composer or zip), they most likely are not interested in downloading the source code as a whole into production, thus saving disk space and meeting security protocol.

e.g. /test folder, or your .travis.yml file, etc. are not included in the release zip

See: git-scm.com - Exporting-Your-Repository

@hkdobrev do u hava an opinion on this

I'm all for this! :+1:

Sorry, submitted previous comment too soon.
This is very nice and most repos should have it. It reduces bandwidth when installing through Composer as it uses the GitHub tarballs by default which adhere to these rules. (GitHub uses git-archive (1) to create archives.) This reduces install time for both dev and production environments if Composer is used during deployment.
It would not bother anyone wishing to contribute to the library as anyone would either git clone or use --prefer-source for composer install or composer require.
The files excluded in the PR are correct, the license should stay with the code, but anything related to development or testing, including .gitattributes (which makes sense only in the context of Git) should be excluded.


Update cluster autoscaler 1-25 to the latest version

Issue #, if available:
Update cluster autoscaler 1-25 to the latest version
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/approve


osra373 make date-picker NOT to load all languages

removed loading all language '.js' files except arabic
https://osraav.atlassian.net/browse/OSRA-373

:+1:  for this


Store/query user defined  custom types/entities.

I understand TigerBeetle has been designed from ground up for financial transactions but it would be great If somehow we can also store/query user defined  custom types/entities (users, products etc.)  as  If entities Ids and other data is stored in any other database  then we can loose that data because of disk failure or any other issue as other databases are not as fault tolerant as TigerBeetle is, In that case whole system will become useless.  with the ability to store user define entities/types TigerBeetle  will become a complete database and a game changer with  all other innovative and novel features. I request you to please consider this proposal.

Thanks @ansarizafar we hear you!
Stay tuned. TigerBeetle has actually been designed from the ground up to support custom types and custom business logic, since it's built around the concept of a "replicated state machine". Take a look at src/state_machine.zig for what could be customized. However, this will be some time out, and not something we'll address immediately as we need to get TigerBeetle to production first. But it is something we're actively building in to TigerBeetle's underlying design, and the design is certainly better for it.
Thanks again for the feedback.


The view 'Login' was not found

I have just migrated my app from asp.net core 2.2 into 3.0 and published to azure, when I publish the project with compile razor views it gives me the error, it cannot find the file xxx.views.dll although the file is there, and if I published without compile razor views it gives me this error
"The view 'Login' was not found" although the file is there under the corresponding folder.
The project running very well locally but it run this error at azure
here is my project file
<Project Sdk="Microsoft.NET.Sdk.Web"> <PropertyGroup>     <TargetFramework>netcoreapp3.0</TargetFramework>     <AspNetCoreModuleName>AspNetCoreModuleV2</AspNetCoreModuleName>     <MvcRazorCompileOnPublish>false</MvcRazorCompileOnPublish>     <PreserveCompilationContext>true</PreserveCompilationContext>     <PreserveCompilationReferences>true</PreserveCompilationReferences>     <RazorCompileOnBuild>false</RazorCompileOnBuild>    <MvcRazorExcludeRefAssembliesFromPublish>false</MvcRazorExcludeRefAssembliesFromPublish>     <UserSecretsId>1feaff78-ac4f-45ea-8f71-fbc880a86303</UserSecretsId>     <TypeScriptToolsVersion>3.0</TypeScriptToolsVersion>   </PropertyGroup>   <ItemGroup>     <FrameworkReference Include="Microsoft.AspNetCore.App" />   </ItemGroup>
I tried this configuration also and it gives the same errors
<Project Sdk="Microsoft.NET.Sdk.Web">   <PropertyGroup>     <TargetFramework>netcoreapp3.0</TargetFramework> <UserSecretsId>1feaff78-ac4f-45ea-8f71-fbc880a86303</UserSecretsId>   </PropertyGroup>
I tried Self contained and Framework-dependent without any success
Any idea what is the problem?

@malballah thanks for contacting us.
@pranavkm  can you take a look at this?

It turned out it was an issue from Automapper, thank you for your interest.


Dev 533 transform javascript where function to fql

Regarding Sonar Issue: This is expected as we have to use Function constructor to convert string function to callable function.
Currently, we are passing a valid fauna query string from client side for where predicate function, please check here.
To run this predicate function's string in document store to get data from store's state we convert string to function using Function constructor, please check here.
To strictly check of where predictable function's string, we are using (item) => ${string} typescript type instead of  string, please check here
If above solution looks good to you @mmailaender , Should we apply where method's predicate function type to Collection store's where method as well?


Create a Logo Design

We'll need a logo for this Hacktoberfest Project.
Create a design that uses Space, Stars, or a galaxy with a hint of Hacktoberfest flavor. Get creative and contribute your own ideas, sketches, or even finished artwork.
The contributors on this thread will vote with emojis on the final logo and get it approved by any maintainer(s) available for review.
The winner will be credited within the README.md for the logo design.

Hello @stevenanthonyrevo ,
I've been thinking about this and this is what I've come up with so far. Of the 2 basic ideas, I have made a few variations of my favourite. Maybe this is something for you. :)
If it doesn't completely fit, I'll be happy to make some adjustments.  :)

I'm a bit unsure, so I thought I'd post here first or should I also do a PR?
Many greetings.

Hi @Lainika,
These are great! My favorite is the full color in the top left corner. Thank you for creating such beautiful artwork!
Please create a PR with the logo either as an SVG or a PNG and I will be sure to merge it.
You'll also be featured in the readme.md for your contribution.
Happy Hacktoberfest! 👻

Hi @stevenanthonyrevo,
Thank you. PR is ready.
Happy Hacktoberfest! 👻


Added docker 1.11 restriction

What are your changes?
Added docker 1.11 restriction
What type of changes does your doc introduce?

[x] Bug fix
[ ] New feature

What is the urgency level of this change?

[ ] Blocker
[x] High
[ ] Medium

I have completed these items:

[x] I have tested all commands and code snippets.
[x] I have built locally and tested for broken links and formatting.
[x] I have made this change for all affected versions (e.g. 1.7, 1.8, and 1.9).
[x] My doc follows the style guide: https://github.com/dcos/dcos-docs#contributing.

Ping @emanic @sascala @joel-hamill for reviewing pull request changes.
If you included a comment with your commit, it appears here:

@branden

@emanic please review and merge


typo fix

fix some typos.

Codecov Report

Merging #1562 into master will decrease coverage by 0.02%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #1562      +/-   ##
==========================================
- Coverage   32.16%   32.14%   -0.03%
==========================================
  Files         682      682
  Lines       33048    33048
  Branches     6597     6597
==========================================
- Hits        10629    10622       -7
- Misses      20531    20532       +1
- Partials     1888     1894       +6

Impacted Files
Coverage Δ

.../exchange/support/header/HeaderExchangeServer.java
0% <0%> (ø)
:arrow_up:

...om/alibaba/dubbo/rpc/filter/ActiveLimitFilter.java
83.33% <0%> (-5.56%)
:arrow_down:

...ubbo/rpc/protocol/dubbo/ChannelWrappedInvoker.java
41.66% <0%> (-4.17%)
:arrow_down:

...rpc/protocol/dubbo/telnet/InvokeTelnetHandler.java
51.89% <0%> (-3.8%)
:arrow_down:

.../dubbo/rpc/protocol/dubbo/filter/FutureFilter.java
54.54% <0%> (-2.03%)
:arrow_down:

...dubbo/rpc/protocol/dubbo/CallbackServiceCodec.java
78.67% <0%> (-1.48%)
:arrow_down:

.../alibaba/dubbo/config/AbstractInterfaceConfig.java
38% <0%> (-0.46%)
:arrow_down:

...libaba/com/caucho/hessian/util/IdentityIntMap.java
30.95% <0%> (+5.95%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 20aa3f0...efb93e1. Read the comment docs.


History package no longer supports useQueries

Updating to history 4.x breaks RSB.
Please see issue: https://github.com/mjackson/history/issues/364

I was updating a bunch of packages and came across this as well. My fork doesn’t have a suitable set of changes, but this branch dealt with and shows the changes needed to upgrade to 4.x.
https://github.com/mckelvey/react-static-boilerplate/pull/1/files


fix(#2211): filterable dropdown selected option

Before (the change)
Filterable dropdown selected option broken when a) clicking an option to select, b) using arrows keys to highlight an option then pressing Enter to select, and c) when filterable dropdown input loses focus. Also, selected option in the DOM would not have "aria-selected=true".
After (the change)
Filterable dropdown selected option fixed when a) clicking an option to select, b) using arrows keys to highlight an option then pressing Enter to select, and c) when filterable dropdown input loses focus. Also, selected option in the DOM has "aria-selected=true".
Make sure that you've checked the boxes below before you submit the PR

[x] I have read and followed the setup steps
[x] I have created necessary unit tests
[x] I have tested the functionality in both React and Angular.

Steps needed to test
Testing considerations: Tested UI in Chrome. Did not test behavior of Chrome browser autofill on filterable dropdown input.

Can you prefix your first two commits in this PR with chore:


Feature Request for delete-task and listing the tasks #83770848 #84348820

Hi @davidwadden as per discussion in one of the previous [issues] (https://github.com/cloudfoundry-incubator/lattice/issues/117#issuecomment-104915581) I have implemented the new command to delete the task ltc delete-task and to list the tasks in ltc list.
Here is the quick view of my implementation
root@ubuntu:~# ltc delete-task -h
NAME:
   delete-task, dt - Deletes the given task

USAGE:
   ltc delete-task TASK_NAME

root@ubuntu:~# ltc list
==========================================================================================
      Displaying Apps
------------------------------------------------------------------------------------------
App Name        Instances       DiskMB          MemoryMB        Route
lattice-app     0/1             0               128             lattice-app.<IP_ADDRESS>.xip.io, lattice-app-8<IP_ADDRESS>.11.xip.io => 8080
------------------------------------------------------------------------------------------

==========================================================================================
      Displaying Tasks
------------------------------------------------------------------------------------------
Task Name       Cell ID         Status          Result          Failiure Reason
ltc-EchoTask    lattice-cell-01 COMPLETED       -NA-            failed to initialize container
ltc-SleepTask   lattice-cell-01 COMPLETED       -NA-            failed to initialize container
------------------------------------------------------------------------------------------

root@ubuntu:~# ltc delete-task ltc-EchoTask
Deleting the task ltc-EchoTask
OK
root@ubuntu:~#
root@ubuntu:~#
root@ubuntu:~# ltc delete-task InvalidTaskGuid
Deleting the task InvalidTaskGuid
Error Deleting the task InvalidTaskGuid
Failiure Reason :Task not found.

root@ubuntu:~#

Please give us some feedback, we will be happy to make changes. If it feels ok then we can raise a PR for this.
Thanks & Regard
Asif

A couple little things:

Change -NA- to N/A
Spelling on "Failiure"
On the titles, replace "Displaying Apps/Tasks" with just "Apps/Tasks"

Also, there's a lot of space lost to the separators.  Maybe try and see if it could be done with just
-----------= Tasks =-------------------- ?
Go ahead and put the PR in so we can take a look at the code too

Thanks @davidwadden for a quick feedback, will try to make changes and raise a PR by the end of the day.

We've released Version 0.2.5 of Lattice, which includes Tasks! I've been keeping this issue open until that release.
https://github.com/cloudfoundry-incubator/lattice/releases/tag/v0.2.5
Thanks for the Pull Requests!
Closing this issue, but please feel free to reopen if this release does not sufficiently address this issue.
--
Marco Nicosia
Product Manager
Pivotal Software, Inc.


Bump aiohttp to 3.8.1

There is a dependabot alert on the version we are currently using.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Add upper bound for haskell-lsp* on Hackage

It seems like version 0.0.4 doesn't build with the latest versions of haskell-lsp and haskell-lsp-types (<IP_ADDRESS>). Would it be possible to add an upper bound and either release a <IP_ADDRESS> or just modify the package description directly on Hackage?

I published a new revision that adds an upper bound. Note that the master branch of this repo does support the latest version.


Post ENSIP-16 v2 on the forum

[x] Quick background about ENSIP-16
[x] Improvements proposed and their impact on UX and DX
[x] Demo and implementation

duplicated bu #151


Need more robust way to read wav files

Currently we use scipy.io.wavfile to read wav files. However this method is not very robust. It often fails with the error: Incomplete wav chunk.
Issue was originally reported here.

We should probably look into using the built in wave library.


Update Code - Proof_Of_ContributionSnapshot4.md

Thanks. Tagging @betterbrand to review.

@vintidui this request seems very high given the amount of value it creates.
Have you checked out the updated Weights Guide?https://github.com/MorpheusAIs/Docs/blob/9d3c789c2ed7511d04d07e1b5411d33edb55d5e7/Guides/Code Contributor Weights Guide.md#L4

please see comments from closed repo you noted above


[UNDERTOW-2448] At ServletPrintWriter.write(CharBuffer) do not mark e…

…rror if buffer.remaining() == remaining after flush. We need to update remaining to do a proper check here.
The aforementioned == check can return true after a successfull flush, because "remaining" value is set to be the size of the bytes remaining in the buffer before encoding. If, at that stage, the buffer is empty, "remaining" value is set to buffer.capacity(). When encoding many bytes, we will end up with a full buffer. As a result, we will try to flush, and it is often the case that the buffer will be entirely cleared after flushing. This results in buffer.remaining() being the overall buffer size, i.e., buffer.capacity(). As a result, buffer.remaining() == remaining check returns true, and write is aborted, causing the broken responses we are seeing.
Jira: https://issues.redhat.com/browse/UNDERTOW-2448

Hi @fl4via ,
Do you know when will this fix released?


Ability to defer preemption when using admission checks

What would you like to be added:
The ability for an admission check to influence when preemptions happen (anytime vs after the check has passed).
Why is this needed:
It might be useful if an admission check could take a long time to be satisfied, so that preempting early is not very useful.
However, it's unclear whether the usefulness of this feature outweights the complexity of moving the preemption logic outside of the admission loop. Especially as we start thinking of #62 and #998.
Completion requirements:
This enhancement requires the following artifacts:

[ ] Design doc
[ ] API change
[ ] Docs update

The artifacts should be linked in subsequent comments.

/remove-lifecycle stale

/remove-lifecycle stale

/remove-lifecycle stale


armv7 (aka raspberry Pi) support?

Hello,
will armor be able to run on a raspberry pi in the future?
All the best.
Simon

32 or 64? We can build both.

Wow. That was quick.
Thank you


Set 32BLIT_DIR in the Pico toolchain too

For consistency with 32blit.toolchain. More importantly, this makes the command in the boilerplate/docs actually work.

Ah I think this caught me out recently, too. Just added -D32BLIT_DIR on auto-pilot. Thank you!


Add docker packaging to separate profiles

Motivation
In productization we need to run maven and image builds separate from each other, this option was missing from current version of ups.
What
Added profile to deactivate docker assembly with maven property while leaving default behavior without changes.
Checklist:

[X] Code has been tested locally by PR requester
[ ] Changes have been successfully verified by another team member

Progress

[x] Finished task
[ ] TODO

Additional Notes

@jomrazek How do i correctly activate the profile? I tried it with mvn clean install -Pnodocker but the docker maven plugin is still invoked.

@pb82 profile is active by default to keep your standard behaviour, by passing -Dnodocker=true you change it to not run.
mvn clean install -Dnodocker=true

@secondsun do you mind take a look at this one and see if we can merge it as part of this release?


Issue #322: Move AwsKeyManager to its own module

Notes to Reviewers

Note the ⚠  below and impact on versioning of web5-kt this carries via an API change.
Please do not squash merge this PR; rebase merge is fine. We should preserve 1eb180c258d790822e77742b59d3f209dc7d6b3f so that it may be cleanly reverted as part of #328

In this PR
Reviewers, please assess impact of the following changes introduced by this PR:

Create new module with artifactId: web5-keymanager-aws
Add this new module to the distribution
Move AwsKeyManager into it, along with AwsKeyManagerTest
⚠ Refactor package name of AwsKeyManager from web5.sdk.crypto to web5.sdk.keymanager.aws. This represents an API change and in strict terms would trigger a major version bump to a 2.x.y series of web5-kt on the next release.
Remove the crypto module dependency on com.amazonaws:aws-java-sdk-kms, the motivation behind this change and this PR.
Add explicit dependencyManagement for commons-codec:commons-codec, needed in test scope by the crypto module which is no longer getting this transitively via com.amazonaws:aws-java-sdk-kms
Add explicit dependencyManagament for org.apache.httpcomponents:httpcore and explicit declaration on it in dids module, which is no longer receiving this transitively since removing the com.amazonaws:aws-java-sdk-kms via crypto.

@ALRubinger lmk what you think about this rationale:
i think we should go with:

Remove the kover-maven-plugin enforcement on this module alone so that the build passes even without coverage (recommend against this)

reason being,

we're no worse off than we were before
we benefit from a dependency tree with less depth sooner
we should definitely create an issue to set up proper tests for AwsKeyManager with a test harness.  We can set up localstack for this, but it will definitely take non-negligible time to do.

@mistermoe OKee, short term salve, new issue incoming for medium term proper fix (tests).

I like this. And I don't think Aws key manager was used in anger just yet? so risk of api change for it is low. With the distribution, does this make pulling in aws stuff optional now?

I like this. And I don't think Aws key manager was used in anger just yet? so risk of api change for it is low. With the distribution, does this make pulling in aws stuff optional now?

So I did add this to the distribution pom, so it's included by default when bringing in everything. If we want to treat this as an extension, it doesn't need to be in the distro. What this enables so far is for folks to bring in things piecemeal ie. dids, crypto, etc.

Technically it is a published API change which would trigger a major version update, but we could make statements about web5-kt thus far that treat the entire 1.x.y series as open to breaking API changes like this while the project reaches API stability over time. Project leads can make that call, but yeah - as a dev if upgraded within a major version and it broke the API I'd be confused as to why.

I think we should exclude it from the default distro @ALRubinger. This should, I think, make web5-kt default rollup distro usable on android? You and @michaelneale would know much better than I

I would be ok with removing it I think as part of distro - if that is ok? and we can document how to bring it in if you need it.

Great; I've got no opinions on it - really is about what the expectations are for the distro. An Android distro would exclude it anyway and add in new Android things.
I just pushed a commit to exclude it for now and we'll have to document alongside DevRel how to add this in when wanting AwsKeyManager support as an extension of sorts. cc: @blackgirlbytes @acekyd @angiejones

yeah I think when we are ready to have flavoured distros like android/cloud can look at it then? but for now I think clear docs and examples are great. Anyone doing AWS dev AND using java would have no issues copy/paste into their pom/gradle I think

Yep, super happy to have AWS as an optional extension. It's far from the common usage, and adds a lot of weight


.NET Core support

I am not sure about the implementation of this sink, but since Raygun4Net supports .NET Core, I thought maybe it is doable in this project as well.
The support was brought in with the following PR:
https://github.com/MindscapeHQ/raygun4net/pull/302

This going to happen soon?

If anyone can send a PR, this would be welcome 👍
Most of the active Serilog sinks now support .NET Core; anyone interested in tackling this should take a look at the project/build structure in https://github.com/serilog/serilog-sinks-console as we've used this consistently elsewhere. Cheers!

@mattruma I have a PR up for this #12 which will support netcoreapp2.0 and netstandard2.0 targets using the mindscape AspNetCore package.


Is there a trained model?

Is there a trained model?

Is there a trained model that can be tested and used directly?


Final Star duping

Description
Can't dupe with Final Star (cant right click it while its on the dm pedestal).
Minecraft Version
1.19.2
ProjectExpansion Version
1.19.2
Forge Version
1.19.2
Reproduction Steps
Place DM Pedestal
Put Final Star on
Try to Right-Click
Crash Report/Logs
none
Other Mods
Flux Networks, JourneyMap, JEI, Mekanism, Mekanism Generators, AE2, Cyclic, EnderStorage, ProjectE, ProjectExpansion, OreExcavation, IndustrialForegoing, The One Probe, AppleSkin.

That is not a feature of this mod

So what is the point of the Final star -_-
On Sat, 30 Mar 2024 at 3:20 PM, Donovan Daniels @.***>
wrote:

That is not a feature of this mod
—
Reply to this email directly, view it on GitHub
https://github.com/DonovanDMC/ProjectExpansion/issues/126#issuecomment-2028117267,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BB5CMHKCP4A5S7FUXBC34E3Y23J4RAVCNFSM6AAAAABFPUCQLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRYGEYTOMRWG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

So it is one of the most time-consuming things to make and it only has ONE
use. Absolute stupidity.
On Sat, 30 Mar 2024 at 3:22 PM, Donovan Daniels @.***>
wrote:

image.png (view on web)
https://github.com/DonovanDMC/ProjectExpansion/assets/17226394/0ac2f490-5199-4cfc-8a4d-0fe82a462513
—
Reply to this email directly, view it on GitHub
https://github.com/DonovanDMC/ProjectExpansion/issues/126#issuecomment-2028118335,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BB5CMHNNU6RUWESIOYH7QLDY23KFDAVCNFSM6AAAAABFPUCQLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRYGEYTQMZTGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Don't craft it then? I don't know what to tell you

Can you refer me to the mod that can actually do this?
On Sat, 30 Mar 2024 at 3:27 PM, Donovan Daniels @.***>
wrote:

Don't craft it then? I don't know what to tell you
—
Reply to this email directly, view it on GitHub
https://github.com/DonovanDMC/ProjectExpansion/issues/126#issuecomment-2028120039,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BB5CMHLKTX3P2H2CW2UBZZ3Y23KULAVCNFSM6AAAAABFPUCQLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRYGEZDAMBTHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

no


Is state persistence automatic?

It seems like state is automatically persisted, and I didn't manage to use persistent storage. I just want to make sure, if it's so then this should be in readme.

By default auto-persistence will be off by default in v1.x.


Upload stops at 16%

@interface NetworkManager : NSObject //singleton
{
    AFAmazonS3Client *_s3Client;
}
@end
- (id)init
{
    if( (self = [super init]) )
    {
        _s3Client = [[AFAmazonS3Client alloc] initWithAccessKeyID:ACCESS_KEY secret:ACCESS_SECRET];
        _s3Client.bucket = BUCKET_NAME;
    }
   return self
}
- (void)uploadDataWithFilePath:(NSString *)path videoName:(NSString *)videoName callback:(callbackBlock)callback
{
    [_s3Client postObjectWithFile:path destinationPath:@"/videos/" parameters:nil progress:^(NSUInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite) {
        NSLog(@"%f%% Uploaded", (totalBytesWritten / (totalBytesExpectedToWrite * 1.0f) * 100));
    }  success:^(id responseObject) {
        callback(YES, nil);
    } failure:^(NSError *error) {
        NSLog(@"%@", error);
        callback(NO, @"There was a problem with uploading the video. Try uploading again.");

     UserInfo=0x1d9c70e0 {NSErrorFailingURLStringKey=http://divinenight.s3.amazonaws.com/videos/, NSErrorFailingURLKey=http://divinenight.s3.amazonaws.com/videos/, NSLocalizedDescription=The request timed out., NSUnderlyingError=0x1d9c83e0 "The request timed out."}
Repeated the process, same outcome every time.

I'm having exact same error here. Anybody managed to find out how to fix it? Either through Amazons configuration or...?

I've found Amazon's own SDK to be the most reliable, although their code is
full of Java/Enterprise coding patterns.
On Fri, Feb 6, 2015 at 10:53 AM, holgersindbaek<EMAIL_ADDRESS>wrote:

I'm having exact same error here. Anybody managed to find out how to fix
it? Either through Amazons configuration or...?
—
Reply to this email directly or view it on GitHub
https://github.com/AFNetworking/AFAmazonS3Manager/issues/21#issuecomment-73291668
.

Also having this issue. Nobody has found a workaround yet?


Acc@1 always reported 0

I'm using this for binary classification, I modified train.py , change top5 to top1, acc5 to acc1 accordingly ,etc.
but I got the follwing report Acc@1 always is 0.

here is my training scripts.
/project/car_places/distributed_train.sh 6 /project/my_detection/data/data_0715/ --model efficientnet_b6 -b 16  \ --num-classes 2 --crop-pct 1 --sched step --epochs 50 --decay-epochs 2.4 --decay-rate .97 \ --opt rmsproptf --opt-eps .001 -j 8 --warmup-lr 1e-6 --weight-decay 1e-5 --drop 0.3 --drop-connect 0.2 \  --aa rand-m9-mstd0.5 --remode pixel --reprob 0.2 --amp --lr .016
I tried fastai, it seems goes well  as below:

what's mistake I've made ?

I check the train and validation folder, they both have subfolder of classes , and images in subfolders.

@liangshi036 it's not 0, just for the first sample, and it's usually 100 for the last, closer to 75 average based on that, probably about expected for a smaller dataset, possibly not balanced and you may want to use a different metric than accuracy ... fastai is setting a lot of defaults for you so manually selecting hparms is going to require some trial and error to match.


Define some DebugPrint() function

Description
Instead of printing everything every time, define some kind of DebugPrint() function that can be turned on/off.
File
Sts1CobcSw/EduProgramQueueThread.cpp

This might actually be useful in most files. I think it would be nice if DebugPrint() only prints something if built in debug mode. AFAIK  _DEBUG  or a similar macro is defined in that case.


Use a remote go part instead of the PPA.

Nice cleanup. My only nitpick is that it's more opaque whats happening here. I presume this is in part to the plugin structure and what its doing on the backend itself to clean up those script bits for the go part.
Otherwise +1 LGTM as a cleanup.

Hey @chuckbutler, thanks for reviewing it.
The remote parts have a big backlog of improvements. Would you find it clearer if you knew aboug snapcraft define go?
Any suggestions would be appreciated. Also, we are working on making it possible to have a build snap, so you won't have to compile go, just install it from the snap. Would you find that clearer than the go part?

$ snapcraft define go
Downloading parts list|
Maintainer: 'Leo Arias<EMAIL_ADDRESS>Description: Go is an open source programming language that makes it easy to build simple,
reliable, and efficient software.
This snapcraft part allows to build programs written in go.
Usage:
  Add "after: [go]" to your part written in go. This will use the latest go
  from the master branch to compile your program.
  If you want to specify a go version, also add a go part with the version as
  the source-tag value. For example, to use go 1.7.5, use:
    parts:
      my-go-program:
        ...
        after: [go]
      go:
        source-tag: go1.7.5

go:
  build: cd src && env GOROOT_BOOTSTRAP=$(go env GOROOT | tr -d '\n') ./make.bash
  build-packages:
  - golang-go
  - g++
  install: cp -R * $SNAPCRAFT_PART_INSTALL
  plugin: nil
  prime:
  - -*
  source: https://go.googlesource.com/go
  source-type: git

Indeed! This is quite a lot clearer than what I was inferring from just the usage update in the PR. Thanks!

to use the go snap to build snaps we need to change a little the go plugin. It should just not install anything if go is in $PATH, or something a little fancier but to the same purpose. But this work needs coordination with launchpad so it can install snaps in the builders.
https://bugs.launchpad.net/snapcraft/+bug/1616985
It will happen soon...ish :)

maybe, while snapcraft is building the part it could print: To get more info about this part, run snapcraft define [...]
Or maybe, we should just wait until all the remote parts pending work is done and document it nicely in snapcraft.io.

I think both are good options.  Hinting at more information via snapcraft define  and landing a more comprehensive update against the docs.   +1


typo fix to my slice of j'sawn.

typo fix in my profile thingy. Need to proofread next time....

:+1:


The graph is scaled and the actual graph width remains the same

The graph is scaled and the actual graph width remains the same
According to the middle mouse button scroll to zoom, use the PIXI. Graphics PIXI. Smooth. SmoothGraphics effect is not the same,
See links for examples
https://codepen.io/pcbren1987/pen/vYjZmgV

Please read about lineScaleMode: https://github.com/pixijs/graphics-smooth#linescalemode

Thank you very much. Solved


Upgrade osgi jdbc add tck

This includes:

https://github.com/microsoft/mssql-jdbc/pull/2064
https://github.com/microsoft/mssql-jdbc/pull/2065

@Jeffery-Wasty I don't really understand how to get more details about the testfailure can you give me a hint?

@laeubi, we'll have to look into this. Previously the errors were caused by eclipse.osgi dependency, but now I'm not seeing that in our tests, I'll get back to you with more information. Regardless, we'll look at the upgrade to osgi.service and the new properties and see if we can get that merged first, those two changes look fine. Thank you for your work on this.

Can you please confirm for us the necessity and use of the test? Is implementation of this test required by spec, or is this just a confirmation that the properties have been added correctly. It looks like the issues are all caused by the added test, so if it can be omitted, that would help us.

It is not strictly required, this just ensures that the implementation is fulfilling the spec.
So if it can even be omitted, it would still be interesting why this fails (I can't really get an idea from the checks output), and I was not able to run the tests locally.

Thanks for the explanation. We're still looking into it, its not readily apparent from the logs why this is failing, but we'll keep you updated on progress regarding this pr.

Hi @laeubi,
The issue is that the test is that its using Junit5, and when this is invoked, causes issues in other tests in the project. If the tests can be rewritten only using features of Junit4 or below, that will allow it to pass and be included as part of the changes.
Comparing the test styles from this PR and #2017, I think the one in 2017 fits the project better, as opposed to the additional test information in the pom. Let's move forward with 2017 being the only PR for this change. We'll close the others, but thank you for this layered approach, it really helped in narrowing down on the problem.


Add theming for pop up menus on mobile

I'm not sure what to call them exactly, but I'll provide screenshots. I'll probably dig around in the source code for the CSS selectors next week.

Hey @ebarruel! Could you share how you're applying the theme on your mobile device? Which platform are you using, and which version of Logseq do you have installed?

I've tested on Android 14 using Logseq 0.10.10, following the README instructions. Here are my findings:

[ ] Search for a page search issue: Could you provide more details on how to reproduce this?
[x] popover-bg issue: Successfully replicated and confirmed working correctly on my device with the expected color.

@PixelTux I've got Logseq 0.10.9 on Android 12, so it might have been fixed in the new nightly release? Or it could just be an old Android issue.
Re Search for a page issue: It shows up when I use the shortcut for page reference [ ] in the bottom bar. (I also notice that the shortcut buttons do not have the correct active/hover colors haha.) The popover for searching for a page does not show up if I just type in [[, even if the editor automatically closes it for me.

@ebarruel, here’s what I see::

I’ve noticed a few things:

The search button [ ] has the same active/click color as yours.
When I type [[, it adds the closing brackets automatically, but I don't enter search mode. To activate it, I must delete the last three brackets [ ]] without leaving the line.
The (()) search block shows the same behavior, and the button after the search page button ( ) requires improvement.

Note: I see the same behavior in the default theme, so this is not theme-related.


Add Blackout & How Old Am I?

Black out TidByt during evenings (or whenever)

Thanks for the PRs! Seems like two fun apps that folks will enjoy. Just a couple of suggestions above that I think could be good to get in before merging.


--application-id mentioned in documentation not supported on practice

--application-id mentioned in documentation not supported on practice. EastUS region

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 226e5769-f6c8-a480-db78-727fb96348ec
Version Independent ID: 8ee06a2a-6eda-11be-3c8e-6ad948be207e
Content: az keyvault
Content Source: latest/docs-ref-autogen/keyvault.yml
Service: key-vault
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

keyvault

Hi @vitali-kviatkouski, May I know which command do you mean?

az keyvault set-policy - trying to create compound policy with both object id and application id


Windkraft in Bayern → Datensatz: 1000 lines

Clicking Windkraft in Bayern → Datensatz under https://marktstammdatenregister.dev/
gives a .csv with exactly 1000 lines--
SEE907461190045,Oberbiberg,,,2023-10-06,472,35,30.0,30.0,Kitekraft Demonstrator bis 30kW Oberbiberg,EEG952304848577
...
SEE978377618305,Hagenbüchach,10.769887,49.524045,2010-04-20,472,35,2000.0,2000.0,Bürgerwindrad      Trübenbronn-Hagenbüchach UG (hb) ＆ Co. KG,EEG995916352513

Odd that it's exactly 1000 ?
Would you have an example of reading the zenodo files in python pandas ?
Thanks,
cheers
-- denis

Hi! The usual site is unavailable right now unfortunately, working on it ...
The backup site lives here: Windkraft in Bayern.
It shows 969 rows both in the HTML UI and in the CSV.
However, the underlying software (Datasette) automatically cuts off results at 1000. There are ways to raise this limit, but large data exports isn't really what this interface is made for -- more for quick prototyping and drilling into things.
I'd be happy to provide an example of reading the Zenodo files in Python pandas!
If you just want to look at a single data table, you can load it from Parquet:
import pandas as pd

einheitwind = pd.read_parquet("einheitwind.parquet")
print(einheitwind[einheitwind["Ort"] == "Kronach"])

To join data from different tables, you can use the SQLite file:
import pandas as pd
import sqlite3

with sqlite3.connect("bnetza_mastr_2023-12-22.sqlite3") as con:
    result = pd.read_sql_query(
        """
WITH Rechtsformen AS (
  SELECT
    Rechtsform AS Rechtsform_Id,
    COUNT(*) AS Anzahl
  FROM
    Marktakteur
  GROUP BY
    Rechtsform
)
SELECT
  Katalogwert.Wert as Rechtsform,
  Anzahl
FROM
  Rechtsformen
  LEFT JOIN Katalogwert ON (Rechtsformen.Rechtsform_Id = Katalogwert.Id)
ORDER BY
  Anzahl DESC
""",
        con,
    )

print(result)

I think that in future, the combination of DuckDB (a faster database than SQLite) with Polars (a faster dataframe library compared to Pandas) will make for an even better combination.
Thanks for your question! I hope this helps, and I'll think think about adding something like this to the README or somewhere else prominent.

Hi Denis,
I created this for you, perhaps it is a good starting point? https://observablehq.com/d/66bd1dbd44c01dbd
It queries and downloads the first 100 rows of the EinheitenWind table to display it (there's a "slice" menu at the bottom where you can change this, including downloading the entire table).
You can use the controls at the bottom to filter rows, select columns, sort the table, etc.
I think this is nice for exploration.
As for how you'll process the data in Python, I personally think DuckDB and Polars are great.


implement list services API endpoint

Summary
Adds the endpoint required for constructing a download file containing services matched by a Direct Award search. This endpoint paginates normally but we are going to limit the number of services that can be saved into a locked project to 100, which will effectively mean no pagination with our current configuration. We've had to limit this to 100 to remain responsive and minimise memory usage; ideally we'd have some kind of Digital Marketplace task runner that manage creating documents, combining lots of disparate data, etc, as opposed to doing it all on the frontends.
The endpoint accepts a fields parameter that allows the frontend to specify a subset of the Service model's data field to be returned, limiting the size of the response further. Ideally we would have a way of creating jobs for long-running tasks.
Also fixes a bug with the lock_project endpoint that wasn't checking for the currently active search. This could have been nasty. ☹  Also stubbed out a test for this.
Tests for the list services endpoint requires archived services in the database, so I've slightly generalised the setup_dummy_service method to accept a model to use when setting up services. For Direct Award, this model is ArchivedService, as all locked searches store archived service instances which are (theoretically) immutable.
Other PRs
https://github.com/alphagov/digitalmarketplace-apiclient/pull/98
Ticket
https://trello.com/c/igRhA3Bt/711-shortlist-file-download

Make sure that filing out that test is captured in a ticket, either this one or another one :)

Filling in those tests is part of the end search ticket, but I'll drop a comment in there just to make sure Dilwoar is aware.


"Cannot read property 'map' of undefined" in meta field

We are using sendgrid-sync-contacts extension.
Many of the documents in contacts have meta field with this data..
Do you know any information about these?
{state: "ERROR", error: "Cannot read property 'map' of undefined"}

Seeing this issue as well, appears to be intermittently occuring.

For me it looks like this error was caused by hitting Sendgrid v3 API Rate Limit of 600 requests per minute per account.

For my project, it seems the request frequency is not that high.


brew-test-bot fails with unrelated error

I'm having issue with brew-test-bot, as it fails with the unreferenced in the pull request formulae -- aptible. I don't understand what is going and how to troubleshoot it. If you could point me in the right direction, I would appreciate. Run on the local workstation shows no errors, problem happens only when using Github actions.
Pull request in questions -- https://github.com/sashkab/homebrew-python/pull/93
2020-09-16T13:27:51.6220050Z ##[group]Run brew test-bot --only-tap-syntax
2020-09-16T13:27:51.6220800Z brew test-bot --only-tap-syntax
2020-09-16T13:27:51.6301860Z shell: /bin/bash -e {0}
2020-09-16T13:27:51.6302170Z ##[endgroup]
2020-09-16T13:27:53.1133600Z Using Homebrew/homebrew-test-bot b1d6911 (Merge pull request #501 from scpeters/fix_tap_arg)
2020-09-16T13:27:53.1656030Z Using Homebrew/brew 2.5.1-35-g76363bebc (Merge pull request #8734 from Homebrew/python39)
2020-09-16T13:27:53.1780550Z Using Homebrew/homebrew-core 5be0d5bad1 (octave: update 5.2.0_10 bottle.)
2020-09-16T13:27:53.1903500Z Testing sashkab/homebrew-python d9aef56 (Merge cd5b28c18f38d486d91424e9395b661bf253e38c into 29cf9f29444645e779eabfd0ed14867198da441b):
2020-09-16T13:27:53.1905110Z
2020-09-16T13:27:53.1905890Z Running TapSyntax#run!
2020-09-16T13:27:53.1906810Z brew readall --aliases sashkab/python
2020-09-16T13:27:54.5860210Z brew style sashkab/python
2020-09-16T13:28:00.6077330Z brew audit --tap=sashkab/python
2020-09-16T13:28:02.0926100Z All steps passed!
2020-09-16T13:28:02.1270540Z ##[group]Run brew test-bot --only-formulae
2020-09-16T13:28:02.1271090Z brew test-bot --only-formulae
2020-09-16T13:28:02.1347990Z shell: /bin/bash -e {0}
2020-09-16T13:28:02.1348260Z ##[endgroup]
2020-09-16T13:28:03.6332710Z Using Homebrew/homebrew-test-bot b1d6911 (Merge pull request #501 from scpeters/fix_tap_arg)
2020-09-16T13:28:03.6854920Z Using Homebrew/brew 2.5.1-35-g76363bebc (Merge pull request #8734 from Homebrew/python39)
2020-09-16T13:28:03.6972290Z Using Homebrew/homebrew-core 5be0d5bad1 (octave: update 5.2.0_10 bottle.)
2020-09-16T13:28:03.7095960Z Testing sashkab/homebrew-python d9aef56 (Merge cd5b28c18f38d486d91424e9395b661bf253e38c into 29cf9f29444645e779eabfd0ed14867198da441b):
2020-09-16T13:28:03.7097020Z
2020-09-16T13:28:03.7098040Z Running Formulae#detect_formulae!
2020-09-16T13:28:03.7099870Z git -C /usr/local/Homebrew/Library/Taps/sashkab/homebrew-python fetch origin +refs/heads/master
2020-09-16T13:28:03.9488670Z     url             https://github.com/sashkab/homebrew-python/pull/93/checks
2020-09-16T13:28:03.9489950Z     origin/master   29cf9f2 (Merge pull request #94 from sashkab/update-test-bot)
2020-09-16T13:28:03.9490790Z     HEAD            d9aef56 (Merge cd5b28c18f38d486d91424e9395b661bf253e38c into 29cf9f29444645e779eabfd0ed14867198da441b)
2020-09-16T13:28:03.9491610Z     diff_start_sha1 29cf9f29444645e779eabfd0ed14867198da441b
2020-09-16T13:28:03.9492350Z     diff_end_sha1   d9aef569f6af94595b12f02b782af12121115782
2020-09-16T13:28:03.9855090Z Testing Formula changes:
2020-09-16T13:28:03.9855630Z     added    (empty)
2020-09-16T13:28:03.9855990Z     modified<EMAIL_ADDRESS>2020-09-16T13:28:03.9856410Z     deleted  (empty)
2020-09-16T13:28:05.4366470Z
2020-09-16T13:28:05.4369650Z Running<EMAIL_ADDRESS>2020-09-16T13:28:05.4925430Z Determining dependencies...
2020-09-16T13:28:08.2492450Z brew fetch --retry gdbm<EMAIL_ADDRESS>pkg-config readline sqlite xz
2020-09-16T13:28:13.2296590Z Determining dependents...
2020-09-16T13:28:41.2465620Z brew uninstall --force gdbm<EMAIL_ADDRESS>pkg-config readline sqlite xz
2020-09-16T13:28:42.2647910Z Error: No available formula with the name "aptible"
2020-09-16T13:28:42.2697970Z ##[error]Process completed with exit code 1.
2020-09-16T13:28:42.2734730Z Cleaning up orphan processes

We don't provide this level of support, sorry.


Target Lock and Kill Timeout don't work together

If both are activated the aimbot won't work for me..

Ok, pushed new changes. Check now.


Standardize Error Throwing

[ ] Look at using HTTP errors

Make sure that errors the application generates can be used by the consumer. Types of error states we might have:

Invalid phone number address passed
Not enough numbers in number pool
Internal 500 errors (failed to create conversation, add participants, etc.)
Authentication error

Closing this to make a more specific issue around request validation.


No speed for uploading.

Hi，thank you very much for providing this tool. I use iTerm2 to log in to the jump server and then to the target server. I've noticed that uploading files using trz is very slow and there is no speed.
My Mac has an M2 chip, and the speed with tsz is not a problem.

Try https://github.com/trzsz/trzsz-ssh , compile tssh and trz from the latest source code.


Dragon's Dogma: Dark Arisen ~ game crashes after loading, plus more minor issue

After the game finishes loading, it instantly crashes.
More minor issues include the main menu background being rendered white. The particle effects used for the game name while loading are also not displayed.
Software information
Dragon's Dogma: Dark Arisen using Proton 4.2-2 + Steam + D9VK d3d9.dll 32-bit
System information

GPU: AMD RX 580
Driver: Mesa master + LLVM master
Wine version: 4.2
D9VK version: master

Apitrace file(s)
https://mega.nz/#!Q8lymKJA!43INKkLuugaDD7ysqk5aQh76JpdjSeziWLtL9Pn9ZxE
Log files
DDDA_d3d9.tar.gz

Finally managed to upload an 85 MB file after 14 minutes of waiting ~ thanks, Australia. :/

Happily, the game no longer crashes after loading, but the in-game screen is still white.
HUD is shown, though.
Lags like mad, spitting out tons of the same error.


create a readme

This is done, right?

Well we still need to add stuff in the Readme file. So I will change the name of the issue to be more verbose 😁


fix #887 add a rest to get stalling tasks

The rest api is like http://localhost:8090/api/v1.0/appmaster/1/stallingtasks
and the response is like {"tasks":[{"processorId":0,"index":0}]}

+1


在官方示例里, 模型参数是可以调整的, 如果我想调整这些参数那么我该在哪个文件中找到这些参数

以下为一个示例
{
  "model": "text-davinci-003",
  "prompt": "I am a highly intelligent question answering bot. If you ask me a question that is rooted in truth, I will give you the answer. If you ask me a question that is nonsense, trickery, or has no clear answer, I will respond with \"Unknown\".\n\nQ: What is human life expectancy in the United States?\nA: Human life expectancy in the United States is 78 years.\n\nQ: Who was president of the United States in 1955?\nA: Dwight D. Eisenhower was president of the United States in 1955.\n\nQ: Which party did he belong to?\nA: He belonged to the Republican Party.\n\nQ: What is the square root of banana?\nA: Unknown\n\nQ: How does a telescope work?\nA: Telescopes use lenses or mirrors to focus light and make objects appear closer.\n\nQ: Where were the 1992 Olympics held?\nA: The 1992 Olympics were held in Barcelona, Spain.\n\nQ: How many squigs are in a bonk?\nA: Unknown\n\nQ: Where is the Valley of Kings?\nA:",
  "temperature": 0,
  "max_tokens": 100,
  "top_p": 1,
  "frequency_penalty": 0.0,
  "presence_penalty": 0.0,
  "stop": ["\n"]
}

https://github.com/Chanzhaoyu/chatgpt-web/issues/311#issuecomment-1455022790
已经找到,感谢


Cache packages

Hi, I know this is might be an issue with LEDE/Openwrt's build tools but each build requires a download of every package.
I'd love to provide a solution but I wasn't able to find one without some sort of http proxy.

I was able to do this by adding the following variable to the docker file and running a proxy. Maybe this isn't such an issue but downloads can take 5 mins for a simple build in Australia.
ENV http_proxy "http://host.docker.internal:8080"
Would be interested in anyone else who might have feedback :)

Hi, in fact, the OpenWRT packages are currently not cached and re-loaded each time a new OpenWRT image is built. I did some quick experiments and there are 2 easy options to cache the packages:

use an external caching proxy (e.g. squid) and set http_proxy variables in container
mount /dl as an external docker volume so that package downloads survive individual buillds

I'll come up with conrcrete examples later this weekend ...

@jandelgado sounds good. Squid works well but I might see if I can mount /dl as a volume.

Release 2.4 allows to pass additional options to docker-run. This can be used to mount the downloads (dl) directory externally:
./builder.sh build example-nexx-wt3020.conf --docker-opts "-v=$(pwd)/dl:/lede/imagebuilder/dl:z"

See #18

I'll check it out. My internet was finally upgraded so it may be less of an issue for me.


NavigationController Cache - add state: has-flash

https://github.com/shopware/platform/blob/d48df92eeecf7cef5ba48869a4bf01b7d03243b3/src/Storefront/Controller/NavigationController.php#L38
Use case:
I want to add a flash message and redirect to a specific CMS page.
$this->addFlash('error', 'Some error.');
return $this->redirectToRoute('frontend.navigation.page', ['navigationId'=>'b33a7224601b4bbe95f98a5fd19fe60a']);

Result:
My flash message is not shown - it is just shown later on a other page

Use ajax to show it, or redirect to another page to show it.

Use ajax to show it, or redirect to another page to show it.


Querying a specific collumn:Query Builder

Hi,
Im trying to query a specific column from a query result. Am i doing it the right way? because im not getting a result
const quiz = yield Database.from('contents')
    .on('sql', console.log)
    .where('topic', name_stripped).limit(1)

    var question = quiz.question;

You need to call first if you expect only one result.
const quiz = yield Database.from('contents')
    .on('sql', console.log)
    .where('topic', name_stripped).first()

    var question = quiz.question;

Closing, since no response from issue reporter


Policy {Template} Hub Implementation

Description
Implementation of the Policy Hub.
The Policy Hub is supposed to handle central located, all available policies, based on a set of parameters.

With the initial implementation - following endpoints are supposed to get supported

Get Policy types
Get Policy json schema based on search values such as "policyType" and "policyCredentials"

Impact
The policy hub is supposed to support data provider
Additional information

[ ] I'm willing to contribute to this feature

The new component will get implemented as standalone product/component (separated from the portal product and IAM). A policy upload function is not planned - data upload is supposed to happen via seeding data files


#28

Fixed the error with terminating with error. This was due to the fact that the program was trying to convert the None in the tempscore file to an int. An if condition was added to check if it was None and add 0 instead

Works

!bounty 50


Alternative ways to make omnibox dark?

Maybe there are other ways to make omnibox dark except making a Windowblinds theme? It takes its color settings from windows, so changing high contrast colors changes it to dark (but makes other apps look awful). Maybe there is a way to apply high contrast settings to only chrome process? Even is an additional app is required I think this could be very useful.
Also we can create a request to make omnibox themeable and link it in theme description.

I appreciate your suggestions. However, I think what you are suggesting wrt creating a program to apply high contrast to Chrome only is pretty difficult to do. Creating a request for the Chrome devs is a good idea though, I may look to doing that.

except making a Windowblinds theme? It takes its color settings from windows

It used to in the old UI, but it doesn't seem to be the case with the new one. I have themed Windows 7 and old ui inherits dark scheme just fine. New UI (in Chrome Canary at least) forces it to be white when browser theme is installed. Can't believe they hardcoded it
old w/ theme:

new w/o theme:

new w/ theme

I guess I'll be staying away from new design after all. Context menus also look ridiculous in the new one

So I got curious and tried to look at the Chromium source code. Found this function, they actually hardcoded it. It has a TODO comment about determining omnibox tint from theme, but it's been there for over 7 months already and is probably long forgotten.
I suggest we look for an issue about this on chrome issue tracker or create a new one if it does not exists and endorse people to star it to show interest. And I'd also suggest reopening this issue but maybe labeling it as blocked for better visibility. It's clear that here's some interest in this.
In the meantime the only way to get dark omnibox with custom theme is to use GTK environment.
/cc @Fiddle-N

Some links that show the Chrome team are thinking about this:
https://bugs.chromium.org/p/chromium/issues/detail?id=838670
https://www.reddit.com/r/chrome/comments/9hqvh0/_/e6dxnsm
I won't reopen this issue because it's not so much an issue as a question. But if you want to add an issue such as "Omnibox colouring" I'm happy to keep it open and marked as blocked.

Well, that's reassuring.
Personally I would prefer if it also was customizable via theme's manifest as well – white omnibox sticks out way too much on many dark themes (and because I'm a stubborn Windows 7 user that wouldn't get dark omnibox otherwise). I should suggest that in a comment on that issue from chrome's bug tracker you linked.
Thanks for replying!


Docgen is broken on beta because dgeni doesn't understand es6

So basically it can't parse stuff like class

Well, that's a bummer. We can just switch the tsconfig to output es5, but that means no native promises.

I mean, we could npm install @types/es6-promise, but I'd prefer not to add a million hacks.  I guess we might have to though...

Just a thought, but promises seem to be pretty well supported on Node 4 and up, and Protractor requires 4.2.x anyway. Could you potentially target es5 but include the es2015.promise lib, convincing tsc that it's safe to proceed?
This would make the compilerOptions section of the tsconfig.json look like this:
{
    "compilerOptions": {
        "target": "es5",
        "lib": [ "es5", "es2015.promise" ],

        ....
    }
}

Here is a branch that is generating the website using the strategy of compiling to es5 and fixing up everything else :)
https://github.com/juliemr/protractor/tree/quickfix-website
We'll probably use this for the 5.0 release, and then get generation from TS working for later versions.

Fixed by https://github.com/angular/protractor/pull/4040

Note that https://github.com/angular/protractor/issues/2930 is still open - we've just patched a workaround which compiles down to es5 for documentation purposes.