datree: 1.6.33 -> 1.6.37

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/datree/versions.
meta.description for datree is: "CLI tool to ensure K8s manifests and Helm charts follow best practices as well as your organization’s policies"
meta.homepage for datree is: "https://datree.io/"
meta.changelog for datree is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.6.36 with grep in /nix/store/b3dvmm61wr93q3xlhd9rw1zj9hdhjdg8-datree-1.6.36
found 1.6.36 in filename of file in /nix/store/b3dvmm61wr93q3xlhd9rw1zj9hdhjdg8-datree-1.6.36

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
datree

Instructions to test this update (click to expand)

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

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

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

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

1 package built:

datree

Maintainer pings
cc @jceb for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/datreeio/datree/releases.
meta.description for datree is: "CLI tool to ensure K8s manifests and Helm charts follow best practices as well as your organization’s policies"
meta.homepage for datree is: "https://datree.io/"
meta.changelog for datree is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.6.37 with grep in /nix/store/b5770aicm53ia76m7nl074fb5vzxxa2w-datree-1.6.37
found 1.6.37 in filename of file in /nix/store/b5770aicm53ia76m7nl074fb5vzxxa2w-datree-1.6.37

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
datree

Instructions to test this update (click to expand)

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

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

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

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

1 package built:

datree

Maintainer pings
cc @jceb for testing.


Document branch coverage

Document and assess the manually implemented branch coverage for 5 functions with high CC.

Is this required (i.e. documenting the manually implemented coverage? I couldn't find anything about in on Canvas.

Yeah just checked grading criteria and it seems that documentation is not needed. Can be covered by the other issue "Improve branch coverage".


manual migration4 0

[x] add intro  section to every manual.
[x] add how to buy tutorials

done


Responsive Flexbox Ordering

I have a flexbox and I would like to reverse its flex direction depending on the breakpoint. I'm trying to achieve the ordering as below:
Desktop view:
| 1 | 2 |
| 3 | 4 |
| 5 | 6 |
Mobile (notice how 3 and 4 switch):
| 1 |
| 2 |
| 4 |
| 3 |
| 5 |
| 6 |

You can use order props with arrays to change the order of elements based on breakpoints.
<Box order={[3, 4]}>Element 4</Box>
<Box order={[4, 3]}>Element 3</Box>

https://rebassjs.org/Box#props

@djordjevlais This is exactly what I needed. Thanks!


enable travis in docker

[ ] get reviews

Nice! thats what I expected to see.

@nimakaviani it looks like the process has improved since I last tried. I think we need to make our code and test resiliant to the pull taking time, but this may be enough for a real test.


Fix read-only instantiation bug with optional date instances on class models

Dates are considered "directly assignable", but they do support numbers as an input value, meaning they're not really directly assignable. This was an issue for optional types, which assumed that the incoming snapshot was good to directly assign, if it wasn't one of the "undefined" values.
This PR fixes that by using the existing expressionForDirectlyAssignableType helper for assigning values that are considered directly assignable.
🎩 ✅ Verified the test fails before (for the number case) and passes after.

☝ unfortunate, but makes sense because now we're actually having to instantiate the Date objects, whereas before we were letting the raw number pass through (correctness trumps perf!).


Wrong columns in ortholog table on reference page

https://www.pombase.org/reference/PB_REF:0000008
The "Gene" column should be the pombe gene an the product should be the pombe product.  The "Ortholog species",  "Ortholog gene" and "Ortholog description" should have the cerevisiae details.

Fixed.  It's much more sensible now!


API Documentation for VSCode Extension Authors

Can some examples or documentation please be written to show VSCode extension authors how to use the VSLS npm package here - https://www.npmjs.com/package/vsls
Examples and documentation is more useful to all, rather than blindly coding around in the dark.
Thanks,
Warren :)

Hey @warrenbuckley , the README at https://www.npmjs.com/package/vsls contains documentation for virtually the entire API surface. Then there's vsls-contrib which contains practical examples of how to use the API. Does that help?

Maybe it should be exposed in the main docs on VS Code docs site. It was a lot of digging here & there to find the npm package.
It’s like your part of a secret gang if you do manage to stumble across and find it. So anyway you can surface the npm package & those examples elsewhere would be awesome for extension developers.
Thoughts @daytonellwanger ?

Yup! Definitely makes sense. We don't want Live Share extension development to be a secret club 😁. I want EVERYONE writing Live Share extensions!
@fubaduba @lostintangent  can we make our extensibility support more visible for devs like Warren?

It should be documented that some APIs are allowed only for whitelisted extensions.
It should be documented that FileSystemProvider by Live Share does not support binary files. #3791.


Set up domain: https://cdc.gov/prime

CDC WCMS has done this already, we just have to get clearance to publish.

Test URLs
| Admin Url | DEV Target URL | LINK Target URL
-- | -- | -- | --
Staging (sandbox) | https://wcms-wp-stage.cdc.gov/prime/wp-admin/ | https://wwwdevstg.cdc.gov/prime/ | https://wwwlinkstg.cdc.gov/prime/index.html
Production | https://wcms-wp.cdc.gov/prime/ | https://wwwdev.cdc.gov/prime/ | https://wwwlink.cdc.gov/prime/ (internal)https://www.cdc.gov/prime/ (external)
Intranet documentation
https://webinfo.cdc.gov/display/DTT/PRIME+Site


No files matching the pattern "/__uno.css" were found.

Prompt "No files matching the pattern "/__uno.css" were found."
And I can't close or ignore it.

Can you please provide a minimal reproduction?

---init---
npm create vite@latest my-vue-app -- --template vue-ts
cd my-vue-app && npm install
npm install --save-dev stylelint stylelint-config-standard vite-plugin-stylelint unocss
---vite.config.ts---
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import Unocss from 'unocss/vite'
import StylelintPlugin from 'vite-plugin-stylelint'
export default defineConfig({
  plugins: [
    vue(),
    StylelintPlugin(),
    Unocss()
  ]
})
---.stylelintrc.json---
{
  "extends": "stylelint-config-standard",
  "ignoreFiles": ["**/*.vue"]
}
---main.ts---
import 'uno.css'

I don't know how to deal with virtual files like uno.css or __uno.css. One solution is to set exclude.
// vite.config.ts
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import Unocss from "unocss/vite";
import StylelintPlugin from "vite-plugin-stylelint";

export default defineConfig({
  plugins: [
    vue(),
    StylelintPlugin({
      exclude: [/node_modules/, /uno\.css/],
    }),
    Unocss(),
  ],
});

PR welcome if you have better solution.

I think I need to pin this. I actually know little about virtual modules. 😅

No, what I need is to exclude.
I tried "exclude: ['uno.css']" and it didn't work
Now it works, thank you!

v2.3.0 released. The plugin ignores virtual modules by default now. Open a new issue if someone is still facing this problem.


⚠ Fortnite has degraded performance

In 75a7227, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1652 ms

Resolved: Fortnite performance has improved in f015bf6.


Error when invoking dotnet outdated from a folder with .proj files

Whenever I run dotnet outdated (version 3.2.1) in a folder that contains more than 1 .proj file, it fails with the following error:
C:\temp\tests> dir

    Directory: C:\temp\tests

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d----          22/10/2021    14:03                src
-a---          22/10/2021    10:08           3849 build.proj
-a---          22/10/2021    10:08           4618 run-unit-tests.proj

C:\temp\tests> dotnet outdated --version
Specify which project file to use because this 'C:\temp\tests' contains more than one project file.
C:\temp\tests> dotnet outdated ./src/MyProject.sln --version-lock Minor --fail-on-updates
Specify which project file to use because this 'C:\temp\tests' contains more than one project file.
C:\temp\tests>

Note that those files are not the ones I want dotnet outdated to run against. But even when specifying a target solution it fails.
My only way out was to move these .proj files somewhere else.

Same issue here, when running dotnet outdated the Path argument is ignored, no matter if I specify a *.*proj file or a folder. However, when running %USERPROFILE%\.dotnet\tools\dotnet-outdated.exe directly, the Path argument is taken into account properly. So maybe that could be a work-around for you, too?

@mfschumann Thanks for the tip!

Same issue. I did check that I have 3.2.1.  It even fails if I just try "dotnet outdated --help", so it is pretty early in the process.
It does work for me if I move out of the directory and then add the path, like:
dotnet outdated myproj/myproj.csproj
at least in terms of viewing changes. I have not yet tried actually updating a project.


App Connector Module - Migrate component tests from Kyma repo to the module

Acceptance criteria

Move tests from Kyma repo to Application Connector module repo.
Ensure the tests are run in a pipeline

@m00g3n mentioned that there 2 problems with tests. related to

missing istio installation
To be added


Game crash when joining my server

issue is certainly caused by bobby
crash-2023-08-14_12.55.05-client.txt

What version of Sodium Plus are you using?

Oh nevermind, this is an issue with 2.2.6. I will fix the issue as soon as possible. I didn't think I updated any mods or changed anything in that version so I didn't test as much as I usually do. Thanks for reporting


Fix bug in ProcessNormalization::dump()

We were reporting symmetric thetas as asymmetric ones.

Thanks for the fix, merging now.


ARROW-14821: [C++][R] Implement bindings for lubridate's floor_date, ceiling_date, and round_date

This implements RoundTemporalOptions.change_on_boundary and RoundTemporalOptions.calendar_based_origin parameters in C++ to enable temporal rounding in R (ARROW-14821).

@djnavarro this is almost ready for review.

@djnavarro do you think this will cover requirements on R side?
I've tried to use R to create the test data where possible and do sanity checks but I'm slowly developing test blindness :)
@pitrou @jorisvandenbossche could you please review the changes here? The R style rounding demanded some more logic and maybe something I'm missing something that can be simplified.

ping :)

@jorisvandenbossche mind re-reviewing this one? Seems it has been open for a few days without further feedbacks.

@pitrou Added suggested comments.

CI issues seem unrelated.

@jorisvandenbossche this would unblock #12154 which would be great to have for the release :).

@lidavidm any thoughts here?

Sorry for the slow response!

No worries. Thank you for the review!

Do we know if "strict ceil" is a typical term for this behaviour? (it could also be "ceil_on_boundary" to make it more explicit about "ceil")

The reason we're adding this behaviour is lubridate and there the parameter is called change_on_boundary, e.g.:
ceiling_date(x, unit="day", change_on_boundary=FALSE)
ceiling_date(x, unit="day", change_on_boundary=TRUE)

Docs here. There is another odd behaviour where change_on_boundary=NULL is the same as change_on_boundary=TRUE for dates but not other types. I think we best tackle that in R wrapper.
To me x_on_boundary sounds better than strict_x but I don't feel strongly about this.

I suppose we can either document behaviour or let user choose the "origin unit". I would prefer to just document for now.

Ah, letting the user choose could actually also be interesting: it leaves the custom logic to determine what the "greater unit" is to the R lubridate bindings, and it actually gives some flexibility to the user of the actual kernel (for example, you could want to round to a multiple of weeks since the start of the month or since the start of the year) Would that be a lot of code change to do?

I'm honestly not sure about the change required. Right now we have 11 pairs of units and we'd go to 55 (?), plus we'd have more physical-to-calendar units interaction plus this then needs to be tested for zoned and nonzoned cases. I'd prefer to push that into a separate PR and unblock the R work.

@rok Thanks so much for your work on this! Now that this has been merged I'll make another attempt to finish up https://github.com/apache/arrow/pull/12154 😁

@rok Thanks so much for your work on this! Now that this has been merged I'll make another attempt to finish up #12154 😁

It's not merged yet ;)

My fault for typing before coffee 🤦🏻♀

@pitrou
What does "we will ultimately test this against lubridate" mean here? I do not see any added R tests...

I'm referring to the R part of ARROW-14821.

I might have lost track, but I think we addressed everything here? @pitrou
#12528 is still very much in the air, but will need to be rebased anyway after this is merged.

@pitrou @jorisvandenbossche ping :)

There was the issue about calendar_based_origin=True potentially breaking sortedness (as discussed in https://github.com/apache/arrow/pull/12528).
Are we fine with this caveat? (and mention it in the docs?) Or would it be possible to guard the user from that ever happening?
For example, if you round by "x" minutes, the origin unit is an hour, and in that case we could error if one hour is not dividable by "x"? Although for hours and below that can work, but I suppose for days, months, years that is not possible?

There was the issue about calendar_based_origin=True potentially breaking sortedness (as discussed in #12528).
Are we fine with this caveat? Maybe yes, since it is also what lubridate does (but mention it in the docs?). Or would it be possible to guard the user from that ever happening?

I think we're ok with calendar_based_origin=True breaking sortedness as it would be an explicitly chosen way of rounding for users outside of lubridate. I'll add a note about this to docs.
We could also introduce perserve_sortedness flag in #12528 and handle calendar_based_origin=True case.

For example, if you round by "x" minutes, the origin unit is an hour, and in that case we could error if one hour is not dividable by "x"? Although for hours and below that can work, but I suppose for days, months, years that is not possible?

Lubridate actually limits to time multiples smaller or equal than the greater time unit - e.g. "61min" is not a valid rounding, but "60min" is. Your proposal makes things safer but we might want to "deregulate" it later. Leaving things as is gives more options but we might need to limit them later. Dunno, I don't have an opinion on this.

@jorisvandenbossche added an example to doc to present the issue with calendar_based_origin=True.

@pitrou do you think this is ready to merge?

TBH, I'm starting to think that calendar-based rounding is sufficiently different that we might define separate functions for it (e.g. "ceil_calendar" as opposed to "ceil_temporal"). We might also not bother refactoring this again :-)

@pitrou or are you saying we should refactor now? :)

@rok As you prefer. We can merge this as is if you want.

Ok, let's do it.

Thank you for the reviews and feedback @pitrou & @jorisvandenbossche !


add support to forward auditd to syslog

Add support to forward auditd log messages to syslog and fix some cookstyle offenses.
It can be set up with a attribute default['auditd']['syslog'].

@safematix it looks like there have been changes in master that conflicts with your work. Can you rebase onto master? Hopefully the build system won't jam on your next build.

@safematix it looks like there have been changes in master that conflicts with your work. Can you rebase onto master? Hopefully the build system won't jam on your next build.

Made the changes. :-) Unfortunately kitchen is missing the license now, so Travis is failing.


Failure while compiling demo programs

Trying to build the demo programs with GCC 10.2 results in three build errors:
[ -s demo_sum.f90 ] && gfortran  -std=f2018 -fcoarray=single -Wall   -o demo_sum demo_sum.f90 || echo demo_sum
demo_sum.f90:1:27:

    1 |            program demo_sum
      |                           1
......
    7 |           program demo_sum
      |                          2
Error: Two main PROGRAMs at (1) and (2)
demo_sum

[ -s demo_stop.f90 ] && gfortran  -std=f2018 -fcoarray=single -Wall   -o demo_stop demo_stop.f90 || echo demo_stop
demo_stop.f90:3:69:

    2 |          implicit none
      |                      2
    3 |          use, intrinsic :: iso_fortran_env, only : stderr=>ERROR_UNIT
      |                                                                     1
Error: USE statement at (1) cannot follow IMPLICIT NONE statement at (2)
demo_stop

[ -s demo_atomic_ref.f90 ] && gfortran  -std=f2018 -fcoarray=single -Wall   -o demo_atomic_ref demo_atomic_ref.f90 || echo demo_atomic_ref
demo_atomic_ref.f90:6:34:

    6 |             call atomic_ref(atom, .false.)
      |                                  1
Error: ATOM argument at (1) of the atomic_ref intrinsic function shall be a coarray or coindexed
demo_atomic_ref.f90:8:34:

    8 |             call atomic_ref(atom, val)
      |                                  1
Error: ATOM argument at (1) of the atomic_ref intrinsic function shall be a coarray or coindexed
demo_atomic_ref

Thanks! I've been on an older machine without the atomic procedures and stop all and a few other things lately, and admit I did not run my demos. I think I got all three. Appreciate the feedback! Upgrading a machine today; will hopefully have at least gfortran 10 again soon if all goes well.

Thanks for looking into this, with the latest master I get another failure:
[ -s demo_stop.f90 ] && gfortran  -std=f2018 -fcoarray=single -Wall   -o demo_stop demo_stop.f90 || echo demo_stop
demo_stop.f90:16:13:

   16 |             all stop
      |             1
Error: Unclassifiable statement at (1)
demo_stop

Never seen an all stop statement before, is this a special vendor extension?

Demo programs are now all working for me


In watch mode, regenerations should also happen if .TIE.toml changes

Currently it only regenerates on changes to .elm files.

Closed in 14e073aad186b7fbd491b773a20c54c2978f53ae


Streaming response with Observable

Thank you for the great work! I used before RestyGWT, but Autorest is a great new solution.
I try to stream a search result from the server to the client.  On the server side I use the StreamingOutput from Jaxrs. On the client I tried to work with Observable and get every result with onNext(...). But the onNext() Method is not called until the hole response is received.
Is there a way to get a stream of results?
Best regards
Michael

Might be... although this is a pretty cool and interesting use case, I think that in practice is not quite important for typical applications. Anyway, if this is possible add it to some of the autorest samples will be awesome. How do you read (in streaming mode) this kind of streaming responses in JS? (this is the first thing to solve to see how to integrate in GWT).

I have been investigating how responses can be readed in streaming mode. And I think that standard XmlHttpRequest responses can be readed at once at finish (standard case), or can be readed in modern browsers using the progress event. With this event you can read multiple time the whole text, which get incremented in each notification, this "might be useful" but if you need to parse the json response, this is even more complicated because you need a custom parsing to allow partial json decoding. This is a pretty poor strategy to implement streaming responses, although in some cases might be useful, doesn't look very useful in general.
Later on, I started investigating SSE and I have created this mini project to see how it can be integrated and how it works https://github.com/ibaca/autorest-streaming-example. This looks more easy to integrate, and more useful in general.
Anyway, some kind of simplification of the first problem might be much easier to implement, specially if you send data in lines, or some kind of easy to split encoding. If you are interested, I recommend that you create a similar project than autorest-streaming-example, and customize the XhrResourceBuilder to support some custom progressive decoding format.

Thank you very much for your investigation. I will try to implement my result streaming according your example. After that I will give you a feedback about it.

I'm going to close this. This is interesting, I'm still making some updates to the autorest-streaming-example...  but I'm not sure how to integrate this in the server side.


Passing calling signals between page

Currently i am using one page with all the signaling function.
However, i am thinking on creating multiple page. Is there any way i can pass the signals between pages if the user went on another page?

I recommend you use the Bloc Pattern, separating your signaling functions from the UI.

Thank you for answering. I am still new with flutter so I am still learning about it. Is there any documentation you would recommend for the bloc pattern or is there any flutter webrtc that used bloc pattern?

https://bloclibrary.dev/#/
I will close this ticket since is not related to this library.


separate donation and cost column

How will we calculate cost though

just sum it. the donation is set by the user and the cost is set by the pilot. they need to be separate columns for record keeping purposes as well as interaction purposes.


build: enable user dir access for local webpack instance

Small QOL update to allow local webpack instances to access files within the /user/webpack directory inside the git root.  This is so user files (resources/sound files, etc.) can be accessed regardless of whether an overlay is pointed to a local plugin install or webpack.
(NB: Although webpack_dev does have access to the /resources dir, that dir is tracked for git updates whereas /user is not.)

@MaikoTan - I think you've probably looked at webpack most recently.  Would you be able to review this?

Well, I have migrated to Vite stuffs for a while, it is still okay I can get your point, though. It looks good to me, although I think this would only be available to developers or someone who could build cactbot on their own. So, can you update the document somewhere mentioning this feature (?) when the user are willing to build the cactbot manually?

Will do!  And yes, the intention was to allow devs or others who regularly run from webpack instead of the release build to have a local user dir with resource files :)


Additions of New Tags Permission to Android

Based on the title, there were some new permissions that were added which includes "stream-team-videos" and "stream-personal-videos" which was causing some users to not have access to some contents. Also, 2 tests were written to verify the permission checks during the login session.
Here is a link to the issue https://github.com/razeware/emitron-Android/issues/352

👍 Not sure I follow it completely, but it seems ok to me at first glance. Thanks!

Its there a way to actually test it, with user accounts? @sammyd

If you sign up for a new kodeco account, I can give you the new permissions and you can give it a try?

If you sign up for a new kodeco account, I can give you the new permissions and you can give it a try?

Here is the new account, LMK when you have done it. Also where in particular should test it in the app?
Username: @dev_testing

If you sign up for a new kodeco account, I can give you the new permissions and you can give it a try?

Here is the new account, LMK when you have done it. Also where in particular should test it in the app?
Username: @dev_testing

@sammyd Not sure if you missed this, have the access been granted to the account?

@KelvnPere So sorry for the delay—I've been out of the office this week. This account should now have the required access.

@KelvnPere So sorry for the delay—I've been out of the office this week. This account should now have the required access.

No issues, that's totally fine. Can you provide me like a keyword search so i can fully test the app with that account. In other words, the videos that one with that access should have access to. Thanks
@sammyd

@KelvnPere sorry I completely missed this comment. That account should have access to all videos.

@sammyd I have tested it from my end and it looks good. Also, i think the dev_testing in the collection page was showing some contents locked which i feel has to do with the correct permissions. When i tested it with my normal work kodeco account it showed correctly and fine.
This is good from my end.

@sammyd


Run VS Code commands from code cli

Is it possible to run VS Code commands from code CLI? This would be especially useful from the integrated terminal.
Example use-case I have currently is configuring code to use specific python environment: I run which python in the console after activating the desired env, and the paste the binary into the "Python: Select Interpreter" command. Would be great to do it with one command directly in the terminal.

cc @karrtikr for the python use case

@tomasz-sodzawiczny Try setting python.defaultInterpreterPath in settings.json to full path of environment you wish to select.

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


how to use

I cannot find the guided attention loss ?can i use it?

I have find it.In the train-text2mel.py


XHR's fail with invalid or self-signed SSL certificates

Making HTTPS requests using WKWebView fail when the remote server uses a self-signed SSL certificate.
Failed to load resource: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “dev.myapiserver.com” which could put your confidential information at risk

For a production build of an app this isn't be a problem, but during development self-signed certificates are common and as far as I can tell there's no configuration to allow insecure certificates?
Is there a workaround or possible to fix within the scope of this plugin?

Could you provide what version of iOS you are seeing this on?  This appears to be an issue on iOS 8, but could still be an issue with newer iOS as well.
Some resources
http://stackoverflow.com/questions/27100540/allow-unverified-ssl-certificates-in-wkwebview/32507262#32507262

Sorry, I'm seeing it on iOS 9.3 (iPhone 6S Plus Simulator). Built with Xcode 7.3.1.
I browsed through that and some other similar resources before posting. I'm definitely not getting any challenge dialog asking to accept the insecure cert.

After more testing I realized this isn't specific to WKWebView.
In UIWebView, my app was working around it by using Cordova Certificate plugin: https://github.com/hypery2k/cordova-certificate-plugin. But this plugin doesn't work in WKWebView.
Regardless, would be great if there was a way to allow invalid certs in WKWebView without other plugins.

@bostondv  there is in fact a way:
https://developer.apple.com/library/ios/documentation/WebKit/Reference/WKNavigationDelegate_Ref/index.html#//apple_ref/occ/intfm/WKNavigationDelegate/webView:didReceiveAuthenticationChallenge:completionHandler:
but I am not sure it is responsibility of this plugin to implement it but another plugin, such as cordova-certificate-plugin

ping @hypery2k

feel free to open up an issue for this, but currently I'm busy with other stuff, so may take a while

Will do, thanks @manucorporat @hypery2k
I'm no Obj-C expert, but may take a stab at implementing it.

The problem is not the objective C part, the effort comes from make the plugin recognize which WebView is used ;)

I am going to close this issue since this feature should be fulfilled by another plugin.
@hypery2k I might try to contribute to your plugin, but it is low priority right now ;)

@hypery2k why not allow the user to specify webview as an argument sent to the plugin as there are ways of determining the webview in use on the javascript side.  This could also potentially deal with incorporating crosswalk support as the dev should be able to specify and then the native component doesn't have to detect and switch automatically.

great idea. But currently to have time for this, but any PR is welcome

@manucorporat as the certificate plugin hasn't been updated in quite some time and looks like the maintainer has minimal time to dedicate to it these days I think this should be re-opened and built into the wkwebview plugin.
The ionic branch of this plugin is now actually useful and well beyond the original cordova core plugin, one persistent issue that I have though is that many of my app users connect to a server that uses a self signed certificate, which means I am getting a lot of support requests about it not working and have to ask people to use unencrypted connections instead which many don't like.  There is no way to easily get a valid cert on the server side as the server is run on peoples home NAS or computer or cloud account.  The value is in the encrypted transport not the identity confirmation.
Could a similar acceptunsigned(true/false) method be added to the wkwebview plugin which would be false by default but all users to enable if their app needs it.
I would love to be able to contribute a PR but it's a bit above my pay grade unfortunately!


Add MSRV to README/CI

As pointed out in #265, trying to do cargo install requires the latest stable rust version (1.46 as of now) due to the transitive dependency on smol_str. This PR pins that dependency to 0.1.16 which doesn't require latest stable.
This PR also adds a badge to the README stating the Minimum Stable Rust Version that this crate (and all targets) can be built with, as well as adds a CI check to ensure we don't accidentally change the minimum version during development.
Resolves: #265

Nice!


[EOL] Update _maintenance-table.md

There was no 6 month release cycle for 0.9 and earlier.

Support for 0.8 was dropped in Nov 2013 (with 0.8.6).
Support for 0.9 was dropped in Jul 2015 after the release of 0.11.1 and the last minor version in May 2015 (0.9.5)

I disagree. Maintenance support and EOL are not the same. Maintenance period is Current release 0.X where maintained versions are 0.X and 0.X-1. However, that does not end support entirely: critical security issues will continue to be back-ported even if no binaries are produced until the EOL date. EOL is the date at which we are declaring, "if there are any problems with that version beyond that date, you must upgrade to a newer version to get the fix, even if it's a critical security issue". Since critical security issues are extremely rare, this is not a burden of development, and has been the status quo
0.8.6 was tagged on 2013-12-09, maintenance end was 2014-03-19 and received it's last security patch on 2015-02-17.
0.9.5 was tagged on 2015-05-21, with last commit 2015-10-15.
I also disagree with having rough months, over specific dates.

There seems to be some misunderstanding. I will try to reach you via IRC in the coming weeks.

@MarcoFalke OK.

a779f2381dda088cbd23033f0ab62bec45960495 looks good. Thanks @btcdrak


Node device out cannot yet execute actions that require a parameter.

Node device out cannot yet execute actions that require a parameter. eg changeDimlevelTo is not supported.

Any progress on this? I'm now using a work around by sending a MQTT message, which then activates the function. Leaving this step out could make it faster and easier.
This plugin is really very nice, it makes it much easier to implement more complex rules and re-usability is much better as well.

Thanks for the reminder! I have been working on it now and it is almost done. To keep things simple it only allows a single parameter. Would that be sufficient for now?

This is what I currently have. The parameter can be specified by setting msg.parameter of by setting a fixed value in config.

Nice!
For me a single parameter is enough (for now ;-))
Let me know if you need help with testing!

I just uploaded version 0.0.6!

Great! I'll try to test it this weekend.
Op zo 23 okt. 2016 om 22:22 schreef circuitdb<EMAIL_ADDRESS>
I just uploaded version 0.0.6!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/circuitdb/pimatic-node-red/issues/3#issuecomment-255611863,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKqfY4e4iDq-CVzEAY2Uk7aX0oOHYAJ0ks5q28IIgaJpZM4J20UU
.

Thanks for the update, I've tested it and works great!

Good to hear!


[ISSUE] Elasticsearch Helm Chart configuration "extraConfig" from the parent Elasticsearch chart cannot be used

Describe the issue:
The update to 8.3.0 also uses a newer version of the Elasticsearch Helm Chart from Bitnami. Here, the setting of the configuration has probably changed somewhat.
However, the Camunda Helm Chart sets its own emptyDir on the corresponding path, which then in turn leads to an error if the "extraConfig: {}" parameter from the Bitnami Helm Chart. Error reads something like "Cannot parse config... is a directory".
Actual behavior:
https://github.com/camunda/camunda-platform-helm/blob/fa5dae2fd59bbe9f227f344e8c36e7de4cc01b6b/charts/camunda-platform/values.yaml#L2978,L2979
The Elasticsearch cluster fails to start successfully and terminates with the corresponding error.
Expected behavior:
The Elasticsearch cluster stays healthy even with the extraConfig parameter set.
How to reproduce:
Use the following elasticsearch configuration:
camunda-platform:
  elasticsearch:
    enabled: true
    extraConfig:
      node:
        store:
          allow_mmap: false
      index:
        store:
          type: niofs
    sysctlImage:
      enabled: false

Logs:
Error reads something like "Elasticsearch Exception: Cannot parse config... is a directory".
Environment:
Kubernetes (GKE)
Please note: Without the following info, it's hard to resolve the issue and probably it will be closed.

Platform: GKE Kubernetes
Helm CLI version: 3.12.2
Chart version: 8.3.0
Values file: see above

I will try to reproduce this issue.

This should be fixed now.


Bring Your Own Key

Allow users to supply their own API key/access token to use proprietary/cloud-hosted LLMs.

SlideDeck AI now allows the use of Google's Gemini 1.5 Flash and Cohere's Command R+ LLMs.
Users can provide appropriate API keys via the UI.
User-provided access token for HF is also allowed. Otherwise, a default key is used.

This issue will be closed now. Support for additional LLMs/providers may be considered in the future, if such a need or demand arises.


Cannot run the second :roslaunch acl_sim perfect_tracker_and_sim.launch

Hello!
When I run the second :roslaunch acl_sim perfect_tracker_and_sim.launch,I meet error:
... logging to /home/gyl/.ros/log/2af5c044-8e6d-11ec-a867-bcf1718f8dce/roslaunch-gyl-Lenovo-31967.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage.
Param xml is
The traceback for the exception was written to the log file

git clone https://github.com/tu-darmstadt-ros-pkg/hector_models , get the hector_sensors_description ros package. the question is solved!


Consider using EXPIRE to reduce memory usage?

In the case of a big number of users.
Using our current implementation we may have to store two KVs per user.
If we use EXPIRE, then in the ideal case most of the user will not even exist in the Redis instance, would this be considerable? Or do you think it's too expensive to host expiration for each of the existing user hit rates?

expire is already taken by setex, and the expiration time is double the rate limit bucket fill time.
local ttl = math.floor(fill_time*2)
...
redis.call("setex", tokens_key, ttl, new_tokens)


Tooltip widget is missing textAlign: property

If you use \n inside of the text, which you pass to the tooltip message as a string, to make it multilined, there is no way to align it by center, it's aligned by the left side by default.

@kirill-21
I used the official demo code and added \n to make the text multi-line and then hovering over it shows the tooltip at the center:

return const Tooltip(
      message: 'I am a Tooltip',
      child: Text('Hover over this long\n text over the text to show a demo bug or feature request \n to show a tooltip.'),
    );

If I misinterpreted the issue, can you provide more details and an example ?
Thanks.

@kirill-21
I used the official demo code and added \n to make the text multi-line and then hovering over it shows the tooltip at the center:

return const Tooltip(
      message: 'I am a Tooltip',
      child: Text('Hover over this long\n text over the text to show a demo bug or feature request \n to show a tooltip.'),
    );

If I misinterpreted the issue, can you provide more details and an example ?
Thanks.

No, not the tooltip itself. I'm talking about the text inside of the tooltip 'I am\na Tooltip'

Thanks for clarifying.


Fixes #1692 - improved error for unsupported commands

Moved the CommandName and related enums to be top level as they are used in multiple places and not a sub component of the Commmand interface.
Fixes #1692
Which issue(s) this PR fixes:
Fixes #
Checklist

[ ] Changes manually tested
[ ] Automated Tests added/updated
[ ] Documentation added/updated
[ ] CLA Signed: DataStax CLA

Ok would have been good to discuss this wrt #1592 / PR #1645 first.


wealthDice being null causes fatal error

at line 367 in shared.js and line 1095 in DDBClass.js the checks are not catching for the value of this.ddbClassDefinition.wealthDice being null. This is allowing the next parts of the code being called where since the diceString and diceMultiplier are not set a type error is thrown. Adding a small check for the value of wealthDice being/not being null would resolve this.
I tried to create and push a branch with a fix to make a pull request for but I do not have permission to do so. My bad.
DDBClass.js:
_generateWealth() {
if (!this.ddbClassDefinition.wealthDice && this.ddbClassDefinition.wealthDice != null) return;
const diceString = this.ddbClassDefinition.wealthDice.diceString;
const diceMultiplier = this.ddbClassDefinition.wealthDice.diceMultiplier;
this.data.system.wealth = diceMultiplier && diceString
? ${diceString}*${diceMultiplier}
: "";
}
shared.js:
if (klass.wealthDice && klass.wealthDice != null) {
const diceString = klass.wealthDice.diceString;
const diceMultiplier = klass.wealthDice.diceMultiplier;
result.system.wealth = diceMultiplier && diceString
? ${diceString}*${diceMultiplier}
: "";
}
Edit: did some more checking and it is specifically failing when calling _generateWealth

Please provide a character url and an version for DDB importer this is happening in, as I believe it is fixed, and is caused normally by trying to import a 2024 character using a version of DDB Importer that does not support it.

That was it! Thanks

Sorry, closing.


Add compatibility define when building with OpenSSL3

This is required for now when building with OpenSSL 3 until we switch to the new APIs and stop using the deprecated OpenSSL APIs.

[approve ci fedora]

Linking to #7341 which has a list of the deprecated functions ATS uses.

Are we really ok for master to use OpenSSL APIs for hashing etc. that calls malloc() on every lookup? This is in reference to 10.0.0 and the changes that were made there.

Cherry-picked to v9.2.x

Cherry picked to 9.1.x


Error when chatting with a new Character.

Whenever I start a chat with a character that I have no previous history of chatting with, I encounter an Exception with the JSONDecodeError.
The Raise Exception is:
Exception has occurred: JSONDecodeError
Expecting value: line 2 column 1 (char 1)
StopIteration: 1

During handling of the above exception, another exception occurred:

  File "C:\Users\User\Test\app.py", line 9, in <module>
    chat = client.chat.get_chat(char)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)

I read from a previous issue that this exception is only raised when the server of CharacterAI is either down or overloaded. But this doesn't seem to be the case in this error.

Hi, I just now trying this project and its worked, after see ur issue I realised something in the character char,

Some character have link pattern like this, its use 'chat'.

But when you try a character that used 'chat2', its doesnt work anymore.
Maybe you should try other character that use old pattern. Btw, sorry for my bad english.

use this instead, sorry this is from my project but its worked. :
`
from characterai import PyAsyncCAI
client = PyAsyncCAI("TOKEN_HERE")
char = "CHAR_HERE"
user_message = input("Input: ")
chat = await client.chat2.get_chat(char)
author = {'author_id': chat['chats'][0]['creator_id']}
async with client.connect() as chat2:
data = await chat2.send_message(char, chat['chats'][0]['chat_id'], user_message, author)
print(data['turn']['candidates'][0]['raw_content'])
`

Hi there,
Your error is caused by the server's response to a new character without any chat with you. Please look at the response below:
there is no history between user and character
Yes, it came with a 404 error and is not in JSON format; that's why there is an error. To fix this, you should try to maintain the library on your own to handle this error.


Godot 3.2.3 Mono Breaks with Latest Nvidia Drivers on Arch-Linux

Godot version:
3.2.3
OS/device including version:
Arch Linux, RTX 2070 Super, GLES3
Issue description:
After updating my Nvidia drivers (both nvidia and nvidia-utils packages) I suddenly got this error:
[traindoc@archpc ~]$ godot-mono
Godot Engine v3.2.3.stable.mono.official - https://godotengine.org
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  151 (GLX)
  Minor opcode of failed request:  34 ()
  Value in failed request:  0x0
  Serial number of failed request:  29
  Current serial number in output stream:  30
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  151 (GLX)
  Minor opcode of failed request:  34 ()
  Value in failed request:  0x0
  Serial number of failed request:  29
  Current serial number in output stream:  30
ERROR: initialize: Condition "ctxErrorOccurred || !p->glx_context" is true. Returned: ERR_UNCONFIGURED
   At: platform/x11/context_gl_x11.cpp:190.
ERROR: initialize: Condition "!p->glx_context" is true. Returned: ERR_UNCONFIGURED
   At: platform/x11/context_gl_x11.cpp:177.
ERROR: is_viable: Error initializing GLAD
   At: drivers/gles2/rasterizer_gles2.cpp:166.
Your video card driver does not support any of the supported OpenGL versions.
Please update your drivers or if you have a very old or integrated GPU upgrade it.

I have never received this error before on any system using Godot ever before. I have been moving my development environment over to linux and encountered no issues doing so until this driver update.
I am reporting this as a bug here because I know this is likely on nvidia, but I wanted to bring this to the attention of the Godot team at large.
Steps to reproduce:

Arch-Linux installed with xorg, light-dm, xfce4 and nvidia drivers.
Package List

Have the latest nvidia drivers, or if you have old drivers, update them to versions; nvidia: 455.28-3 nividia-utils: 455.28-1
Install Godot Mono
Attempt to launch godot (from console) and observe the above error.

Note:
I was able to downgrade to the previous driver versions and was able to run godot perfectly fine after the rollback by running this command:
yay -U /var/cache/pacman/pkg/nvidia-455.23.04-3-x86_64.pkg.tar.zst /var/cache/pacman/pkg/nvidia-utils-455.23.04-1-x86_64.pkg.tar.zst

(or without yay)
sudo pacman -U /var/cache/pacman/pkg/nvidia-455.23.04-3-x86_64.pkg.tar.zst /var/cache/pacman/pkg/nvidia-utils-455.23.04-1-x86_64.pkg.tar.zst

Did you reboot after installing the drivers? Nvidia drivers have a kernel component, a reboot is necessary. After an upgrade, any OpenGL application would fail.

Did you reboot after installing the drivers? Nvidia drivers have a kernel component, a reboot is necessary. After an upgrade, any OpenGL application would fail.

I did not have the chance too and had forgotten this element. I will update, reboot and edit this comment with the results. I suspect you are completely correct and in-experience with nvidia drivers in relation to arch likely is the problem.


Errors have no line number

Currently you might expect to get an error like this:
[21:27:36 ERROR]: [scriptcraft] javax.script.ScriptException: TypeError: Cannot read property "length" from undefined in <eval> at line number 36 at column number 6
Unfortunately, this does not provide the line number of the error. Is there a way to fix this? I seems to remember there is sometimes a line number, but I don't know exactly when.

Can you provide a reproducible case where specific code does not return the message you expect? This will help us to see what you're seeing and to determine if the output is correct or if there is a problem.
Are you using Java 1.7 or 1.8? Which version of ScriptCraft?

The simplest example would be:
events.playerMove(function() {
  df
});

where the error is
[17:22:05 ERROR]: Could not pass event PlayerMoveEvent to scriptcraft v3.2.1-2016-12-23
jdk.nashorn.internal.runtime.ECMAException: ReferenceError: "df" is not defined
	at jdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:57) ~[nashorn.jar:?]
	at jdk.nashorn.internal.runtime.ECMAErrors.referenceError(ECMAErrors.java:319) ~[nashorn.jar:?]
	at jdk.nashorn.internal.runtime.ECMAErrors.referenceError(ECMAErrors.java:291) ~[nashorn.jar:?]
	at jdk.nashorn.internal.objects.Global.__noSuchProperty__(Global.java:1426) ~[nashorn.jar:?]
	at jdk.nashorn.internal.scripts.Script$Recompilation$6023$86AA$\^eval\_.L:1$L:2(<eval>:3) ~[?:?]
	at jdk.nashorn.internal.scripts.Script$Recompilation$5807$1377AA$\^eval\_.L:1$on$execute(<eval>:61) ~[?:?]
	at org.bukkit.plugin.EventExecutor$$NashornJavaAdapter.execute(Unknown Source) ~[?:?]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-e2a288c]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.11.2.jar:git-Spigot-7d78b81-e2a288c]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.11.2.jar:git-Spigot-7d78b81-e2a288c]
	at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:615) [spigot-1.11.2.jar:git-Spigot-7d78b81-e2a288c]
	at net.minecraft.server.v1_11_R1.PacketPlayInFlying.a(SourceFile:126) [spigot-1.11.2.jar:git-Spigot-7d78b81-e2a288c]
	at net.minecraft.server.v1_11_R1.PacketPlayInFlying$PacketPlayInPosition.a(SourceFile:57) [spigot-1.11.2.jar:git-Spigot-7d78b81-e2a288c]
	at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.11.2.jar:git-Spigot-7d78b81-e2a288c]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_111]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_111]
	at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [spigot-1.11.2.jar:git-Spigot-7d78b81-e2a288c]
	at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot-1.11.2.jar:git-Spigot-7d78b81-e2a288c]
	at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.11.2.jar:git-Spigot-7d78b81-e2a288c]
	at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:675) [spigot-1.11.2.jar:git-Spigot-7d78b81-e2a288c]
	at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:574) [spigot-1.11.2.jar:git-Spigot-7d78b81-e2a288c]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]

Simplest example of no line number existing. Working on an example for the one I posted (from undefined in <eval>)

Thanks for the info. I see what you mean. This is probably information that only the JDK can provide. I'll look into it.

@demipixel - Check out this error line from your copy/paste:
at jdk.nashorn.internal.scripts.Script$Recompilation$6023$86AA$\^eval\.L:1$L:2(<eval>:3) ~[?:?]_
I believe that's telling us that the error occurred on L:2 of 3. Please experiment with that, move bad lines around, and see if that line in the stack consistently points to the error line.
In the next line of the stack we see on$execute at line 61. I believe that's a reference to the line that tried to call your playerMove event:
/src/main/js/lib/events-bukkit.js
61 handler.call( bound, evt, cancel );
I was going to suggest we add a try/catch block around that. In fact, events-canary.js does have error handling around that line but the bukkit version doesn't.
try {
      handler.call(bound, e, cancel);
} catch ( error ){
      console.log('Error while executing handler:' + handler +
                  ' for event type:' + eventType +
                  ' error: ' + error);
}

If @walterhiggins agrees, I think we should wrap the Bukkit call in an error handler. The Bukkit EventException (error variable) has a getCause() method from which we can get all of the exception info and maybe display relevant information more elegantly. We might even be able to pull the bad line number from the stack trace in there...
Waiting for responses from both of you before looking closer.

Yep, seems like looking further down in the stack will show the line number. Still would be nice to have an error line.

Not to be too literal but since the subject of this issue is "Errors have no line number" and we've found that there is a line number, I'm going to close this one item.
Now, as to having a line number further up, that's a separate enhancement request which will have its own life cycle and I'm hoping @demipixel will create it.
As to my notes about error handling, that's yet another topic for which I'll create another ticket soon.


Setup VS Code

As a [role]
I need [function]
So that [benefit]
Details and Assumptions
* [document what you know]

Acceptance Criteria
gherkin
Given [some context]
When [certain action is taken]
Then [the outcome of action is observed]

 from github

 Setup VS Code


Fix license headers

Some (many?) files contain a wrong license header including the words

Licensed to the Apache Software Foundation

These license headers need to be fixed to contain
SPDX-FileCopyrightText: 2024 Contributors to the Eclipse Foundation

See the NOTICE file(s) distributed with this work for additional
information regarding copyright ownership.

This program and the accompanying materials are made available under the
terms of the Apache License Version 2.0 which is available at
https://www.apache.org/licenses/LICENSE-2.0

SPDX-License-Identifier: Apache-2.0

merged


When the color picker overflows from the bottom, it always moves to the bottom left corner.

This bug can be replicated in all color pickers in the demo page. In contrast, the built-in color picker in Chrome and Firefox never overflow.

Here's screenshot. HEX suddenly changes to #000000A8.
.
As expected, browser's built-in color picker never overflows at the bottom (take  Firefox as example).

It seems that it will only overflow from the bottom, instead of other direction.


New API

The new API should be entirely functional, yet still allow of points to be extended. I propose the following method for distorting points:
warpObject.transform([x, y, ox, oy] => [
	x + 1,
	y - 1,
	isNaN(ox) ? x : ox,
	isNaN(oy) ? y : oy,
])

This example shows how to transform points and keep track of the original position. The function takes in an array of points where the first two elements can be guaranteed (the x and y positions) but allows returning an arbitrary number of points. The interpolation will also operate on all points, so extended points will still be interpolated.
This method will allow storing velocity vectors and anything else along with all points.

Might be worth considering this approach too: provide a vector initialiser to handle default values. This would allow the transform function to not need to check for undefined's.
warpObject.initVector([x, y] => [x, y, x, y])
warpObject.transform([x, y, ox, oy] => [x + 1, y - 1, ox, oy])

Transforming the points and setting the transform function should be two separate methods:
warpObject.setTransform([x, y] => [x + 1, y - 1])
warpObject.transform()

Normalisation options: none, path, pathAndCurve (default)

Interpolation and extrapolation should be explicit:
warpObject.transform(transFn)
warpObject.interpolate(threshold)
warpObject.extrapolate(threshold)

In reference to the initVector method above, this could actually just be replaced with a starting call to transform that does the same thing. Meaning initVector is redundant.
warpObject.transform([x, y] => [x, y, x, y])
warpObject.transform([x, y, ox, oy] => [x + 1, y - 1, ox, oy])

Taking inspiration from https://github.com/nfroidure/SVGPathData – create a path parsing/streaming/encoding sub-API that provides an interface to inject transforms when iterating over the path data. The linked API supports everything Warp.js needs out of the box, but it's compile size is unfortunately huge.
On second thought, a simple Array.map should suffice once the path string has been parsed. The kind of data the parser should output should be like https://github.com/hughsk/svg-path-parser – unfortunately this libraries compile size is far too big as well. I much more minimal parser should be possible.

This should be a good starting point: https://github.com/jkroso/parse-svg-path
Not a fan of the minimal output, and I could probably improve the code to make it more readable. Since it's tiny I'll just rewrite it for Warp.js. Transforms could just be plain functions that are passed to Array.map

New setting: precision – ability to set the numerical precision when generating path strings. Default to 2 (decimal places).

To address #4, I propose two new methods: preinterpolate and preextrapolate
They will take in both the transform function and threshold, and will interpolate points based on the position of points post-transform. The transform will not actually occur – a second call to transform will be required.


Account

Which package(s) are showing incorrect data?

https://swiftpackageindex.com/package/one
https://swiftpackageindex.com/package/two
...

Please explain what data is incorrect and what you expected to see
Give as much detail as possible.
If the problem relates to the compatibility matrix, does it apply to specific builds?
Please find the builds exhibiting the problem from the "Full Package Compatibility Report" menu item in the side menu and link the build reports here.

https://swiftpackageindex.com/builds/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
https://swiftpackageindex.com/builds/YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY

Where possible, try and replicate the problem you have found by running the "Build Command" at the top of a build report. This command is what our build servers execute.
Screenshots
If they would be helpful, please add screenshots to help explain the problem.
Additional context
Is there anything else we might find useful?

@jeroenleenarts


Example/Standard configs

Is your feature request related to a problem? Please describe.
There are a number of standard proxy configs which are required for many self hosted solutions (ie Jellyfin, sonarr, gitea, grafana, etc)
Describe the solution you'd like
It would be great to be able to select from a drop down list and it will pre-fill a standard reverse proxy for that application.  I am struggling with jellyfin right now, and i am sure that many people have already solved this problem using your (fantastic) UI.
Describe alternatives you've considered
roll back to letsencrypt docker container :(
Additional context
the lets encrypt contianer (linuxserver.io i think) has a large list of sample conf's that it ships with.
thanks!

This is a duplicate of #71


About the OpenUtau Discord Server

Acknowledgement

[X] I have read Getting-Started and FAQ

🐛 Describe the bug
This is less about OpenUtau and more about the OpenUtau Discord server.
Long story short, we need more mods.
There have been multiple fights that have started that have gone on for a while with no interference from moderators.
StAkira is not on most of the time to stop fights when possible.
And the other two mods usually are not available.
I think we need at least 3 or so more mods, to be able to fill in the gap where the current mods are not able to, or at most 10.
We have a short list of people willing to become mods, these include:
Haru no Yuki (-aハルノユキ)
123Happily
hako
(Their Discord Names)
Explains how to reproduce the bug
N/A
OS & Version
N/A
Logs
N/A

Harunoyuki Here, as person who has been attacked in the first major attack back in the end of last year and kinda was in the middle of the Karisu drama with a bunch of other unfortunate individuals as well as the person who was groomed by that individual for about 4 hours, I just have to say that I'd love to moderate for you so that I don't have to deal with that ever again thank you. Seriously

to StAkira


changed scala version for training module from 2.10 to 2.11

@paulcurcean Thanks!

@saurfang

Thanks for the PR. We are not ready to move to Scala 2.11 at this time. Feel free to build with your change for your use.

you could have merge it in a different branch.
I also updated spark to 2.1.0, I assume you don't want move to it.


Adjust Bridge names in ManagerSyncServiceTest to be unique

Should help analyzing logs to identify test instabilities
Signed-off-by: Karel Suta<EMAIL_ADDRESS>Please make sure that your PR meets the following requirements:

[ ] Your code is properly formatted according to this configuration
[ ] Your commit messages are clear and reference the JIRA issue e.g: "[MGDOBR-1] - $clear_explanation_of_what_you_did"
[ ] All new functionality is tested
[ ] Pull Request title is properly formatted: MGDOBR-XYZ Subject
[ ] Pull Request contains link to the JIRA issue
[ ] Pull Request contains link to any dependent or related Pull Request
[ ] Pull Request contains description of the issue
[ ] Pull Request does not include fixes for issues other than the main ticket

How to trigger pipelines and use the bots:

Run the end to end pipeline
Annotate the pull request with the label: safe to test. If you want to run the pipeline again, remove and add it again.

Rebase the pull request
Comment with: /rebase.

@r00ta @manstis Can you please review this?


Connector Error Analysis

Categorising the various types of errors to understand how my technical and business errors we face.


”Dârvari” is listed in the drop-down menu

Description:
"Dârvari" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Dârvari" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Dârvari, MEHEDINȚI".


please set "maintainer" for Dockerfile

so header for Dockerfile will look like
FROM debian:jessie
MAINTAINER First Last<EMAIL_ADDRESS>

of course, modify by assigning appropriate first/last and e-mail :)

What is this for exactly? As I mentioned in another issue, we're planning on moving Docker and Vagrant wrappers to their own repos soon, so it may be more apt then.

This is good citizen behaviour in Docker world.
Imagine you have linux package w/out contact of it's maintainer

This will be more applicable for the new docker-specific repo we have.

Closed in 3f2f5cd25b2a7d48367cf0efcf05afbe58c38bd1


Implement File and directory structure per AIP-191

Implement File and directory structure per AIP-191 https://google.aip.dev/191
Renamed files to use snake_case
Moved protos into v1 directories
Updated package declarations to use correct directory path with snake_case
Updated go_package directory locations
Updated makefiles
Ultimately, we should remove the existing built artifacts from the proto directories too. I'm leaving them in place until we update the POC to build the proto artifacts itself.
Signed-off-by: patrick-alessi<EMAIL_ADDRESS>

@llabordehpe @jainvipin FYI

@PWAlessi the folder structure is better to accommodate versioning, thanks for that for package name: why do you prefer opi_api instead of simply opi ?

opi_api matches the directory structure

I've just committed breaking changes that move the generated artifacts below the proto definitions and into language specific directories.

@PWAlessi this is great, please update the linter as well so we pass checkers
see --ignore here https://github.com/opiproject/opi-api/blob/main/.github/workflows/linters.yml#L17


doc: fix Azure docs

💻 变更类型 | Change Type

[ ] feat
[ ] fix
[ ] refactor
[ ] perf
[ ] style
[ ] test
[x] docs
[ ] ci
[ ] chore
[ ] build

🔀 变更说明 | Description of Change
Modify docs about AZURE_URL and CUSTOM_MODELS
📝 补充信息 | Additional Information
Fix the description mentioned in [Doc]文档似乎不是很清晰

Summary by CodeRabbit

Documentation

Simplified Azure URL examples to enhance clarity.
Added detailed instructions for customizing model names and deployment names for Azure and ByteDance.
Clarified how to enable or disable default models for Azure and ByteDance.

#5007


chore: remove BoxFuture's (non-breaking)

Since rust 1.77 recursion in async functions is supported. This pr removes a few BoxFuture's now that these are not necessary anymore.
Also removes BoxFuture's in the WithSocket trait which should not be a breaking change.

Thanks for the review, I made the requested changes


Animations not visible on UICollectionView

Hi, thanks for the library, I have a issue with running the animation on UICollectionView, I followed the instruction step by step looking at the example in the repository, but it won't work and it doesn't show any animation, and it load data into collectionview without any animation.

Hi @R-Ashh. Your animation is not working because the visibleCells are not set yet. You need to call reloadData() and then animate so we can access the cells to animate. Please check the CollectionViewController.swift file from the Example app. It calls reloadData() and then performs the animations inside a performBatchUpdates block. This is a hack but there's no API that lets us know when a UICollectionView finishes reloading its cells.
https://github.com/marcosgriselli/ViewAnimator/blob/17e7ba9e9c9e09bfd46086e0189b198fedc67847/Example/ViewAnimator/ViewControllers/CollectionViewController.swift#L31

I did as you said still no action.

@R-Ashh could you create an example project with the bug and share it on GitHub? The example app is working as expected so it's hard to tell why the same code is not working for you.

thank you for your fast response, I found the issue, when I do the filling like the example project with a button, and first remove it and add it again it workes, but when I call a method in ViewDidLoad for generating data and reloading the data inside UI collection view like the image above it doesn't work properly and data is already there when I open the ViewController I even tried to generate the data with 1.5 delays with asyncAfter still it loads without any animation and solid. I can give you access to my project in gitlab if you want to see it. thanks in advance.

@R-Ashh I just tried what you mention on the example project and it works. A reproduction small project on GitHub would be a lot more useful so other people can look at it. You could also fork this project and reproduce the issue in the example app if you don't want to create a new repository with your code.

@R-Ashh any update on this?

Hi, I fixed the problem with another solution, like the image below and it worked, still have an issue but it works like this right now, I will create a sample project later to show you the exact problem and let you know about it.

Perfect, I'm closing this issue for the moment until we have a clearer picture of the problem.


Update tedge-agent to work with new topics

Is your refactoring request related to a problem? Please describe.
Currently tedge-agent contains a tedge_to_te_converter, which republishes messages from the old topic scheme into the new topic scheme.
However, it still uses old topics internally:
https://github.com/thin-edge/thin-edge.io/blob/5546ee912152243e93871fae36d1c359e3aa37c9/crates/core/tedge_agent/src/tedge_operation_converter/actor.rs#L73-L97
To be able to expand tedge-agent to work on child devices, as well as in scenarios where the main device MQTT topic identifier is different from the default scheme, it's necessary to make tedge-agent work with our new topic scheme internally.
Describe the solution you'd like
To be able to generate and work with topics under the new MQTT topic scheme, tedge-agent needs to use tedge_api/mqtt_topics API. This results in the following improvements:

removal of obsolete topic scheme
separation of an identifier and a channel, in tedge-agent we define only channel-portion of the topic, and the agent can therefore work with any identifier out of the box
we don't have to handle variable MQTT root; it's only setup once, and the rest is handled by tedge_api::mqtt_topics::MqttSchema
all the MQTT parsing logic moved to tedge_api

Describe alternatives you've considered
I don't think there is any, it has to be done sooner or later.
Additional context

@didier-wenzek Can you please verify that we can close this ticket and also link to the related PR/issue?

This has been addressed with https://github.com/thin-edge/thin-edge.io/pull/2307.


MSVC: Attribute msvc::no_unique_address missing brackets

I'm currently testing the library, and I'm using MSVC. However I had a minor hiccup trying to compile my code with anyany.hpp
This is the offensive line:
https://github.com/kelbon/AnyAny/blob/65c7a77f64a52881981ebee84eb31610fe6e7db9/include/anyany/anyany.hpp#L35
I just added the brackets and it works.
#define ANYANY_NO_UNIQUE_ADDRESS [[msvc::no_unique_address]]
I'm currently using the MSVC Preview, but should have those brackets according to MSVC docs. This looks like "Forgotten after refactor".
(I understand by your bug report in VS Dev Community that the attribute probably doesn't work correctly anyways,  but I'm currently more interested in just trying the library, so the increased size doesn't bother me)

I'm currently testing the library, and I'm using MSVC. However I had a minor hiccup trying to compile my code with anyany.hpp
This is the offensive line:
https://github.com/kelbon/AnyAny/blob/65c7a77f64a52881981ebee84eb31610fe6e7db9/include/anyany/anyany.hpp#L35
I just added the brackets and it works.
#define ANYANY_NO_UNIQUE_ADDRESS [[msvc::no_unique_address]]
I'm currently using the MSVC Preview, but should have those brackets according to MSVC docs. This looks like "Forgotten after refactor".
(I understand by your bug report in VS Dev Community that the attribute probably doesn't work correctly anyways, but I'm currently more interested in just trying the library, so the increased size doesn't bother me)

Oh, it is stuped error, thank for issue


[FEAT] Add more types with mypy

Is your feature request related to a problem? Please describe.
Recently added or modified functions are typed by mypy, but many of the older functions are not typed by mypy (although it helps that docstrings are listed!).
We would like to have more functions and arguments typed by mypy for code readability and to get more assistance from the IDE.
Describe the solution you'd like
Assigning types by mypy to the arguments and return values of untyped functions!
Describe alternatives you've considered
N/A
Additional context
I will send a pull request over the weekend or whenever I have free time.

Thanks @syou6162 again 🚀
What do you recommend for adding a mypy command to check in PR CI? I think it's good to add this check into poe lint command

@datnguye Unfortunately, I was unaware of any tools suitable for such a purpose. I'll ask my colleagues and friends if they know of any that might be good.

@datnguye After a little research, it seems that mypy itself does type checking. However, when I ran this against dbterd's existing code, I got a lot of errors, so I guess we should fix these before introducing it to CI.
Example.
% mypy dbterd/adapters/meta.py
dbterd/adapters/meta.py:26: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment].
Found 1 error in 1 file (checked 1 source file)


Newbie and I think  its Newbie Issue I don't know what is it to name it

this what is I get when I do this little Program
this is the code
`#include
using namespace std;
int main()
{
int num1;
int num2;
double num3;
//cout << "Enter an integer:";
//cin >> num1;
//cout << "you entered:" << endl;

cout << "Enter a first integer: ";
cin >> num1;
cout << "Enter a second integer: ";
cin >> num2;

cout << " You entered " << num1 << " and " << num2 << endl;

}`
Visual Studio give me this
'Project1.exe' (Win32): Loaded 'D:\IT\C++\Work\Project1\Debug\Project1.exe'. Symbols loaded.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\vcruntime140d.dll'.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbased.dll'.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp140d.dll'.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbased.dll'.
'Project1.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\ucrtbased.dll'
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\tmumh\20019\AddOn\<IP_ADDRESS>8\TmUmEvt.dll'.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\psapi.dll'.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\tmumh\20019\TmMon\<IP_ADDRESS>6\tmmon.dll'.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shlwapi.dll'.
'Project1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel.appcore.dll'.
The thread 0x4710 has exited with code 0 (0x0).
The thread 0xfbc has exited with code 0 (0x0).
The thread 0x289c has exited with code 0 (0x0).
The thread 0x469c has exited with code 0 (0x0).
The thread 0x181c has exited with code 0 (0x0).
The program '[5208] Project1.exe' has exited with code 0 (0x0).
also if I activate Automatically Close the console when debugging stops the console windows Disappears I need it stay appear
Thank you ............

This appears to have nothing to do with clangd.

This appears to have nothing to do with clangd.

This repository is for tracking issues with clangd, a Language Server that understands C++ code. We have Visual Studio Code  extension but generic Visual Studio and C++ questions are unrelated.

This repository is for tracking issues with clangd, a Language Server that understands C++ code. We have Visual Studio Code  extension but generic Visual Studio and C++ questions are unrelated.

How to fix it

How to fix it

How to fix it

I would suggest asking in a forum where this sort of question is on topic, such as perhaps Stack Overflow or the Visual Studio Developer Community.

How to fix it

I would suggest asking in a forum where this sort of question is on topic, such as perhaps Stack Overflow or the Visual Studio Developer Community.


Create a contact info block

Add links to social networks (LinkedIn, Facebook, Instagram), phone number, email, Telegram username, etc.

Contact:
LinkedIn: https://www.linkedin.com/in/maria-rocio-espeche/
email<EMAIL_ADDRESS>

Done.


Postgres connection

Please use the following bug reporting template to help produce actionable and reproducible issues:

A brief description
I have postgres running as a database installed in Windows10.  It would be really useful to be able to access the postgres db from the bash.  Commands like pgdump don't know where to look for the database.
Expected results
connection the postgresql database
Actual results (with terminal output if applicable)
pg_dump: [archiver (db)] connection to database "rando" failed: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Your Windows build number
14393.51
Steps / commands required to reproduce the error
pg_dump
Strace of the failing command
see above
Required packages and commands to install
postrgesql-client-common

See our contributing instructions for assistance.

Hi @rando305 -- you should be able to connect over TCP if you configure the PostgreSQL server to listen on localhost and the clients to connect to localhost.  Are you familiar enough with it to do this? If not, and if you can't immediately figure it out by searching online, I'm sure someone here can point you in the right direction.

Thanks Adam.
I configured PostgreSQL server to listen on localhost.  I'm not sure how I
get the bash client to recognize where PostgreSQL is.  pg_dump is looking
for information in a unix socket.  Any advice on how to get the pg_dump
command to recognize where the server is running would be really helpful.
On Thu, Aug 18, 2016 at 6:51 PM, Adam Seering<EMAIL_ADDRESS>wrote:

Hi @rando305 https://github.com/rando305 -- you should be able to
connect over TCP if you configure the PostgreSQL server to listen on
localhost and the clients to connect to localhost. Are you familiar enough
with it to do this? If not, and if you can't immediately figure it out by
searching online, I'm sure someone here can point you in the right
direction.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/BashOnWindows/issues/921#issuecomment-240880788,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFuY42BtiyjO2DSGQAloYoYUz4I1-wzwks5qhOIPgaJpZM4Jmlby
.

Hi @rando305 -- off the top of my head, try setting the environment variable export PGHOST=localhost.  Does pg_dump then work?

You might also have to export PGPORT, if you're running on a port that's not the default.

I'm having this same problem. I am not familiar with configuring postgres on Windows. I tried installing it within bash, but that didn't work, so installed it in Windows as recommended in https://github.com/Microsoft/BashOnWindows/issues/61.
I installed it in Windows using the EnterpriseDB installer mentioned on postgresql website. I can connect to the server using the pgAdmin tool, or the "SQL prompt" shortcut it provides in Windows. However, when I try to connect via psql from bash I get the error described in this issue.
The server is running in Windows, listening on 5432. Is there something I need to change in the default EnterpriseDB config to expose the server more?

This is how I have resolved this issue for me:

when you do not specify a hostname, postgresql clients (psql, pg_dump) will try to connect via a Unix socket, not TCP. Connection from Bash on Windows to Postgresql running on Windows must be via TCP (the error message mentioned that it could not connect on a Unix domain socket, but it hadn't clicked in my head). To force your connection to use TCP you must specify a hostname. The host can be specified with a command line flag -h localhost, via PGHOST environment variable, or via .psqlrc file.

The second issue I had was that I expected psql to be able to connect to the local host without specifying a password, just as I do when running on Mac OSX. This was fixed by changing the Windows Postgres server's pg_hba.conf file. The default line in my installation for <IP_ADDRESS> was configured for md5 connection method. I changed it to trust, to match the configuration on my OSX installation. That makes the pg server trust any connection that can be made.

Joshua,
thanks!  this helps alot.  I will test this.  I'm assuming the best thing
is to set this up in my .psqlrc file.  Where is (or should be) this file.
And what should it have in it?
Thanks again for your contribution
On Sun, Aug 21, 2016 at 11:04 AM, Joshua Flanagan<EMAIL_ADDRESS>wrote:

This is how I have resolved this issue for me:

when you do not specify a hostname, postgresql clients (psql, pg_dump)
will try to connect via a Unix socket, not TCP. Connection from Bash
on Windows to Postgresql running on Windows must be via TCP (the error
message mentioned that it could not connect on a Unix domain socket, but it
hadn't clicked in my head). To force your connection to use TCP you must
specify a hostname. The host can be specified with a command line flag -h
localhost, via PGHOST environment variable, or via .psqlrc file.
The second issue I had was that I expected psql to be able to connect
to the local host without specifying a password, just as I do when running
on Mac OSX. This was fixed by changing the Windows Postgres server's
pg_hba.conf file. The default line in my installation for <IP_ADDRESS>
was configured for md5 connection method. I changed it to trust, to
match the configuration on my OSX installation. That makes the pg server
trust any connection that can be made.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/BashOnWindows/issues/921#issuecomment-241262767,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFuY44WlquDGGmqT3gADHI4Smqo4OcERks5qiGjugaJpZM4Jmlby
.

I ran psql - h localhost
on bash
The result was:
psql: FATAL:  could not load pg_hba.conf
the file is at:
"C:\Program Files\PostgreSQL\9.3\data\pg_hba.conf"
how do I get everything point to the right place?
Thanks again
On Sun, Aug 21, 2016 at 11:04 AM, Joshua Flanagan<EMAIL_ADDRESS>wrote:

This is how I have resolved this issue for me:

when you do not specify a hostname, postgresql clients (psql, pg_dump)
will try to connect via a Unix socket, not TCP. Connection from Bash
on Windows to Postgresql running on Windows must be via TCP (the error
message mentioned that it could not connect on a Unix domain socket, but it
hadn't clicked in my head). To force your connection to use TCP you must
specify a hostname. The host can be specified with a command line flag -h
localhost, via PGHOST environment variable, or via .psqlrc file.
The second issue I had was that I expected psql to be able to connect
to the local host without specifying a password, just as I do when running
on Mac OSX. This was fixed by changing the Windows Postgres server's
pg_hba.conf file. The default line in my installation for <IP_ADDRESS>
was configured for md5 connection method. I changed it to trust, to
match the configuration on my OSX installation. That makes the pg server
trust any connection that can be made.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/BashOnWindows/issues/921#issuecomment-241262767,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFuY44WlquDGGmqT3gADHI4Smqo4OcERks5qiGjugaJpZM4Jmlby
.

When I do the following:
export PGHOST=localhost
I run psql and I get the error that it can't find my pg_hba.conf  file
(which for now is good)
I put the line:
PGHOST=localhost in /etc/environment - and I get the socket error
I put that line in ~/.bashrc and I get the same socket error.
I'm close...
On Sun, Aug 21, 2016 at 9:31 PM, Randy Ostler<EMAIL_ADDRESS>wrote:

I ran psql - h localhost
on bash
The result was:
psql: FATAL:  could not load pg_hba.conf
the file is at:
"C:\Program Files\PostgreSQL\9.3\data\pg_hba.conf"
how do I get everything point to the right place?
Thanks again
On Sun, Aug 21, 2016 at 11:04 AM, Joshua Flanagan <
<EMAIL_ADDRESS>wrote:

This is how I have resolved this issue for me:

when you do not specify a hostname, postgresql clients (psql, pg_dump)
will try to connect via a Unix socket, not TCP. Connection from
Bash on Windows to Postgresql running on Windows must be via TCP (the error
message mentioned that it could not connect on a Unix domain socket, but it
hadn't clicked in my head). To force your connection to use TCP you must
specify a hostname. The host can be specified with a command line flag -h
localhost, via PGHOST environment variable, or via .psqlrc file.
The second issue I had was that I expected psql to be able to connect
to the local host without specifying a password, just as I do when running
on Mac OSX. This was fixed by changing the Windows Postgres server's
pg_hba.conf file. The default line in my installation for <IP_ADDRESS>
was configured for md5 connection method. I changed it to trust, to
match the configuration on my OSX installation. That makes the pg server
trust any connection that can be made.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/BashOnWindows/issues/921#issuecomment-241262767,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFuY44WlquDGGmqT3gADHI4Smqo4OcERks5qiGjugaJpZM4Jmlby
.

Actually, now I'm not sure you can set the default host from .psqlrc. I saw that suggestion in a forum post, but after reading the documentation, I don't see how that is possible.
Regarding your pg_hba.conf file: do you already have the postgresql server working and running on Windows? Have you verified you can connect to it from Windows (completely leave Bash on Windows out of it)? If you installed it using EnterpriseDB's installer, you can use pgAdmin to connect to the database, run queries, and edit the pg_hba.conf file. It also comes with a "SQL Prompt" shortcut in your start menu that will launch the psql command line for you. I would definitely make sure psql/pg_dump, etc all work from Windows before bringing Bash into the picture.

got my pg_hba.conf file working correctly by using the editor in
pg_adminIII.  That helped get the syntax correct.  I got my remote pg_dump
to work and was able to upload it into my local db from the bash.  Thanks
for your help.
On Mon, Aug 22, 2016 at 12:17 AM, Joshua Flanagan<EMAIL_ADDRESS>wrote:

Actually, now I'm not sure you can set the default host from .psqlrc. I
saw that suggestion in a forum post, but after reading the documentation, I
don't see how that is possible.
Regarding your pg_hba.conf file: do you already have the postgresql server
working and running on Windows? Have you verified you can connect to it
from Windows (completely leave Bash on Windows out of it)? If you installed
it using EnterpriseDB's installer, you can use pgAdmin to connect to the
database, run queries, and edit the pg_hba.conf file. It also comes with a
"SQL Prompt" shortcut in your start menu that will launch the psql command
line for you. I would definitely make sure psql/pg_dump, etc all work from
Windows before bringing Bash into the picture.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/BashOnWindows/issues/921#issuecomment-241311899,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFuY43frIA0WbJtBKpVZOwMEkzvQ9WY-ks5qiSLvgaJpZM4Jmlby
.

I think this issue can be closed, as it does not describe a BashOnWindows bug - it was just us trying to work out how to connect to Windows Postgres from BashOnWindows.
There is already an existing issue https://github.com/Microsoft/BashOnWindows/issues/61 to track getting Postgres to work within BashOnWindows.

I'm using postgres inside a container, inside a docker inside wsl2 to develop at home. I've managed to connect to DB using any DBMS using the IPv6 loopback.
jdbc:postgresql://[::1]:5432/database_name

I'm using postgres inside a container, inside a docker inside wsl2 to develop at home. I've managed to connect to DB using any DBMS using the IPv6 loopback.
jdbc:postgresql://[::1]:5432/database_name
I hope it helps someone.
To find this use netstat -ltnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 <IP_ADDRESS>:8443            <IP_ADDRESS>:*               LISTEN      5321/python
tcp6       0      0 :::5432                 :::*                    LISTEN      23171/docker-proxy

A million thanks.

I solved this problem by configuring the ports when creating the container, example:
docker run --name postgres-sever -p 5432:5432 -e POSTGRES_PASSWORD=secretpassword -d postgres


Add MockTriggerTime setting to return events and spot interruptions at a specific time

Description of changes:
This adds a new config setting to specify an RFC3339 timestamp as an alternative to a mock delay. When the timestamp is reached the server will return the mock events or spot interruption.
We use this feature to simulate the interruption of many spot instances at once which requires a better timing than the startup delay
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@brycahta thanks for the feedback. I incorporated it in the latest commit. Please have a look.


Node getting fixed when shift clicking & moving (Possible Bug?)

I've noticed that when holding shift while clicking and dragging a node to move it, after the node has been moved it will become fixed (network data will reflect that x and y are fixed for the node).
I can reproduce this on the basic example on Firefox and Chrome on Mac OSX.
I can't find any documentation on this in the docs, is this a feature? And if yes, how can I turn it off?

I'm also facing this same issue.


Add JCK signaturetest to playlist and fix dir rename issue

add JCK signaturetest to jck playlist and limited it to linux_x86
machines since only linux_x86 machines have Svfb installed
add dir name check before rename it to j2sdk-image
clone openj9 with only main branch and history 2 to shrink clone time
which also shrink filter-branch time.

fixed:#262
Signed-off-by: Tianyu Zuo<EMAIL_ADDRESS>

Ok, thanks for the explanation


Update zone_lockdown.html.markdown

Addidng explaination on how to create a rule with multiple IP addresses in it.

That absolutely makes sense. I've added another example.


feat(e2e): move e2e tests

See commits for details on changes.
Depends on https://github.com/Aiven-Open/tiered-storage-for-apache-kafka/pull/353

The original tests were written in Java 17 and a couple of nice features were used (e.g. RemoteSegment being a record). Gradle should well support different Java versions for different subprojects. Considering the e2e subproject doesn't release artifacts and all the tests are done on top of Docker images with Java 11 internally, we can probably continue using Java 17 for the e2e tests? (You only need the Gradle to run under Java 17 itself, which is probably fine).

we can probably continue using Java 17 for the e2e tests? (You only need the Gradle to run under Java 17 itself, which is probably fine).

@ivanyu we could do this, but I'd prefer to keep the same JDK version across modules to avoid confusion. We can migrate back to records once JDK 11 is dropped at some point (🤞🏽), wdyt?


Innodb

Hello, I'm plugging this into one of my programs, the rest of the tables are myIsam, would I have any issues going forward changing the login tables to myIsam? I don't require any locking or referential integrity checking as such.
Thanks

I just tested it on myIsam and it worked perfectly for me. I would suggest
spinning up a test database just to make sure you don't break something in
your application :)
On Thu, Jul 14, 2016 at 8:49 AM, tmblog<EMAIL_ADDRESS>wrote:

Hello, I'm plugging this into one of my programs, the rest of the tables
are myIsam, would I have any issues going forward changing the login tables
to myIsam? I don't require any locking or referential integrity checking as
such.
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fethica/PHP-Login/issues/24, or mute the thread
https://github.com/notifications/unsubscribe/AH24AuTVwPL2tnrH1_TFqTwrfHNHH-0yks5qVjBCgaJpZM4JMZin
.

--

bradley david

Thank you. I thought you might have written something programmatically to enforce locking etc. So good to know. Thanks again.


Added guidance when using Staged copy using PolyBase

Adding storage reader permissions to the sql server during Staged copy using PolyBase and updated troubleshooting section

@hurtn : Thanks for your contribution! The author(s) have been notified to review your proposed change.

The PR is in conflict due to changes in master branch. Resolving that in the private repo in PR https://github.com/MicrosoftDocs/azure-docs-pr/pull/146550
That should publish overnight.