Forum login attempt resulted in an error page with 2 sub navs

Clicking the Log In button from forum.alonetone.com resulted in:

at this URL

I got the same error clicking this "Sign Up" link as well:

https://app.bugsnag.com/alonetone/alonetone/errors/61e0c3c30bfcdb00071c98f6?filters[event.since]=all&filters[app.type]=rails&filters[error.status]=new

Closed by 393c5e62b44d5c84556098222919680bee889228 with tests


No ability to launchApp with  Intent/Process arguments

one thing that block us to move away from Appium is "launch" arguments
react-native-launch-arguments
capabilities: {
  optionalIntentArguments: `--ez myBool true --es myStr 'string text'`, // Android
  processArguments: {args : ['-myBool', 'true','-myStr', 'string text']}, // iOS
}

android: Additional intent arguments that will be used to start activity.

http://developer.android.com/reference/android/content/Intent.html

ios: Arguments to pass to the AUT using instruments
links

https://maestro.mobile.dev/reference/app-lifecycle#launchapp
http://appium.io/docs/en/writing-running-appium/caps/

Not being able to pass launch arguments when launching the app is also an issue for me.

Same here for iOS..
Having support for launchArguments is really important..


[Question] Add role to member

How do i set Role of a member? Every article i see says Guild.getContoller() but i do not have such method.
Im using JDA 4.1.1_101 no-opus

GuildController has been removed in JDA v4. Check the migration guide.

You have to use Guild#addRoleToMember

@TheSilentPro And update to the most recent version of JDA, you're quite outdated.


Add field bulk actions to Schemas page for changing Global Compatibility Level

Is your proposal related to a problem?

(Write your answer here.)
Now it's possible to change Global Compatibility Level only for all schemas from the list. But in case you need to change it for some schemas, the option Select isn't available http://redesign.internal.kafka-ui.provectus.io/ui/clusters/local/schemas
Describe the solution you'd like

(Describe your proposed solution here.)
Adding a field with checkboxes at the very beginning of the schemas list could provide a choice of which schemas should change the Global Compatibility Level.
Describe alternatives you've considered

(Write your answer here.)
Additional context

(Write your answer here.)

Global compatibility level is a, well, global thing with no relation no particular schemas.


[ci skip] adding user @davisidarta

Hi! This is the friendly automated conda-forge-webservice.
I've added user @davisidarta as instructed in #1.
Merge this PR to add the user. Please do not rerender this PR or change it in any way. It has [ci skip] in the commit message to avoid pushing a new build and so the build configuration in the feedstock should not be changed.
Please contact conda-forge/core to have this PR merged, if the maintainer is unresponsive.
Fixes #1

@davisidarta could you please confirm in this thread that you wish to be added as a maintainer? Thanks!


Fix TreebankWordTokenizer.span_tokenize() Exceptions for Corner-case Input

Please see the doctest str as corner-case test string. The existing develop branch implementation will throw out an error against the str.
Also line 172 regex in existing implementation seems to be wrong - it has duplicate characters in the group. Even if we remove the enclosing character group, it will throw error when testing against my doctest str, because the tokenizer will view "''good" as one token (there are two single quotes ', instead of a double quote ", before the word "good". This is a real-life example I saw in my work).
This solution will work if TreebankWordTokenizer.tokenize() only modifies double quote character and nothing else.

create issue 1865 for this.

Sorry for taking longer to get back on this. There's just something fundamentally wrong when the offsets are not kept at tokenization but that's a long-shot issue.
The conversion loop you've wrote works but I'm not sure whether that's the best way to resolve the problem because there could also be instances of single-quotes that converts single quote to backtick.
Let me take a closer look at it.

After checking the brown corpus and PTB, it seems like the problem happens not at the realign_token but at the tokenization time =)
This is because:
>>> from nltk.tokenize import TreebankWordTokenizer
>>> s = '''I said, "I'd like to buy some ''good muffins" which cost $3.88\\n each in New (York)."'''
>>> TreebankWordTokenizer().tokenize(s)
['I', 'said', ',', '``', 'I', "'d", 'like', 'to', 'buy', 'some', "''good", 'muffins', "''", 'which', 'cost', '$', '3.88\\n', 'each', 'in', 'New', '(', 'York', ')', '.', "''"]

Note that it's happening because "''good" is being tokenized as a single token. So naturally the  align_token would fail because it's trying to file '' as a single token.
That makes it a little easier to resolve!

This is the regex re.compile(r'([ (\[{<])"') that's responsible to post-padding the opening brackets with space
To handle the double single quotes and treat it the same, we can use  ([ (\[{<])("|'{2,})
Now, we also have to find the regex fix to the ending quotes:
    #ending quotes
    ENDING_QUOTES = [
        (re.compile(r'"'), " '' "),
        (re.compile(r'(\S)(\'\')'), r'\1 \2 '),
        (re.compile(r"([^' ])('[sS]|'[mM]|'[dD]|') "), r"\1 \2 "),
        (re.compile(r"([^' ])('ll|'LL|'re|'RE|'ve|'VE|n't|N'T) "), r"\1 \2 "),
    ]

Awesome the original tokenizer regex from Robert McIntyre already covered the closing quotes from (\S)(\'\'):
# Using the v3.2.5 version.
>>> s= '''I said, "I'd like to buy some ''good muffins'' which cost $3.88\\n each in New (York)."'''
>>> TreebankWordTokenizer().tokenize(s)
['I', 'said', ',', '``', 'I', "'d", 'like', 'to', 'buy', 'some', "''good", 'muffins', "''", 'which', 'cost', '$', '3.88\\n', 'each', 'in', 'New', '(', 'York', ')', '.', "''"]

We're good to go, with the ([ (\[{<])("|'{2,}) patch in the TreebankWordTokenizer STARTING_QUOTES regex, that resolve the tokenization part:
>>> from nltk.tokenize import TreebankWordTokenizer
>>> s = '''I said, "I'd like to buy some ''good muffins" which cost $3.88\\n each in New (York)."'''
>>> TreebankWordTokenizer().tokenize(s)
['I', 'said', ',', '``', 'I', "'d", 'like', 'to', 'buy', 'some', '``', 'good', 'muffins', "''", 'which', 'cost', '$', '3.88\\n', 'each', 'in', 'New', '(', 'York', ')', '.', "''"]

Now we can go back and look at the span_tokenize() and it has became a simpler problem.

Ah! There's a problem with the current regex when  span_tokenize regex to tries tocatch the matches at https://github.com/nltk/nltk/blob/develop/nltk/tokenize/treebank.py#L172.
The regex there seems to be a PHP regex format ;P
If we change that regex to this: r"``|'{2}|\"+" and also the changes to the STARTING_QUOTES regexes during tokenization, we get the output:
>>> from nltk.tokenize import TreebankWordTokenizer
>>> s = '''I said, "I'd like to buy some ''good muffins'' which cost $3.88\\n each in New (York)."'''
>>> TreebankWordTokenizer.span_tokenize(s)

>>> TreebankWordTokenizer().span_tokenize(s)
[(0, 1), (2, 6), (6, 7), (8, 9), (9, 10), (10, 12), (13, 17), (18, 20), (21, 24), (25, 29), (30, 32), (32, 36), (37, 44), (44, 46), (47, 52), (53, 57), (58, 59), (59, 65), (66, 70), (71, 73), (74, 77), (78, 79), (79, 83), (83, 84), (84, 85), (85, 86)]

>>> TreebankWordTokenizer().tokenize(s)
['I', 'said', ',', '``', 'I', "'d", 'like', 'to', 'buy', 'some', '``', 'good', 'muffins', "''", 'which', 'cost', '$', '3.88\\n', 'each', 'in', 'New', '(', 'York', ')', '.', "''"]

@yibinlin please revert the changes you've made to the treebank.py and then simply change:

This line https://github.com/nltk/nltk/blob/develop/nltk/tokenize/treebank.py#L70 to (re.compile(r"([ (\[{<])(\"|\'{2})"), r'\1 `` ') and

this line https://github.com/nltk/nltk/blob/develop/nltk/tokenize/treebank.py#L172 to matched = [m.group() for m in re.finditer(r"``|'{2}|\"+", text)]

And that'll resolve the issue =)
Please make the above changes and we'll do another round of light review before merging. Thank you for catching this problem!

@yibinlin - ping

@alvations I think your changes make sense. Thanks!
I am currently traveling. I will send out a new version for review in a day or two.

Sorry for the late update - now I made the changes:

Changed STARTING_QUOTE and span_tokenize as @alvations  suggested.
Added a test case in doctest
Added some minor in-line comments.

Please review when you have time @alvations  Thank you!

Thanks @yibinlin!

Thanks @yibinlin for the changes!
LGTM now =)

Thank you @alvations ! @stevenbird  Do I need to do anything to merge it, or someone with write access will do the merging?

@yibinlin nope, we're just waiting for @stevenbird to do a quick last check and merge =)
Thank you again!

LGTM - thanks @yibinlin and @alvations

@stevenbird the problem arises in the case of '' at the beginning of a line. this is due to the fact that treebank tokenizes the following cases differently: [" \'\'good muffins\"", " \'\'good muffins\"", "\'\' good muffins\""], which in turn causes incorrect match groups for keeping track of the substituted quotation characters.
a fix using the current implementation would be in line 190 of tokenize/treebank.py:
 matched = [m.group() for m in re.finditer(r"\`\`|(?<!^)\'\'|^\'\'(?=\s)|\"", text)]

this is starting to look pretty ugly, but at least wouldn't change the current implementation at all. happy to submit merge req if this makes sense.

Sorry for the late reply - I can confirm the issue locally on my laptop too. @alvations FYI.

thanks, opened as new bug in #2076

I think the treebank tokenizer should be left without a span tokenization because the regex replacement without keeping an offset is not sustainable. We can patch one regex and something else will cause it to break.

@alvations is right. The problem is that the regex-based, non-string-preserving tokenization is impossible to reverse engineer reliably using these simple techniques. I'm trying to write a reliable alternative, and so far I've tried using difflib, which mostly works but doesn't all the time because it produces non-minimal alignments, and then throwing the Hirschberg algorithm at the remainder, but that STILL breaks because of some perverse cases I'm still tracking down.
My recommendation, if you care, is that the regex-based tokenization approach here is untenable if you want to retrieve spans, unless you want to throw a lot of additional machinery at reverse engineering the output. I'd recommend replacing it with an explicit state machine.


Categorical color palette

Whether to incorporate in 1.0 vs. 2.0 TBD

22 Nov - Asked for review yesterday.


0x3D8 LKAS report

00	00	00	00	80	C5	A8	30	shows green left line and yellow right line in lane keep assist
00	00	00	00	80	C5	38	30	shows right line in green in lane keep assist
00	00	00	00	80	C5	58	30	shows left line in green in lane keep assist
00	00	00	00	80	C5	88	30	shows right line in red in lane keep assist
00	00	00	00	80	C5	68	30	shows left line in red in lane keep assist

00 00 00 00 80 45 F0 30    LKAS disabled
00 00 00 00 80 45 60 30    LKAS enabled


[META] Multisite support - adding Burundi as second site [22h]

For each new country that is being added, we'll have separate site on Pantheon.
The code will remian unified (https://github.com/TIP-Global-Health/eheza-app/ repo),
but we should be able to support bahavoural differences. This can be done using additional configuration at front-end Config file.

Issues:

Add configuration for site determination.
This will alsol require new repo, similar to ihangane-infra with properly set Config.Deploy.elm.

Language:

Extend langauges set with new language.
Update language switcher - language label + country flag.
Add new language to all translation sets at Translate.elm.
Add actual translations for all words and phrases.

Ubudehe breakdown:

Person form (not marked as required on back-end, but it is required on create/edit form).

Nurse - field on content type, value is set during Resilience kick off survey.

Resilience kick off survey - ubudehe question for Nurse.

Mother Fbf - logic for distribution (ubudehe 1 or 2  receive Fbf, others do not).

Mother group activities - info at mother card:

Patient record - info at adult card:

Prenatal Demographics report - at family info:

Child scorecard - at identification pane:

@adamhstewart
Opened a follow up issue which lists remaining tasks we need to handle.


Checking

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/check

/check-vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote

/vote


Add extra fields to STORE messages

Store message type / send are missing extrafields, that is supported on the python sdk. I don't think it's blocking for me atm
@philogicae

See: https://github.com/aleph-im/aleph-sdk-python/blob/main/src/aleph/sdk/client/authenticated_http.py#L347

@MHHukiewitz, please check this out.


CI build job?

Is there a CI build job for Seshat already?
Most UoM projects use Circle-CI, but if e.g. from the SIS background something else is preferred, why not.

There is no Continuous Integration (CI) build yet. I'm neutral on whether it should have one (running the tests locally take less than 10 seconds for now). If a CI is considered wanted, I'm neutral about wether it should be Circle-CI or another one.

If Circle-CI was fine, that already knows the organization, so adding a repository is relatively easy. All it needs is a config.yml that matches the desired Maven build goals, and should deployment to a Snapshot repository (Bintray or Sonatype) be desired, also those post-build steps.


"example squid 3/4 configuration in ./examples."

Build times are radically reduced by using a local proxy. You can find an example squid 3/4 configuration in ./examples.

https://github.com/revsys/optimized-python-docker/blob/master/README.md
Where is the ./examples directory you speak of?

Doh sorry about that, just pushed it up in this commit https://github.com/revsys/optimized-python-docker/commit/51981bb0cabfe46fd9e70fdbbd2018a1c7144b02.
Hope you're doing well!

Thanks!!
On Sunday, December 3, 2017, Frank Wiles<EMAIL_ADDRESS>wrote:

Closed #1 https://github.com/revsys/optimized-python-docker/issues/1.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/revsys/optimized-python-docker/issues/1#event-1369428168,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADGy4GZhdSMsrTeZTG2DPxykSJzMoIuks5s8tlngaJpZM4QzmOX
.


Memory leak in ios devices on react native 0.60 and earlier versions

memory consumption for the application is increasing over time and ultimately leads to crash. Simple app crashes due to memory leaks on devices like iPad mini and iPhone 6s.
It happens in both debug and release mode.
Any help is greatly appreciated. Thank you!

There have been number of issues reported on same topic but because of being inactive, the issue gets closed. Can anyone help here ?

@mkonicek @skevy @aroth
Followed this link but not much help here
https://github.com/facebook/react-native/issues/4730


Build as a library

Hi! I'm really pleased with fzy and I've found this repo comparing a lua implementation w/ ffi to fzy. However, there's no official libfzy which I could install, meaning that I'd have to resort to distributing binaries.
Do you think it'd be possible to distribute fzy as a library?

Isn't choices.h basically a library already?
Separating it a bit more shouldn't be too hard.
I'd be up to doing it, but I'm not sure in which direction @jhawthorn wants to go with this library.

Isn't choices.h basically a library already?
Separating it a bit more shouldn't be too hard.
I'd be up to doing it, but I'm not sure in which direction @jhawthorn wants to go with this library.

It's great that choices.h is already contained enough so it can be used as a library. However, exposing a library out of this would probably include having a lib target in Makefile as well as (possibly) distributing a lib in the release.

It's great that choices.h is already contained enough so it can be used as a library. However, exposing a library out of this would probably include having a lib target in Makefile as well as (possibly) distributing a lib in the release.


Push built docs to GitHub pages branch

In https://github.com/matplotlib/napari-matplotlib/pull/132 the doc build was fixed on GitHub actions, but the built docs aren't uploaded anywhere. To do to fix this issue:

[x] Upload the built docs to a GitHub pages branch
[ ] Change any references to readthedocs to the new doc URL

Partially reached by #172 (#166) and #173 .
But currently not showing (where it's apparently deployed) at https://matplotlib.org/napari-matplotlib

Just emailed a Matplotlib org admin to see what we can do to fix this.


Package request:  TRX (run Tomb Raider 1/2 games)

Project description
Open-source reimplementation of Tomb Raider 1 and Tomb Raider 2, respectively. Aim to enhance these classic games through decompilation and the implementation of open-source alternatives to proprietary components.
Metadata

homepage URL: https://lostartefacts.dev/projects.html
source URL: https://github.com/LostArtefacts/TRX
license: gpl3
platforms: linux

Could replace: https://github.com/NixOS/nixpkgs/issues/189177 (package request for: OpenLara)

Add a :+1: reaction to issues you find important.

I was just about to open the exact same request!
However, the game's build recipe is based on Docker which makes the build rather complicated on/with Nix (the inputs are mutable and impure - you never know what docker container you're going to end up with).
I don't know how to approach this in Nix - or whether there even is a way to expose Docker daemon to the build environment...

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/docker-as-build-dependency/39886/1

In the issues, someone seems to get the project compiled under NixOS:

That's when it still used CMake AFAICT — now it's built with Meson which is an entirely different beast

The current (TR1X >=4.7) version seems to has: "added support for Wayland in binary Linux builds".
Source: release page & issue.
So, [...]-Linux.zip packages are provided for newer releases (under assets) with executable TR1X binaries inside.
Does this make something easier to build or something?


Fixed issue of missed windows up event when desktop locked

Added desktop lock event service used by InterceptKeys to simulate the
Windows key up event when a desktop is unlocked to match the current
state of the windows keys.
Basically what it does is when a desktop is locked, it tracks the state of the Windows key.  Then, when the desktop is unlocked it compares that saved state with current state and if they're different (i.e. the Windows key is no longer pressed) it sends the equivalent of a key up InterceptKeyEventArgs to get KeyProvider back in the plot.

Awesome, nice find. Thanks for looking into this.
I will rebase my Rx changes on top of your fix, I forsee many conflicts in my near future.

I tried to keep it as tight as possible, it only makes use of Rx in one place, AFAIK.

Nothing wrong with the PR. I have just rewritten the guts of the Rx in carnac and the InterceptKeys class took the brunt of the rewrite :p
I am just rebasing now and will sort it

I think I will change IDesktopLockEventService to expose a Rx stream instead now, it will be easier to compose in the new way of doing things. Will be up shortly if you are interested

So, a stream of lock/unlock events?

Yep, that is the plan. The new code is much less procedural so hopefully will be able to simplify the whole thing. Will see though. Might have two streams, one unlock and one lock. While locked it may make sense to unsubscribe the low level keyboard hooks.
Need to think through it.

Go for it.  I haven't gotten that deep into Rx yet, so that didn't occur to me.  There's other SystemEvents there; but I don't know if they'd ever be needed.

Ok, I ended up moving the fix to KeyProvider. You can see the new code at https://github.com/Code52/carnac/pull/72/files#diff-27ab6a7458ebe03abe311a59e4e48401R56
The idea behind Observable.Create is that you control what happens when someone subscribes. So when carnac subscribes Rx passes us an observer (which Rx creates and manages) and we give Rx a disposable which it will call when the stream errors, completes or the subscription is disposed.
The new desktop lock server is at
https://github.com/Code52/carnac/pull/72/files#diff-1622057fbb6af8facaa65a3bf79c218bR13

Rx takes a while to switch your mindset. Carnac is written when we all had not really used Rx and is quite complex.
I am working on simplying and really making use of the Rx library, then I think carnac will be a great showcase for Rx

That's funny.  I originally had the system event handling in KeyProvider but thought it wasn't the best place.  But, going full Rx, that makes sense.

The problem is the hack about if the windows key is down is in the KeyProvider.
The other option is the the InterceptKeys class needs to track when the windows key is down and if it has been pressed when the system is locked then it automatically raises a windows key up event. KeyProvider was easiest to change after my refactoring


Flatpak Chrome Profile definition

I've been using your app successfully but have a request.  I can't seem to figure out how to get the Chrome flatpak browser to use a specific existing Profile.  It always uses the default, but I'd like to define the profile so it use specific one's based on my needs.  Here's the command I'm using.  Perhaps you could advise.
"command": "/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/chrome --file-forwarding com.google.Chrome --enable-profile-shortcut-manager @@u %U @@",

Additional request: also add ability to define which Edge Workspace to use.  Here's the Edge flatpak command I'm using.
"command": "/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/edge --file-forwarding com.microsoft.Edge @@u %U @@",


Fixed bug with ARRAY_REMOVE not removing sync error

Fixes #2673.

Codecov Report

Merging #2683 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           master   #2683   +/-   ##
======================================
  Coverage     100%    100%
======================================
  Files          67      67
  Lines        1379    1380    +1
======================================
+ Hits         1379    1380    +1

Impacted Files
Coverage Δ

src/reducer.js
100% <100%> (ø)
:white_check_mark:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f3ed0dc...8415204. Read the comment docs.


Roundtrip Validation on Unpack Failed

Another bug  -- this has been repeating constantly for me!

@joseph-parker-95 can you mail me your msapp as a repo, at nthekkumpat at microsoft dot com?


release: 1.12.2

:robot: I have created a release beep boop
1.12.2 (2023-03-31)
Performance Improvements

config: add helper (e493582)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/starudream/go-lib/releases/tag/v1.12.2 :sunflower:


How to apply the query to all blocks (not only tasks with "todo"markers or such?

Hi, mlanza. It's me again. I'm trying to apply "overdue", "future", and "distant future" to all blocks instead of those with task markers only. I've tried myself by deleting some sentences (👉👉[(contains? #{"TODO","DOING"} ?marker)]). Sadly, it seems not working. Would you help? Many thanks.

It's super easy to drop the markers:
{
  "disabled": false,
  "queries": [
    {
      "query": "[:find (pull ?block [*]) :where ~~[?block :block/marker ?marker] [(contains? #{\"TODO\",\"DOING\"} ?marker)]~~ (or [?block :block/scheduled ?d] [?block :block/deadline ?d]) [(< ?d {0})]]",
      "inputs": [
        "today 0"
      ],
      "classname": "overdue",
      "matches": [],
      "disabled": false,
      "refreshRate": 10
    },
    {
      "query": "[:find (pull ?block [*]) :where ~~[?block :block/marker ?marker] [(contains? #{\"TODO\",\"DOING\"} ?marker)]~~ (or [?block :block/scheduled ?d] [?block :block/deadline ?d]) [(> ?d {0})]]",
      "inputs": [
        "today 0"
      ],
      "classname": "future",
      "matches": [],
      "disabled": false,
      "refreshRate": 10
    },
    {
      "query": "[:find (pull ?block [*]) :where ~~[?block :block/marker ?marker] [(contains? #{\"TODO\",\"DOING\"} ?marker)]~~ (or [?block :block/scheduled ?d] [?block :block/deadline ?d]) [(> ?d {0})]]",
      "inputs": [
        "today 90"
      ],
      "classname": "distant-future",
      "matches": [],
      "disabled": false,
      "refreshRate": 10
    }
  ]
}

That yields:
{
  "disabled": false,
  "queries": [
    {
      "query": "[:find (pull ?block [*]) :where (or [?block :block/scheduled ?d] [?block :block/deadline ?d]) [(< ?d {0})]]",
      "inputs": [
        "today 0"
      ],
      "classname": "overdue",
      "matches": [],
      "disabled": false,
      "refreshRate": 10
    },
    {
      "query": "[:find (pull ?block [*]) :where (or [?block :block/scheduled ?d] [?block :block/deadline ?d]) [(> ?d {0})]]",
      "inputs": [
        "today 0"
      ],
      "classname": "future",
      "matches": [],
      "disabled": false,
      "refreshRate": 10
    },
    {
      "query": "[:find (pull ?block [*]) :where (or [?block :block/scheduled ?d] [?block :block/deadline ?d]) [(> ?d {0})]]",
      "inputs": [
        "today 90"
      ],
      "classname": "distant-future",
      "matches": [],
      "disabled": false,
      "refreshRate": 10
    }
  ]
}

But that's not your real issue.  If you look at the CSS I provided:
.distant-future {
  opacity: .5;
  transition: all .6s ease-in-out;
  cursor: pointer;
}
.distant-future:hover {
  opacity: 1;
  transition: all .6s ease-in-out;
}
.distant-future a.TODO::after,
.distant-future a.DOING::after,
.distant-future a.WAITING::after {
  content: " 🔮" !important;
}
.overdue a.TODO::after,
.overdue a.DOING::after,
.overdue a.WAITING::after {
  content: " ⌛" !important;
}

The distant-future rule targets the block itself.  The other ::after rules which add content emojis target the marker itself.  These are the rules for my own personal stylesheet, but stylesheets can be as custom as a person needs.
The trouble is, the plugin assumes an understanding of CSS.  When I work out my stylesheet I open Logseq Developer Tools.  I use the tools to look under the hood in the way you can in most modern browsers, since Logseq is just a browser.  Then I interrogate the DOM.  That is, I dig down into the page and work out the structure of the DOM, in particular the elements I want to target, then I write my rules accordingly.  This step is necessary for anyone crafting custom stylesheets.  Otherwise, you're working blind.
And there's thousands of ways to craft your own customizations but you're not going to be able to skate by without knowing some CSS and without inspecting the structure of the DOM.
If you have no understanding of CSS, you're going to want to stick with the basic, top-level selectors and not try anything advanced, but you're not going to get the fine-grained styles you might like:
.distant-future {
  color: blue;
}
.future {
  font-style: italic;
}
.overdue {
  color: red;
}


Create mdu

Institution/School Name
{Геленджик, Краснодарский край }
Instiution/School Website
{mdu.edu.rs}
Email Users
<EMAIL_ADDRESS>Please place an x between the square brackets if yes

[x ] Students
[ ] Academic/Teaching Staff
[ ] Other/Support Staff
[ ] Alumni

Education Levels
Please place an x between the square brackets if yes

[ ] Post-graduate research
[x ] Graduate School
[ ] College (University) or Undergraduate School or equivalent
[ ] Community College or equivalent
[ ] High School or equivalent
[ ] Elementary School or equivalent

Institution/School Name
{Геленджик, Краснодарский край }
Instiution/School Website
{mdu.edu.rs}
Email Users
<EMAIL_ADDRESS>Please place an x between the square brackets if yes

[x ] Students
[ ] Academic/Teaching Staff
[ ] Other/Support Staff
[ ] Alumni

Education Levels
Please place an x between the square brackets if yes

[ ] Post-graduate research
[x ] Graduate School
[ ] College (University) or Undergraduate School or equivalent
[ ] Community College or equivalent
[ ] High School or equivalent
[ ] Elementary School or equivalent


Wiki for MS Teams

What's the Product's Name?
Wiki for MS Teams/Sharepoint
Describe the product in a single sentence.
A simple and effective Wikipedia in MS Teams & Sharepoint.
When was the product launched? Provide a specific date, if possible.
Short web search didn‘t gave informations
When was the product discontinued? Provide a specific date, if possible.
01/2024
What type of product was it? App, Service, OS, or Hardware?
Service/Feature in MS Teams

Added, thanks for the contribution!


Bigdesk authentication

I was wondering, is there a way to apply some sort of authentication mechanism for accessing the bigdesk interface? Currently, anyone who knows the address will be able to access it.
Thanks

I am archiving this repository now. Thanks for contributions.


Bugfix: wrong count for root dashboard page

Currently when you try to login, it will error because there are no parents available and we check if there is 1 parent, which is not correct due to the else statement.

I don't understand exactly. I've never seen this error before - can you explain a bit more about what's happening here? No version 9 sites I've used have exhibited any errors upon logging in and rendering the dashboard, on PHP 7.4 up to PHP 8.

@aembler some context:
I'm running PHP version 8.0.12.
Steps I took to produce this error:

clone repo
composer install
install concrete
login with username and pass

After redirect to /dashboard page I get the following error:

I hope this explanation gives a bit more context.

It could also be that Concrete CMS doesn't really work well with PHP 8.012 at the moment. If you can, I would try PHP 7.4.

@crydotsnake yeah, you're right. It works fine on PHP 7.4.
But I started using concrete again because there was support for PHP 8.0.
In yesterdays release there were also bugfixes regarding PHP 8.0 so I think this this is still interesting to fix in the codebase.

In yesterdays release there were also bugfixes regarding PHP 8.0 so I think this this is still interesting to fix in the codebase.
Yes thats for sure! 🙂

The linked commit will fix this issue in a simpler way. This will be fixed in 9.0.2.

Just wanted to post back regarding PHP 8.
PHP 8 has changed the way that several types of errors are reported. Unfortunately, what use to be notice errors or code standards errors are now being reported as warnings.
https://wiki.php.net/rfc/engine_warnings
That's why there are lots of errors like the ones in this report. Unfortunately, I'd rather not just turn off E_WARNING in the core, because we really ought to fix these, even though it will be painful. However, in the meantime, I'd highly recommend you turn this off in any sites you'd like to run on PHP 8. You can do so easily. Just open index.php in the webroot, and above the line:
require 'concrete/dispatcher.php';

add this line:
define('DEFAULT_ERROR_REPORTING', E_ALL & ~E_WARNING & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);

This is the standard Concrete error reporting setting – but minus warning errors.
Again, I'm not advocating this as a long term fix; we'd be happy to get pull requests to fix these warning errors in the core. But for those who'd like to get things working again today in a backward-compatible way, this should do the trick.

Thanks a lot for your information Andrew!

Thanks for the update regarding this, and for taking the time to fix this issue. I will consider changing the error levels when I use PHP 8.0.


Added support for sending from more than one seed.

I've added a seed-property for the input-object, so that when you get balances for two or more seeds, the input-objects keeps information on what seed they belong to, and when you create the outgoing transaction, you can include inputs from different seeds, and they will be signed with their correct key.
I've also simplified the signing-algorithm a bit more after the previous one that was wrong.
There is no need to first handle the case of sec-level 1 and then loop only id seclevel2 or more is chosen.
Code is easier to read/undersstand if you start the loop at once, on sec-index 0 (the j).
Also - I've put in code that will reitereate on the bundle-hash if seclevel greater than 3 is selected - even if this is still verified elsewhere in the code, it could be possible to support higher levels later...  This is waht the extre %3-calulation is for...

Since refactoring-process now actually does most of the work needed to be able to use several input-seeds in one bundle, I pull back this request.


Cannot set property 'offset' of undefined when filtering

I'm submitting a ...  (check one with "x")
[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior
When I type in the filter box, it gives the error: "Cannot set property 'offset' of undefined"
Expected behavior
It is supposed to filter the rows.
Reproduction of the problem
http://plnkr.co/edit/BP5Zw2
[import { Component, ViewChild } from '@angular/core';
import { DatatableComponent } from<EMAIL_ADDRESS>
@Component({
    selector: 'app-school-list',
    template: `
    <input type='text'
      placeholder='Type to filter the name column...'
      (keyup)='updateFilter($event)' />
    <ngx-datatable
      #table
      [columns]="columns"
      [footerHeight]="50"
      [limit]="5"
      [rows]='rows'>
    </ngx-datatable>
  `
})

export class SchoolListComponent {
    temp = [];
    columns = [
        { prop: 'name' },
        { name: 'Gender' },
        { name: 'Company' }
    ];
    rows = [
        { name: 'Austin', gender: 'Male', company: 'Swimlane' },
        { name: 'Bobby', gender: 'Male', company: 'KFC' },
        { name: 'Christina', gender: 'Female', company: 'Burger King' },
        { name: 'Dustin', gender: 'Male', company: 'Swimlane' },
        { name: 'Ellie', gender: 'Female', company: 'KFC' },
        { name: 'Flower', gender: 'Female', company: 'Burger King' },
        { name: 'Gordon', gender: 'Male', company: 'Swimlane' },
        { name: 'Houston', gender: 'Male', company: 'KFC' },
        { name: 'Ian', gender: 'Male', company: 'Burger King' }
    ];

    @ViewChild(DatatableComponent) table: DatatableComponent;

    constructor() {
        this.temp = this.rows;
    }

    updateFilter(event) {
        const val = event.target.value.toLowerCase();

        const temp = this.temp.filter(function (d) {
            return d.name.toLowerCase().indexOf(val) !== -1 || !val;
        });

        this.rows = temp;
        this.table.offset = 0;
    }
}

What is the motivation / use case for changing the behavior?
No errors
Please tell us about your environment:

Table version: 0.8.x
9.1.0

Angular version: 2.0.x
4.0.2

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Chrome v57

Language: [all | TypeScript X.X | ES6/7 | ES5]
Typescript 2.1.5

You imported import { DatatableComponent } from './datatable.component'; manually for some reason. The implementation does not use that class thus it can't find it.

First off, I think you need to import like this:
import { DatatableComponent } from<EMAIL_ADDRESS>Secondly, I think you need to write the View Child like this:
@ViewChild('table') table: DatatableComponent;
@amcdnl
The example demo (https://github.com/swimlane/ngx-datatable/blob/master/demo/basic/filter.component.ts) is making reference to '#table' from the template. So, I think the above syntax works.
It worked for me.

I had the same problem. Thank you for posting the fix.

First off, I think you need to import like this:
import { DatatableComponent } from<EMAIL_ADDRESS>Secondly, I think you need to write the View Child like this:
@ViewChild('table') table: DatatableComponent;
@amcdnl
The example demo (https://github.com/swimlane/ngx-datatable/blob/master/demo/basic/filter.component.ts) is making reference to '#table' from the template. So, I think the above syntax works.
It worked for me.

it's not working for me....how to fix this one

@NivethaMuthukumar Its clear from the error that your webpack.config is not loading this ngx-datatables module and therefore, typescript compilation is failing.

I'm also facing the same issue
"\components\datatable.component.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property. "
In node modules I can see the datatable.component.ts file is present.
whereas  following import statement works fine.
import {DatatableComponent} from '@swimlane/ngx-datatable';
but it gives  'offset' of undefined  when I try to set offset value using this.table.offset = 0;


Synonymous macro and method lookup broken when called with different/implicit scope

Seems like I get to find all the bugs related to macro lookup these days...
This might be related to #4639 but it is a bit different and already present in versions prior to 0.23.0.
Given the following types:
module DSL
  macro foo
    {% p "macro" %}
  end
  def foo
    p "method"
  end
end

class Base
  include DSL

  def call_foo
    foo
  end

  def call_foo_from_block
    true.tap do |_|
      foo
    end
  end
end

This works as expected: https://carc.in/#/r/2dqy
b = Base.new
b.foo                         # => method
Base.new.foo                  # => method

But suddenly Base.new.foo refers to the macro: https://carc.in/#/r/2dr0
Base.new.foo                  # => macro
Base.new.call_foo             # => method

https://carc.in/#/r/2dqx
b = Base.new
b.foo                         # => macro
Base.new.foo                  # => method
Base.new.call_foo             # => method

And it keeps going...
https://carc.in/#/r/2dr1
Base.new.foo                  # => macro
Base.new.call_foo             # => macro
Base.new.call_foo_from_block  # => method

https://carc.in/#/r/2dqw
b = Base.new
b.foo                         # => macro
Base.new.foo                  # => macro
Base.new.call_foo             # => method
Base.new.call_foo_from_block  # => method

None of these calls should invoke the macro, all should point to the instance method in the implicit scope.
If the calls inside call_foo and call_foo_with_block are explicitly scoped, they are correctly mapped to the instance method.

I think that you're mixing compile-time printing and runtime printing, the macro ps will always be first as they happen during compilation.
Using the following snippet, I get what I expect:
module DSL
  macro foo
    "macro"
  end
  def foo
    "method"
  end
end

class Base
  include DSL

  def call_foo
    foo
  end

  def call_foo_from_block
    true.try do
      foo
    end
  end
end

b = Base.new
pp b.foo # => "method"
pp Base.new.foo # => "method"
pp Base.new.call_foo # => "macro"
pp Base.new.call_foo_from_block # => "macro"

https://carc.in/#/r/2drh

Dough, your're right. Because of compile and runtime output the order is changed. Sorry that I missed that.
But the modified code from your snippet does not behave as expected: the calls to call_foo and call_foo_from_block should both invoke the instance method, not the macro. There should be no difference between calling foo (with implicit scope self - which wrongly points to the macro) and self.foo (which correctly points to the method in explicit scope).
This has already been discussed in #236 but was not yet solved. I think I'm gonna open a new issue for this without the noise.

In #236, the final word was to first lookup a macro then a method, then go up one parent level, and try again to find a macro, then a method, etc...
Here, foo the macro and foo the method are on the same level, so without explicitly calling the method, the macro is always matched first with the rule I gave above.


Add a basic bundle lock manual [ci skip]

This Pull Request adds a skelton of bundle lock man page.

:+1:

What's the difference with bundle check?

@deivid-rodriguez check throws an error if resolving the bundle would require downloading gem information, lock downloads the information and resolves the bundle.

@indirect Thanks


Update Currency.php

depends on:

https://github.com/shopware/shopware/pull/1326
https://github.com/shopware/shopware/pull/1327

Ticket here:

https://issues.shopware.com/issues/SW-20289

We decided to close this PR (and the related ones) because of time constraints and limited overall benefit to the product.
If enough people vote for the realted issue at https://issues.shopware.com/issues/SW-20289 we will look into it again, but for the time being the demand for supporting cryptocurrencies in SW seems to be fairly low.


Add a test proxy

This adds a local test proxy implementation and some test cases for using Jsoup.connect.proxy().

The Java 8's failed:
Error:  Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile (default-testCompile) on project jsoup: Compilation failure: Compilation failure:
Error:  /home/runner/work/jsoup/jsoup/src/test/java/org/jsoup/integration/servlets/ProxyServlet.java:[38,56] cannot find symbol
Error:    symbol:   method asIterator()
Error:    location: interface java.util.Enumeration<java.lang.String>
Error:  /home/runner/work/jsoup/jsoup/src/test/java/org/jsoup/integration/servlets/ProxyServlet.java:[41,52] cannot find symbol
Error:    symbol:   method asIterator()
Error:    location: variable values of type java.util.Enumeration<java.lang.String>
Error:  -> [Help 1]

I wonder why the Animal Sniffer for v8 didn't see that?

(I factored most of the proxy implementation out in #2032 to use Jetty's proxy servlet. Particularly so we could bring in a tunnelling server to implement CONNECT proxying for HTTPS requests.)


HALON-519: use start instead of startFork in process::online rule.

Created by: qnikst

Closing as an obsolete


Adding reusable release branch check.

Adding reusable workflow to confirm releases are only built from main/master.

Merging myself as this is a single new file that's been tested elsewhere.


It should be possible to add an application to a cluster multiple times with different configurations e.g to different namespaces

Bug or Feature Request?
If an application aka a Source Repo is already added to a WGE cluster, you can't add it again. I would like to be able to add an application / a source multiple times to the same cluster with different configuration e.g. into a different namespace.

This proposal may also be of interest https://github.com/weaveworks/weave-gitops/issues/1003


Allow assigning index as a column

This PR proposes to allow assigning an index as a column:
>>> kdf = koalas.range(3)
>>> kdf["col"] = kdf.index
>>> kdf

   id  col
0   0    0
1   1    1
2   2    2

Note that this is rather a bandaid fix. If we have a change in the index, it doesn't currently work:
>>> kdf["col"] = kdf.index + 1
>>> kdf

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/.../koalas/databricks/koalas/frame.py", line 9979, in __repr__
    pdf = self._get_or_create_repr_pandas_cache(max_display_count)
  File "/.../koalas/databricks/koalas/frame.py", line 9971, in _get_or_create_repr_pandas_cache
    self._repr_pandas_cache = {n: self.head(n + 1)._to_internal_pandas()}
  File "/.../koalas/databricks/koalas/frame.py", line 4985, in head
    sdf = self._internal.resolved_copy.spark_frame
  File "/.../koalas/databricks/koalas/utils.py", line 477, in wrapped_lazy_property
    setattr(self, attr_name, fn(self))
  File "/.../koalas/databricks/koalas/internal.py", line 789, in resolved_copy
    sdf = self.spark_frame.select(self.spark_columns + list(HIDDEN_COLUMNS))
  File "/.../python/pyspark/sql/dataframe.py", line 1401, in select
    jdf = self._jdf.select(self._jcols(*cols))
  File "/.../spark/python/lib/py4j-0.10.9-src.zip/py4j/java_gateway.py", line 1305, in __call__
  File "/.../spark/python/pyspark/sql/utils.py", line 117, in deco
    raise converted from None
pyspark.sql.utils.AnalysisException: Resolved attribute(s) __index_level_0__#67 missing from __index_level_0__#36,id#33L,__natural_order__#41L in operator !Project [__index_level_0__#36, id#33L, __index_level_0__#67 AS col#73, __natural_order__#41L]. Attribute(s) with the same name appear in the operation: __index_level_0__. Please check if the right attribute(s) are used.;;
!Project [__index_level_0__#36, id#33L, __index_level_0__#67 AS col#73, __natural_order__#41L]
+- Project [__index_level_0__#36, id#33L, monotonically_increasing_id() AS __natural_order__#41L]

Looks we should fix https://github.com/databricks/koalas/blob/master/databricks/koalas/indexes.py#L139-L144 and maybe think about changing it back to don't copy its internal.
Resolves #1690

Seems fine to me as a quick fixing for now - after then seems to be more tests should be needed -

Thanks @itholic and @ueshin. Yes, I tried to fix it but ended up with suggesting a bandaid fix for now. I'll merge this one for now.


Theme: allow to remove sidebar arrow-angle

VSCode Version: 1.13.0-insiders

Is possible to have an option to hide/recolor the arrows beside the folders icons inside the sidebar tree?

duplicate of #25655


DartError: MissingPluginException(No implementation found for method MobileAds#initialize on channel plugins.flutter.io/google_mobile_ads)

How I solve this error?
DartError: MissingPluginException(No implementation found for method MobileAds#initialize on channel plugins.flutter.io/google_mobile_ads)

Hi @mRcOol7, I haven't come across this error before. Can you provide steps to reproduce? Are you able to build our sample projects? Can you share your own sample project?
Have you followed our Flutter plugin Get started guide?

Have you tried rebuilding the app? Hot restart does not work after adding the dep.


Java System.out.print is affecting Kata tests. Bad solution can be submitted.

A user encountered some weird problem running one of my Kata.

His solution fails my test cases
He included some Java System.out.print statements and magigically the Solution "passes". Actually it still fails same as before but CW does not recognize it anymore as failing!

--
I have reproduced his problem and the System.out.print REALLY DO affect the test result in some strange way.
Futhermore, if I change his System.out.print statements to println instead of print then the bad Kata solution fails again like it was ought to...
Something weird going on...
PSA screenshot showing the Output window when using System.out.print.

Notice the Passed number (1) is plain wrong.
Notice the error message shows on the screen but CW still thinks the solutions is a pass.

FYI - Here is link to his solution code:
https://www.codewars.com/kata/reviews/56f53a5b6dc4feeaa2000044/groups/58d1e2f7f4080cf53d0000bb

@jhoffner maybe you figured this out already, but this is probably caused by this?
System.out.print:
user logged output<FAILED::>

System.out.println
user logged output
<FAILED::>

Also the arrays first differed at element [1] according to the array displayed.

Confirmed this reproducible in multiple languages. If the assertion failure doesn't write to stderr, and there's at least one <PASSED::> recognized, the test is considered passed.
I think this is essentially the same as Codewars/codewars-runner-cli#127 where the user's output interferes with test result.

JavaScript behaves differently when the tests are not inside describe.
function add(a, b) {
  if (a != 1) return a + b;
  process.stdout.write(''+a);
  return a - b;
}

with describe
describe("Solution", function() {
  it("should test for something", function() {
    Test.assertEquals(add(1, 1), 2);
    Test.assertEquals(add(2, 1), 3);
  });
});

without  describe
Test.assertEquals(add(1, 1), 2);
Test.assertEquals(add(2, 1), 3);

If I refactor my submission, will you all still have access to the bug related code?

The best way to handle this across all languages would be to either go through all of them and ensure that <PASSED::> and <FAILED::> are on their own line (by prefixing with \n), or updating the output parser to allow those tokens to exist anywhere in the line.
The later would be easier to make the change but I'm not certain of what edge cases that could create.

@jhoffner
How are blank lines handled? I tried in Kumite and it seems to be completely ignored.
console.log(`
a

b
`); // including the leading and the trailing

I don't know if this is intentional, but prefixing with \n looks safe.
Changing the output parser might be easier in short term, but I think it should be avoided because of the uncertainty. I also like the idea of "each new STDOUT line is considered a new piece of data" :)

@kazk I agree.
This change (for Java only) will be fixed within the next Coderunner deployment.
https://github.com/Codewars/codewars-runner-cli/pull/336

I can start changing other languages if you'd like.
Updating lib/runners/X.js and test/runners/X_spec.js and opening a PR per language?

@blarosen95 I think every distinct solution gets a permalink so no need to worry. Also the cause of this issue is found :)

I figured you guys had the issue pinpointed 👍

Changes are in preview, www is deploying now.
@kazk sounds good. Thanks!

log info not being printed.

@ma-za-kpe that's because you're only allocating char[] and not putting anything in it. So your code is basically doing System.out.println((char)0);. The output is shown like that because it's not a printable character.
Do char[] n = str.toCharArray(); or copy the chars into n.


⚠ Bofrost.lu has degraded performance

In 4a2b163, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 3123 ms

Resolved: Bofrost.lu performance has improved in d22294b after 7 minutes.


how to use the commands to switch light/dark theme?

I saw these commands, but I don't know how to use it. Should I just type them in terminal or add them in a config file?
Thanks
To light
sed -i "s/\=dark/\=light/g" ~/.config/nvim/lua/modules/ui/config.lua
sed -i "s/onedark/onelight/g" ~/.config/nvim/lua/modules/ui/config.lua

To Dark
sed -i "s/\=light/\=dark/g" ~/.config/nvim/lua/modules/ui/config.lua
sed -i "s/onelight/onedark/g" ~/.config/nvim/lua/modules/ui/config.lua

These lines are shell commands. You can write a shell script to use it.

thanks!


AttributeError: 'ExLlamaV2Attention' object has no attribute 'device_idx'

Expected Behavior

After entering prompt.
LLM Response is returned.

Current Behavior

After Entering Prompt...

warmup for generating up to 3951 tokens
Couldn't generate
Traceback (most recent call last):
File "/home/dsidlo/workspace/lollms-webui/zoos/bindings_zoo/bs_exllamav2/init.py", line 371, in generate
self.generator.warmup()
File "/home/dsidlo/anaconda3/envs/lollms/lib/python3.11/site-packages/exllamav2/generator/base.py", line 37, in warmup
self.model.forward(input_ids, cache = None, input_mask = None, preprocess_only = True)
File "/home/dsidlo/anaconda3/envs/lollms/lib/python3.11/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/dsidlo/anaconda3/envs/lollms/lib/python3.11/site-packages/exllamav2/model.py", line 512, in forward
result, last_state = self._forward(input_ids = input_ids,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dsidlo/anaconda3/envs/lollms/lib/python3.11/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/dsidlo/anaconda3/envs/lollms/lib/python3.11/site-packages/exllamav2/model.py", line 611, in _forward
device = _torch_device(module.device_idx)
^^^^^^^^^^^^^^^^^
AttributeError: 'ExLlamaV2Attention' object has no attribute 'device_idx'
Steps to Reproduce
Please provide detailed steps to reproduce the issue.

Installed model: Qwen1.5-4B-Chat-GPTQ-Int8
Enter prompt: Hello?

Possible Solution
Do I have the wrong version of exllamav2?
My version: 0.0.13+cu121
Context
Using Python 3.11.17
Cuda Version: 12.0
Screenshots

I spent the day trying to fix thix.
Reinstall lollms then reinstall exllamav2 binding. It should work now.


Not working in Windows 11 8.0.213 drivers

I used to use similar hack back in the days on Win 10, now moved to Win 11 and tried to apply yours.
Doesn't seem to work, I did notice some "mismatch" in registry. Will reboot, clean up, and report back.

Sorry PBKAC :)


Enhancement Issue: 2d shapes card overlaps Explore calculator button in mobile screen

Prerequisites

[X] I am an Open Source Contributor
[X] I checked to make sure that this issue has not already been filed

Description
While viewing the website on a mobile screen, the 2D shapes Calculator card overlaps "Explore Calculator " button, hiding the button and creating a design flaw.
I want to make the following changes to the CSS and make it right to improve the design flaw and make the Explore Calculator button visible on the mobile screen.
Screenshots

Code of Conduct

[X] I follow Contributing Guidelines of this project.

Hi, @Rakesh9100  I would like to contribute to this issue by fixing the following error. Please assign this issue to me, so that I can make the changes and request for the PR.
Thanks

Proceed @pb0126


XAdES-B-LTA

Dear Aleksandar,
Please add XAdES-B-LTA profile handling.
Thanks!

Hi djnice,
As you correctly have seen with version 1.x you can create Baseline-B and Baseline-T signatures.
I have just uploaded version 2.x with wich you can create also Baseline-LT signatures.
I am currently working on the last level - the Baseline-LTA and I will do my best to publish this feature in the upcoming weeks.
regards

Hi djnice,
Baseline-LTA is ready. v. 2.0.1. Also updated the Wiki to have description for T, LT and LTA
For XAdES-LTA - look test method 'TestETSIXml.Test_XML_RSA_Enveloped_Timestamped_LTA'
For JAdES-LTA - similar test method 'TestETSI.Test_ETSI_RSA_Timestamp_LTA_Enveloped'
regards

Many thanks!


Change behaviour regarding 0

Ref https://github.com/kevva/is-positive/commit/1187a61f2e18cf7c11c23d61a1bd52b9fa6a5fdf#commitcomment-11626848

Thanks :)!


core-to-plc: handle self-recursive types

This means we can handle lists at last! You can't write many useful functions on them since we don't have recursive functions yet, but still, progress. (And I show that we can do perfect binary trees, too.)
There are some wrinkles:

I had to turn the value restriction check off in some cases, because checking that a term is a value also currently checks if it has normalized types in it, which we don't. This won't be a problem soon, I hope!
Getting type dependency information out of GHC is a pain. I could do this case, but I'm not sure how I'm going to do mutually-recursive types...
We rely on doing fixpoints-outside-lambdas, so translation is uniform and it's easy to get the pattern functor of a type - just strip off the fixpoint (and any type applciations - since it might appear in an elimination context).
We just check whether things are recursive over and over again. I should start caching this stuff at some point.

There is a bunch of churn in the tests because we generate a few more names every time we see a type, so things get higher uniques.

Comments addressed.


Unresolved license status

This is a wildly fascinating idea to me, but since there's no licensing noted anywhere I'm hesitant to do anything with it, since it's "in limbo", legally speaking.
Would you be willing to specify an open source license in the project?
I personally use the Very Open License in all my code (the Unlicense is very similar), but Choose A License will walk you through the more popular options.

Hi, thanks for pointing this out.
I've added a license:
https://github.com/streamich/ass-js/blob/master/LICENSE
Also nice to know about the Very Open License.

Awesome, thanks so much!


chore(ci): expand the scope of spell-check-partial

Description
Stop ignoring cspell errors in perception directory (except  "perception/bytetrack/lib/**" ) in spell-check-partial workflow.
And ignore some words in "perception/bytetrack/src/**".
Tests performed
The spell-check-partial test passed
Effects on system behavior

Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Sorry for my miss operation :bow:
I'll close this pull-request and open another one.


Dynamic instance tagging (from node labels)

Description
What problem are you trying to solve?
We have a Provisioner that is configured to launch instances both in arm64 and amd64.
We would like to dynamically tag the ec2 instances with the architecture.
Karpenter tags the instances with a default set of "dynamic" tags, described at the beginning of this documentation section: https://karpenter.sh/docs/concepts/node-templates/#spectags
Name: karpenter.sh/provisioner-name/<provisioner-name>
karpenter.sh/provisioner-name: <provisioner-name>
kubernetes.io/cluster/<cluster-name>: owned

All the rest of tagging options, are static (here and here).
We would like to have a way to specify dynamic tags, for example:
spec:
  tags:
    InternalAccountingTag: 1234
    dev.corp.net/app: Calculator
  tagsFromLabels:
  - kubernetes.io/arch
  - node.kubernetes.io/instance-type

it could be also something like:
spec:
  tags:
    InternalAccountingTag: 1234
    dev.corp.net/app: Calculator
    arch: "{kubernetes.io/arch}"
    instance-type: "node.kubernetes.io/instance-type"

while InternalAccountingTag and dev.corp.net/app are "static" tags, kubernetes.io/arch and node.kubernetes.io/instance-type are known labels, that could be used as tags as well.
How important is this feature to you?
It would enable closer monitoring of costs and migrations, which are blocked now, or possible with workarounds.

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

I would be interested to contribute to this feature, should it be accepted.

@cebernardi if you're open to contributing, please reach out to us in the #karpenter-dev channel!
In your head, this would land in the AWSNodeTemplate right?
@jonathan-innis is actively working on graduating our APIs to v1beta1, and this seems reasonable to implement, but probably would be good to talk through some of the cases and how this fits together.

Sure, will do! Thank you!

@cebernardi So, there are a few technical complications with tagging from labels, particularly in the way that you are proposing up above that I want to raise that make me think that we may need something that does tagging based on labels after the fact as a separate controller.
Here are the issues at a high-level:

We can't know some of the tagging details of the instance until after launch (e.g. instance type) since we simply send over a bunch of instance types, images, architectures, etc. over to CreateFleet and have the fleet service pick the best instance type at a given time. So anything that has the potential to be dynamically picked as part of the launch request can't be sent in the tag specifications
We currently batch our calls to CreateFleet to reduce the number of calls that we make out to them. This is a smaller issue but if we create enough dynamicness in the tagging of an instance such that every call to create a machine results in a CreateFleet call, users may hit throttling more than they'd like on the Fleet API. This is why, in general, at this point we have only tagged the instance with things that can be determined to be consistent across a provisioner.

A natural solution to this might be to look up instances that are owned by Karpenter after launch and then tag them post-launch, so that you get what you want. This would obviously result in more API calls but I think this could get you there. The challenge here is whether that functionality is in-scope for the Karpenter project. I could potentially see a world where we create a tagging controller where you can define the labels on the node that you care about, and this component is responsible for tagging/untagging the instance when labels change on the node. Thoughts?

yep, I've seen from the code that some of the labels are going to be unknown until this point, and they're synced back to the kubernetes node as labels shortly after.
so, my initial thought was to create an additional step to tag the instances after they're launched, but using a different api, not CreateFleet, but something like aws tagging apis, or ec2 apis.
I wasn't convinced myself by the flow
launch instance --> sync nodes labels from instance type and requirements --> tag back the instance from node labels

I could potentially see a world where we create a tagging controller where you can define the labels on the node that you care about, and this component is responsible for tagging/untagging the instance when labels change on the node

I have a few questions:

karpenter-managed labels would change on the node when, for example, I change the labels stanza on the provisioner?
Would you see this new controller be configurable by provisioner, rather then by node template?

I'm wondering if there's room here to expand out the existing CCM capability: https://github.com/kubernetes/cloud-provider-aws/blob/master/docs/tagging_controller.md

you mean a totally separated project

Seems like this might fall under the bucket of a separate project. You could imagine a world where I generalize this to the extent that I say "here are the labels that I care about, tag my instance with these labels using this template". The controller looks up the labels and then periodically tags the instance.

Seems like this might fall under the bucket of a separate project
which I guess it implies that the solution to this problem might not belong to Karpener, and therefore we're going to close this issue? :)

if you see https://github.com/kubernetes/cloud-provider-aws as a better fit, should I open a issue there?

We're looking for this same functionality. Our use case is for cost analysis, letting us get insights into the costs of different batch processing jobs. We have a NodePool that defines several instance types and both spot and on-demand instances. Letting us apply a tag like eks-job-name would give us the ability to break down the actual costs of the job's instances after it's ran using AWS Cost Explorer.

Like @montanaflynn, we also have a NodePool that is used for different usecases and we need to be able to tag those for cost assignment reasons.


Text within rule undermines advice of article

The strong advice in "Create safe sender lists in Office 365" is to use transport rules instead of the allow senders list ("This option should be avoided if at all"). Yet when you create a transport rule, save it, and then go back into it, you see this questionable reference:
https://i.imgur.com/oYtS8zi.png
While it's technically true, I think it should be rewritten to convey the general advice. Otherwise, people will just click the link and do it the other way instead.

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

ID: c79bb5c3-e92a-583b-337a-1a038e50f064
Version Independent ID: 253ccf77-2d74-dd95-2686-a8fcdc424c7a
Content: Create block sender lists in Office 365
Content Source: microsoft-365/security/office-365-security/create-block-sender-lists-in-office-365.md
Service: o365-seccomp
GitHub Login: @MSFTTracyP
Microsoft Alias: tracyp

Hello @rpodric,
For sure, this reference should be changed as it contradicts the general recommendation and could lead to creation of unsafe allow lists.
Dear @MSFTTracyP, @mypil,
This issue isn't related to the documentation and should be addressed to the product team (Exchange Server/Exchange Online team).
Thank you

@MSFTTracyP - Can you please share your insights for this issue?
Thank you.
cc: @kenwith


Rename old service name

Visual Studio Team Services, VSTS -> Azure DevOps, Azure Boards, Azure Pipelines, Team Foundation Server ->  Azure DevOps Server

@changeworld : Thanks for your contribution! The author, @mattbriggs, has been notified to review your proposed change.

#sign-off


Camera parameters not being exported correctly

I recently encountered a problem with the camera parameters not being exported correctly. You can try it out by setting the fov in degrees in blender and compare it to the exported radian values from the glTF file. Whereas blender has the notion of sensor sizes and resolution, glTF does not, so perhaps it would be more useful to export the actual projection matrix used by blender for the camera. Furthermore, aspectRatio should be the ratio of view area instead of ratio of horizontal and vertical angle.
Here's some code which I believe fixes the issue:
For the perspective case:
camview = blender_camera.view_frame(context.scene)
perspective['yfov'] = 2.0*math.atan2(0.5*(camview[0][1]-camview[2][1]),-0.5*(camview[0][2]+camview[2][2]))
perspective['aspectRatio'] = (camview[0][0]-camview[2][0])/(camview[0][1]-camview[2][1])
and for the orthographic case:
camview = blender_camera.view_frame(context.scene)
orthographic['xmag'] = 0.5*(camview[0][0]-camview[2][0])
orthographic['ymag'] = 0.5*(camview[0][1]-camview[2][1])
Note that glTF does not support non-symmetric cameras, that's why averaged values are being used in the code above.
Kind regards,
Nico

Why do you think, that the exported FOV is wrong?
The value, which can be set in in FOV field of the Camera, is angle / angle_x:
https://docs.blender.org/api/2.78c/bpy.types.Camera.html
As glTF is using FOV in the vertical direction, angle_y is exported, which is different from the entry in the user interface.
Regarding the aspectRatio, this should be correct as well, as both angles depend on the view area.

But you are right, the aspectRatio is not behaving as it should.
Let me check.

This should fix it:
https://github.com/KhronosGroup/glTF-Blender-Exporter/commit/ef9d6501a8511978c92a2c18064323137d7f6858
Please reopen, if your scene/camera does not export as you expect.
In this case, please send me the file and a note, which values you would have expected.

For example: if you set the horizontal and vertical pixel resolution to the same value in the scene tab, you get a square viewing frustum but the angle_x and angle_y value within blender are not equal. I believe this is because blender uses additional sensor size information to calculate the projection matrix. So if you would set the sensor with and height also to the same size (by setting 'sensor fit' to vertical in te camera tab and making width and height equal) you will see that angle_x and angle_y become the same. In other words, to get "useful" glTF camera values I believe the sensor size needs to be abstracted because glTF cannot represent it.

Hmm, I expected, that if you change the sensor, all angle_* are updated.
Let me have a look at Blender source code, how they finally calculate it.

That is correct, if you change the sensor, all angle_* are updated but if you change resolution in scene tab you will get non square pixels internally. With the blender_camera.view_frame function you get the four points located on the corners of the viewing frustum at the near clipping plane. If you use these values to determine yfov and aspect ratio you can reconstruct the projection matrix as defined by the glTF specification.

Hmm, and the render preview and the final rendered output does differ, if non-square pixels are used.

But I will use the preview images a reference.

Okay, I understood your approach.
Made another fix for the FOV:
https://github.com/KhronosGroup/glTF-Blender-Exporter/commit/2941d5186a3a87d7d37e734b747991d30cdfcd98
Will go through the math and check output on renderer.

I googled a liitle bit, my colleague and I disussed this and I think this should be the proper fix:
https://github.com/KhronosGroup/glTF-Blender-Exporter/commit/261b3b29b573aa24af57942e6a90e011e192d75c

The first image is rendered by Blender, the second one wih my Vulkan renderer:
The rendered pixels are at the same position.

The above fix appears to work when sensor fit is set to 'auto' or 'horizontal', but not when set to 'vertical'. Can you verify?

Verified, and I hope this finally fixes it :-)
https://github.com/KhronosGroup/glTF-Blender-Exporter/commit/19be505bec0bdf0f672c8003b294d8b2b45d6633

BTW, thanks a lot for finding this issue.

You're very welcome. I tried a bunch of different values and the issue appears to be solved now.
Thanks for the fix :-)


feat: Support for lazy database connections

PR Info

Relates to https://github.com/SeaQL/sea-orm/discussions/1645

Dependencies: N/A

Dependents: N/A

New Features
Add support for creating DB connection pools without establishing connections up front. This is already supported by SQLx via the Pool::connect_lazy method.
This was discussed previously
here, but it appears support was never added to SEA ORM directly.
Bug Fixes

[x] N/A

Breaking Changes

[x] N/A

Changes
This PR adds a new connect_lazy option to database::ConnectOptions. If set to true, the SQLx Pool will be created using the Pool::connect_lazy_with method; otherwise, the Pool::connect_with method will be used (e.g., the existing behavior). This "lazy" behavior is implemented for each DB variant (Postgres/MySQL/SQLite).

Hey @billy1624 , @tyt2y3 , can you take a look at this when you get a chance? Or assign to someone else to review? Thanks!

Hey @billy1624 and @tyt2y3 sorry to ping you again. Can you take a look when you get a chance? Thanks!

Great, thanks for the approval, @billy1624! And no worries! I understand you’re probably busy.

Hey @tyt2y3, any chance you can take a look at this soon? Or let me know approximately when you’ll be able to take a look?

Hey @billy1624 and @tyt2y3, just wondering when we can get this merged since it’s been approved for a while now. Thanks!

Thank you


jquery error when value prepopulated

I'm getting a weird error.  jquery throws this
Uncaught Error: The value ($29.999.99) being 'set' is not numeric and has caused a error to be thrown
When I load a decimal value into my input as 29999.99.  The weird thing is that it properly updates the form, like so
<input class="" data-val="true" data-val-required="*Name is required." id="Name" name="Name" type="text" value="$29,999.99" />
And displays on the screen properly, but because of this error it blocks everything else on my page.  I'm really confused trying to track this down, any suggestions?
Further info that may help, my app is an MVC 5 c# app, the field I'm passing is in a text property converted from a decimal backing field, as such
 private decimal _money;

    [Required(ErrorMessage = "Money is required.")]
    public string Money
    {
        get { return _money.ToString(CultureInfo.InvariantCulture); }
        set { _money = decimal.Parse(value, NumberStyles.Currency); }
    }

This is my simple javascript init call(this is just a test, I'm playing around, I'd really like to use this plugin if I can make it work for me :) )
 $(document).ready(function() {

        //$('#Description').summernote();

        $('#Name').autoNumeric('init', { aSign: '$', aPad: false, wEmpty: 'sign', lZero: 'deny' });

        $('#Description').summernote(
        {
            onImageUpload: function(files) {
                sendFile(files);
            }
        });

    });

If I'm leaving anything important out just ask, I'm kind of stumped.
UPDATE:
Apparently this has something to do with the way Razor views work, because it works fine it I replace the razor syntax with a standard html 5 input, like so.
@Html.TextBoxFor(model => model.Name, new {@class = ""})

changed to
 <input class="" data-val="true" data-val-required="*Name is required." id="Name" name="Name" type="text" value="@(Model != null ? Model.Name :"0")">

And everything works, now I'm just not sure why :)

Joshua,
Did you close because you found a solution?
Bob
Robert (Bob) Knothe

On Dec 7, 2015, at 3:06 PM, Joshua Austill<EMAIL_ADDRESS>wrote:
Closed #182.
—
Reply to this email directly or view it on GitHub.

No, I closed because I concluded that it was an issue with MVC/Razor not with your library.  I could be wrong...

Joshua,
I have not used MVC Razor but I created a option to handle asp.net issued on postback
Look at "anDefault" and set that to the default value -example anDefault: "1234.56"
Bob
Robert (Bob) Knothe

On Dec 7, 2015, at 4:16 PM, Joshua Austill<EMAIL_ADDRESS>wrote:
No, I closed because I concluded that it was an issue with MVC/Razor not with your library. I could be wrong...
—
Reply to this email directly or view it on GitHub.

Learn something new everyday!  This works as well, which I guess confirms that it is an asp issue, I didn't put to and two together looking through the doc page, so thank you for pointing that out!  Now I have at least 5 ways to work around this issue :)

Joshua,
If you do not have default values you can also make aForm: false.
Anyway glad you found a workaround.
Best regards,
Bob
Robert (Bob) Knothe

On Dec 7, 2015, at 4:54 PM, Joshua Austill<EMAIL_ADDRESS>wrote:
Learn something new everyday! This works as well, which I guess confirms that it is an asp issue, I didn't put to and two together looking through the doc page, so thank you for pointing that out! Now I have at least 5 ways to work around this issue :)
—
Reply to this email directly or view it on GitHub.

So another issue with this.  If I use a class = "an" and have multiple labels on one page, then initialize with anDefault, it only seems to work for the first one, then throws the same error on the second one.  This isn't a HUGE deal since I can just format for labels in my controller easily enough, and I'm only using one input on the input screens I really need this for.  Just more of an FYI.

Will check on this over the weekend
--------- Original Message --------- Subject: Re: [autoNumeric] jquery error when value prepopulated (#182)
From: "Joshua Austill"<EMAIL_ADDRESS>Date: 12/10/15 8:08 pm
To: "BobKnothe/autoNumeric"<EMAIL_ADDRESS>Cc: "Bob Knothe"<EMAIL_ADDRESS>So another issue with this. If I use a class = "an" and have multiple labels on one page, then initialize with anDefault, it only seems to work for the first one, then throws the same error on the second one. This isn't a HUGE deal since I can just format for labels in my controller easily enough, and I'm only using one input on the input screens I really need this for. Just more of an FYI.
Reply to this email directly or view it on GitHub.

Joshua,
Can you please replace line 953 to 955 with the following and let me know if that solves your label issue.
Thanks,
Bob
if ($.inArray($this.prop('tagName').toLowerCase(), settings.tagList) !== -1 && $this.text() !== '') {
	if (settings.anDefault !== null) {
		if (settings.anDefault === $this.text()) {
			$this.autoNumeric('set', $this.text());
		}
	} else {
		$this.autoNumeric('set', $this.text());
	}
}

Oh wow, you just made me realize I was doing this wrong.  I don't always catch on the fastest!  The issue is that I'm loading content dynamically with AJAX, then refreshing the labels.  So just bypassing the asp.net razor call seems to do the trick.  Before, I was setting it to the value of the first label, which must have been causing my issue?  Now I have this and it works
.done(function (partialViewResult) {
            $("#items").append(partialViewResult);
            $('.an').autoNumeric('init', { aSign: '$', aPad: true, wEmpty: 'sign', lZero: 'deny', mDec: '2' });
            $('img').on('error', function () {
                this.src = '/Content/missing.jpg';
            });
        $('#loading').hide();
    });

My label is now
@Model.Items[i].Price
Before it was
@Html.LabelFor(m => m.Items[i].Price)
So by just not using razor it seems to solve the issue.  I'm getting to the point that I only use the razor calls when I HAVE to, the rest of the time they just seem to break perfectly good code...
Replacing likes 953 to 955 and using razor still seems to break this because an anDefault can only be set once unless I give each label a dynamic id and loop for each one.  Otherwise they would never match $this.text()?  This really is STUPID how asp.net does this.  So I think I'll just stick with not using it.
And now I feel like I have wasted your time, I'm sorry :(

Also, to see how I'm using this you can browse to http://pennypincher.ninja .  I've only been working on this site for a few weeks, so it's pretty rough :)

Joshua,
Thanks for testing.
ASP has caused me many headaches and mods because they want to do things
differently.
I do not develop in ASP and my knowledge is limited so it good when
developers "you" to catch these issues - thanks.
Best regards,
Bob
On 12/13/2015 11:14 AM, Joshua Austill wrote:

Oh wow, you just made me realize I was doing this wrong. I don't
always catch on the fastest! The issue is that I'm loading content
dynamically with AJAX, then refreshing the labels. So just bypassing
the asp.net razor call seems to do the trick. Before, I was setting it
to the value of the first label, which must have been causing my
issue? Now I have this and it works
|.done(function (partialViewResult) {
$("#items").append(partialViewResult); $('.an').autoNumeric('init', {
aSign: '$', aPad: true, wEmpty: 'sign', lZero: 'deny', mDec: '2' });
$('img').on('error', function () { this.src = '/Content/missing.jpg';
}); $('#loading').hide(); }); |
My label is now
@Model.Items[i].Price
Before it was
@Html.LabelFor(m => m.Items[i].Price)
So by just not using razor it seems to solve the issue. I'm getting to
the point that I only use the razor calls when I HAVE to, the rest of
the time they just seem to break perfectly good code...
Replacing likes 953 to 955 and using razor still seems to break this
because an anDefault can only be set once unless I give each label a
dynamic id and loop for each one. Otherwise they would never match
$this.text()? This really is STUPID how asp.net does this. So I think
I'll just stick with not using it.
And now I feel like I have wasted your time, I'm sorry :(
—
Reply to this email directly or view it on GitHub
https://github.com/BobKnothe/autoNumeric/issues/182#issuecomment-164278121.

I had set aForm:false. It's work

Glad you found your solution
Please close the issue if you are satisfied

On Aug 2, 2016, at 1:04 AM, TuyNguyen<EMAIL_ADDRESS>wrote:
I had set aForm:false. It's work
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


HTTPS?

I see that there's a login form but no HTTPS, this should be fixed.

Ah. I've just read http://perl6.fail/about.
So you don't need HTTPS then, is it correct?

So you don't need HTTPS then, is it correct?

Nope. What for?

If by "you" you mean me particularly, to use the release manager features.
Once features requiring the login form are implemented, the site will run on HTTPS

Already done.


fix kube informer bug to mce 2.2

manually- cherry-pick https://github.com/stolostron/multicloud-operators-foundation/pull/567

/hold
it looks 2.7.1 code freeze, so need z stream open


instantsend: Ignore IS while reindexing/loading blocks from file, bail out early when IS is off

Please see individual commits.
Extracted from #3970, ~based on #3984 atm~

My idea was to kind of guard the access to db with these checks (the overhead is tiny compared to db reads/writes I think) but it does look like we have it all covered in other places atm, even though it takes some jumping back and forth through the code to figure it out. Dropped most of them and only ket the one in HandleFullyConfirmedBlock for now.


examples: annotate for increased clarity

This commit annotates client-secure.yaml with notes about which
fields need to be changed when following the "Deploy CockroachDB in
a Single Kubernetes Cluster" [1] tutorial.

[1] https://www.cockroachlabs.com/docs/stable/deploy-cockroachdb-with-kubernetes.html

TFTR!


[ERROR] Missing "./constants" specifier in "@sanity/preview-url-secret" package

Describe the bug
After upgrading sanity to 3.62.2, my studio wont run anymore. Works fine in 3.61.0. Here's the error message:
✘ [ERROR] Missing "./constants" specifier in "@sanity/preview-url-secret" package [plugin vite:dep-pre-bundle]

    ../node_modules/sanity/node_modules/vite/node_modules/esbuild/lib/main.js:1373:21:
      1373 │         let result = await callback({

After doing some digging i see 3.62.0 changed visual editing to 2.0.0. This release looks to be related to the error message, but the relevant commit linked at https://github.com/sanity-io/visual-editing/releases/tag/preview-url-secret-v2.0.0 only points to a commit that only contains a markdown change, so I am unsure what actually changed here. Some esbuild/commonjs interop issue maybe?
Which versions of Sanity are you using?
Run sanity versions in the terminal and copy-paste the result here.
@sanity/cli (global)              3.62.2 (up to date)
@sanity/asset-utils                1.3.2 (latest: 2.0.6)
@sanity/code-input                 4.1.4 (up to date)
@sanity/color-input                3.1.2 (latest: 4.0.1)
@sanity/cross-dataset-duplicator   1.3.0 (up to date)
@sanity/eslint-config-studio       4.0.0 (up to date)
@sanity/icons                      3.4.0 (up to date)
@sanity/ui                        2.8.10 (up to date)
@sanity/vision                    3.62.2 (up to date)
sanity                            3.62.2 (up to date)

What operating system are you using?
macOS Version 14.6.1 (Build 23G93)
Which versions of Node.js / npm are you running?
10.8.1
v20.16.0

nevermind, i had some old resolutions in my package.json that broke stuff 😅


Use custom tensorflow build

We have no users, so this isn't so important, but I think you've built it with different config than the distributed binaries. In particular you don't have --copt="-mavx"
Maybe in the future we can leverage all the docker files TF has: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/ci_build/ci_build.sh


Handler failed: Received invalid frame type: 49, expected: 0 on upgrading to azure-servicebus 7.12.3

Package Name: azure-servicebus
Package Version: 7.12.3
Operating System: Linux
Python Version: 3.12

Describe the bug
After upgrading, we received the error Caught exception: ServiceBusError('Handler failed: Received invalid frame type: 49, expected: 0.') repeatedly. Stack trace:
ValueError: Received invalid frame type: 49, expected: 0
  File "/venv/lib/python3.12/site-packages/azure/servicebus/aio/_base_handler_async.py", line 260, in _do_retryable_operation
    return await operation(**kwargs)
  File "/venv/lib/python3.12/site-packages/azure/servicebus/aio/_servicebus_sender_async.py", line 221, in _open
    await self._handler.open_async(connection=self._connection)
  File "/venv/lib/python3.12/site-packages/azure/servicebus/_pyamqp/aio/_client_async.py", line 262, in open_async
    await self._connection.open()
  File "/venv/lib/python3.12/site-packages/azure/servicebus/_pyamqp/aio/_connection_async.py", line 881, in open
    await self._connect()
  File "/venv/lib/python3.12/site-packages/azure/servicebus/_pyamqp/aio/_connection_async.py", line 225, in _connect
    await self._transport.negotiate()
  File "/venv/lib/python3.12/site-packages/azure/servicebus/_pyamqp/aio/_sasl_async.py", line 124, in negotiate
    await self._negotiate()
  File "/venv/lib/python3.12/site-packages/azure/servicebus/_pyamqp/aio/_sasl_async.py", line 70, in _negotiate
    _, returned_header = await self.receive_frame()
  File "/venv/lib/python3.12/site-packages/azure/servicebus/_pyamqp/aio/_transport_async.py", line 76, in receive_frame
    header, channel, payload = await asyncio.wait_for(
  File "asyncio/tasks.py", line 520, in wait_for
    return await fut
  File "/venv/lib/python3.12/site-packages/azure/servicebus/_pyamqp/aio/_transport_async.py", line 115, in read
    raise ValueError(

ServiceBusError: Handler failed: Received invalid frame type: 49, expected: 0.
  File "granular_backend/app/messaging/client.py", line 157, in send
    async with sender:
  File "/venv/lib/python3.12/site-packages/azure/servicebus/aio/_servicebus_sender_async.py", line 160, in __aenter__
    await self._open_with_retry()
  File "/venv/lib/python3.12/site-packages/azure/servicebus/aio/_base_handler_async.py", line 410, in _open_with_retry
    return await self._do_retryable_operation(self._open)
  File "/venv/lib/python3.12/site-packages/azure/servicebus/aio/_base_handler_async.py", line 267, in _do_retryable_operation
    last_exception = await self._handle_exception(exception)
  File "/venv/lib/python3.12/site-packages/azure/servicebus/aio/_base_handler_async.py", line 208, in _handle_exception
    raise error

To Reproduce
Steps to reproduce the behavior:

upgrade lbibrary
call receive_messages

Expected behavior
Successfully receive messages.

Hi @gareththackeray, I am not able to reproduce that error on my side. Would you be able to share some logs or steps to reproduce the problem. Simply calling receive_messages on async is not raising that error for me.
debug logs with tracing enable will also help. If you look at the sample below setting up debug along with logging_enable=True will also help us in debugging.
The sample I used:
import os
import asyncio
from azure.servicebus.aio import ServiceBusClient
from azure.identity.aio import DefaultAzureCredential

FULLY_QUALIFIED_NAMESPACE = os.environ['SERVICEBUS_FULLY_QUALIFIED_NAMESPACE']
QUEUE_NAME = os.environ["SERVICEBUS_QUEUE_NAME"]

import logging
import sys

log_fmt = logging.Formatter("%(asctime)s | %(levelname)s | %(threadName)s | %(name)s | %(message)s")
logger = logging.getLogger("azure")
logger.setLevel(logging.DEBUG)
handler = logging.StreamHandler(stream=sys.stdout)
handler.setFormatter(log_fmt)
logger.addHandler(handler)

async def main():
    credential = DefaultAzureCredential()
    servicebus_client = ServiceBusClient(FULLY_QUALIFIED_NAMESPACE, credential)

    async with servicebus_client:
        receiver = servicebus_client.get_queue_receiver(queue_name=QUEUE_NAME)
        async with receiver:
            received_msgs = await receiver.receive_messages(max_message_count=300, max_wait_time=5)
            logger.debug(f"Received {len(received_msgs)} messages")
            for idx, msg in enumerate(received_msgs):
                print(f"Id: {idx}")
                await receiver.complete_message(msg)

asyncio.run(main())

Hi @kashifkhan thanks for the response and sorry it took a while to respond.  I set up logging as you specified, and passed logging_enable=True to ServiceBusClient.  Result below.  These logs then repeat pretty much:
2024-10-01T14:27:31.675Z,"AZURE | 2024-10-01 14:27:31,673 | INFO | MainThread | azure.servicebus._pyamqp.aio._connection_async | Connection state changed: None -> <ConnectionState.START: 0>"
2024-10-01T14:27:32.676Z,"AZURE | 2024-10-01 14:27:31,679 | INFO | MainThread | azure.servicebus._pyamqp.aio._connection_async | Connection state changed: None -> <ConnectionState.START: 0>"
2024-10-01T14:27:32.676Z,"AZURE | 2024-10-01 14:27:31,679 | INFO | MainThread | azure.servicebus._pyamqp.aio._connection_async | Connection state changed: None -> <ConnectionState.START: 0>"
2024-10-01T14:27:32.676Z,"AZURE | 2024-10-01 14:27:31,682 | INFO | MainThread | azure.servicebus._pyamqp.aio._connection_async | Connection state changed: None -> <ConnectionState.START: 0>"
2024-10-01T14:27:32.676Z,"AZURE | 2024-10-01 14:27:31,683 | DEBUG | MainThread | azure.servicebus._pyamqp.aio._transport_async | Received invalid frame type: 49, expected: 0"
2024-10-01T14:27:32.676Z,"AZURE | 2024-10-01 14:27:31,683 | ERROR | MainThread | azure.servicebus.aio._base_handler_async | Unexpected error occurred (ValueError('Received invalid frame type: 49, expected: 0')). Handler shutting down."
2024-10-01T14:27:32.676Z,"File ""/venv/lib/python3.12/site-packages/azure/servicebus/aio/_base_handler_async.py"", line 260, in _do_retryable_operation"
2024-10-01T14:27:32.676Z,"File ""/venv/lib/python3.12/site-packages/azure/servicebus/aio/_servicebus_receiver_async.py"", line 394, in _open"
2024-10-01T14:27:32.676Z,"File ""/venv/lib/python3.12/site-packages/azure/servicebus/_pyamqp/aio/_client_async.py"", line 262, in open_async"
2024-10-01T14:27:32.676Z,"File ""/venv/lib/python3.12/site-packages/azure/servicebus/_pyamqp/aio/_connection_async.py"", line 881, in open"
2024-10-01T14:27:32.676Z,"File ""/venv/lib/python3.12/site-packages/azure/servicebus/_pyamqp/aio/_connection_async.py"", line 225, in _connect"
2024-10-01T14:27:32.676Z,"File ""/venv/lib/python3.12/site-packages/azure/servicebus/_pyamqp/aio/_sasl_async.py"", line 124, in negotiate"
2024-10-01T14:27:32.676Z,"File ""/venv/lib/python3.12/site-packages/azure/servicebus/_pyamqp/aio/_sasl_async.py"", line 70, in _negotiate"
2024-10-01T14:27:32.676Z,"File ""/venv/lib/python3.12/site-packages/azure/servicebus/_pyamqp/aio/_transport_async.py"", line 76, in receive_frame"
2024-10-01T14:27:32.676Z,"File ""/venv/lib/python3.12/site-packages/azure/servicebus/_pyamqp/aio/_transport_async.py"", line 115, in read"
2024-10-01T14:27:32.676Z,"AZURE | 2024-10-01 14:27:31,770 | DEBUG | MainThread | azure.servicebus._pyamqp.aio._transport_async | Received invalid frame type: 49, expected: 0"
2024-10-01T14:27:32.676Z,"AZURE | 2024-10-01 14:27:31,770 | ERROR | MainThread | azure.servicebus.aio._base_handler_async | Unexpected error occurred (ValueError('Received invalid frame type: 49, expected: 0')). Handler shutting down."
2024-10-01T14:27:32.676Z,"File ""/venv/lib/python3.12/site-packages/azure/servicebus/aio/_base_handler_async.py"", line 260, in _do_retryable_operation"
2024-10-01T14:27:32.676Z,"File ""/venv/lib/python3.12/site-packages/azure/servicebus/aio/_servicebus_receiver_async.py"", line 394, in _open"
2024-10-01T14:27:32.676Z,"File ""/venv/lib/python3.12/site-packages/azure/servicebus/_pyamqp/aio/_client_async.py"", line 262, in open_async"
2024-10-01T14:27:32.676Z,"File ""/venv/lib/python3.12/site-packages/azure/servicebus/_pyamqp/aio/_connection_async.py"", line 881, in open"
2024-10-01T14:27:32.676Z,"File ""/venv/lib/python3.12/site-packages/azure/servicebus/_pyamqp/aio/_connection_async.py"", line 225, in _connect"
2024-10-01T14:27:32.676Z,"File ""/venv/lib/python3.12/site-packages/azure/servicebus/_pyamqp/aio/_sasl_async.py"", line 124, in negotiate"
2024-10-01T14:27:32.676Z,"File ""/venv/lib/python3.12/site-packages/azure/servicebus/_pyamqp/aio/_sasl_async.py"", line 70, in _negotiate"
2024-10-01T14:27:32.676Z,"File ""/venv/lib/python3.12/site-packages/azure/servicebus/_pyamqp/aio/_transport_async.py"", line 76, in receive_frame"
2024-10-01T14:27:32.676Z,"File ""/venv/lib/python3.12/site-packages/azure/servicebus/_pyamqp/aio/_transport_async.py"", line 115, in read"

@gareththackeray will you be able to share some of the logs before this 2024-10-01T14:27:31.675Z,"AZURE | 2024-10-01 14:27:31,673 | INFO | MainThread | azure.servicebus._pyamqp.aio._connection_async | Connection state changed: None -> <ConnectionState.START: 0>" please ?
What Im trying to understand is that why this error is showing up before transfers take place. Are you able to share the data you are pulling in or sending ?
Also are you by any chance using one instance of the async client with multiple coroutines ? The library is not coroutine safe so you would need a lock around it.

Hi @gareththackeray - I think I've managed to repro this.
There was a fix merged into the most recent servicebus release to fix a bug where port information on the supplied endpoint was being ignored:
https://github.com/Azure/azure-sdk-for-python/pull/37095/files#diff-47bfe6c566fd15b0ff90a63de85851072ff821ff81c9951e3bec76de994138ee
I've noticed that depending on where you're retrieving your endpoint information, an HTTP port may be automatically appended. For example, I deployed my ServiceBus namespace with bicep, and the endpoint output is generated in the format:
"https://accountname.servicebus.windows.net:443/"
Previously the scheme and port were being discarded in the case of connection via AMQP. However with the recent patch that's no longer the case. This HTTP endpoint would function correctly if you attempt to connect using websockets.
I think to resolve this, the SDK should be updated so that we don't attempt to establish an AMQP connection over a known HTTP port. In the meantime, if you think the port is same issue you encountered, you should be able to be unblocked by either stripping the http port from the endpoint, or connecting over websockets (requires extra dependency installation):
client = ServiceBusClient(namespace_endponit, credential, transport_type=azure.servicebus.TransportType.AmqpOverWebsocket

That's fixed it - excellent deduction and thanks so much @annatisch.

This has been addressed in the latest release of Service Bus


Removed deprecated redirect for file download

@kevkeenoy and I noticed these deprecated redirects, so we heroically deleted them and an associated test.
Seems fairly unlikely that anyone's still using them.

Is it worth doing a quick check in the logs to verify that they're not being used?

I've searched the logs for both .zip and .pdf routes here and neither has been hit this year  - searching from 01/01/2016 onwards with the following patterns:
{ $.request = "*/suppliers/frameworks/g-cloud-7*zip" }
{ $.request = "*/suppliers/frameworks/g-cloud-7*pdf" }

:+1:


Support pluralisation rules

https://github.com/scottrippey/SmartFormat.NET/wiki#pluralisation
auto result = fmt::format("There {0:is|are} {0} {0:item|items} remaining", items.size());
// Result: "There is 1 item remaining" or "There are 2 items remaining"

Thanks a lot for the suggestion, but unfortunately this is out of scope of the current library. The purpose of this library is to provide formatting functions like printf or Python's str.format. However, localization library can probably be built on top of C++ Format reusing some of its infrastructure in a similar way as it is done in a logging library, spdlog.


Fix cublas wrap macro for cublasGemmBatchedEx

PR #18436 breaks tensorflow build for cuda 9.1. It uses PERFTOOLS_GPUTOOLS_CUBLAS_WRAP instead of STREAM_EXECUTOR_CUBLAS_WRAP. This PR fixes that issue.

I signed it!

The failing test lools unrelated. Merging.


fixed spec generator to use Rspec.describe and include rails_helper

Currently, spec generator uses a template that can't load the Cell because rails_helper is not called (hence the Rails env is not loaded, including the cells).
Also prefixing the describe method with Rspec
It's an PR extension to #62

could you squash the commits ?

Doh, I think I messed up the squash. I ended up with a merge and now no way to rebase again, git complains it cannot apply 703afaf which is the first commit of this PR :-/

git rebase 703afaf^1 -i

ok I quit trying to fix this one. let me redo a clean PR. Sorry for the hassle


mvcc, backup: consider deleted key when calculating max ts and min ts (#7935)

What problem does this PR solve?
Cherry pick #7935.
Delete key must be considered when calculating max ts and min ts in
order to prevent seeing GCed records, otherwise it causes
DefaultNotFound error or seeing inconsistent data.
Related changes

Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test

Side effects

Performance regression

Consumes more CPU

Release note

Fix the issue of backup fails with DefaultNotFound error.

/run-all-tests

/run-integration-br-test

/run-unit-test

/run-integration-br-test

/run-integration-br-test

/run-integration-br-test

/run-integration-br-test

/run-integration-br-test

/merge