Fixed invalid quoting for postgresql adapter

As described in https://github.com/zendframework/zend-db/issues/161

Just in case maintainers deem necessary to fix this before I am done with my overly prolonged enterprise of making sequences feature complete, I would suggest that at least this PR should be fixed in
https://github.com/zendframework/zend-db/blob/master/src/Adapter/Driver/Pgsql/Connection.php#L267
and sequence feature changed to
return $sequence['nextval'] = $this->tableGateway->adapter->driver->getLastGeneratedValue();

Two reasons:

By redirecting to Connection instead of writing out SQL for sequence value querying, if the developer is using PDO then this is not a problem because https://github.com/zendframework/zend-db/blob/master/src/Adapter/Driver/Pdo/Connection.php#L419 takes care of this more accurately at driver level.
Code duplication resulting in chance that code from other places is relying on this causing errors.

If any queries are done manually they should be done using prepared statements to avoid overload on database engines to recreate execution plan for multitude of similar queries.

@alextech this PR can be closed in favor of your https://github.com/zendframework/zend-db/pull/187 ?

@ezimuel yes

@ezimuel also very closely related to #233 you asked about earlier.

Maybe instead of closing it You can simply accept it (for now)? It does not interfere with anything else and it's strange, that so simple one-liner was not reviewed and fixed for over a year. All signs in the sky and earth indicate that the next few months / years will pass before someone approves the @alextech fixes.

@xorock fair enough, if ever get back to my stuff I can always rebase (as part of relearning process I would have to undergo at that point anyway)
However!, this business of quoteIdentifierChain vs quoteValue that is pointed out in the review by andrey-mokhov must stop which I fix in #233. Maybe you can put a word in for that?

@xorock —

All signs in the sky and earth indicate that the next few months / years will pass before someone approves the @alextech fixes.

This sort of comment is not helpful, and disrespectful to the people maintaining the library. Please review our code of conduct, specifically points 5-7.
While I understand your frustration with a patch not being merged on a time schedule convenient to yourself, please be aware that we have around 200 components and modules to maintain, with only a couple dozen (mostly volunteer) people with commit rights. Please respect their efforts and time.

Sorry @weierophinney but I think disrespectful was when @alextech put a lot of effort into creating tests and fixing entire system and ezimuel just closed it: https://github.com/zendframework/zend-db/pull/187#issuecomment-346635709. I fully understand how much components You are maintaining, I'm with ZF from ~v0.7 but also I think zend-db is one of the most important elements of the entire framework and should be patched much faster. As Your team noticed https://framework.zend.com/blog/2017-12-06-zend-db-2.9.0.html?utm_source=dlvr.it&utm_medium=twitter "This is our first new feature release in over 18 months".

@xorock

I think disrespectful was when @alextech put a lot of effort into creating tests and fixing entire system and ezimuel just closed it: #187

Yes this was a mistake in a hurry, but the PR is open and nothing is lost.

I think zend-db is one of the most important elements of the entire framework

Sorry, but that's only your feeling. Compare with the number of downloads on packagist.org: https://packagist.org/?q=zend

Funny thing is we're not discussing how to improve zend-db but other unimportant things. Truth is, both schemas and aliases (if I remember well Matthew notices this bug ~3years ago, for example try to alias table and then DELETE something) needs to be rewritten. We should think how to do this.
As You know, packagist show statistics for all downloads. If You check requirements for zend-mvc, zend-form and zend-expressive You will know why these and not other packages are at the first place in statistics. zend-db is required manually.

@xorock

Funny thing is we're not discussing how to improve zend-db but other unimportant things.

It's really simple: with the new release zend-db is now in the focus. 😄

…needs to be rewritten. We should think how to do this.

Go for it! Slack and the forum is open for suggestions and discussions.


Using pattern and route together

When defining an item I'm trying to use route and pattern together in the sense as described here: https://github.com/KnpLabs/KnpMenuBundle/issues/155#issuecomment-51617769
However whenever a route is set, a pattern will be ignored. It would be expected, that the pattern is used to test for a match, when the route did not match.
    $menu->addChild('Item', [
        'route' => 'my_route',
        'extras' => [
            'routes' => [ 'pattern' => 'my_route.*']
         ]
     ]);

Your patter is not a valid regexp.

What is wrong with the regexp?
However I think the issue persists.

When building the item as described above, \Knp\Menu\Integration\Symfony\RoutingExtension::buildOptions will add the route to the extras item.
The issue is in the following code in \Knp\Menu\Matcher\Voter\RouteVoter::matchItem:
       $routes = (array) $item->getExtra('routes', []);
// $routes is now [ pattern="my_route.*", 0 = [ route = "my_route", parameters= []]

        foreach ($routes as $testedRoute) {
// in the first iteration, $testedRoute is "my_reoute.*"
            if (\is_string($testedRoute)) {
// this will be true in the first iteration, thus the pattern
// will be passed to isMatchingRoute as a route
                $testedRoute = ['route' => $testedRoute];
            }

            if (!\is_array($testedRoute)) {
                throw new \InvalidArgumentException('Routes extra items must be strings or arrays.');
            }

            if ($this->isMatchingRoute($request, $testedRoute)) {
                return true;
            }
        }

Subsequently in \Knp\Menu\Matcher\Voter\RouteVoter::isMatchingRoutethe pattern is never tested because$testedRoute['route']` is always set.
    private function isMatchingRoute(Request $request, array $testedRoute): bool
    {
        $route = $request->attributes->get('_route');
        if (isset($testedRoute['route'])) {
            if ($route !== $testedRoute['route']) {
                return false;
            }
        } elseif (!empty($testedRoute['pattern'])) {
            if (!\preg_match($testedRoute['pattern'], $route)) {
                return false;
            }

Above pull request will make a menu item with a pattern functional as below functional again:

Ah no, I found the issue. routes takes a list of routes to match, which can be either a string (for the shortcut case) or an associative array. Your config misses a level of array.

Compare your config with the the example you linked in the description.

Thanks 👍 , didn't spot that. This works now.


Symlink errors? Failures when downloading; "Something went wrong"

Description
Paket has started throwing lots of errors while restoring in the latter releases:
-version 5.226.0
-clitool paket 5.226.0
+version 5.241.5
+clitool paket 5.241.5

or:
 Downloading fake-cli 5.19.0 (Build)
 Download of fake-cli 5.19.0 (Build) done in 1 second. (53127 kbit/s, 7 MB)
 Downloading Http.fs 5.3
 Something went wrong while downloading System.Diagnostics.PerformanceCounter 4.5
 Message: Start of process ln failed.
   ==> Trying again
 Downloading Argu 5.5
 Downloading System.Diagnostics.PerformanceCounter 4.5
 Something went wrong while downloading runtime.rhel.7-x64.runtime.native.System.    Security.Cryptography.OpenSsl 4.3.3
 Message: Start of process ln failed.
   ==> Trying again

Repro steps
Please provide the steps required to reproduce the problem

.paket/paket install

Expected behavior
Please provide a description of the behavior you expect.
Paket should not corrupt installs or else it should say what's wrong, not just "Something went wrong", as that's not a proper error message to act on.
Known workarounds
Downgrade? Perhaps it's .net 3.1-based?

Another output:
Downloading Paket 5.241.5
Download of System.Runtime.InteropServices 4.3 done in 373 milliseconds. (55700 kbit/s, 2 MB)
Not moving as '/Users/h/.nuget/packages/paket/5.241.5/paket.5.241.5.nupkg' already exists (maybe some other instance downloaded it as well)
Download of Paket 5.241.5 done in 2 seconds. (23799 kbit/s, 5 MB)
Performance:
 - Resolver: 28 seconds (2 runs)
    - Runtime: 1 second
    - Blocked (retrieving package details): 26 seconds (329 times)
    - Blocked (retrieving package versions): 1 second (2 times)
 - Disk IO: 1 second
 - Average Download Time: 187 milliseconds
 - Number of downloads: 10
 - Average Request Time: 61 milliseconds
 - Number of Requests: 528
 - Runtime: 36 seconds
Paket failed with
-> Could not find nuspec in '/Users/h/dev/app/packages/Paket', try deleting the directory and restoring again.

Same issue with 6.0.0-alpha011.

I don't think we changed something recently. This message is usually
related to network issues
Henrik Feldt<EMAIL_ADDRESS>schrieb am Do., 2. Jan. 2020, 22:31:

Description
Paket has started throwing lots of errors while restoring in the latter
releases:
-version 5.226.0 -clitool paket 5.226.0 +version 5.241.5 +clitool paket
5.241.5
or:
Downloading fake-cli 5.19.0 (Build)
Download of fake-cli 5.19.0 (Build) done in 1 second. (53127 kbit/s, 7 MB)
Downloading Http.fs 5.3
Something went wrong while downloading System.Diagnostics.PerformanceCounter 4.5
Message: Start of process ln failed.
==> Trying again
Downloading Argu 5.5
Downloading System.Diagnostics.PerformanceCounter 4.5
Something went wrong while downloading runtime.rhel.7-x64.runtime.native.System.    Security.Cryptography.OpenSsl 4.3.3
Message: Start of process ln failed.
==> Trying again
Repro steps
Please provide the steps required to reproduce the problem

.paket/paket install

Expected behavior
Please provide a description of the behavior you expect.
Paket should not corrupt installs or else it should say what's wrong, not
just "Something went wrong", as that's not a proper error message to act on.
Known workarounds
Downgrade? Perhaps it's .net 3.1-based?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/Paket/issues/3767?email_source=notifications&email_token=AAAOANEHJZI5N4BYCHU44WLQ3ZMJNA5CNFSM4KCG4MFKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IDYJ2DQ,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAOANEV535T73QLZNLIXFTQ3ZMJNANCNFSM4KCG4MFA
.

It's probably not related to network issues as this happens no matter on what network I'm on. But I think it is related to storage: symlinks that seemingly got broken a few releases back;

the Paket folder is empty
" Message: Start of process ln failed."

I don't remember us touching that part
Henrik Feldt<EMAIL_ADDRESS>schrieb am Fr., 3. Jan. 2020, 11:38:

It's probably not related to network issues as this happens no matter on
what network I'm on. But I think it is related to storage: symlinks that
seemingly got broken a few releases back;

the Paket folder is empty
" Message: Start of process ln failed."

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/Paket/issues/3767?email_source=notifications&email_token=AAAOANBJWLY62INNTIBGR43Q34ITLA5CNFSM4KCG4MFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIA23EY#issuecomment-570535315,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAOANB5XSSXGQFGBICX5OTQ34ITLANCNFSM4KCG4MFA
.

So then it might be due to either security upgrades on macOS's part of because I've installed the latest .Net Core. Let's keep this issue open for symlink-related errors?

Sure.
Henrik Feldt<EMAIL_ADDRESS>schrieb am Fr., 3. Jan. 2020, 11:43:

So then it might be due to either security upgrades on macOS's part of
because I've installed the latest .Net Core. Let's keep this issue open for
symlink-related errors?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/Paket/issues/3767?email_source=notifications&email_token=AAAOANBHJQYMWTHBKPARDGDQ34JELA5CNFSM4KCG4MFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIA3FCA#issuecomment-570536584,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAOANAHOPMXF7IRZPKQ4ILQ34JELANCNFSM4KCG4MFA
.

I just got the same error on windows.
Repro:
dotnet new -i waypoint
dotnet new waypoint
dotnet tool restore
dotnet paket restore

and I get following error:
Paket failed with
-> symlink C:\Users\leko.tomas\.nuget\packages\runtime.fedora.28-x64.runtime.native.system.security.cryptography.openssl\4.3.3 -> C:\Users\Leko.Tomas\playground\Svldb.Core\packages\docs\runtime.fedora.28-x64.runtime.native.System.Security.Cryptography.OpenSsl failed with error : [1] with output :
    and error : You do not have sufficient privilege to perform this operation.

I just got the same error on windows.
Repro:
dotnet new -i waypoint
dotnet new waypoint
dotnet tool restore
dotnet paket restore

and I get following error:
Paket failed with
-> symlink C:\Users\leko.tomas\.nuget\packages\runtime.fedora.28-x64.runtime.native.system.security.cryptography.openssl\4.3.3 -> C:\Users\Leko.Tomas\playground\Svldb.Core\packages\docs\runtime.fedora.28-x64.runtime.native.System.Security.Cryptography.OpenSsl failed with error : [1] with output :
    and error : You do not have sufficient privilege to perform this operation.

So, I just found out the solution.
It is not a problem of paket but in windows the symlinks cannot be created without elevated shell. In windows 10 you have to enable "Developer Mode" to enable creating symlinks from the command line without elevated shell. For more information see here: https://blogs.windows.com/windowsdeveloper/2016/12/02/symlinks-windows-10/


Completion of "identifier dot" suggests keywords

Consider the following code:
value x = 1;
x.|

If one sets cursor in place of "|",  types return and then presses + or just waits, than return will appear in suggested completion options. However pressing  +  right after leads to correct behavior with no keywords suggested.

+ stands for "basic completion" in terms of Idea


Push branch to origin before invoking gh pr create

This is the workaround recommended by the GitHub CLI maintainer:
https://github.com/whatwg/spec-factory/issues/19#issuecomment-651173812
Fixes https://github.com/whatwg/spec-factory/issues/19.

Note that I haven't tested this at all, shouldn't be merged until I do. It can be reviewed though.

 Then ran gh pr create -f for one repo which created https://github.com/whatwg/html/pull/5702, so I think it works.


fix example in readme

current signature of run is: ?path ?silent ~target action plot ...example uses ~plot which gives error

Thanks for your contribution! I've cherry-picked your commit on the development branch, here https://gitlab.com/igarnier/monorepo/-/commit/8d6dc8dfa23bea2774d5422afba0ee2c6db42eaa


Clarify C-DEREF

The ship has flown the nest; Deref is not exclusively for smart pointers anymore.
Fixes #249, the direct contradiction of C-DEREF with idiomatic std APIs.

This is weaker than some of the other proposals I've made for how we could reword C-DEREF and/or C-SMART-PTR in #249, but I think this is a small, reasonable, incremental improvement/clarification that should be fairly unobjectionable.


Error in provided code of very first page on nightly Firefox

When I open the webpage at https://google.github.io/tour-of-wgsl/ the code
@binding(0) @group(0) var<uniform> frame : u32;
@vertex
fn vtx_main(@builtin(vertex_index) vertex_index : u32) -> @builtin(position) vec4f {
  const pos = array(
    vec2( 0.0,  0.5),
    vec2(-0.5, -0.5),
    vec2( 0.5, -0.5)
  );

  return vec4f(pos[vertex_index], 0, 1);
}

@fragment
fn frag_main() -> @location(0) vec4f {
  return vec4(1, sin(f32(frame) / 128), 0, 1);
}

and an error
Shader '' parsing error: expected assignment or increment/decrement, found 'pos'
  ┌─ wgsl:4:9
  │
4 │   const pos = array(
  │         ^^^ expected assignment or increment/decrement

This error disappears when I replace const with let, but I then get another error a few lines down which I don't think is relevant here.
I guess this is because I am using Firefox Nightly on Linux instead of Chrome on MacOS or Windows? If this is not supported, it would be nice if that were more clear in the README. If it is, what am I getting wrong?

This sounds like an issue in the Firefox implementation. I'd suggest filing a bug against Firefox.

Oh wow. If I figure out how to do that I will


Update Product.html

This adds an additional note about default variables. It also updates the documentation.
@kmh287 I added this after #747

sorry i closed this in error


Husky test

Description
Closes #
[Please include a summary of the change and which issue is fixed]
Type of change
Please select the option that is relevant

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

Checklist

[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] All the required documentation is added.
[ ] My code follows the style guidelines of this project.
[ ] I have performed a self-review of my own code.

Additional information
[Provided extra information if necessary]

Ik heb een nieuwe branch gemaakt op basis van deze commit. Die werkt dus gewoon. Maar als ik development merge, dan hebben we weer gezeik


Use Laravel Blade syntax in formwidgets

That should be all the formwidgets done

https://github.com/tastyigniter/TastyIgniter/commit/d00ab5c551b41904b2883497bbc7801a106b4c7a

See comment at that link

See comment at that link

Ooops that must have been a lot of spam, but you get the drift of what to watch out for when migrating the syntax.

Sorry, thought I got them all.

Sorry, thought I got them all.

No problem 👍


[ListView & ScrollView] Don't respect LayoutAnimation

I was talking to @vjeux on IRC about this.
I was trying to animate the layout as the keyboard opens and as you can see in the video below the TextInput view is properly animating (sometimes 1 frame behind though) with the keyboard while the ListView instantly clips.
https://www.dropbox.com/s/iz1cm5p22ar9vfk/Screenflick Movie 7.mp4?dl=0
I tested by removing the ListView and replacing it with a plain ScrollView and setting the contentContainerStyle to solid red and basically the same thing happens. The contentContainer instantly clips and doesn't animate it's height.
Any ideas of suggestions?

:+1: curious to see what the solution is

:+1: Seeing the same thing here in 0.6.0-rc

Thank you for reporting this issue and appreciate your patience. We've  notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

#1366 landed right after this issue, let me know if it's still an issue and I can reopen it.

I'm still having this issue using 0.27.0 - am trying to animate a ScrollView and it just jumps to the new height instead of animating it. Changing the top position animates, but none of 'bottom', 'height', 'marginBottom' or 'paddingBottom' animate.

Surprisingly, this stays in 0.36.0 also. Any hacks?

@tadeuzagallo I think this is still an issue in 0.39 so this issue needs to be reopened.

I believe it'd be better to just open a new issue with more information rather than reopening a issue that's over an year old and has little context on it.

This is also an issue in react-native v0.44.0. Any fixes yet?


now.json ignored when path given

I have a build folder in my project that I want to deploy.
Whenever I run now deploy build, I get the following warnings
> WARN! Your project is missing a now.json file with a `version` property. More: https://zeit.co/docs/version-config
> WARN! You are using an old version of the Now Platform. More: https://zeit.co/docs/v1-upgrade

I have a now.json file, and specifying where it is with -A now.json does not help.
If I just run now, I do not get the warning messages, but this is also not what I want to do.

Thanks! I will take a look at this.

I have just confirmed that this works 100% as expected.
My guess is that the reason why it doesn't work for you is that you either:

Didn't pass the correct path with -A
Passed -A to npm run build and not now

hey guys help me out here I am getting this really annoying error when attempting to deploy my small authentication project with now
check out the error
`> now --public

WARN! You are using an old version of the Now Platform.   Build failed
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>deploy: now --public
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>deploy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\OSUIDE O.C\AppData\Roaming\npm-cache_logs\2018-12-14T07_08_42_572Z-debug.log`
my package.json file looks like this:
{
"name": "next-cookie-auth",
"version": "1.0.0",
"description": "Cookie authentication with Next.js",
"main": "server.js",
"scripts": {
"dev": "nodemon server.js",
"start": "set NODE_ENV=production && node server.js",
"build": "next build",
"deploy": "now --public"
},
"author": "Deba Osuide",
"license": "ISC",
"dependencies": {
"axios": "^0.18.0",
"cookie-parser": "^1.4.3",
"express": "^4.16.4",
"next": "^7.0.2",
"react": "^16.6.3",
"react-dom": "^16.6.3"
},
"devDependencies": {
"nodemon": "^1.18.5"
},
"directories": {
"lib": "lib"
}
}
Cannot someone please help me out... Thanks in advance

{
"name": "web",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "node src",
"dev": "nodemon src/"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"ejs": "^2.6.1",
"express": "^4.17.1",
"morgan": "^1.9.1",
"now": "^15.6.0"
},
"devDependencies": {
"nodemon": "^1.19.1"
}
}
Este es mi codigo del package.json y cuando intento correr now me aparece el mismo error que entes mencionaron.
WARN! Your project is missing a now.json file with a version property. More: https://zeit.co/docs/version-config


Edge padding left appears only when slides != actual slides count

Issue description:  There is 3 slides. Edge padding left appears only when slides < 3

Demo link/slider setting:   https://jsfiddle.net/9vrtaxey/1/
Tiny-slider version:   2.9.1
Browser name && version:  firefox 67.0.4
OS name && version:   Archlinux last

I have the same problem, but only for exact 3 slider items. The last item disappears...
Tiny-slider version: 2.9.1
Browser name && version: Google Chrome 75.0.3770.142
OS name && version: Windows 10

@LukasJeoa switch to http://idangero.us/swiper


feat(cli): Refactor argo list --chunk-size and add argo archive list --chunk-size. Fixes #2820

Checklist:

[x] Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
[x] The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
[x] I've signed the CLA.
[x] I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
[x] My builds are green. Try syncing with master if they are not.
[x] My organization is added to USERS.md.

Fixes #2820 and #1968

TestCLIWithServerSuite/TestRoot/List

@changh @salanki could I please ask you to review this change?

I'm gonna try this out as soon as someone spins up 10k Workflows on me again, probably tomorrow.


Sharing my thoughts on efficiently translating po files with LLMs...

Hi @pescheck-bram.
This is not an issue, just me sharing my thoughts on efficiently translating po files with LLMs...
I stumbled upon your project (and others) while looking for a way to translate po files from an existing translated one to help disambiguate translations.
For example, if you provide a po file with
msgid "Bank"
msgstr ""

No tool, no matter how intelligent, is ever going to know if it's talking about a financial company or the banks of a river.
But if you provide a French translation:
msgid: "Bank"
msgstr: "Banque"

then any translation capable LLM should be able to translate that po file entry into Spanish or German or whatever language it knows.
Have you ever thought about this?
Actually, with the help of Claude and ChatGPT (free versions ;) I tried it myself and ended up with this pretty simple piece of Python code that

loads a LLM specialized in translation (facebook/mbart-large-50-many-to-many-mmt),
reads the po file entry by entry
tries to provide a translation of the English msgid using the French translation as context:

import polib
from transformers import pipeline

def translate_po_file(input_file, output_file):
  # Load multilingual translation template
  translator = pipeline("translation", model="facebook/mbart-large-50-many-to-many-mmt")
  # Load input .po file
  po = polib.pofile(input_file)
  # Browse each entry and translate
  for entry in po:
    if entry.msgid and not entry.fuzzy:
      # Preparing the context and the text to be translated
      context = entry.msgstr if entry.msgstr else entry.msgid
      text_to_translate = entry.msgid
      # Building the prompt
      prompt = f"Translate to Spanish. Context: {context}\nText: {text_to_translate}"
      # Translate into Spanish
      translation = translator(prompt, src_lang="en_XX", tgt_lang="es_XX")[0]['translation_text']
      # Extract the translated part (after "Text: ")
      translation = translation.split("Text: ")[-1].strip()
      # Update translation
      entry.msgstr = translation
	  # Save the new .po file
	  po.save(output_file)

# Example of use
input_file = "input.po"
output_file = "output.es.po"
translate_po_file(input_file, output_file)

(You'll need to `pip install' several libraries before running this code (I've done several tests so I'm not sure they're all still needed).
polib
transformers
torch
sentencepiece
sacremoses
protobuf

)
Unfortunately, this does not work very well.
I think I have to 1rst deal with the placeholders included in the po files (e.g. {some_variable} or %s or %(some_variables)s ...) and probably provide a much better prompt to explain to the model how to use the context for translation...
So, I had a look on github, where there are a lot of "gpt for po" projects like yours, but I didn't find any that use an already done translation as disambiguation context, although I think this is absolutely key for po, where sentences are very short (even just one word) and thus don't provide enough context for the translator to work properly...
Maybe the start of a PhD thesis :D

Dear Leo,
Thank you for sharing your thoughts and insights on efficiently translating PO files using LLMs. We appreciate the time you've taken to experiment and even draft some Python code to tackle this challenge.
You're absolutely right—context is crucial when translating short or ambiguous text strings, especially in PO files where a single word like "Bank" can have multiple meanings depending on the context. We have indeed considered this issue and have been exploring ways to integrate contextual understanding into our translation workflows.
In fact, one of the approaches we've been evaluating is allowing users to provide additional context, either by analyzing the entire file to understand its overall content or by letting users add their own context. This would certainly incur extra API costs, but we believe it's a worthwhile investment for achieving more accurate translations.
We're also planning to integrate Claude into our system to expand the range of available LLMs, providing users with more options for translation. Moreover, we're aware of a small bug in the batch (cheaper) conversion process of the application, and we're working on resolving it.
While our project is still in beta, and a lot of work is in progress, we're excited about the potential improvements on the horizon. You can expect to see features like the ones you've mentioned added to our roadmap soon.
Thank you again for your valuable feedback. It’s contributions like yours that help us refine our tools and make them more effective for everyone.
Let us know if this answers all of your questions.


Update to WAM limitations

Adding ADFS as not supported. Also removed Windows Server 2016

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

#sign-off

@jmprieur: I'm sorry - only the author of this article, @maliksahil, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


FilePick cannot open  the native file explorer

I had use filePick on KylinOS， but cannot open the nativae file explorer

Prolly you need to install zenity on the OS.

INFO
In Linux, the FilePicker control depends on Zenity when running Flet as an app. > This is not a requirement when running Flet in a browser.

To install Zenity on Ubuntu/Debian run the following commands:

sudo apt-get install zenity
sudo apt-get install zenity

Prolly you need to install zenity on the OS.
It is mentioned in the docs: Flet File picker docs
INFO
In Linux, the FilePicker control depends on Zenity when running Flet as an app. This is not a requirement when running Flet in a browser.
To install Zenity on Ubuntu/Debian run the following commands:
sudo apt-get install zenity

ok, thanks.


Exit listen action when throw exception

Hi
I want exit from listening when throw a new exception in my job and want get errors in error logs not in verbose logs

You can use LogBehavior to write logs after each job. Configure example:
'queue' => [
    'class' => \zhuravljov\yii\queue\Queue::class,
    'as log' => \zhuravljov\yii\queue\LogBehavior::class,
],

If you need to exit from listening when throw a new exception use Queue::EVENT_AFTER_ERROR:
'queue' => [
    'class' => \zhuravljov\yii\queue\Queue::class,
    'on afterError' => function (\zhuravljov\yii\queue\ErrorEvent $event) {
        throw $event->error;
    }
],

How can exit from listener worker?
After throw an exception write error stdout and don't exit from worker and worker locked! and with below code i can't exit from worker!
'queue' => [
    'class' => \zhuravljov\yii\queue\Queue::class,
    'on afterError' => function (\zhuravljov\yii\queue\ErrorEvent $event) {
        throw $event->error;
    }
],

What can i do?

Beginning from 0.12.0 a job is executed isolatly in a child process. So a job executing doesn't affect on a listener. I will make separate option that would disable this. For example:
php yii queue/listen --isolate=0

What is benefits of isolate listener? when job stuck in worker?

Some components are designed for a short life cycle. And they can break, if a job is executed in main process, which works in daemon mode for a long time. There are #8 and #12 reports about lost connections of db and mailer connections.

Thank you, I waiting for "isolate" option

isolate option does not work for me!


Testing View Across Devices in Simulator

I know in the Realm UI and Snapshot Testing Video Luis mentioned that we can test views across devices (iPhone5 vs iPhone 6+ etc).
I want to know which device I am running on within simulator, but when I print out the model name
let modelName = UIDevice.current.modelName

It would just say I am running in Simulator.
I was following this Stack Overflow post How to determine the device running in the simulator?
 but using FBSnapshotTestCase is not necessarily related to "functionalities available".  Has anyone ran into a similar problem?

Probably use sysctl.h, like this library does:
https://github.com/InderKumarRathore/DeviceUtil/blob/master/DeviceUtil.m


Don't log skip/todo tests in mini reporter

This PR fixes #628.
Mini reporter now shows skipped/todo tests only at the final output with all the results.

:shipit:


We should display Differentiae Database volpiano snippets

A follow-on to #1014 - I sent an email to Jan asking about what API CD uses to get volpiano snippets from Differentiae Database, and it turns out there's no API - Jan has an extra table in OldCantus where these snippets are stored. He sent us a database dump with all the information he has.
It seems that this table was created once and has rarely/never been touched since. I asked Debra, and it sounds like the data in DD doesn't change very often (for better or for worse - I understand @annamorphism may have some opinions on this).
I'm thinking the best approach could be to create a new Differentia model in our database to store volpiano snippets for display on the Chant Detail page. From time to time (perhaps once a year), we can sync data with DD, perhaps by asking them for a CSV.
The model would look something like this (based on what I can see at https://differentiaedatabase.ca/index):
class Differentia(BaseModel):
    differentia_id = models.CharField()  # values like `129a` get stored here
    melodic_transcription = models.CharField()  # values like `1--k-k-l-j-k-h--4` get stored here
    # mode - differentia database stores information on mode, but we don't expect to ever need to display it
    # saeculorum - DD stores a volpiano snippet about the "saeculorum" part of the differentia, but we don't expect to ever need to display it
    # amen - DD stores a volpiano snippet about the "amen" part of the differentia, but we don't expect to ever need to display it

Does creating a new model like this seem like a reasonable course of action? In the absence of any dissenting voices within the next ~24h, I'll go ahead and start implementing this.

Related to #774


Remove character limit from Zipcode field to support international giving

fixed and will go out in the next deploy


k_wakeup follwed by k_thread_resume call causes system freeze

Describe the bug
I've added a while loop with 8 seconds sleep in a thread. Now by mistake I called both  k_wakeup and  k_thread_resume which is causing system to get freeze without any crash logs.
To Reproduce
Steps to reproduce the behaviour:

$ git clone -b thread-handling-issue https://github.com/rhardik/reproduce-zephyr-issues.git
2.$ cd reproduce-zephyr-issues
copy issue-1 folder to zephyr compilation environment
$ cd issue-1 && west build -b <board_name>    (I'm using nRF52 boards)
west flash
press button-0 to suspend thread.
press button-1 to resume thread (here I've used both  k_wakeup and k_thread_resume)
See at UART terminal: system gets freeze
Now edit the code. Enable k_thread_suspend(dummy_tid)

while (1) {                         k_sleep(K_MSEC(8000));                         printk("flag = %d\n",dummy_flg);                         printk("%s\n", __func__);                         //k_thread_suspend(dummy_tid);         }
10. Recompile and flash the code.
11. Press button-0 to see if suspend thread works or not.
12. Press button-1 to resume the thread.
13. See at UART terminal:  while loop continuously running without considering k_sleep(8000)
Expected behavior
System should not get freeze if I call k_thread_resume after k_wakeup (Note: thread in sleep state here)
Impact
annoyance.
Logs and console output

Environment (please complete the following information):

OS: Linux)
Toolchain - Zephyr SDK
Commit a3fae2f  (zephyr v2.2.99)

We don't generally do defensive state checking in kernel APIs.  Indeed, resuming an unsuspended thread or waking up a non-sleeping one is a fatal error, and exactly the behavior you get is essentially undefined.
It's no different than trying to do things like double-remove a list item, etc...
I suppose someone could add some assertions in there to check state.

I confirm that k_wakeup and k_thread_resume do not play well together, and do not seem to be no-ops when the thing they're supposed to do is unnecessary.
https://github.com/pabigot/rhardik-reproduce-zephyr-issues/commits/issue/28694 has two commits, the first updating the example to current Zephyr APIs, and the second making the test a little nicer to work with.  Below is the summary of the functional changes and observed behavior.
Shorten the delay and print a running timestamp in the dummy thread.
Simplify compile-time selection of whether the dummy thread
self-suspends.
Use a counter to iterate through four responses to SW1 press:

only k_wakeup
only k_thread_resume
both k_wakeup and k_thread_resume
neither k_wakeup nor k_thread_resume

If the dummy thread does not self-suspend then k_wakeup alone, and k_thread_resume alone, both work.  When both are invoked, the program hangs.  This appears to be a bug.
If the dummy thread does self-suspend then

SW1 #1 k_wakeup has no effect
SW1 #2 k_thread_resume has no effect
SW1 #3 k_wakeup and k_thread_resume releases the dummy thread and it  fast-loops, neither sleeping nor suspending.  This appears to be a bug.

These are syscalls so even if we are lax about checking correct usage from supervisor mode contexts, a nefarious user thread shouldn't be able to cause corruption or DoS via the syscalls, at minimum needs to be 100% robust from user threads (and very likely worth making robust from all contexts). I'd say Medium priority is appropriate.

Indeed, resuming an unsuspended thread or waking up a non-sleeping one is a fatal error, and exactly the behavior you get is essentially undefined.

that is not true per the documentation:
/**
 * @brief Wake up a sleeping thread.
 *
 * This routine prematurely wakes up @a thread from sleeping.
 *
 * If @a thread is not currently sleeping, the routine has no effect.
 *
 * @param thread ID of thread to wake.
 *
 * @return N/A
 */
__syscall void k_wakeup(k_tid_t thread);

and
/**
 * @brief Resume a suspended thread.
 *
 * This routine allows the kernel scheduler to make @a thread the current
 * thread, when it is next eligible for that role.
 *
 * If @a thread is not currently suspended, the routine has no effect.
 *
 * @param thread ID of thread to resume.
 *
 * @return N/A
 */
__syscall void k_thread_resume(k_tid_t thread);

Both calls should just have no effect, it should not hang or crash.


New GA qnamaker portal, can't find how to deploy the bot to web chat

Bot Info

Active Channels: None
Deployment Environment: Azure Bot Service,

Issue Description
I created a new knowledge base in the new GA portal of QnAmaker. After i deployed the bot i can't find the channels tab in Azure. How can i deploy the bot to web chat and Microsoft Teams?
Reproduction Steps

Create the bot in QnAmaker
Open the bot in Azure
Try to find the channels section

Expected Behavior
I expected a tab in Azure where you can deploy the bot to different channels
Actual Results
There is no channels tab, so i can't deploy the bot

Can you provide a screenshot of the page you see?

Hi @stevengum97,
I found the solution. I only created the qnamaker endpoint. All i needed to do was create a web app bot and copy the subscriptionid.

Great! If you run into this problem again please reopen the issue.


Missing LICENSE

I think the LICENSE file is missing.

You are correct! It's in all of the file headers but there's no LICENSE file. I'll fix that today.

Closed by #8


Add support for multiple worker node group in CloudStack provider

What would you like to be added:
Support multiple workerNodeGroupConfiguration in CloudStack
Why is this needed:
Each zone can have its own worker node CloudStackMachineConfig

Done


Docker compose empty environment variables

Followed the install instructions but running the docker stack deploy command the above exported environment variables don't get replaced but remain empty. Did I something wrong, or do I have to do something differently now?

It turned out I did not followed correctly the instructions as I used sudo. By removing that, the environment variables are getting replaced correctly.


Bash expansion

Every variable ($1, $dir) should be quoted
If someone has a space or a breaking character, this script could run into vulnerabilities

Fixed.


8397 key question answers missing in responses index

Bug fixed in response decorator, added missing spec for response decorator, added spec for response listing

Got it @smoyth , ya I missed the "key" part completely.


Create mi-synergy

@sahan93knightz MI-Synergy is not a university nor a college, thus it can not be added to this repository. I am sorry, but I have to close this request without merging. Should you have any educational activity, please email to<EMAIL_ADDRESS>in order to get free classroom licenses for the students. Thank you for your understanding!


Test mutating attributes after initial render

Summary
Write tests for mutating attributes after initial render e.g. updating an aria label on Button, previously the aria label of the HTML button did not update.
💬 Description
This issue involves going through all components where attributes are used and adding tests for any attribute.
It is worth noting, this is only relevant to attributes as they do not work like props and automatically update if their value is amended, so some functionality here will be missed.
If there is issues where this does not work, this ticket will include the fix of those components.
💰 Use value
To ensure what ICDS release works, and continues to work as we make changes.

Add to PR checklist

Some potential extra work in this to remove what has already been implemented with the Watches in other areas to let what @ad9242 posted do the work


test: fix authorization in BDD tests

Signed-off-by: Andrii Holovko<EMAIL_ADDRESS>

@aholovko can we add a bdd test workflow to test these flows ?

@rolsonquadras I will add it


Add a link to the documentation of the bunq API?

See title, is this documented somewhere? Would make contributions much easier ;-)

I recently contacted support and it appears that they don't currently have a public API 😞

They are working on it: https://together.bunq.com/topic/is-there-a-bunq-public-api

bunq API is available: https://www.bunq.com/en/news/international-and-api-launch


Jade Question

Hey,
I know you did not build this package to work with jade but I was fiddling a little bit with it to see the result of compiling with jade. It turns out that it could work if I know how to lock onto the compiled Protonect shared object libbrary. This is what I got when I tried compiling with jade:
/usr/local/lib/libfreenect2.so: undefined reference to `libusb_free_ss_endpoint_companion_descriptor'
/usr/local/lib/libfreenect2.so: undefined reference to `libusb_get_ss_endpoint_companion_descriptor'
collect2: error: ld returned 1 exit status
iai_kinect2/kinect2_bridge/CMakeFiles/kinect2_bridge.dir/build.make:185: recipe for target '/home/lex/catkin_jade_ws/devel/lib/kinect2_bridge/kinect2_bridge' failed
make[2]: *** [/home/lex/catkin_jade_ws/devel/lib/kinect2_bridge/kinect2_bridge] Error 1

My question: do you have an advice on how I can make kinect2_bridge rightly link to libfreenect2.so without all the dependency errors I have above?
Looking forward to your reply.

Pardon me, the error was because I installed freenect from libfreenect earluy on and this had installed its version of libusb in my /usr/local/lib directory. After purging that directory of all libusb* files, I reinstalled the latest libfreenect2, recompiled iai-kinect 2 with jade and BAM! It works!
You could update the README with support for jade, methinks!

Good to know. Thanks!


Add ExceptionManager to REST calls #28

Current coverage is 39.93% (diff: 26.31%)

Merging #47 into master will decrease coverage by 2.72%

@@             master        #47   diff @@
==========================================
  Files            22         25     +3
  Lines           286        303    +17
  Methods           0          0
  Messages          0          0
  Branches         31         31
==========================================
- Hits            122        121     -1
- Misses          152        170    +18
  Partials         12         12

Powered by Codecov. Last update 26325db...2f23412

I am not a big fan of checked exceptions, mostly do to the noise they add...
So, I would like to propose create a new unchecked exception say, IPaasException that would be used to wrap around all kinds of checked exceptions. This would remove the noise from methods, and would still allow us to use something like an ExceptionMapper.
I think that this concept is suggested in Effective Java and we have been using it in the Kuberntes Client too: https://github.com/fabric8io/kubernetes-client/blob/master/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/KubernetesClientException.java#L51
Now in this particular case, we could store the root exception so that it can be used in the mapper if needed.
THoughts?

I think mostly the same, especially if we would to add mappers for every exception (so maybe a single REST exception handler which creates different errors based on the wrapped 'real' exception ?). Exception tunneling makes sense to me in general, especially when go across layers.
@iocanel btw, why don't you throw the runtime exception here in your example but return it ? Whereas for a wrapped checked exception you throw it ?

@rhuss: Currently the method is used like:
catch (Throwable t) {
   throw KubenetesClientException.launderException(t);
}

If we threw the exception instead of returning the method would be used like:
catch (Throwable t) {
    KubenetesClientException.launderException(t);
}

The first seems a little bit more clear. Everyone gets what it does, without having to look at its impl. Other than that no real reason.

@rhuss: If you are refering to line 57, then yeah I guess we should return the Exception there too :-)

@iocanel, ah yeah, sorry forgot the link ;-) But you got it anyway :)

:+1: to unchecked exceptions.

The discussion is a bit besides the point as the exception mapper is used to map java exceptions to http status/error codes, with the exceptions being checked or unchecked, and then being able to providing the REST user with correct http status and and a useful message.
Let's open a new issue to change our error handling to unchecked exceptions.

That's fine with me.


Customizing Columns in Results Viewer "Rules" Section

Hello, my team @ Google uses this extension for viewing sarif results in VS code, thx for making it!
Currently team members work in isolation when viewing sarif results. My goal is to make triaging individual results easier and create a way to share results with team members more easily.
For example viewing a "Rules" results, one can view the following columns:

Line
File
Message
Baseline (Filter-able)
Suppression (Filter-able)
Rule (Filter-able)

I would like to be able to mark an individual result as a Bug. Perhaps this could be by adding an additional column such as "Security" enumerated by user-defined options of "Low", "Medium", "High".
Is there any such existing way to triage results collaboratively?
FWIW I stumbled upon another extension (https://marketplace.visualstudio.com/items?itemName=trailofbits.sarif-explorer&ssr=false#overview) that seems to have support for collaborative triaging, but interested to see if there are similar features with this extension!
Thanks

Closing due to inactivity


[Issue #56] Add travis integration

Okay, I couldn't get travis to work. I switched to circle and it's a dream. I'm going to open a new PR.


How do i update the bot ( dev branch )

How do i update my bot from what it was 2 days ago to the new version
Do i also have to update python and stuff? The bit was working b4 the new Api
Please let me know the changes i have to make to use the bot again :D

Add encrypt.so or encrypt.dll (depending on platform) to the PokemonGo-Bot folder
use git pull to update
be sure to checkout the dev branch tho

... Thanks for the info but i didn't understand :(
could you tell me stuff like make this file
run this in the terminal or stuff like that I'm just 15 and want the bot to work i don't understand that stuff ^ srry

So hmm i make a file called encrypt.dll ( mac ) in my pokemongo-bot folder
then i run the like ( git pull ) in my terminal ?
and thats it?

On mac and linux you need encrypt.so
We can't provide the file here because it contains copyrighted code

but you could link to the site ;)

Not sure if this is allowed but here your go: encrypt.so for OS X 64bit  (SHASUM: 1e9b7e25f176a02a427e3d1963aa1033b21e2bf8)
http://www.mediafire.com/download/engnf5fvj65duxa/encrypt.so

thanks working finally

This happened :
Traceback (most recent call last):
File "pokecli.py", line 38, in
from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException
ImportError: cannot import name ServerSideRequestThrottlingException

@Parth6182  i got the same thing

@Parth6182  would you teach me how i can get encrypt.dll?  i am using windiwos.

@tomalbrc Do you have any idea about how to fix this issue

Traceback (most recent call last):
File "pokecli.py", line 38, in
from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException
ImportError: cannot import name ServerSideRequestThrottlingException

I have the same error on win7:
Traceback (most recent call last):
File "C:\git\version-control\newapipkmgo\PokemonGo-Bot\pokecli.py", line 38, in
from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException
ImportError: cannot import name ServerSideRequestThrottlingException
Someone know how to solve this error? (I tried to remove the ServerSideRequestThrottlingException but then I got other import problems in other files...)

please close the issue if it's fixed, for others:
https://github.com/PokemonGoF/PokemonGo-Bot/issues/2780

what is a git pull?

@swangaa if you pay me I will teach you tricks (small hint it includes how to use google!)


Automatically open proof request or credential offer when a connection is made

User stories
As a holder I want the proof request or credential offer to be presented automatically right after scanning a QR code from a verifier or issuer so that I don't have to manually open the request or offer myself.
Background
User research has observed moments of confusion in between the process of scanning a QR code and receiving a credential offer or proof request. Many factors play into this confusion:

Users see the "success" notification of a connection and assume that the process is done and begin putting the phone away. They expect to have a credential in their wallet or access to the service when a connection was made.
Users are taken to the home screen (Trinsic) and nothing happens. They're not sure what to do next.

The purpose of this ticket is to linearize the process in receiving a credential or accepting a proof request. Users are taken to a loading screen. This loading screen is when the wallet and the issuer or verifier is making a connection and then sending them either a credential offer or proof request that opens automatically (no notification is received from the perspective of the user. From their perspective, they automatically are taken to the intended flow). This solution removes the confusion of when a flow is complete with loading screens and eliminates the unnecessary selection of a notification to open up the offer or request.
Acceptance Criteria
Scenario: Presenting a credential
Given Wallet has been setup
When holder scans a QR Code to connect
Then the user is taken to the "Connecting..." screen, AND waits for presentation request
AND then automatically taken to a the "presentation request" screen
AND there is an "Approve" Button
AND there is a "Decline" Button
Scenario: Receiving a credential
Given Wallet has been setup
When holder scans a QR Code to connect
Then the user is taken to the "Connecting..." screen, AND waits for a credential offer
AND the automatically taken to a the "credential offer" screen
AND there is a "Accept" Button
AND there is a "Decline" Button
Note: Is there any hint for the purpose of establishing a connection? For Issuing credential, or for verifying credential?
Reference:
https://github.com/hyperledger/aries-rfcs/blob/main/features/0023-did-exchange/README.md
https://github.com/hyperledger/aries-rfcs/blob/main/concepts/0519-goal-codes/README.md

@knguyenBC, do we have a link to a wireframe for this?

@knguyenBC I think the Presenting a credential link in the description is not setup to point to the wireframes.

@nodlesh fixed the link. Sorry.


Illuminate\Database\Eloquent\Collection::map() converts to base collection only if not empty

Laravel Version: 6.2.0
PHP Version: 7.3.7

Description:
Illuminate\Database\Eloquent\Collection::map() method returns either Collection or Eloquent Collection, depending on the result set being empty or not. Seems like not a big deal at first glance, but there are certain scenarios where Eloquent Collection behaves differently.
Steps To Reproduce:
Add at least one User to your database and do:
dd(
    get_class(User::whereRaw('1 = 1')->get()->map(function () {})),
    get_class(User::whereRaw('1 = 0')->get()->map(function () {}))
);

You should get:
"Illuminate\Support\Collection"
"Illuminate\Database\Eloquent\Collection"

I can indeed reproduce this but I'm not sure if this is a bug or not. It seems okay to me since an empty collection doesn't contains any models so if doesn't needs to be an Eloquent collection?

Definitely seems to me that the Eloquent Collection is a specialized collection of Eloquent models. It comes with methods specific for collections of Eloquent models. Without models, it's just an empty base collection.

Yeah, @devcircus I agree. I think this is expected behavior. @powelski can you explain why you need it to be an Eloquent one?

Guys, the issue is that the empty mapped Eloquent Collection is still the Eloquent Collection, not the other way around.
I had some hardcore collection modification, with unions and only(). I encountered that behavior and one of the differences between Eloquent Collection and Collection is how only() behaves. It preserves keys in the Collection, but reindexes the Eloquent Collection (which by definition shouldn't be associative I suppose).
I spent a good 30 minutes to find out the bug in my code, I expected map() to always return Collection and never Eloquent Collection. My case aside, it's still not optimal pattern to return different type according to the input of the same class.

🤷🏻♂I don't agree but I can't imagine a scenario where I'd need to know that an empty collection would be composed of Eloquent models if it wasn't empty, so not really opposed to a change.  Maybe drop this in the ideas repo or try a pull request. Either way, i see it as a desired change in behavior, not a bug.

Yeah, feel free to open up an issue in the ideas repo if you'd like to change this behavior.

@devcircus please read the issue once again, carefully. I said twice that map() returns an Eloquent Collection in case of empty Eloquent Collection, which is a bug. It should always return basic Collection, no matter if it was empty or not.

Ahh yes I read the issue incorrectly, however, like I said, either way, i believe it's a change in behavior that's just a matter of preference. Maybe it should be changed but it's best to feel the pulse of the community that's likely been using it this way for years. The best way to do that would be filing an issue in the ideas repo, then maybe making a PR and seeing what Taylor has to say.
Honestly, I would expect the same thing. I can't envision a scenario in my apps where it would matter, but I see your point.

It matters in some specific cases, like mine above. There are a few nuances where Eloquent Collection is different. It would be fine if Eloquent Collection was just a superset of Collection, but it’s not the case. Hence, that’s an antipattern - returning class A instance if input value is something and returning class B instance if value is something else, even though both Input values were of the same type. In my humble opinion it’s a bug, not preference. There is mo ideology behind it, just overseen behavior.

Yeah, feel free to open up an issue in the ideas repo if you'd like to change this behavior.

@driesvints Can we please reopen this issue? Please re-read.

@powelski I still feel that this isn't a bug sorry. But feel free to either open an issue on the ideas repo or send in a PR if you feel like something should be changed. Might be best to send this to the master branch as it'll be a change in behavior.


Platform Specific Styles in the app's config not working in RC1

Short description of the problem:
From the Platform Specific Styles docs and the Config API docs, I'm trying to force a popover control to use material design style for my app, regardless of platform selected. But it does not seem to be working even on browser (Chrome)
What behavior are you expecting?
I expect the popover control in my app to use the material design style when I add the following entries to the config
imports: [
    IonicModule.forRoot(MyApp, {
      popoverEnter: 'popover-md-pop-in',
      popoverLeave: 'popover-md-pop-out'
    }),
    AngularFireModule.initializeApp(firebaseConfig, firebaseAuthConfig)
  ],

Which Ionic Version? 2.x
Other information
The official demo here doesn't eve work
Run ionic info from terminal/cmd prompt: (paste output below)
Your system information:
Cordova CLI: 6.3.0
Gulp version:  CLI version 3.9.0
Gulp local:
Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.1
Ionic App Lib Version: 2.1.1
Ionic App Scripts Version: 0.0.33
OS: Windows 7 SP1
Node Version: v6.7.0

???

Hello @gigocabrera . I am going to close this issue for now as I cannot reproduce this issue in the latest version of Ionic. Thanks!

I believe I am facing this issue now although I am trying to set the style to ios.
I do not get the ios popover but if I attempt to get the md popover across devices it works.
The code I am using is
IonicModule.forRoot(MyApp, {
      popoverEnter: 'popover-pop-in',
      popoverLeave: 'popover-pop-out'
    }),

What I receive is..
(Android on the left, iOS on the right)

What I expect to see is the arrow like point towards the button that opened the popover being showed on both devices (not just the iOS device, seen on the right in the image)
Ionic info:
@ionic/app-scripts : 3.1.5
@ionic/cli-plugin-proxy: 1.5.6
@ionic/cli-utils: 1.19.0
ionic (Ionic CLI): 3.19.0

With me is happening the same as it does with philipgriffin...
I'm running Ionic 3.9.2.
It also shows a blank popover and NO arrow towards the button...

@philipgriffin @gamboaweb i think u have some misunderstanding about what "popoverEnter" and "popoverLeave" does, those to override only the transition of popover while present or leave not to override the design

@alaa-alshamy - ah I see. I have misunderstood it then. Does that mean there is no way to specify the design of the popover? (Without manually changing css)

yea i think so, There is currently no way to set a single component to match the styles of a different platform. u can change the whole app design only

any update?


setParams inside nested navigator, replace initialRouteName

Current Behavior
Whenever I got multiple nested navigator, intialeRouteName starts to be overridden.
Let's imagine the following stack

class TabOne extends Component {
  render() {
    return <Text>TabOne</Text>
  }
}

class TabTwo extends Component {
  static navigationOptions = ({ navigation }) => ({
    headerTitle: (<Text>{navigation.state.params ? navigation.state.params.title : ''}</Text>)
  })

  componentDidMount() {
    this.props.navigation.setParams({
      title: 'passing params',
    });
  }

  render() {
    return <Text>TabTwo</Text>
  }
}

const HomeNavigator = StackNavigator({
  tabOne: {
    screen: TabTwo,
  }
}, { intialRouteName: 'tabOne' })

const MainTabNavigation = TabNavigator({
  tabOne: {
    screen: TabOne
  },
  tabTwo: {
    screen: HomeNavigator
  },
}, { intialRouteName: 'tabOne' });

export default StackNavigator({
  mainScreen: {
    screen: MainTabNavigation
  }
}, { intialRouteName: 'mainScreen' });

StackNavigator
 |
 +--> MainScreen :
           |
           + ---> TavNavigator
                        |
                        + --> TabOne : Component // This is the initialRouteName
                        + --> TabTwo
                                   |
                                   +---> StackNavigator
                                              |
                                              +---> Component // This is the route rendered instead

TabTwo is render instead of TabOne.
Expected Behavior
It should just render the correct initialRouteName
You can easily reproduce the issue using this snack : https://snack.expo.io/HJmosSpcW

software
version

react-navigation
1.0.0-beta.12

react-native
0.47.1

node
v8.2.1

npm or yarn
5.3.0

👍 On this issue, may be related to #1711 #2583

I've been experiencing the same issue. Workarounds suggested in #1711 and #2583 are haven't fixed it for me.

Pinging OP @llaine since this issue has not been active for a while, and it's related to an old version of the lib.
Please let me know if you want this to remain open (does it still happen in the latest version?); if I get no answer in the next 7 days I will close it.

Hi there @llaine,
In an effort to cleanup this project and prioritize a bit, since this issue had no follow up since my last comment I'm going to close it.
If you are still having the issue with the latest version (especially if it's a bug report) please check the current open issues, and if you can't find a duplicate, open a new one that uses the new Issue Template to provide some more details to help us solve it.


How to make the program end without moving tf_func() out of the loop?

Click to expand!
Issue Type
Support
Have you reproduced the bug with TF nightly?
No
Source
source
Tensorflow Version
tf 2.11.0
Custom Code
Yes
OS Platform and Distribution
Windows 11
Mobile device
No response
Python version
3.7.16
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
Code doesn't work correctly.

Standalone code to reproduce the issue
import tensorflow as tf
import numpy as np

class test:
    def __init__(self):
        self.counter=None

    def sum_func(self):
        if np.sum(self.counter)==1875:
            return True

    @tf.function
    def tf_func(self):
        flag=self.sum_func()
        return flag

    def counter_func(self):
        while True:
            for i in range(1875):
                if i==0:
                    self.counter=np.array(1)
                else:
                    self.counter=np.append(self.counter,np.array(1))
                flag=self.tf_func()
                if flag==True:
                    return

t=test()
t.counter_func()

Relevant log output
No response

I was able to reproduce this issue in TF 2.11. Please find the gist here.
@tilakrayal  Could you please look into this. Thank you.

@tilakrayal Actually tf_func() is called only once, but I want to keep @tf.function.


Sampling interface update

How should we re-design our sampling interface so that it can be consistent to Stan's type (Stan.hmc, Stan.adapt)

This should be done before https://github.com/yebai/Turing.jl/issues/324

Considering backward-compatibility and the purpose of fixing #324, for now, it's better & easier to provide another interface using Stan.hmc and Stan.adapt to call Turing.jl's interface first.
We can just ignore some setting which unavailable in Turing.jl for now, and fix then later when we update internals. Do you think it's fine?

We can just ignore some setting which unavailable in Turing.jl for now, and fix then later when we update internals. Do you think it's fine?

Sounds good to me!

This is done in https://github.com/yebai/Turing.jl/pull/343

Closed by #343


How integrate django-shop in existing project?

I used pip install django-shop, what next?

Same here

This question is far too wide.
To start with, use one of the provided demos and merge it with you current project.
I even don't know what your existing project looks like.


Changing default widget class attribute for all widgets

Is there a way to change the default CSS class for widgets ? I am trying to use Bootstrap 3, and form widgets need a class form-control to be displayed properly. I can't seem to find a way to do it without writing lots of code...

For your information, I faced a similar issue and I managed to fix it with the following changes in my form base classes : https://github.com/ljean/coop_cms/commit/cb25fe6ad3e8cdac9c6ff7046812d3a6309c4b18
It's a bit "hacky" but it seems to work fine.


Small refactor.

Stack:

#6328
#6327
#6323 ⬅

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

This change is

crates/cairo-lang-lowering/src/optimizations/match_optimizer.rs line 264 at r1 (raw file):
Previously, orizi wrote…
just to make it a bit more direct.

How do you handle a remapping of a variable that is not the match variable?

crates/cairo-lang-lowering/src/optimizations/match_optimizer.rs line 228 at r2 (raw file):

        let Some(var_usage) = remapping.get(&candidate.match_variable) else {
            return;

In the original code, the candidate was invalidated in this case.
Code quote:
 return;

crates/cairo-lang-lowering/src/optimizations/match_optimizer.rs line 264 at r1 (raw file):
Previously, orizi wrote…
he already  had a return on empty remapping - i don't understand the placement of the question.

I'm talking about a non-empty case; I added a comment above.


Adding Tech Stacks Used in ReadMe Section

I want to add Technology Stack used in the ReadMe. This would be quite helpful for contributors who are looking forward to contributing to the blog tweet.
This would enhance the readMe section.
Plz, assign me this task.

ok

Hi, @AKD-01, I have resolved Issue #171 and raised a pr. Please review and merge it.


Conditional Tasks

I think we should add a condition parameter to the tasks buttons that would only show the button if the condition is true. A real world example would be Hiding the "Start Server" button if the server is already started. It'll add some more flexibility to options. If we combine it with #2, it'll be possible to make menus that are based off what the server is.

That would be awesome!


Scss support

Please add less/scss support for usefull define fonts path, and over and over carrefull settings.

Not looking to add support for Less/Sass at this point. Welcome to PRs that wish to implement support.


runtime: probably excessive garbage collection

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?
tip through go1.4

What operating system and processor architecture are you using (go env)?
{dragonfly,freebsd,linux,openbsd,netbsd}/amd64

What did you do?
ran the following snippet:

package main

import (
        "fmt"
        "net"
        "runtime"
        "syscall"
)

func main() {
        c, err := net.ListenPacket("udp4", "<IP_ADDRESS>:0")
        if err != nil {
                fmt.Println(err)
                return
        }
        f, err := c.(*net.UDPConn).File()
        c.Close()
        if err != nil {
                fmt.Println(err)
                return
        }
        //defer f.Close()
        s := int(f.Fd())
        for i := 0; ; i++ {
                soerr, err := syscall.GetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_ERROR)
                if err != nil {
                        fmt.Println(err)
                        return
                }
                fmt.Println(i, soerr)
                runtime.GC()
        }
}

What did you expect to see?
no error output

What did you see instead?

0 0
1 0
[...]
bad file descriptor

This is not a bug, IMO. f is not live by the time the loop starts, and it
is collected, triggering the finalisers.
On Tue, 22 Mar 2016, 19:47 Mikio Hara<EMAIL_ADDRESS>wrote:

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?
tip through go1.4
2.
What operating system and processor architecture are you using (go env
)?
{dragonfly,freebsd,linux,openbsd,netbsd}/amd64
3.
What did you do?
ran the following snippet:
package main
import (
"fmt"
"net"
"runtime"
"syscall"
)
func main() {
c, err := net.ListenPacket("udp4", "<IP_ADDRESS>:0")
if err != nil {
fmt.Println(err)
return
}
f, err := c.(*net.UDPConn).File()
c.Close()
if err != nil {
fmt.Println(err)
return
}
//defer f.Close()
s := int(f.Fd())
for i := 0; ; i++ {
soerr, err := syscall.GetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_ERROR)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(i, soerr)
runtime.GC()
}
}

What did you expect to see?
no error output
2.
What did you see instead?
0 0
1 0
[...]
bad file descriptor
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/golang/go/issues/14910

It works fine when we add a reference for keeping os.File live like defer f.Cose(). Inlining? escape analysis? go tool compile -m -live blah.go just says:
gc.go:23: inlining call to Fd
gc.go:13: err escapes to heap
gc.go:16: c.(*net.UDPConn).conn escapes to heap
gc.go:19: err escapes to heap
gc.go:27: err escapes to heap
gc.go:30: i escapes to heap
gc.go:30: soerr escapes to heap
gc.go:13: main ... argument does not escape
gc.go:19: main ... argument does not escape
gc.go:27: main ... argument does not escape
gc.go:30: main ... argument does not escape
gc.go:25: main: autotmp_22 (type [2]interface {}) is ambiguously live
gc.go:11: live at call to ListenPacket: autotmp_22
gc.go:16: live at call to (*conn).File: autotmp_22 autotmp_25 autotmp_26
gc.go:17: live at indirect call: autotmp_22 autotmp_27 autotmp_28 os.f·2
gc.go:25: live at call to GetsockoptInt: autotmp_22
gc.go:30: live at call to convT2E: autotmp_22
gc.go:30: live at call to writebarrierptr: autotmp_22
gc.go:30: live at call to convT2E: autotmp_22
gc.go:30: live at call to writebarrierptr: autotmp_22
gc.go:30: live at call to Println: autotmp_22
gc.go:31: live at call to GC: autotmp_22
gc.go:27: live at call to convI2E: autotmp_22 autotmp_17
gc.go:27: live at call to writebarrierptr: autotmp_22 autotmp_17
gc.go:27: live at call to Println: autotmp_22 autotmp_17
gc.go:19: live at call to convI2E: autotmp_22 autotmp_11
gc.go:19: live at call to writebarrierptr: autotmp_22 autotmp_11
gc.go:19: live at call to Println: autotmp_22 autotmp_11
gc.go:16: live at call to panicdottype: autotmp_22
gc.go:13: live at call to convI2E: autotmp_22 autotmp_6
gc.go:13: live at call to writebarrierptr: autotmp_22 autotmp_6
gc.go:13: live at call to Println: autotmp_22 autotmp_6

I know it won't happen, but I think we should remove the finalisers from
os.File
On Tue, 22 Mar 2016, 19:54 Mikio Hara<EMAIL_ADDRESS>wrote:

It works fine when we add a reference for keeping os.File live like defer
f.Cose(). Inlining? escape analysis? go tool compile -m -live blah.go
just says:
gc.go:23: inlining call to Fd
gc.go:13: err escapes to heap
gc.go:16: c.(*net.UDPConn).conn escapes to heap
gc.go:19: err escapes to heap
gc.go:27: err escapes to heap
gc.go:30: i escapes to heap
gc.go:30: soerr escapes to heap
gc.go:13: main ... argument does not escape
gc.go:19: main ... argument does not escape
gc.go:27: main ... argument does not escape
gc.go:30: main ... argument does not escape
gc.go:25: main: autotmp_22 (type [2]interface {}) is ambiguously live
gc.go:11: live at call to ListenPacket: autotmp_22
gc.go:16: live at call to (*conn).File: autotmp_22 autotmp_25 autotmp_26
gc.go:17: live at indirect call: autotmp_22 autotmp_27 autotmp_28 os.f·2
gc.go:25: live at call to GetsockoptInt: autotmp_22
gc.go:30: live at call to convT2E: autotmp_22
gc.go:30: live at call to writebarrierptr: autotmp_22
gc.go:30: live at call to convT2E: autotmp_22
gc.go:30: live at call to writebarrierptr: autotmp_22
gc.go:30: live at call to Println: autotmp_22
gc.go:31: live at call to GC: autotmp_22
gc.go:27: live at call to convI2E: autotmp_22 autotmp_17
gc.go:27: live at call to writebarrierptr: autotmp_22 autotmp_17
gc.go:27: live at call to Println: autotmp_22 autotmp_17
gc.go:19: live at call to convI2E: autotmp_22 autotmp_11
gc.go:19: live at call to writebarrierptr: autotmp_22 autotmp_11
gc.go:19: live at call to Println: autotmp_22 autotmp_11
gc.go:16: live at call to panicdottype: autotmp_22
gc.go:13: live at call to convI2E: autotmp_22 autotmp_6
gc.go:13: live at call to writebarrierptr: autotmp_22 autotmp_6
gc.go:13: live at call to Println: autotmp_22 autotmp_6
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/golang/go/issues/14910#issuecomment-199705910

Perhaps it might be better to mention that os.File and net.{Conn,PacketConn,Listener} use runtime.SetFinalizer.

The bug is that the program does not close f, instead it relies on the
system to perhaps figure out when f is no longer reachable and perhaps do a
best effort cleanup.
This is one of the gotchas from relying on finalizers.
On Tue, Mar 22, 2016 at 5:17 AM, Mikio Hara<EMAIL_ADDRESS>wrote:

Perhaps it might be better to mention that os.File and
net.{Conn,PacketConn,Listener} use runtime.SetFinalizer.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/golang/go/issues/14910#issuecomment-199711702

I don't see anything to do here.  The doc comment for os.File.Fd says "The file descriptor is valid only until f.Close is called or f is garbage collected."  That is, if you call Fd, you are responsible for explicitly keeping the os.File alive.


[WIP] Create/Update/Build generalization

We can figure out merging later

So far only pkg command is implemented

@dhillondeep  ready for review I guess
App, Pkg, build, clean, run, etc. are stable,
There seems to be some issues with package commands (a package.json isn't being generated) but that can be fixed later

fixed issues with package commands, is probably stable enough for a merge (obviously not release)
test suite to follow?

Just saw this now. I was thinking we should merge this into development branch instead of master. We will then merge development into master when we are ready for release. This way we can still do hotfixes for the current release. What do you say about that @Mogball ?

Master already has a bunch of commits that aren't related to release. And we can't republish the same version (i.e. on npm and such). So we can just merge into master or whatever and when we release just give it a tag


Incorrect glossary tooltip

This is a Bug Report
There is a wrong reference to the Container runtime interface in this page. It take to container runtime instead of CRI.
Should be updated with correct reference to CRI page.

/sig docs

/language en

/assign

fixed it here


Ability to dynamically fetch value from OCI API

On latest master-head - commit id: ac02f1649

Validation test test_create_oke_cluster fails here

# Get the node shape
    if OCI_NODE_SHAPE is None:
        response = get_oci_meta_response("/meta/oci/nodeShapes", oci_cred_body)

Error:
'type': 'error', 'status': '404', 'message': 'Service error:NotAuthorizedOrNotFound. Authorization failed or requested resource not found.. http status code: 404.

On master-head (07/16/2020)

Validation tests for test_oke_cluster works.
Cluster is deployed successfully.

Another PR: https://github.com/rancher/rancher/pull/27945

UI changes have been merged and are available in latest2

Verified on master-head commit id: c428bc9feb

Deployed an OKE cluster successfully from UI.
Created an OCI node template.
Notice "ssh User" field is NOT available in the template

Node is seen with error Error creating machine: Error running provisioning: error installing docker:

Regarding the error above:

Error creating machine: Error running provisioning: error installing docker:

Rancher support for RHEL-8 / OL-8 is not complete and tracked here: https://github.com/rancher/rancher/issues/23045

Maybe we should be filtering out OL-8* images until https://github.com/rancher/rancher/issues/23045 is fixed?

The feature is verified with Rancher servers:
rancher\rancher:master-head version a3a4c87
rancher\rancher:v2.5-head version d87f58a
rancher\rancher:v2.4-4037-head

Deployed an OKE cluster successfully from UI.
Created an OCI node template.
Observed driver data fetched from OCI API

Tracking OL-8 support separately: #23045


Emails with attachments can get sent multiple times

Expected behavior
Email should only be sent once
Actual behavior
Email gets sent about five times
Steps to reproduce

Send an email with an attachment

Environment
K-9 Mail version: 5.208
Android version: 6.0
Account type (IMAP, POP3, WebDAV/Exchange):
Pop3

Please provide a debug log. See https://github.com/k9mail/k-9/wiki/LoggingErrors

Update - after some testing it appears to also happen with emails without an attachment.
However I do something unusual which could be the cause - I bcc myself on all emails sent from my phone (don't ask - it works for me). I also see a random number of duplicates. I speculate that the number of duplicates relates to the quality of the internet connection (reliable vs. flaky) and the bbc operation.
I will post a debug log.

Close this issue.
I did some checking with Earthlink - they say its an issue with their servers. Let's see if it gets fixed soon or reappears for people with other providers.


CSV export of participants doesn't contain usernames

Describe the bug
The CSV export of participants does not contain usernames.
How to Reproduce
Steps to reproduce the behavioron nighty

Go to 'participants'
Click on the menu on the top right
Click on 'export as CSV'
Open the downloaded file

The downloaded file participants.csv contains no column with usernames.

Expected behavior
The downloaded file participants.csv should contain a column containing usernames.
System information

OpenSlides-Version: 3.2master (same on nighty)
Additional version information (if any): commit c5dd2ea261e4fcde89388d2a98b5f37993aec5c3
Device: Notebook
OS: Arch Linux
Browser: firefox
Browser-Version: 76.0.1

I suppose that's intended. Upon importing the CSV again the user name is optional and will be generated for you. What you are proposing is a feature.

#5598


MSI X570 chipset support

Hey,
I recently got an MSI X570 Gaming Edge Wifi and stumbled upon this project to see if I could control the RGB values with it. Unfortunately it doesn't seem to work, but I'm not getting an error message either.
Has the byte layout changed? A different chip maybe? Anything I can do to assist, let me know.

Same observed behavior with the X570 Gaming Plus. Also interested and happy to help.

Can someone figure out the superio chip used on these boards? That may help get closer to controlling them.

Update: From what I have read, all Msi X570 boards use the Nuvatron Nct6797 super io chip. You might have to do a little reverse engineering to find the data bits you have to write to this newer chip, then fork this project or make a PR with the new data bits being used.

The Nct6795D seems to be used on a lot of X470 and 370 motherboards.

http://download.msi.com/archive/mnu_exe/mb/E7B93v1.0.pdf
Sample manual for the Msi Gaming pro carbon X570. All Msi motherboards list the super io chip in the manual.

Msi SDKs and ref documents. http://download.msi.com/uti_exe/Mystic_light_SDK.zip

https://storage-asset.msi.com/file/pdf/Mystic_Light_Software_Development_Kit.pdf

Looks like X570 may be using a USB chip:
https://gitlab.com/CalcProgrammer1/OpenRGB/issues/63

I started digging through the pcap files that Jeffery posted for me on my OpenRGB Gitlab.  I've documented my initial findings in this comment:
https://gitlab.com/CalcProgrammer1/OpenRGB/issues/63#note_267910270
It's definitely a USB HID device and the RGB pattern is pretty clear here.  We may need more pcaps to truly understand the protocol.  I'll write up a wiki page on my project's wiki to document the protocol.
Unfortunately I don't have one of these boards to develop on, but I've done USB drivers for other stuff and this doesn't look too difficult to reproduce.


useWallet

refactor: useWallet

[x] hasSetupWallet => walletAvailable
[x] change network or account should not auto connect wallet

Added vue-dapp.


Tests crash or hang when writing a lot of output to the console.

Current Behavior
Test cases that write a lot of output to the console through System.out.println or using logger.info (when gradle is run with -i or --info) often crash or hang.
Expected Behavior
The same test cases pass as expected when run with maven.
Context (optional)
No response
Steps to Reproduce
I created three test cases to demonstrate this.
test1 - System.out.println
test2 - logger.info + platform threads
test3 - logger.info + virtual threads
I created a reproducer repo, and ran each test case on each os (macos, ubuntu & windows). That is 9 test cases in total. I ran the reproducer github action multiple times and got a mix of crashes and hangs.
I also had the reproducer run the same 3 tests with maven, on each os, again 9 tests in total. So far, every time these passed, as expected, when run with maven.
https://github.com/matteriben/gradle-iotest-reproducer
Gradle version
8.6
Build scan URL (optional)
No response
Your Environment (optional)
Using github actions I have tested this in macos, ubuntu, and windows.

This issue will be closed as a duplicate of

#15621

Please add your use case and 👍 to that issue.
If you think our analysis is wrong, please provide us with more detailed information explaining why.


Merge Django 1.11.23 into stable/rover-1.11.23

According to Django releases, 1.11.23 (https://github.com/django/django/releases/tag/1.11.23) is SHA 974897759e9afc4cc56fb87e12319fa9697e93c9 -- this looks like it includes some unreleased code (e.g. 473c526b1b014e73e139665db2ddbbcee23bb826).
Is that intentional?

In other words, should this be a merge of django/1.11.23 instead of django/stable/1.11.x?

This is a few commits ahead. Closing this and opening a PR at exactly 1.11.23


Fix depdencies to allow 18,8

Match https://github.com/kedro-org/kedro/blob/0.18.8/dependency/requirements.txt#LL7C17-L7C24
cachetools~=5.3
fsspec>=2021.4, <2024.1  # Upper bound set arbitrarily, to be reassessed in early 2024

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

@merelcht @astrojuanlu - do let me know if you need anything else to review and merge. Thank you!


Bad filename when installing on Windows

I just tried to install the Try package to Julia 1.8.1 on Windows 10. The install fails with this error:
ERROR: GitError(Code:ERROR, Class:Checkout, cannot checkout to invalid path 'src/docs/@?.md')

I believe you're not allowed to use '?' in filenames on Windows.

@MasonProtter Do you happen to have any jurisdiction here?

Sorry, no I don't


Fix single line Razor text to work with TagHelpers

With the new TagHelper's they require Markup blocks to be "more" than just strings of markup. Currently if you do:
@:
Hello World

The parser doesn't accurately detect the HTML after the @: and therefore doesn't enable TagHelpers for the p tags within the line.

Punting this forever unless we get strong feedback


[WIP] ZEPPELIN-152 Propagate error from interpreter process to the GUI

https://issues.apache.org/jira/browse/ZEPPELIN-152
Errors from remote process are not propagated correctly. So, before go and check interpreter's log, it's hard to see actual problem.

This will change propagate error message and status from remote interpreter to the front-end. For example,
before

after

Ready to merge

Merging if there're no more discussions.


qpoases: init at 3.2.1

Description of changes
Add https://github.com/coin-or/qpOASES

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@drupol : in this PR, I amended the commit and force-pushed many times on your comments. Maybe that is not optimal. From my side, this is perfectly fine, I can easily continue doing that. But from your point of this this might not be the best way, I don't know.
Should I address your comments in another way ?
Maybe reviewers should use github review process to regroup multiple comments instead of sending directly multiple comments ?


Create credits.pug

I'll add everyone soon.

Don't merge until i finish!

Now i just need to add the links, stay tight!

Done, you can merge now.

I was thinking of using the GitHub api to auto list each contributor.

https://api.github.com/repos/RiversideRocks/web-riverside/stats/contributors?anon=1

Oh


Add Stickermule to Sponsor List on Bevy

Add Stickermule to Media Partners, as they will provide Stickers to us

@DrackThor can you them to bevy


Display image refresh schedule

macOS 10.12.4/10.12.5 I have been having a problem with my network being completely tied up for minutes at a time, sometimes for half an hour, several times a day. It will be tied up to the point that Safari cannot connect to the Internet and neither can Mail. I studied the log files I can find to discover that an unknown process was trying to access NIC ports one after another numbered in the 50,000-60,000 range.
It occurred to me that something is trying to refresh its data from the Internet on its own schedule which is unknown to me, but interferes with my business correspondence.
 I believe that the Aerial code does not work properly with the networking changes Apple must have made in macOS 10.12.4.
I should be able to control the frequency and time of screensaver image updates in the 'Screensaver Options' section of System Preferences. This would allow me the control I need to keep Aerial out of the way during business hours.
Albert

@bf140 Are you running the latest version? Do you have the videos cached?
If so, the network traffic should be effective nothing until Apple release a new video. Just downloading the JSON file when the screensaver launches. A grand total of 17 kilobytes of data.

@bf140 If you should us the log files entries you mentioned, maybe I can give you a better answer about what is happening on your Mac.


Automated Package Upgrade

:tada: This PR is included in version 5.0.267 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


chore(release): v1.1.14 🎉

:robot: I have created a release beep boop
1.1.14 (2024-04-20)
Bug Fixes

emit: re-attempt emission tasks in attempted state (0dcf206)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/mhetrics/app-usage-events-react/releases/tag/v1.1.14 :sunflower:


Cannot install jtlreporter_db_1 on RHEL 8.5

Describe the bug
I have a trouble to install jtl-reporter on RHEL 8.5
It is not clear where come timescaledb container from.
All other containers installed succefully
podman-compose up -d
using podman version: podman version 3.3.1
Error: error inspecting object: jtlreporter_db: image not known
podman build -t jtlreporter_db -f ./db/Dockerfile ./db/
STEP 1/3: FROM timescale/timescaledb:2.4.1-pg13
✔ docker.io/timescale/timescaledb:2.4.1-pg13
Trying to pull docker.io/timescale/timescaledb:2.4.1-pg13...
WARN[0036] failed, retrying in 2s ... (1/3). Error: determining manifest MIME type for docker://timescale/timescaledb:2.4.1-pg13: reading manifest sha256:f00f2c9113bcb000b1ca2491875f3eed9c02e08c7dd91a2635ad7546a4ac907a in docker.io/timescale/timescaledb: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
WARN[0069] failed, retrying in 2s ... (2/3). Error: initializing source docker://timescale/timescaledb:2.4.1-pg13: reading manifest 2.4.1-pg13 in docker.io/timescale/timescaledb: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
WARN[0103] failed, retrying in 2s ... (3/3). Error: initializing source docker://timescale/timescaledb:2.4.1-pg13: reading manifest 2.4.1-pg13 in docker.io/timescale/timescaledb: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
Error: error creating build container: initializing source docker://timescale/timescaledb:2.4.1-pg13: reading manifest 2.4.1-pg13 in docker.io/timescale/timescaledb: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
125
d95e72f1adcd  docker.io/novyl/jtl-reporter-be:v4.1.0                npm run start         22 minutes ago  Up 22 minutes ago          <IP_ADDRESS>:2020->80/tcp, <IP_ADDRESS>:5000->5000/tcp, <IP_ADDRESS>:6000->6000/tcp  jtlreporter_be_1
d79ea47b5393  docker.io/novyl/jtl-reporter-listener-service:v2.0.1  npm run start         22 minutes ago  Up 22 minutes ago          <IP_ADDRESS>:2020->80/tcp, <IP_ADDRESS>:5000->5000/tcp, <IP_ADDRESS>:6000->6000/tcp  jtlreporter_listener_1
67ff292c50c7  docker.io/novyl/jtl-reporter-scheduler:v0.0.2         npm run start         22 minutes ago  Up 22 minutes ago          <IP_ADDRESS>:2020->80/tcp, <IP_ADDRESS>:5000->5000/tcp, <IP_ADDRESS>:6000->6000/tcp  jtlreporter_scheduler_1
27221367f9cd  docker.io/novyl/jtl-reporter-be:v4.1.0                npm run migrate u...  22 minutes ago  Exited (1) 22 minutes ago  <IP_ADDRESS>:2020->80/tcp, <IP_ADDRESS>:5000->5000/tcp, <IP_ADDRESS>:6000->6000/tcp  jtlreporter_migration_1
fc0af3e8bb68  docker.io/novyl/jtl-reporter-fe:v4.1.1                nginx -g daemon o...  20 minutes ago  Up 20 minutes ago          <IP_ADDRESS>:2020->80/tcp, <IP_ADDRESS>:5000->5000/tcp, <IP_ADDRESS>:6000->6000/tcp  jtlreporter_fe_1
To Reproduce
git clone https://github.com/ludeknovy/jtl-reporter
cd jtl-reporter
podman-compose up -d
Expected behavior
Should be installed
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
My previous attempt to install jtl-reporter succeed
But, I have a different list of containers
349bbc32712e  docker.io/novyl/jtl-reporter-be:v3.4.2                npm run start         7 weeks ago  Up 7 weeks ago  <IP_ADDRESS>:2020->80/tcp, <IP_ADDRESS>:5000->5000/tcp, <IP_ADDRESS>:6000->6000/tcp, <IP_ADDRESS>:27020->27017/tcp  jtlreporter_be_1
b37880ba4736  docker.io/novyl/jtl-reporter-listener-service:v1.0.1  npm run start         7 weeks ago  Up 7 weeks ago  <IP_ADDRESS>:2020->80/tcp, <IP_ADDRESS>:5000->5000/tcp, <IP_ADDRESS>:6000->6000/tcp, <IP_ADDRESS>:27020->27017/tcp  jtlreporter_listener_1
3b8011467fd2  docker.io/novyl/jtl-reporter-fe:v3.4.6                nginx -g daemon o...  7 weeks ago  Up 7 weeks ago  <IP_ADDRESS>:2020->80/tcp, <IP_ADDRESS>:5000->5000/tcp, <IP_ADDRESS>:6000->6000/tcp, <IP_ADDRESS>:27020->27017/tcp  jtlreporter_fe_1
e4baed126960  docker.io/library/mongo:4.2.5-bionic                  mongod                7 weeks ago  Up 7 weeks ago  <IP_ADDRESS>:2020->80/tcp, <IP_ADDRESS>:5000->5000/tcp, <IP_ADDRESS>:6000->6000/tcp, <IP_ADDRESS>:27020->27017/tcp  jtl-reporter-mongodb
3bc381db58f1  localhost/novyl/jtl-reporter-db:latest                postgres              7 weeks ago  Up 7 weeks ago  <IP_ADDRESS>:2020->80/tcp, <IP_ADDRESS>:5000->5000/tcp, <IP_ADDRESS>:6000->6000/tcp, <IP_ADDRESS>:27020->27017/tcp  jtlreporter_db_1
Did JtlReporter make you happay in any way?
Answering this question is not required, but if you have anything positive to share, please do so here.

podman logs jtlreporter_migration_1

<EMAIL_ADDRESS>migrate /src/be
node-pg-migrate "up"

could not connect to postgres Error: connect ECONNREFUSED <IP_ADDRESS>:5432
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1148:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '<IP_ADDRESS>',
port: 5432
}
Error: connect ECONNREFUSED <IP_ADDRESS>:5432
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1148:16)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>migrate: node-pg-migrate "up"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>migrate script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!
WARN[0033] failed, retrying in 1s ... (1/3). Error: initializing source docker://mongo:4.2.5-bionic: reading manifest 4.2.5-bionic in docker.io/library/mongo: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
WARN[0065] failed, retrying in 1s ... (2/3). Error: initializing source docker://mongo:4.2.5-bionic: reading manifest 4.2.5-bionic in docker.io/library/mongo: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
WARN[0097] failed, retrying in 1s ... (3/3). Error: initializing source docker://mongo:4.2.5-bionic: reading manifest 4.2.5-bionic in docker.io/library/mongo: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
Error: initializing source docker://mongo:4.2.5-bionic: reading manifest 4.2.5-bionic in docker.io/library/mongo: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit

Hello @yobshans! The timescale db image is stored in the docker hub. Based on the logs you provided, it looks like you are not able to download the images because of rate limitations - You have reached your pull rate limit. . See:  https://www.docker.com/increase-rate-limit

Thank you for your response. I think, there is no image with docker.io/timescale/timescaledb:2.4.1-pg13 on docker hub.
Which tag I should use now?
v3 I've installed on another machine a month ago. Now I trying to install what I cloned by git.
I would be appreciate if you can share steps to install jtl-reporter step by step flow. (separate containers commands)
Thank you

Sorry I found https://hub.docker.com/layers/timescale/timescaledb/2.4.1-pg13/images/sha256-8bf64c8f8237599e3e5e7ca303c499f2e841e6a4bf7cfc6810c87a15b16ef912?context=explore

In case you do clean install, the steps are very simple as described in https://github.com/ludeknovy/jtl-reporter#installation-steps. But not sure if docker/docker-compose is 100% compatible with podman.
Let me know if you need any further assistance from me.

Just to clarify the situation. I think, you have changed data base containers between versions v3 and v4.
v3 installation which is working has podman images
REPOSITORY                                     TAG           IMAGE ID      CREATED        SIZE
localhost/novyl/jtl-reporter-db                latest        8403b3dd1ade  7 weeks ago    290 MB
docker.io/library/postgres                     11            031f4479ea79  2 months ago   290 MB
registry.access.redhat.com/ubi8/pause          latest        20b34168e325  3 months ago   3.49 MB
docker.io/novyl/jtl-reporter-fe                v3.4.6        749f9a71bd88  5 months ago   27.1 MB
docker.io/novyl/jtl-reporter-be                v3.4.2        ba60c42fabf5  9 months ago   308 MB
docker.io/novyl/jtl-reporter-listener-service  v1.0.1        a469fb4cb553  12 months ago  246 MB
docker.io/library/mongo                        4.2.5-bionic  fddee5bccba3  22 months ago  392 MB
v4 installation not working
podman images
REPOSITORY                                     TAG         IMAGE ID      CREATED       SIZE
registry.access.redhat.com/ubi8/pause          latest      7756324d098f  12 days ago   3.49 MB
docker.io/novyl/jtl-reporter-fe                v4.1.1      ef397aa072d8  2 weeks ago   27.3 MB
docker.io/novyl/jtl-reporter-be                v4.1.0      41f8959b5cbd  2 weeks ago   356 MB
docker.io/novyl/jtl-reporter-scheduler         v0.0.2      8fb4b37e6a73  4 weeks ago   230 MB
docker.io/novyl/jtl-reporter-listener-service  v2.0.1      303cdb6e6bdc  6 weeks ago   246 MB
So, don't need now postgres and mongodb, right?

Well, I have a real issue with docker hub connection from that machine. So, downloaded on another machine, saved image to tar, copy to my machine and loaded. This stage passed.

Now, failed on Error: statfs /root/jtl-reporter/data/jtl_reporter_v4: no such file or directory while run podman-compose up -d on stage: podman run --name=jtl-reporter-db -d --pod=jtlreporter ...................
Need create this directory before  data/jtl_reporter_v4.
Another issue it is:
Error: unknown shorthand flag: 'c' in -c
You should fix command argument from --healthcheck-command /bin/sh -c 'pg_isready -U postgres' to --healthcheck-command '/bin/sh -c pg_isready -U postgres'
Otherwise it failed
Thank you

Finally, I successfully installed. Thank you for support and excellent tool.

Glad you made it work for you!
Feel free to share your thoughts about the application with me either via discussion here or email<EMAIL_ADDRESS>