osmnx doesn't run with Arch Linux python packages

If I try to run ox.plot_graph(ox.graph_from_place('Modena, Italy')) Ii get:
AttributeError: module 'osmnx' has no attribute 'plot_graph'
When executing the example
city = ox.gdf_from_place('Berkeley, CA')
ox.plot_shape(ox.project_gdf(city))

it throws:
AttributeError: module 'osmnx' has no attribute 'gdf_from_place'
I've installed (lib)spatialindex 1.8.5, geopandas 0.1.1, fiona 1.7.1, matplotlib 2.0.0 and version 0.2.2 of osmnx. May you please help me with the dependencies?

What version of Python and architecture are you using?
Is OSMnx installed in a virtual environment by itself?
How did you install OSMnx (pip, conda, manually, etc.)?
What are your environment's packages (or at least the versions and sources of all of OSMnx's dependencies)?
One thing I see is that you are using geopandas 0.1.1, but OSMnx requires >=0.2.1. You can see the list of dependencies and required minimum versions on PyPI at that link. If you install via pip or conda it should upgrade all necessary dependencies for you. You can install OSMnx with conda into a virtual environment:
conda create --yes -c conda-forge -n OSMNX python=3.6 osmnx
source activate OSMNX

Then from this virtual env, launch python or a jupyter notebook and import osmnx.

I use python 3.6.0
When changing to Linux 5 years ago, I've learned never to install anything into /usr without using a package manager. So I don't manually install binaries nor do I use pip or conda.
Here is my PKGBUILD for osmnx: https://aur.archlinux.org/packages/python-osmnx/
The error persists even after updating to geopandas 0.2.1

I don't have Arch Linux so I'm not sure I can recreate this problem. Unfortunately I also can't speak to that AUR package as I was not involved in creating or maintaining it or any of its dependency packages in the AUR repo. If you don't want to use a Python package manager, you'd probably have to contact the maintainer of the AUR package for more information.
Given this type of problem, I'd strongly suggest you create a clean virtual environment (with virtualenv, or some equivalent tool) and install OSMnx directly into it via the installation method of your choice. If you don't use conda or pip to manage the dependencies, then pay close attention to fully installing an appropriate version of each dependency and all of their dependencies (including non-Python packages like libspatialindex).
You didn't provide a complete list of the Python packages (and their sources) in your environment in your previous comment, but if you do, I can try to assist further. That is, not the package details from AUR, but rather the list of packages actually installed in your Python environment. You could use conda list (preferably) or pip list or any other equivalent package listing method that you prefer.

I (personally) have uploaded the package into AUR. For this I've transferred the requires.txt
requests>=2.11
numpy>=1.11
pandas>=0.19
geopandas>=0.2.1
networkx>=1.11
matplotlib>=1.5
Shapely>=1.5
descartes>=1.0
geopy>=1.11
Rtree>=0.8.3
into the PKGBUILD:
depends=('python-requests>=2.11' 'python-numpy>=1.11' 'python-pandas>=0.19' 'python-geopandas>=0.2.1' 'python-networkx>=1.11' 'python-matplotlib>=1.5' 'python-shapely>=1.5' 'python-descartes>=1.0' 'python-geopy>=1.11' 'python-rtree>=0.8.3')
This is equivalent, and ANY package manager could check, whether the dependencies are met.

But if you would like to see my package list, here it is:
appdirs (1.4.0)
atomicwrites (1.1.5)
Beaker (1.8.1)
beautifulsoup4 (4.5.3)
bsddb3 (6.2.4)
CacheControl (0.11.6)
cffi (1.9.1)
chardet (2.3.0)
click (6.7)
click-log (0.1.8)
click-threading (0.4.3)
cligj (0.4.0)
colormath (2.1.1)
cryptography (1.7.1)
cycler (0.10.0)
decorator (4.0.11)
descartes (1.1.0)
dlib (19.2.0)
file-magic (0.3.0)
Fiona (1.7.1.post1)
geopandas (0.2.1)
geopy (1.11.0)
gramps (4.2.5)
idna (2.2)
lockfile (0.12.2)
louis (3.0.0)
Mako (1.0.6)
MarkupSafe (0.23)
matplotlib (2.0.0)
mwparserfromhell (0.4.4)
networkx (1.11)
numpy (1.12.0)
oauthlib (2.0.1)
olefile (0.43)
osmnx (0.2.2)
packaging (16.8)
pandas (0.19.2)
Pillow (4.0.0)
pip (9.0.1)
ply (3.9)
protobuf (3.1.0)
py (1.4.32)
pyasn1 (0.1.9)
pycolorname (0.1.0)
pycparser (2.17)
pycrypto (2.6.1)
pygobject (3.22.0)
PyICU (1.9.5)
pyOpenSSL (16.2.0)
pyparsing (2.1.10)
pyproj (<IP_ADDRESS>)
pytest (3.0.6)
python-dateutil (2.6.0)
python-sane (2.8.3)
pytz (2016.10)
pywikibot (3.0.dev0)
Recoll (1.0)
requests (2.13.0)
requests-oauthlib (0.7.0)
requests-toolbelt (0.7.0)
Rtree (0.8.3)
scikit-image (0.12.3)
scipy (0.18.1)
selenium (3.0.2)
setuptools (34.0.2)
setuptools-scm (1.15.1.dev17+ngb0d17f1)
Shapely (1.5.17)
six (1.10.0)
team (1.0)
urllib3 (1.20)
vdirsyncer (0.14.1)
youtube-dl (2017.1.24)

Ok, thanks for the list. So, let's first make sure all the prerequisites are working properly. From a Python interpreter, run:
import requests, numpy as np, pandas as pd, geopandas as gpd, networkx as nx, matplotlib.pyplot as plt, matplotlib.cm as cm
from shapely.geometry import Point, LineString, Polygon, MultiPolygon
from descartes import PolygonPatch
from geopy.distance import great_circle, vincenty
from rtree.index import Index as RTreeIndex
from osgeo import gdal, ogr, osr
from fiona.ogrext import Iterator, ItemsIterator, KeysIterator
gdf = gpd.GeoDataFrame()

Does all that execute successfully?

I was missing python-gdal (osgeo), but now gdf = gpd.GeoDataFrame() executes successfully.
But I still get the above error no attribute 'gdf_from_place'.

Can you provide

the full code you're running, from the top (not just the line that's failing)
the entire error traceback

Full sourcode:
import osmnx as ox
city = ox.gdf_from_place('Berkeley, CA')
ox.plot_shape(ox.project_gdf(city))

Traceback (most recent call last):
File "osmnx.py", line 4, in
import osmnx as ox
File "~/py/osmnx.py", line 5, in
city = ox.gdf_from_place('Berkeley, CA')
AttributeError: module 'osmnx' has no attribute 'gdf_from_place'

There is something wrong with your installation. The traceback indicates that you have a module called "osmnx.py" in your environment. You said you are using OSMnx 0.2.2, but as you can see in the tarball, there is no osmnx.py file in the package.

@andischan did you get this working?

@andischan just checking back once more. I'll close this out in a couple days if it's no longer an active issue.


Grammar Correction Suggestion in Documentation for use-intersection-observer

In the page use-intersection-observer, I encountered the following sentence:
"I discovered this way of using IntersectionObserver via this while playing to build a ."
The sentence seems to lack proper completion, and it might benefit from a clarification or correction for better understanding by users.

There was an issue with the link component, now fixed. Thanks for the report


[feat] add clear input support to ion-textarea

Short description of the problem:
ion-textarea does not support clearInput attribute directive.
What behavior are you expecting?
Same behaviour as ion-input, display the clear button to clear up text area content.
Which Ionic Version?
2.0.0 RC1
Plunker that shows an example of your issue
This Plunker shows that clear button is not displayed in a text area neither outside or inside an ion-item.

Hello! Thanks for the feature request. I'm going to move this issue over to our internal list of feature requests for evaluation. We are continually prioritizing all requests that we receive with outstanding issues. We are extremely grateful for your feedback, but it may not always be our next priority. I'll copy the issue back to this repository when we have begun implementation. Thanks!

This issue was moved to driftyco/ionic-feature-requests#109

Sorry for posting on a closed issue. Where is the new Feature Requests website?
Thanks for your response.


[Feature Request] - Landscape scan screen

Hello,
It is perfect library, but I think it is missing feature to set scan screen to landscape. Is it possible to add this feature?

If the scan screen is shown by landscape view, the scan screen is also landscape.
Previously, changing to landscape after shown was possible but #7 suppressed it.

I have try to force app landscape, but it not work

https://user-images.githubusercontent.com/42576241/123217443-c6f53700-d4f4-11eb-88bc-e67bfe3da052.mp4

May I know how you solved this problem?
I also set it to landscape mode with SystemChrome, but barcode scanning is still fixed to portrait mode.


Common Protocol for all Dynamic classes?

Hi there,
is there a possibility that you can introduce an empty protocol that all the Dynamic types implement, similar to this?
protocol DynamicProtocol {}

public class Dynamic<T> : DynamicProtocol {
}

We would like to declare an array or set that can store the dynamic instances, but can't do that if they don't all have a common extension.
We have this kind of thing in our code base:
    private description: String = ""
    private var dynDescription = Dynamic(description)
    private var dynNetAmount = Dynamic(Money())
    private var dynVatAmount = Dynamic(Money())
   ...

and it would be really cool if we can declare a container like this that store any Dynamic instance:
var dynamicValues : [ ValueType: DynamicProtocol ]
dynamicValues[.description] = dynDescription
dynamicValues[.vatAmount] = dynVatAmount
...

We cannot do this at the moment because of the generic Dynamic type, but it will be possible all the Dynamic classes implement a single protocol without methods.
Thanks,
R

Hi @rvangraan,
You should be able to do that yourself with extensions, like this:
protocol DynamicProtocol {}
extension Dynamic: DynamicProtocol {}

Then you can declare an array of Dynamics of any generic type:
var dynamicValues = [DynamicProtocol]()

dynamicValues.append(Dynamic<Int>(0))
dynamicValues.append(Dynamic<String>("hi"))

That being said, for whatever reason you might need this, I'm not sure it's good approach. First of all, type information will be lost, so you'll need to cast to right type before binding:
(dynamicValues[1] as! Dynamic<String>) ->> nameLabel

Additionally, if you replace a dynamic element in the array, the binding will be lost. For example, if you do:
dynamicValues[1] = Dynamic<String>("Tim")

Then updating that new dynamic would not propagate to name label because that new Dynamic is not bound to it.
I'd strongly recommend against doing all this.
Thanks


MP3 exports sound bad when large amounts of notes are playing

When I mean "large amounts" I mean when the active sound counter (disabled by default) goes over somewhere around 50. Once it reaches this point, it's very close to sounding like earrape. I'm not sure how you could improve this though, it sounds like it can't handle that much noise at the same time. Overall, recording your computer sounds way better.
Side note: The mp3 also does not play stereo effects.

Thanks for recording! Oops, reporting.
Both the bad export quality and the lack of stereo support are known issues; the reason we haven't fixed them before is that it requires changing the MP3 export DLL which is not exactly an easy task. However, we'll remove that dependency on version 4 and it should be much easier to fix those issues. :)
I'm closing as a duplicate of #77.


git add tab completion cycles over all files

System Details

posh-git version/path: 1.1.0  ~\OneDrive - Microsoft\Documents\PowerShell\Modules\posh-git\1.1.0
PowerShell version: 7.2.2
git version 2.35.1.windows.2
OS: Microsoft Windows NT 10.0.19044.0

Issue Description
This may not be related to posh-git but I am hoping someone here may be able to help. When I do:
git add <press tab>

The completion cycles through ALL files in current directory and not just the directory / subdirectories of modified files.
I was wondering if anyone had a similar issue and if so how did they resolve it.

Are you using the posh-git prompt? What does $GitStatus show in a repo with modified files?

Are you using the posh-git prompt

@dahlbyk Thank you so issue was that I had my own global:prompt function in the $profile file. However I see that the prompt now only cycles through files that were modified when I entered the git repo directory. Is this a bug?
1- Enter repo directory, say I have file1 and file2 modified
2- git add  cycles through file1 and file2
3- modify file3
4- git add  still only cycles through file1 and file2

@dahlbyk Awesome thank you so much!


Test dump notification via websocket

Need to create a test to confirm dump notifications occur over the websocket interface on Redfish.

[ ] https://gerrit.openbmc-project.xyz/#/c/openbmc/openbmc-test-automation/+/26391/


feat: support set child stderr/stdout by fd

Sometimes we may not only want to set child stderr/stdout as specific file.
We need to support set child stderr/stdout by any opened file discriptor.

@deniszh @sevlyar Could you please take a look at this PR? Thanks!

LGTM, merging
Thank you!


Bump RSpec 3.0 to 3.2. Add spec.license attribute

1.3.2

Add spec.license attribute to gemspec
Bump RSpec dependency 3.0 to 3.2

Thanks for the PR. The rspec upgrade pointed out that the paths to the specs in the rakefile were incorrect - fixed via #137.
Released WinRM gem 1.3.2


High res image appears too large

DEMO

OSX
Chrome Version 60.0.3112.113, Firefox 55.0.3

@nervewax It should be fixed now...You can verify through the latest code on your local or wait for v1.2.5 to be available on cdnjs.


Fix properly return promise

Fixes this scenario:
function action1() {
   var promise = new Promise(function(resolve) {
       resolve('some data');
   } )

   return promise;
}

function action2(context) {
   return context.executeAction(action1)
   .then((data) => console.log(data)) // undefined
}

Thanks for fixing this. Do you think we could call the promise parameter you added to printActionDuration() the promiseResult? It took me a minute to figure out exactly what was happening there, and I think that would just make it slightly clearer.

Done. Please publish a new version after you merge this. Nice lib BTW!

Thanks @mpaulucci!

Published v0.2.1


first day

lessons seen and applied on the first day of the Bootcamp, remains pending to apply the tasks of the TO-DO

approved


[Feature] Chat Composite project skeleton structure

Purpose

Added folder/project structure for chat composite
Added entry point for starting chat composite and reading from environment variable
Added stub for public API for chat composite

Does this introduce a breaking change?

[ ] Yes
[ x ] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ x ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

What to Check
Verify that the following are valid

...

Other Information

@jimchou-dev as part of initiative to rework some of the readme. I think it makes sense to create a new readme.md in the sdk/AzureCommunicationUIChat folder. I think it can be just the stub rea me for now and we can fill it in as the new public apis  are ready.


not working on Laravel 5.4 even when using dev-develop branch

Hi there,
I hadn't used your package for a while and tried to use it just now. I quickly saw that there was a conflict between the new $loop changes introduced in 5.3. So I came here to see if you had made any changes and saw you were working on a new 7.0 version that would fix all this!
So I switched to the develop branch and tried adding "radic/blade-extensions": "~7.0"
but that didn't work. Then I changed that to dev-develop and that worked.
I got the latest files, cleared all cache and tried again but it's still giving me an error about Undefined index: iteration when trying to use $loop->iteration inside a @foreach loop
I published your blade-extensions config file and added a section for 5.4, basically just duplicated the 5.3 under version_overrides but that still didn't work. I thought maybe you're not merging the config so I also modified the blade-extensions.php file inside the vendor folder.. but still no go.
Can you tell me what I need to do to use your extension with 5.4 if I'm using your latest development branch?
Much appreciated!
Thanks!

sorry for the late response, but this might do the trick

return [
    'mode'              => 'auto',
    'directives'        => [
    ],
    'version_overrides' => [
        // add 5.4
        '5.4' => [
            'foreach'    => null,
            'endforeach' => null,
            'break'      => null,
            'continue'   => null,
        ],
    ],
];

in the config file blade-extensions.php

@vesper8 https://travis-ci.org/RobinRadic/blade-extensions/builds/203254265
This should be working. Will tag 7.0.0 after some more adjustments / tests.
"radic/blade-extensions": "dev-develop as 7.0.0"


Pip cannot get requirements to build package

Added all the documentation that should be needed for packaging, and added a placeholder program to test the packaging,  however upon trying to install the package locally it is failing, stating:
error: subprocess-exited-with-error
× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> [48 lines of output]

Anybody got any ideas as to why it might not be working?

It might be to do with the version of Python.


[x-peer] Can not set hostname of remote container

Setting hostname of remote container (x-peer environment) is not available:

How to test:
Create x-peer environment
Set hostname of container on remote peer via initiator peer

Followed by test case. Fixed in Master


Errors after installation of Pyfhel

I successfully installed the Pyfhel. When i am trying to execute the demo programs which are their in examples folder i am getting errors "no module named Pyfhel".  I tried the other way of installing (using ./configure), it also gave me the errors. The screenshots are attached with this mail.

Kindly tell me
1) How to run Demo programs which are their in the examples
2) How to use the SEAL latest library through Pyfhel??

Hi,

the Demo programs are not up to date at the moment.
However, everything described in this blog post
should work.
I am planning to work on SEAL 3 integration, but as this is just a hobby project please expect this to take weeks.

Installation, numpy issues and demos solved in recent versions of the library.


MLDB-1454 remove table name in WHERE for function

The WHERE optimizations are done by the dataset but the dataset doesn't know its alias which is context-dependant so we had to pass the alias to the dataset.

+1 with minor comments


Outlook.com

I have the 2 columns including text and image. But it is not responsive on outlook desktop. It should show side by side instead of below each other vertically. How should I fix this?
Thanks, Here is my code.
‹

Content 1

Content 2

Hey @NorthstarTech, this is a know issue, please have a look at this comment (especially the part about Outlook.com).
Note that in MJML 4, you have the option to change this behaviour and display the desktop layout on Outlook.com by adding owa="desktop" on the mjml root tag.


Is there a maximum number of indexes per collection?

This is a question, not a bug report / feature request.
I'm wondering if there's a maximum number of indexes allowed per collection (e.g. like MongoDB's limit of 64). I can't seem to find an answer to this in the docs, issues, via Google, and even chatGPT doesn't know, so is is just bounded by memory / disk size?
Thanks!

Hello. We don't have such restriction

so is is just bounded by memory / disk size?

Yes.
Note, some code probably could work slower than expected if collection will have like 1e5 indexes.
Because on practice most users commonly don't create more than few hundreds indexes per collection


chore(deps): fix audit error by upgrading jest to ^24

Upgrade Jest due to npm audit errors, which gets me to what @jstewmon stumbled upon in #1318.
This PR only upgrades Jest (due to audit errors), and unlike #1318 it does not change the error type in lib/context#116, which to me is a breaking change. However the solution is the same.
I dislike having to work around Jest in lib for it to pass but the only other option is to move away from Jest.
Referens from comments to Jest issue: https://github.com/facebook/jest/issues/2549

hmmm, I'd like to move away from jest and keep the code base simple. see https://github.com/koajs/koa/pull/1363


Incorrect use of private vs public repository

Hello,
Thanks for your work.
We noticed a few issue when using this action with our own instance of GitHub.

The links all point to github.com instead of our instance.
If the job is run in a repo marked as public, the analyze over the whole organization will only consider public repositories while a repository marked as private will only look at these one. If this is an expected behavior, maybe documenting it would be nice.
The number of PR analyzed is limited. In the log it indicates 1000 PR which is much less than the approximate 100'000 we have.

Cheers

Currently not supporting private Github instances due to API limitations.


 Previous version had transparent background to head and it burned as black also.

Hm. 0.6.22 should have fixed issue #390 which tended to have some minor issues there. There also might be an OS component to the problem since sometimes you get different backgrounds based in part on what color a particular implementation calls default.

Are the images being classed as rasters for you and combined? Or is it kicking in when classed as images? The head seems to be rastering okay in image. Unless it's somehow doing the proper smaller region but then coloring the transparency as black within the smaller region.

Also, if it's in a raster, can you try right clicking and go to the bottom with Make Raster Image and see if it produces an image with black there for you. I can't reproduce this failing. Also, what OS since that sometimes make a difference. I think Linux had some regions getting blacks where they shouldn't have had them.

Sorry - it appears that the background was always transparent - and I mistakenly had not changed it to white.
O/S is Windows 10 1909.
Before #355 I used to get black background burns on every transparent PNG background. After #355 it worked fine until today and this specific image. I cannot find a menu item in 0.6.22 for Make Raster Image.

Here is the dragon head with transparent bg.
Circular keyfob dragon bee.zip

Make raster still went to white. So I'm thinking if it's a thing, that it'll be in the actual images themselves. The rastering routines have methods for different image types, so 1-bit black and white works like on and off, and grayscale L works like PPI applied to a shade. RGB should convert to grayscale sort of and work a bit like that. RGBA might have an issue within that. But, I'm pretty sure it should be RGB with the A value being used to attenuate the values.
return (1.0 - (pixel[0] + pixel[1] + pixel[2]) / 765.0) * pixel[3] / 255.0 where 0, 1, and 2 are RGB and 3 is A. That seems like it should be correct. A value of 0.
Well, it's certainly something. Tested and it clearly is cutting that as black.

Okay, the dragon head image in a mode P image which gets:
                        v = p[pixel * 3] + p[pixel * 3 + 1] + p[pixel * 3 + 2]
                        return 1.0 - v / 765.0

As the mode, but that discounts the chance of there being an alpha layer, but there clearly is one. Which identifies the bug. I'll lookup how to deal with that type of mode, when it has alpha.

I made the seemingly required update but it's weird and I'm going to have to debug it harder to figure out what's wrong. It weirdly goes over to the right hand side seemingly for no reason. But, if I did "image remove blue" on the image (the image has no blue and should be fine) it somehow rastered fine since it converted to RGBA. I still have something to get to the bottom of there, but it's closer.

I'm seeing the same problem here. The attached image classifies as 'image' and has a PNG with transparent background in it. But the laser engraves the transparent areas black. The white parts are ok.
Viking Runestone 02.svg.zip

Checked in the 7.1 version and this simulates those areas as black, implying it would absolutely want to raster the edges there with a hard laser-on.

The 0.6.23 version appears to have treated the image correctly though that version is still beta, and where this issue was expected to be fixed.

0.6.22 looked to do that correctly. It, however, did not.

Testing. 0.6.23 fixes this issue.

Should push up the publication and test the rest of the code. And test that this is not an issue in 0.7.x

I tested and published the old 0.6.23 code that fixed this.
https://github.com/meerk40t/meerk40t/releases/tag/0.6.23
Please confirm that corrects it (It does). And I'll go ahead and close this issue.

The 0.6.23 version works perfectly. Thank you


Tika REST does not start in background

Per doc, "To use this library, you need to have Java 7+ installed on your system as tika-python starts up the Tika REST server in the background."
But the background server does not start (tried 2.7 and 3.x python) during installation and there are no failures. Any idea ?

check your tmp directory for tika-server.log or tika.log. What do they say? Also what platform/OS, and Java version and Python version do you have installed?

After digging around, it looks like the server does start after the first API call (downloads jar and starts it). Closing the ticket as it works now.


error: reference to 'RGB' is ambiguous

When trying to use the RGB led on the SparkCore in combination with the library you get errors because of a naming collision.
NSFastLED::EOrder RGB
and
RGBClass RGB

In that case, take out the FASTLED_USING_NAMESPACE declaration and explicitly namespace all your references to FastLED functions/constants/etc...

Thanks!


pull request for e2e test at 11/09/2016 03:26:11

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


CreateConvertRelaxedToHalfPass Binary size unexpectedly changed despite the optimizer saying there was no change

source spirv:
// Module Version 10000
// Generated by (magic number): 8000a
// Id's are bound by 20

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Fragment 4  "main" 9 17
                              ExecutionMode 4 OriginUpperLeft
                              Source ESSL 310
                              Name 4  "main"
                              Name 9  "outFragColor"
                              Name 13  "sTexture"
                              Name 17  "v_texcoord"
                              Decorate 9(outFragColor) RelaxedPrecision
                              Decorate 9(outFragColor) Location 0
                              Decorate 13(sTexture) RelaxedPrecision
                              Decorate 13(sTexture) DescriptorSet 1
                              Decorate 13(sTexture) Binding 0
                              Decorate 14 RelaxedPrecision
                              Decorate 17(v_texcoord) RelaxedPrecision
                              Decorate 17(v_texcoord) Location 0
                              Decorate 18 RelaxedPrecision
                              Decorate 19 RelaxedPrecision
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeFloat 32
               7:             TypeVector 6(float) 4
               8:             TypePointer Output 7(fvec4)
 9(outFragColor):      8(ptr) Variable Output
              10:             TypeImage 6(float) 2D sampled format:Unknown
              11:             TypeSampledImage 10
              12:             TypePointer UniformConstant 11
    13(sTexture):     12(ptr) Variable UniformConstant
              15:             TypeVector 6(float) 2
              16:             TypePointer Input 15(fvec2)
  17(v_texcoord):     16(ptr) Variable Input
         4(main):           2 Function None 3
               5:             Label
              14:          11 Load 13(sTexture)
              18:   15(fvec2) Load 17(v_texcoord)
              19:    7(fvec4) ImageSampleImplicitLod 14 18
                              Store 9(outFragColor) 19
                              Return
                              FunctionEnd

use optimize code:
RegisterPass( spvtools::CreateConvertRelaxedToHalfPass() );

result spirv:
// Module Version 10000
// Generated by (magic number): 8000a
// Id's are bound by 20

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Fragment 4  "main" 9 17
                              ExecutionMode 4 OriginUpperLeft
                              Source ESSL 310
                              Name 4  "main"
                              Name 9  "outFragColor"
                              Name 13  "sTexture"
                              Name 17  "v_texcoord"
                              Decorate 9(outFragColor) Location 0
                              Decorate 13(sTexture) DescriptorSet 1
                              Decorate 13(sTexture) Binding 0
                              Decorate 14 RelaxedPrecision
                              Decorate 17(v_texcoord) Location 0
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeFloat 32
               7:             TypeVector 6(float) 4
               8:             TypePointer Output 7(fvec4)
 9(outFragColor):      8(ptr) Variable Output
              10:             TypeImage 6(float) 2D sampled format:Unknown
              11:             TypeSampledImage 10
              12:             TypePointer UniformConstant 11
    13(sTexture):     12(ptr) Variable UniformConstant
              15:             TypeVector 6(float) 2
              16:             TypePointer Input 15(fvec2)
  17(v_texcoord):     16(ptr) Variable Input
         4(main):           2 Function None 3
               5:             Label
              14:          11 Load 13(sTexture)
              18:   15(fvec2) Load 17(v_texcoord)
              19:    7(fvec4) ImageSampleImplicitLod 14 18
                              Store 9(outFragColor) 19
                              Return
                              FunctionEnd

git branch
tag(v2020.6) or master

hi,Can someone help me?

hi,Can someone help me?

@s-perron
So, are you saying the optimizer reported no change even though the decorations were changed?

@s-perron
So, are you saying the optimizer reported no change even though the decorations were changed?

Can you please provide the spir-v in a format that can be assembled using spirv-as?

Can you please provide the spir-v in a format that can be assembled using spirv-as?

Any shader that uses "CreateConvertRelaxedToHalfPass" will see this in my test.

Any shader that uses "CreateConvertRelaxedToHalfPass" will see this in my test.

@dj2 yes，you are right。

@dj2 yes，you are right。

@lance-loong if you run spirv-dis on the .spv file you'll get the SPIRV-Tools format of disassembly instead of the GLSLang format. We can then use spirv-as to reassemble the .spv and run our tests.

@lance-loong if you run spirv-dis on the .spv file you'll get the SPIRV-Tools format of disassembly instead of the GLSLang format. We can then use spirv-as to reassemble the .spv and run our tests.

I think I see where the error is.  It does not happen in every shader.  The case above is special in that there are not instructions that whose return type can be changed from float to half.  The relax precision are on the texture and image load.  They are not used in relaxed precision arithmetic operations, so the pass sees no point in adding a convert to change the type.  The actual body of the function does not change.
However, a later pass through the decorations removes the relaxed precision decorations.  The code assumed that if any decorations are removed, then the body of the function must have been changed.  So it does not record that a decoration was removed, and that the module was changed.
@lance-loong I still need a test case to actually test this.  As @dj2 mentioned, you can disassemble the spir-v with spirv-dis and give us that output.  Rewriting the glslang disassembely format is tedious.  You can also provide the GLSL with the glslang command you used to compile it.

I think I see where the error is.  It does not happen in every shader.  The case above is special in that there are not instructions that whose return type can be changed from float to half.  The relax precision are on the texture and image load.  They are not used in relaxed precision arithmetic operations, so the pass sees no point in adding a convert to change the type.  The actual body of the function does not change.
However, a later pass through the decorations removes the relaxed precision decorations.  The code assumed that if any decorations are removed, then the body of the function must have been changed.  So it does not record that a decoration was removed, and that the module was changed.
@lance-loong I still need a test case to actually test this.  As @dj2 mentioned, you can disassemble the spir-v with spirv-dis and give us that output.  Rewriting the glslang disassembely format is tedious.  You can also provide the GLSL with the glslang command you used to compile it.

OK，Just a moment.

OK，Just a moment.

shader.zip
@s-perron hi,You can see this.Many thanks.

shader.zip
@s-perron hi,You can see this.Many thanks.

Thanks.  I got the files.

Thanks.  I got the files.

Cheers!

Cheers!


Fix duration being applied to non-AV claim_search

Closes #2690
Test: salt
@keikari, can you give it a test?

Seems to work like expected now!
Btw this popped up when starting to set custom duration

Thanks.  It seems like we've been sending empty durations duration: [] in production for this scenario.
It works, but cleaner to not add any.  Will clean it up.


doc/testers: testVersion -> testers.testVersion, add example

Description of changes
This fixes the invocation of testVersion in the manual, it got moved to testers a bit ago. Also adds an example which explains the output needs to match version exactly, as that wasn't immediately apparent to me.
Fixes #190524
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

Should we backport this? People see the stable docs by default.

Should we backport this? People see the stable docs by default.

Sounds like a good idea.


add a second master server, rework the defines

add a second master server
send gamestat to every master server
retrieve motd from first working master server
extend the globalservers command to query every master server at once

LGTM
I believe that this will cause servers to report to both masters, but that the client lacks any logic for trying alternative servers. The user would still have to type a command to get servers from a master other than the 1st one.

I updated the PR to make the server sending gamestat to every master server and retrieving motd from first working master server.

A better client implementation would be to merge the server lists (like a server browser like XQF does). Basically we would have to add to the internal server list any server found in a list from a master server that was not already added to the internal list before.

Extending the globalservers command to allow something like that would be good:
globalservers * 86 full empty

I just added a commit to do that btw I don't know yet where we have to deduplicate the received lists.

If I'm reading things the right way there is already some deduplication for both packets and addresses:
https://github.com/DaemonEngine/Daemon/blob/3176f14586519acdabf626fca9d43b4373efce04/src/engine/client/cl_main.cpp#L2429-L2440

Also, if I read it right if two master servers reply the same list of servers in the same order a false-positive warning about duplicate packet can occurs. This is probably OK.

What is MOTD, is it even used ever? Can we delete it?

The global stats thing seems deletable too. It's a fairly pointless idea since it is so easy to vandalize.

is it even used ever? Can we delete it?

I like this kind of question! :grin:

what is globalstats for? what does it do?

The game stats thing is mostly just the same information as the server status, plus which team won the game. So I guess gamestats was added in Tremulous for making the statistics on global humans win vs. aliens vs. draw rate.

I see, a kind of cheap and unreliable http://stats.xonotic.org/ ?
In this case I'm OK to drop it: we have to do something better in either way

We used to have something like that for the official server (with stats per player per weapon, etc.). Based on just parsing the game log I guess? Anyway, the information sent to the global stats server is very minimal - you only get a couple graphs like average number of players or team win percentages. Probably not too meaningful at the moment since most games are played by bots.

I removed the Windows 95 workaround for name resolution, hence the master servers are now resolved when needed. It fixes Unvanquished/Unvanquished#1082.

I discovered that

server deduplication only worked on already known servers, not on multiple responses from server
packet deduplication was just deduplicating “n-th packet from any master server” whatever the content, meaning the first packet from first master server will make the engine drops the  first packets from all other masters…

So I removed that useless packet deduplication and added some code to deduplicate servers themselve.

You can remove the "send gamestat every master server" commit since we are deleting gamestats now.

Why should we care about detecting duplicate master servers? I don't see the point.

Master MOTD is not used because it wasn't carried over somehow when we redid our UI with librocket (whoops...). It's still set on the master server. I was going to use it to tell people to upgrade unv lol

This PR now drops support for gamestats. See Unvanquished/Unvanquished#1083

@DolceTriade you initially approved this PR but I added a lot of things since. Can you review it again?
Do we drop MOTD or not?

ya, we drop it.

I added a commit to drop motd support.
To announce new versions it would be better to have a code that compares the current running version number with the one from servers in server browser and when connecting to them, something saying “hey, this server is in the future, do you wanna jump forward???”

Oh and btw, the GetNews thing is more a game thing than an engine one.

It's an engine thing because with QVMs, the game had no way to fetch external data. However, now that we can compile curl directly into the game/cgame, it can be a game thing.

I see.


What permission is required

I am trying to allow a developer access to add a vnet in a test app service. This article does not specify what permission is required to access and add a vnet.

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

ID: a7a98803-1438-b1b5-f543-7dd88bc4294e
Version Independent ID: 37ff1d0f-ed8e-5e4d-1f4c-1b9f6cffb938
Content: Integrate an app with an Azure Virtual Network
Content Source: articles/app-service/web-sites-integrate-with-vnet.md
Service: app-service
GitHub Login: @ccompy
Microsoft Alias: ccompy

Hi @CODevOp, thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

Doc has been updated. You will need sufficient networking permissions to add a Regional VNet, see Regional VNet Integration under Debug access to virtual network-hosted resources


SSH could not read data: Error waiting on socket

Hi guys,
We are having this issue since some time and we hopped that by upgrading this would be fixed.
Latest FluxCD version did not fixed it unfortunately (v.0.28.5).
We are using EKS in AWS and i followed every guide or best practice from FluxCD.
Versions used: v0.28.5
gotk-sync.yaml:
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: GitRepository
metadata:
name: flux-system
namespace: flux-system
spec:
interval: 1m
timeout: 50s
Please fix this as the developers can not test their new deployments and our CD pipelines are blocked.
Thanks.

@cbanciu667 thank you for reporting this issue. We have recently fixed this problem with our new experimental transport.
Now that you are on the latest version of the controllers, can you please just opt-in to the experimental transport as detailed below and hopefully it will resolve your issue:
https://github.com/fluxcd/source-controller/issues/636#issuecomment-1080789920

@jdiegosierra do you mind confirming what version of image-automation-controller you are using?

@pjbgf
flux bootstrap git \
<EMAIL_ADDRESS>\
  --branch=master \
  --path=kubernetes/clusters/development \
  --private-key-file=/Users/my_user/.ssh/id_rsa \
  --context=arn:aws:eks:eu-west-1:my_aws_account_id:cluster/development \
  --components-extra=image-reflector-controller,image-automation-controller

    Image:         ghcr.io/fluxcd/image-automation-controller:v0.21.3
    Image ID:      docker-pullable://ghcr.io/fluxcd/image-automation-controller@sha256:de3bc7e17ddeebf8cc96ac1df8b658557556f30f0d1a521ddc703a6ca5b20a1b

    Image:         ghcr.io/fluxcd/source-controller:v0.22.5
    Image ID:      docker-pullable://ghcr.io/fluxcd/source-controller@sha256:a7eb65e2a015d9b9c5f125d440381d33c2aa6ca363ad88a9aa66f4cc09ddc4a7

    Image:         ghcr.io/fluxcd/image-reflector-controller:v0.17.1
    Image ID:      docker-pullable://ghcr.io/fluxcd/image-reflector-controller@sha256:01f68bfa1a242a2fae7071dc1583ae33b620a8439f862a2d33bbc3c71bbad04a

Is there any workaround? Maybe setting a stable version? I'm totally blocked with this and can't get any image to be upgraded automatically.

For those who are blocked, I'm using Keel Tool together with Flux and it works fine. So I'm using Keel for image automation and Flux for infrastructure automation.

I activated the experimental transport but now I get this error:
2022-04-08T14:50:12.355Z error ImageUpdateAutomation/flux-system.flux-system - Reconciler error unable to clone 'ssh://git@bitbucket.org/.../repo.git': ssh: rejected: administratively prohibited (cannot open additional channels)
2022-04-08T14:50:59.884Z error ImageUpdateAutomation/flux-system.flux-system - Reconciler error unable to clone 'ssh://git@bitbucket.org/...../repo.git': EOF
2022-04-08T14:51:10.822Z error ImageUpdateAutomation/flux-system.flux-system - Reconciler error unable to clone 'ssh://git@bitbucket.org/..../repo.git': ssh: r2022-04-08T14:53:11.375Z info ImageRepository/tenant-management-svc.flux-system - reconciliation finished in 59.536288ms, next run in 1m0s

However the situation is a little better in the sense that the images are randomly updated. Sometimes yes, sometimes not.

I have recently merged some fixes on source-controller that should fix the EOL and early EOF for cached connections that became stale. Once a version is cut, I will be able to release a new image for image-automation-controller with those improvements.
In the mean time, I create a draft PR, so you can either:

Wait until the changes are released (at some point next week).
Test changes using my image: quay.io/paulinhu/image-automation-controller:selfheal@sha256:0c78d0ff5aec404c724b623e9d4ae00d5c0348320c397626900d1e073e1d7ac5:
Create your own image using the PR and running: IMG=repo/and/image-name TAG=your-tag BUILD_PLATFORMS="linux/amd64" BUILD_ARGS="--push" make docker-build

If you could test ahead of the release and confirm it fixes/improves your issue that would be great.
On a side note, do either of you have multiple concurrent BitBucket sources running at similar intervals?

@pjbgf
I am using the image provided in step 2 in one of our clusters and I still see occasional errors like "unable to clone -  transport closed", as before, but they are reduced in number.
I will use this image in all our 4 clusters and test further the image updates. I will come back with feedback after 1-2 days.
Btw. we are using a technical git user with same ssh key across all clusters. Could that cause an issue with Bitbucket because repetitive git calls ?

@cbanciu667 thank you for testing and reporting back.
In terms of BitBucket's rate limiting, it will depend on the frequency of the calls. They do have a very high limit for authenticated connections. As long as you don't reach their threshold, and are not generating too many authentication failures, you are less likely to be throttled.
I know that the SSH protocol first attempts an "anonymous connection" before providing authentication, I am not sure whether BitBucket counts for those. If they do, then your limit is about 60 requests per hour per source IP.

Yesterday I deployed the image mentioned in step 2. Same as with @cbanciu667 , there's a significant improvement with reduction of errors (I'm on BitBucket as well). I'm looking forward to upcoming releases containing these changes.

After checking again the logs from our clusters, the SSH errors as bellow are still there, but the new images are committed somehow. The situation has improved so we will continue to use the provided testing image until further version/fix is released.
"logger":"controller.imageupdateautomation","msg":"Reconciler error","reconciler group":"image.toolkit.fluxcd.io","reconciler kind":"ImageUpdateAutomation","name":"flux-system","namespace":"flux-system","error":"unable to clone<EMAIL_ADDRESS>SSH could not read data: Error waiting on socket

Hi @pjbgf ,
Does it makes sense to keep this issue opened ? From my side, even if the random errors are there,  the images get updated somehow and the CD part seems to work without any issue since 2 feels ago. Which is the most essential part.
You know better what is required from the coding side or if there are any pending changes.
Thanks a lot.
Cos

@cbanciu667 happy to go ahead and close it.
We will keep tracking the overall improvements on the Git implementation on the linked issue.


Did a scroll event come from a wheel or from a trackpad?

I'm applying https://github.com/glfw/glfw/pull/2419 internally for supporting Trackpad gestures in my apps, but, in that very same topic, I found that most 3D apps really need to know if a scroll gesture comes from a true scroll wheel, or from a trackpad (or a mouse that behaves like a trackpad, like the Magic Mouse and the Mighty Mouse). And I say that they really need to know this, because the usual behaviour in 3D apps (at least in all apps I know) is that the mouse wheel is used for zooming, while the Trackpad, the scrolling-pad in the Magic Mouse, and the ball in the Mighty Mouse are used for panning.
It would be absurd that a mouse wheel is used for panning vertically a 3D view (in a 3D camera, you want to pan in both X and Y, so if you have a mouse wheel, you want it for zooming rather than just Y panning), and it would also be absurd that a scrolling event from a Trackpad is used for zooming (because the Trackpad has the zoom gesture for that).
So, I'm doing some modifications to GLFW (after applying https://github.com/glfw/glfw/pull/2419), so that there's a new callback for panning, while the existing callback for scrolling is used when the event comes from a real mouse wheel.
BTW, it's not very clear how to check if a scrolling event comes from a wheel or from a trackpad/magic_mouse/mighty_mouse. If you google for it, you'll find that the way of checking looks a bit hacky.
I prefer not to maintain my own fork, so I'm opening this issue in order to see if you find this interesting and if you agree with me that 3D apps need to know this.

Rather than having separate callbacks for trackpad-like and for scrollwheel events, I believe it's better to put everything in the same callback, but with a more detailed interface. An interface that would work perfectly for me is as follows:
detailedscroll_callback(GLFWwindow *window, double xoffset, double yoffset, int iswheel, int isinverted)
where iswheel would be true if the event came from a scrollwheel, or false if it came from a trackpad or trackpad-like device, and isinverted is true if the user enabled the "natural scroll direction" Mac user preference, or false otherwise.
This callback provides everything that both my 2D and 3D apps would need for properly responding to scroll/panning events.
The existing scroll callback could be kept for backwards compatibility, and provide this one with its more detailed interface for applications that need it.


throw/catch for bytecode detection does not work on nativecomp branch

What's wrong
I've been trying out the nativecomp branch and I use straight.el as my package manager. It's very possible this is an Emacs bug, but when reporting it to emacs-devel they suggested I report it here to try and narrow it down.
One of the things that it does is throw when it detects that its own compiled bytecode has changed. It does this from within straight.el:
https://github.com/raxod502/straight.el/blob/2d407bccd9378f1d5218f8ba2ae85c6be73fbaf1/straight.el#L45-L49
It then catches within bootstrap.el, which loads straight.el:
https://github.com/raxod502/straight.el/blob/2d407bccd9378f1d5218f8ba2ae85c6be73fbaf1/bootstrap.el#L47-L54
Unfortunately, this doesn't work with nativecomp. It claims that there's no matching catch when a throw actually happens.
Warning (initialization): An error occurred while loading
‘/Users/aaronjensen/.emacs.d/early-init.el’:

No catch for tag: emacs-version-changed, nil

Directions to reproduce
Build emacs with nativecomp. Run Emacs with an init.el containing just the bootstrap code. Watch the async compilation and wait for it to at least compile straight.el. Once that's done, rebuild emacs (you can just touch xdisp.c) and run emacs again.
Version information

Emacs version: 28.0.50 nativecomp
Operating system: macOS

After a little more digging, I believe the problem is:
https://github.com/raxod502/straight.el/blob/2d407bccd9378f1d5218f8ba2ae85c6be73fbaf1/bootstrap.el#L62-L65
With nativecomp, loading the elc will load the eln. Only the elc was recompiled, not the eln, so the old eln also throws, but there's no catch.
I have a thread on emacs-devel discussing this. I'll report back with what their suggestion is.

Thank you for the report.
I suspect this is related: https://github.com/raxod502/straight.el/issues/643

With nativecomp, loading the elc will load the eln. Only the elc was recompiled, not the eln, so the old eln also throws, but there's no catch.

This sounds like the root of the problem.
Can you confirm that deleting the eln before launching Emacs does not cause the error?

Yes, that’s how I work around it.

It does sound like the eln should be invalidated, so I will open an issue on emacs.

Filed upstream: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=46617

It does not appear that this will be fixed in a way that requires no changes to straight.el.
Straight will have to become aware of native compilation and either do the native compilation itself, or delete the corresponding eln any time it does a byte compiling of straight.el.

Loading an elc explicitly will no longer load the eln implicitly, which ultimately should "fix" this issue at the cost of straight.el not being loaded native, ever
There is now a function to locate the eln: comp-lookup-eln which could be used to force loading the eln

It might make sense to update bootstrap to, when the version check fails:

Delete the corresponding eln, if it exists and native-comp is enabled
Byte compile
Load straight.el without an extension, allowing Emacs to pick the best file to load and triggering an async native compilation of straight.el

Alternatively, you could byte compile, then native compile, then load the native compiled version explicitly.

Thanks for the analysis, Aaron. If you're willing to submit a pull implementing any of the above, we'd gladly work with you on it.
Otherwise, I will get to this issue eventually, but I have it marked as a lower priority in my notes because I'm not personally on the nativecomp branch and I'd prefer to let the dust settle on that feature rather than chasing a moving API.


mosquitto: 1.6.12 -> 2.0.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/mosquitto/versions.
meta.description for mosquitto is: "An open source MQTT v3.1/3.1.1 broker"
meta.homepage for mosquitto is: "https://mosquitto.org/"
meta.changelog for mosquitto is: ""
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.0.5 with grep in /nix/store/awl185d61b301gfwgmw634rp2sfa5jm2-mosquitto-2.0.5

directory tree listing: https://gist.github.com/14b88ae8cd8f2ed869a5a144702e2822

du listing: https://gist.github.com/f8f40715d91dbe42306b70dc87bf981d

Rebuild report (if merged into master) (click to expand)

16 total rebuild path(s)

4 package rebuild(s)

4 x86_64-linux rebuild(s)
4 i686-linux rebuild(s)
4 x86_64-darwin rebuild(s)
4 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
collectd
collectd-data
domoticz
mosquitto

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/awl185d61b301gfwgmw634rp2sfa5jm2-mosquitto-2.0.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A mosquitto https://github.com/r-ryantm/nixpkgs/archive/1546a14bcd524768622b9de91b10859d2c2b0810.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/awl185d61b301gfwgmw634rp2sfa5jm2-mosquitto-2.0.5
ls -la /nix/store/awl185d61b301gfwgmw634rp2sfa5jm2-mosquitto-2.0.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages built:

collectd
collectd-data
domoticz
mosquitto

Maintainer pings
cc @peterhoeg for testing.

Superseded by https://github.com/NixOS/nixpkgs/pull/110863

Superseded by https://github.com/NixOS/nixpkgs/pull/110863


Disable nginx server tokens everywhere

Avoid exposing information on our openresty version regardless of where
the query is being made
Signed-off-by: Tim Smith<EMAIL_ADDRESS>

This will require testing once the build pipeline is fixed

I think this is only going to solve part of the problem. The endpoints will still report as openresty. We will need to compile in a module to handle nuking that header entirely, which we should do. This removes the most sensitive data though.

Thanks @tas50! Will take a look shortly.

https://buildkite.com/chef/chef-chef-server-master-omnibus-adhoc/builds/2624#0c51450d-a938-44ad-9f8e-ce031d3fd6cc

I validated this works with Chef Manage installed still


What version of Python does this tool use?

I got a bunch of errors when i use python3.7.9 .

I have 3.9 at the moment so that should work.
Am Mo., 28. März 2022 um 08:23 Uhr schrieb imjinjia <
@.***>:

I got a bunch of errors when i use python3.7.9 .
—
Reply to this email directly, view it on GitHub
https://github.com/LostTemplarRH/innocence-r/issues/5, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASV7275IFQQA2ZBGOPHGOI3VCFF4RANCNFSM5R2CBQJA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@LostTemplarRH
Thank you ,I'll try 3.9 later.


New hook for launching v2.0 plugins

MicroDrop v1.0-style plugins based on PyUtilib are launched by importing the plugin's root directory. The proposed v2.0 plugin framework aims to be language agnostic, and therefore we need a new method for launching plugins. One option could be to use a hook script -- e.g., on_plugin_start.bat (Windows) or on_plugin_start.sh (Linux/Mac OS) -- similar to the on_plugin_install scripts already in use.
If we do decide to go this route, we will also need to figure out what (if any) arguments should be passed to this script. For Python-based plugins, we somehow need to pass the path to the Python executable and we would probably need something similar for other interpreted languages. One option would be to store these paths in some kind of "environment definition" file that could be accessed via the hook scripts, e.g.:
python_path = x
node_js_path = y
java_path = z

We could adopt the same approach as used in Conda build.  Conda build uses environment variables to pass context to the build script (i.e., bld.bat).


Revert changes to tools.js

The change of at 539 in the solaris fox patch caused a type error which messed with team validation and caused challenges to fail. Reverting seemed to correct the issue.

This is not even the correct way to revert the change. indexOf() returns -1 if the string is not found, so if (subformat.banlist[i].indexOf('++')) will always be true unless it's found at an index of 0 (which is not how it was before). If this needs to be reverted it should be if (subformat.banlist[i].indexOf('++') > 0) which is vary slightly different from String#include() by returning false for an index of 0.

oh my mistake. That being said, this will cause a crash

On further investigation, updating node modules did not fix the problem. String#includes() is not being recognized and causing crashes.
@Slayer95 any ideas why it might not be supported even after updating?

This only happens in Node 0.10/0.12, and it's because es6-shim isn't loaded in the validator process. Load it?

Oh, so that's what the crashes have been about. PS Main wasn't crashing so I couldn't figure it out.

Might be a good idea to add npm install es6-shim to the readme since its necessary for battles to work now.

It's not. es6-shim is installed by default. It's just not currently loaded at any child processes.

Done: https://github.com/Zarel/Pokemon-Showdown/commit/723f4b5a4b315ac16b355e70da9b1ff480eebaee


Basic nD filament annotator

https://user-images.githubusercontent.com/7307488/188143037-ce2a53f5-3809-41a8-8fb9-99b3bb0e021c.mp4

this should now be good to go, thanks for your patience! Next up, visuals!

LGTM! Thanks! Looking forward to the splines!


Not showing Cyclometric complexity of test classes

Is there any configuration that enables it to show the complexity of the test case code too?

Set option "Show metrics above complexity" to 0


Using cloud build to build debian image

Added third party files from docker to avoid using curl in a Dockerfile
Changed the build script to use cloud build instead of make

Could you add a README at the top of third_party/docker that explains the version of each of the components, and when it was pulled?
Basically, for each component:
the URL (and date)
the version (if it has one, specifically Docker should)
and the SHA of the file

I'm a little disappointed that the parametrization of the debian version is being removed. Why not specify it as an env parameter to Cloud Builder?

I'm a little disappointed that the parametrization of the debian version is being removed. Why not specify it as an env parameter to Cloud Builder instead of hardcoding jessie?
Show all checks

Good point, I think the cloud build dockerizer does support docker build args somehow. I'm not sure exactly how they get threaded in but it would be nice to keep support for that.

Nice, just a few nits now.

Cool. This LGTM now. Would you mind squashing commits before merging?


Console based queue dumps

Replaces USR1 dumps with console based ones. Closes #2546

Seems a bit complicated but I guess that's inevitable.

You will be pleased to know that I found a way to get rid of the RefCell :)

Seems a bit complicated but I guess that's inevitable.

You will be pleased to know that I found a way to get rid of the RefCell :)

And it seems like it did not require changing any other code besides simply removing RefCell?

And it seems like it did not require changing any other code besides simply removing RefCell?

I had to add a way to convert an event into a ControlAnnouncement owned, instead of just getting a by-ref conversion.

Tests have been added!

bors r+

Where are you verifying that the event to dump queues has been handled properly?

Fair enough, let me fix that.


feat: adding clippy and rustfmt config

Adding the formatting and clippy config before we start

first LGTM!


Unable to build when https://mumble.info is down

Hello, I tried building the image myself and I was unable to complete the build resulting in an infinite wait during the /mumble/repo/scripts/mumble-build-number.py command because the http://mumble.info/ website is down and never timing-out.
It would be great to not hard-depend on a service like this, possible solutions I see are:

be able to provide a build-number via build-args
quickly timeout to default to 0

Thank you for your work and have a nice day ! :)

Yeah adding  a timeout seems like a good idea in either case. Adding an additional option to specify the build number as build arg directly also sounds good to me :+1:


Bugfix

Two bugs I fixed:

AWS region was hardcoded
Config.BUCKET_PREFIX is supposed to be optional but would actually throw an exception if you didn't specify it in Config

@j6k4m8


Add license

Thanks for the great tooling.
Can you specify a license for this repository code, please?

Hello,
A LICENSE.md file has been added.
Kind regards,
Crypto APIs Team


Update batch tool

I would like to update our harmonization tools and have uploaded the v2.0 version to
https://github.com/chaimeleon-eu/image_batch_lungCT_harmonisation/tree/main/V2.
Could you please integrate it into the platform? Many thanks.

Does V2 replace the previous version?

Does V2 replace the previous version?

Yes, it could replace the previous version

17.2GB of image size!
Could you use the "runtime" version for the base image instead of the "devel"?
FROM pytorch/pytorch:2.1.2-cuda12.1-cudnn8-devel  --> FROM pytorch/pytorch:2.1.2-cuda12.1-cudnn8-runtime
If possible it would be a good point to reduce the size to something more affordable.
Also it would be useful you check the recommendations in the guide.
In that way you can change that:
RUN apt-get update
RUN pip install numpy
RUN pip install SimpleITK
RUN pip install tqdm
RUN pip install scipy

Into that:
RUN pip install --no-cache-dir  numpy SimpleITK tqdm scipy

So if you agree and apply these changes, the image size finally would reduce to 7.66GB

@Palollo Yes for sure, I've tested and everything works fine with the 'runtime' version.

Great, so it is already uploaded as:
harmonisation-lungct:2.0
harmonisation-lungct:latest

@Palollo Another issue is that when I try to launch an application to test my batch tool, it always shows 'Not Ready 0 Pod', and I cannot access the remote service (I've tried both desktop-pytorch and jupyter pytorch).

This is something that can happen when there are not enough resources in that moment, because there are other desktops created by other users.
Just a reminder: it is important to release (delete) the desktop when the work is finished to let the resources available to other users.
Anyway I can say currently there are resouces available to your desktop, it should work if you try to launch ;)

@Palollo Thanks for your help and it works now. Btw, I made some modifications to the script and could you please help me to update it on the platform? The path is still in https://github.com/chaimeleon-eu/image_batch_lungCT_harmonisation/tree/main/V2
Many thanks

OK, it's now updated on the platform as:

harmonisation-lungct:2.1
harmonisation-lungct:latest

You should update the dockerfile accordingly:
LABEL name="harmonisation-lungct"
LABEL version="2.1"


[BUG] Incorrect representation of nanj in cmath module

Thanks for taking the time to fill out a bug report!
Please provide a descriptive title above and fill in the following fields.
Bug description
A clear and concise description of what the bug is.
You can paste sources here that may cause the error.
The nanj is a special number used in the cmath module and it has been implemented here -
https://github.com/pocketpy/pocketpy/blob/842c415a9f88249d67802eff2389765858332d9a/python/cmath.py#L169-L172
pocketpy main
>>> import cmath
>>> z_inf = cmath.infj
>>> z_inf
(0.0+infj)
>>> z_nanj = cmath.nanj
>>> z_nanj
(0.0nanj)             # This does not make sense without +

Python 3.9
>>> import cmath
>>> z_inf = cmath.infj
>>> z_inf
infj
>>> z_nanj = cmath.nanj
>>> z_nanj
nanj

Feel free to submit a pr to fix it~

Use the least-specialized solution. I think (0.0+nanj) is.

I have time today and I'd like to fix it myself.

I have time today and I'd like to fix it myself.

No issues @blueloveTH . It's late night here in India and I won't be fixing it anytime in the next 8 - 10 hours. Go ahead :)


Fix compatibility issues for Flutter 2024

This Pull Request updates the extended_phone_number_input library to ensure compatibility with modern Flutter projects and the latest versions of its dependencies. Key changes include updating the flutter_native_contact_picker to ^0.0.10 and replacing deprecated APIs with the Contact model and selectContact method. The phone_numbers_parser library is also updated, using PhoneNumber.parse for improved phone number parsing and validation. The contact selection logic now extracts the first available phone number and gracefully handles cases of missing or empty phone numbers. The include/exclude country logic was also fixed to prevent simultaneous use, enforcing exclusive configurations. User experience improvements were made by refining error messages and adding support for Arabic numeral conversion. These changes were tested extensively to ensure reliability and maintain compatibility with updated dependencies.

This Pull Request updates


Publish single file bundle to blob storage

Summary
Theses changes allow the publishing of the single file bundles to blob storage accounts and have them marked as non-shipping. It piggybacks of the archive job to copy the built bundles from the pub directory to the artifacts/bundles/Release/NonShipping/<RID>/ directory from which the Publishing.props file will detect it and write entries into BAR manifest as appropriate. Because these files are in the pub directory during the signing job, they are also getting signed.
Example build: https://dev.azure.com/dnceng/internal/_build/results?buildId=2201872&view=results
An example blob storage URI for the win-x64 single file bundle (if the above build was actually uploading them) would be https://dotnetbuilds.blob.core.windows.net/public/diagnostics/monitor/7.3.0-alpha.1.23315.4/win-x64/dotnet-monitor.exe

Release Notes Entry

This change makes the publish job fail likely due to it trying to upload the same named file into the same artifacts container in the AzDO pipeline. Will close this until a new solution that works around that is in place.


User/Pass

How to disable users, leaving login only for admins? Making those who watch enter without the need for a username and password

Thank you for your question for support please reach out on our discord where someone from the community may be able to help you.
https://discord.gg/CJEHWX9
Please note this project is no longer actively developed.

Ok, thanks.


Registration doesn't work on Android - pending promise from navigator.credentials.create

First, thanks for this project, its a really nice simple way to learn WebAuthn, and works great on Chrome 96 on Windows.
However, on Android (Chrome Mobile or Firefox), registration doesn't work. When navigator.credentials.create is called with the publicKey object (containing the various params), a pending Promise is returned, but it is never fulfilled. Therefore, it just sits there forever. If you click "Authenticate," then it just says an operation is pending
On Chrome Android, this manifests as Clicking "Register", the debug window getting the options displayed and nothing else.
I have tried changing the publicKey params to be identical to the params used by webauthn.io (which works fine on Chrome and Firefox for Android). However, the same thing happens. This is leading me to suspect that there is something about the site, or header options that stops it working. But I really can't figure out what.
Any thoughts? Thanks!

@thechrisps Thank you for the detailed information. Can you include more about which version of Android and browsers you're experiencing this with? And would you be able to create a minimal reproduction of the issue? Specifically how you're calling the various SimpleWebAuthn methods.
And finally what URL are you using when you host the server to access with your phone? WebAuthn requires a secure context to operate correctly, so you may be suffering from this restriction if you're not hosting your server over https:// when you access it from your phone.

Hey, thanks for the reply. Reading it made me think of something; it is using HTTPS, but running on a custom port (not 443). Changing everything back to 433, it works fine :). However, really I need to run it on a custom port.
Looking into this, I had changed your code to load the port number from a dotenv. All fine. I had to set the RPID to mydomain.com, as mydomain.com:myport results in an error "The relying party ID is not a registrable domain suffix of, nor equal to the current domain." Looking at the spec, this makes sense.
This means that the options look like:
"rp": {         "name": "SimpleWebAuthn Example",         "id": "mydomain.com"  },
This works fine on Chrome 96 desktop. But on Chrome 97 mobile and Firefox 95.2 mobile (both Android 11), it results in the behaviour described - an unfulfilled promise. and the appearance of it all just hanging. I.e. Chrome 96 on desktop accepts navigator.credential.create when the URL is https://mydomain.com:myport but Chrome 97 (Android 11) and Firefox 95.2 (Android 11) both fail with no error.
From looking at the spec, I believe Chrome desktop's behaviour is correct and it is incorrect behaviour from Chrome and Firefox mobile.
Obviously there is no issue in your code (thanks again for making me realise!) But do you have a view on this behaviour?

This works fine on Chrome 96 desktop. But on Chrome 97 mobile and Firefox 95.2 mobile (both Android 11), it results in the behaviour described - an unfulfilled promise. and the appearance of it all just hanging. I.e. Chrome 96 on desktop accepts navigator.credential.create when the URL is https://mydomain.com:myport and the rpID is mydomain.com but Chrome 97 (Android 11) and Firefox 95.2 (Android 11) both fail with no error.

Hmm, can you post an example of the options you're passing into startRegistration() (assuming you're using @simplewebauthn/browser on the front end)? I know that WebAuthn on Android can't support discoverable credentials (previously known as resident keys) so that's one restriction, and I thought there was one other but I can't quite remember...anyway if I can see the options you're generating that might help jog my memory some more.

Sure, these are the options that work on desktop and not on mobile. Interesting about the resident keys.... however the options here are the same whether its running on a custom port (doesn't work) or 443 (does), so I don't think that could be an issue.
And yes, using your browser and server pretty much out of the box through Docker, just with some very minor changes to load domain and port from .env
publickey:{
"challenge": {},
"rp": {
"name": "SimpleWebAuthn Example",
"id": "mydomain.com"
},
"user": {
"id": {
"0": 105,
"1": 110,
"2": 116,
"3": 101,
"4": 114,
"5": 110,
"6": 97,
"7": 108,
"8": 85,
"9": 115,
"10": 101,
"11": 114,
"12": 73,
"13": 100
},
"name"<EMAIL_ADDRESS>"displayName"<EMAIL_ADDRESS>},
"pubKeyCredParams": [
{
"alg": -7,
"type": "public-key"
},
{
"alg": -257,
"type": "public-key"
}
],
"timeout": 60000,
"attestation": "indirect",
"excludeCredentials": [],
"authenticatorSelection": {
"userVerification": "preferred",
"requireResidentKey": false
}
}

Hmm, your challenge and user.id looks suspect. That's the object you're passing to startRegistration()?
If so you need to pass those values as strings, not raw ArrayBuffer's. Internally startRegistration() will decode the base64url-encoded challenge to a buffer, and user.id from whatever string you specify to a buffer as well (this one doesn't have to be base64url-encoded).

Apologies for the slow reply; hectic week. Should have said, that is a JSON.Stringify output of the object. I haven't changed any of the object creation from your code, so should be identical...

@thechrisps Sorry about the delay, I didn't mean to ignore you.
Can you try registering and authenticating on https://example.simplewebauthn.dev? I tried just now on my OG Pixel running Android 10 and Chrome 93 and was able to use my fingerprint sensor no problem for both; I'm curious if the site will work for you and your device.
We've already established yours is a hardware-specific issue. Perhaps you're running up against Android and its infamous lack of support for discoverable credentials...

I'm going to close this out for now due to inactivity, please feel free to reopen it if need be.


How about allow flexible types in default constructor constraints...

This would permit,
let ctor<'a when 'a:(new: unit -> #IWebDriver)> : unit -> IWebDriver = ...

versus
let ctor<'a when 'a:(new: unit- > 'a) and 'a :> IWebDriver> = fun () -> new 'a() :> IWebDriver

Suggestions go to http://fslang.uservoice.com. Please see CONTRIBUTING.md.


Gets stuck in case of "pre-pagerized" help pages

Describe the bug
Some apps might try to show their help pages with a pager already. Might want to pipe it to "cat" or call it in a way that the app doesn't think it's an interactive terminal.

Software information

Operating system: NixOS 22.11
Rust version: (not relevant I assume, this is prebuilt version from releases page)
Project version: 0.1.2

Additional context
Thanks for the app, looks like a nice candidate as a life saver.

Thanks for reporting this! It is now fixed in 0917065daba3be58c829e2a276c17c31fdde23af

I will cut a new release shortly. 🐻


Ding naming conventions

Howdy :)
What naming conventions are you following? The path: "Ding\MVC\Http\HttpFrontController" seems to use both "MVC" and "Http" which is not consistent - unless you have some naming scheme I'm unaware of.
I personally like how ZF has done it, where you make everything lowercase except the first letter (Dao, Mvc, Http, Url, Soap), etc. however, I did notice recently that Doctrine uses "DBAL" instead of "Dbal".

closed, with the new 1.3.x release :)


gitbucket stops responding after being idle

Hi,
We have noticed that when the server is not getting used or no requests are sent to it for some time, it stops responding (no ssh, no git client access) just says request refused. The only to way to wake it up is to go to the server using a web browser. Has anyone experienced similar behavior? Our system runs on Windows 2012 Server IIS.
Thanks

I didn't noticed that on my setup: java -jar execution of gitbucket + nginx in front.

I have same issue on Win Server 2008 R2 and IIS

Also encountered similar behavior. Is this planned to be fixed?

Close all questions. If you have any questions about GitBucket, please send them to the gitter room instead of issue according to the Guideline for Issues.


Reduce number of server calls on a Pull operation

(note added by @lindydonna)
The pull operation makes multiple requests to the server since it doesn't know the server pagesize. This could be improved by either having a metadata endpoint that provides the pagesize for each table, or by having the server send something in the response to indicate whether there are more records.

Hey everyone,
I'm seeing three requests to the server when I do a PullAsync no matter what I specify as my max page size.
_table.PullAsync(queryName, _table.CreateQuery(), new PullOptions { MaxPageSize = entitiesAtATime });

No matter what I put as my entitiesAtATime I'm seeing at least three HTTP requests from the client. For example, the following table has 1 row in the database on the server:
Making GET request to: http://myendpoint.azurewebsites.net/tables/MyTable?$filter=(updatedAt ge datetimeoffset'1970-01-01T00:00:00.0000000%2B00:00')&$orderby=updatedAt&$skip=0&$top=50&__includeDeleted=true
Received response (OK)
Making GET request to: http://myendpoint.azurewebsites.net/tables/MyTable?$filter=(updatedAt ge datetimeoffset'2016-02-12T15:47:46.0170000%2B00:00')&$orderby=updatedAt&$skip=0&$top=50&__includeDeleted=true
Received response (OK)
Making GET request to: http://myendpoint.azurewebsites.net/tables/MyTable?$filter=(updatedAt ge datetimeoffset'2016-02-12T15:47:46.0170000%2B00:00')&$orderby=updatedAt&$skip=1&$top=50&__includeDeleted=true
Received response (OK)

If I change MaxPageSize to a larger number I still get the following:
Making GET request to: http://myendpoint.azurewebsites.net/tables/MyTable?$filter=(updatedAt ge datetimeoffset'1970-01-01T00:00:00.0000000%2B00:00')&$orderby=updatedAt&$skip=0&$top=10000&__includeDeleted=true
Received response (OK)
Making GET request to: http://myendpoint.azurewebsites.net/tables/MyTable?$filter=(updatedAt ge datetimeoffset'2016-02-12T15:47:46.0170000%2B00:00')&$orderby=updatedAt&$skip=0&$top=10000&__includeDeleted=true
Received response (OK)
Making GET request to: http://myendpoint.azurewebsites.net/tables/MyTable?$filter=(updatedAt ge datetimeoffset'2016-02-12T15:47:46.0170000%2B00:00')&$orderby=updatedAt&$skip=1&$top=10000&__includeDeleted=true
Received response (OK)

I know that MaxPageSize is working because when I try to sync a table with 3000 rows and page size of 50 it makes a bunch of requests, but once I set it to 10,000 it only makes these same three requests. This happens on both the first time I call PullAsync() and subsequent times.
Any ideas?

You should only see 3 requests on the first sync, after that, you should see 2 requests. This is how offline sync work--there's no sync endpoint, so it queries for changes that are newer than the last sync (the second request). Then, it makes another request and skips the record it already got, until it gets no records.
For more on this, see How offline synchronization works.
We're exploring options for creating a sync endpoint, but for now, this is the behavior of the SDK and doesn't appear to be a bug.

@lindydonna Thanks for the quick response. I read through the link you attached, and I'm still a little confused. On the initial sync, this request:
Making GET request to: http://myendpoint.azurewebsites.net/tables/MyTable?$filter=(updatedAt ge datetimeoffset'1970-01-01T00:00:00.0000000%2B00:00')&$orderby=updatedAt&$skip=0&$top=10000&__includeDeleted=true

should return one record, the only record in the database. It takes the top 10,000 records since 1970. If the number of records (1) returned is less than the "top" value (10,000), why would the SDK assume that there are more records to be returned if it makes another query? And then why make yet another, third request? The SDK knew from the very first request that there was only one record newer than 1970 in the database. If the first request returned 10000 rows I could see how it would make another request to get the rest of the data, and it will keep doing that until the number of records returned is less than the "top" value.
Now, for my comment that I'm seeing three requests every time we sync, even the second time: I assume this is because we are purging each table every time before syncing, so I'm not as concerned that we are seeing the same behavior for the second time we pull as well as the first.

The reason is that the SDK doesn't know what the server batch size is, which will always take precedence. On the .NET server SDK, it defaults to 50 records. This is by design, since a rogue client could request way more records than is reasonable, and the server decides whether or not to honor that request.
The only way to solve this would be if the client could query the server's batch size for each table and then use that to determine if it had had a full batch or if it needed to make more requests. That would only save one request though, so a better solution is a sync endpoint.

OK that makes sense and explains why two requests are needed. What about the third request? And I assume you don't want to return the server's batch size with every request because the endpoints are supposed to be RESTful endpoints of the entities themselves, and not contain any syncing metadata?
Just out of curiosity, what do you mean by a sync endpoint? I'm imagining an endpoint that returns not only the records themselves but this additional syncing metadata (like the batch size). Are you also looking into registering the client with the server so the server keeps track of last synced items and such?
Thanks for your responses, I know I've been asking lots of questions recently. :) We're trying to use Azure Mobile Apps for a large, complex platform and so we're naturally bumping into some of the limitations of the SDK, and I appreciate your and others' help as we work through the kinks. Kudos to the development team for their efforts thus far.

The third request is because the last updated timestamp was newer relative to the query. The logic works like this:
while (timestamp > prevTimestamp) {
records = Get records
prevTimestamp = timestamp;
timestamp = MaxTimestamp(records);
}
Then it does another round of queries, by skipping the records in the last batch, to handle the case where all records in the batch have the same timestamp. This means that you'll have inefficient pulls if you have reference data all with the same timestamp that don't fit in a batch.
So, if you see a request that starts with the 1970 query, there will be at least 3 requests in the pull, but the newest timestamp will be saved as part of incremental pull using the query key you provided. Then, the next pull should only do 2 requests (assuming no new records), since it there will be one record returned with the max timestamp that was previously saved, then one request that does the skip logic.

OK, thanks for the explanation. Let me see if I can sum up.
The three-query system, while inefficient, is necessary to ensure accuracy. The "extra" two queries are for the cases where 1) the server's max page size is configured differently than the client's and 2) there are more records with the same timestamp than fit into a page. The solution for improved efficiency, while still maintaining accuracy, is to let some metadata be transferred from the server to the client, possibly including the number of records left to sync for the current sync session and the server's total page size. Transferring this metadata is not currently implemented but is under discussion.
Do you have any insight into the prioritization of this sort of efficiency improvement in the codebase? We're seeing sync times for the entity above to be ~3 seconds even with only one record in the database, and so we're trying to pare down wherever we can, and eliminating the two extra HTTP connections, along with the two extra rounds of processing the server has to do to query the database, would make a big difference, especially when we've got dozens (and growing) of entities to sync.

The fix we want to do is add a sync endpoint, where the client would get an opaque continuation token on each request, and the server would use it to resume the sync. This would have a lot of improvements, including the potential for implementing stable paging. (Right now, there are bad corner cases if records are being updated in the middle of the sync operation). Other benefits of the sync endpoint is that it would be easier to integrate with other data sources, some of which have efficient queries for getting changes.
Unfortunately, it's a really big change, and we haven't even started the design work. It's unlikely to be completed anytime soon, but we can post some design notes once we start.
To be clear, you'll see only 2 queries if there are no changes to the table, but I agree that it's extra overhead. We hadn't planned on implementing the page size optimization (by having the server send the page size), but I can bring it up with the team.
Another approach you might want to consider is to pull changes less frequently. You could have the server send a silent push notification to the client when there are changes for a given table. You can even optimize this so that it is specific to the client query. For instance, if I'm only interested in my own todo items, then the server could send a push notification if a new todo item is added that belongs to me.

I forgot another option: in additional to/instead of the push notification, you could also make a custom API where you can get the last updated timestamp for each of your tables. Then you know which ones to sync.

The issue is under consideration, but unlikely to be implemented soon. We do take pull requests, however. I'll update this issue to reflect the ask.

Is this issue still being worked on ?

Is there any way to change timestamp. Because I am purging user related table data. After new user loging I need new user all data not that data which is updated after mobile sdk have max timestamp.

I tried the maxpagesize to 1000, however server returns only 50 records each time, the maxpagesize did not reduce the call number at all.

Hi @gordonsnc,
I think Lindy answered the question above already:

The reason is that the SDK doesn't know what the server batch size is, which will always take precedence. On the .NET server SDK, it defaults to 50 records. This is by design, since a rogue client could request way more records than is reasonable, and the server decides whether or not to honor that request.

Other than that, we don't plan to work on changing the existing behavior at this point,


Fix empty links interpreted as not empty, resulted in weird behavior

Some links like this caused problems:
<a href="" />
This was because a.href returned (page)/index.html, while I'd expected that to return an empty string. To fix this, I just switched to using a.getAttribute('href') which returns the literal value of the link as defined in the html.

:heart:


Include JSKOS context document

The asset jskos-context.json required for JSKOS was not included in the released egg.

Right!


Integrate an input control for time-date on the camps form

Overview of the problem
On all forms, we do not have input control of type Date Time type.
Steps to Reproduce

[x] On Camps /views/pages/camps/index_admin.jade we need to add this control on a form.
[ ] Add the javascript that create this (unless we already having class that implemented the date time control

PR #525

[ ] Add the javascript that create this (unless we already having class that implemented the date time control
doesn't require a global function, instead it is local for the specific angular controller


Forcing unicode_literals

Forcing unicode_literals to be used as default as byte arrays cause issues.
https://docs.python.org/2/library/__future__.html

Just a bit more justification: This'll make behavior more consistent between python 2 and 3, as well as fix a crash on python 2 when trying to format error messages containing a show name with non-ascii characters.


[Extensions] Add support to get headers for ExtensionRestRequest

Signed-off-by: Owais Kazi<EMAIL_ADDRESS>Description
Added support to fetch headers from ExtensionRestRequest.
Issues Resolved
https://github.com/opensearch-project/opensearch-sdk-java/issues/431
Check List

[X] New functionality includes testing.

[X] All tests pass

[ ] New functionality has been documented.

[X] New functionality has javadoc added

[X] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Based on the discussion on https://github.com/opensearch-project/opensearch-sdk-java/issues/431. Closing this PR as we can't pass headers directly to extensions from OpenSearch.


Compile errors for tools extensions due to vscodeTypes.d.ts

This library mirrors several VS Code types in https://github.com/microsoft/vscode-prompt-tsx/blob/3d2874137df8515e49476c55fb3f4f7bc8ba5469/src/base/vscodeTypes.d.ts, we should avoid this if possible and find a better solution because it is currently causing compile errors for tools extensions.
Filing on request from @jrieken

I think we'd remove the types there and have @types/vscode as an optionalDependency. Then instruct users to install it alongside prompt tsx, and possibly do it automatically for them if @vscode/dts is not already installed (like how esbuild automatically installs the optional dependency with the binary for the current platform)


ARMADA-835 Fix token refresh workflow in Jobbergate

What
Fix token refresh workflow in Jobbergate.
Why
Refreshing a token does not work in the current version of jobbergate-cli . Investigate and fix the issue.
Task: https://app.clickup.com/t/18022949/ARMADA-835

Peer Review
Please follow the upstream omnivector documentation concerning
peer-review guidelines.

Task linked: ARMADA-835 Fix token refresh workflow in Jobbergate


Testnet: Nodes that seem unutilized in explorer give "doesn't have enough resources"

Terraform Version

provider registry.terraform.io/threefoldtech/grid v0.1.32

Affected Resource(s)
Please list the resources as a list, for example:

full vm's

Terraform Configuration Files
terraform {
  required_providers {
    grid = {
      source = "threefoldtech/grid"
    }
  }
}

provider "grid" {
}

resource "grid_network" "net1" {
    nodes = [186, 188, 189, 193]
    ip_range = "<IP_ADDRESS>/16"
    name = "tfopstestnetworkk"
    description = "threefold ops testnet networkk"
    add_wg_access = true
}
resource "grid_deployment" "d1" {
  node = 186
  network_name = grid_network.net1.name
  ip_range = lookup(grid_network.net1.nodes_ip_range, 186, "")
  disks {
    name = "pub02data"
    size = 100
  }
    vms {
    name = "tfchaintestpub02"
    description ="Threefold TFchain Testnet public node 02"
    flist = "https://hub.grid.tf/tf-official-vms/ubuntu-20.04-lts.flist"
    cpu = 4
    publicip = true
    publicip6 = true
    memory = 8192
#    rootfs_size = 100000
    entrypoint = "/init.sh"
    mounts {
        disk_name = "pub02data"
        mount_point = "/data"
    }
    planetary = true
    env_vars = {
      SSH_KEY ="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDYNeJXJV2FNEwuQz6e0jkKeqRbKWwftBKq+sjSTqa2x"
    }
  }
}
resource "grid_deployment" "d2" {
  node = 188
  network_name = grid_network.net1.name
  ip_range = lookup(grid_network.net1.nodes_ip_range, 188, "")
  disks {
    name = "pub03data"
    size = 100
  }
   vms {
    name = "tfchaintestpub03"
    description ="Threefold TFchain Testnet public node 03"
    flist = "https://hub.grid.tf/tf-official-vms/ubuntu-20.04-lts.flist"
    cpu = 4
    publicip = true
    publicip6 = true
    memory = 8192
#    rootfs_size = 100000
    entrypoint = "/init.sh"
    mounts {
        disk_name = "pub03data"
        mount_point = "/data"
    }
    planetary = true
    env_vars = {
      SSH_KEY ="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDYNeJXJV2FNEwuQz6e0jkKeqRbKWwftBKq+sjSTqa2x"
    }
  }
}
resource "grid_deployment" "d3" {
  node = 189
  network_name = grid_network.net1.name
  ip_range = lookup(grid_network.net1.nodes_ip_range, 189, "")
  disks {
    name = "pub04data"
    size = 100
  }
   vms {
    name = "tfchaintestpub04"
    description ="Threefold TFchain Testnet public node 04"
    flist = "https://hub.grid.tf/tf-official-vms/ubuntu-20.04-lts.flist"
    cpu = 4
    publicip = true
    publicip6 = true
    memory = 8192
#    rootfs_size = 100000
    entrypoint = "/init.sh"
    mounts {
        disk_name = "pub04data"
        mount_point = "/data"
    }
    planetary = true
    env_vars = {
      SSH_KEY ="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDYNeJXJV2FNEwuQz6e0jkKeqRbKWwftBKq+sjSTqa2x"
    }
  }
}
resource "grid_deployment" "d4" {
  node = 193
  network_name = grid_network.net1.name
  ip_range = lookup(grid_network.net1.nodes_ip_range, 193, "")
  disks {
    name = "data"
    size = 100
  }
    vms {
    name = "tfchaintestgraphql02"
    description ="testnet Graphql 02"
    flist = "https://hub.grid.tf/tf-official-vms/ubuntu-20.04-lts.flist"
    cpu = 4
    publicip = true
    publicip6 = true
    memory = 16384
#    rootfs_size = 25000
    mounts {
        disk_name = "data"
        mount_point = "/data"
    }
    planetary = true
    env_vars = {
      SSH_KEY ="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDYNeJXJV2FNEwuQz6e0jkKeqRbKWwftBKq+sjSTqa2x"
    }
  }
}

Expected Behavior
Extend the existing terraform deployment with a new vm
Actual Behavior
The following errors:
Error: node 192 doesn't have enough resources. needed: [mru:<PHONE_NUMBER>4, sru:<PHONE_NUMBER>48, hru: 0], free: [mru:<PHONE_NUMBER>4, sru:<PHONE_NUMBER>184, hru:<PHONE_NUMBER>016]
Error: node 193 doesn't have enough resources. needed: [mru:<PHONE_NUMBER>4, sru:<PHONE_NUMBER>48, hru: 0], free: [mru:<PHONE_NUMBER>4, sru:<PHONE_NUMBER>184, hru:<PHONE_NUMBER>016]
Steps to Reproduce

Deploy full vm
look for a node that has 0 resources used https://explorer.test.grid.tf/nodes : 190, 191, 192 or 193
deploy another vm from the same terraform file and choose one of the nodes: 190, 191, 192 or 193

I think the issue is that you are trying to deploy vms that require require 16GB of memory on nodes that don't have this amount of memory available.
Nodes 192 and 193 both have a total of ~16GB of memory, but require ~2GB of memory for the OS. So, they actually have ~14GB of memory available.


MAINT - remove redundancies

As continuity to #21

[x] use benchopt utils instead of reinventing them

See why the build fails : benchopt is not installed. We don't want benchopt as a requirement. Every requirement added has a maintenance cost.
You never know what they may change, and when they do it's additional work on our side as you've seen with sklearn removing support for max_iter=0


Update helios hosts docs with new operators

@mattnworb

@spotify/helios-team

Current coverage is 50.13% (diff: 100%)

Merging #960 into master will increase coverage by 0.03%

@@             master       #960   diff @@
==========================================
  Files           273        273
  Lines         12860      12860
  Methods           0          0
  Messages          0          0
  Branches       1661       1661
==========================================
+ Hits           6443       6447     +4
+ Misses         5925       5922     -3
+ Partials        492        491     -1

Powered by Codecov. Last update 6296e94...1d7ead3

👍

:+1:


Fix README index hyperlink

Fixes the hyperlinks in the documentation.

Hi! Thanks for this PR. Unfortunately, I use a vscode extension to generate the TOC, so the problem is with the extension itself. I've just pushed a commit which moves those links out of the headings :tada:


Request screen - no option to save a request as a draft

On the request screen, there is no option to save a request as a draft - the only options are back to start, back, or submit. The only way that I can see to edit a request without submitting it is to submit a dummy request and then clone it, which allows it to be saved and edited before submission, or, use the Go To Start button and choose to save the request.
This is not documented or clear to the end user, and requires some trial and error.

@aqyx I will add this one to the roadmap


TOMEE-2558-Translate to portuguese to applicationcomposer-jaxws-cdi

Link to Jira : https://issues.apache.org/jira/browse/TOMEE-2558

thanks @davidsalter : )

I'm happy to get this merged in, but if we have any Portuguese speakers (@alexferreiradev maybe?) who can give a quick review, that would be great.

thanks @jeanouii and @gabrielferreirapro for review :  )


Xnero: Watch goodhousekeeping.com

Xnero requests the watch of the watch_keyword goodhousekeeping\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

goodhousekeeping\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Rejected by Spevacus in Charcoal HQ. Reason: 'Quite a few FP in an SE search. If we see it again, we should reconsider.'


Unquoted element in /.eslintrc and addition of linebreak-style

Steps to reproduce
env: {
jest: true
},
Expected Behavior
"env": {
"jest": true
},
Actual Behavior
Running gulp deploy-firebase throws up line-break errors on Windows 10 Pro without the addition of "linebreak-style": 0,

? Can you send PR? I have zero time to continually check Windows. Thank you!

I don't know what to do.