Discuss whether AWS SDK needs to be bundled

In the line with #29
RUN apk add --no-cache \
        python3 \
        py3-pip \
    && pip3 install --upgrade pip \
    && pip3 install \
        awscli \
    && rm -rf /var/cache/apk/*

@skaffille
Thank you for opening this issue.
Could you explain why AWS SDK will be needed, like how it is used in k8sviz for which purpose?

You could work around this by creating a kube service account and generating a kubeconfig file that has the embedded token for authn in the file then passing it to the script as your kubeconfig file. I'm planning on trying this now.

@2tim
Thank you for your explanation. I didn't know this use case and very good to know it.
I understand the documents for them are as follows:

I bumped into this myself using the AWS auth method for EKS. Its a specific use case where proxies the user identity call through the aws cli.

https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html

You could work around this by creating a kube service account and generating a kubeconfig file that has the embedded token for authn in the file then passing it to the script as your kubeconfig file.

https://docs.aws.amazon.com/eks/latest/userguide/create-kubeconfig.html

I'm planning on trying this now.

Thank you very much for working on it. I will wait for your report.
Also, I will consider whether handling above use case directly will be good to go (I still need to understand the detail and need to check whether this kind of commands are allowed to be included in the container images and to be distributed publicly).

@skaffille @2tim
Created #44 to provide a way to include AWS SDK.
Could you give feedback if it would be of help (and test if the image built with the command works well, if possible)?

I am getting this error "Unable to locate credentials. You can configure credentials by running "aws configure".
Failed to get namespace "devops": Get "https://7*/devops": getting credentials: exec: executable aws failed with exit code 255", though i have passed aws credentials to the docker images

@Sreddy-gs Yes, Maybe something like below will be needed around here.
-v ~/.aws/config:/awsconfig:ro
-e AWS_CONFIG_FILE=/awsconfig

Could you try?

@mkimuram that worked :) thank you


Doubled packager for start:ios & start:android?

Hey team,
Every time I run either yarn start:android or yarn start:ios I get two packager launched:

The line being executed is: concurrently -r 'react-native start' 'react-native run-android'
It seems to me that react-native run-X starts its own packager, so we don't really need to concurrently react-native start
It's been the case since I started contributing on GitPoint, and since no one complained about so far, I'm wondering if you guys are also experiencing this, or if it's only affecting me.. 🤔

@machour No, I didn't meet. Everything is running in my unique cmd.

Same here hahaha I never understood why is set like that

@chinesedfan what do these commands give on your end?
🍺  ~/git-point (master)*$ which react-native
/usr/local/bin/react-native
🍺  ~/git-point (master)*$ react-native --version
react-native-cli: 2.0.1
react-native: 0.48.4
🍺  ~/git-point (master)*$ node --version
v8.5.0

Gotcha! Adding the --no-packager option to the run-android call fixes it for me 🕺
-    "start:android": "concurrently -r 'react-native start' 'react-native run-android'",
+    "start:android": "concurrently -r 'react-native start' 'react-native run-android --no-packager'",

@machour I don't think it has relationship with global react-native. My global react-native is linked to a strange place. Let's talk in gitter. :)
[zhong@localhost git-point]$ react-native --version
Looks like you installed react-native globally, maybe you meant react-native-cli?
To fix the issue, run:
npm uninstall -g react-native
npm install -g react-native-cli
[zhong@localhost git-point]$ ll `which react-native`
lrwxr-xr-x  1 zhong  admin  98  9  6 22:32 /usr/local/bin/react-native -> ../../../Users/zhong/.config/yarn/global/node_modules/react-native/local-cli/wrong-react-native.js

Dug into react-native start-android code to find out what's happening:
/**
 * Starts the app on a connected Android emulator or device.
 */
function runAndroid(argv, config, args) {
  if (!checkAndroid(args.root)) {
    console.log(chalk.red('Android project not found. Maybe run react-native android first?'));
    return;
  }

  if (!args.packager) {
    return buildAndRun(args);
  }

  return isPackagerRunning().then(result => {
    if (result === 'running') {
      console.log(chalk.bold('JS server already running.'));
    } else if (result === 'unrecognized') {
      console.warn(chalk.yellow('JS server not recognized, continuing with build...'));
    } else {
      // result == 'not_running'
      console.log(chalk.bold('Starting JS server...'));
      startServerInNewWindow();
    }
    return buildAndRun(args);
  });
}

isPackagerRunning() does a fetch('http://localhost:8081/status') and parses the .text() answer.
As we added more dependencies to GitPoint over time, the server starts up take more time than when our yarn script was originally written:
Scanning 1000 folders for symlinks in /Users/didou/git-point/node_modules (9ms)
This is why we end up having two packager running.
Voilà, all is clear now :)

@machour Please forgive me that I am still a little suspicious about it. Can you add a timeout in isPackagerRunning  and check again?

@chinesedfan no problems at all.
Added some console.log() statement in both files, here's what's happening:

As you can see, the fetch() completed quickly with "not_running", so runAndroid starts a new one. (the one it starts is opened in the white window). Immediately after this first test fails, the packager supposed to be started by "react-native start" is finally up & running, so the new packager fails.
If I add  for (var i = 0; i <<PHONE_NUMBER>0000; i++) {} in runAndroid before the isPackagerReady() test is executed, the double popup disappears. This is because by the time the fetch() is done, our first packager is already up and running.


Linted items missing from Problems pane

I'm trying to integrate eslint results into the Problems pane.  I've got a task set up that gives me partial results.  Specifically, I have 68 linting issues in the project as reported by eslint, but only ~50 of them show up when linked to vscode.
When the matcher tries to process the line, it fails to match because the line spit out by eslint is being broken half way.  It put some console.logs in to try and track it down, and see this:

problemMatcher.ts:342 LINES: ["C:\Users\redacted\Source\Repos\redacted-file-name.js: line 17,"]
problemMatcher.ts:342 LINES: ["col 8, Error - 'variableName' is defined but never used. (no-unused-vars)"]

The eslint-stylish logger had an even worse time getting items in.
===

VSCode Version: 1.18.1
OS Version: Microsoft Windows 10 Pro 10.0.16299 N/A Build 16299

Reproduces without extensions: Yes

I exported the linting results to a file and inspected the cited problem.  I thought that maybe eslint itself was throwing a newline in a weird place (between line and column).  This is not the case.  When viewed in Notepad++ with Show All Characters on, the only LFs in the file are at the end of each line.
Taking the contents of the file and pattern matching it against the regex defined for eslint-compact (via https://regex101.com/) results in all 68 items being matched.

@demoran23 can you provide a Github repository that demos the behaviour you are seeing with steps on how to reproduce.

@dbaeumer I've created a repository with basic lint error spam.
After generating 600 linting errors in a single file and failing to replicate the issue, I created a file with a few different linting errors and a script to copy it 100 times.  While the Problems pane doesn't let me know exactly how many linting errors it sees in total (and the status bar text simply says 99+), they all seem to be accounted for.
Of course, real life doesn't happen in such a sterile environment.  Something is going on where the terminal stream is being consumed haphazardly when my actual project is being linted - perhaps from the various imports we've got.  It is a react native codebase.  I think maybe the linter is slowing down in its processing and we're grabbing and using what we can when we can.

The pipe lint from the output over the terminal to the problem matcher is stream based. So we shouldn't loose anything. If the problem matcher is not fast enough to scan the output it will slow down the actual liniting process / terminal. But we will not drop lines.
However there are some tricks we do to signal lines to the problem matcher due to ansi escape sequences. For example if the same line is written over and over again only after a successful newline the line is reported. But to my knowledge eslint problem reporters do not make use of this.
Without being able to reproduce it is very hard to fix. Any possibility you can share the project that show the problem.

I haven't forgotten about this one.  I've been busy, but I intend to create a new React Native project that uses all of the same imports we use in our closed codebase and replicate the issue there.

Reopening the issue then.

I've updated the aforementioned repository with the dependencies and devDependencies of my actual project.
On my local machine, I couldn't get eslint compact to actually show compact results (it was showing stylish) - so I've changed the problem parser to stylish and removed the compact formatter from the lint script.
Oddly enough, nothing seems to be showing up in the problem pane now.


Plugin 'fir_cli' was not properly loaded, make sure to follow the plugin docs for troubleshooting

ci/cd

经常会失败，已经更新到了2.0.18,请问是环境配置问题吗


Updated the readme

Read me can be found below:
Code4Me
Code4Me provides automatic intelligent code completion based on large pre-trained language models. Code4Me predicts statement (line) completion and is available for both PyCharm (also other JetBrains IDEs) and Visual Studio Code. The code suggestions from Code4Me can be recognised by the logo in the suggestion menu. Code4Me automatically triggers (on specific trigger characters) or the user can prompt it manually by pressing the keybind. The keybind differs per IDE:

Jetbrains: ALT + SHIFT + K
VSC: CTRL + SPACE

Code4Me does not hinder native auto completion or other extensions.
Installation
The plugin is available on both marketplaces. You can download them by either clicking the link in your browser or looking up 'Code4Me' in the integrated marketplace of your IDE.
JetBrains
The Code4Me plugin can be found in the JetBrains Marketplace.
VSC
The Code4Me plugin can be found in the Visual Studio Code Marketplace.
Data Collection
The plugin works with a remote API in order to suggest autocompletions. After triggering the autocompletion (automatically or manually), the client's request is sent to the server. Running the ML-based model, the server returns a prediction in response to the client. The remote API requires a segment of the current document (close left context at the trigger point). This limited segment is sent to the backend server only for prediction and will not be stored on our server.
For the purpose of evaluating the models' predictions, we only store the suggestion made by the ML-based models at each trigger point and compare it against the accepted prediction by users (collected after 30 seconds).
The plugin does not collect personal data nor the segment sent. The plugin does collect the following data:

Suggest autocompletion.
Verification of the autocompletion.

The plugin tracks the line the code was inserted and sends that line to the server after 30 seconds.

Inference time of completion.

Furthermore, Code4Me is in full compliance with the GDPR and all data is anonymous. The data collected will remain on the servers of TU Delft until the end of the study. By using Code4Me you give permission for the data collection.
Source Code
The source code for the IDE plugins and the API webserver can be found at our GitHub repository.

nice 👍


"State Store endpoint is not responding" in PR build

This build run failed: https://github.com/microsoft/AzureTRE/runs/5639936288?check_suite_focus=true#step:3:346
State Store endpoint is not responding

make: *** [Makefile:274: bundle-register] Error 1
Warning: Template API check for workspace_service tre-service-guacamole returned http status: 404
Error: Process completed with exit code 2.

Re-running succeeded, so it may be a timing/dependency issue.

The theory is that the error in the description was because the API wasn't up and running. #1574 does nothing to address the cause of the API not running, but adds a check earlier in the process to make it easier to detect.
Since this will change the error, we could close this and open an issue if we encounter problems with the API not being ready?

Closing as this hasn't been seen for a while.


Actually use the CSS variables for the navbar-link color

Closes #339

Going to merge this to include in bug-fix release


Translations of Tutorials 10 and 16

@ZhouGeorge If you have the time in the future, it would also be nice to have Tutorials 10 and 16 translated into Chinese. Both of these should work in recent TensorFlow versions.
You can just push the translations yourself to this repo, you don't have to wait for me to review and merge them.

@Hvass-Labs I added the tutorial #10 and update part of the files in my repo ,but don't know how to merge to your repo. I don't  have received the right to write-access to this repo.

@ZhouGeorge I'm very sorry for the late reply! I was travelling without internet for several weeks. You were sent an invitation as a collaborator for this repo several months ago. If the e-mail is lost please try and click this link when you're logged in to Git-Hub, hopefully there's a button you can click there which will give you push access to this repo:
https://github.com/Hvass-Labs/TensorFlow-Tutorials-Chinese/invitations
Otherwise you can open a PR and I'll merge it when I have internet again as I'm still travelling :-)

@ZhouGeorge I see you translated Tutorial 10. Thanks very much for that! If you have the time, would it be possible for you to translate Tutorial 16 on Reinforcement Learning? It is an important tutorial that would be great to have in Chinese.


Render 'Numbered list' article content blocks as ordered lists

Fixes #616

"Numbered list" article content blocks display prefixed by numbers, not bullets

@falsefruit how does this look on the frontend. Do we need to add custom styles?

Surely, I've updated the PR with the change to questionnaire blocks. Screenshot of an example poll:


https://plus.google.com/up?pli=1

https://firebase.google.com/docs/hosting?hl=es-419
Publicado originalmente por @Enterprises-Gracida-Veracruz en https://github.com/gradle/gradle/issues/15355#issuecomment-735006292

There doesn't appear to be anything actionable in this issue.


(Feature) User should have his phone verified via sms

#163177065
After validating the mobile number, and before navigating to the SMS page, the app request an OTP send via /user/mobile endpoint.
To validate OTP code, /validate/mobile endpoint is used.
Send buttons uses the loading animation available by default with react-native-paper while the request is being processed.
Removed Next button.
Updated flow-typed libs.
Note: needs same branch on GoodServer to work.

@sirpy, changes done


Test-App could use a friendly message when trying to remove a subscription that does not exist

For the Test-App, When running the command to remove a subscription that does not exist it would be nice to have a friendlier message.
The current not found is confusing as it looks like an error has occurred.

Docs can review apps framework UI text for tone, consistency, and syntax. Where can Docs access the apps framework strings? Is there a string file available that includes all framework strings, or are strings within the framework code itself?

There are no string i18n files yet, unfortunately, but it's something we should work on.


Cannot import name 'KeycloakAdmin'

Hi,
I was starting to use testcontainers for mocking a keycloak auth server and I found that the keycloak  API has been changed, so that the line 16 in file keycloak.py
from keycloak import KeycloakAdmin

should be now
from keycloak.keycloak_admin import KeycloakAdmin

Thank you!!

Which version of python-keycloak are you using? Running python -c "from keycloak import KeycloakAdmin" works for me on the most recent version python-keycloak==2.8.0.

Sorry for that issue, I was using 2.7.0, now it's working. Closing issue.
Thanks!


Setuid bit on non-systemd systems in install script

Currently we just assume the user is using systemd, but if they are not we need to setuid the binary.
Would fix the issue in https://github.com/way-cooler/way-cooler/issues/351 from coming up again.
See the relevant line here

This has been fixed


Minor grammar changes

Some little things that may read slightly better. Just offering an alternative with these, critique away. :smile:

:tada:


Workspace number messes up after disabling and re-enabling a monitor on a dual screen setup

Running latest git master on Arch Linux.
I have a laptop with external monitor connected. I set the laptops display as ID0 and the external monitor as ID1.
Say I put a browser on monitor ID1 on workspace 1 and a terminal on monitor ID0 on workspace 2.
Everything works fine until I use hyprctl keyword monitor "eDP-1, disable" to disable the laptops display leaving the external active. Now things still work as expected until I re enable the laptop display with hyprctl keyword monitor "eDP-1, 1920x1080,1920x0,1" . Then the workspace on monitor ID1 becomes 3 for some reason and the workspace on monitor ID0 becomes 2 when I'd expect monitor ID1 to still be 2 or 1 but not 3. Hope that kind of makes sense ??? ;)
I have tried this with both eww bar and waybar and the outcome is the same. Even checking what workspace is on each monitor using hyprctl yeilds the same results.
Should also mention I have monitor 1 as the left display and monitor 0 as the right

I have the following in my config
monitor=eDP-1,1920x1080,1920x0,1
monitor=HDMI-A-1,1920x1080,0x0,1
workspace=HDMI-A-1,1

I can't test at the moment, please ping me after the 22nd if I don't follow up

No problems and thank you.

Have the pretty much same issue. Reconnected monitor have another ID what extremely annoying with per-screen workspaces. Here is my config:
monitor=DP-1,2560x1440@144,0x0,1
monitor=HDMI-A-1,preffered,320x1440,1

workspace=DP-1,1
workspace=HDMI-A-1,11

$activeMonitorId="$(hyprctl -j monitors | jq -r '.[] | select(.focused == true) | .id')"
bind = ALT, 1, execr, hyprctl dispatch workspace "$activeMonitorId"1
...

y'all here have top senses to ask me to test this exactly when I am on holiday

I also notice this when I disable eDP-1.
activewindow outputs as "Invalid" and activeworkspace outputs a random workspace that has no active windows.
I also have this set as default:
workspace = 1, default:true, monitor:DP-3

Bump. Still messed up?


v1.1 -> v2.0 Semantics refactor

Renames tests for clearer mappings between submodules
Addresses much of the conversation from #75

will break the current API, and needs some help signaling deprecations
Streamer.generate is now Streamer.iterate, since it returns an iterator
Streamertypes are now directly iterable
Mux semantics are simplified to remove the (now superfluous) seed concept, which were synonymous with streams; now there are only streamers and streams.
the notion of batch is scrubbed in all core functionality.

Will resolve: #64, #75, #76, #77, #78, #79, #81

@ejhumphrey Re: handling variable rename deprecations, here's how librosa does it.  Note that the current stable version has no lingering renames, but rolling back to 0.4.3 you can find some examples.

Check out the util.deprecation submodule
Here's an example of it in use: https://github.com/librosa/librosa/blob/446708889bf04438aaac7fe64aa738a09955bbf6/librosa/core/constantq.py#L327-L329
There's also some helpers in the util.decorators submodule for deprecating entire functions, or moving them to different submodules/renaming them.
Here's an example of move/rename behavior: https://github.com/librosa/librosa/blob/446708889bf04438aaac7fe64aa738a09955bbf6/librosa/core/audio.py#L692-L693
Here's an example of deprecated function behavior: https://github.com/librosa/librosa/blob/446708889bf04438aaac7fe64aa738a09955bbf6/librosa/feature/spectral.py#L1337-L1338

The futurepast package implements some of these things and more, but it's not yet at an initial release.

thanks @bmcfee, made it pretty far ... still have some work to do, but any advice / pointers will be helpful.

@ejhumphrey I don't have an example of @moveing a class method, because that gets a bit more involved. However, I think you don't necessarily want or need that here, since the call signature has changed as well.  I would just write a shim function to translate to the new API, and a custom warning message.

(I have made a first pass looking through this; I won't have time for another look until tomorrow, because work+taxes)

guh, I need to get the test coverage back up (idk what's up with that), but this is in a state where it's worth taking another look @bmcfee ... I think I did most of the deprecation stuff correctly, but do let me know if that's not the case (I have no doubt you will :o)

Alrighty, I think this PR is all buttoned up; tests pass, and fixed the drop in coverage. Just need signoff from y'all (@bmcfee & @cjacoby)

Apologies; I'm running around like crazy this week in preparation for flying to NYC tomorrow. If i don't get to it today (unlikely, honestly), I'll catch up on all this on the plane tomorrow.
If that's blocking you and you want to push ahead, either just do it or poke me "offline" and I'll bump it up in my queue.

alrighty, updated the examples, and added some slightly more meaningful benchmarking to the zmq_example, which burns cycles to prove that things are happening in the background.
LET'S DO THIS

couple comments here because this thread is getting insane.

versioning: what's our stance (this vs separate)?
docs: help would be great. also I dunno what I'm doing. so help would be really great.

Re: Versioning. I'm posting this here, too 'cause embedded is getting too crazy.
The CONTRIBUTING.md says:
Please keep branches as simple as possible: do not implement multiple features in the same branch, unless they are mutually dependent on one another. By the same token, please do not change unrelated portions of the repository (e.g., version numbers or changelog entries).
and by that, I'd say, separate PR for version update.
Re: Docs - let's start an Issue with a checklist?

(Once we have those two things, I think this PR is 👍

hey team, two things:

for clarity, you're saying create a docs issue and fix it in this PR? or create an issue and fix it elsewhere?
in parallel, I started updating a recent project to (what will be) pescador 1.1, and having some difficulties dealing with Mux, specifically, the Mux-of-Muxes case that remains a little bit suspicious, as far as I'm concerned. I'm still in the process of determining whether my current struggles are a result of poor initial design of data streams in that project, a fundamental issue with the Mux API, or some combination of both. Regardless, I don't want to merge this PR until I've got concrete answers about what the hell is going on.

Re: docs. I'm proposing it gets fixed in a separate PR. The items could get logged in that PR, or in an issue. But I'd start with an issue at least. If you write up an issue with all the components that changed such that they will affect the docs, I could take a stab at updating the docs to reflect the changes made in a PR.

Re: Muxes. This sounds like a good candidate for identifying via improved testing, ya?

@mcfee, can I trouble you for a ✅ ?

replaced by #88


Deploy in Share Host or Heroku

Dear,
Could you please advise if this code can be deployed in share host (python support) or heroku, please?
Since i tried with heroku but still get error
"Application error
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
heroku logs --tail"
Log:
2020-12-25T04:27:43.615927+00:00 app[api]: Release v3 created by user<EMAIL_ADDRESS>2020-12-25T04:27:57.000000+00:00 app[api]: Build succeeded
2020-12-25T04:28:01.540544+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=abc-copy-trade.herokuapp.com request_id=ffc42758-9c35-4021-be62-7b8d5c45260c fwd="<IP_ADDRESS>" dyno= connect= service= status=503 bytes= protocol=https
2020-12-25T04:28:02.810041+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=abc-copy-trade.herokuapp.com request_id=64c25745-d404-40fc-8fa3-96336d216edb fwd="<IP_ADDRESS>" dyno= connect= service= status=503 bytes= protocol=https
2020-12-25T04:28:16.329642+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=abc-copy-trade.herokuapp.com request_id=458cd8dd-6070-48f1-a07c-7d038e279d6e fwd="<IP_ADDRESS>" dyno= connect= service= status=503 bytes= protocol=https
2020-12-25T04:29:35.066784+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=abc-copy-trade.herokuapp.com request_id=45ba567d-bb4f-4933-bc8c-028ff3a22f2a fwd="<IP_ADDRESS>" dyno= connect= service= status=503 bytes= protocol=https
2020-12-25T04:29:35.463267+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=abc-copy-trade.herokuapp.com request_id=790dee78-0ba6-459c-b9e1-eda110c2a167 fwd="<IP_ADDRESS>" dyno= connect= service= status=503 bytes= protocol=https
2020-12-25T04:35:09.717328+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=abc-copy-trade.herokuapp.com request_id=ec4443c2-90c0-46bf-8c2e-966694f8d4ae fwd="<IP_ADDRESS>" dyno= connect= service= status=503 bytes= protocol=https
2020-12-25T04:35:10.493165+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=abc-copy-trade.herokuapp.com request_id=eab5130c-8289-4906-b380-6d7e1c852fb8 fwd="<IP_ADDRESS>" dyno= connect= service= status=503 bytes= protocol=https
Appreciate your help to give me a hint how to deploy it in web rather than local host (any share host or heroku, please), thank you very much for great code.
Regards,

Sorry, I can't say anything about hosting. I used vps for deploying this app in web.

Noted, thanks Mokolotron

Dear all,
I am also really interested in deploying the code in sharing hosting, however, I still stuck and it say error message "500 unable to connect to the server". I really appreciate if anyone can share any hint on deploying this code in sharing hosting.
Thank you very much.

Dear all,
I am also really interested in deploying the code in sharing hosting, however, I still stuck and it say error message "500 unable to connect to the server". I really appreciate if anyone can share any hint on deploying this code in sharing hosting.
Thank you very much.

Hi Dear all,
Appreciate if any one has successfully deployed this script in Shared Host can give me a hint, please.
Thanks you very much.


Possible backward incompatibility

If I try to import this dataset with python client 2.4.0 I get the following error:
ValueError: Not valid 'uuid' or 'uuid' can not be extracted from value

However, if I downgrade to the client version specified in the requirements.txt (2.0.2), the import works fine.
I don't now if this is an issue with the client or with the repository. Thanks for investigationg.

The error is caused by the Batcher.add_references method. With weaviate v2.3.0 (I think) the Batcher.add_references arguments were permuted to match the same sequence as the ReferenceBatchRequest.add. The DEMO-NewPapers used unnamed arguments for the Batcher.add_references and with the new argument sequence it failed. I fixed the Demo by making the method calls with named arguments.


Error in doom emacs core

What did you expect to happen?
This happened when I tried to do doom upgrade after a while.
What actually happened?
> Executing 'doom doctor' with Emacs 27.1 at 2021-09-17 10:06:01
  The doctor will see you now...

  > Checking your Emacs version...
  > Checking for Doom's prerequisites...
  > Checking for Emacs config conflicts...
  > Checking for great Emacs features...
  > Checking for private config conflicts...
  > Checking for stale elc files...
  > Checking for problematic git global settings...
  > Checking Doom Emacs...
    x There was an unexpected error
      Message: Error in Doom Emacs core
      Data: (doom-error . "The installed version of Doom has changed since last 'doom sync' ran")
      Backtrace:
        (signal doom-error ("The installed version of Doom has changed since last
        (byte-code \306\232\204\n\307\310\311\312D\"\210\313\314\315\31
        (load "/home/sbac/.emacs.d/.local/autoloads.27.1" nil nomessage)
        (condition-case e (load (string-remove-suffix ".el" doom-autoloads-file) n
        (progn (setq doom-init-p t) (if doom-debug-p (progn (let ((inhibit-message
        (if (or force-p (not doom-init-p)) (progn (setq doom-init-p t) (if doom-de
        (doom-initialize force)
        (let ((doom-interactive-p 'doctor)) (doom-initialize 'force) (doom-initial
        (let ((doom-output-indent (+ doom-output-indent-increment doom-output-inde
        (condition-case ex (let ((doom-output-indent (+ doom-output-indent-increme
    ! Extended backtrace logged to .emacs.d/.local/doom.error.log

Describe your attempts to resolve the issue
No response
Steps to reproduce
Open Emacs
System Information
https://pastebin.com/tgemKLDD

Does doom sync fix it?

No. It gives this error:
❯ doom sync
> Executing 'doom sync' with Emacs 27.1 at 2021-09-17 10:24:31
  > Synchronizing your config with Doom Emacs...
    > Regenerating envvars file at "~/.emacs.d/.local/env"
      ✓ Successfully generated "~/.emacs.d/.local/env"
    > Installing packages...
      > Updating recipe repos...
        x There was an unexpected error
          Message: Symbol's function definition is void
          Data: (void-function . straight--process-buffer)
          Backtrace:
            (straight--process-buffer)
            (let* ((buffer (straight--process-buffer)) (start (save-current-buffer (se
            (let ((alist (let* ((buffer (stra")) (ref (straight-vc-get-commit typcurre
            (let* ((--cl-rest-- (append (list :recipe recipe) recipe)) (recipe (car (c
            (while --dolist-tail-- (setq recipe (car --dolist-tail--)) (let* ((--cl-re
            (let ((--dolist-tail-- recipes) recipe) (while --dolist-tail-- (setq recip
            (let* ((recipes (delq nil (mapcar (doom-rpartial #'gethash straight--repo-
            (let ((doom-output-indent (+ doom-output-indent-increment doom-output-inde
            (if doom--cli-updated-recipes nil (straight--make-build-cache-available) (
        ! Extended backtrace logged to .emacs.d/.local/doom.error.log

This is a duplicate of #4950. See https://github.com/hlissner/doom-emacs/issues/4950#issuecomment-829944410


Change status and add role columns in Home Page Table

Overview of the problem
Currently in homepage (https://spark.midburn.org/en/home) there's one table column for role in camp which is titled status and contains the role of the camp member.
Expected behavior
There should be two separate columns for role and status

role column shall contain user's role in camp (manager, member etc...)
status column shall contain approval status for the member (is the member approved or not)

Actual behavior
Single column which contain both role and status data

Same column appears in Edit camp -> Members, so should be split there too


Navigation drawer content overlaps with status bar

Describe the bug
Navigation drawer content overlaps with status bar.
Screenshots

Would you like to work on the issue?

[x] Yes

[ ] No

Other: @iamareebjamal Is this intentional? Should it be rectified or not?

@iamareebjamal Can it be done without making the status bar opaque? I had tried many approaches but none of them worked, either this issue remained there or this issue got solved but the status bar became opaque.

Does it overlap when scrolled completely up?


Invoices Are Constantly Regenerated for Expiring Orders (partial fix included)

Invoices are constantly re-generated for expiring orders because the function:
public function setUnpaidInvoice(\Model_ClientOrder $order, \Model_Invoice $proforma)
cannot successfully execute. This is because the ClientOrder model attempts to make an SQL query statement to a table named "ClientOrder" instead of the proper "client_order" table.
I was unsuccessful in tracing where the Model is executing the ClientOrder value from (didn't appear in the Models I looked at). So, I temporarily put in a workaround in runQuery in rb.php to replace any sql statement with ClientOrder as the table name back to client_order:
$sql = str_replace("ClientOrder", "client_order", $sql); //fix spelling issue
Simple spelling mistake it would seem. Obviously finding where this is originally called would be ideal but this suits my purposes and resolves the issue for now.

Thank you for taking time to report this issue and locating the problem. It seems that there was a problem with function which should convert array of RedBean beans to models. I have fixed that and it seems to be functioning fine now. Could you check that by downloading new release or just changing lines from the commit above and let us know if the issue persists?

I have merged the code change and it seems to be working OK with my partial fix disabled as well. I will re-notify if a newer invoice starts showing the same behavior.
Always happy to contribute bug fixes to the project. Thanks for your hard work with development.


Log queries

I’m looking to block a number of pop-up websites and I was wondering if it’s possible to log DNS queries so I can find the exact links.

I opted for Unbound instead of Pi-hole because of its simplicity. A simple file already blocks ads for me.

Fair enough, no argument there. I think the best way at this time is to increase the verbosity of the unbound logs, as the default is currently set to 1.
There may be other methods by digging through the official docs, but I've tried nothing like that personally.


Add CountingInput Transform to python sdk

Similar to java sdk,  https://github.com/apache/incubator-beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/io/CountingInput.java
Imported from Jira BEAM-1069. Original Jira may contain additional context.
Reported by: vikasrk.

Hi,
I'd like to work on this issue.

Hi @kennknowles, @damccorm,
I'm interested in working on this issue. I couldn't access the link above to CountingInput.java. Did you mean CountingSource.java instead? Here’s the link for reference:
https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/io/CountingSource.java


fixed typo from Nederlands to Netherlands

Fixed the  spelling of " Nederlands" to "Netherlands" in the languages section. Here is the reference:

Hello there,  actually I have  done the CLA check but it seems it is still in process.... any idea ?


Task Irregularly run very slowly

Steps to reproduce:
List the minimal actions needed to reproduce the behavior.

Add Tasks in InfluxDB UI
Use CRON to specify Task Run time
Task Run time is the correct time RUN but the influxDB service in Ubuntu cannot find this task
After a few hours it will run successfully

Expected behavior:
Task run less than 4 minutes
Actual behavior:
Task run is mostly less than 4 minutes, but sometimes runs for more than ten hours
Environment info:
InfluxDB Version: v2.6.1
Host OS: Ubuntu 20.04.5 LTS (GNU/Linux 5.4.0-139-generic x86_64)
Host Memory: 125G
Logs:
influxdb logs.txt
Performance:

Linking the community forum thread with a few more details.
A couple of questions:

The task routinely runs successfully and then hits the very long run. Are there any queries running against this bucket that could change the access patterns?
Are there any deletes being run against the bucket that the task is reading from or the one that the task is writing to?

Hi @jeffreyssmith2nd ,
The task routinely runs successfully and then hits the very long run. Are there any queries running against this bucket that could change the access patterns?
The task content and time have not been adjusted.
Are there any deletes being run against the bucket that the task is reading from or the one that the task is writing to?
There is no write or delete action during this period.
If you have any ideas, please provide them to me.
Thanks.
And thanks for your reply.


Duplicate definitions with name OnTimestampSet

Description
When trying to run the tests, I first try to compile with cargo build --no-default-features --features=manual-seal and I get this compilation error:

It seems the  cfg decorator is not working properly.
Steps to Reproduce
compile with cargo build --no-default-features --features=manual-seal
Expected vs. Actual Behavior
This should compile correctly and enable me to run the tests
Environment
Describe the environment in which you encountered this bug. Use the list below as a starting point
and add additional information if you think it's relevant.

Operating system:
Project version/tag:
Rust version (run rustup show):

Logs, Errors or Screenshots
Please provide the text of any logs or errors that you experienced; if applicable, provide
screenshots to help illustrate the problem.
Additional Information
Please add any other details that you think may help us solve your problem.

Make sure you have aura feature disabled! It depends on which crate you're compiling. Rust has this annoying thing that it aggregate all features when you build a crate.
If you want me to debug more, let me know the crate you're compiling.

He listed his command as cargo build --no-default-features --features=manual-seal. So the --no-default-features should disable the aura feature.
He is trying to build the frontier template by running that in the root of the repo.

Very old one. Close it.


Range Inquiry

Hi,
Very interested with this one.
My cOncern is range. what is its range in compare with traditonal RF module like Superheterodyne type?
I use to use CC1101 to decode weather station using another library but the range is disappointed.
Thanks

Hi,
please read my comments here: https://github.com/matthias-bs/BresserWeatherSensorReceiver/wiki#radio-transceiver-range.
With the CC1101 and a distance of ~15m from the sender, it works (with a noticeable rate of invalid frames) if the receiver is in a good position next to the window.
If you are fine with spending a little more money, use one of the SX1276 based solutions with a proper antenna.
Cheers
Matthias

Yes, I will use SX1278 if required. Do you have any detail about its range?  I need longer range because I use for agriculture project

No, I don't think it is possible to make a general estimation.

How about sending? Does it perform better than the normal RF433?

I do not quite understand that question. The sensors are sending, BresserWeatherSensorReceiver is, well, receiving.
And what do you mean by "normal RF433"?
The sensors supported by this project are using FSK modulation at 868 MHz. There are some common sensors (mostly using OOK modulation) at 433 MHz. To get a rough idea, you could compare the indicated range of some devices in the 433 MHz and in the 868 MHz band (e.g. on Bresser's website).
The actual range depends on many factors -
Transceiver:

Modulation
Symbol rate
Oscillator frequency accuracy and stability
Output power / Input sensitivity
Antenna connection losses
Antenna gain
...

Transmission channel (over-the-air):

Distance
Interference
Reflections
Damping
...

Yes, yours is only for receiving. But my project also need to send to remote switch as well using RC-Switch. My intent is to use CC1101 for both

Which range do you need?

I work on farm project so range does matters. I am looking to achieve several hundred meters on open field.

There are 10dbm and 20dbm CC1101 on the market. Do you think this can improve transmission of CC1101 using ASk/OOK?
They however have same receiving sensitivity

Probably yes, but I can't tell how much. And I don't know if the higher power version is allowed in your country.
For several hundred meters, I'd go for a LoRa module like EBYTE E22/E32. There seem to be Arduino libraries for both (however I did't use any of them).
With LoRa modulation much better range can be achieved than with FSK/ASK/OOK at the same output power.

The reason I try to use it instead of LORA because the RF433 remote switches are very cheap


RuneLite doesn't cover half my screen when I drag it all the way to the edge

When I put my mouse cursor on the left or right edge of my screen, almost every other program fills half my screen. RuneLite doesn't do that. Mouse cursor is at the arrow in the picture:

This is due to the custom chrome. If you disable it, it will do that. I do not know if its possible to make swing do it with the custom LaF or not.

This fixed it for me, thanks!


Fix emojione 3 issues

When using emojione 3 some emojis are failing to render after save.
It seems to fail on https://github.com/johnsenpeder/emojionearea/blob/b8b684195957e5843adc0d45ee2d2c00c98ae81b/src/function/getTemplate.js#L29 when using unicode.uc_base (results in ✈ => ✈). However it works fine when using unicode.uc_output.toUpperCase() (results in ✈ => ✈).
Also cleaned up some trailing whitespaces and converted a few tabs to spaces. (I could create separate PR's if preferred)

@lasdeparq all updated :)

Thanks)


Print error when required flag is not set

What was changed

Stopped swallowing the error message about missing required flags
Why?

helps understand what is missing
Checklist

Closes

How was this tested:

tctl workflow describe
2022/09/27 19:23:06 Required flag "workflow-id" not set

Any docs updates needed?

Didn't do a detailed review.
Why do we need to title-case the term Activity?
git manual doesn't say Branch or Commit, docker --help doesn't say Container and Image.

it was a feedback from the docs team when reviewing --help texts


Resolve issue #369 by eliminating the redundant invocation of cfg.client.RestConfig in CreateClusterWithConfig, which is leading to a panic

What type of PR is this?
/kind bug
/kind regression

What this PR does / why we need it:
Remove unnecessary call to cfg.client.RestConfig in CreateClusterWithConfig . The cfg.Client() function expects cfg.kubeconfig to be set before calling. This is raising panic. Also the cfg.Client().RESTConfig() returns a restconfig which is not used anywhere in that function.
Which issue(s) this PR fixes:

Fixes # https://github.com/kubernetes-sigs/e2e-framework/issues/369
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Additional documentation e.g., Usage docs, etc.:

/lgtm

/ok-to-test

/approve

fixes #369 369


Inpainting does not work.

I have update the scripts, please try it again. Any question just ask me.

Okay so I deleted the folder and then did a new git clone and I'm still having the same issue.

Input on the left. Output on the right.

Okay well I used the inpaint workflow here: https://www.reddit.com/r/StableDiffusion/comments/1e6hg0v/controlnet_union_sdxl_10_promaxs_inpaint_is/
It worked well! If anybody is struggling to get this working I would recommend these workflows.
I was hoping it would work with PonyXL cause other inpainting methods like BrushNet don't... But this also failed. Most other CN++ functions do work well with Pony however. :)

ybody

The huggingface controlnet_union_sdxl_1.0 folder have 2 models, one is base, the ohter is promax, you should set a new folder and put the promax the model into it and rename it. Then you can run the scripts in promax folder to check if it valid. I just provide some scripts that can generate mask randomly.


Publish versioned charts to a public helm repository

Feature Request
Description
Currently, to install and run Adelphi you have to clone the repo and install the charts that are then locally available.  This would be an easier experience for users if they could install the charts from a publicly available repo that could be added to helm.
Like used in many public projects and described here.
Describe the solution you'd like
Publish a public repo that can be added locally to a helm install, updated, and installed from.

Something we should target for a GA release when we get there.


Nexus does not allow a v2 and v3 feed in the same proxy group

What New Or Updated Would You Like To See?
When we talk about creating a proxy group in Nexus, we should clarify that a Nexus proxy group cannot have both v2 and v3 feeds in the same group. See this Discord thread
Why Is It Needed?
This is really more of an understanding Nexus than working with Chocolatey issue, but with the introduction of v3 feeds in Chocolatey CLI 2.0.0, but CCR not currently supporting them, it may get a little confusing.
Additional Context?
Discord thread.

Here is the Nexus documentation page, which does confirm that they explicitly do not support having v2 and v3 feeds in the same group: https://help.sonatype.com/repomanager3/nexus-repository-administration/formats/nuget-repositories/grouping-nuget-repositories

Looking through the documentation I can't actually find anywhere where we talk about a Nexus group / virtual repository that this documentation would be relevant to.
@imm0rtalsupp0rt @ryanrichter94 @JPRuskin @gep13 (or anybody else) got any thoughts where this would be relevant to add?

@pauby Might wanna add it as a note in the NuGet V3 Section of the Upgrade Guide for Chocolatey V2. This to my knowledge is where we try to call out any breaking changes as best we can with going to the new features offered in Chocolatey V2.


Assignment 2

Drift Video Link:- https://video.drift.com/v/ab0AZkCJ52R3ng5iWqarquIZJgl8DZ0Jfi1y76SPVQ2U/
Screenshots :-

Metric
Value

alert_status
:white_check_mark: OK

bugs
0

code_smells
1

reliability_rating
A (0 Bugs)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0


Reference factory bean null

fix #95

Pull Request Test Coverage Report for Build 269

10 of 12 (83.33%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 67.96%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

runtime-sofa-boot-starter/src/main/java/com/alipay/sofa/runtime/spring/factory/ReferenceFactoryBean.java
3
5
60.0%

Totals

Change from base Build 268:
0.02%

Covered Lines:
2032

Relevant Lines:
2990

💛  - Coveralls


Feature request: API to re-list a previously unlisted package

It's currently possible to unlist a package from nuget.org using the API, as documented here.
However, there doesn't appear to be an API to re-list a previously unlisted package.
Please can one be added?
We manage hundreds of nuget packages on nuget.org, and occasionally it's very useful to be able to programmatically unlist/relist many packages. For example, when sorting out problems caused by #5183
Thank you

Fortunately, it's already possible, but apparently not documented.
If you hit the same url as the unlist API (https://www.nuget.org/api/v2/package/{ID}/{VERSION}) with a POST instead of a DELETE, it will re-list the package.
(https://github.com/NuGet/NuGetGallery/blob/master/src/NuGetGallery/Controllers/ApiController.cs#L590)
The same functionality exists in nuget.exe. I believe the command is "publish" and the rest of the command is the same as the unlist command ("delete").
Leaving this open because we need documentation on this. @karann-msft @anangaur

here's what happens when you try running the publish command
C:\Users\karann>nuget publish PrintHelloNuget 1.4.8 -source nuget.org -apikey <redacted>
Unknown command: 'publish'
NuGet.CommandLine.CommandLineException: Unknown command: 'publish'
   at NuGet.CommandLine.CommandManager.GetCommand(String commandName)
   at NuGet.CommandLine.CommandLineParser.ParseCommandLine(IEnumerable`1 commandLineArgs)
   at NuGet.CommandLine.Program.MainCore(String workingDirectory, String[] args)

Not a documentation issue.

Maybe it isn't in nuget.exe--I was pretty sure it was. In any case we are still missing the documentation for the nuget.org API.

Please create a docs issue and provide sufficient information on what needs to go into the doc. Better yet, create a PR to the docs repo.

@joelverhagen who authored this doc to understand why did we omit publish.

Thanks for the instant documentation :)
I'll try POSTing to the unlist URL tomorrow.

It is undocumented because it is not part of the official protocol, meaning the official NuGet client does not use it. Also, it is unclear whether other server implementations support it (I haven't tried). As @scottbommarito mentioned, the POST /api/v2/package/{ID}/{VERSION} endpoint is implemented on NuGet.org but again this is not officially supported endpoint (e.g. push or unlist are "officially supported").
@chrisdunelm, feel free to use the endpoint right now (via a custom script). It is unlikely that we will remove or change this endpoint because a) our end-to-end tests use it to test the unlist/relist flow and b) other people are using it. If changes do sometime occur to any publicly accessibly endpoint, we will announce it via the NuGet/Announcements repository.
Also, I would recommend creating an issue on NuGet/Home if you are interested in getting official support for this feature into the NuGet client.
I would be happy to document it after talking to the team and agreeing this is something we want to officially support. Thoughts, @skofman1 @xavierdecoster?

Typically we have not seen authors re-listing many packages together but seems like a general scenario for enterprises including Microsoft/.NET teams
@chrisdunelm Do you unlist all packages by default upon uploading and on a given day (coinciding with some release) re-list all packages to make them available?
I think it makes sense to have a nuget.exe command to re-list package.

The POST worked fine. Thanks for suggesting it.
I would ask that, if possible, this is made part of the official protocol. I agree it's not a common requirement, but there will be occasions where it's very useful.
@anangaur No, we just nuget push and allow packages to become live as nuget.org indexes them. Our release times haven't been critical enough to need to be any more precise than this. Pushing all packages generally takes about an hour.
We do have some inter-package dependencies, but up until now the packages have become live on nuget.org fast enough that we've never seen a problem.
However, due to the problem that caused #5183, we had many packages that were live on nuget.org, but a common dependency was not live. So yesterday I programmatically unlisted all of the latest version of all packages; then today programmatically relisted them all. Being able to do this using the POST request was extremely useful.
(We also have had a number of occasions where we've released many packages containing a bug; and needed to unlist them all. This isn't relevant for the relist discussion though as these bug-ridden packages never need re-listing)

@joelverhagen , agree we should document this endpoint.
Created an issue for client to track the suggestion to add a "publish" command: https://github.com/NuGet/Home/issues/6329


Add support for skipping querydsl-maven-plugin execution

Fixes #1731

Looks good. Maybe system property based skipping could be supported as well? e.g. maven.querydsl.skip

Something like that?

Yes

Nice work, Ruben. This looks good to me.


stable/grafana Unistall plugins

Describe the bug
A clear and concise description of what the bug is.
Which chart:
Grafana
What happened:
Unable to remove installed plugins
What you expected to happen:
Uninstall plugins in grafana
How to reproduce it (as minimally and precisely as possible):
1.Install plugins by making changes in values.yaml.
2.Plugin gets installed.
3. Remove the entry in values.yaml
4.Plugin do not get removed from grafana.
Anything else we need to know:
If removing the plugin from values.yaml is not the right way to uninstall plugins. Provide a way to uninstall them.
I accidentally installed a plugin that is not being supported by  grafana version that i am using and now the pod do not come up with the plugin.json file missing issue.
I tried to unistall the plugin but seems there is no way to do it.  Pod do not come back at all.

Is there any solution for this?

I hit with the same issue and anything to resolve this? Damn, my working Grafana is no longer running.

I hit with the same issue and anything to resolve this? Damn, my working Grafana is no longer running.

I had the similar situation with Kubernetes and I was struggling to bring my pod up and running. I deployed through the helm and removing plugin didn't work out for me.
I manually edited the deployment like this:
spec: template: spec: containers: - grafana command: ["grafana-cli"] args: ["plugins", "remove", "grafana-image-renderer"]
Then the container failed again with below message:
Removing plugin: grafana-image-renderer Error: ✗ plugin does not exist
Then I removed the updated commands in the deployment and it worked out for me.


Upgrade dependencies

Direct:
github.com/google/uuid v1.4.0
github.com/pion/dtls/v2 v2.2.8-0.20231026152330-9cc3df9c3369
github.com/plgd-dev/go-coap/v3 v3.1.6-0.20231101183011-aee44d2f7d15
golang.org/x/sync v0.4.0
google.golang.org/grpc v1.59.0
Indirect:
golang.org/x/crypto v0.14.0
golang.org/x/exp v0.0.0-20231006140011-7918f672742d golang.org/x/net v0.17.0
golang.org/x/sys v0.13.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405

Codecov Report

Merging #398 (683326e) into main (f58dd27) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #398      +/-   ##
==========================================
- Coverage   65.42%   65.38%   -0.04%
==========================================
  Files          79       79
  Lines        5498     5498
==========================================
- Hits         3597     3595       -2
- Misses       1475     1476       +1
- Partials      426      427       +1

see 1 file with indirect coverage changes


Team3 [1pt] Create basic structure for Dragons - Setup

Create a route and a view component. Use <NavLink /> for the page navigation links and style active class to indicate which section/page the user is currently on (underline active navigation link).
Create a directory for all Redux state slice files.

Group consists of 2 members


Feature request: Add redundant \r on line wrap

This feature request evolves from a discussion about mintty (Cygwin) not working correctly with the new winpty anymore.The problem is that copying a line longer than the terminal width, which is being output by a typical Windows console (i.e. non-Cygwin) program from the mintty terminal, causes a hard line break being inserted in the copied string, because the controlling terminal (mintty in this case), can not recognize whether the line is really a long line having been wrapped around, or two short lines, where the first of these happened to be exactly the Window width.

I want to select with the mouse a long line which has been wrapped around, and paste it somewhere, without getting a hard line break at the point where the line wrap has occured.
Proposed technical implementation details (optional)
Since there seems to be no really good alternative, the mintty maintainer suggested that winpty would output \r\r\n, if there is a wrap around of the line. The redundant \r would signal to the controlling terminal, that a line wrap has occured.

So this is actually a bug that we're already tracking in #5113, and I'm trying to fix over in #5181. The real solution to this problem shouldn't be "add another hack to make this scenario work", the solution is just "don't hard break lines"
/dup #5113
p.s. winpty != conpty. winpty is a third party library for creating pseudoterminals on Windows, and ConPTY is the set of APIs that we maintain for hosting "pseudo-consoles". They're similar, but we only maintain conpty 😉


Allow creating helm chart for v1beta1 spec of Compose-Kubernetes

Fixes #243
- What I did
Allow users to produce a v1beta1-compatible Helm chart using docker-app helm
- How I did it
Added a --beta1 (shorthand -b) (happy to hear suggestions for a better name there) flag to the helm subcommand.
- How to verify it
# cd into directory with docker-compose.yml
docker-app init foo
docker-app helm -b
cat foo.chart/templates/stack.yaml
## output should be v1beta1

- Description for the changelog
It is now possible to generate v1beta1-compatible helm charts using docker-app helm
Notes
WIP (needs tests).

@shin- I would vote for no shorthand flags, just the long notation — my guideline for flags is by default, no shorthand except if it's use often or cannot be mistaken with something else.
For the name of the flag, I wonder if it should be something like --beta1 (i.e. hard value) or something like --compose-api-version=v1beta1 (which would make it "future-proof" and not require a different flag for each api versions).

Based on suggestions, flag has been changed to take a string value and renamed --stack-version (--compose-api-version already means something else and would thus be a confusing choice)

Related to my comments : https://github.com/docker/cli/pull/1152 opened upstream :wink:


mojito start not working

Hello.
Here https://github.com/yahoo/mojito is says to start server:
$ mojito start
But I'm having the error:
$ mojito start
err! Unable to invoke command start

This project seems to be abandoned. Yahoo's probably too busy to work on it, and haven't found any open source community members willing to contribute.

Yeah, it seems so...

Hi guys. Sorry to say, but you're right, Mojito has effectively been abandoned. The team working on it was dissolved. The Mojito owner left the company. YUI, which Mojito is based on, has been deprecated and is no longer supported. It was pretty awesome stuff though!
We're now focused on building component-based apps with React.

Thanks for the heads up.


v2 beta.10: Unable to scroll vertically after switching between tabs [iOS]

Hello there!  I recently upgraded to ionic-angular 2 beta.10 and I noticed a weird bug where vertical scrolling is not responding.  My application uses ion-tabs with 4 tabs across the bottom of the screen.  On load, the far left tab is automatically selected.  If I choose the 2nd tab and scroll vertically (via touch in ios simulator or on device) it scrolls just fine.  Then i switch to tab 4 and scroll vertically via touch and it also works fine.  If I switch back to the 2nd tab and try to scroll vertically it appears unresponsive and the list does not scroll.  But if I switch back to tab 4, I see that it has been scrolled according to my touch while viewing tab 2.
Wondering if you have noticed a similar phenomenon?  Any ideas for a workaround?
Cheers

Hello, thanks for opening an issue with us! Would you be able to provide a plunker or repo that demonstrates this issue? Thanks for using Ionic!

I'm having the exact same problem, also since beta 10.

Hi @jgw96, do you have a plunker with ionic set up already that I can start from?  I'm not sure it will help without testing on a mobile device actually.  My guess is the guys maintaining conference app could reproduce this pretty easily

@jasonwaters Sorry was just able to reproduce. On Android it seems to be fine, but on IOS there is definitely an issue. Thanks!

Thanks! Any chance I can get a nightly with this fix?

Hello all! This has been fixed for beta.11 as you can see above, but if you would like a workaround until beta.11 comes out feel free to just copy the css from the commit mentioned above into your project. Thanks for using Ionic everyone!

@jgw96 Now in beta 12 I have this issue on the first tab that is not scrolling anymore after the app has started. After a change to a subview of the same tab an returning scrolling works. Can you please check your fix of this issue regarding to this side effect?


Uncaught Error: EEXIST: file already exists, mkdir '\applications\b...

[Enter steps to reproduce below:]

...
...

Atom Version: 1.7.2
System: Microsoft Windows 8.1 Pro
Thrown From: Remote-FTP package, v0.7.20
Stack Trace
Uncaught Error: EEXIST: file already exists, mkdir 'D:\KLN\micro\microsite-builder\applications\builder\controllers\couple-challenges\backend'
At C:\Users\areoid\AppData\Local\atom\app-1.7.2\resources\app.asar\node_modules\fs-plus\node_modules\mkdirp\index.js:76

Error: EEXIST: file already exists, mkdir 'D:\KLN\micro\microsite-builder\applications\builder\controllers\couple-challenges\backend'
    at Error (native)
    at fs.mkdirSync (fs.js:842:18)
    at Object.fs.mkdirSync (ATOM_SHELL_ASAR.js:592:16)
    at Function.sync (C:\Users\areoid\AppData\Local\atom\app-1.7.2\resources\app.asar\node_modules\fs-plus\node_modules\mkdirp\index.js:55:12)
    at Object.fsPlus.makeTreeSync (C:\Users\areoid\AppData\Local\atom\app-1.7.2\resources\app.asar\node_modules\fs-plus\lib\fs-plus.js:343:23)
    at C:\Users\areoid\.atom\packages\Remote-FTP\lib\connectors\ftp.js:447:8
    at Object.cb (C:\Users\areoid\.atom\packages\Remote-FTP\node_modules\ftp\lib\connection.js:1017:13)
    at Parser.<anonymous> (C:\Users\areoid\.atom\packages\Remote-FTP\node_modules\ftp\lib\connection.js:117:20)
    at emitTwo (events.js:87:13)
    at Parser.emit (events.js:172:7)
    at Parser._write (C:\Users\areoid\.atom\packages\Remote-FTP\node_modules\ftp\lib\parser.js:59:10)
    at doWrite (_stream_writable.js:292:12)
    at writeOrBuffer (_stream_writable.js:278:5)
    at Parser.Writable.write (_stream_writable.js:207:11)
    at Socket.ondata (C:\Users\areoid\.atom\packages\Remote-FTP\node_modules\ftp\lib\connection.js:273:20)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at readableAddChunk (_stream_readable.js:146:16)
    at Socket.Readable.push (_stream_readable.js:110:10)
    at TCP.onread (net.js:523:20)

Commands
     -2:37.4.0 remote-ftp:refresh-selected (span.name.icon.icon-file-directory)
     -1:48 remote-ftp:disconnect (ol.ftptree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -1:34.2.0 remote-ftp:sync-with-remote (span.name.icon.icon-file-directory)
     -0:53.7.0 remote-ftp:refresh-selected (span.name.icon.icon-file-directory)
     -0:43.7.0 remote-ftp:disconnect (ol.ftptree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:23.5.0 remote-ftp:add-folder (span.name.icon.icon-file-directory)
     -0:18.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:11.8.0 remote-ftp:add-file (div.header.list-item)
     -0:03.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config
{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages
# User
atom-alignment, v0.12.1
atom-autocomplete-php, v0.18.7
autoclose-html, v0.23.0
ctrl-last-tab, v0.3.0
docblockr, v0.7.3
emmet, v2.4.3
file-icons, v1.6.21
highlight-selected, v0.11.2
linter, v1.11.4
linter-csslint, v1.3.2
linter-erb, v1.0.2
linter-htmlhint, v1.1.1
linter-jshint, v2.0.4
linter-xmllint, v1.3.4
php-cs-fixer, v2.5.6
pigments, v0.26.0
Remote-FTP, v0.7.20

# Dev
No dev packages

I just had this issue.
I realized that a local file named the same as the remote folder I was working in needed to be deleted locally.
For me, this was caused by mis-clicking "create file" when I ment to click "create folder", and then deleting that remote file to correct my mistake. (leaving the local file behind)

[SOLVED]
@sircon-john yes sir, you right :+1:
thanks


Public API leaks non-public classes

The public OptionSpecBuilder class has package-private NoArgumentOptionSpec and AbstractOptionSpec superclasses. Whereas Java doesn't prevent such visibility leakages, other languages do. Specifically, I haven't found a way to call methods such as AbstractOptionSpec#forHelp from Kotlin. Can this be fixed?

@pniederw I'll look into this...thanks

@pniederw Looks like the resolution for #93 addressed this. I think I will cut a 5.0.2 release with this in it soon.

@pniederw 5.0.2 is available -- does it solve your problem? Thanks!

Haven't heard back on this. Considering the issue resolved, unless I hear otherwise. Thanks!


Cannot downsample to ≥ half the number of points

When trying to downsample a matrix with n rows to any value ≥ 0.5 n, the following error is returned:
Error in apply(data[floor(i * bin_width + 1:bin_width), ], 2, mean) :
  dim(X) must have a positive length

Steps to reproduce:
n = 20
data = data.frame(X=seq_len(n), Y=rnorm(n))
LTTB(data, n_bins=n/2)  # Error
LTTB(data, n_bins=n/2 - 1)  # Works fine

Here is a function for correctly splitting the data into bins (similar to numpy.array_split):
https://stackoverflow.com/a/45206984/4145144


bidirectional dshot

continuation of https://github.com/PX4/PX4-Autopilot/pull/20749

this is working

@dakejahl

@jgw365 yes I'll be making a PR into PX4 shortly

@jgw365 yes I'll be making a PR into PX4 shortly

thank you

@jgw365 yes I'll be making a PR into PX4 shortly

thanks so much for all your work

Should you comment out this line of code: px4_arch_gpiowrite(GPIO_FMU_CH8, true);?


ARC crash with spinning user thread

Describe the bug
I have found that the ARC nsim_em and nsim_sem targets crash out if a preemptible user thread hogs the CPU.
To Reproduce
Run samples/hello_world in this branch:
https://github.com/andrewboie/zephyr/commit/80d2a939feea719cb181b165ea810d8d9709c7e7
Expected behavior
The expected output is:
***** Booting Zephyr OS build zephyr-v1.14.0-1925-gca3549d9f540 *****
Hello World! nsim
done

Instead I get:
***** Booting Zephyr OS build zephyr-v1.14.0-1925-gca3549d9f540 *****
Hello World! nsim
***** Exception vector: 0x0, cause code: 0x0, parameter 0x0
Address 0x0
Reset
Current thread ID = 0x80000100
Faulting instruction address = 0x15b4
Fatal fault in essential thread! Spinning...

Now if I add a k_yield() statement in the child thread's spinning loop, or start the child thread without K_USER(), eveything works normally.
I seem to get random, other exceptions depending on the application. When I originally found this in another project I was working on, I got:
***** Exception vector: 0x6, cause code: 0x1, parameter 0x2
Address 0x877c
EV_ProtV: Memory read protection violation: stack checking scheme
***** Stack Check Fail! *****
Current thread ID = 0x800006b8
Fatal fault in thread 0x800006b8! Aborting.

Impact
Showstopper

@vonhust this does not seem directly related to your recent switch changes, even if I revert that patch I still get a crash, with the console log:
***** Exception vector: 0x6, cause code: 0x2, parameter 0x4
Address 0xfffffffc
EV_ProtV: Memory write protection violation: MPU
Current thread ID = 0x80000100
Faulting instruction address = 0x4290
Fatal fault in essential thread! Spinning...

This can also be reproduced with:
https://github.com/zephyrproject-rtos/zephyr/pull/17071
If you comment out the k_yield() call in thread_name_entry() and run tests/kernel/threads/thread_apis test case.

@andrewboie Thanks, it's a bug. I make a fix in #17184 and re-run you provided tests case. The result is ok


How can I separate some content (break line) in my PDF with PDFKit and Express

Hi,
Im new programming with nodejs and Im tryin to create some PDF Documents from a Browser request.

The thing is I would like to have the three paragraphs in the same PDF separateley with a line break. But it semms my code just add a comma (,) between each paragraph... I have inspected the PDFKit module, and I couldnt find where this coma comes from. Can somebody help me?
pdfdocument.pdf
This is my code:
`
const express = require('express');
const router = express.Router();
const PDFDocument = require('pdfkit');
router.get('/', function(req, res, next) {
    res.render('pdf', {
        title: 'Steps',
        text: 'Express'
    });
});
router.post('/', function(req, res) {
var doc = new PDFDocument();

var filename = req.body.filename;

filename = encodeURIComponent(filename) + '.pdf';

res.setHeader('Content-disposition', 'attachment; filename="' + filename + '"');
res.setHeader('Content-type', 'application/pdf');

var content = [req.body.content];

for(i = 0; i < content.length; i++ ) {
    doc.y = 300;
    doc.text(content[i], 50, 50);
}
doc.pipe(res);
doc.end();
});
module.exports = router;

´
and this is the html:
`

Create a PDF

File Name

.pdf

Step 1

Step 2

Step 3

`

HI, I think you have to add
doc.moveDown()  Inside the loop for!
Like this:
for(i = 0; i < content.length; i++ ) {
    doc.y = 300;
    doc.text(content[i], 50, 50);
    doc.moveDown()
}

Hi, thanks for your answer. I try that method but it seems to be IntelliJ can not recognize that method and Im getting the same PDF as before.

Any ideas why? Im using WebStorm 2017.1

I´ve just resolve why Webstorm couldn´t recognize the mothod moveDown(), pdfkit was not in the file package.json in my project.
I tried again with this method, but I still get my paragraphs separated by a comma. I dont know if it a standard setting... Any suggestions?

Sorry, I can't help you with Webstorm, I don't use it!


Use readOnlyRootFilesystem: true for all containers

Is your feature request related to a problem? Please describe.
Currently, by default, it is possible to write on the root filesystem
Describe the solution you'd like
Specify readOnlyRootFilesystem: true as a default for all the containers in the manifests of the next release
Describe alternatives you've considered
Patch manually
Additional context
It seems that there is intent for the binaries to not write anywhere, judging from https://github.com/cert-manager/cert-manager/pull/2884#issuecomment-642623881 and https://github.com/cert-manager/cert-manager/issues/2883#issuecomment-632739970, although this might not be the case according to https://github.com/cert-manager/cert-manager/issues/5580.
Either way, whether a volume has to be mounted or not, I think it would be a good default to have in regards to security.
/kind feature

/not-stale

/remove-lifecycle rotten

/good-first-issue

Can you tell please when this feature will be implemented?

Someone would have to verify whether it works as-is, in which case they can just make a PR to change the template, or figure out what changes are necessary to enable it.
Why don't you try the obvious change in a cluster and see if it works?

6d206795c70efc70395147493b296582807c4a21 was merged onto master by #6453, enabling read-only rootfs by default. This is pending a new release being cut.

All the cert-manager containers are now configured readonly and we've got E2E tests running on a cluster where Kyverno rejects Pods that aren't readonly:

https://testgrid.k8s.io/cert-manager-periodics-master#ci-cert-manager-master-e2e-v1-28-bestpractice-install

Thanks everyone.
/close


chore(release): v2.0.0

Here's a much needed release :)
Latest release was on Jun 26, 2016. I don't have NPM permissions to publish, so that's the only step needed after merging this PR.
Edit: and also push the tag
cc @dignifiedquire @johnjbarton

How did you create the change log? My attempt fails:
$grunt release:major
Running "release:major" (release) task
Warning: Task "changelog" not found. Use --force to continue.

@johnjbarton I used the conventional-changelog-cli directly. Just noticed that grunt-conventional-changelog broke when updating to latest version. I'm going to fix it ASAP.

@johnjbarton fixed in 32b14d2a

@johnjbarton I noticed you already commited the release. I'm going to close this. But what's stopping  2.0.0 from being published to NPM?

I don't have permission to npm publish but I am working on it.

Ok finally sorted it, please check the release.

Great! Thanks @johnjbarton


PyQuil could be more helpful when defining gates

Collection of issues involving defining and using gates, in order from most helpful:

Defining gates with parameters should be possible entirely within PyQuil. Right now it involves doing some string manipulation and adding raw instructions directly to the quil output. Was thinking of using SymPy for this purpose.
If you define a gate that has already been defined, this should throw an error (or at least a warning).
If you define a gate which is exactly equivalent to one of the gates in the standard gate set then this should also be an error (or warning).

I propose that the third point be a warning instead of a error.  We typically want Quil to be human readable and so there might be a good reason why a user wants to add a new name to a gate that has been defined and I'm good with supporting that.
Quil already has multiple names for the same gate in several places, e.g. H and HADAMARD


Change type names to match graphqlgen

Is your feature request related to a problem? Please describe.
Current types generated by client do not play very well with graphqlgen
Describe the solution you'd like
Rename User -> UserPromise and UserNode -> User
This change would make the types fit together more naturally, currently, type inferences makes it work and this change would make the user experience much better.

To be clear, you are talking about the types in the TypeScript Prisma Client, not in the Prisma API, correct?

Yes, that is correct.
On Fri, Oct 19, 2018, 3:09 PM Nilan Marktanner<EMAIL_ADDRESS>wrote:

To be clear, you are talking about the types in the TypeScript Prisma
Client, not in the Prisma API, correct?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/prisma/prisma/issues/3323#issuecomment-431306288, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAtj8i-N85S8pckXqjvdZy1tuDEcqC7oks5umZ3jgaJpZM4XdybX
.


gold vehicle 24 collides with qgroundcontrol udp port

If you are running qgroundcontrol vehicle gold 24 will not launch
...
[ WARN] [1470685335.572786205]: init: message from slugs, MSG-ID 194 ignored! Table has different entry.
[ INFO] [1470685335.573018984]: udp0: Bind address: <IP_ADDRESS>:14499
[ INFO] [1470685335.573077040]: udp0: Remote address: <IP_ADDRESS>:14498
[FATAL] [1470685335.573237471]: FCU: DeviceError:udp:bind: Address already in use
INFO  [platforms__posix__drivers__ledsim] LED::init
INFO  [platforms__posix__drivers__ledsim] LED::init
INFO  [simulator] Not using /dev/ttyACM0 for radio control input. Assuming joystick input via MAVLink.
INFO  [simulator] Waiting for initial data on UDP port 14496. Please start the flight simulator to proceed..
================================================================================REQUIRED process [iris_124/mavros-2] has died!
process has finished cleanly
log file: /home/tfoote/.ros/log/ed167ce6-5d9e-11e6-855c-3c970ee1fca6/iris_124-mavros-2*.log
Initiating shutdown!
================================================================================
[iris_124/mavros-2] killing on exit
[iris_124/px4_iris_124-1] killing on exit

Exiting...
[iris_124/px4_iris_124-1] escalating to SIGTERM
shutting down processing monitor...
... shutting down processing monitor complete
done
DeleteModel: model does not exist

Or if vehicle gold 24 is running qgroundcontrol will refuse to launch:
tfoote@snowman:~/work/uctf Last: [0] (0s Seconds)
$ ./qgroundcontrol/qgroundcontrol-start.sh
Another instance already running. Exiting.

qgoundcontrol is using the port 14499
tfoote@snowman:~/work/uctf Last: [0] (0s Seconds)
$ lsof -i 4UDP
COMMAND     PID   USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME
chromium-  4705 tfoote  228u  IPv4 5682264      0t0  UDP *:mdns
rosout     9626 tfoote    7u  IPv4 5932527      0t0  UDP *:36953
gzserver   9669 tfoote   13u  IPv4 5927426      0t0  UDP *:54019
gzserver   9669 tfoote   51u  IPv4 5930548      0t0  UDP *:38141
qgroundco 10830 tfoote    3u  IPv4 5951568      0t0  UDP localhost:14499
qgroundco 10830 tfoote   29u  IPv4 5948867      0t0  UDP *:5600
qgroundco 10830 tfoote   37u  IPv4 5951577      0t0  UDP *:14550

discovered with @hsu  it looks like qgroundcontrol might be using this as a process lock?

maybe we should do param set FS_GCS_ENABLE 0? (currently 2) for our use case?


Cleanup RPC status and peers endpoints

The concept of peers has changed, as there are no longer partiallly and fully connected peers, just “peers” (a single connection is sufficient now).
In the RPC and synchronizer components there is still the notion of these different kinds of peers (regular and fully connected peer), these should be unified to just a single peer type, which is essentially equal to the fully connected peer from before.
Some care must be taken to collect backwards-compatibility requirements from SRE and RPC leads, as these changes may affect their interaction with the system. If in doubt, the outside facing interface can be kept the same.
Example site: https://github.com/marc-casperlabs/casper-node/blob/66a5812653330f004ebd1b30e8852ca577a4eb9a/node/src/effect/requests.rs#L211-L222
This work should be based off of and merged into the https://github.com/marc-casperlabs/casper-node/blob/4525-connection-management branch.

Housekeeping: Removing the automated sprint assignments.

Also removing obsolete assignments.


Does clipper support keras models now?

I would also be interested in this functionality.

Yes it does. TF and Keras are supported. Since its based on docker containers, Any python based ML models are supported AFAIK.
I have been running Keras models in production using clipper for around 2 months now


Disable instance helper buttons while deploying new instance

Should be fixed in https://github.com/threefoldtech/www-mastodon/pull/133

Verified on https://getmastodon.threefold.io/
All instance buttons are now disabled while deploying a new instance.
Get Mastodon (35).webm


Unable to Scrape PDF URL

I'm experiencing an issue where I'm unable to scrape a PDF URL using the [library/tool name]. The URL in question is https://www.myelectric.coop/wp-content/uploads/Electric-Vehicle-Charging-Equipment-Rebates.pdf.
Also, is there an example to use crawl4ai with Azure open AI?
Steps to Reproduce:
Attempt to scrape the PDF URL using the crawl4ai
Observe that the scraping process fails or returns an error
Expected Behavior:
The crawl4ai should be able to successfully scrape the PDF URL and return the contents.
Actual Behavior:
The [library/tool name] is unable to scrape the PDF URL and returns an error or fails to complete the scraping process.
Error Message:
""" Failed to crawl https://www.myelectric.coop/wp-content/uploads/Electric-Vehicle-Charging-Equipment-Rebates.pdf, error: can only concatenate str (not "NoneType") to str"""
Reproduction Code:
def fetch_with_crawl(url):
# Create an instance of WebCrawler
crawler = WebCrawler()
# Warm up the crawler (load necessary models)
crawler.warmup()

# Run the crawler on a URL
result = crawler.run(url=url)

# Print the extracted content
# print(result.markdown)
return result.markdown

Let me know if you'd like me to add anything else to the issue!

@nagendrakumar02 Currently, we do not support PDF, but it is on our backlog and will be available soon. Thank you for using the library.

I have find some website return "error: can only concatenate str (not "NoneType") to str" but no clue, why? it's works in browser, here is the url I test 'https://www.reuters.com/markets/us/global-markets-view-usa-pix-2024-08-29/'


internal/atlas: non-square texture atlas

This is a feedback from @nadimkobeissi.
For a very long thin image, internal texture altases are not efficient.

This is a little tricky but the implementation should be obvious...


SNAPSHOT build no longer works on Android 4.1

The next version of libGDX will be built with AGP 8 (#7246). A side effect of this is we will go from NDK 23 to 25, which drops support for Android Jelly Bean (API levels 16, 17, 18).
In my testing with the emulator, libGDX 1.12.2-SNAPSHOT crashes on API 16. Interestingly, it actually seems fine on API 18, but I haven't extensively tested (just because badlogic.jpg loads doesn't mean other code won't cause a crash).
As gdx-setup still supports API 14, we need to decide how to proceed. Possible options I see are:

Set minSdkVersion to 19 in gdx-setup. This is the easiest solution. Google pretty much killed Jelly Bean in 2021 and I'm not sure it can even access the Play Store anymore. It's certainly no longer listed in the version distribution. I don't think this is an unreasonable increase, though it does set a precedent for further increases in future (the latest NDK also drops support for KitKat, API 19 & 20...).
Specify ndkVersion so we can continue using an older NDK with newer AGP versions. 17.2.4988734 is the last version to support API 14, which would actually be a downgrade from what recent libGDX releases would've used. 23.2.8568313 would let us keep Jelly Bean support. I don't really see an immediate issue with this, but it's probably not a long-term solution.

References:

https://developer.android.com/ndk/downloads/revision_history
https://developer.android.com/studio/projects/install-ndk#default-ndk-per-agp

Option 1 seems the way to go, anybody that needs to support legacy devices can use 1.12.1.
I've set the milestone on the issue to make sure we have a PR ready by the time we release.

It's worth mentioning that these really old devices can still connect to Google Play and there are still people who use them. My game is admittedly a pretty specific case, but I've still got active installs on about 50 Android 4.0 (API 15) devices and one and a half thousand Android 4.1-4.3 (API 16-18) devices,
I agree that bumping the minimum to API 19 is very reasonable though, and I can always stick around on 1.12.1 for a bit until those 4.1-4.3 numbers drop some more.

1.12.0 also doesn't work on 4.1 anymore because of https://github.com/libgdx/libgdx/pull/7005, which upgraded the provided NDK to r25, and everything below android 19 got killed in r24.
So I think we should downgrade to r23 again, or adjust the min required API level (also in gdx-setup I would assume)


Collapse relative links, Part 30

Contributes to #10653

Were you able to use the new tooling this time @NextTurn?

No before I figure out how to do https://github.com/dotnet/docs/issues/10653#issuecomment-631194226. You probably don't want to click on 5K files.

No before I figure out how to do #10653 (comment). You probably don't want to click on 5K files.

Do you want batching capabilities? From the extension you could configure only 50 files to be updated at a time? I already added the right-click on a folder option.

@IEvangelist Thanks for reminding. I didn't notice the latter update.
I'm now updating my local repository to prepare for the following changes. According to the current network speed, you will see the next PR in a few days.

FTR this was the tool that I used for the first 30 PRs.

Regex regex = new Regex(@"\]\((\.\./[^\(\)]+)\)");
foreach (string path in Directory.EnumerateFiles(@"docs", "*.md", SearchOption.AllDirectories))
{
    string directory = Path.GetDirectoryName(path);
    string[] lines = File.ReadAllLines(path);
    bool modified = false;
    for (int i = 0; i < lines.Length; i++)
    {
        string line = lines[i];
        foreach (Match match in regex.Matches(line))
        {
            string before = match.Groups[1].Value;
            string full = Path.Combine(directory, before);
            string after = Path.GetRelativePath(directory, full).Replace('\\', '/');

            if (before != after)
            {
                lines[i] = lines[i].Replace(before, after);
                modified = true;
            }
        }
    }

    if (modified)
    {
        File.WriteAllLines(path, lines);
    }
}


v4.0.0

Changes

Added import statements to the Yamlator schema syntax that support importing one or more types
Added namespaces to the import statements with the as keyword
Improvements to the loading of rulesets to allow for schema files to be less restrictive in the order resources are defined.
Improvements to the grammar file to include new terminals and remove duplicate constructs
Updated package build to 0.4.0 in the setup.py

Codecov Report
Patch coverage: 99.15% and no project coverage change.

Comparison is base (6c83f1b) 99.66% compared to head (a253325) 99.66%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff            @@
##             main      #63    +/-   ##
========================================
  Coverage   99.66%   99.66%
========================================
  Files          27       30     +3
  Lines         890     1188   +298
========================================
+ Hits          887     1184   +297
- Misses          3        4     +1

Impacted Files
Coverage Δ

yamlator/parser/core.py
99.04% <97.56%> (ø)

yamlator/types.py
99.35% <98.76%> (-0.65%)
:arrow_down:

yamlator/cmd/core.py
100.00% <100.00%> (ø)

yamlator/exceptions.py
100.00% <100.00%> (ø)

yamlator/parser/__init__.py
100.00% <100.00%> (ø)

yamlator/parser/dependency.py
100.00% <100.00%> (ø)

yamlator/parser/loaders.py
100.00% <100.00%> (ø)

yamlator/validators/core.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Added Ownership of mongod.conf To MongoDB User

Also fixed ceilometer service type in endpoints role.

Atom automatically removed all blank spaces after the last character for ever line when I saved the file. I only made one change per file:

Added 'owner=mongodb' for the mongod.conf file
Line 133, changed ceilometer 'type=metering' instead of 'type=Telemetry', to match the keystone service.

retest

retest


Unable to create new SelfServiceRegistrationFlow model from hash

Preflight checklist

[X] I could not find a solution in the existing issues, docs, nor discussions.
[X] I agree to follow this project's Code of Conduct.
[X] I have read and am following this repository's Contribution Guidelines.
[X] This issue affects my Ory Cloud project.
[X] I have joined the Ory Community Slack.
[X] I am signed up to the Ory Security Patch Newsletter.

Describe the bug
A successful call results in error, see reproducing the bug. It has to do with converting the response key values (as hash) into the appropriate OpenAPI models. Debug this loop for answers https://github.com/ory/client-ruby/blob/master/lib/ory-client/models/ui_container.rb#L159-L171.
Workaround:
I'm able to request a hash of the response data rather than the model by specifying a debug option. I don't get to work with a class model but I think that will be okay at this time.
flow_id = params[:flow]
opts = {
    :cookie => csrf_token,
    :debug_return_type => 'Object'
}

kratos_client = OryKratosClient::V0alpha2Api.new
data, status_code, headers = kratos_client.get_self_service_registration_flow_with_http_info(flow_id, opts)

Reproducing the bug
Make successful cloud API request with ory-kratos-client 0.8.0.alpha2
flow_id = params[:flow]
opts = {
    :cookie => csrf_token,
}

kratos_client = OryKratosClient::V0alpha2Api.new
data, status_code, headers = kratos_client.get_self_service_registration_flow_with_http_info(flow_id, opts)

Response body:
{"id":"e90f14c4-9619-406d-8c8e-42e5740d2ef2","type":"browser","expires_at":"2021-11-22T19:12:37.047752Z","issued_at":"2021-11-22T18:12:37.047752Z","request_url":"http://beautiful-goodall-088evk4xui.projects.oryapis.com/self-service/registration/browser?isProxy=true","ui":{"action":"https://localhost:4000/.ory/api/kratos/public/self-service/registration?flow=e90f14c4-9619-406d-8c8e-42e5740d2ef2","method":"POST","nodes":[{"type":"input","group":"default","attributes":{"name":"csrf_token","type":"hidden","value":"faQU97TPaLlorzCkXQ37h+ZRXwVQTTApvh7HxjOQRNLRfdhbwLM7zmqNJgprh5PmuirZUrAiQ+YxrMtYz+F+rQ==","required":true,"disabled":false,"node_type":"input"},"messages":[],"meta":{}},{"type":"input","group":"password","attributes":{"name":"traits.email","type":"email","required":true,"disabled":false,"node_type":"input"},"messages":[],"meta":{"label":{"id":1070002,"text":"E-Mail","type":"info"}}},{"type":"input","group":"password","attributes":{"name":"password","type":"password","required":true,"disabled":false,"node_type":"input"},"messages":[],"meta":{"label":{"id":1070001,"text":"Password","type":"info"}}},{"type":"input","group":"password","attributes":{"name":"method","type":"submit","value":"password","disabled":false,"node_type":"input"},"messages":[],"meta":{"label":{"id":1040001,"text":"Sign up","type":"info","context":{}}}}]}}

Relevant log output
Exception:
NameError (uninitialized constant OryKratosClient::AnyType)

Relevant configuration
No response
Version
0.8.0.alpha2
On which operating system are you observing this issue?
Ory Cloud
In which environment are you deploying?
Ory Cloud
Additional Context
Ory Proxy CLI v0.0.72

Hi there :) Thank you so much for the report! It looks like this could be a bug in the OpenAPI Generator? There's a new version released of it, unfortunately it had some regressions in Rust which produced uncompilable code, which is why we had to revert the update again. I found the following references:

https://github.com/OpenAPITools/openapi-generator/issues/10190
https://github.com/OpenAPITools/openapi-generator/pull/10192

If all goes well and 5.3.1 fixes the 5.3.0 regression for rust, we should be able to upgrade and thus resolve this issue. I'll keep it open in the meanwhile to track it for others :)


[CLI]: sync offline-run artifacts get duplicated on web-server

Describe the bug
When syncing an offline run to the web via the sync command, the artifacts get duplicated.
In my code I have a loop logging each time a table artifact:
wandb.log({'table': table = wandb.Table(...})

When I use an online run I get the wanted output of a table with versions (each representing a loop iteration) as follows:

In this example, the loop performed the python code above 8 times creating versions 0-7.
The problem starts when I train it with WANDB_MODE=offline and then run the following command:
wandb sync offline-run-<run-id>

The first time it will work correctly and will upload all versions up to the current loop status (lets say versions 0-2),
when the loop will continue, if I'll run the command again, instead of uploading versions 3-7, it will upload 0-2 again and start the counting from version 3, ending up with versions 0-10, where versions 0-2 are the same as versions 3-5.
Additional Files
No response
Environment
WandB version: 0.12.21
OS: CentOS Stream 8
Python version: 3.9.12
Versions of relevant libraries:
Additional Context
No response

Hi @urielsinger, I tried to replicate your issue but I wasn't able to run to the same issue as you did.
I used this command wandb sync --sync-all to sync my artifacts. Can you provide me with some more information why you used the wand sync offline-run-<run-id> statement relative to --sync-all?

@thanos-wandb I believe @urielsinger used the location of the specific run to avoid syncing other runs. Why should the outcome be different if we sync all runs, as opposed to syncing a single run?

Hi @urielsinger, I tried to replicate your issue but I wasn't able to run to the same issue as you did.
I used this command wandb sync --sync-all to sync my artifacts. Can you provide me with some more information why you used the wand sync offline-run-<run-id> statement relative to --sync-all?

I tried doing it (although as yuvalkirstain mentioned, you sometimes want to sync only one run), but got the error: wandb: ERROR Nothing to sync although I was in the wandb directory itself.

Hi @yuvalkirstain @urielsinger sorry for the late response here. Are you doing the sync command within your loop in your python script? or are you doing this from CLI while your code is running? The issue seems to be caused by an offline-run-*-.synced file that is created each time you do the wand sync offline-run-<run-id> . This empty file serves as a flag to know which runs have already been synced. If you are syncing within your loop, you could do something like os.system(f'wandb sync --sync-all') - this will only sync the current index (as previous iterations have already created a .synced file). Let me know if that workaround doesn't work with your process.

@thanos-wandb thanks! So if I have 10K runs on my wandb directory and only one run that I want to sync I should try and sync all of the 10K? Is there another solution? Are you planning to support syncing a single offline run without uploading duplicated artifacts?

@thanos-wandb @ramit-wandb any news about this? will appreciate help in the manner. thank you so much.

Hi @yuvalkirstain apologies for late reply here. Could you try passing the argument --no-mark-synced ? this won't create the synced flag file and may prevent this duplication from happening. You may also try the --no-include-synced to prevent these from syncing. There are some more details here.  Please let me know if this worked?

Hi @yuvalkirstain @urielsinger I wanted to follow up on this issue, did you try any of the above suggestions? Please let us know if we can be of further assistance or if your issue has been resolved.

@thanos-wandb I am not sure that I understand. We are working 1) in cluster without internet access, and 2) our runs take a lot of time to complete. Therefore, we want to sync a wandb offline run from time to time without getting duplicate artifacts.
Does wandb support this? If so, what exactly do we need to run in order to sync a run without duplicates?

@thanos-wandb I am not sure that I understand. We are working 1) in cluster without internet access, and 2) our runs take a lot of time to complete. Therefore, we want to sync a wandb offline run from time to time without getting duplicate artifacts.
Does wandb support this? If so, what exactly do we need to run in order to sync a run without duplicates?

Hi @yuvalkirstain I was referring to my previous post here:

Hi @yuvalkirstain apologies for late reply here. Could you try passing the argument --no-mark-synced ? this won't create the synced flag file and may prevent this duplication from happening. You may also try the --no-include-synced to prevent these from syncing. There are some more details here. Please let me know if this worked?

Have you tried doing any of these two options? If you do the first time wandb sync --no-mark-synced it won't create the synced file. Alternatively, you can do instead the following for the subsequent syncing times wandb sync --no-include-synced. Would any of these work for you?

Hi @yuvalkirstain just wanted to follow up with this issue, did you try the wandb sync --no-mark-synced or the wandb sync --no-include-synced workarounds? please let me know if this issue still occurs.

both don't work.

Hi @yuvalkirstain, apologies for the delay here. When we sync a run via wandb sync, wandb is supposed to generate a run-ID.wandb.synced file. Let's start with a few tests to figure out what is happening here -

Could you try to generate a new run in offline mode and check your directory? Then let's try to sync your run and check the directory for your .wandb.synced file.
Then, lets re-run the same command to test if running sync on a run is re-syncing the file for you.

This should give us a sense for what is going wrong, we should be able to dig deeper into debugging from there. I would also recommend upgrading to our latest SDK version : 0.13.3.
Thanks,
Ramit

I think that it is in wandb interest to fix the bug, which hasn't been fixed (and it doesn't seem like no effort was taken to fix it).
Since I have already tried a few suggestions by the wandb team that didn't work, until the issue will be resolved I will simply create new runs each time I sync, or switch to another platform.

Hey @yuvalkirstain,
Understood, we have already created an internal ticket to track this issue and resolve it, and I absolutely agree that this is something we should resolve. I'll reach out to you once some movement has been made here.
Thanks,
Ramit


No redundant newline at the end of .copier-answers.yml.

Is your feature request related to a problem? Please describe.

Currently, there is a redundant newline at the end of the generated .copier-answers.yml which violate the hook end-of-file-fixer in pre-commit-hook.
Describe the solution you'd like

No redundant newline at the end of .copier-answers.yml.
Describe alternatives you've considered

N/A
Additional context

I tried to find the related code but failed, if with guidance, I am willing to fix this tiny issue if confirmed.

Maybe we should have it as the default sample in documentation [1]?

Indeed. Let me reopen.

The lack of that instruction is not a bug. It's just something that will produce a file with 2 empty lines at the end, which is most likely not what you want, but is not really an invalid yaml file.
So, you can leave all the code and tests as they are. Just update the docs and readme.