relax absolute version requirement on eventio==0.11.0

this is needed to build a new conda package for v0.6.2 that doesn't require eventio==0.11.0 (and this can read recent montecarlo)

I think this should be changed to eventio >=0.11, <= 0.17.0 as that version made a breaking change for ctapipe, see https://github.com/cta-observatory/ctapipe/pull/966/files

can 0.17.0 read all the latest files? The main reason for this was to allow 0.6.2 to read some Prod3 files that 0.11 couldn't read (I can't remember which ones it couldn't read and for what reason though).  Also, could you switch to semantic versioning, so we can tell from the version if the API breaks?  perhaps it will just be easier to release ctapipe-0.7, but that has API changes...

0.17.0 is the version with the breaking change.
0.16.2 is the latest version that is compatible to ctapipe 0.6.2 and implemented fixes for reading certain types of frankenstein files and there was support for different new containers added in between 0.11 and 0.16.2

Also, could you switch to semantic versioning, so we can tell from the version if the API breaks?

We already do, but as the version was below 1.0, the breakage indicator is one to the right.
The problem here is, we made a breaking change and implemented new functionality.
And some people now want the new functionality without the breaking change.
This is however not easy without maintaining multiple release branches, which is a burden we do not want to have I think.

This is however not easy without maintaining multiple release branches, which is a burden we do not want to have I think.

Agreed for now at least. I don't have time to manage it.  So perhaps I just say wait until v0.7 and deal with the API change.

I think you misunderstood me. I think there is no reason not to release a ctapipe 0.6.3 with the dependency of eventio >=0.11,<0.17

But I think you just need to create a new branch from the v0.6.2 release and call it v0.6.x or similar.

branch from the v0.6.2

I think github  created a branch automatically from v0.6.2 tag (now there is both a tag and branch with the same name, which is a bit confusing), so I just need to figure out how to deal with that.  Otherwise it's ok.  I think I might still close this, since the problem we had with reading data with eventio-0.11 seems not to be a large issue. I'll wait a bit to see...

I think it was not possible to read SCT data because of the number of pixels it used a different version of the camera organization type, whihc was not yet implemented.

I'm closing this since it will be fixed in the next release.


Adding PyTorch Implementation

The current "nn" module will be replaced for a torch module that will be including a native simulation of the torch library on top on JAX. Also, the current "nn" will also be replaced by an identical keras module that will replicated the eager form of TensorFlow 2.

Actually this is not a torch oriented library and I would rather give the flexbility in TensorFlow tools, than develop PyTorch oriented tools.


irrelevant Maybe fix

Related: #5402

@gilgardosh thanks!

Please fix ci
Add changeset

@gilgardosh thanks!

Please fix ci
Add changeset


Could you please provide more examples of "configs" to evaluate the effects of more scenarios?

Hi,
Could you please provide more examples of "configs" to evaluate the effects of more scenarios?

Hi, in the pre-trained models, there are lots of editing cases (with configs). Due to the camera-ready of CVPR and my new project, I delayed my open-source schedule. I will try my best to release the training code ASAP.


What happened to the gh-pages branch?

The README mentions a gh-pages branch:

If you want to download a specific version, please look at the gh-pages branch, where you will find the built assets for both our latest and older versions.

But I don't see any such branch (broken link to where it would be). Maybe it's referring to a different repo?

Also have this query - I'd like to download an older built version of the font but can see no clear instructions to do so


Pages blank in Chrome in main view but not in thumbnail

Configuration
Web browser and its version
Uploaded bad PDF to the viewer. Chrome 62 displayed the page correctly as a thumbnail but did not display the page in main view. However, I am able to select text as if it's there. IE11 and Firefox 57 do not have issues.
I noticed a pattern. It was always the 9th page that had the issue.
Bad PDF Sample 1.pdf
Bad PDF Sample 2.pdf
Bad PDF Sample 3.pdf

Operating system and its version
Windows 7.
PDF.js version
The viewer seems to show PDF.js 2.0.183 in the console as of creating this bug. In production, my company utilizes PDF.js 1.4.20 and it exhibits this issue as well.
Is a browser extension
No.
Steps to reproduce the problem:

Open viewer and open the side panel. Ensure thumbnail previews are showing.
Load PDF and scroll down to page 9.
Verify that the thumbnail shows correctly and page is blank when it should not be.

Other Information
I generated the PDF using Chromium's Remote Debugger Protocol and then modified it via Apache PDFBox. Other PDF viewers show up correctly. I have tried Adobe Reader and Chrome's built-in PDF viewer. I have not tried dropping the PDFBox modifications, but if other PDF viewers are displaying as intended, then this is likely a PDF.js bug. We have not observed this issue when we were still using PhantomJS to generate PDFs.
I have tried hiding various sections before generating the PDF and in other configurations, the PDF displays correctly. It may be an ordering problem. This issue does feel intermittent but it is consistent when it happens.

I was testing this on Chrome on MacOS 10.12.5, and I noticed when I zoomed in sometimes the entire PDF would load and sometimes it would not. These are screenshots from the same PDF page as above (Bad PDF Sample 3.pdf, page 9) at various levels of zooming in:

Notice that the amount of the PDF shown changes even at the same zoom level

I would suggest to file an upstream bug in the Chrome issue tracker since this doesn't really look like it's caused by PDF.js, but rather by a browser/graphics driver issue.

Is it meaningful to keep this issue open, given that it's not something that can be fixed in the PDF.js library?


Python 3 Support

Are there plans to include support for Python 3?

Yes, there are. No committed date as yet though. We'd be more than happy to accept a PR.

@colinmcintosh We now support Python3 with SDK release 2.0.0

Woohoo!! Thanks for the update @rnagpal


URL shortener

Script Title - Creating URL shortener by changing base and using map/dict
what will change - Adding URL shortener script
Instructions

Create a new folder for your script and file/folder name should be appropriate.
Create a README.md in your folder for program Instructions
add requirements.txt if needed

Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language

[x] Python

Happy Coding,

can i take this issue?

Sure go ahead

in this task i have to make a custom url shortener or i can use tinyurl api @pawangeek

You can make it by any means. Just document it with README and requirements

ok :)


Calculators fields should have isOptional flag

x Is new feature

Description of suggestion or shortcoming:
When this feature is set, then when the field is empty, it should return an empty string or similar. This should be picked up by the underlying component.
This will be useful here, at least: https://squigglehub.org/models/ozziegooen/met-calories-calculator.
It could be nice to label this field as optional in the UI, but it's not a major concern at this point.

Would go well with: https://github.com/quantified-uncertainty/squiggle/issues/2932


feat: POI and layer legend in sidebar

This PR adds the legend for POIs and layers to the sidebar.
Clicking the legend items doesn't do anything yet. I'm thinking about implementing that functionality once we merge this PR. What do you think, @vogelino & @lucasoeth?

Maybe consider adding the warning logo if webp is not supported in this branch

Good point, thanks for noticing. I will add it here.

Thank you for the reviews, @lucasoeth and @vogelino. I implemented the webp support note now as well.


Kafka connect data format (struct|map) support in sink connector

Feature Description
The sink connector should support creating JSON documents from the Kafka Connect struct/map formats so that messages deserialzied from many other connectors can be stored in Cloudant.
The sink connector currently only supports an entire JSON document body as a string value. This means incoming messages have to be specifically formatted this way, which is quite restrictive.
This is incorrectly documented as requiring the sink connector config to use the JsonConverter when in fact it should really be a StringConverter. In this case the SinkRecord has a Schema of Schema.OPTIONAL_STRING_SCHEMA and a value of null or the String content. In the case the schema is null and the value cannot be cast to Map we could possibly also fallback to attempting to parse it as a string.
In the JsonConverter case the SinkRecord is as follows:

schemas.enable
schema
serialized value
deserialized value class

false
null
{...}
java.util.Map

true
Schema.Type.MAP
{"schema": {...}, "payload": {...}}
java.util.Map

true
Schema.Type.STRUCT
{"schema": {...}, "payload": {...}}
Struct

This work should add support for checking the incoming SinkRecord for a schema, if it is String then it should simply convert the String to bytes and pass it directly to the docs batch to write.
OTOH if the Schema type is Map or Struct then the record value should be cast to the appropriate type and the contents iterated to make the JSON document, which in turn can be added to the batch.
Any other schema type should result in an error since it doesn't have an obvious representation as a JSON document for us to write.
Worth noting that if the JSON doesn't contain an _id Cloudant will create one. As a separate piece of work we can provide a SMT to be applied by the user to add a specific ID that is not (yet) in the _id field so that it is present by the time the SinkRecord arrives.

Done in #71
Documentation: https://github.com/cloudant-labs/kafka-connect-cloudant#converter-configuration-sink-connector - gives a summary of what we actually landed on.


Add favorites section

It would be interesting to be able to mark some items in the history as favorites, and have them stay always on top, and have reserved positions in the history, so they are never removed due to overflow.
Maybe even have them fixed and out of the scrollable area

I like it, could be a section yeah or another window, have to give it a try to see what is best. Maybe the favorites section could accept drag & drop to it, to add new items.

Added basic implementation for this feature, check it if you can and give me some feedback. Right now you can enable/disable it in Preferences (it is enabled by default), it allows you to pin/unpin objects from the history to the favorites (rendered together in the same window but favorites are always there).


Deep clone the object passed to transformData

For now, I've mostly used transformData to modify a specific attribute.
I think it makes more sense to pass a deep cloned version of the data object than the original one.
For instance, to make sure we're not messing with internal variables, for a price facet refinement, we'd have to do:
{
  transformData: function(data) {
    return {
      isRefined: data.isRefined,
      name: '$' + data.name,
      count: data.count,
      etc.
    }
  }
}

or
{
  transformData: function(data) {
    data = whatevercloningmethodwewant(data);
    data.name = '$' + data.name;
    return data;
  }
}

I'd like to easily be able to do:
{
  transformData: function(data) {
    data.name = '$' + data.name;
    return data;
  }
}

It would be less error prone, and probably not resource consuming since we're using the original data if transformData hasn't been specified.
I'm opening this issue since I've been affected in my currentRefinedValues implementation, I modified the name value for the display and ended up screwing up my onClick handler which was using it.

Indeed every data we pass to user functions should be cloned. An easy and performant cloning mechanism is JSON.parse(JSON.stringify()).
Spots:

https://github.com/algolia/instantsearch.js/blob/6ce160b7505a21fd16b3207b8f37b658c2e120b5/src/components/Template.js#L100
https://github.com/algolia/instantsearch.js/blob/6ce160b7505a21fd16b3207b8f37b658c2e120b5/src/components/Template.js#L71
https://github.com/algolia/instantsearch.js/blob/6ce160b7505a21fd16b3207b8f37b658c2e120b5/src/components/Template.js#L75

I'm opening this issue since I've been affected in my currentRefinedValues implementation, I modified the name value for the display and ended up screwing up my onClick handler which was using it.

Even if we should clone data, I wonder how this can happen

Really simplified:
function clearRefinement(helper, refinement) {
  helper.clearRefinement(refinement.attributeName, refinement.name);
}
let refinement = { name: 'val' };
let handleClick = clearRefinement.bind(helper, refinement);
<Template onClick={handleClick} templateData={refinement} transformData={(data) => { data.name = 'notval'; return data; }}

Here is my diff for this:
@@ -1,6 +1,7 @@
 let React = require('react');
 let mapValues = require('lodash/object/mapValues');
 let curry = require('lodash/function/curry');
+let cloneDeep = require('lodash/lang/cloneDeep');
 let hogan = require('hogan.js');

 class Template extends React.Component {
@@ -66,17 +67,19 @@ function transformData(fn, templateKey, originalData) {
     return originalData;
   }

+  let clonedData = cloneDeep(originalData);
+
   let data;
   if (typeof fn === 'function') {
-    data = fn(originalData);
+    data = fn(clonedData);
   } else if (typeof fn === 'object') {
     // ex: transformData: {hit, empty}
     if (fn[templateKey]) {
-      data = fn[templateKey](originalData);
+      data = fn[templateKey](clonedData);
     } else {
       // if the templateKey doesn't exist, just use the
       // original data
-      data = originalData;
+      data = clonedData;
     }
   } else {
     throw new Error('`transformData` must be a function or an object');

Here is my diff for this:
@@ -1,6 +1,7 @@
 let React = require('react');
 let mapValues = require('lodash/object/mapValues');
 let curry = require('lodash/function/curry');
+let cloneDeep = require('lodash/lang/cloneDeep');
 let hogan = require('hogan.js');

 class Template extends React.Component {
@@ -66,13 +67,15 @@ function transformData(fn, templateKey, originalData) {
     return originalData;
   }

+  let clonedData = cloneDeep(originalData);
+
   let data;
   if (typeof fn === 'function') {
-    data = fn(originalData);
+    data = fn(clonedData);
   } else if (typeof fn === 'object') {
     // ex: transformData: {hit, empty}
     if (fn[templateKey]) {
-      data = fn[templateKey](originalData);
+      data = fn[templateKey](clonedData);
     } else {
       // if the templateKey doesn't exist, just use the
       // original data
``

function clearRefinement(helper, refinement) {
helper.clearRefinement(refinement.attributeName, refinement.name);
}
let refinement = { name: 'val' };
let handleClick = clearRefinement.bind(helper, refinement);

You can get out of any cloning issue here by directly passing the right value instead of an object reference. We do this in some components/widgets I believe.

True, but should we really have to worry about this?

Let's see once you submit the PR, it will be easier to discuss there indeed. The issue you brought still need to be taken care of that's for sure

:+1: @Jerskouille


Improve feature test coverage

Improve test coverage-Add test results feature tests
Description
Submit test results -happy path
Edit test results
Validate error message when form fields left empty
Also added below in support folder
feature.helpers
Capybara matchers and other h1 and title matchers (copied over from cos project)
Checklist:

[ ] Automated checks are passing locally.
[ ] CHANGELOG updated if change is worth telling users about.

General testing

[ ] Test without javascript
[ ] Test on small screen

Accessibility testing

[ ] Works keyboard only
[ ] Tested with one screen reader
[ ] Zoom page to 400% - content still visible
[ ] Disable css - does content make sense and appear in a logical order?
[ ] Passes automated checker (automated in build or manual)

This branch is mostly superseded by pr #303 , lets get that merge first and then I can some def to respective files as suggested.

this pr is superseded by #303  all the review comments in this pr are already implemented


onScrollOffsetChange doesn't work right sometimes.

onScrollOffsetChange doesn't work right sometimes. It shows wrong values when I swipe fast. For example, while the value should be 0, it shows the value 81.66666412353516 on the console. I had no such problem when using FlatList.
onScrollOffsetChange={ y => {

                    console.log(y);

                    if (y >= 36 && state == false) {
                        setState(true);
                    }

                    if (y < 36 && state == true) {
                        setState(false);
                    }

}}

Platform & Dependencies

Platform: Android
React Native or Expo version: React Native 0.62.2
Reanimated version: ^1.8.0
React Native Gesture Handler version: ^1.6.1

This is due to setStates. onScrollOffsetChange values are generated late when State is updated. It's a very instant time. That's why the state is updated while scrolling, and if the scroll finishes, it returns the old value instead of 0. If setState is not used, there is no problem. I couldn't find a solution for this and had to make changes in my own application.


no such table: auth_user

Hi,
Joplin web is up and running and have connected a custom domain. When I log into Django administration, I see Server Error (500). In the logs:
HTTP b'POST' request for ['<IP_ADDRESS>', 50508]
Internal Server Error: /admin/login/
Traceback (most recent call last):
File "/root/.local/lib/python3.9/site-packages/django/db/backends/utils.py", line 89, in _execute
return self.cursor.execute(sql, params)
File "/root/.local/lib/python3.9/site-packages/django/db/backends/sqlite3/base.py", line 477, in execute
return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: no such table: auth_user
I've tried a clean install, deleted directories, etc, but cannot get past this error.

Hi
This quick post just to say I've seen your issue report... unfortunatly I'm on a business trip the whole week, you'll have to wait.
In the meantime, could you try to reinstall from scratch, and when you do you docker-compose up, don't pass the -d option, so you'll see all the logs of all the containers.
The error you reported makes me think the admin app is not wel installed, or the volume for the sqlite database is not created, or something around that.
Could you try, and paste the logs here.
Thanks

Hello,
I know, this ticket is rather old, but I've encountered the same issue also with the newest version.
I did a fresh installation using the docker image and just configured the environment variables for the ORIGINS. Beside that, all is directly plain from the documentation.
After starting the container and going to the admin url, I've entered the default admin credentials and see the following error in the container logs:
Oct 17 17:26:29 616-joplin-web HTTP b'POST' request for ['<IP_ADDRESS>', 47208]
Oct 17 17:26:29 616-joplin-web Internal Server Error: /admin/login/
Oct 17 17:26:29 616-joplin-web Traceback (most recent call last):
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/db/backends/utils.py", line 89, in _execute
Oct 17 17:26:29 616-joplin-web     return self.cursor.execute(sql, params)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/db/backends/sqlite3/base.py", line 328, in execute
Oct 17 17:26:29 616-joplin-web     return super().execute(query, params)
Oct 17 17:26:29 616-joplin-web sqlite3.OperationalError: no such table: auth_user
Oct 17 17:26:29 616-joplin-web
Oct 17 17:26:29 616-joplin-web The above exception was the direct cause of the following exception:
Oct 17 17:26:29 616-joplin-web
Oct 17 17:26:29 616-joplin-web Traceback (most recent call last):
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/asgiref/sync.py", line 534, in thread_handler
Oct 17 17:26:29 616-joplin-web     raise exc_info[1]
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 42, in inner
Oct 17 17:26:29 616-joplin-web     response = await get_response(request)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/core/handlers/base.py", line 253, in _get_response_async
Oct 17 17:26:29 616-joplin-web     response = await wrapped_callback(
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/asgiref/sync.py", line 479, in __call__
Oct 17 17:26:29 616-joplin-web     ret: _R = await loop.run_in_executor(
Oct 17 17:26:29 616-joplin-web   File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
Oct 17 17:26:29 616-joplin-web     result = self.fn(*self.args, **self.kwargs)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/asgiref/sync.py", line 538, in thread_handler
Oct 17 17:26:29 616-joplin-web     return func(*args, **kwargs)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/utils/decorators.py", line 46, in _wrapper
Oct 17 17:26:29 616-joplin-web     return bound_method(*args, **kwargs)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/views/decorators/cache.py", line 62, in _wrapper_view_func
Oct 17 17:26:29 616-joplin-web     response = view_func(request, *args, **kwargs)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/contrib/admin/sites.py", line 441, in login
Oct 17 17:26:29 616-joplin-web     return LoginView.as_view(**defaults)(request)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/views/generic/base.py", line 104, in view
Oct 17 17:26:29 616-joplin-web     return self.dispatch(request, *args, **kwargs)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/utils/decorators.py", line 46, in _wrapper
Oct 17 17:26:29 616-joplin-web     return bound_method(*args, **kwargs)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/views/decorators/debug.py", line 92, in sensitive_post_parameters_wrapper
Oct 17 17:26:29 616-joplin-web     return view(request, *args, **kwargs)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/utils/decorators.py", line 46, in _wrapper
Oct 17 17:26:29 616-joplin-web     return bound_method(*args, **kwargs)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/utils/decorators.py", line 134, in _wrapper_view
Oct 17 17:26:29 616-joplin-web     response = view_func(request, *args, **kwargs)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/utils/decorators.py", line 46, in _wrapper
Oct 17 17:26:29 616-joplin-web     return bound_method(*args, **kwargs)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/views/decorators/cache.py", line 62, in _wrapper_view_func
Oct 17 17:26:29 616-joplin-web     response = view_func(request, *args, **kwargs)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/contrib/auth/views.py", line 90, in dispatch
Oct 17 17:26:29 616-joplin-web     return super().dispatch(request, *args, **kwargs)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/views/generic/base.py", line 143, in dispatch
Oct 17 17:26:29 616-joplin-web     return handler(request, *args, **kwargs)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/views/generic/edit.py", line 152, in post
Oct 17 17:26:29 616-joplin-web     if form.is_valid():
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/forms/forms.py", line 201, in is_valid
Oct 17 17:26:29 616-joplin-web     return self.is_bound and not self.errors
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/forms/forms.py", line 196, in errors
Oct 17 17:26:29 616-joplin-web     self.full_clean()
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/forms/forms.py", line 434, in full_clean
Oct 17 17:26:29 616-joplin-web     self._clean_form()
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/forms/forms.py", line 455, in _clean_form
Oct 17 17:26:29 616-joplin-web     cleaned_data = self.clean()
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/contrib/auth/forms.py", line 242, in clean
Oct 17 17:26:29 616-joplin-web     self.user_cache = authenticate(
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/views/decorators/debug.py", line 42, in sensitive_variables_wrapper
Oct 17 17:26:29 616-joplin-web     return func(*func_args, **func_kwargs)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/contrib/auth/__init__.py", line 77, in authenticate
Oct 17 17:26:29 616-joplin-web     user = backend.authenticate(request, **credentials)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/contrib/auth/backends.py", line 46, in authenticate
Oct 17 17:26:29 616-joplin-web     user = UserModel._default_manager.get_by_natural_key(username)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/contrib/auth/base_user.py", line 54, in get_by_natural_key
Oct 17 17:26:29 616-joplin-web     return self.get(**{self.model.USERNAME_FIELD: username})
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/db/models/manager.py", line 87, in manager_method
Oct 17 17:26:29 616-joplin-web     return getattr(self.get_queryset(), name)(*args, **kwargs)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/db/models/query.py", line 633, in get
Oct 17 17:26:29 616-joplin-web     num = len(clone)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/db/models/query.py", line 380, in __len__
Oct 17 17:26:29 616-joplin-web     self._fetch_all()
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/db/models/query.py", line 1881, in _fetch_all
Oct 17 17:26:29 616-joplin-web     self._result_cache = list(self._iterable_class(self))
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/db/models/query.py", line 91, in __iter__
Oct 17 17:26:29 616-joplin-web     results = compiler.execute_sql(
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/db/models/sql/compiler.py", line 1562, in execute_sql
Oct 17 17:26:29 616-joplin-web     cursor.execute(sql, params)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/db/backends/utils.py", line 67, in execute
Oct 17 17:26:29 616-joplin-web     return self._execute_with_wrappers(
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
Oct 17 17:26:29 616-joplin-web     return executor(sql, params, many, context)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/db/backends/utils.py", line 89, in _execute
Oct 17 17:26:29 616-joplin-web     return self.cursor.execute(sql, params)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/db/utils.py", line 91, in __exit__
Oct 17 17:26:29 616-joplin-web     raise dj_exc_value.with_traceback(traceback) from exc_value
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/db/backends/utils.py", line 89, in _execute
Oct 17 17:26:29 616-joplin-web     return self.cursor.execute(sql, params)
Oct 17 17:26:29 616-joplin-web   File "/root/.local/lib/python3.9/site-packages/django/db/backends/sqlite3/base.py", line 328, in execute
Oct 17 17:26:29 616-joplin-web     return super().execute(query, params)
Oct 17 17:26:29 616-joplin-web django.db.utils.OperationalError: no such table: auth_user
Oct 17 17:26:29 616-joplin-web HTTP 500 response started for ['<IP_ADDRESS>', 47208]

I also had a look in the database.sqlite (present in the docker volume and automatically created during first container startup) and indeed, the mentioned table auth_user is not present. A lot of other tables seem to be instantiated properly, but this one is missing.
Is there something missing in the compose configuration or is this an error ?
Thanks and kind regards
raindrop

Hi @mcrainydrop
I'll have a look and try to install, lioke you, from scratch.
Right now I don't see why could cause this error... I would need to dive inside again... I've been too long far from that.
I'll have a look as fast as I can.

Hello @mcrainydrop and @ams-123
I've just try to work on that topic, but I cannot reproduce your issue.
What I've done:
docker-compose up in a "fresh install", which means I've deleted joplin and joplin-veweb volumes.
You can delete volumes by docker command, or if your docker-compose is "up", you can do: docker-compose down -v
⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠
⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠⚠
It will delete your volumes, if you have your notes inside, be sure they are safe elsewhere !!!
When docker-compose is up, I can see in the django-joplin-vieweb container logs:
...

Operations to perform:
  Apply all migrations: admin, auth, contenttypes, sessions
Running migrations:
  Applying contenttypes.0001_initial... OK
  Applying auth.0001_initial... OK
  Applying admin.0001_initial... OK
  Applying admin.0002_logentry_remove_auto_add... OK
  Applying admin.0003_logentry_add_action_flag_choices... OK
  Applying contenttypes.0002_remove_content_type_name... OK
  Applying auth.0002_alter_permission_name_max_length... OK
  Applying auth.0003_alter_user_email_max_length... OK
  Applying auth.0004_alter_user_username_opts... OK
  Applying auth.0005_alter_user_last_login_null... OK
  Applying auth.0006_require_contenttypes_0002... OK
  Applying auth.0007_alter_validators_add_error_messages... OK
  Applying auth.0008_alter_user_username_max_length... OK
  Applying auth.0009_alter_user_last_name_max_length... OK
  Applying auth.0010_alter_group_name_max_length... OK
  Applying auth.0011_update_proxy_permissions... OK
  Applying auth.0012_alter_user_first_name_max_length... OK
  Applying sessions.0001_initial... OK

then everything is ok for me: I can login in the admin (http://localhost/admin), create user, login with that user...
Please try again, but before, do an upgrade of the images: I've fixed bug #34 , it may change something in your case (or not, but let's work on the last versions):
sudo docker-compose down
sudo docker-compose pull
sudo docker-compose up -d

I'm waiting for your feedback.

Hello,
first of all, thank you for your time and investigation!
I tried the new container version as you suggested, but the issue was still present.
As you have posted the "correct" logs from your container startup, I had a look at my startup logs and found a discrepancy:
Although the startup was finished successfully with the following content:
Nov  2 16:37:32 616-joplin-web Starting server at tcp:port=8001:interface=<IP_ADDRESS>
Nov  2 16:37:32 616-joplin-web HTTP/2 support not enabled (install the http2 and tls Twisted extras)
Nov  2 16:37:32 616-joplin-web Configuring endpoint tcp:port=8001:interface=<IP_ADDRESS>
Nov  2 16:37:32 616-joplin-web Listening on TCP address <IP_ADDRESS>:8001

But before that there were some errors with the CSRF configuration:
Nov  2 16:37:28 616-joplin-web SystemCheckError: System check identified some issues:
Nov  2 16:37:28 616-joplin-web ERRORS:
Nov  2 16:37:28 616-joplin-web ?: (4_0.E001) As of Django 4.0, the values in the CSRF_TRUSTED_ORIGINS setting must start with a scheme (usually http:// or https://) but found 127.0.
0.1. See the release notes for details.

Due to the fact, that the startup continued and the correct values from my configuration in the compose are printed, I've underestimated this message as real error.
I've specified just <IP_ADDRESS> (without http) as second allowed value for the ORIGINS variable (I had to specify a second value, because without that, I got an error, that the configuration was invalid).
I don't know, whether this is an Django internal behavior or something in the app, that the bootstrapping just continues successfully although this error (and therefore no database initialization) ?!
But anyway, thank you very much for providing a "startup" help for debugging this issue !

Hi @mcrainydrop
Yes in the ORIGINS variable in the docker-compose file you must specify a scheme (http or https): the one you will use to access your notes.
For instance mine is like that:
x-common-variables: &common-variables
   ORIGINS: "'https://mydomain.fr'"

So you should be able to give only one ORIGIN.
Maybe previously you has the #34 issue that made you "believe" you need 2 origins.
So please try with origins you need, providing scheme.
For instance you may write something like that:
x-common-variables: &common-variables
   ORIGINS: "'https://yourdomain.com', 'http://localhost:8000'"

if you want to access your notes from those urls:

https://yourdomain.com/joplin
http://localhost:8000/joplin  (the product listens to port 8000).
Be carreful: the list of origins is between double quotes ("), and each origin is between simple quote(').

Let's try to fix that... then we'll see this issue about no such table....

It's also working with just one entry in the ORIGINS :-)
I think, I mixed the database initialization error (due to the missing scheme) up with the ORIGINS specification error, or as you said, it was solved due to the other issue.
Anyway, both problems are resolved now and it's working, thank you very much !!


Optional dependency should not be statically imported

Please check https://github.com/Karibash/storybook-addon-swc/blob/e8f97e564b965f6545c48cbe4c16077cfbee0b11/src/transformers.ts#L3
IMHO, as terser-webpack-plugin is a optional peer dependency you should dynamically require it only when we use terser for minification.

@HosseinAgha
Thank you for reporting the issue.
Thank you for your report.
I corrected the problem in the following PR.
https://github.com/Karibash/storybook-addon-swc/pull/39
The relevant fix is applied from v1.1.8.


[FR] Jump back to the previous browsing position with each refresh

Considering that it often refreshes, is it possible to implement the functionality of returning to the last viewed position after each refresh by recording the current file name being browsed?

I would still like more information about the "it often refreshes" and what steps to reproduce the refresh are needed.
What is refreshing? the main gallery? A block gallery?
When is it refreshing? When you resize the screen? when you're scrolling? when you change tags? when you change tabs?
Are you getting this issue on mobile or desktop?
I can look into a way to keep your scrolling place in the main gallery when there is a reload, but all of the circumstances that I know of where a reload will happen should now either be a change in which images are displayed, or where they are displayed, so keeping you in the same scroll position would not necessarily mean you are looking at the same images anyway. If you can get me more details about reproduction steps I can look into this issue more thoroughly

Closing this since I don't have enough information to reproduce the 'often refreshing' issue


Skip integration tests when NO_BROWSER is set

If BROWSER env var is set in the shell globally for other purposes, the test suite will fail.
I saw the Travis config has NO_BROWSER=true set, so I made it skip integration tests when it's set. I haven't found NO_BROWSER anywhere else in the code.

@bagilevi NO_BROWSER is there because the yaml file for travis requires me to set an ENV.  It doesn't get used.  If you don't have BROWSER, it runs without the integration tests.

@ryanstout The problem is when you follow the instructions for running the tests, it won't work if you have the BROWSER env var set in your shell (from bashrc or similar).

@bagilevi is that a common thing?  (is there an example for why people have browser specified?)

It's used by zprezto's git-hub-browse, set here.


Files changed by go fmt do not cause build failure

Rancher Server Setup

Rancher version: 2.5.14, 2.5.15 (at minimum)
Installation option (Docker install/Helm Chart): N/A Issue in build

Describe the bug
When the build process is not able to download golangci (relevant code), it instead runs go fmt on all code and skips an exit check for a dirty repo (relevant code).
This prevents the build from failing when a user has not properly ran go fmt on their code (since the check for a dirty repo which fails the build appears to be no longer run). In addition, since the code is different in the pipeline after go fmt is run, rancher artifacts built in the CI have a version which is marked as dirty.
To Reproduce
Run the CI pipeline for one of the affected versions above.
Result
Rancher agent version is suffixed with dirty
Expected Result
Agent version should not be suffixed with dirty.
Additional context

Related to rancher/tasks#203
The most simple fix for this issue is to just ensure that the golangci utility is downloaded as expected. This was achieved for 2.5 with rancher/rancher#38161 and for 2.6 with rancher/rancher#35429
Realistically, the build should be fixed to fail if any given command fails. This will help to ensure similar behavior does not occur if the url is changed again in the future.

only a drone change - should be fine to past DC cc @sowmyav27

Build successfully failed in test PR https://github.com/rancher/rancher/pull/39244 because of a file that was not go-fmt-ed.


Schedule send email

Checklist

[X] I have used the search function to see if someone else has already submitted the same feature request.
[X] I will describe the problem with as much detail as possible.
[X] This issue only contains a request for one single feature, not multiple (related) features.

App version
6.603
Problem you are trying to solve
I would like to send an email at a later time automatically. Such a feature exists on gmail, where you can specify the date and time of sending. The only difference is that the email scheduled to be sent later is stored on google's servers and only at the specified time does it get sent from the server to the recipient.
Suggested solution
K-9 being an IMAP client on android could fulfill such a feature by running in the background or make period time checks. When the time-check is at the specified scheduled time, the email gets sent from the client to the recipient.
Screenshots / Drawings / Technical details
No response

this is really a server-side capacity - which is how outlook and, as you note, gmail handles this option. trying to do this from this client-side is very unreliable as it assumes the device is on, has connectivity and the app is running at the specified time(s).

Duplicate of #688


windows-rs 0.23 is incompatible with embedded icons in resource files

We're using the embed_resource crate to embed a resource file in our application, we're doing this mostly to set up our app icon;
#define IDI_ICON 0x101

IDI_ICON ICON "icon.ico"

#define RT_MANIFEST 24
#define APP_MANIFEST 1

APP_MANIFEST RT_MANIFEST breda.manifest

With this in our build.rs
    if std::env::var("CARGO_CFG_TARGET_OS").expect("target platform not set") == "windows" {
        embed_resource::compile("../../resources/windows.rc");
    }

However this seems to fail with the following error messages:
          CVTRES : fatal error CVT1100: duplicate resource.  type:ICON, name:1, language:0x0409
          LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

Does windows-rs embed it's own icon, or what's going on?
Fwiw: removing our call to embed_resource fixes this issue.

Closing this for now. @Jasper-Bekkers feel free to follow up here as needed. (Will also keep an eye on Traverse Research and Embark Studios, sounds like you're cooking up something good over there! 👀)

I think the repro is not representative of our build setup, but I haven't been able to nail down exactly what's happening on our end. Needs further investigation, though I feel closing is a bit premature

Feel free to reopen once you have a repro to share.

I have uncovered the problem on our end. embed_resource creates a library with the file stem of our resource - which is "conveniently" named windows.rc - resulting in windows.lib. Both embed_resource and windows-rs tell the linker to link dylib=windows: our resource library is found first and linked twice resulting in this duplication error (without even getting to the tons of linker errors for not finding windows-rs's windows.lib, that must be a later step in the linking process).
Renaming it to app.rc solves the issue, and explains why @riverar's repro doesn't repro the issue.

Nice sleuthing, thanks @MarijnS95!


[parallel-deployment] Cannot PROPFIND file information (using ocis selector)

Describe the bug
PR #4115 pulls in updated code from reva edge branch. This scenario starts failing with that updated reva code:
https://drone.owncloud.com/owncloud/ocis/13143/75/14
runsh: Total unexpected failed scenarios throughout the test run:
apiWebdavOperations/downloadFile.feature:35

That failed again the same after I restarted.
  Background:                                                                                # /drone/src/tests/parallelDeployAcceptance/features/apiWebdavOperations/downloadFile.feature:7
    Given using "oc10" as owncloud selector                                                     # ParallelContext::usingOwncloudSelector()
    And user "Alice" has been created with default attributes and without skeleton files        # FeatureContext::userHasBeenCreatedWithDefaultAttributesAndWithoutSkeletonFiles()
    And user "Alice" has uploaded file with content "ownCloud test text file" to "textfile.txt" # FeatureContext::userHasUploadedAFileWithContentTo()

  Scenario: Get the size of a file                                              # /drone/src/tests/parallelDeployAcceptance/features/apiWebdavOperations/downloadFile.feature:35
    Given using "ocis" as owncloud selector                                     # ParallelContext::usingOwncloudSelector()
    When user "Alice" gets the size of file "textfile.txt" using the WebDAV API # FeatureContext::userGetsSizeOfFileUsingTheWebdavApi()
    Then the HTTP status code should be "207"                                   # FeatureContext::thenTheHTTPStatusCodeShouldBe()
      HTTP status code 404 is not the expected value 207
      Failed asserting that 404 matches expected '207'.
    And the size of the file should be "23"                                     # FeatureContext::theSizeOfTheFileShouldBe()

Steps to reproduce
Run CI parallel-deployment test scenarios.
Expected behavior
Pass
Actual behavior
A file was uploaded to oC10. A PROPFIND to find out about the file is sent to oCIS, but returns a 404 "not found".
Setup
Current oCIS CI.
Also see comment https://github.com/owncloud/ocis/pull/4115#issuecomment-1177082508

Not needed for GA


sync: use pkgspec for --ignore instead of repository sections

This removes the need for pacini or random seeking of files, and so solves https://github.com/AladW/aurutils/issues/880

https://github.com/AladW/aurutils/pull/1009


Failure to find initial guess for methods other than DCM and DCM REFLECTION

CPZM only fails sometimes (at high asymetry), but PHI and INV always fail.

Could you add the data causing these errors?


Problem with initialValues, empty input controls on form initialization

Are you submitting a bug report or a feature request?

What is the current behavior?

http://jsbin.com/xaqamomiku/edit?html,js,console,output
What is the expected behavior?
Default values into input controls from initialValues
Sandbox Link

What's your environment?

JSbin example have included scripts with versions
Other information

Mount the form reducer under 'form'.
http://jsbin.com/wewiguxoqe/5/edit?html,js,console,output


setup travis.ci

setup travis.ci

hi @caarlos0  -- can you turn on travis-ci for me.  I would need admin rights (which I don't care about).
Just go here and flick the switch:
https://travis-ci.org/profile/goreleaser
(also might want to review what's on or not here).
thanks!
n

Sure!

Done

seems to be working.
over and out.


CVE-2022-37434  reported on kube-proxy container.

Kubernetes version: 1.24.10
Cloud being used: (put bare-metal if not on a public cloud) AWS
Installation method: Kubeadm
Host OS: Flatcar 3374.2.4
CNI and version: calico 3.24.3
How to remediate it without upgrading to 1.25 version

hi, @shnigam2 Github is not the right place for support requests.
You can ask questions on k8s slack

/kind support

/close


Farm's uptime percentage overview

Which package/s are you suggesting this feature for?
Dashboard
Is your feature request related to a problem? Please describe
According to the latest GEP, DIYs must maintain 95% uptime, while certified Nodes need to achieve 98% uptime. Many farmers have numerous Nodes, making it impractical to monitor each one individually due to time constraints. Implementing a feature to check the overall farm's Node uptime in percentage format would be highly beneficial.
Describe the solution you'd like
To my knowledge, we are unable to calculate the total uptime in a month until it reaches the month's end. It would be beneficial to display the uptime percentage based on the achieved uptime divided by the days completed in the month.

Update uptime calculation

investigating uptime miscalculation, writing docstrings to explain calculation

Fixed edge cases handling

@amiraabouhadid is that linked to a specific PR? should I move it to 3.16?

Not linked to a pr, can be moved to 3.16


Update stable version in repo from 1.1.4 to 1.2.0

Think about update stable version to 1.2.0
Version: stable=1.1.4 (226 days old) => latest=1.2.0 (15 days old)
Installs: stable=5452 (74.43%), latest=652 (8.9%), total=7325
Click to use developer portal
Click to edit
Do not close this issue manually as a new issue will be created if condition for update still exists.
Please drop a comment if any reason exists which blocks updating to version 1.2.0 at this time.
Note: This is an automatically generated message and not personally authored by bluefox!
@mcm1957 for evidence

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 1.2.0 but the current stable version is already 1.2.0.
So this issue should be closed.
@mcm1957 for evidence


Message definition for message types with multiple variables

Want to be able to send e.g. aimPoints (ID = 1172) which has multiple variables within the message

Yes, the new message is now available! Variables are split by "|" And sorted by the order definition in OpenDLV messages sets.
In this case:
opendlv.logic.action.AimPoint
azimuthAngle|zenithAngle|distance
input will be: 0.0|0.0|0.0
(Just try it. this format is set as the default value)
:)

Works great :)


Installer: get rid of the final step?

It seems like it's superfluous to have a summary step. In addition you need to click twice to get to the wallet. We should probably get rid of it, start the wallet immediately when clicking next after the bitcoind step, and do something like #620 to be able to inspect your setup.
Thoughts?

agree on that point, less click = better

Edouard says we still need a screen to display any error that may occur when starting the daemon. So our thinking would be to simply display a load spinner when clicking "Next" after the Bitcoin Core setup step. We'd display any error there and otherwise would immediately move on to start the wallet (or sync) with no further click.

I've made a simple change in https://github.com/wizardsardine/liana/commit/55e60b00af37e1037e8ee39296bcb211d155d72e to automatically install the wallet and start Liana on the final step. The config summary has been removed from the page and it only displays Installing ... and then Installed ! before moving to the wallet sync screen. Any installation error will still be displayed. I could also remove all other contents from the page (such as the Previous button).
I've found examples of load spinners in https://github.com/iced-rs/iced/tree/master/examples/loading_spinners, which we might also want to use elsewhere (e.g. when managed bitcoind is starting). On the other hand, the Installing ... stage typically takes only 2-3 secs so I wanted to check if the load spinner is required before proceeding.

Yeah no need for the load spinner if it's only a couple seconds with an "Installing" message already.

looking forward to try that, thanks @jp1ac4 ! It'll make the UI/UX much less scary.

OK thanks, I'll skip the load spinner for now.
This final step is displayed like other steps in the installer (with Previous button and progress, e.g. 6 | 6, in top right-hand corner). I could remove those so that it's empty with just Installing ... shown in the centre, although it might be clearer to the user to display it like other steps in order to understand it's still part of the installer.
I could change the title from "Final step" to something like "Finalize installation".

I think it's good to keep the "previous" if there is no reason to remove it.
Regarding the title either way is fine by me.
------- Original Message -------
On Thursday, September 14th, 2023 at 1:25 PM, jp1ac4 @.***> wrote:

OK thanks, I'll skip the load spinner for now.
This final step is displayed like other steps in the installer (with Previous button and progress, e.g. 6 | 6, in top right-hand corner). I could remove those so that it's empty with just Installing ... shown in the centre, although it might be clearer to the user to display it like other steps in order to understand it's still part of the installer.
I could change the title from "Final step" to something like "Finalize installation".
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


[User-Story] - DSL for Load Mapping

Story
As a USER who PRECONDITIONS, I want to DO_THING so I can ACCOMPLISH_GOAL.
Acceptance Criteria

[ ] Criteria 1
[ ] Criteria 2
[ ] Criteria 3

Dependencies

[ ] Blocked by issue one
[ ] Blocked by issue two
[ ] Blocked by issue three

Additional context
Add any other context or screenshots about the research request here.

https://github.com/dqualizer/dqlang/tree/main/schemas/domain-architecture-mapping


Terminal interactedWith not clear if this means explicit user interaction

Testing #130775
It is not 100% clear to me if the interactedWith will be fired if VS Code automatically opens a terminal with some command (for example when starting debugging in an internal terminal). interactedWith sounds like user initiated, I am not sure if it behaves like that in practice. We could also clarify this a bit in the docs.

Sounds good, right now we mention "key is pressed" but it should also mention "sent text" to align with these:


Implement Continuous Integration and deployment

This library- due to infrequent updates keeping it off my radar most of the time- has slipped through the cracks of best practise and is missing some CI and deployment workflows that could help externalise some of the steps I (having half forgotten) perform when a new release is required.
Releases are so infrequent that this might not be worth the hassle, but maybe we should:

[ ] Implement GItHub workflow to build library and check it compiles
[ ] Implement GitHub workflow to deploy tagged releases to PyPi (Potentially?)

This may be of use for the pushing to PyPi:
https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
I looked at this, I think something like this would work. Building universal wheels in this lib I don't think will work on GH actions so the build on push is not much use since it is only sdist. Piwheels should do it for RPi anyway, so just sdist should be good enough for users.
name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI

on:
  push:
  release:
    types: [released]
jobs:
  build-n-publish:
    name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@master
      with:
        submodules: recursive
    - name: Set up Python 3.7
      uses: actions/setup-python@v1
      with:
        python-version: 3.7

    - name: Install build tools
      run: |
        python -m pip install --upgrade pip setuptools wheel

    - name: Build a binary wheel and a source tarball
      run: |
        cd library
        python setup.py sdist

   - name: Publish distribution 📦 to Test PyPI
      if: github.event_name == 'release'
      uses: pypa/gh-action-pypi-publish@master
      with:
        password: ${{ secrets.TEST_PYPI_API_TOKEN }}
        repository_url: https://test.pypi.org/legacy/

    - name: Publish distribution 📦 to PyPI
      uses: pypa/gh-action-pypi-publish@master
      with:
        password: ${{ secrets.PYPI_API_TOKEN }}

@Gadgetoid Let me know what you think, maybe publishing 4.2.6 can be it's test run... though it may be better to test this exclusively on TestPyPi first.

Though as a side note, I don't know if it was intentional or not that 4.2.6 hasn't made it to PyPi yet, with the tag on Github and version bump.


Bugged Accounts

Since I am still having problems with the bugged accounts thing and others maybe as well I wanted to start a new issue exclusively about this topic. As everyone knows big companies still sell tons of coins / day so I am sure there needs to be a way which fixes the bug account problem.
Hope we can help each other to find a solution.

Solved

Interesting, you managed to solve one of the longest ongoing issues and don't even offer a hint as to how others can help solve it too?

At the moment no, I tried hundreds of different things (all those which you tried as well - dynamical RPM/clearing cookies/relogg on first exception and so on), created nearly 100 accounts and activated them by myself until I found the solution (hopefully it is the solution). I am still not sure whether its the 100% solution, but 20 accounts are running for nearly 24hours now without problems.  I'm sure if you think long enough about it you will realize why.

It does mainly (98% i guess) affect business hosters. Since businnes means competition I can't see a reason why this is unfair. I had to investigate it all the time (took me around 100-150h I guess), why should I share it with everyone now ?  It is a big problem where companies would offer thousands of euros for.

I already explained this does not effect me one bit. I see you have opened other tickets too asking for help. Are you one of these users who expect such things too?
I do understand your motivation for not sharing. I don't understand your motivation for rubbing the fact that you have a solution to one of the most common problems, in the communities face.

I haven't got help tho. Further I've never created a thread saying "Hey look here i have a solution for xy" I actually closed the issue because its not a issue for me anymore what is wrong with this ? What you are doing is childish. I gave a hint already and this is enough. And to give another hint for the future - you should check for - lets call it - uncommon ways to produce those coins. I am out here since people don't accept I won't share it now and I think after this discussion I am not motivated at all to share it here.

Pull your head in mate.
From your opening post;
"Hope we can help each other to find a solution."
So you were happy to take someone else's solution but now you've got a solution you want to keep it private. Scum.

Right help each other doesn't mean no one writes anything and I provide the solution after working hard on it ? I think you are just jealous.

Mate you know very well we've been talking about this issue for awhile in that super long thread...  No need for us to have the same speeches here if nothing new has happened. Everyone just calm down

Why would I be jealous? I've already clearly explained this does not effect me.
Take everything the community has to offer, the toolkit, and you've no doubt been helped if not in your own thread then by other peoples solved threads. Then when you have the opportunity to give back you disappear.

@artielange I read those discussions and they actually lead me to more work as I noticed in the end - another hint and thats it for now. I will delete everything here seems like people just can't accept it. No one would share his own autobuyer either and CoverJ expects that I publish the core part of the solution of their new bot protection now. It's nothing like a two step verification where everyone knows what you need to code, its more about investigating and analyzing..

Looking at the other issues the guy has raised (looking for coder, help logging in using the toolkit) i doubt he's found the solution tbh. Ignore it, don't need people like that here.


Disabling UBX configuration

Hi all,
In order to share a common GNSS module (F9P) between both payload and drone, it would be nice to have an option to disable the automatic module configuration that takes place in the drivers which would otherwise disrupt the payload operation.
It is already possible to simply use the NMEA interface instead, but this introduces limitations with position precision, RTK heading use etc.
Cheers

Could they use separate ports and GPSDrivers could be less pointed about configuring ports it doesn't actually use?

Thanks for the quick reply!
Yes, if GPSDrivers were to only configure the nominated output port this would avoid interfering with the payload port. Our intended setup is USB for payload and UART1 TX to FCU. UART2 is configured by the payload already for RTCM input / moving base RTCM output.
I noticed there are also several other rate, timeref, dynamic model parameters which are set by the driver. Ideally it would be great if all these could be disabled by a PX4 config option to let the payload govern the configuration; however I understand the potential for misconfiguration by the user (probably belongs under the developer param subset).
Cheers

As a proof of concept, I have added in the following lines to ubx.cpp which yielded a successful GPS startup.
int GPSDriverUBX::configure(unsigned &baudrate, const GPSConfig &config) { 	_configured = true; 	_use_nav_pvt = true; 	setBaudrate(921600); 	return 0;
Ultimately, an ideal case would be to send both position and RTK heading information over a single UART link from the payload. As far as I'm aware, the EKF/PX4 currently supports a max of two GPS units, so this would leave the second GPS interface free as a spare for a redundant unit on the drone in the event of some payload failure.
I have seen a previous pull request utilizing the MAVLink GPS_INPUT message which would do the job, except there are several fields missing when compared against the uORB sensor_gps message.
Alternatively, the RELPOSNED message from the rover could be sent on the same UART interface as the moving base and the driver could take the heading info but discard the relative position info.


Slate 2 Compatibility

Discord is migrating to Slate 2. As such, the following no longer works:
https://github.com/Discord-Theme-Addons/bubble-bar/blob/f81386f15801db62edfcbc90a9e3061b3a27c256/src/_theme.scss#L39-L41
padding-left works fine on both Slate 1 and 2 with no apparent consequences.

this should be fixed now with the push of v2.0.0


DirectML Not using GPU?

I've tried running multiple programs that are supposed to take advantage of the GPU via pytorch with DirectML installed.
None of them seem to use the GPU at all.
What is wrong?
I am using Windows 11 Pro 64x

I have the same problem.
I built sample codes and the program not use GPU

Windows 10 Pro 2H21 (19043.1526)
Intel i7-7700
GTX 1070
NVIDIA Graphic Driver 511.79
DirectX 12

Hi @DillFrescott and @QUOPA , may I ask how come you don't think the GPU is being used?
What scripts are you using to drive Pytorch-Directml and also what tools are you using to benchmark GPU usage?

@ryanlai2 Hello!
I tried many different scripts on my Windows 11 build. I believe the latest ones I tried were deep-daze and big-sleep (both on github). They both use pytorch to function, and when I installed directml pytorch, it behaved the exact same way as it would if it was using the cpu.
The CPU values increased to around 60-70 percent usage and my GPU stayed at minimal usage. Basically just system stuff using it. I also have a "GPU Tachometer" on my gpu which is a series of LED lights that will light up in accordance to the power state of the gpu, and none of them were lit meaning the gpu was in a minimal power state.
Hope this was a good enough explanation. Ask me what more info you might need and Ill provide it.

Hi @ryanlai2
I tested codes in DirectMLSuperResolution folder by building and executing.
I checked again and found it DOES USE GPU, but too much for DirectX12.
I used task manager to check GPU, and the following 4 stats were nonzero (other metrics are all zero)
--> 3D, Copy, Graphics_1, Video Decode
Below is the comparison between two options in the example

Bilinear (Bi)

Super-Resolution Neural Network (NN)

As seen in above pictures, Graphics_1 soars to be nearly 100%, when I choose NN option
According to this source, Graphics_1 represents 'DirectX12 Direct/Graphics Command Queue usage' (I don't know what exactly it is).
So. is my GPU too old to run this example? or is there something wrong in the codes?

This one is closed, duplicate of #245


PIO USB v0.6.0 no longer enumerates devices

After upgrading the PIO USB library to version 0.6.0 the callback for a HID device mounting (void tuh_hid_mount_cb) no longer works.

I should not that this is happening while using the Adafruit Tiny USB library.

set the optimize option to something other than -Os

This works but breaks other libraries (like NeoPixel).

set the optimize option to something other than -Os

👋 can you explain how to do that?
fwiw: i stumbled upon this with similar experience, 0.6.0 doesn't run the callback, 0.5.3 seems to still work as i expect.

set the optimize option to something other than -Os

👋 can you explain how to do that?
fwiw: i stumbled upon this with similar experience, 0.6.0 doesn't run the callback, 0.5.3 seems to still work as i expect.

In the Arduino IDE it's under "Tools->Optimize"

set the optimize option to something other than -Os

@sekigon-gonnoc (with CC: to @hathach ) , is it possible to apply a local area "no-optimize" effect by using #pragma GCC optimize https://gcc.gnu.org/onlinedocs/gcc/Function-Specific-Option-Pragmas.html with the  PIO USB library and/or Adafruit Tiny USB library while keeping the rest of source codes (a sketch, Arduino Core, other libraries) compiled with -Os flag ?

Compiling and running capture_hid_report on v0.6.0 under VSCode in:

debug -Og
release -O3

results in the same behaviour: no devices enumerated. v0.5.3 works as expected. Am I missing something?
(I am not familiar with cmake so I may well be).

More info.  I tried a fully unoptimized build -O0 and a debug build -Og.
I seem to get as far as the device being recognised as connected, but all endpoints are NULL:
        if (!device->connected) {
          continue;
        }

        // Print received packet to EPs
        for (int ep_idx = 0; ep_idx < PIO_USB_DEV_EP_CNT; ep_idx++) {
          endpoint_t *ep = pio_usb_get_endpoint(device, ep_idx);

          if (ep == NULL) {
            break;
          }

i.e. ep is always NULL. This would suggest something else apart from a -Os issue is happening.
The device connected to the pico is a PS3 dual shock 3 controller. Standard pin connections (GP0 and GP1), as before the device enumerates (well has valid endpoints) with v0.5.3

I am experiencing something similar. I tried running the capture_hid_report on an "Adafruit RP2040 Feather with USB host" (so I had to adapt the pins to 16 and 17 and also add code to drive GPIO 18 high since that enables power on the DFP. With commit 0f747aaa0c16f750bdfa2ba37ec25d6c8e1bc117 the example works and the connected device (some USB RAW HID device that can be bought online) enumerates fine:
Root 0 connected
Device 0 Connected
control in[complete]
Enumerating 0b00:1000, class:0, address:1
...

However, with latest main (fe9133fc513b82cc3dc62c67cb51f2339cf29ef7) and exactly the same changes done by me, the enumeration fails:
Root 0 connected
Device 0 Connected
control in[error]
Enumeration failed(-1)

Same results here:
v0.5.3
hello!
Root 0 connected
Device 0 Connected
control in[complete]
Enumerating 054c:0268, class:0, address:1
control out[complete]
control in[error]
Failed to get string descriptor (Manufacture)
control in[error]
Failed to get string descriptor (Product)
control in[complete]
control in[complete]
control out[complete]
inum:0, altsetting:0, numep:2, iclass:3, isubclass:0, iprotcol:0, iface:0
        bcdHID:1.11, country:0, desc num:1, desc_type:34, desc_size:148
control out[error]
control in[complete]
                Report descriptor:05 01 09 04 a1 01 a1 02 85 01 75 08 95 01 15 00 26 ff 00 81 03 75 01 95 13 15 00 25 01 35 00 45 01 05 09 19 01 29 13 81 02 75 01 95 0d 06 00 ff 81 03 15 00 26 ff 00 05 01 09 01 a1 00 75 08 95 04 35 00 46 ff 00 09 30 09 31 09 32 09 35 81 02 c0 05 01 75 08 95 27 09 01 81 02 75 08 95 30 09 01 91 02 75 08 95 30 09 01 b1 02 c0 a1 02 85 02 75 08 95 30 09 01 b1 02 c0 a1 02 85 ee 75 08 95 30 09 01 b1 02 c0 a1 02 85 ef 75 08 95 30 09 01 b1 02 c0 c0
                        epaddr:0x02, attr:3, size:64, interval:1
                        epaddr:0x81, attr:3, size:64, interval:1

v0.6.1 / master
hello!
Root 0 connected
Device 0 Connected
control in[error]
Enumeration failed(-1)
Root 0 disconnected
Disconnect
Disconnect device 0

@sekigon-gonnoc  please can you reopen this issue?

I have just started playing with this library, so I can't speak for how it was in v0.5.3, but I am experiencing much the same as the recent commenters.
One thing I have noticed, though, is that if I wait a while after resetting the Pico, or after unplugging the USB device, (about 15-30 seconds) and then plug the USB device in, it tends to enumerate it, but if I plug it in immediately, or unplug and plug quickly, it tends to fail to enumerate.
                Report descriptor:06 00 ff 09 01 a1 01 85 10 75 08 95 06 15 00 26 ff 00 09 01 81 00 09 01 91 00 c0 06 00 ff 09 02 a1 01 85 11 75 08 95 13 15 00 26 ff 00 09 02 81 00 09 02 91 00 c0 06 00 ff 09 04 a1 01 85 20 75 08 95 0e 15 00 26 ff 00 09 41 81 00 09 41 91 00 85 21 95 1f 15 00 26 ff 00 09 42 81 00 09 42 91 00 c0
                        epaddr:0x83, attr:3, size:32, interval:2
Root 0 disconnected
Disconnect
Disconnect device 1
Root 0 connected
Device 0 Connected
control in[error]
Enumeration failed(-1)
Root 0 disconnected
Disconnect
Disconnect device 0
Root 0 disconnected
Root 0 connected
Device 0 Connected
control in[error]
Enumeration failed(-1)
Root 0 disconnected
Disconnect
Disconnect device 0
Root 0 disconnected
Root 0 connected
Device 0 Connected
control in[complete]
Enumerating 046d:c52b, class:0, address:1

@shuffle2 I tried adding it in a few different places but it didn't seem to help at all.

I have the same problem . Using any 0.6.* version USB enumeration fails.
I am on Windows + VScode Pico extension

This particular example (capture hid report) has been deprecated. It's not really supposed to be functional anymore.
I suggest using the host_hid_to_device_cdc example for testing and then as a scaffold for whatever you are building.


fix: English spelling and grammar

Fix some typos
Improve some English grammar
Improve consistency between similar strings

I just found your extension today and I love it. Thank you for your hard work in creating it.

Thank you so much. I have learned a lot :)


Add host prop to set host for player frame

Using this prop you can set the host of the player frame to any host you like.
Practical use case: streaming from www.youtube-nocookie.com

Hey,
Thanks for the PR but it looks like it was already possible to pass this option through the opts prop like so
<YouTube
  videoId="2g811Eo7K8U"
  opts={{
    host: 'www.youtube-nocookie.com'
  }}
  onReady={this._onReady}
/>

I also can't find any documentation on this option on the official reference: https://developers.google.com/youtube/iframe_api_reference
Where did you learn about this option?
Althogether im not sure this is a very useful change, but maybe if you can explain more about this I'll reconsider 😕

Okay, this might actually be more useless than I originally thought.
I saw this being used on the DuckDuckGo search results page and I thought I had read something about it being a version of the YouTube player that does not immediately track you when the player is loaded or something like that but it turns out those sources are all really old and very likely out of date.
My guess now is they removed this service and just kept the API up to avoid breaking changes. (However, that still begs the question why DDG uses it...)
I'll try to get additional information on this and if I find anything I'll post it here. (Sorry for potentially wasting your time with this.)

I'll close the PR since this functionality (regardless of the usefulness) is already implemented.

Sorry for potentially wasting your time with this.

Don't worry about it, I appreciate anyone spending their time making this package better. :smile:

Wrong button on phone mb

I asked and DDG doesn't know what youtube-nocookie is either https://twitter.com/DuckDuckGo/status/1024911022820413441


Show number covers description text

See example here:

You might want to try setting the show description <p> to position: relative like you have it on the show details page.  That would look like:

P.S. Thanks so much for all you guys do!!  Syntax is an amazing resource that I've learned a ton from over the years!

This is on latest Chrome.

I see it - thank you. I wonder if there was a chrome bug which caused us to "fix" it in the first place. Taking a look now

relative fixed it! Thanks again for the help on this one! https://github.com/syntaxfm/website/pull/1860

My pleasure! 🙌 🎉


Add documentation for docker

Currently there's no documentation for docker on:

how to build the docker image from source
how to publish (git tags?)
how to run with mynode
how to run with raspiblitz
how to run with umbrel
how to run with native setup
how to run commands on docker container

fixed in https://github.com/itsneski/lightning-jet/commit/c2737140c899b984bbd1fcc0267c858dd3f54e61.


feat(firebase): deploy to Cloud Functions for Firebase

Reopening #5, https://github.com/remix-run/remix/pull/3398 against remix-run/examples
Deploy to firebase functions and hosting
Closes: Discussion at https://github.com/remix-run/remix/pull/1811#issuecomment-1050238130

[x] Docs
[ ] Tests (I'd happily add Playwright tests if you want these on examples)

Testing Strategy:

Testing locally against emulator with JS enabled and disabled
Testing locally against production with JS enabled and disabled
Following deploy instructions and testing remote with JS enabled and disabled

@machour @mcansh @MichaelDeBoey
Similar to my comment on https://github.com/remix-run/examples/pull/52#issuecomment-1398359960
Please let me know if I should keep rebasing this or abandon it

@penx Please rebase this branch onto latest main & resolve conflicts

@MichaelDeBoey thanks for merging, was trying to figure out the yarn lock, which will now be out of date in main.
Hopefully will get there shortly!

I've resolved my issue with yarn, and the root lock file seems to be fine as it doesn't contain packages for each example


Fixed Scale of contributors avatars

📥 Pull Request
Description
This pull request fixes the scale of contributor avatars to ensure consistency and proper alignment across the webpage. The adjustment resolves the issue where the avatars appeared disproportionate. No new dependencies were added, and the changes are localized to the CSS responsible for avatar scaling.
Fixes #1151
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Screenshots
Before :

After:

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

please review and merge @ajay-dhangar!
Thanks!

Please review and merge @ajay-dhangar !


[BUG] Revisit #749 as CXF 3.4.4 correctly escapes \ in jwt tokens.

Fix - https://github.com/opensearch-project/security-dashboards-plugin/pull/877


Get-PowerBIWorkspace : Operation returned an invalid status code 'Unauthorized'

Version
Task         : Power BI Actions
Description  : Release Task Power BI Actions
Version      : 5.4.28
Author       : Maik van der Gaag
Description
Using the SPN trying to upload .pbix files to Power BI
Steps followed:

SPN created
Security group created
Added security group to PowerBI Admin
Added SPN to workspace
Created the Service Connection 'Commercial (Public)'

Logs
2022-03-02T17:48:28.8239710Z ##[debug]5:48:28 PM - Cmdlet version: 1.0.896.0
2022-03-02T17:48:29.7300887Z ##[debug]Error record:
2022-03-02T17:48:29.8334630Z ##[debug]Get-PowerBIWorkspace : Operation returned an invalid status code 'Unauthorized'
2022-03-02T17:48:29.8336334Z ##[debug]At D:\a_tasks\PowerBIActions_d5b7fec6-2b25-4742-905b-0dad97687df5\5.4.28\ps_modules\PowerBI\PowerBI.psm1:676 char:22
2022-03-02T17:48:29.8404136Z ##[debug]+ ...       $workspace = Get-PowerBIWorkspace -Name $WorkspaceName -Verbose
2022-03-02T17:48:29.8435243Z ##[debug]+                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-03-02T17:48:29.8458678Z ##[debug]    + CategoryInfo          : WriteError: (Microsoft.Power...owerBIWorkspace:GetPowerBIWorkspace) [Get-PowerBIWorkspac    e], HttpOperationException
2022-03-02T17:48:29.8530659Z ##[debug]    + FullyQualifiedErrorId : Operation returned an invalid status code 'Unauthorized',Microsoft.PowerBI.Commands.Work    spaces.GetPowerBIWorkspace
2022-03-02T17:48:29.8549867Z ##[debug]
2022-03-02T17:48:29.8577039Z ##[debug]Script stack trace:
2022-03-02T17:48:29.8625476Z ##[debug]at Get-PowerBIGroupPath, D:\a_tasks\PowerBIActions_d5b7fec6-2b25-4742-905b-0dad97687df5\5.4.28\ps_modules\PowerBI\PowerBI.psm1: line 676
2022-03-02T17:48:29.8655069Z ##[debug]at Publish-PowerBIFile, D:\a_tasks\PowerBIActions_d5b7fec6-2b25-4742-905b-0dad97687df5\5.4.28\ps_modules\PowerBI\PowerBI.psm1: line 766
2022-03-02T17:48:29.8702267Z ##[debug]at , D:\a_tasks\PowerBIActions_d5b7fec6-2b25-4742-905b-0dad97687df5\5.4.28\run.ps1: line 104
2022-03-02T17:48:29.8722940Z ##[debug]at , : line 1
2022-03-02T17:48:29.8741836Z ##[debug]at , : line 22
2022-03-02T17:48:29.8761290Z ##[debug]at , : line 18
2022-03-02T17:48:29.8815825Z ##[debug]at , : line 1
2022-03-02T17:48:29.8826840Z ##[debug]Exception:
2022-03-02T17:48:29.9001378Z ##[debug]Microsoft.Rest.HttpOperationException: Operation returned an invalid status code 'Unauthorized'
2022-03-02T17:48:29.9019605Z ##[debug]   at Microsoft.PowerBI.Api.V2.Groups.d__5.MoveNext()
2022-03-02T17:48:29.9045862Z ##[debug]--- End of stack trace from previous location where exception was thrown ---
2022-03-02T17:48:29.9119042Z ##[debug]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2022-03-02T17:48:29.9177093Z ##[debug]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2022-03-02T17:48:29.9192576Z ##[debug]   at Microsoft.PowerBI.Api.V2.GroupsExtensions.d__1.MoveNext()
2022-03-02T17:48:29.9214604Z ##[debug]--- End of stack trace from previous location where exception was thrown ---
2022-03-02T17:48:29.9264617Z ##[debug]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2022-03-02T17:48:29.9294242Z ##[debug]   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2022-03-02T17:48:29.9491720Z ##[debug]   at Microsoft.PowerBI.Api.V2.GroupsExtensions.GetGroups(IGroups operations, String filter, Nullable1 top, Nullable1 skip)
2022-03-02T17:48:29.9552000Z ##[debug]   at Microsoft.PowerBI.Common.Api.Workspaces.WorkspacesClient.GetWorkspaces(String filter, Nullable1 top, Nullable1 skip)
2022-03-02T17:48:29.9554075Z ##[debug]   at Microsoft.PowerBI.Commands.Workspaces.GetPowerBIWorkspace.GetWorkspaces()
2022-03-02T17:48:29.9573417Z ##[debug]   at Microsoft.PowerBI.Commands.Workspaces.GetPowerBIWorkspace.ExecuteCmdlet()
2022-03-02T17:48:29.9595382Z ##[debug]   at Microsoft.PowerBI.Commands.Common.PowerBICmdlet.ProcessRecord()
2022-03-02T17:48:29.9909143Z ##[error]Operation returned an invalid status code 'Unauthorized'
2022-03-02T17:48:29.9920052Z ##[debug]Processed: ##vso[task.logissue type=error]Operation returned an invalid status code 'Unauthorized'
2022-03-02T17:48:29.9921346Z ##[debug]Request Uri: https://api.powerbi.com/v1.0/myorg/groups?$filter=tolower(name) eq 'powerbitest'&$top=100
2022-03-02T17:48:29.9935085Z ##[debug]Status Code: Unauthorized (401)
2022-03-02T17:48:29.9967426Z ##[debug]5:48:29 PM - Get-PowerBIWorkspace end processing.
2022-03-02T17:48:30.0132788Z ##[debug]5:48:30 PM - Get-PowerBIWorkspace begin processing with ParameterSet Name.
2022-03-02T17:48:30.0154018Z ##[debug]5:48:30 PM - Cmdlet version: 1.0.896.0
2022-03-02T17:48:30.6910950Z Done processing Power BI Actions
2022-03-02T17:48:30.7067700Z ##[debug]Caught exception from task script.
2022-03-02T17:48:30.7103924Z ##[debug]Error record:
2022-03-02T17:48:30.7218212Z ##[debug]Get-PowerBIWorkspace : Operation returned an invalid status code 'Unauthorized'
2022-03-02T17:48:30.7245451Z ##[debug]At D:\a_tasks\PowerBIActions_d5b7fec6-2b25-4742-905b-0dad97687df5\5.4.28\ps_modules\PowerBI\PowerBI.psm1:600 char:18
2022-03-02T17:48:30.7353813Z ##[debug]+     $workspace = Get-PowerBIWorkspace -Name $WorkspaceName
2022-03-02T17:48:30.7375175Z ##[debug]+                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-03-02T17:48:30.7397255Z ##[debug]    + CategoryInfo          : WriteError: (Microsoft.Power...owerBIWorkspace:GetPowerBIWorkspace) [Get-PowerBIWorkspac    e], HttpOperationException
2022-03-02T17:48:30.7438350Z ##[debug]    + FullyQualifiedErrorId : Operation returned an invalid status code 'Unauthorized',Microsoft.PowerBI.Commands.Work    spaces.GetPowerBIWorkspace
2022-03-02T17:48:30.7451514Z ##[debug]
2022-03-02T17:48:30.7479111Z ##[debug]Script stack trace:
2022-03-02T17:48:30.7505801Z ##[debug]at New-PowerBIWorkSpace, D:\a_tasks\PowerBIActions_d5b7fec6-2b25-4742-905b-0dad97687df5\5.4.28\ps_modules\PowerBI\PowerBI.psm1: line 600
2022-03-02T17:48:30.7569194Z ##[debug]at Get-PowerBIGroupPath, D:\a_tasks\PowerBIActions_d5b7fec6-2b25-4742-905b-0dad97687df5\5.4.28\ps_modules\PowerBI\PowerBI.psm1: line 679
2022-03-02T17:48:30.7589268Z ##[debug]at Publish-PowerBIFile, D:\a_tasks\PowerBIActions_d5b7fec6-2b25-4742-905b-0dad97687df5\5.4.28\ps_modules\PowerBI\PowerBI.psm1: line 766
2022-03-02T17:48:30.7609484Z ##[debug]at , D:\a_tasks\PowerBIActions_d5b7fec6-2b25-4742-905b-0dad97687df5\5.4.28\run.ps1: line 104
2022-03-02T17:48:30.7627852Z ##[debug]at , : line 1
2022-03-02T17:48:30.7758688Z ##[debug]at , : line 22
2022-03-02T17:48:30.7775706Z ##[debug]at , : line 18
2022-03-02T17:48:30.7796653Z ##[debug]at , : line 1
2022-03-02T17:48:30.7857978Z ##[debug]Exception:

Does the SPN has the appropriate API permissions? Seems like you authentication option is not working correctly

Depending on the actions you want you would arrange the permissions. The pipeline read write permissions is not enough.

I am trying to publish reports from Azure DevOps to PowerBI. What permissions it is expecting ?

In my organization they are reluctant to provide the highest level of permission.
i.e. Tenant.Read.All or Tenant.ReadWrite.All
What will be the steps/workflow and how the permission will work in terms of application and what data will be read/write back to the tenant ?
We are just using this plugin to perform a CI/CD from Azure DevOps to PowerBI workspace.

@tushmesh: Of course, organizations are not keen of giving Tenant Read Write all permissions. This is also not required for the extension. Depending on the actions you want to perform you should give the SPN the correct permissions.
You do not have to give permissions for all action so If you will be doing only read actions you would have to supply only the read permissions.

As I am trying "Publish" action hope Tenant.Read.All will suffice.

@tushmesh:
If you just want to publish I think the following should be the absolute minimum.

To read the workspaces:
Workspace.Read.All

To read for existing reports
Report.Read.All

To import the pbix file:
Dataset.ReadWrite.All

Required access are in place. But still getting the same error

Could you try adding Report.ReadWrite.All

Error_Log.txt
Even after giving Report.ReadWrite.All, getting the 'Unauthorised' error.
All the .pbix files are under Directory: D:\a\1\s\PowerBI\reports, which I am listing in my pipeline to verify the path.

Hope the permissions are proper .. and can you please elaborate for SPN authorization.

@tushmesh can you tell by which mode did you create the pipeline, by azure Repos git ..where you create yaml code or by classic editor....?

@tushmesh did you follow this? https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-service-principal?WT.mc_id=AZ-MVP-5004255

@zhunipingan
In our case, Platform team failed to add the Service Principal to the Security Group


Compiling Error - Cannot query field "image" on type "ShopifyCollection".

I'm getting an error when I run gridsome develop. The shop name and storefront token are setup properly. The storefront token has full permissions.
ERROR  Failed to compile with 2 errors                                                                                1:33:47 PM
error  in ./src/pages/Index.vue?vue&type=custom&index=0&blockType=page-query
Module build failed (from ./node_modules/gridsome/lib/plugins/vue-components/lib/loaders/page-query.js):
Error: Cannot query field "image" on type "ShopifyCollection".
GraphQL request:108:9
107 |         descriptionHtml
108 |         image {
|         ^
109 |           altText
at Object.module.exports (/Users/jbathgate/Projects/gridsome-starter-shopify/node_modules/gridsome/lib/plugins/vue-components/lib/loaders/page-query.js:29:23)
@ ./src/pages/Index.vue?vue&type=custom&index=0&blockType=page-query 1:0-353 1:369-372 1:374-724 1:374-724
@ ./src/pages/Index.vue
@ ./src/.temp/routes.js
@ ./node_modules/gridsome/app/router.js
@ ./node_modules/gridsome/app/entry.sockjs.js
@ multi webpack/hot/dev-server webpack-hot-middleware/client?name=app&reload=true&noInfo=true ./node_modules/gridsome/app/entry.client.js ./node_modules/gridsome/app/entry.sockjs.js
error  in ./src/pages/Collections.vue?vue&type=custom&index=0&blockType=page-query
Module build failed (from ./node_modules/gridsome/lib/plugins/vue-components/lib/loaders/page-query.js):
Error: Cannot query field "image" on type "ShopifyCollection".
GraphQL request:70:9
69 |         descriptionHtml
70 |         image {
|         ^
71 |           altText
at Object.module.exports (/Users/jbathgate/Projects/gridsome-starter-shopify/node_modules/gridsome/lib/plugins/vue-components/lib/loaders/page-query.js:29:23)
@ ./src/pages/Collections.vue?vue&type=custom&index=0&blockType=page-query 1:0-359 1:375-378 1:380-736 1:380-736
@ ./src/pages/Collections.vue
@ ./src/.temp/routes.js
@ ./node_modules/gridsome/app/router.js
@ ./node_modules/gridsome/app/entry.sockjs.js
@ multi webpack/hot/dev-server webpack-hot-middleware/client?name=app&reload=true&noInfo=true ./node_modules/gridsome/app/entry.client.js ./node_modules/gridsome/app/entry.sockjs.js

Apparently if you have no collections with images you get this error. Uploading an image for a collection fixes this issue. Might want to handle this more gracefully?

Now when I try to load the page I'm getting this:
vue.runtime.esm.js?2b0e:619 [Vue warn]: Error in render: "TypeError: Cannot read property 'src' of undefined"

found in

---> <Index> at src/pages/Index.vue
       <App> at node_modules/gridsome/app/fallbacks/App.vue
         <Root>

I believe this has to do with some products not having images.

@julesbravo Correct - you will need to add images to both types to get this initial starter working. But if you don't have images added, you can easily modify by removing the relevant queries.


Delete comments

What I did:

Made it so users can delete their own comments

To test:

Make sure you have at least 2 comments, each by a different person
Log in as one of these people
Click view comments
You should be able to delete only your own comments, try to make sure it works

 Remove comments


Refactor time utilities

Fixes #1241 (in d8e237b)
The implementations had some redundancies. Furthermore, the functions were commonly being used with either datetimes or ISO 8601 strings, but some functions only accepted one of them rather than both types.  Lastly, some functions were more tightly coupled (mostly naming-wise since the switch to Discord timestamps) to infractions than they needed to be.
The changes are described well by the commit history. Some highlights for your convenience:

All functions which took a time now support both ISO 8601 and datetimes. In fact, they support much more - almost any type supported by arrow.get()
humanize_delta supports a relativedelta, kwargs to forward to a relativedelta, or 2 timestamps (any type described above) to forward to relativedelta.

Looks like all the errors are with humanize_delta not understanding None as the second timestamp. If only one timestamp is passed, then it's relative to now, but it does not treat a None second timestamp as equivalent to not having passed it at all. I suppose the best fix is to allow it to be None; having to check for None outside seems too annoying.

I left humanize_delta alone since all calls already check for None and when it is None they don't want to use the current time actually. I just changed format_duration to pass the current time if the 2nd arg is None.

 This PR has been ready before that one was even open. I'm not going to be touching this PR until people commit to reviewing it; I'd rather keep the merge commits to a minimum.

Updated the PR with changes from main since @HassanAbouelela kindly expressed interest in reviewing this. I'd still like to test things by running the bot (which the reviewer will hopefully be doing regardless). I did do that originally, but it'd be good to do it again since the "merge" operation was complicated. Anyway, will get around to testing it myself soon.


Review

Hello Reviewer, 👋
We are a group of two programmers, @BB-Simon  and @ilyassatlassi, Looking forward to coding a unique Recipe App.
We have made a Kanban board to fairly divide tasks among ourselves. Below is the link of that project.
https://github.com/users/ilyassatlassi/projects/2

Hi @ilyassatlassi and @BB-Simon,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request

I cannot find your project using the link you provided. Kindly look into that.

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.

Hi  @ilyassatlassi @BB-Simon
Your project is complete  👍 💯   There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Highlights 👏🏻
✔ Good job for provide the information  about the number of people in their group
✔ Good Job for provide link to their GitHub project
✔ Good job for implementing RoR group project: set up your Kanban board.
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.


Adds a precomputed statistics option to the boxplot

Describe your changes
Adds a precomputed_statistics option to the bqplot graph which allows a user to pass
the quantiles and outliers as the y variable [q0, q25, q50 q75, q100, outlier1, outlier2, ... outlierN]
and set the precomputed_statistics flag.
Testing performed
Still working on testing this, need some feedback on the implementation.
Additional context

Looking for some feedback on the api change. Does this make sense to you guys or should it be implemented in a different way?

I think this is a very good idea and should be a general pattern adopted in bqplot. In cases where the data is too large, you want this to be computed at the kernel.

@martinRenou I put this up a while ago. Not sure who is the correct person to review.


Discourage changing the number of DoFs / joints for controller after those are initialized?

Discussing parameters handling with @tylerjw and @pac48 it seems that resetting the number of DoF in on_configure in some controllers only complicates the management of those. This does not make much sense because if one needs to change the number of DoF in a controller, another instance of the controller should be used.
Recommended resolution for all (standard) controller in this package:

Read the number of joints/joint_names parameters in the on_init method.
Remove updates of parameters from on_configure method.

This will also improve realtime performance. If you look at the JTC, all of the dynamic memory allocation occurs because it is possible for dof to change size. (Noted in #393)

There should be a whole bunch of parameters I'd discourage people from changing, including DOF


Added upload-from-url to catalog service

Resolves #236
Signed-off-by: JAulet<EMAIL_ADDRESS>

@ckadner please review


bugfix:更换renderformw文件

Codecov Report

Merging #552 (f152f1e) into v2.6.x_develop (db35589) will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           v2.6.x_develop     #552   +/-   ##
===============================================
  Coverage           62.39%   62.39%
===============================================
  Files                 442      442
  Lines               27428    27428
===============================================
  Hits                17115    17115
  Misses              10313    10313

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 db35589...f152f1e. Read the comment docs.


Mob specific footstep sounds do not play, even when DS acoustic footstep sounds are disabled.

DynamicSurroundings-1.16.4-<IP_ADDRESS>
forge-1.16.5-36.1.0
(no crash)
As the title says, with DS installed none of the mob specific "step" sounds play. So, skeletons don't sound like clinking bones when they walk, and several other mobs just use the material based sounds (which sound like shoes). I love the material based sounds, but losing mob specific footsteps actually changes the gameplay in my opinion (can't tell if its a player or a skeleton coming up behind you).
At the very least for now, it would be good if setting "#Enable replacement of footstep sounds with acoustic versions" to false would bring back the default mob specific ones, but it doesn't seem to for some reason. Zombies, skeletons, etc, just end up with generic player footstep sounds when it is set to false.
I think the ideal scenario would be having the material-specific sounds have less of a "shoe" sound to them so that they would fit almost any type of "foot", and then having the mob specific sounds play at the same time. I know that redoing sounds is a lot of work, so if you'd be interested, I could help with this since I do sound editing\foley. The programming to make the game play both a material sound and the mob-specific sound is not something I'm familiar with however. I tried removing the lines in "assets\dsurround\configs\mobeffects\mobeffects.json" which list, for example ""blockedSounds": ["entity.wither_skeleton.step"]", but this didn't bring the mob sounds back either. Performance wise, I think doubling up on footstep sounds should have little or no impact on the load of the audio system because they are so short and happen infrequently compared to other things. Biggest issue would be if you had 100+ mobs tromping about, but even the vanilla game gets a bit wonky with hundreds of mobs nearby, so I don't think this would change anything.
For what it's worth, I also use a resource pack that my wife and I have made which replaces the Zombies with Robots, and I recorded and mixed robot sounds for them, including footsteps which sound like motors and metal feet (used a power drill and banging computer power supplies together for the recording). Having them sound like they are wearing shoes sounds super weird. I need my robot sounds back. 😁
Thank you for your time OreCruncher.

Are there any suggestions for a config tweak or something else that can be done that will stop the mod from blocking the mob-specific footstep sounds? I noticed that when using the ctrl-v volume menu to control individual effects no mob-specific footstep effects will play at all. It is apparently blocking them universally.


Dateset MedSAMDemo_2D

马老师：
谢谢您的工作，我在跟着教程微调MedSAM的时候，没有找到MedSAMDemo_2D的相关数据集，链接好像失效了，请问方便的话可以重新上传吗，谢谢！
@JunMa11

Hi @fengyasi ,
Sorry for my late reply. We were busy with the CVPR challenge during the past month https://www.codabench.org/competitions/1847/. Finally, it was done last week.
I just checked the link, and it still works: https://zenodo.org/records/7860267


"--fail_if_exists" does not work as expected

And, what is worse, it leaves the repository inconsistent.
The reason is that the error stops the program without transferring the Release file. Changes to any Package/Package.gz made before deb-s3 tries to upload the already existing package are effectively written to s3 but, the Release file will not contain their corresponding updated checksums.
>> Checking for existing lock file
>> Locking repository for updates
>> Retrieving existing manifests
>> Examining package file foo_1.1.1_all.deb
>> Examining package file bar-1.0.0-arm64.deb
>> Uploading packages and new manifests to S3
   -- Transferring dists/stable/main/binary-amd64/Packages
   -- Transferring dists/stable/main/binary-amd64/Packages.gz
   -- Transferring dists/stable/main/binary-i386/Packages
   -- Transferring dists/stable/main/binary-i386/Packages.gz
   -- Transferring dists/stable/main/binary-armhf/Packages
   -- Transferring dists/stable/main/binary-armhf/Packages.gz
   -- Transferring pool/stable/f/fo/foo_1.1.1_all.deb
   -- Transferring dists/stable/main/binary-all/Packages
   -- Transferring dists/stable/main/binary-all/Packages.gz
   -- Transferring pool/stable/b/ba/bar-1.0.0-arm64.deb
!! Uploading manifest failed because: file pool/stable/b/ba/bar-1.0.0-arm64.deb already exists with different contents
>> Lock released.
DEBUGGER: Disconnected.

No Release file is written after the error, which means that there will be a mismatch between the information contained in the Release and the actual Package/Package.gz checksums. This will cause an error like this one in apt:
Reading package lists...
E: Failed to fetch s3://***/dists/stable/main/binary-amd64/Packages.gz  Hash Sum mismatch
   Hashes of expected file:
    - Filesize:156883 [weak]
    - SHA256:c4642e5e8822125f26f71b062bb6966752003aff1cd9dec7db28ce937d7910eb
    - SHA1:e1dc04fc2913ea2ab540bd5d3f8db7c27b44bc54 [weak]
    - MD5Sum:dfa9a8c0f40cc7e0d538ecc60f433df8 [weak]
   Hashes of received file:
    - SHA512:3c8fa01ed577bde8ff3b127fa4ffb35abfdcd0d91ca0e50c3fbbe2dd5457d214790c475c2c533959339f688dd198bf42952ca11fa21a2ab10e0e428637759aa5
    - SHA256:ed3bfa2b8d74bafebbbf2e63f136bf5c4ffd0121c9fb61d820a942b3b7abe993
    - MD5Sum:46ce90abfb3cbec7bf2f328ecce17ce0 [weak]
   Last modification reported: Fri, 06 Oct 2023 09:41:17 GMT
   Release file created at: Thu, 05 Oct 2023 18:45:32 +0000

Uh, thats bad. Unfortunately, i don't have the time to check for changes by myself (just took care of the repo ages ago 🙈 ) but would happily welcome any pull requests.