[BUG] Login/signup not working

Description
Loging and signup not working (Even after correct credentials)
Screenshots

Any additional information?
No response
What browser are you seeing the problem on?
Chrome
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

Hey @Sourabh782, actually, we haven't updated our .env variables in Vercel, which is why it's not working properly. But after the update, you will receive the OTP on your email address.


Aucunes données

Bonjour,
Les capteurs ne me donnent aucunes valeurs.
Mon HA est installé sur une machine virtuelle d'un serveur Proliant tournant avec Truenas Scale.
J'accède au serveur et HA par l'intermédiaire de Cloudflare.
Je n'arrive pas à trouver ce qui empêche la communication de HA avec ma chaudière Oköfen.
Je dois préciser, il me semble, que cela fonctionnait avant que je monte HA sur le serveur quand il tournait sur un PC dédié.
Je joints le journal de l'erreur.
Merci d'avance
Cette erreur provient d'une intégration personnalisée
Enregistreur: custom_components.oekofen_pellematic_compact
Source: custom_components/oekofen_pellematic_compact/init.py:143
intégration: Ökofen Pellematic Compact (documentation, problèmes)
S'est produit pour la première fois: 21:16:09 (1 occurrences)
Dernier enregistrement: 21:16:09
Error reading pellematic data
Traceback (most recent call last):
File "/usr/local/lib/python3.12/urllib/request.py", line 1344, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/local/lib/python3.12/http/client.py", line 1336, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/lib/python3.12/http/client.py", line 1382, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.12/http/client.py", line 1331, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.12/http/client.py", line 1091, in _send_output
self.send(msg)
File "/usr/local/lib/python3.12/http/client.py", line 1035, in send
self.connect()
File "/usr/local/lib/python3.12/http/client.py", line 1001, in connect
self.sock = self._create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/socket.py", line 853, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.12/socket.py", line 838, in create_connection
sock.connect(sa)
OSError: [Errno 101] Network unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/oekofen_pellematic_compact/init.py", line 143, in async_refresh_api_data
update_result = await self.fetch_pellematic_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/oekofen_pellematic_compact/init.py", line 159, in fetch_pellematic_data
result = await self._hass.async_add_executor_job(fetch_data, self._host)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/oekofen_pellematic_compact/init.py", line 173, in fetch_data
response = urllib.request.urlopen(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/urllib/request.py", line 215, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/urllib/request.py", line 515, in open
response = self._open(req, data)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/urllib/request.py", line 532, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/urllib/request.py", line 492, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/local/lib/python3.12/urllib/request.py", line 1373, in http_open
return self.do_open(http.client.HTTPConnection, req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/urllib/request.py", line 1347, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 101] Network unreachable>

Hi @froumizen,
please write in in English!
File "/usr/local/lib/python3.12/urllib/request.py", line 1347, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno 101] Network unreachable>
Looks like your URL you entered is invalid or not reachable by ha.
Dominik

My boiler is in the same local network as HA. It doesn't work if I put http://192.168.1.××:4321/password json/all in my browser

4321 is the URL of HA not the heater.

I'm sorry, I don't understand. Isn't 8123 the HA port? Shouldn't you put the Boiler IP?

Sorry my mistake. I thought it is the HA IP. Yes you need to enter the URL of your Pellematic. What happens if you open the URL in browser?

Hello, the json interface is activated. The IP is the one found on the boiler.
Is it possible that HA can't get the data because of cloudflare? To access HA from outside I have a domain name.
HA is hosted on VM by Truenas. I have the impression that there is a communication blockage between them. All my other integrations work perfectly (frigate, google...).
It's certainly not due to your integration, because I used it without problems before my change of hardware, but if you have an idea I'm interested because I don't know where to look anymore.
Thank you

If you can't access to your boiler's JSON API  http://[YOUR_BOILER_IP]:4321/[YOUR_BOILER_JSON_PASSWORD]/all with a browser : on the same network as the boiler and HA: The problem is with the boiler.
Is the JSON API enabled, on the boiler ?
Have you access to the web interface of the boiler http://[YOUR_BOILER_IP] ?
Can you access the boiler remotely via the application (android, apple)? At home (Same network) and roaming

What is the error wjen you try to access to the JSON API with your browser ?
Can you check on the boiler the JSON port (  4321 is default but it can be changed )

The port is indeed 4321, here is the error message:

I'm beginning not to know what to test
If you have on Home-Assistant a Plugin/Module Terminal SSH can you test this command
Each command is at a different level of the web page, and the last one on the web page
curl is the command to get the web page as a browser and the -i option says to print the HTTP information of the response.
Command:
curl -i "http://[YOUR_BOILER_IP]:4321/[YOUR_BOILER_JSON_PASSWORD]/all "
curl -i "http://[YOUR_BOILER_IP]:4321/[YOUR_BOILER_JSON_PASSWORD]"
curl -i "http://[YOUR_BOILER_IP]:4321"
curl -i "http://[YOUR_BOILER_IP]"

can you return the results with the original command (Change IP by <IP_ADDRESS> if you want and the password by QUERTY )

Here is the result of the test:

Thank you for your help


feat: add test for prevent unnecessary pipelineruns feature

Description
This PR covers a scenario for recently added feature of preventing unnecessary pipeline runs when multi component are in a single repo.
Issue ticket number and link
https://issues.redhat.com/browse/STONEBLD-1762
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Locally with installing RHTAP in a cluster.
Checklist:

[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
[ ] I have updated labels (if needed)

/test all

/lgtm

/lgtm


fix:(launch) update launch files to match new autoware universe package naming

PR Type

Improvement

Description
This PR updates the edge_auto_launch launch files to match the new autoware naming scheme introduced in version 2024.07.
Review Procedure
Launch the system as usual following the README instructions.
Pre-Review Checklist for the PR Author
PR Author should check the checkboxes below when creating the PR.

[ ] Assign PR to reviewer

Checklist for the PR Reviewer
Reviewers should check the checkboxes below before approval.

[ ] Commits are properly organized and messages are according to the guideline
[ ] (Optional) Unit tests have been written for new behavior
[ ] PR title describes the changes

Post-Review Checklist for the PR Author
PR Author should check the checkboxes below before merging.

[ ] All open points are addressed and tracked via issues or tickets

CI Checks

Build and test for PR: Required to pass before the merge.

@manato Apologies, I force-pushed the other branch and caused an issue with the history by accident. I moved the PR to https://github.com/tier4/edge_auto_launch/pull/27
Can you please continue the review over there?


Implement type agnostic hash tables

The hash table has been modified to work with any datatype that occupies a continuous span in memory (no following pointers).
This means that keys can be any type or an array of that type.
Fixes #14

look good to me, thanks!


The Game Is Not Opening Up After Installing New SA Mod Manager.

Hi there, I was just reaching out because I previously used SADX Mod Manager for my game, which did work efficiently. However recently I received a notification on there stating that there will be a new upgraded Mod Manager, SA Mod Manager. After successfully installing the mod manager, I immediately noticed that after hitting "Save & Play", a small window would appear for a second before it closes. The game doesn't even attempt to launch. I have tried all I can at this point to problem solve the issue, but I don't know what's going on.

For some reason when i opened SA mod manager and went to set the game directory it wouldn't detect sa2 even though its there in file explorer

Did you rename sonic2app.exe?


APIs for starting a test session

I am looking for api list to post - sessions id - want to execute appium test cases directly from code

We are in the process of documenting the APIs on the website, but I'll try to do explain it briefly here. The OpenTest server exposes two APIs that can be used to start a test session:
API 1: Create a session passing the list of tests
POST http://localhost:3000/api/session

The body of this POST request looks like this:
{
    "actorTags": [],
    "environment": "",
    "maxIterations": "1",
    "sessionLabel": "My session",
    "tests": [
        {
            "name": "Test 1",
            "path": ""
        }, {
            "name": "Test 2",
            "path": ""
        }
    ]
}

All the properties in the JSON payload are mirroring the details you are passing when you start a test session from the OpenTest server UI.
You can ignore the actorTags property, unless you need to target a specific actor when running your session (if you are not sure, then you most probably don't). The environment property can be empty, if you are not using the environments feature. maxIterations is the number of times to retry the execution of a failed test (this is to alleviate the problem of flaky, non-deterministic tests). The tests array is an array of objects that represent the name of the YAML file with the test and its path, relative to the tests directory. If the test is in the tests directory (and not in a subdirectory), then the path property can be left empty, like in the example above.
API 2: Create a session from a template
This API allows you to start a test session based on a test session template file, that you have already prepared and saved in the test-repo/templates directory (more details below).
POST http://localhost:3000/api/session/from-template

The body of this POST request looks like this:
{
	"template": {
		"name": "smoke-tests",
		"path": ""
	}
}

Session template files are YAML files that describe the details of a test session (the same ones I already talked about: the list of tests, the environment etc.). Here's an example:
description: Runs the sample tests that don't require any configuration
sessionLabel: Quick start tests
maxIterations: 1
tests:
    - name: GitHub API test
      path: api

    - name: Using an external JavaScript file
      path: other

You can take a look in the templates directory created by the opentest quick-start command to get a better idea of how the whole setup looks like.
If you want to integrate OpenTest in a CI pipeline, you can use one of these APIs to kick off a test session. The second API is better, because it doesn't require you to specify the full lists of tests in the API call. You can use a tool like curl to make the API call, something like this:
curl -H "Content-Type: application/json" -d "{\"template\": {\"name\": \"smoke-tests\", \"path\": \"/\"}}" http://localhost:3000/api/session/from-template

We are in the process of adding some new command-line options to make this process even easier, which will probably be delivered beginning of August.

Hi @adrianth,
When creating a session from a template using /api/session/from-template, is it possible to edit any of the session details? I would like to use a template that has been created and is maintained by someone else, so I want to avoid editing the template directly or creating another copy of the template.
For example, for the template "smoke-tests," I'd like to edit the sessionLabel to "smoke-tests v5.17_200" to reflect the build number I'm running on, so that when I look at my dashboard, I can tell my sessions apart. Also, within that template, the maxIterations is 2, and I'd like to change it to 1.
Thanks,
Joanna

@joannalaine Unfortunately, this is not possible just yet, but some other team had some similar requests and this feature will be available in the next OpenTest release. I will add a comment to this issue with the details, when it becomes available.

Hey @joannalaine, starting with version 1.0.3 (which was just released today), we support starting a session from a template file and overriding the properties in the template by using the "create session" API call (POST /api/session). See more details in the docs: https://getopentest.org/reference/web-api.html#creating-a-test-session.
This renders the POST /api/session/from-template API unnecessary, but we are keeping it for now, for backward compatibility.
Please that version 1.0.3 works with Appium 1.8.0 or later. It will also work with previous versions, with a small caveat: the iOS swiping in Appium 1.7.X is relative to the position of the element being swiped, whereas in 1.8.X it is defined in absolute screen coordinates, so you'll see some issues there. This can be fixed by upgrading Appium to the latest version (preferred) or by using the appium.useRelativeCoordsIos parameter and actor.yaml with a value of true.
Let me know if you have any questions.

Hi @adrianth, I finally got a chance to try this out for both templates and individual tests. It works great! Thanks for new utility!

@adrianth --It works pretty good....I could invoke / integrate opentest in my deployments scripts using curl. Thanks a lot!

Hi @reinaldo-dias. Glad to hear you were able to make good use of the updated API.

Hi @adrianth
Nice job with the framework!
We're applying CI integration over here and there's question we couldn't find an answer to.
Is it possible to call a template with curl and change the session label with a variable?
Our goal is to print the current application build as the session label when executing the tests in a template.
We've tried this:
curl -H "Content-Type: application/json" -d "{"sessionLabel": $build, "template": {"name": "SmokeTest", "path": "/"}}" http://testurlhere
When running it this way, the label given to the session is a copy of its id number.
What could be done differently to make it work?
Thanks in advance.

Hi @johnnydutra, the OpenTest server will use the session ID as the session label if:

It cannot find a custom session label in the payload of the API call.
It cannot find a custom session label in the session template you specified in the API call.

It looks like your "SmokeTest" template doesn't contain a session label property and the $build variable doesn't contain a value either (or you're not running the latest OpenTest version).
Please make sure that you are using the latest version of OpenTest (customizing the session label in the API call was not possible before v1.0.4), and check that your $build variable really contains a value. For troubleshooting purposes, you could try to hardcode the session label in the curl command line, to confirm that the label is correctly assigned by the OpenTest server.

Hello @adrianth,
We ran some tests following the inputs you provided there, but still couldn't make it happen.
However, we were calling the "from-template" API. When we switched it to the regular /api/session one, it worked fine.
Thanks for the support.

Oh, I understand now. I had assumed you were using the /api/session API,since you didn't specify the URL in your curl command example. Sorry, I should have mentioned the API too. The "from-template" API is deprecated now that the /api/session API can do the same thing (and more).


Invalid type suggestions

There are invalid types that are suggested
e.g: texture_2d_array
some other types are int32 and uint32

texture_2d_array should be a valid type. I am fixing i32 and u32 in the next release

This should be available on the Jetbrains marketplace now


docs: Fix simple typo, ovveride -> override

There is a small typo in djrill/tests/test_mandrill_send.py.
Should read override rather than ovveride.

Thank you for the correction. I'm afraid this project is no longer maintained (except for security issues). Please see #111 for more information.
You may want to consider switching to the successor package, django-anymail.


question about the mentioned button

in line 64 of the wordclock_esp8266.ino file you mentioned a button, which has to be connected to port 14. Unfortunatly I don't find any circuitdiagram and now I'm wondering which potential the button should be switched to.

Hello Ralph,
you can find the circuit diagram in the original post on my website: https://techniccontroller.com/word-clock-with-wifi-and-neopixel/
(also linked in README)
The push-button is attached to the GND and D5 pin of the ESP8266 NodeMCU Board. I use the internal pullup resistor to pull the input pin to 3.3V (HIGH). When the button is pressed the input sees 0V (LOW).
I hope this clarifies your question.
Best regards
Edgar


ddev stop/start  is accepted as a command, but only starts current app (arg processing)

What happened (or feature request):
I tried ddev stop drud-d7 while in the drud-d8 app (testing ddev describe PR #116. It stopped drud-d8 instead of drud-d8. The fact is that all arguments are accepted, for example ddev stop this stinking devsite is accepted (and acted upon).  I did this in light of the fact that we now support "app" as 3rd arg of ddev describe and I wondered if this had been done globally, as a normal user would probably expect.
What you expected to happen:
I expected it to either stop drud-d7 or give me an error about an invalid argument.
How to reproduce it (as minimally and precisely as possible):
Run ddev stop this stinking devsite when in a valid app directory.
Anything else do we need to know:
Related source links or issues (like source JIRA issue):
This was discovered in testing #116

I'd like to go ahead and do this one just from an args-processing viewpoint (give the usage if they add extra args). It's trivial (I think).

The behavior for start is addressed in #123, as we wanted similar behavior on import commands. For stop/rm, we were discussing different behavior in #78. I think we should close this ticket and resolve the other commands with the decided path forward on #78

Works for me, closing in favor of #123 - when we do that though let's make sure that all commands don't accept spurious extra args.


How to SSR signout & redirect to login

Describe the bug
Some API call made in getServerSideProps can lead to an invalidation of the authorized user. User should be logout & redirected to login page.

Calling AuthUser.signOut has not effect
Manual redirection to login page will redirect to application page as there is still a valid authed user.

Versions
next-firebase-auth version: 1.0.0-canary.18
Firebase JS SDK: 9.14.0
Next.js: 12.3.1
To Reproduce
Steps to reproduce the behavior:

Implement page / with a getServerSideProps wrapped in withAuthUserSSR.
Implement page /login with a getServerSideProps wrapped in withAuthUserSSR + content wrapped in withAuthUser (for redirection only).
Log in
Get redirected to /
Unexpected behaviour

Expected behavior
Describing a flow on "how to signOut from server side & redirect to /login page with cleared user".
Debug and error logs
No error logs.
Additional context
Login page (/login):
export const getServerSideProps = withAuthUserSSR({
  whenAuthed: AuthAction.REDIRECT_TO_APP,
})();

export default withAuthUser({
  whenAuthed: AuthAction.REDIRECT_TO_APP,
})(Login);

Main page (/):
  export const getServerSideProps = withAuthUserTokenSSR({
    whenUnauthed: AuthAction.REDIRECT_TO_LOGIN,
  })(async ({ AuthedUser, ...context }) => {
    // Assuming we have an issue that requires to logout

    await AuthedUser.signOut()
    return {
          redirect: {
            statusCode: 301,
            destination: '/login',
          },
     };
  });

Edit (additional question):
How to perform an additional async check on freshly loggedIn user to possibly revoke access ?
      const auth = getAuth(getApp());
      await signInWithEmailAndPassword(auth, email, password);
      // From here, code is not performed well as we are redirected according to redirect URL.

I'm not sure how we'd handle this. This library relies on client-side Firebase authentication state as the source of truth for whether a user is authenticated or not. Even if we unset the user's auth cookies, how would we handle the user still being logged in on the client side?

You can redirect to client "logout" page and client will also log out the user

Closing this: this library will continue to rely on the client-side Firebase state as the source of truth for authentication.


Add mongo-tools for mongodb 3.2

Install rh-mongodb32-mongo-tools in 3.2 image. Older mongodb versions already includes tools.
See #170 for discussion.

[test]


I died in the dungeon and i can not go back in go get my stuff

Minecraft Version
1.20.x
Mod Loader Version
1.19.2
Mod Version
1.19.2
Describe the Issue
i entered the dungeon while on the medieval mod pack and I miss a parkour jump and fell on lava and magma blocks and had no choice but to die, now i can not go retrieve my gravestone because I can not get back to the dimension, the server owner tried to help me get there. Is there a command to tp to that dimension?
latest.log
i entered the dungeon while on the medieval mod pack and I miss a parkour jump and fell on lava and magma blocks and had no choice but to die, now i can not go retrieve my gravestone because I can not get back to the dimension, the server owner tried to help me get there. Is there a command to tp to that dimension?
Do you use any other mods except the required ones?
medieval mod pack

Sounds actually like a good idea to add a respawn option for dungeons.

Introduced respawning in dungeons (as a datapack option, default true) in a later version.


App native app install prompt

Android https://developer.chrome.com/blog/app-install-banners-native/
iOS https://developer.apple.com/documentation/webkit/promoting_apps_with_smart_app_banners

@saakshiraut28  If you're interested another easy win, that references the app
That aren't done yet 🙈

Yeah, I would love to contribute.🚀

Yeah, I would love to contribute.🚀

Great! Its all yours.
Please comment them out before sending the PR

Hey @lil5, I ain't getting much time to work on this issue as I got my exams scheduled for this week. :(

@saakshiraut28 this issue doesn't have a huge time stress, you can continue on it in 2 weeks if you like.

related links: https://pracucci.com/chrome-related-applications.html https://tools.applemediaservices.com/app/6451443500?country=us

Added to the app PWA


fix: Make channel creation actually add to cache

What type of pull request is this?

[x] Non-breaking code change
[ ] Breaking code change
[ ] Documentation change/addition
[ ] Tests change

Description
It was found out that new channels made after the bot was started up apparently were not added to the cache. Looking through the code, it turns out that dis-snek was actually removing the channel from the cache upon a channel's creation by mistake - it was likely caused by copy and pasted code.
Of course, this PR fixes that.
Changes

Use cache.place_channel_data instead of using custom logic to add the channel to the cache for _on_raw_channel_create.

Technically, this could have been fixed by making self.cache.channel_cache.pop(channel.id, None) into self.cache.channel_cache[channel.id] = channel, but I decided it was best using methods the cache had for consistency reasons. There isn't a reason why we shouldn't use it, after all.

Checklist

[x] I've formatted my code with Black
[x] I've ensured my code works on Python 3.10.x
[x] I've tested my code

looks like failing test is due to #355 and unrelated to this pr changes

looks like failing test is due to #355 and unrelated to this pr changes

Yeah, I actually found that bug because of testing this, funny enough.

I came expecting an essay, all i got was a short. now im sad

I came expecting an essay, all i got was a short. now im sad

Oh, you're getting there :)


APP6-B Equipment Mobility modifiers - some not drawing correctly

Testing the App6-B Equipment mobility modifiers on a ground equipment symbol, Runtime Symbol export tool gives some errors.
Testing code combinations from "Table B-II. Symbol ID codes - size/mobility (cont'd)."(p. B4, B5)
M - MOBILITY EQUIPMENT
M F MOBILITY FIXED WING
M H MOBILITY HELICOPTER
M M MOBILITY MISSILE
MO MOBILITY WHEELED/LIMITED CROSS
COUNTRY
MP MOBILITY CROSS COUNTRY
MQ MOBILITY TRACKED
MR MOBILITY WHEELED AND TRACKED
COMBINATION
MS MOBILITY TOWED
MT MOBILITY RAIL
S- MOBILITY SPACE
Most of the modifiers look right, some do not.
Test:
RuntimeSymbolExport.exe app6b SFGPEWM---MO---   MOBILITY WHEELED/LIMITED CROSS COUNTRY
RuntimeSymbolExport.exe app6b SFGPEWM---MP---   MOBILITY CROSS COUNTRY
RuntimeSymbolExport.exe app6b SFGPEWM---MQ---   MOBILITY TRACKED
RuntimeSymbolExport.exe app6b SFGPEWM---MR---   MOBILITY WHEELED AND TRACKED COMBINATION
RuntimeSymbolExport.exe app6b SFGPEWM---MS---	MOBILITY TOWED
RuntimeSymbolExport.exe app6b SFGPEWM---MT---   MOBILITY RAIL
RuntimeSymbolExport.exe app6b SFGPEWM---S----   MOBILITY SPACE
RuntimeSymbolExport.exe app6b SFGPEWM---MM---   MOBILITY MISSILE
RuntimeSymbolExport.exe app6b SFGPEWM---MH---   MOBILITY HELICOPTER
RuntimeSymbolExport.exe app6b SFGPEWM---M----   MOBILITY EQUIPMENT
RuntimeSymbolExport.exe app6b SFGPEWM---MF---	MOBILITY FIXED WING

Latest STYLX (3/19/18) and Runtime app on ArcGIS Runtime 100.2

Issue_316_Mobility.zip
This is the bat file to check these modifiers.

Mobility indicator chart from the standard:

I cannot seem to find the SIC code values for the "sled", "pack animal", and "amphibious" indicators. The ones I included in this issue are from table B-II in the APP6-B standard document.

(p. B-4 and B-5 (106-107 in PDF).

Any update on the issue? I am having the same problem


Added User Profile on the top left and removed Run sync name from the top

Yeah, pretty much the title

Looks good to me.


Support for macOS

Can't install on a macOS target in a multi-paltform app (iOS+macOS).

Same issue for me — this won't compile for a Mac-only app. There are imports for UIKit in six classes which precludes compiling this for macOS.
#import <UIKit/UIKit.h>

I noticed in the PostHog docs that "you can use any of our libraries or any Mixpanel library". So I went with the Mixpanel SPM package and it seems to be sending events through just fine from my Mac app to PostHog :)

@jeff-h how did you instantiate Mixpanel to use with PostHog? I tried to use a following code but couldn't get events in the PostHog.
Mixpanel.initialize(
    token: "...", // API KEY
    trackAutomaticEvents: false,
    serverURL: "https://app.posthog.com"
)

Similar to https://github.com/PostHog/posthog-ios/issues/51

@marandaneto - will the new iOS sdk bring support to macOS? And or do you have a rough timeframe for when that could happen? I also see fromthe poster above -- that they used the Mixpanel SPM package -- does that method still work?

@wasauce the v3 SDK has compiler flags so it should just work on macOS, but a few features that depend on UIKit etc won't work but that's fine if you don't need them.
The first v3 alpha is out today.
Not sure if Mixpanel SDK is still compatible, that comment was 1y+ ago and the docs have been updated.

Similar to https://github.com/PostHog/posthog-ios/issues/24
Some features don't work because they depend on UIKit or something available only for iOS targets, but the SDK should do the basic stuff as sending events, etc.
https://github.com/PostHog/posthog-ios/releases/tag/3.0.0-alpha.2


Include equipment not just weapons for the list of equiped weapons

This is to support equipment, such as a shield, that also has an attack action, e.g. Shield Bash.

@akrigline I'm not sure how this will behave with equipment that doesn't have a defined action. I assume it would be the same if you have a weapon misconfigured with no action.

@akrigline I'm not sure how this will behave with equipment that doesn't have a defined action. I assume it would be the same if you have a weapon misconfigured with no action.

Oh that's a good thought and very much an oversight. I'll be sure to double check that and probably end up filtering the equippedWeapons based on that. Big thanks for your contribution!

Happy to help! It looks like it puts the item in the Special section.

I'll be honest I completely forgot about this. Thanks @naesean, testing now and releasing later today.

Awesome! I just tested it on my server and it looks great. Thanks @akrigline!


Vouchers per gene

Coverage increased (+0.17%) to 94.36% when pulling 1226ac5ebfb22303f86aade90c91c6cfb3a299b3 on vouchers_per_gene into 3bb62d3d7cc914d41429b3c54c1ecb699d13db6a on master.


Deploying on render-com Maximum call stack size exceeded

Environment
nitropack - 1.0.0
node - idk which version render.com uses
Reproduction
repo
Describe the bug
I'm trying to deploy my api on render.com, but I got RangeError: Maximum call stack size exceeded from jiti and mlly (check the logs). Commands for build: npm i && npx nitropack build
Logs
Nov. 16 07:38:52 PM  ==> Cloning from https://github.com/no1621name/cheesy-api...
Nov. 16 07:38:52 PM  ==> Checking out commit e2f47c161a654cf9fda61fa26a37e21d48449048 in branch master
Nov. 16 07:38:56 PM  ==> Downloading cache...
Nov. 16 07:39:11 PM  ==> Transferred 131MB in 10s. Extraction took 3s.
Nov. 16 07:39:14 PM  ==> Running build command 'npm i && npx nitropack build'...
Nov. 16 07:39:20 PM  audited 676 packages in 4.634s
Nov. 16 07:39:20 PM
Nov. 16 07:39:20 PM  80 packages are looking for funding
Nov. 16 07:39:20 PM    run `npm fund` for details
Nov. 16 07:39:20 PM
Nov. 16 07:39:20 PM  found 0 vulnerabilities
Nov. 16 07:39:20 PM
Nov. 16 07:39:44 PM  RangeError: Maximum call stack size exceeded
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247662)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/mlly/dist/index.cjs:3:15
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/pkg-types/dist/index.mjs:3:13
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/mlly/dist/index.cjs:16:18
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/pkg-types/dist/index.mjs:3:13
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/mlly/dist/index.cjs:16:18
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/pkg-types/dist/index.mjs:3:13
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/mlly/dist/index.cjs:16:18
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/pkg-types/dist/index.mjs:3:13
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/mlly/dist/index.cjs:16:18
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/pkg-types/dist/index.mjs:3:13
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/mlly/dist/index.cjs:16:18
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/pkg-types/dist/index.mjs:3:13
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/mlly/dist/index.cjs:16:18
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/pkg-types/dist/index.mjs:3:13
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/mlly/dist/index.cjs:16:18
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/pkg-types/dist/index.mjs:3:13
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/mlly/dist/index.cjs:16:18
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/pkg-types/dist/index.mjs:3:13
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/mlly/dist/index.cjs:16:18
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/pkg-types/dist/index.mjs:3:13
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/mlly/dist/index.cjs:16:18
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/pkg-types/dist/index.mjs:3:13
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/mlly/dist/index.cjs:16:18
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/pkg-types/dist/index.mjs:3:13
Nov. 16 07:39:44 PM      at jiti (/opt/render/project/src/node_modules/jiti/dist/jiti.js:1:247502)
Nov. 16 07:39:44 PM      at /opt/render/project/src/node_modules/mlly/dist/index.cjs:16:18
Nov. 16 07:39:44 PM  ==> Build failed 😞
Nov. 16 07:39:44 PM  ==> Generating container image from build. This may take a few minutes...

I am seeing the same thing both on render and locally using nitropack dev on the first route example (hello world) from the docs. Very frustrating. I don't understand how Nuxt has adopted Nitro when it is seemingly in disarray (or perhaps, just poorly documented).

@platform-kit I can't reproduce it locally neither in dev nor in build.
@no1621name Could you boil down your repo to a minimal reproduction?

Sorry, can't help, this was 2 years ago...


Permanently Assigned Specific Bundle ID to Wildcard Enterprise Profile -- Not Intended Behavior (Sigh/ Gym build)

We typically use a wildcard app ID with our Enterprise program. I used “sigh” to manage the profiling while I was trying to prototype Fastlane for our build servers—however, now when I try to build anything with our wildcard bundle ID it’s saying that our wildcard ID is associated with a profile used by the app I was building with our prototype fastfile, and all of our existing builds are failing.
In the prototype, I used sigh, set credentials for both ITC and the Apple Dev portal with my work Apple ID, and I tried setting the Bundle ID for my demo to “com.[mycompany].randomApp” while using our existing wildcard Enterprise profile.
The sigh command is:
 sigh( app_identifier: bundle_ID, provisioning_name: xcode_profile )

With the values passed in being a unique bundle ID ("com.[mycompany].randomApp") and the wildcard enterprise profile “Team2_InHouse"
Now any production builds using the wildcard enterprise profile are failing with this error:
ERROR: Code Sign error: Provisioning profile does not match bundle identifier: The provisioning profile specified in your build settings (“Team2_InHouse”) has an AppID of “com.[mycompany].randomApp” which does not match your bundle identifier “com.[mycompany].assignedID”.
Do you have any idea where in the Apple dev portal or even iTunes Connect Fastlane may have created this setting? The profile in the dev portal looks normal.  I’ve regenerated the profile and reinstalled it on our build servers, but the error persists, and I feel like it must be stored somewhere on Apple's side now. It seems like com.[mycompany].randomApp is now permanently assigned to this Wildcard profile, but the App ID  com.[mycompany].randomApp doesn’t even really exist in our Enterprise Apple dev account.
Any help much appreciated!

Can you share a screenshot of your Xcode project code signing settings? Additionally please install the Quick Look plugin (linked in the sigh repo) and send a screenshot of the generated provisioning profile. Also, please share a screenshot of your Bundle ID settings of your project :+1:

Thank you so much for the quick response! We actually set our profiling through our own ruby build scripts in Jenkins (I'm looking at Fastlane because of the excellent community support!)
I've configured the project in xcode the way it should look, but the building and signing is being done with xcodebuild after checking out the project, and the settings the developer checks the code in with are not the settings it's built with.

Another strange behavior is that the error only occurs 75% of the time, and a few Enterprise builds using this profile have succeeded since the error first appeared. It did start occurring after I was playing with Fastlane builds, and only my prototype project uses "“com.[mycompany].randomApp" so I'm fairly certain this is where it came from.

Does that mean you're not using gym to build and sign your app? Can you try using it?

I was only using Gym to build and sign my prototype app locally on my laptop.
The error is appearing with unrelated app builds on our Jenkins servers using the same profile I was using for my prototype.
The gym command from my prototype is:
gym(
  scheme: scheme,
  configuration: configuration,
  clean: true,
  include_bitcode: false,
  workspace: ENV["APP_WORKSPACE"],
  output_directory: "./.fastlane/Build/iPAs",
  output_name: scheme + ".ipa",
  codesigning_identity: identity,
  xcargs: "ARCHIVE=YES",
  use_legacy_build_api: true
)

I don't care about building the prototype for now, I'd just like to repair the previously existing wildcard profile that seems to be linked to the prototype app ID now. In theory, the Jenkins builds that are failing with the codesigning error have no knowledge of my local prototype build, the only link is that I was trying to use the same wildcard profile that we use in production.

@LizCira Is this still an issue?

@vpolouchkine no longer and issue, sorry, I should have closed this.
For completeness, the problem was that my company has an Enterprise and a standard Apple Developer account. The Enterprise profile I'd specified to sign with was being created in the standard account because of incorrect Fastlane configs on my part. We have a six-unit build cluster, and a cron job that syncs profiles across them--the way it's set up, sometimes the correct profile was present at build time, but sometimes the incorrect one was. An obscure error, but ultimately nothing to do with Fastlane. I was totally stumped at the time. Automation is powerful tool. Thank you for the prompt responses, though!

@LizCira Thanks for following up. I'm glad to hear you got up and running. Really glad to have you using Fastlane 👍


Is there a call?

I probably have missed this I'm sure it is in the code somewhere.
Is there http call we could make to the bridge to turn on/off/dim a device?
And if so what response should be expected back if any?

Yes there is. Since the bridge emulates a Hue Hub, it is http calls that control it. It is documented in the README here https://github.com/bwssytems/ha-bridge#hue-rest-api-usage

I've read threw that and still lost.
what do I put for username?
Can I turn on/off exec device types too or just lights?

So, that API is the one that the Echo or Google Home calls. For the username, you can use anything as it is agnostic for the call unlike the hue hub where the link button needs to be pressed to register. A call to change the state of  a ha-bridge device is PUT http://<IP_ADDRESS>:80/api/myname/lights/1/state with a body of {"on":true} where 1 is the ha-bridge device number that you see on the configuration screen.

to dim a device, the body is this {"bri":200} where 200 is a value between 1 and 254 for the value.

So if the device is a exec I'd replace lights with exec or does that stays as lights?
I'm getting a not found error
using  http://bridgeip:80/api/myname/lights/1/state{'on":true}

the device types inside the bridge do not matter. Remember that the Hue API is fixed and it does not change based on the devices inside. Follow the example above.

I'm obiously doing something wrong
still getting a 404
device is #1 and is an exec but I'm using lights
http://localhost:80/api/myname/lights/1/state{"on":true} results in a 404
I can manually switch on/off in the bridge(localhost:80)

Ahhh, please go Google Rest Server use as you are not yet understanding how web api's are working

Ok I had thought I could just type in the put in a web browser like I can for a get.
I created a small test app in c# and get back a OK but the device still doesn't turn on
I guess I still need to do some reading.

Install Postman for your Chrome browser and test with that. Curl Can also be used if you have a linux machine handy. It is ussing the HTTP construct of PUT with the URI of http://localhost:80/api/myname/lights/1/state and then the HTTP Body payload of {"on":true} which is not part of the URI but is part of the request portion of the HTTP call.

ok in postman depending on the body option used I either get:
[{"success":{"username":"8acbdf82291a43d598b396288b85dd7e"}}] or
[{"error":{"type":"2","address":"/","description":"Could not add user."}}]
but in both cases the light never turns on
I'll play some more

Run that call twice in a row or I guess you'll need to call the add user call after that

I get [{"success":{"username":"8acbdf82291a43d598b396288b85dd7e"}}] either way,  Theuser ID returned is always different # though, and device state still never changes
Created a Vb.net app and it does the same so although the device isn't turning on I'm getting close (I think)

Today I updated to version 4.1.1 hoping that maybe that may make a difference.
It did though not the way I expected.
I can use get and post successfully, however all puts return an error.
It is possible that yesterday I was using post and getting the  [{"success":{"username":"........
As thats what I get using it instead of a put today :(
Is anyone able to do a successful put?

So, your message is not correct yet, please post

I guess not
if I use put http://localhost:80/api/myname/lights/1/state with {"on";true} in the body I get:
[{"error":{"type": 6, "address": "/lights/1","description": "Error on calling out to device", "parameter": "/lights/1state"}}]
However just tried this again if I put  http://localhost:80/api/myname/lights/1/bridgeupdatestate
with {"on";true} in the body I get: [{"success":{"/lights/1/state/on":true}}] but nothing happens with the light (I don't think it should with that command anyways).
Haven't tried the update device put yet

Have you tested this form the configuration panel for Device 1?

Please post your device configuration

Just went to try from the bridge device id 1 has changed.
I'll run some more tests using a different id

Yes, the ID needs to be on from the configuration page. I was using 1 as an example.

Ok Checked configuration of device 1 there was an error it that script.
I think I was looking at the row number and not the ID number
I tested with another ID as I can't see device 1 and the Put returns proper response and light turns on/off
Man I feel so dumb!
Thanks for sticking with me on this.

It seems like you cannot set the state(on) to false with any value being passed for brightness E.g.:
{"on": false,"bri": 0}   , so here even though the brightness is set to zero it would never set the on to false when the state of the device is queried ..the responses are as below the first one is for setting  and the 2nd one was for a status query:

[{"success":{"/lights/12/state/on":false}},{"success":{"/lights/12/state/bri":0}}]
{"state":{"on":true,"bri":0,"alert":"none","reachable":true},"type":"Dimmable light","name":"DOWN","modelid":"LWB007","manufacturername":"Philips","uniqueid":"00:17:88:5E:D3:0C-0C","swversion":"66012040"}


Enhancements for Bulk Data tasks

Critical Changes
Changes
Bulk Data Task Enhancements

Mapping enhancements for QueryData and LoadData

The mapping yaml file no longer requires using Id: sf_id as a field mapping.  If not provided, QueryData and LoadData will use local database ids instead of Saleforce OIDs for storing lookup relationships.  Previous mappings which specify the Id: sf_id mapping will continue to work as before using the Salesforce OID as the mapping value.
The mapping yaml file's lookups: section now handles defaults to allow simpler lookup mappings.  The only key required is now table.  If the key_field is provided it will be used for

The sql_path option on QueryData can be used to provide the file path where a SQL script should be written.  If this option is used, a sqlite in-memory database is used and discarded.  This is useful for storing data sets in a Github repository and allowing diffs of the dataset to be visible when reviewing Pull Requests

When using this option, it is best to make sure your mapping yaml file does not provide a field mapping for the Id field.  This will help avoid merge conflicts if querying data from different orgs such as scratch orgs.

The sql_path option on LoadData can be used to provide the file path where a SQL script file should be read and used to load an in-memory sqlite database for the load operation

Issues Closed

@jlantz Rather than replace the old test mapping with the new one, I'd much rather run the tests with both. This will help ensure that we don't break compatibility with the oid_as_pk and old lookup configuration cases, and it'll help with coverage too.
I would also like to see tests for the SQL dump/load options. I feel a little better about waiting and filling that in later though since that part is a new feature rather than a situation involving backwards-compatibility.


Improve docs for the ol.LoadingStrategy type

The docs for ol.LoadingStrategy are misleading, and omit the fact that a user provided function will also work.

+1


newrelic_rpm slows down requests 4x when used with graphql dataloader

Description
Following on to https://github.com/newrelic/newrelic-ruby-agent/issues/1264, I deployed v8.10.0 to production. Then I deployed, in isolation, use GraphQL::Tracing::NewRelicTracing, set_transaction_name: true. I found that, for key queries in our app, performance degraded from 1-2 seconds to 6-7s, about a 4x slowdown. This is better than 10x, but still unacceptable for production use.
For Maintainers Only or Hero Triaging this bug
Suggested Priority (P1,P2,P3,P4,P5): P5 (until more info is received)
Suggested T-Shirt size (S, M, L, XL, Unknown): Unknown

Hi @bmulholland,
Thanks very much for your efforts on driving this one forward and trying out the changes that went into v8.10.0. We're glad to see that there has been some improvement with that release.
One thing that would help us better understand and make progress on the performance problem would be a standalone method of reproduction. It would be great to have a gist or repo with operations that could be ran with and without the NewRelicTracing being enabled to demonstrate the performance difference. With such a code base, we could keep pointing it at different test builds of the New Relic Ruby agent until we see improvements.
If you yourself or anyone else from the Ruby GraphQL community has the time to put such an issue reproduction code base together, those efforts would be tremendously helpful and appreciated. If not, then no worries - we will still endeavor to better understand and work on reproducing the issue on our end.

And thanks for all your (and the team's) work! Apologies that I wasn't able to test this out pre-release.
Since this is blocking us from profiling requests, its prioritization will be driven by our need to investigate performance of a GraphQL query. Unfortunately, that means I can't justify investing time into a repro until a performance issue comes up. I wish I could help more! If you do investigate it further in the meantime, good luck; otherwise, I completely understand that you can't make progress without any way to look into it :)

Hi @bmulholland! 👋
We have a potential fix for a different issue that may also improve the agent's performance when using Dataloader.
Could you test the fix and let us know how it impacts your app's performance?
To test, update your Gemfile's reference to newrelic_rpm to point at the fix's branch:
gem 'newrelic_rpm', git: 'https://github.com/newrelic/newrelic-ruby-agent/', branch: 'must_go_faster'

Then bundle, make sure instrumentation.thread.tracing set to true and run the problematic queries.
As a head's up, this fix points to the 9.x branch of our agent. If you haven't updated to 9.x yet, there may be other changes you need to make to get things working. Here's the migration guide for 8.x to 9.x.

Hey, thanks for reporting in. We've decided to switch off of NewRelic for unrelated reasons, so we won't be able to test this. I'll close the ticket, hopefully the work already done has solved it for others :)

We had a New Relic internal user test this out the fix on a service that uses GraphQL Dataloader and they went from a > 5 seconds delay to a < 15ms delay. We have confidence this issue is resolved in version 9.2.0 of the agent.

For whoever may come across this issue:
We had a New Relic internal user test this out the fix on a service that uses GraphQL Dataloader and they went from a > 5 seconds delay to a < 15ms delay. We have confidence this issue is resolved in version 9.2.2+ of the agent.


No documentation on how to connect using aad in management API

Describe the bug
This migration guide mentions a new constructor for ServiceEndproint that allows for add connection (I assume DefaultAzureCredential), but there is no documentation that I could find that mentions on how to use that with management api.
Maybe it's not implemented at all and that's why I cannot find it? It would be nice to have docs on this. I would appreciate as well if you can post in here how to that before updating the docs :)
Further technical details

Your Azure SignalR SDK version : 1.10.0

P.S. I think the ServiceEndpoints option can be used, but I did not find any docs on it.

Yes you are right, ServiceEndpoints option can be used, but 1.10.0 management SDK still has an issue with transient transport type (the default transport type) preventing from using ServiceEndpoints. The issue will be fixed in 1.11.0 version which will be released in this week. We'll also provide detailed document in the future.
If you want to try the DefaultAzureCredential now, you can switch to Persistent transport type and use ServiceEndpoints option. Here is the sample code:
    var serviceManagers = new ServiceManagerBuilder()
    .WithOptions(o =>
    {
        o.ServiceEndpoints = new ServiceEndpoint[] { new ServiceEndpoint(new Uri("https://<your-signalr-service-name>.service.signalr.net"), new DefaultAzureCredential()) };
        o.ServiceTransportType = ServiceTransportType.Persistent;
    })
    .BuildServiceManager();

Thanks a lot! This approach does work and luckily enough I was already using persistent transport type, as I suppose it is more efficient.


add annotation for pod & services

The purpose of this PR is to be able to set specific labels on pods and on the headless service used to access pods.
I needed to be able so specify annotation on the service in order to expose my pods using external-dns.
Examples of annotation needed in the CassandraCluster Spec:
  service:
    annotations:
      external-dns.alpha.kubernetes.io/hostname: my.custom.domain.com.

I follow what is done in other operators, and I would like to go further, and move in spec.pod section all related stuffs to Pods which are for now under Spec only.
But this would be a breaking changes with priori version of operator, but since we are still in alpha I think it's better to do it now. let's discuss this on next meeting.

see https://github.com/coreos/etcd-operator/blob/a2c86022d419a73aecedb48e3a404d1a9e4bfba9/doc/user/spec_examples.md#custom-pod-annotations

@cscetbon can you approve ?


RLMGenerator.next() could not cast value of type 'XYZ'

I am receiving some weird casting errors from the RLMGenerator.next method. I can request three of the objects from the generator before it tires to cast everything into my model class type [H_News.NewsClass].
Here is a sample of the errors I am getting.
(lldb) po readingPile?.nextNews()
Could not cast value of type 'OS_xpc_data' (0x1a0e9e540) to 'H_News.NewsClass' (0x1001c85a0).
error: Execution was interrupted, reason: signal SIGABRT.
The process has been returned to the state before expression evaluation.
(lldb) po readingPile?.nextNews()
2015-08-11 22:20:44.904 H-News[3877:1047565] -[NSISRestrictedToNonNegativeMarkerVariableToBeMinimized resize:]: unrecognized selector sent to instance 0x12791f6c0
error: Execution was interrupted, reason: internal ObjC exception breakpoint(-3)..
The process has been returned to the state before expression evaluation.
(lldb) po readingPile?.nextNews()
Could not cast value of type 'NSContentSizeLayoutConstraint' (0x1a0eba108) to 'H_News.NewsClass' (0x1001c85a0).
error: Execution was interrupted, reason: signal SIGABRT.
The process has been returned to the state before expression evaluation.
(lldb) po readingPile?.nextNews()
Could not cast value of type 'NSISLinearExpression' (0x1a0eb9988) to 'H_News.NewsClass' (0x1001c85a0).
error: Execution was interrupted, reason: signal SIGABRT.
The process has been returned to the state before expression evaluation.

I am using Xcode beta 4, running on Yosemite 10.10.4 together with Swift 2.0 on iOS 9.

@Entalpi this is quite strange, and I'm unsure how things are getting to this point. Could you please share the code that led to this happening? Thanks!

Sure thing.
From the table view
    override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
        if let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as? HNewsTableViewCell,
            let news = readingPile?.nextNews() {
            cell.news = news
            return cell
        }
        return UITableViewCell()
    }

Calls into
    private var newsGenerator: RLMGenerator<NewsClass>?

    func nextNews() -> News? {
        if newsGenerator == nil {
            newsGenerator = realm?.objects(NewsClass).generate()
        }
        if let newsClass = newsGenerator?.next() {
            return newsClass.convertToNews()
        }

        return nil
    }

That's really strange, I can't tell that anything's obviously wrong just form that code snippet. Would you mind sharing your project with us, either here or privately at<EMAIL_ADDRESS>so I can have a look at debugging? Thanks!

Absolutely! I sent the project to the address. :)

I couldn't reproduce the issue in either a 32 or 64 bit simulator running Xcode 7 beta 5. Are there any specific circumstances needed to reproduce?

Hmm, thats strange. I will try with the latest beta of Xcode. I might be that..

For some reason I could not reproduce it either on the simulator ...

I also just tried on my iPhone 6, and couldn't reproduce it there either...

Really strange, I will get back in a day or so when I have tested this through and through. :)

Thanks!

Steps to reproduce

Open the App on simulator or device (clean install).
Wait for Hacker News top stories to load, then swipe (from left to right) on 8 (or more for other errors) stories.
Press the top right icon.
Try to scroll down the table view. --> CRASH

I tried this with Xcode beta 5, iOS 9. Both on simulator and device. I get a EXEC_BAD_ACCESS exception on the line 'let accessor = generatorBase.next() as! Element?'. Sometimes other errors occur but it is always something with Realm in the call stack.

Awesome, thanks! I'll investigate shortly!

OK, so I've managed to reproduce this, and the issue seems to come down to us using our NSFastEnumeration implementation to back RLMGenerator. RLMResults and RLMArray both rely on an autoreleased buffer staying alive during fast enumeration, which doesn't happen when the fast enumeration state is held onto longer than a single enumeration.

For the time being, it's unsafe to hold onto an RLMGenerator across different autoreleasepools, and we need to decide if that limitation is worth the performance tradeoff of not being able to batch generate accessor objects in RealmSwift.

The use cases are pretty divergent, the pros with being able to batch generate those objects enables things like dynamic paging and other fun stuff. I don't know how large of an tradeoff it is though.

Yeah,  I'll have to measure how big the loss is. This is one of those cases where the lack of an explicit enumeration protocol in swift is a hinderance, as there are optimizations we can apply to enumeration that flat out don't work for the general case of generation.

The refactoring done in #2170 will make it fairly easy for RLMGenerator to strongly retain the enumeration helper rather than autoreleasing it (which is a hack around an obj-c problem that doesn't exist in Swift).

The built-in iterator has been significantly changed since the last time this ticket was updated. Closing.


[5.3] Call loggedOut() method after logging out a user

Adding this for convenience to use the same way we use authenticated()
It' also useful, in my projects, i have some behavior that happens when logging out a user.

There is already a Illuminate\Auth\Events\Logout event that fires on logout.


media: add usePrefersDark

Closes #155
Removes createMediaQuery from being the default export.
README

Should update the primitive list to include makeMediaQueryListener. Oh nice...I like how you defined the server.ts types with typeof API.. That's so much cleaner. Aside from that this looks good.


Add nvm support.

The var bash-env-elvish and fn quote-sh could as well be part of bash-env.elv. I can do that in a followup PR if you think it's a good idea.

Thanks for this. I'm away from home this week, will look at this sometime next week.

Thanks for this, really appreciated.
Would be very happy to receive your followup PR too @xiaq


Add none helper

Given the following test...
it('can clear the Roster', function() {
  RosterPageObject.clearRoster();

  // expect Roster to be in its initial state
  expect(RosterPageObject.rosterNames().count).to.equal(0);
  expect(RosterPageObject.nameInputValue).to.equal('');
  expect(RosterPageObject.isClearButtonVisible).to.be.false;
});

It may be helpful for the PageObject to define what it means for the Roster to be "empty" so that the tests don't have to check each individual criterion, and so that these criteria do not need to be repeated every time we need to check whether the roster is empty. A none helper would be useful in this case:
const RosterPageObject = create({
  rosterNames: collection({
    itemScope: '.roster-name'
  }),
  nameInputValue: value('.name-input'),
  isClearButtonVisible: isVisible('.clear-button'),

  isRosterBlank: none('rosterNames', 'nameInputValue', 'isClearButtonVisible')
});

This would allow the test above to be rewritten as follows:
it('can clear the Roster', function() {
  RosterPageObject.clearRoster();

  expect(RosterPageObject.isRosterBlank).to.be.true;
});

Closing, since it can be achieved with getters. see https://github.com/san650/ember-cli-page-object/issues/300#issuecomment-447298318


[curl] update to 8.11.0

Library name
curl
New version number
8.11.0
Other information that may be useful (release notes, etc...)
Changelog: https://curl.se/ch/
Version 8.11.0 contains a fix for https://curl.se/docs/CVE-2024-9681.html

FIxed by #41982.


How to to use model converted by torch2trt

Hi,
I have converted my torch model using https://github.com/NVIDIA-AI-IOT/torch2trt/
Please advise how can I use this model in trt inference server. I have two outputs after conversion:

Model_trt.pth
Engine.bin

Please advise, how to use any of the above model in trt inference server.
Thanks,

I don't think the two generated files you shown are pure TensorRT files (serialized engine with .plan suffix). This issue and its repro script demonstrates how to generate TensorRT model from torch2trt.
Besides that, Triton Inference Server also supports PyTorch model, so you don't have to convert your model to TensorRT model. See here for detail

Thank you very much. Really appreciate your response. I converted the pytorch model in same way (example mentioned in your response).
I generated two models:

Model_trt.pth (torch.save(model_trt.state_dict(), '/home/trt_model.pth'))

Engine.bin
(with open('/home/model/my_model/1/model.plan', 'wb') as f:
f.write(model_trt.engine.serialize()))

So as per your response,  my second model can be used in Tensorrt inference server. Please confirm if my understandings are correct.
Thanks,

Yes, you should be able to use the second file as TensorRT model in Triton Inference Server. You may want to rename the file to model.plan so the config.pbtxt file can be autofilled. See this section

Thank you. Will revert in case face any issue.

Closing. Reopen if there are following issues.


can it use bitsandbytes, better transformer, and/or flash attention 2?

Hello, the title explains my question, but here's a link to where I ask the same thing on the huggingface repo and provide a code snippet from a script of mine, albeit a different model, that can use those libraries...
https://huggingface.co/vikhyatk/moondream2/discussions/1
If the creator or anyone else could let me know I'd be very interested!

Just added support for Flash Attention, will be pushing to Hugging Face later today. I also tried out 4/8 bit quantization and while it seems to work (the code runs) it's hurting accuracy too much. Need to find a way to only quantize the text model, while leaving the vision encoder at 16 bit precision.

Just out of curiosity, but how did you implement flash attention 2?  Was it difficult?  Mind sharing a link to the pull request so I can see the code changes?

You will have to pass in attn_implementation="flash_attention_2" when instantiating the model, it's not enabled out of the box. The change I had to make was adding a flag telling transformers that Flash Attention is supported by the model, otherwise it throws an error: https://github.com/vikhyat/moondream/commit/71a02712a473fa9ec8b2d44fa5886e51e9a85436


Missing data source leads to "Error: Get config index out of bounds: the len is 1 but the index is 1"

Bug description
I'm following the guide at https://vercel.com/guides/nextjs-prisma-postgres and trying to setup prisma with postgres but after I install next auth and run npx prisma db push I'm getting the error " Error: Get config index out of bounds: the len is 1 but the index is 1"

How to reproduce

Expected behavior
My Understanding is that you are required to proceed with the db being updated without any errors
Prisma information

// schema.prisma
model Post {
  id        Int     @default(autoincrement()) @id
  title     String
  content   String?
  published Boolean @default(false)
  author    User?   @relation(fields: [authorId], references: [id])
  authorId  Int?
}

model User {
  id            Int       @default(autoincrement()) @id
  name          String?
  email         String?   @unique
  emailVerified DateTime? @map(name: "email_verified")
  image         String?
  createdAt     DateTime  @default(now()) @map(name: "created_at")
  updatedAt     DateTime  @updatedAt @map(name: "updated_at")
  posts         Post[]

  @@map(name: "users")
}

model Account {
  id                 Int       @default(autoincrement()) @id
  compoundId         String    @unique @map(name: "compound_id")
  userId             Int       @map(name: "user_id")
  providerType       String    @map(name: "provider_type")
  providerId         String    @map(name: "provider_id")
  providerAccountId  String    @map(name: "provider_account_id")
  refreshToken       String?   @map(name: "refresh_token")
  accessToken        String?   @map(name: "access_token")
  accessTokenExpires DateTime? @map(name: "access_token_expires")
  createdAt          DateTime  @default(now()) @map(name: "created_at")
  updatedAt          DateTime  @default(now()) @map(name: "updated_at")

  @@index([providerAccountId], name: "providerAccountId")
  @@index([providerId], name: "providerId")
  @@index([userId], name: "userId")

  @@map(name: "accounts")
}

model Session {
  id           Int      @default(autoincrement()) @id
  userId       Int      @map(name: "user_id")
  expires      DateTime
  sessionToken String   @unique @map(name: "session_token")
  accessToken  String   @unique @map(name: "access_token")
  createdAt    DateTime @default(now()) @map(name: "created_at")
  updatedAt    DateTime @default(now()) @map(name: "updated_at")

  @@map(name: "sessions")
}

Environment & setup

OS: Pop OS 20.10
Database: PostgreSQL
Node.js version: v12.19.0

Prisma Version
2.23.0

my schema file was missing the datasource db and client that's why had the error. :) Thanks

Can you share the full schema file that had this error? I feel we can make this much prettier and more usable.

@janpio sure, please see the schema file attached below.
Note this file is actually a .schema file, but I have renamed it to a .txt file because github does not accept the schema file type.
schema.txt

@janpio correction, the file name should actually be a .prisma file, made a mistake there with a .schema file. this does not exist, as you may have already picked up. Thanks

I can reproduce this with prisma validate for any schema missing the datasource block, e.g. an empty schema:
C:\Users\Jan\Documents\throwaway\7343>npx prisma validate
Environment variables loaded from .env
Prisma schema loaded from prisma\schema.prisma
Error: Get config thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', query-engine\query-engine\src\opt.rs:148:21
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Thanks for reporting this @giordifungula - this is a proper bug we should fix.
(And yes, we make the mistake with prisma.schema vs. schema.prisma all the time ourselves 😆)

This issue is invalid now as there were changes, and the behavior of a schema with a missing datasource is now completely different:
C:\Users\Jan\Documents\throwaway\7343>cat prisma/schema.prisma
generator client {
  provider = "prisma-client-js"
}

model foo {
  id Int @id
}
C:\Users\Jan\Documents\throwaway\7343>npx prisma validate
Environment variables loaded from .env
Prisma schema loaded from prisma\schema.prisma
The schema at C:\Users\Jan\Documents\throwaway\7343\prisma\schema.prisma is valid 🚀

C:\Users\Jan\Documents\throwaway\7343>npx prisma format
Environment variables loaded from .env
Prisma schema loaded from prisma\schema.prisma
Formatted C:\Users\Jan\Documents\throwaway\7343\prisma\schema.prisma in 128ms 🚀

C:\Users\Jan\Documents\throwaway\7343>npx prisma generate
Environment variables loaded from .env
Prisma schema loaded from prisma\schema.prisma
Error:
You don't have any datasource defined in your schema.prisma.
You can define a datasource like this:

datasource db {
  provider = "postgresql"
  url      = env("DB_URL")
}

More information in our documentation:
https://pris.ly/d/prisma-schema

C:\Users\Jan\Documents\throwaway\7343>npx prisma db push
Environment variables loaded from .env
Prisma schema loaded from prisma\schema.prisma
Error: Cannot read property 'url' of undefined

C:\Users\Jan\Documents\throwaway\7343>npx prisma migrate dev
Environment variables loaded from .env
Prisma schema loaded from prisma\schema.prisma
Error: Cannot read property 'url' of undefined

Remaining problem tracked in https://github.com/prisma/prisma/issues/7186


Log in issues, Password recovery, Log out issues

In order of issues:

My log in credentials no longer work, even though I'm certain that they are correct.

There is no button for password recovery, ostensibly because there is no contact information is required to have an account. This is frustrating, and a feature should be added so that ones documents are not lost.

There is no button to Log Out, and so two users cannot share a single computer. This is frustrating because my husband and I both DM, and we play in the others campaigns and need to keep our home-brewed information separate.

I'm having the exact same issue as far as the first part.

I had a lot of Home-brews but now i'm having the same problem with my login credentials no longer working

Workaround for logout: clear cookies for the naturalcrit.com domain and refresh the page.
There is also a logout link at the bottom of https://www.naturalcrit.com/login, though I haven't tested it. Note: At the time I wrote this comment, naturalcrit.com had an invalid SSL certificate. Your browser may report a privacy error when you visit naturalcrit.com.
Also note: Session management issues are actually issues with the "parent" webapp, stolksdorf/naturalcrit, not naturalcrit/homebrewery.
The developer has said that they will not be adding a recovery option.

Closing since there hasn't been a reply from the user for a while and it is assumed the problem was solved.
If you are still experiencing this issue, feel free to reopen and provide information, @ValorsLady

Closing since there hasn't been a reply from the user for a while and it is assumed the problem was solved.
If you are still experiencing this issue, feel free to reopen and provide information, @ValorsLady


Delete point bug (in new UI)

How to reproduce:

right-click the point
a button for deleting appears
do not delete the point
right-click on another point
a button for deleting appears
click delete point
the first point was deleted, although the last point had to be deleted

@TOsmanov , please check if it is fixed.

@nmanovic , problem resolved


Camb dark energy model

I included an option to choose which type of dark energy you want when using camb. It defaults to "fluid", now one can easily set it to "ppf".
I simply set "self._params.DE_model_camb = DE_model_camb" because I was having a difficult time with the C files.

Pull Request Test Coverage Report for Build 578978207

6 of 9 (66.67%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.07%) to 96.669%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pyccl/boltzmann.py
2
3
66.67%

pyccl/core.py
4
6
66.67%

Totals

Change from base Build 569152478:
-0.07%

Covered Lines:
3686

Relevant Lines:
3813

💛  - Coveralls

@tilmantroester would your PR (#854) be indirectly addressing this? We want to avoid having too many different ways of doing the same thing

Yes, in the sense that the dark energy model could be specified in extra_parameters["camb"].

@tilmantroester I could do that, if you wouldn't mind.

@tilmantroester I added a test to check for a w crossing -1, if ppf is not selected as the dark energy model.

@tilmantroester could you have a look? looks like Tassia may have added the most recent check you asked about

Looks good to me!


Data blobs seem to be missing, aborting prune to prevent further data loss!

restic 0.11.0 compiled with go1.15.3 on darwin/amd64
restic prune
repository a9fd47a9 opened successfully, password is correct
counting files in repo
building new index for repo
[14:34] 100.00%  172118 / 172118 packs
repository contains 172118 packs (1537447 blobs) with 793.815 GiB
processed 1537447 blobs: 0 duplicate blobs, 0 B duplicate
load all snapshots
find data that is still in use for 112 snapshots
[0:19] 100.00%  112 / 112 snapshots
Fatal: [<data/a08568fc> <data/69d69781> <data/ae3a1fc6> <data/5f9fd49a> <data/a5359e9b> <data/d0dd7591> <data/d6a534ad>] not found in the new index
Data blobs seem to be missing, aborting prune to prevent further data loss!
Please report this error (along with the output of the 'prune' run) at
https://github.com/restic/restic/issues/new/choose

Close... dupllicate, sorry.

Close... dupllicate, sorry.

Close... dupllicate, sorry.

I'm not so sure about that. At least not until we had a chance to investigate the exact damage. But for that I need a bit more information:
Did you notice any errors reported in prior restic runs or did something unexpected happen? Maybe an interrupted network connection or a did the host go into standby while restic was running?
How often do you run backup, check and/or prune?
Which backend are you using? Is the repository used by multiple hosts or just a single host?
Do you use the unlock command or is it called automatically from your backup scripts?
Please run also run check to get more details on the damage.
Did you run any commands previously to try to repair the damage? I'm especially interested in whether you ran rebuild-index. If the answer is no, then please create a backup of the repository index (the index/ folder in the repository).
Please do NOT run rebuild index before you have created a backup of the repository index.

Close... dupllicate, sorry.

I'm not so sure about that. At least not until we had a chance to investigate the exact damage. But for that I need a bit more information:
Did you notice any errors reported in prior restic runs or did something unexpected happen? Maybe an interrupted network connection or a did the host go into standby while restic was running?
How often do you run backup, check and/or prune?
Which backend are you using? Is the repository used by multiple hosts or just a single host?
Do you use the unlock command or is it called automatically from your backup scripts?
Please run also run check to get more details on the damage.
Did you run any commands previously to try to repair the damage? I'm especially interested in whether you ran rebuild-index. If the answer is no, then please create a backup of the repository index (the index/ folder in the repository).
Please do NOT run rebuild index before you have created a backup of the repository index.

Hi,
Normally, I'm using rest-server on a backup server and restic on the clients. I've used 'unlock' multiple times, caused by a lost vpn connection and "hanging" backup process. Backup two times a week, Windows/Linux/Mac Desktop/Servers but only relevant data no OS system specific ones.
After index rebuild, check returns this:
➜  root@backup  /Backups/restic restic -v check -r .
using temporary cache in /tmp/restic-check-cache-534078941
repository a9fd47a9 opened successfully, password is correct
created new cache in /tmp/restic-check-cache-534078941
create exclusive lock for repository
load indexes
check all packs
check snapshots, trees and blobs
error for tree 26f610f3:
tree 26f610f3: file "ARTIKEL.DBF" blob a5359e9be1732cd0b4a617d7f88cb651a7c04306082d93c6caf5b55e5a8d393d not found in index
tree 26f610f3: file "ARTIKEL.DBF" blob 69d69781bee3fc5abfddc52ac81830807f774455fc0ca446045da9d09fb4d26a not found in index
tree 26f610f3: file "KUNDEN.DBF" blob ae3a1fc669e9e3df6656ddbdbda63f824853892e389c0fe36d8f8c0e7342d5fe not found in index
tree 26f610f3: file "KUNDEN.DBF" blob 5f9fd49a8700ac74d1ebaf0bc5857db697a75cc88c08255a1feacda5b5aa54fb not found in index
tree 26f610f3: file "KUNDEN.DBF" blob a08568fc2dd32e7332ccd040af655a6b396d5ec8b4af498ef5bb97c68957778e not found in index
tree 26f610f3: file "MEINHEIT.DBF" blob d0dd7591c497eec8c73e0befe4d75ddc1df45e53bab5c3e7daf8191ce31e6de3 not found in index
tree 26f610f3: file "MEINHEIT.DBF" blob d6a534ad8a2b2ede4135370828ff5e33283597240939174d51a9c450263e3712 not found in index
Fatal: repository contains errors
Seems to be one damaged snapshot.
I'l try to delete that one....

Hi,
Normally, I'm using rest-server on a backup server and restic on the clients. I've used 'unlock' multiple times, caused by a lost vpn connection and "hanging" backup process. Backup two times a week, Windows/Linux/Mac Desktop/Servers but only relevant data no OS system specific ones.
After index rebuild, check returns this:
➜  root@backup  /Backups/restic restic -v check -r .
using temporary cache in /tmp/restic-check-cache-534078941
repository a9fd47a9 opened successfully, password is correct
created new cache in /tmp/restic-check-cache-534078941
create exclusive lock for repository
load indexes
check all packs
check snapshots, trees and blobs
error for tree 26f610f3:
tree 26f610f3: file "ARTIKEL.DBF" blob a5359e9be1732cd0b4a617d7f88cb651a7c04306082d93c6caf5b55e5a8d393d not found in index
tree 26f610f3: file "ARTIKEL.DBF" blob 69d69781bee3fc5abfddc52ac81830807f774455fc0ca446045da9d09fb4d26a not found in index
tree 26f610f3: file "KUNDEN.DBF" blob ae3a1fc669e9e3df6656ddbdbda63f824853892e389c0fe36d8f8c0e7342d5fe not found in index
tree 26f610f3: file "KUNDEN.DBF" blob 5f9fd49a8700ac74d1ebaf0bc5857db697a75cc88c08255a1feacda5b5aa54fb not found in index
tree 26f610f3: file "KUNDEN.DBF" blob a08568fc2dd32e7332ccd040af655a6b396d5ec8b4af498ef5bb97c68957778e not found in index
tree 26f610f3: file "MEINHEIT.DBF" blob d0dd7591c497eec8c73e0befe4d75ddc1df45e53bab5c3e7daf8191ce31e6de3 not found in index
tree 26f610f3: file "MEINHEIT.DBF" blob d6a534ad8a2b2ede4135370828ff5e33283597240939174d51a9c450263e3712 not found in index
Fatal: repository contains errors
Seems to be one damaged snapshot.
I'l try to delete that one....

➜  root@backup  /Backups/restic restic find --blob a5359e9be1732cd0b4a617d7f88cb651a7c04306082d93c6caf5b55e5a8d393d -r .
repository a9fd47a9 opened successfully, password is correct
Found blob a5359e9be1732cd0b4a617d7f88cb651a7c04306082d93c6caf5b55e5a8d393d
... in file /ARTIKEL.DBF
(tree 26f610f3b3fdfdae16f73b75f85c134768115e00d4a4f86aa8b66be556522750)
... in snapshot c7eb6792 (2020-10-10 12:28:46)
Found blob a5359e9be1732cd0b4a617d7f88cb651a7c04306082d93c6caf5b55e5a8d393d
... in file /ARTIKEL.DBF
(tree 26f610f3b3fdfdae16f73b75f85c134768115e00d4a4f86aa8b66be556522750)
... in snapshot 8b80c67e (2020-10-10 12:12:48)
➜  root@backup  /Backups/restic restic forget c7eb6792 8b80c67e -r .
repository a9fd47a9 opened successfully, password is correct
[0:00] 100.00%  2 / 2 files deleted
➜  root@backup  /Backups/restic restic prune -r .
repository a9fd47a9 opened successfully, password is correct
loading indexes...
loading all snapshots...
finding data that is still in use for 110 snapshots
[0:19] 100.00%  110 / 110 snapshots
searching used packs...
collecting packs for deletion and repacking
[0:00] 100.00%  172118 / 172118 packs processed
to repack:            0 blobs / 0 B
this removes          0 blobs / 0 B
to delete:         1057 blobs / 2.816 GiB
total prune:       1057 blobs / 2.816 GiB
remaining:      1536390 blobs / 790.940 GiB
unused size after prune: 302.326 MiB (0.04% of remaining size)
rebuilding index
[0:04] 100.00%  171641 / 171641 packs processed
deleting obsolete index files
[0:00] 100.00%  58 / 58 files deleted
removing 477 old packs
[0:01] 100.00%  477 / 477 files deleted
done
➜  root@backup  /Backups/restic restic check -r .
using temporary cache in /tmp/restic-check-cache-306170146
repository a9fd47a9 opened successfully, password is correct
created new cache in /tmp/restic-check-cache-306170146
create exclusive lock for repository
load indexes
check all packs
check snapshots, trees and blobs
no errors were found

➜  root@backup  /Backups/restic restic find --blob a5359e9be1732cd0b4a617d7f88cb651a7c04306082d93c6caf5b55e5a8d393d -r .
repository a9fd47a9 opened successfully, password is correct
Found blob a5359e9be1732cd0b4a617d7f88cb651a7c04306082d93c6caf5b55e5a8d393d
... in file /ARTIKEL.DBF
(tree 26f610f3b3fdfdae16f73b75f85c134768115e00d4a4f86aa8b66be556522750)
... in snapshot c7eb6792 (2020-10-10 12:28:46)
Found blob a5359e9be1732cd0b4a617d7f88cb651a7c04306082d93c6caf5b55e5a8d393d
... in file /ARTIKEL.DBF
(tree 26f610f3b3fdfdae16f73b75f85c134768115e00d4a4f86aa8b66be556522750)
... in snapshot 8b80c67e (2020-10-10 12:12:48)
➜  root@backup  /Backups/restic restic forget c7eb6792 8b80c67e -r .
repository a9fd47a9 opened successfully, password is correct
[0:00] 100.00%  2 / 2 files deleted
➜  root@backup  /Backups/restic restic prune -r .
repository a9fd47a9 opened successfully, password is correct
loading indexes...
loading all snapshots...
finding data that is still in use for 110 snapshots
[0:19] 100.00%  110 / 110 snapshots
searching used packs...
collecting packs for deletion and repacking
[0:00] 100.00%  172118 / 172118 packs processed
to repack:            0 blobs / 0 B
this removes          0 blobs / 0 B
to delete:         1057 blobs / 2.816 GiB
total prune:       1057 blobs / 2.816 GiB
remaining:      1536390 blobs / 790.940 GiB
unused size after prune: 302.326 MiB (0.04% of remaining size)
rebuilding index
[0:04] 100.00%  171641 / 171641 packs processed
deleting obsolete index files
[0:00] 100.00%  58 / 58 files deleted
removing 477 old packs
[0:01] 100.00%  477 / 477 files deleted
done
➜  root@backup  /Backups/restic restic check -r .
using temporary cache in /tmp/restic-check-cache-306170146
repository a9fd47a9 opened successfully, password is correct
created new cache in /tmp/restic-check-cache-306170146
create exclusive lock for repository
load indexes
check all packs
check snapshots, trees and blobs
no errors were found

@RaffiOl Which parameters do you pass to the rest-server binary when running it on the server? I'd assume you're not using --append-only?
Could you check whether the following files exist in the repository on the server: data/74/74916b642ecc9a7eaa8e48420dfcce854e0f57a1c12a854c2da2803069a8e1f7, data/aa/aaebf230fc573dcda78a384937b4d4625a45cbc8731f39b27690911e701644c2 and data/20/2083b8bc2e57cdd8d5c9b8fa3d7e3039844a1fd629377c1615952fb6e5f256c9?

@RaffiOl Which parameters do you pass to the rest-server binary when running it on the server? I'd assume you're not using --append-only?
Could you check whether the following files exist in the repository on the server: data/74/74916b642ecc9a7eaa8e48420dfcce854e0f57a1c12a854c2da2803069a8e1f7, data/aa/aaebf230fc573dcda78a384937b4d4625a45cbc8731f39b27690911e701644c2 and data/20/2083b8bc2e57cdd8d5c9b8fa3d7e3039844a1fd629377c1615952fb6e5f256c9?

Good Morning,
rest-server is started with: "./rest-server --path /Backups/restic --no-auth", Version: rest-server 0.10.0 (v0.10.0-12-ga659f3d) compiled with go1.13.8 on linux/amd6

data/74/74916b642ecc9a7eaa8e48420dfcce854e0f57a1c12a854c2da2803069a8e1f7,
data/aa/aaebf230fc573dcda78a384937b4d4625a45cbc8731f39b27690911e701644c2 and
data/20/2083b8bc2e57cdd8d5c9b8fa3d7e3039844a1fd629377c1615952fb6e5f256c9?

Theses files are missing.

Good Morning,
rest-server is started with: "./rest-server --path /Backups/restic --no-auth", Version: rest-server 0.10.0 (v0.10.0-12-ga659f3d) compiled with go1.13.8 on linux/amd6

data/74/74916b642ecc9a7eaa8e48420dfcce854e0f57a1c12a854c2da2803069a8e1f7,
data/aa/aaebf230fc573dcda78a384937b4d4625a45cbc8731f39b27690911e701644c2 and
data/20/2083b8bc2e57cdd8d5c9b8fa3d7e3039844a1fd629377c1615952fb6e5f256c9?

Theses files are missing.

@RaffiOl The 403 Forbidden (403) error looks like the rest server didn't notice immediately that the network connection had failed. That could lead to a race condition with the retried uploads that would explain the missing files. I've opened a PR for the rest-server which fixes that scenario: https://github.com/restic/rest-server/pull/142

@RaffiOl The 403 Forbidden (403) error looks like the rest server didn't notice immediately that the network connection had failed. That could lead to a race condition with the retried uploads that would explain the missing files. I've opened a PR for the rest-server which fixes that scenario: https://github.com/restic/rest-server/pull/142

Good Evening,
thanks a lot and have a nice day.....

Good Evening,
thanks a lot and have a nice day.....

Is this race condition prevented by users who run rest-server with --append-only? Won't the retry fail in deleting the partial packfile?

Is this race condition prevented by users who run rest-server with --append-only? Won't the retry fail in deleting the partial packfile?

@ymarcus93

Is this race condition prevented by users who run rest-server with --append-only? Won't the retry fail in deleting the partial packfile?

It is indeed. With --append-only the delete operation and all further upload retries will fail until the rest-server also learns that the initial upload has failed. So either the broken connection is detected before restic runs out of retries or the backup as a whole will fail.   The only exception here are the lock file which can still be deleted when --append-only is set. However, as the lock files are pretty small, the risk of an interrupted first upload try is rather low.
My rest-server PR will also improve the situation here as an incomplete upload won't block further retries.

@ymarcus93

Is this race condition prevented by users who run rest-server with --append-only? Won't the retry fail in deleting the partial packfile?

It is indeed. With --append-only the delete operation and all further upload retries will fail until the rest-server also learns that the initial upload has failed. So either the broken connection is detected before restic runs out of retries or the backup as a whole will fail.   The only exception here are the lock file which can still be deleted when --append-only is set. However, as the lock files are pretty small, the risk of an interrupted first upload try is rather low.
My rest-server PR will also improve the situation here as an incomplete upload won't block further retries.

Closing as restic/rest-server#142 has been merged (although its not released yet)


Jaeger build is broken

# go.opencensus.io/exporter/jaeger/internal/gen-go/jaeger
internal/gen-go/jaeger/jaeger.go:2146:13: not enough arguments in call to oprot.Flush
	have ()
	want (context.Context)
internal/gen-go/jaeger/jaeger.go:2163:14: not enough arguments in call to oprot.Flush
	have ()
	want (context.Context)
internal/gen-go/jaeger/jaeger.go:2176:14: not enough arguments in call to oprot.Flush
	have ()
	want (context.Context)
internal/gen-go/jaeger/jaeger.go:2190:23: not enough arguments in call to oprot.Flush
	have ()
	want (context.Context)

this is due to thrift changing its API
Similar issue: https://github.com/go-kit/kit/issues/677 and pull request: https://github.com/go-kit/kit/pull/678

Am I supposed to instead target thrift's master branch to get this to work? If so why did you unpin from their stable release?

In Go, it is illegal for libraries to pin to a version and vendor it at this point. We don't vendor libraries and cannot vendor them because go tool fails to handle library vendored version of a dependency vs application binary vendored dependency.
We can use dep to pin our dependencies but the library is going to misbehave for anyone who is not using dep.
I will think about how we can handle this issue. We probably can just vendor thrift because it is internally used by the jaeger package.

This is a heated debate in the Go community :)
I really like the fact that Go tries to encourage no vendoring/no versions, because with the right amount of care it allows greater velocity. Unfortunately, I believe most open-source projects/libraries currently don't care enough about API stability and backwards-compatibility on their master branch, so the "no vendoring" concept makes life quite painful...
It probably works well internally to Google or organisations with a high level of code quality, but most open-source Go projects I've seen end up using a vendoring mechanism like glide, dep or vgo (and I currently do too).
But I totally understand why you currently don't vendor, especially since vgo hasn't shipped yet and dep isn't the official recommendation anymore. It's not an issue for me (and others) to point to the master branch, and I hope my comment here will help unblock other dep users who see the build fail in their project.

(blatant ad here) Alternatively, you can sync to my smallrepo service:
https://smallrepo.com/
We maintain a monorepo (of a collections of repos) that is always buildable, and will block (and fix) these kind of backward incompatible changes for you.


update sha.js to 2.3.2

this uses the changes from https://github.com/dominictarr/sha.js/pull/17
(mostly cleaning up code, and with a small perf increase on small inputs)

ACK, but maybe wait for https://github.com/dominictarr/sha.js/pull/18 ?

yup

done.

3.9.3


Cloudfront cache cookie

** Please describe which feature you have a question about? **
Hello,
Is there a way to configure Cloudfront cache cookie to ignore or whitelist ? Some cookies, like Google Analytics, generate new cookie value after each page loaded. The problem is, without cookie cache control, each request is cache-ignored and send to the S3 origin, so cloudfront cache is ineffective in this case.
** Provide additional details**
Example with cUrl with an arbitrary cookie:

Hi @jenjen75, for better Cloudfront cache performance, you can add custom header, please refer to this doc: https://docs.aws.amazon.com/amplify/latest/userguide/ttl.html


Add missing StSlot for non-temp registers for JITLoopBody

In JITLoopBody, we gnerate StSlot for the last instruction we imported from given bytecode instruction. This works fine when one bytecode instruction is mapped to one IR instruction. But in some cases, one bytecode instruction (NewConcatStrMulti) could be converted to multiple IR instructions (Conv_primStr/NewConcatStrMulti/SetConcatStrMultiItem), then we only check the very last IR instruction to generate StSlot and miss it for previous instructions.
This fix keeps the last processed IR instruction and processes all the IR instructions after that in backward order.

@LouisLaf @rajatd please help review.

:shipit:


Unable to check schema validity when importing existing schemas

What happened?
When trying to import an existing aiven_kafka_schema the schema fails with:
Error: unable to check schema validity: 404: {"errors":[{"message":"Version 1 not found.","status":404}],"message":"Version 1 not found."} -

Tried with 10 different schemas, message always the same, the only thing that changes is the version number that isn't found. When checking on Aiven console, this version number is always the last version available.
What did you expect to happen?
Schema validation would pass, or if it is actually invalid a more indicative message of what to do.
What else do we need to know?
Using provider version 4.21.0

This was my bad. The subject name in the resource destination had a hard to find typo.


Fixes display of configFiles entries in parameter summary text

addresses issue in https://github.com/nextflow-io/nf-schema/issues/75

Simplified operations
def a = [1, 2, 3]

def String b = a
def c = b.join(', ')

def d = a.join(', ')

println "a ${a}"
println "b ${b}"
println "c ${c}"
println "d ${d}"

Output
a [1, 2, 3]
b [1, 2, 3]
c
d 1, 2, 3

It seems like this broke some things in the plugin, can you take a look at it? (You can run make test to run the tests locally)

Thanks for pointing that out! I've updated the fix and tests are now passing, and I confirmed the change causes config files to be shown in the parameter summary as expected after executing make install and then running example given in the corresponding issue.

------------------------------------------------------
                                        ,--./,-.
        ___     __   __   __   ___     /,-._.--~'
  |\ | |__  __ /  ` /  \ |__) |__         }  {
  | \| |       \__, \__/ |  \ |___     \`-._,-`-,
                                        `._,._,'
  nf-core/configfilesdebug 1.0.0dev
------------------------------------------------------
Input/output options
  input      : assets/samplesheet.csv
  outdir     : output/

Core Nextflow options
  runName    : sharp_brattain
  launchDir  : /Users/stephen/temp/delete/configfiles-debug
  workDir    : /Users/stephen/temp/delete/configfiles-debug/work
  projectDir : /Users/stephen/temp/delete/configfiles-debug
  userName   : stephen
  profile    : standard
  configFiles: /Users/stephen/temp/delete/configfiles-debug/nextflow.config, /Users/stephen/temp/delete/configfiles-debug/first.config, /Users/stephen/temp/delete/configfiles-debug/second.config

!! Only displaying parameters that differ from the pipeline defaults !!
------------------------------------------------------

Awesome, can you also update the changelog? Next version should be v2.3.0

Done, and appreciate all the patience!


Add shuffle option to chainermn.scatter_dataset

Could you also add shuffle=True to examples?

Could you also add shuffle=True to ImageNet example?

I added shuffle=True to the imagenet example.
(Only to train data, not test data. Is it OK?)

LGTM! I will merge after travis tests are passed.


Bug in console/shell-session lexer

(Original issue 1344 created by None on 2017-04-11T19:54:16.089137+00:00)
With a certain multi-line input, pygments doesn't seem to be able to do the highlighting properly.
Here is the example that I can't seem to understand. First I'm using "echo" to give the text to highlight to pygmentize. The output is as expected.
% echo "shell$ date\nTue Apr  4 14:09:08 PDT 2017\nshell$" | pygmentize -l console -f html

shell$ date
Tue Apr  4 14:09:08 PDT 2017
shell$

Now, I'm using a file that I'm cat'ing to pygmentize. The output is wrong. I don't get why...
% cat test
sshell$ date
Tue Apr  4 14:09:08 PDT 2017
sshell$
% cat test | pygmentize -l console -f html

sshell$ date
Tue Apr  4 14:09:08 PDT 2017
sshell$

Any idea?

I can't reproduce this. When I echo the same way you do, I get literal \n which are missing in the test file you have.


Acrolinx quality improvements: Multi-factor-authentication-and-extern…

…al-auth-providers-customization.md

#assign: @robinharwood, @Xelu86
Can you review the proposed changes?
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Thanks @gswashington, minor updates made, merging now.


Delete Scores for Levels that were published when they were drafts

We can determine this by comparing the timestamp of when the score was published, and if it's less than the "Last Updated" date of the level, then it can be deleted.
Gonna do it with a script because it'd be a lot of work to manually track down all these scores

We can determine this by comparing the timestamp of when the score was published, and if it's less than the "Last Updated" date of the level, then it can be deleted.

@yanniboi this should be accurate, right? Because we do a PUT on the level to make it PUBLISHED rather than DRAFT. And when we do a PUT, we update the LAST_UPDATED timestamp. Or were you thinking about a different approach?
The only thing is: a level could be updated for a reason other than being published? Except, I figure we should make all prior scores moot at that point anyway? Unless is was simply metadata like the "Level Name"

This is my approach.
Load all levels and load all the scores.
Loop over all the scores and check the level data. If the level is not published, delete the score. If the level is published but the score date is smaller than the level updated date, delete the score.
Getting published is the last change that happens to a level. After that the updated time shouldn't change. So any score that was created prior to publishing should not exist.

Any updates that could be made after publishing would be done by admin through the UI and wouldn't change the updatedDate

Sounds good, I will make a script that:
# Fetch every level

# For each level, get all scores

 # For each score:
    # If the level is DRAFT, delete the score
    # If `score.scoreSubmittedAt` < `leveel.levelUpdatedAt`, delete the score

Plan

[ ] Dry run in develop and verify and save the output
[ ] Run in develop and verify

[ ] Verify that not all scores are deleted
[ ] Verify at least one of the levels with expected scores to be deleted and scores that should not have been deleted and make sure that the appropriate scores were deleted

[ ] Dry run in production and verify and save the output
[ ] Run in production

[ ] Verify that not all scores are deleted
[ ] Verify at least one of the levels with expected scores to be deleted and scores that should not have been deleted and make sure that the appropriate scores were deleted


Removed the Introduction heading from DNS for Services and Pods page

Fix: #37380

(nit)
/retitle Remove the Introduction heading from DNS for Services and Pods page