refactor(admob, fcm): replace deprecated methods

Replacing 2 deprecated methods:

MobileAds.initialize() in the admob snippets;
GoogleAuthUtil.getToken() in the FCM snippets. TBH, I couldn't find this snippet on the FCM Docs - I'm not even sure if the snippet is being shown anywhere. I found out about its deprecation through a warning in the build.

@samtstern Haha, that explains why I couldn't find it in the docs. I guess it's just a snippet that was deprecated and never cleaned up.


Subreddit configuration unavailable if /w/toolbox doesn't exist

Observed behaviors:

On a freshly created subreddit, the context menu doesn't exist and there's no way to interact with subreddit-specific settings.
On a subreddit with a /w/usernotes but no /w/toolbox, the context menu exists and the usernotes kinda(?) work, but the "/r/<sub> config" button does nothing at all.

On a freshly created subreddit, the context menu doesn't exist

That is likely just toolbox cache.
Clearing it will make the button show up. I can confirm that with no existing config it appears to be currently broken.


Update meta.yaml with dev_url & doc_url

I didn't bump build number... is it possible to skip deployment of this PR, and just have the changes incorporated into the next deployment?

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Pattern docs: Op grouping

Need to call out it's not atomic.

Grouping became a runtime-wide feature. You use it like this:
this.context.hostRuntime.orderSequentially(() => {
   // anything you do in here is grouped
});

...but remember that grouping isn't atomic, it just guarantees that ops from other clients won't be  interleaved.

From https://github.com/microsoft/FluidFramework/issues/1251#issuecomment-589290584

You can use group ops (aka batches) for that. But

(I believe) they can't survive JS turn (i.e. no asynchrony - you need to generate all changes synchronously)
Events fire for each op separately.

@tylerbutler - feels like we should either make small doc change or close this old issue.


.deb doesnt work on Ubuntu 20.10

As the title says it fails to work, it says it requires libcurl3 which cannot be found, libcurl4 exists but no libcurl3...

Same problem on Debian 10 (libcurl3 is replaced by libcurl4). I found a working solution:
Download the .deb installer file
In the folder you downloaded the file run:
dpkg-deb -R ./Brackets.Release.1.12.64-bit.deb Brackets
Edit file Brackets/DEBIAN/control and replace libcurl3 with libcurl3 | libcurl4
Rebuild .deb installer running dpkg-deb -b Brackets Brackets-fixed.deb
Install Brackets using the fixed installer running sudo dpkg -i Brackets-fixed.deb


DateField: Match govuk-frontend layout

Is the margin correct?
See changes made by FSA referenced in #868

I think that, if a CSS is reset is present and the error messages are shown, then one of the labels wraps to the next line, which may be why FSA added the additional margin


export a pure JSON file

It seems this tool relies on client side javascript to build a JSON file dynamically.
Is there a way I can get the JSON data from a server side script, without running client side code?
Ideally I want to something like  curl  $storyUrl
Or is there a way to just get at the XML twine 'source' of a story that can be transformed offline?
The twine (webUI) has a publishTo File button, so wondering how to trigger that export to happen from a curl or other call..

A node.js web service could be created to do. It is on my plans, but I need some time to work on that.

@dcsan Took some time today to create a Node.js CLI tool export published Twine stories.
https://github.com/cauli/twinejson-cli


Hosting

Where do we want to host the website? At the moment it is on gihub pages but that means it has the github prefix. Maybe we want to get a dedicated domain?

Where do we want to host the website? At the moment it is on gihub pages but that means it has the github prefix. Maybe we want to get a dedicated domain?

I have discussed this with Imperial for another project. They can purchase and host websites for approximately 60GBP for 5 years. @mhasoba, I don't remember if we decided if DigiMic would come under the EcoEng lab website, or if it would have its own one, could you please clarify?

Let's go for a separate domain.
Are we happy with "DigiMic", or doe we want something more explicit like "digitalmicrobiome"?


chore: add data to use for testing purposes

Summary
Dummy data added to get this started
To Check

[x] There is data of student preferences on sessions.

Approved.


new-tab not working when running wt.exe from command line

I read the documentation and saw new-tab subcommand.  When I use it from the command line, it keeps opening a new instance of Windows Terminal.
For example:
wt.exe new-tab -d "c:\folder1"
wt.exe new-tab -d "c:\folder2"
I've even tried adding different profiles:
wt.exe new-tab -p "PowerShell Core" -d "c:\folder1"
wt.exe new-tab -p "Windows PowerShell" -d "c:\folder2"
How do I get the new-tab subcommand to work properly and only use one instance of Windows Terminal?  Am I using the command correctly?
Any help would be much appreciated.

All wt commandline activations result in a new window right now. Fixing this requires us to fix /dup #4472.

Got it.  Thanks for the information.


Make title follow normal config flow

Resolved by https://github.com/ember-theater/ember-theater/commit/44ca785f664b570689be37c0feca790f2c152eaf.


[question] Disable "automatic" validation

Hi,
I'm using ember validation and it looks great. I have a form where I added some validations rules:
export default Ember.Controller.extend(EmberValidations.Mixin, {
  actions: {
    signup: function () {
        ...
    }
  },
  validations: {
    firstName: {
      presence: true
    }
  }
});

I have the following template associated:
<form {{action 'signup' on='submit'}}>

    {{input value=firstName type="text" class="form-control" placeholder="First Name"}}
    {{#if errors.firstName }}
      {{format-error errors.firstName}}
    {{/if}}

  <button type="submit" class="btn btn-default"> Sign Up</button>
</form>

Everything works as excepted, but the problem is that the validation runs "on the fly" (i.e. when I display the form, it's already red and showing errors) and I'd like to trigger it only when the user press the submit button.
I haven't find any way to disable the "on the fly" validation. Can anyone point me to a way of achieving this?
Thanks

Please see: https://github.com/dockyard/ember-validations/wiki/automatic-validation


fix following  remove  myself

userReducer.js
// filterRecommendations generates a random list of count recommendations
// include users followed by the current user.
const filterRecommendations = (following,selfid,count = 5) => {
const usernames = Object.values(following);
return people
.filter(p => !selfid.includes(p))
.filter(p => !usernames.includes(p))
.sort(() => 0.5 - Math.random())
.slice(0, count)
.map(name => ({ name }));
};
case actions.GET_FOLLOWING_SUCCESS:
return {
...state,
recommendations: filterRecommendations(action.payload,action.meta),
following: {
...state.following,
list: action.payload,
isFetching: false,
fetched: true,
},
fetchFollowListError: false,
};
https://steemit.com/@sailei1

Can you provide a complete steemjs api document?  I'm use  vue   write code

@jm90m

@sailei1 https://github.com/steemit/steem-js/tree/master/doc

Please submit a PR when you are ready.


Add Canterbury Corpus to System.IO.Compression-TestData

Our System.IO.Compression tests were using deterministically generated random data to test compression/decompression time. While the results were useful, they missed a scope of tests that is required for good compression testing.
This commit adds the popular Canterbury Corpus to our testing suite and bumps the version for System.IO.Compression-TestData.
@stephentoub

Do we have all the right attribution in place, copyright references, etc.? If so, LGTM.


Create Pepper X

This was a inspiration

I think we already have Pepper X in the game.


Sign-up create password, Did not specify how many characters allowed.

Steps to replicate:

Access the web-app link: https://gonana-o.firebaseapp.com/auth/sign-up
Click the : Don't have an account? Sign up

Insert information for sign up.
Enter password: Entered up to 100+ characters, still going.

@fencim maybe this is the problem sir
found it on console firebase. password length 4096

You have a point but, this is handled on server...regarding your bug it's on UI logic manipulation issue.


How to Code the Vtol Mavlink commands

Hi everyone,
I have just looked at this website for all the commands that Mavlink can perform: https://mavlink.io/en/messages/common.html#MAV_TYPE_VTOL_RESERVED2
I saw some of the VTOL commands there as i'm looking to do something similar but i'm new to coding. I was how these commands would be written in python.
Also I using mission planner which has some waypoints that can be set to VTOL takeoff, land and transition. I was wondering how I could read when the VTOL aircraft is coming to that waypoint, detect it and activate a def function for that transition.
Cheers Jason

Duplicate of https://github.com/dronekit/dronekit-python/issues/847


Update RBAC role for Document Intelligence

Appropriate role should be Storage Blob Data Contributor but not Storage Blob Data Reader as the image secure-config-di.png says so.

@laujan
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Incorrect Pipenv.lock with CVS based dependencies

Hi All
I am having an issue with pipenv lock when I have dependencies that come from a CVS. This might be related to #1690 but not exactly identical.
Start with a clean slate - no Pipfile, no requirements.txt file and no Pipfile.lock and no virtualenv

start with pipenv install - emptyish  Pipfile and Pipefile.lock created - as expected.
Add the git based dependency in the Pipfile (See below in steps to reproduce)
Again do a pipenv install  - CVS Dependency is properly added to Pipfile.lock, but second order dependencies are not added to Pipfile.lock while they get installed properly.

Consequently - pipenv lock -r also does not capture other dependencies.
My initial guess was - there might be some issue with my packages, but I am able to produce it with requests==2.18.4 as well.
Results of running python -m pipenv.help
$ python -m pipenv.help output
Pipenv version: '11.10.1'
Pipenv location: '/home/gabhijit/.local/lib/python2.7/site-packages/pipenv'
Python location: '/usr/bin/python'
Other Python installations in PATH:

2.7: /usr/bin/python2.7

2.7: /usr/bin/python2.7

3.5: /usr/bin/python3.5m

3.5: /usr/bin/python3.5

2.7.12: /usr/bin/python

2.7.12: /usr/bin/python2

3.5.2: /usr/bin/python3

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '0',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '4.13.0-36-generic',
 'platform_system': 'Linux',
 'platform_version': '#40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58 UTC 2018',
 'python_full_version': '2.7.12',
 'python_version': '2.7',
 'sys_platform': 'linux2'}

<snipped lot of environment variables details - don't think they are relevant>

Expected result
All the dependencies of a CVS package should be also captured in Pipfile.lock
Actual result
Dependencies do not get captured -
$ cat Pipfile.lock
{
    "_meta": {
        "hash": {
            "sha256": "633566f25d3ae239154bfaddfea35abb2737c60bf8a609820ceab9d224c6f932"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "2.7"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "requests": {
            "git": "https://github.com/requests/requests.git",
            "ref": "v2.18.4"
        }
    },
    "develop": {}
}

Steps to replicate
$ pipenv --rm
$ rm -rf Pipfile Pipefile.lock requirements.txt
$ pipenv install

# Add dependency to Pipfile, the Pipfile looks like
$ cat Pipfile
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[dev-packages]

[packages]
requests = { git = "https://github.com/requests/requests.git", ref="v2.18.4" }

[requires]
python_version = "2.7"

$ pipenv install --verbose

As it tells you when you do this from the command line, VCS dependencies need to be installed in editable mode in order to be resolved properly.


"Bus error" when using --onefile on Raspbery Pi 4 32bit Linux (Buster)

Bus error !
I tried both Nuitka 1.5.7 and Nuitka 1.5.8
I compiled a python 3 project with below command in Raspberry Pi 4B 32bit OS.
I got the output successfully
But when I execute it returns below line and quit.
"Bus error"
The Nuitka command:
sudo python3 -m nuitka --standalone --onefile --follow-imports --include-data-dir=templates=templates --output-filename=MyExecutable MyExecutable.py
Similar issue was there in PyInstaller 5.10.0 on Apr 14th 2023
Which I had raised and they have fixed in few hours.
Bus error in latest PyInstaller 5.10.0 on Raspberry Pi 32bit Buster OS #7566
https://github.com/pyinstaller/pyinstaller/issues/7566
archive: fix TOC entry alignment in PKG/CArchive #7571
https://github.com/pyinstaller/pyinstaller/pull/7571
Similar issue I face now with Nuitka too.
Could you please fix this.
My System:
Raspberry Pi 4B
OS: Buster Linux 32Bit

I am not sure, I want to read through issue reports of other projects, just to find out, what the issue is. Can you provide a minimal reproducer, so I can see this for myself?

I am not sure, I want to read through issue reports of other projects, just to find out, what the issue is. Can you provide a minimal reproducer, so I can see this for myself?

Sure !
kindly create a simple python test file named: BusErrorTest.py
#!/usr/bin/python3
print('This is a PyInsyaller 5.10 Bus error test')

Then compile it with any latest Nuitka
sudo python3 -m nuitka --standalone --onefile BusErrorTest.py -o BusErrorTest

Finally execute the BusErrorTest file on only the
32bit Linus 10 (Buster) May be on Raspberry Pi - 4
Or on any 32bit Linus 10 (Buster) container
You will be
Bus error
Similar issue was in PyInsytaller latest version and they have fixed it.
https://github.com/pyinstaller/pyinstaller/issues/7566
archive: fix TOC entry alignment in PKG/CArchive #7571
https://github.com/pyinstaller/pyinstaller/pull/7571
Please fix this in your Nuitka also.
I found Nuitka is the best as it protect our source code from reverse enginnering.
Thanks a ton Keyhayen !

@gaamaaresosa using 32 bit in these days is clearly a sign of being commercial, you may want to consider subscribing to: https://nuitka.net/doc/commercial.html to give this any kind of priority.
The issue appears to be that accessing short and long will only work on boundaries. And the constants' loader code and the onefile bootstrap may both be affected. Clearly doable, but I believe I cannot do it without funding. Maybe somebody else will volunteer to do it.
I did not immediately find the mistake, where Nuitka ever casts any structure, long or int, to memory. We just don't do it that way. So that's where I will have to leave it then. The fix from that other project doesn't apply to Nuitka.

@gaamaaresosa using 32 bit in these days is clearly a sign of being commercial

Just to clarify your doubt, I would have prefered 64bit for commercial application rathen than prefering obsoleted 32bit. This is an existing old  school automated attendence project. As they wanted to protect they source now. I still try convince them for your commecial scheme too.

I believe I cannot do it without funding. Maybe somebody else will volunteer to do it.

Ok, time being I will manage.

The fix from that other project doesn't apply to Nuitka.

Agreed.

I have a large set of customers that go with Nuitka commercial and work on systems as old Windows XP with Python 3.4, or RHEL 5, and I will be damned to form an opinion of that, but working in Air Traffic Control for 20 years, I have a bunch of ancient hardware and therefore OSes that is irreplaceable unless through projects that last half a decade if it's quick. Customers really like to just add one more thing.
However, I of course have to be conservative with my time. I cannot spend 1 day, which is a substantial part of my time, for something that benefits only a small subset of users, that then may very well decide that free Nuitka is good enough for them with that.

Yes I agree some time one can't upgrade to 64bit as some old libraries will not support latest 64bit.
But I got a request from our old school master as he suspects some of their current students hacking their auto attendence register.
Even I have to try that on latest 64bit OS (Raspberry Pi)
And I aggree already you had done wornderful unique job in Nuitka.

Thanks again !


Is this project still alive?

Genuine question. Last release is months old and I didn't see any reply to the issue requesting a target date for the release of version 5.0.0.
I'd like to know if I have to look for alternatives, as I don't like having dead/unmaintained projects in my dependencies.
Thanks! :)

The project is still alive.
4.x stable gets routine fixes https://github.com/square/okhttp/commits/okhttp_4x
5.x is alpha, because it's not imminently close to being API stable. But the Alphas are production quality.
But full disclosure

There isn't a rush to get a 5.0 out, in fact we are likely to rework some of the KMP API code.
We aren't planning major new investments into functionality like HTTP/3.

Thanks, Yuri.
That's reassuring 👍🏻
Il mar 22 ago 2023, 18:37 Yuri Schimke @.***> ha
scritto:

Closed #7993 https://github.com/square/okhttp/issues/7993 as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/square/okhttp/issues/7993#event-10160828350, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGDSLX3HXIWTHCVHX7YLZ3XWTN4HANCNFSM6AAAAAA32BZ3GA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Rewrote /user/login/token to Go

What does this PR (Pull Request) do?

[x] This PR fixes #3840
Rewrites /user/login/token to Go, and adds client code and a test. Also some minor documentation updates.

Which Traffic Control components are affected by this PR?

Documentation
Traffic Control Client (Go)
Traffic Ops

What is the best way to verify this PR?
Run the associated API/client integration test
The following criteria are ALL met by this PR

[x] This PR includes tests
[x] This PR includes documentation
[x] This PR includes an update to CHANGELOG.md
[x] This PR includes any and all required license headers
[x] This PR does not include a database migration
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4297/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4314/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4326/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4368/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4383/


[WBCAMS-264] stop greying-out expired jobs

Previously, the job board angular application would grey out job listings that were close to the expiry date.  Now, the job board displays the job listing until the expiry date without greying them out.

@JonTaylor1971 please hold off reviewing this PR.  I just realized I have further changes to make.

Changes complete.  @JonTaylor1971 I'd appreciate any comments you may have on this pull request especially since you've worked on this ticket previously.


ProductDto: add brandname

Don't we want the brandname in the productDto to show on the product index view?
Also nice example of custom mapping (the other one that's in there between applicationroleclaim and permissiondto isn't used anywhere afaict).
another pr in the blazor repo coming soon...

The mapping isn't needed since the dto prop is BrandName it will automatically map src.Brand.Name based on convention

@dsoltesz Even better ;-) That's good to know! It actually crossed my mind for a second but then didn't test it out without it after all...
Anyways we should probably add a comment in that file for future maintainers... maybe a link to the mapper docs...


Call handler when user clicks outside the input

Hi,
Is there a way provided by xeditable to call a handler when the user clicks outside of the form (not on button).
For example:
Current behavior:
User edits a field "test test test" and validate
User edits the same field "Foobar" and click anywhere outside the field
-> Edition is canceled and field is still "test test test"
Expected:
Validate data instead of cancel its when user clicks outside

Is this still an issue?

@ckosloski , @tlaak notes are still correct.
I expected blur="submit" to trigger on more than just the click event, so tabbing through xeditable elements would submit themselves. e-ng-blur="form.$submit()" is a workaround, but $submit() isn't in the documentation and isn't as clean of a solution.
The updated functionality could be limited to if the user has selected buttons="no" (as that's a simpler implementation).

Support for tabbing was added with pr #590.
@eugef I think this issue can be closed.


Key bindings in README do not work

I have the following in my .vimrc
let g:codeium_disable_bindings = 1
imap <script><silent><nowait><expr> <C-g> codeium#Accept()
imap <C-;>   <Cmd>call codeium#CycleCompletions(1)<CR>
imap <C-,>   <Cmd>call codeium#CycleCompletions(-1)<CR>
imap <C-x>   <Cmd>call codeium#Clear()<CR>

<C-g> does accept the first suggestion.
<C-x> does clear suggestions.
But <C-;> just insert a ; and <C-,> just insert a ,.

OK. I asked ChatGPT and it works!
However, it's important to note that <C-;> and <C-,> might not work as expected in some terminal environments due to the way they handle certain control key combinations. This can result in the terminal not sending the expected key codes to Vim, causing the keybindings to not work as intended.
As a workaround, you can try remapping the keys to different combinations. For example, you can use <C-n> and <C-p> instead of <C-;> and <C-,>, like so:
imap <C-n>   <Cmd>call codeium#CycleCompletions(1)<CR>
imap <C-p>   <Cmd>call codeium#CycleCompletions(-1)<CR>

These key combinations should work more reliably across different terminal environments. Remember to run :verbose imap for the new keybindings to verify that they are correctly mapped.


Cant bower install

bower install throws no errors and installs no packages.  This project has really gone downhill.  Why has a broken version been published for so long?
node -v v5.7.0
bower -v 1.7.7

Can you show some kind of log, so we can see what's going on?

Unfortunately there is no log.  It either silently fails or exits without an exception. The best way to reproduce it is:

set up a node v5.7.0 environment
npm i -g bower
create a bower.json file and add some dependencies
bower install

I've seen the problem in smartOS, but haven't tested it on other operating systems.
I worked around it by downgrading to 1.6.x
Hope this helps.

What if you run bower install --verbose?

Works for me on osx

it works for me too in OSX

@SupremeTechnopriest any update on this?

I would need to spin up a new smartOS zone to test it. Im a bit busy at the moment, and using 1.6 solved my problem, so I guess you can close this for now and I will reopen it the next time I set up a machine.  Ill try to run with verbose flag and post as much output as possible.  Some of my colleagues did verify that they had the same issue on smartOS.

 Depending on your company's firewall settings you may not be getting what you need. Myself and a few developers on my team had run into issues of this nature. I'd run bower install too, and it appeared the command had executed, threw no errors, but did not install what I needed. When I tried later at home it worked flawlessly.

Interesting idea @protzman. I work from home 4 out of 5 days and I don't believe it to be a firewall issue, however, I do connect to our cloud through a vpn.  It's odd that its just this version of bower that fails.  The SmartOS version I'm running is 15.4 TLS

Not too sure what SmartOS is, but was just a thought to why the install might fail. I am also in a similar situation where I work from home sometimes, connecting through vpn, and even then though I'm coming from my home network since I am essentially working on the work network it will fail. But on my personal network it would work. Not version specific either. For me it is just what repositories my company allowed us to access. Worth a try but outside of that - sorry I can't provide much more help :relieved:


Bug: uninitialized toplevel constant causes panic in REPL

Looks like #475 causes the following.
Just entering an uninitialized constant on toplevel in REPL causes panic:
Goby 0.1.3 😶 😆 😏
» Bar
panic: NameError: uninitialized constant Bar
from REPL:1 [recovered]
	panic: (*vm.Error) (0x4535220,0xc4201ac0a0)

goroutine 1 [running]:
github.com/goby-lang/goby/vm.(*thread).reportErrorAndStop(0xc42008b3b0)
	/Users/hachi8833/deve/golang/gopath/sys/src/github.com/goby-lang/goby/vm/thread.go:121 +0x398
github.com/goby-lang/goby/vm.(*thread).evalCallFrame.func1(0xc42008b3b0)
	/Users/hachi8833/deve/golang/gopath/sys/src/github.com/goby-lang/goby/vm/thread.go:48 +0x4d
panic(0x44bdea0, 0xc420198120)
	/usr/local/opt/go/libexec/src/runtime/panic.go:491 +0x283
github.com/goby-lang/goby/vm.(*thread).pushErrorObject(0xc42008b3b0, 0x456e52d, 0x9, 0x1, 0x4575dce, 0x19, 0xc420167698, 0x1, 0x1)
	/Users/hachi8833/deve/golang/gopath/sys/src/github.com/goby-lang/goby/vm/thread.go:342 +0x16b
github.com/goby-lang/goby/vm.glob..func5(0xc42008b3b0, 0x1, 0xc4201aa0a0, 0xc4201aa080, 0x2, 0x2)
	/Users/hachi8833/deve/golang/gopath/sys/src/github.com/goby-lang/goby/vm/instruction.go:78 +0x252
github.com/goby-lang/goby/vm.(*thread).execInstruction(0xc42008b3b0, 0xc4201aa0a0, 0xc420192180)
	/Users/hachi8833/deve/golang/gopath/sys/src/github.com/goby-lang/goby/vm/thread.go:135 +0x70
github.com/goby-lang/goby/vm.(*thread).evalCallFrame(0xc42008b3b0, 0x4819260, 0xc4201aa0a0)
	/Users/hachi8833/deve/golang/gopath/sys/src/github.com/goby-lang/goby/vm/thread.go:56 +0xde
github.com/goby-lang/goby/vm.(*thread).startFromTopFrame(0xc42008b3b0)
	/Users/hachi8833/deve/golang/gopath/sys/src/github.com/goby-lang/goby/vm/thread.go:42 +0x61
github.com/goby-lang/goby/vm.(*VM).startFromTopFrame(0xc4200c42c0)
	/Users/hachi8833/deve/golang/gopath/sys/src/github.com/goby-lang/goby/vm/vm.go:279 +0x2f
github.com/goby-lang/goby/vm.(*VM).REPLExec(0xc4200c42c0, 0xc4201b0008, 0x1, 0x1)
	/Users/hachi8833/deve/golang/gopath/sys/src/github.com/goby-lang/goby/vm/repl.go:44 +0x7ee
github.com/goby-lang/goby/igb.StartIgb(0x456cafc, 0x5)
	/Users/hachi8833/deve/golang/gopath/sys/src/github.com/goby-lang/goby/igb/repl.go:230 +0xd23
main.main()
	/Users/hachi8833/deve/golang/gopath/sys/src/github.com/goby-lang/goby/goby.go:29 +0x954

The previous dbe45c works:
Goby 0.1.3 🤥 🤥 👺
» Bar
#» ERROR: NameError: uninitialized constant Bar. At REPL:1

@hachi8833 I'll fix that later. And it looks like we'll need some error tests for REPL mode's VM now 😂

Just now I found a useful info https://stackoverflow.com/questions/37256859/how-can-i-write-a-go-test-that-writes-to-stdin
I'd try writing tests for REPL.

For this issue, it should be the VM's problem. And you should be able to reproduce it in this test function. But I also support writing a full integration test for REPL.

Now the top-level errors echoes twice, on the current master branch.
» Rat
NameError: uninitialized constant Rat
from REPL:1
#» NameError: uninitialized constant Rat
from REPL:1

Fixed

Works fine now!
» Bar
#» NameError: uninitialized constant Bar
from REPL:1


[Storage] blob, fileshare, and queue README and samples clean-up

This PR addresses the feedback in #28984 , #28985, and #28986.

API change check
API changes are not detected in this pull request.


:boom: Refine server to fix shared server reconnection

Close #206 and more
:+1: Added

DenopsProcessStarted autocmd that fired when the denops local server is spawned
DenopsProcessStopped:{exitcode} autocmd that fired when the denops local server is stopped
DenopsClosed autocmd that fired when the denops channel is closed. Recommended way to invoke teardown code
denops#restart() function to restart a local/shared denops server

:boom: Deprecated

DenopsStarted autocmd. Use DenopsProcessStarted instead
DenopsStopped autocmd. Use DenopsClosed or DenopsProcessStopped autocmd

:question: How can I properly support reconnection on my denops plugin?

Re-initialize your plugin on DenopsPluginPost:{plugin} autocmd
Tear down your plugin on DenopsClosed autocmd if necessary
Tear down your plugin on DenopsStopped autocmd if necessary for old denops (optional)

Vim
					*v:exiting* *exiting-variable*
v:exiting	Vim exit code.  Normally zero, non-zero when something went
		wrong.  The value is v:null before invoking the |VimLeavePre|
		and |VimLeave| autocmds.  See |:q|, |:x| and |:cquit|.
		Example: >
			:au VimLeave * echo "Exit value is " .. v:exiting

Neovim
					*v:exiting* *exiting-variable*
v:exiting	Exit code, or |v:null| before invoking the |VimLeavePre|
		and |VimLeave| autocmds.  See |:q|, |:x| and |:cquit|.
		Example: >
			:au VimLeave * echo "Exit value is " .. v:exiting

It seems v:exiting is NOT what I expected.

I have tested the branch and it works for me.


Authentication fails for User Assigned Managed Identity

Calling AzureCacheForRedis.ConfigureForAzureWithUserAssignedManagedIdentityAsync method fails with "Identity not found" error.
I've tested this code in an Azure managed VM and in an AKS container, and in both cases, the ConfigureForAzureWithUserAssignedManagedIdentityAsync fails with the following error -->
MSAL.NetCore.<IP_ADDRESS>.MsalServiceException:
ErrorCode: managed_identity_request_failed
Microsoft.Identity.Client.MsalServiceException: [Managed Identity] Authentication unavailable. The requested identity has not been assigned to this resource.
Status: BadRequest
Content:
{"error":"invalid_request","error_description":"Identity not found"}

Inside the method call stack, the ImdsManagedIdentitySource.CreateRequest method makes a request to the Azure Instance Metadata Service (IMDS) endpoint -->
GET http://<IP_ADDRESS>/metadata/identity/oauth2/token?api-version=2018-02-01&resource=acca5fbb-b7e4-4009-81f1-37e38fd66d78&mi_res_id={User_Client_ID}HTTP/1.1
Host: <IP_ADDRESS>
Metadata: true
Accept: application/json

Making this same request manually from the VM/Container also fails with "Identity not found". I believe this is because the wrong query parameter is being used in the request. The mi_res_id query param is for the Resource ID and not Client ID. (reference here)
If I change the mi_res_id query param to client_id, the request succeeds, and I get a valid token. Alternatively, if I pass ResourceID of the User Identity instead of the ClientID to the ConfigureForAzureWithUserAssignedManagedIdentityAsync method, connection succeeds.
Looking at ImdsManagedIdentitySource.CreateRequest, ServiceBundle.Config.ManagedIdentityId.IdType is read to determine which query param to use. I'm unsure why ManagedIdentityIdType.ResourceId is being picked up instead of ManagedIdentityIdType.ClientId.

Package Microsoft.Azure.StackExchangeRedis Version 1.1.0
Steps to reproduce:

Create a VM or AKS cluster in Azure.
Create a User Assigned Managed Identity and assign it to the VM/AKS cluster.
Run sample app from this repo and call ConfigureForAzureWithUserAssignedManagedIdentityAsync method with valid Principal ID and Client ID.

Sure, I was using 3839c228-0087-44dd-bc58-1e8f385fd211. This was the output when I was verifying Identity details for the aks pod via az cli
"userAssignedIdentities": {
    "/subscriptions/3bf93c69-832d-4bf2-a6da-0f195c3a0a53/resourcegroups/Redis_aad_testdriver/providers/Microsoft.ManagedIdentity/userAssignedIdentities/RedisSecondDriver": {
      "clientId": "3839c228-0087-44dd-bc58-1e8f385fd211",
      "principalId": "c669f7eb-c11f-4356-be3d-5be452079505"
    }

That is strange. Generally, a valid GUID format should use client_id as query param. It would be good idea to debug when you are calling ConfigureForAzureWithUserAssignedManagedIdentityAsync() is there any extra characters are added or not to the input.
Additionally, we are working on updating our extension with an improved version of dependency packages, which should help resolve this query param selection in a better way as part of this PR.

Thank you @samsaha-ms

Hi  @samsaha-ms,
We also encountered the same issue & got exactly the same error.
Environment Details:
(1) AKS with Workload Identity.
(2) Microsoft.Azure.StackExchangeRedis: 1.1.0
Any plan to get it fixed in the upcoming release?

@philon-msft, any plan to create new release with this fix https://github.com/Azure/Microsoft.Azure.StackExchangeRedis/pull/7?

Yes, we're working on a new release now. No ETA yet, but it should come out in the next few weeks.

v2.0.0 has been released including the updated Microsoft.Client.Identity package. Please give it a try and let us know if you still see any issues.


Intermittent test failure for write skew getForUpdate

Describe the bug
Found intermittent test failures:
        ✕ transactionGetForUpdate addresses write skew by promoting gets into same-value puts (97 ms)
        ✕ transactionMultiGetForUpdate addresses write skew by promoting gets into same-value puts (96 ms)

These might be not deterministic on slower machines.
  ● rocksdbP › database › transactions › transactionGetForUpdate addresses write skew by promoting gets into same-value puts
    expect(received).toBe(expected) // Object.is equality
    Expected: true
    Received: false
      290 |             );
      291 |           }),
    > 292 |         ).toBe(true);
          |           ^
      293 |       });
      294 |       test('transactionMultiGetForUpdate addresses write skew by promoting gets into same-value puts', async () => {
      295 |         // Snapshot isolation allows write skew anomalies to occur
      at Object.<anonymous> (tests/rocksdb/rocksdbP.test.ts:292:11)
  ● rocksdbP › database › transactions › transactionMultiGetForUpdate addresses write skew by promoting gets into same-value puts
    expect(received).toBe(expected) // Object.is equality
    Expected: true
    Received: false
      366 |             );
      367 |           }),
    > 368 |         ).toBe(true);
          |           ^
      369 |       });
      370 |       test('transactionIteratorInit iterates over overlay defaults to underlay', async () => {
      371 |         await rocksdbP.dbPut(db, 'K1', '100', {});
      at Object.<anonymous> (tests/rocksdb/rocksdbP.test.ts:368:11)

To Reproduce

See: https://gitlab.com/MatrixAI/open-source/js-db/-/jobs/2720130224

Expected behavior
Tests should be deterministic.

It looks that these 2 failures are exactly where I'm expecting there to be a transaction conflict.
        expect(
          results.some((result) => {
            return (
              result.status === 'rejected' &&
              result.reason.code === 'TRANSACTION_CONFLICT'
            );
          }),
        ).toBe(true);

It could be that if it runs fast enough, that the 2 transactions end up working and no transaction conflict occurs.
I need to run this a lot and see if this is still an issue.

I was able to replicate it too.

In order to make sure these tests are deterministic, we need to ensure that there is a synchronisation barrier between t1 and t2. https://en.wikipedia.org/wiki/Barrier_(computer_science)
This means both functions must only proceed to run after both side's transactionGetForUpdate or transactionMultiGetForUpdate calls are done.
One way to create an async barrier is to use a semaphore. Right now our @matrixai/async-locks doesn't abstract over the semaphore that async-mutex provides.
Imagine something like:
const barrier = new Barrier(2);

const t1 = async () => {
  await barrier();
};

const t2 = async () => {
  await barrier();
};

I've used something like this before in the PK code to allow promises as way to plug or unplug something like in queues. But promises in this way is just another way of "signalling" to another place in code. I believe these are called conditions https://en.wikipedia.org/wiki/Monitor_(synchronization).
We may need to use more of this to make our concurrent tests more deterministic. However I'd like a more comprehensive framework for this sort of stuff like from fast-check in the future.

It's difficult to adapt the semaphore to this. Mainly because a barrier is the opposite of a semaphore. The semaphore allows X number of concurrent runners, after which they must be blocking. What we are saying, is that we need X approvals before it is allowed to proceed, after which all requests can proceed. The X approvals in this case comes from 2 places in the code: t1 and t2.
The semaphore can't take negative numbers, but also probably doesn't behave properly.
As an alternative we can have a counter and a lock. The lock starts out as already locked. When the counter reaches a designated number, then the lock is released.
const l = new Lock();
const release = await l.lock();
const c = 0;
const level = 2;
function barrier() {
  c++;
  if (c == level) {
    release();
  } else {
    await l.waitForUnlock();
  }
}

const t1 = async () => {
  await barrier();
};

const t2 = async () => {
  await barrier();
};

This should be solved by 9ad374fc56b4ae2df8ca51480d8dc625ad526417. It adds in the usage of Barrier to ensure concurrent execution order.


Bug 14643 Delete selected planar figure by KeyInteractor

Thanks for the PR.
Due to the size and type of your contribution we would like to ask you to provide a 'signed-off-by' tag as explained in signing off. You could either re-write your commit message to add the signed-off-by line or add it to the corresponding bug report.
Thanks!

@saschazelzer done


my get stuck in SocketStream.read()

Describe the bug
May get stuck in SocketStream.read() and consume 100% CPU when used from gnssntripclient:
...
[...]te-packages/pyubx2/socket_stream.py:40    call                     => _recv(self=<pyubx2.socket_stream.SocketStream object at 0x7f3985473af0>)
[...]te-packages/pyubx2/socket_stream.py:48    line                        try:
[...]te-packages/pyubx2/socket_stream.py:49    line                        data = self._socket.recv(self._bufsize)
[...]te-packages/pyubx2/socket_stream.py:50    line                        self._buffer += data
[...]te-packages/pyubx2/socket_stream.py:53    line                        return True
[...]te-packages/pyubx2/socket_stream.py:53    return                   <= _recv: True
[...]te-packages/pyubx2/socket_stream.py:77    line                     while len(self._buffer) < num:
[...]te-packages/pyubx2/socket_stream.py:78    line                     if not self._recv():
[...]te-packages/pyubx2/socket_stream.py:40    call                     => _recv(self=<pyubx2.socket_stream.SocketStream object at 0x7f3985473af0>)
[...]te-packages/pyubx2/socket_stream.py:48    line                        try:
[...]te-packages/pyubx2/socket_stream.py:49    line                        data = self._socket.recv(self._bufsize)
[...]te-packages/pyubx2/socket_stream.py:50    line                        self._buffer += data
[...]te-packages/pyubx2/socket_stream.py:53    line                        return True
[...]te-packages/pyubx2/socket_stream.py:53    return                   <= _recv: True
[...]te-packages/pyubx2/socket_stream.py:77    line                     while len(self._buffer) < num:
[...]te-packages/pyubx2/socket_stream.py:78    line                     if not self._recv():
[...]te-packages/pyubx2/socket_stream.py:40    call                     => _recv(self=<pyubx2.socket_stream.SocketStream object at 0x7f3985473af0>)
[...]te-packages/pyubx2/socket_stream.py:48    line                        try:
[...]te-packages/pyubx2/socket_stream.py:49    line                        data = self._socket.recv(self._bufsize)
[...]te-packages/pyubx2/socket_stream.py:50    line                        self._buffer += data
[...]te-packages/pyubx2/socket_stream.py:53    line                        return True
[...]te-packages/pyubx2/socket_stream.py:53    return                   <= _recv: True
[...]te-packages/pyubx2/socket_stream.py:77    line                     while len(self._buffer) < num:
[...]te-packages/pyubx2/socket_stream.py:78    line                     if not self._recv():
[...]te-packages/pyubx2/socket_stream.py:40    call                     => _recv(self=<pyubx2.socket_stream.SocketStream object at 0x7f3985473af0>)
[...]te-packages/pyubx2/socket_stream.py:48    line                        try:
[...]te-packages/pyubx2/socket_stream.py:49    line                        data = self._socket.recv(self._bufsize)
[...]te-packages/pyubx2/socket_stream.py:50    line                        self._buffer += data
[...]te-packages/pyubx2/socket_stream.py:53    line                        return True
[...]te-packages/pyubx2/socket_stream.py:53    return                   <= _recv: True
[...]te-packages/pyubx2/socket_stream.py:77    line                     while len(self._buffer) < num:
[...]te-packages/pyubx2/socket_stream.py:78    line                     if not self._recv():
[...]te-packages/pyubx2/socket_stream.py:40    call                     => _recv(self=<pyubx2.socket_stream.SocketStream object at 0x7f3985473af0>)
[...]te-packages/pyubx2/socket_stream.py:48    line                        try:
[...]te-packages/pyubx2/socket_stream.py:49    line                        data = self._socket.recv(self._bufsize)
[...]te-packages/pyubx2/socket_stream.py:50    line                        self._buffer += data
[...]te-packages/pyubx2/socket_stream.py:53    line                        return True
[...]te-packages/pyubx2/socket_stream.py:53    return                   <= _recv: True
[...]te-packages/pyubx2/socket_stream.py:77    line                     while len(self._buffer) < num:
[...]te-packages/pyubx2/socket_stream.py:78    line                     if not self._recv():
[...]te-packages/pyubx2/socket_stream.py:40    call                     => _recv(self=<pyubx2.socket_stream.SocketStream object at 0x7f3985473af0>)
....

Version: 1.2.29, Ubuntu 22.04
To Reproduce
I suspect this is a server issue, but some sort of failure detection would be nice.

@asherikov
I've transferred this issue over to the pygnssutils repo for now, as it occurred when using gnssntripclient.
Could you provide a copy of the complete script or command you executed that resulted in this issue please? Thanks

Sorry, cannot give you the exact parameters, but it is a pretty standard NTRIP setup, which works for other servers. Reproducible both with pygpsclient, and a simple cli utility based on gnssntripclient. It looks like the server closes connection and the client doesnt handle this situation: note that recv() does not throw on closed connections, but simply returns an empty message. So it should be fixed in pyubx2.


Add option to change collation

Add option to change collation while keeping the existing default.  Update workflows to test collation is set as expected with advanced workflow set to change the collation.  Update example in readme to include changing collation.  #12

Such a cool change! Thank you so much 🙇🏼

It's also a very thorough PR, I appreciate your updating of the docs and all 🙌🏼  This will be published to version 1.3 once the tests pass.

That's great.  Thank you for taking the time to review and accept my PR. 😊


bitcrack not working, always invalid address

hello,
i just installed bitCrack on my laptop
nothing happen ( error code ) during instalation
but always " invalid address" im sure the address is correct
please helpme
thankyou

Only addresses starting with 1 ( P2PKH ) are ok.

so do you mean cannot scaning other addresses ??

Only addresses starting with 1 ( ex. 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa )
With 3 ( ex. 3JCt65JHYhv839mfgeDhtJLPrVMvobeW5v ) and b ( ex. bc1qex0aqq8mxqfh4cpl62eg755836djjx20yzuuu8 ) no.

ok , its work finally
thanks mate!!


Docs v2

This adds code snippets for the page concepts/providers that use code generation.
However, I was not too sure about the best way to represent modifiers (family and auto dispose) so have left that to a later point in time.
It also focuses only on the code snippets as of now

The associated text doesn't quite match the code-generator, but that's alright. Docs needs a more in-depth change to consider the codegen anyway
Thanks for this!


Doesn't work with LTO enabled

WiFi connects (judging by the logs) regardless of LTO, but with lto = true in Cargo.toml it hangs somewhere after connection.
I use this code:
wifi_interface.connect().unwrap();

println!("Wait to get connected");
loop {
    let res = wifi_interface.is_connected();
    match res {
        Ok(connected) => {
            if connected {
                break;
            }
        }
        Err(err) => {
            println!("{:?}", err);
            loop {}
            // wifi_interface.connect().unwrap();
        }
    }
}

println!("Wait to get an ip address");
let network = Network::new(wifi_interface, current_millis);
loop {
    network.poll_dhcp().unwrap();

    network.work();

    if network.is_iface_up() {
        println!("got ip {:?}", network.get_ip_info());
        break;
    }
}

wifi_led.set_high().unwrap();

And with LTO led never turns on.

On which target does this happen?

On which target does this happen?

esp32c3, riscv32imc-unknown-none-elf

Possibly related: #99

We're now recommending disabling LTO for now (#116), we've seen some strange issues on both Xtensa and RISCV of which the root cause seems to be LTO. Hopefully we'll be able to enable it again in the future :).


Eliminating the jQuery dependency

I've been thinking a lot about performance, and how smoothState will fit into the future of Javascript. This is going to be a big step, but I wanted to open an issue to start a conversation going about this.

I'd like to see this happen. The site I'm using smoothState.js on only really includes jQuery because of it.

Yes please! The only reason I now load in jQuery is for smoothState.

Any updates on this? I just found out about smoothState and don't want to include jQuery.

I would love to see this as well.

Biggest thing that needs to get done before a rewrite is finishing the unit tests. That way we know nothing will break.


Elvis Suggestions

I reviewed the repo with Elvis and "fixed" the code according to his suggestions :)

These seem good to me.


Got all nan after training 4 epoch

I trained a [context2vec].(https://github.com/orenmel/context2vec/blob/master/context2vec/train/train_context2vec.py)
When using tensorflow, I can fix this by adding a small number to the loss function.

cross_entropy = self.target * tf.log(self.prediction+1e-10)

How to do this in chainer?

What you want to do is to add a small number to the probability distribution that the prediction model outputs, isn't it?

Since the built-in negative sampling cost function  should be stable.What else can I do to fix this?A slower learning rate or a different optimizer? Thank you for you advice.

First of all, I recommend you where nan comes from. If we set chainer.set_debug(True), Chainer raises an error as soon as nan occurs.

If I want to set a lower learning rate, is the only way to change beta1 and bete2?
Also will a dropout help?
Thank you very much.

I think alpha can be regarded as a learning rate in this particular case. Regarding dropout, I think we can get some insight whether dropout can help if we can understand the cause of nan more.


PointerDrag component

A PointerDrag component would be convenient for checking if a certain pointer is dragging something when you're dealing with complex logic.
Maybe it can look something like this:
#[derive(Component, Deref)]
struct PointerDrag(Option<Entity>);

It will contain Some(Entity) when the pointer is currently dragging an entity.

This already exists in the form of events and event listeners. You could create your own special purpose component for this purpose if you want some other behavior.
https://docs.rs/bevy_mod_picking/latest/bevy_mod_picking/events/struct.Drag.html
https://github.com/aevyrie/bevy_mod_picking/blob/main/examples/drag_and_drop.rs


Analyse alternatives to scale up the number of concurrent users in Q2 2021

As part of our roadmap we defined that during Q2 we need to scale up our Catalyst and P2P network to support up to 10K concurrent users.
Te decide if that number is doable we need to analyse some alternatives and perform some tests, this issue is to track that effort.

This document describes the plans to evolve out Realms and P2P network in order to scale them.


Stages of the Activity Lifecycle: Android Basics in Compose

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-activity-lifecycle?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-4-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-activity-lifecycle#2
In which task and step of the codelab can this issue be found?
7. In the Logcat window, type MainActivity into the search field.
Describe the problem
Created both logs, none of them appear in the Logcat tab, just shows two lines:
---------------------------- PROCESS STARTED (25295) for package com.example.dessertclicker ----------------------------
2023-03-06 12:18:54.906  1156-1451  ArtManagerInternalImpl  system_server                        D  /data/misc/iorapd/com.example.dessertclicker/1/com.example.dessertclicker.MainActivity/compiled_traces/compiled_trace.pb doesn't exist,
it
It's the same with the solution coed and without having any logs.
Steps to reproduce?

Go to... Logcat tab
Click on... search tab and write D/MainActivity
See error... 2023-03-06 12:18:54.906  1156-1451  ArtManagerInternalImpl  system_server                        D  /data/misc/iorapd/com.example.dessertclicker/1/com.example.dessertclicker.MainActivity/compiled_traces/compiled_trace.pb doesn't exist

Versions
Android Studio version: Electric Eel 2022.1.1 patch 1
API version of the emulator:  not an emulator, a tablet labeled Samsung SM-T540 with android version
Additional information
Include screenshots if they would be useful in clarifying the problem.

Hi @Jonathan5579
Thank you for writing in about your issue.
Please attach a screenshot so we can see what you have in the Logcat pane.
It would also be helpful if you include a link to your full project (preferable) or at least attach your MainActivity.kt file to confirm it is coded correclty.
You could also try setting up an emulator and running your code there to see if it might be an issue with your physical device.
Once you provide these, we should be able to help you further.
Hope you are enjoying the course!
Regards.


HIVE-25828 Remove unused import and method in ParseUtils

What changes were proposed in this pull request?
(1) Remove unused import
(2) Remove unused method sameTree(ASTNode node, ASTNode otherNode)
Why are the changes needed?
make code more readable
Does this PR introduce any user-facing change?
No
How was this patch tested?
no test

Gentle ping,  can someone merge this pr ?


fix(switch): fixed for firefox

#106
Fix for displaying switch correctly on Firefox.

Adding a label:
<input id="sample-checkbox" type="checkbox" className="mod-switch"/>
<label className="label1" htmlFor="sample-checkbox">On/Off</label>

makes the switch appear correctly in Firefox. I suggest updating the documentation and make it clear that label is now required.
However, the PR breaks support for wrapping the checkbox with a label instead of using the for attribute. This is a second, valid way of associating a label with input. It was working before.
Additionally, regular checkboxes still appear smaller in FF than Chrome.

@szafranek The correct way is described in the styleguide. Every other implementation is legacy and should be updated when you gonna use a new version :)
The label beside a checkbox was required also before because the is no toggle without text :D

👍

But this one only changed it for the switch. Why not for radio and check boxes as well?

I will try to push the changes for the radio later


Update archetype and add the file architecture/ressources

For the moment, when you generate the Archetype (with mvn archetype:generate comand), there is no architecture/ressources file created.
Update the archetype to add this directory.

The aim is to change  the mvn archetype:generate comand to create the file archetype-metadata.xml in architecture/ressources ?

No, it's the contrary.
The archetype maven module contains in src/main/resources/archetype-resources/ (the folder which is deployed on user machine when archetype is installed) an src folder in which you should create the architecture/resources/workspace.dsl file in which we would put the default value found on structurizr-dsl home page.
Is it clear enough?

Yes it's clear


Measuring text is improper in linux environment

Description
Measuring text is improper in linux environment
Code
Steps to reproduce the behavior:
var paint = new SKPaint();
var bounds = new SKRect();
float width = paint.MeasureText("Locatio", ref bounds);
Expected Behavior
we want same width for the text in both windows and Linux environment
Actual Behavior
In windows environment text width is 39.
In Linux environment text width is 42.
Basic Information

skiasharp Version: 1.59.3
IDE:  MonoDevelop

What font are you using on both systems? If you want the same results on both systems you need to use the same font file.


Story/39608 test refactor CL client

Corresponding PR in core - https://github.com/smartcontractkit/chainlink/pull/6975

Codecov Report

Merging #381 (7c07f8a) into main (f6a39de) will increase coverage by 0.51%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #381      +/-   ##
==========================================
+ Coverage   28.86%   29.37%   +0.51%
==========================================
  Files          14       13       -1
  Lines        1618      834     -784
==========================================
- Hits          467      245     -222
+ Misses       1113      568     -545
+ Partials       38       21      -17

Impacted Files
Coverage Δ

client/chainlink_models.go
0.00% <ø> (ø)

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 f6a39de...7c07f8a. Read the comment docs.


Integrate FlowEHR and Data Forge

Integrate FlowEHR and Data Forge so that the data pipelines from Data Forge and other future repositories are built and deployed as part of make deploy.
This implementation follows on from the design doc https://github.com/UCLH-Foundry/Book-of-FlowEHR/pull/145

Check out repositories in Devcontainer post create command
Add checked out repositories to .gitignore
Create a new config file config.transform.yaml to set up the repositories to check out
Move spark_version to this newly created file and read it directly from transform Terraform configuration
Create a Data Factory data pipeline from the pipeline configurations in the checked out repos
Build pipeline artifacts for each pipeline in checked out repos and upload them using databricks_dbfs_file Terraform resource
Remove hello-world pipeline in favour of https://github.com/UCLH-Foundry/FlowEHR/issues/81

/test

/test
Expect this one to fail as it won't have permissions to check out repos

/test

/test

I think I won't be able to test this in CI as the Github action workflow is applied from main branch and not from the PR

/test-force-approve
Cannot be tested in CI as there are changes in github actions (new secrets)


I'd love some instructions on how to build using VS2022 with a CMakeList console app

I'm new'ish to cmake, certainly so on Windows.  But I have a VS2022 Cmake console app running.  It is unclear to me how to setup the lz4 library (which I've downloaded and added the include/lib paths to my CMakeList.txt).  Also, I've setup my git path and attempted to use set(LZ4_STREAM_UseBundledLz4 TRUE).  However, I cannot get it to work.
I get an error about needing:
lz4_stream/thirdparty/lz4/LibLz4-prefix/src/LibLz4/visual/VS2010/bin/_Debug/liblz4_static.lib

Building C++ code on Windows is complicated and not really related to this project, so I'm afraid I cannot help you with this.
I suggest you find some resources/forums related to C++ on Windows.
Good luck.

Noted, and thanks.
FWIW, you include "Windows (MS C++):" in the build targets.  If you don't want to support it, that's understandable... maybe remove this?  (I spent time on your project because I assumed you did support Windows/MSVCPP)

Sorry if I sounded a bit harsh, didn't mean to.
This project should indeed support Windows/MSVC but it sounded like the issues you were facing were more related to building/linking with libraries on Windows in general.
I haven't looked at this project in ages but hopefully it should be possible to figure out how to make it work by looking at the build pipeline. If you feel like something is missing or should be updated, a pull request would be very much appreciated.
Thanks.


add reject query support in fakesqldb

add the ability in fakesqldb.Conn to reject certain queries.
This helps to test failure modes in queryservice unit tests.

lgtm


Use local ECDSA private key for VCEK and VLEK

Load local ECDSA private keys instead of using ecdsa.GenerateKey because the underlying implementations will cause our internal test environment crash.

Have you verified that these changes stop your test from crashing?

Have you verified that these changes stop your test from crashing?

Though those changes cannot stop my test from crashing, it might be a good practice to use the pre-generated test private keys to make tests run faster.

ooops looks like the PR merging process is a bit different from go-tpm-tools, sending 1 reapproval request to @deeglaze


User doesn't get a message when the history of a tram does not exist.

In cleanup and maintenance, the id's are clickable but the user won't get a message when there is no history.

Fixed by #80.


Repo split changes

Description
SQL was split into the following repos:

https://github.com/opensearch-project/sql (remains but removed additional components)
https://github.com/opensearch-project/sql-jdbc
https://github.com/opensearch-project/sql-odbc
https://github.com/opensearch-project/sql-cli
https://github.com/opensearch-project/dashboards-query-workbench

See

https://github.com/opensearch-project/opensearch-build/issues/3044

Issues Resolved

https://github.com/opensearch-project/sql/issues/640

Check List

[x] New functionality includes testing.

[x] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1232 (333b948) into main (1b58f7d) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main    #1232   +/-   ##
=========================================
  Coverage     98.32%   98.32%
  Complexity     3550     3550
=========================================
  Files           344      344
  Lines          8762     8762
  Branches        554      554
=========================================
  Hits           8615     8615
  Misses          142      142
  Partials          5        5

Flag
Coverage Δ

sql-engine
98.32% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


log, pow, div unsupported in 16x8 precision

It seems these ops are supported in 8x8 mode, but not in 16x8. The latter is very important for our organization, as it saves a lot of rounding error over 8x8. Is full 16x8 support on the current roadmap? If not, could we help to contribute this feature?
1. System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 22.04
TensorFlow installation (pip package or built from source): pip tf-nightly
TensorFlow library (version, if pip package or github SHA, if built from source): 2.11.0-dev20220916

2. Code
import numpy as np
import tensorflow as tf
import keras

def data_generator():
    for x in range(1, 100):
        yield [np.array(x).astype(np.float32)]

def test_layer(layer):
    model = tf.keras.Model(inputs=[in_tensor], outputs=[layer])
    converter = tf.lite.TFLiteConverter.from_keras_model(model)
    converter.representative_dataset = data_generator
    converter.optimizations = [tf.lite.Optimize.DEFAULT]
    converter.target_spec.supported_ops = [
        tf.lite.OpsSet.EXPERIMENTAL_TFLITE_BUILTINS_ACTIVATIONS_INT16_WEIGHTS_INT8
    ]
    converter.inference_input_type = tf.int16
    converter.inference_output_type = tf.int16
    try:
        tflite_model = converter.convert()
    except Exception as e:
        print("Received exception:\n%s" % str(e))

in_tensor = tf.keras.Input(shape=(1,))
test_layer(tf.math.log(in_tensor))
test_layer(in_tensor ** 3)
test_layer(in_tensor / in_tensor)

3. Failure after conversion
Conversion fails, with the following error messages:

Quantization to 16x8-bit not yet supported for op: 'LOG'.
Quantization to 16x8-bit not yet supported for op: 'POW'.
Quantization to 16x8-bit not yet supported for op: 'DIV'.

Hi @blaine-fs !
If 16x8 quantization is not supported for some operators in the model, then the model still can be quantized, but unsupported operators kept in float. The following option should be added to the target_spec to allow this.
 converter.target_spec.supported_ops = [tf.lite.OpsSet.EXPERIMENTAL_TFLITE_BUILTINS_ACTIVATIONS_INT16_WEIGHTS_INT8,tf.lite.OpsSet.TFLITE_BUILTINS]
Attached gist for reference.

Reference
Thank you!

Hi @mohantym.
Thanks for the tip. Keeping those ops in float is better than nothing. At least they don't have weights, so we should be guaranteed that all model parameters are quantized to int8.
In our use case, we are developing a compiler backend for TFLite which targets an inference accelerator.  Like most inference accelerators, it lacks hardware support for floating point, so we would really rather have TFLite code that only consists of fixed-point ops.
We could work around this by doing the float -> fixed conversion in our backend, but it seems like TFLite should be able to do this on its own, and can do it for 8x8 already. So we would like to know if there are any plans to expand 16x8 support, or if it would be open to community contributions.

Actually, looking at the MLIR dialect spec, it seems like some of these ops (for example tfl.log) do not support fixed point at all. When I try to compile these in 8x8 mode, I seem to silently get floating points ops. Do we always need to allow floating point if we want to use these operators? Or put another way, is full integer quantization only supported for a subset of TFLite?

Ok @blaine-fs !
Thanks for the update.
@sachinprasadhs !
Could you look at this issue.
Thank you!

I was able to reproduce the issue in TF 2.11 and TF Nightly. Please find the gist here. Thank you.

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The TFLite team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the TFLite space.
Thanks.


Append Page at the beggining

I have a chat app that use this library inverted naturally, and i would like to add items to the list without rebuild the whole list. Is there any way to append items at the beginning and keeping same page key, instead of at the end?

@carrasc0  The same issue, I am facing when I have to add a few beginning messages. stick with the same position not rebuild.
have you found any solution @carrasc0?

when we used chat we had to go sometime on both sides, and I still did not find any solution. @carrasc0 let me know if you have a solution.

Nothing yet guys. Waiting a response from them yet

@okaforcj does your changes fix this issue?

@okaforcj does your changes fix this issue?

Yeah it does, i forked the repo and added a new api called prependPage which should fix it. I am currently already using it in my app and it works well

I think they closed it without feedback, which is a very infantil behaviour @okaforcj

@okaforcj I use your library in production and its great. However, that functionality is quite necessary for a variety of use cases, currently I gotta add the mentioned fix via extensions, but would be nice to add it as a feature.

hey thanks for the feedback @carrasc0 , i use it in production of my own companys app currently. but i dont know if the authors of this library is accepting PRs from independent devs so I just left it out for now.

can you provide me with how this add-in project @okaforcj
    infinite_scroll_pagination: #^3.2.0         git:             url: https://github.com/okaforcj/infinite_scroll_pagination.git             ref: master             path: infinite_scroll_pagination
this not working

This issue is very important as this lib has been used by so many devs and we 100% this to be fixed and have this feature.
Also there is one issue where if we delete the item from list users must have to scroll above or below to reflect that deleted item from list to be disappear, which is a major bug.
I think the issue for both of this things are because of internal SliverList() which does not refreshed somehow and that is causing these bugs.

+1 for this feature

+1 for this feature

+1 for this feature

+1 for this feature

even if the item was added at the beginning, which you can do by manually manipulating the item list,
this would still cause a rebuild everywhere. it is not possible to modify the list without a rebuild.


Add date range to end of Key Findings Arrests Made

Overview:
The highlighted text on the right here should say from 2013-18 at the end.
Details:

Info about the Environment:

URL: https://staging.policescorecard.org/tx

Acceptance Criteria:

Issue will be considered complete when the following criteria are met:

[x] Key Findings Arrests Made sentence should end with from 2013-18.

Documentation:

Screenshots, Attachments, Linked GitHub Issues, etc

Dev & QA Notes:

Any additional notes from developers or QA required to complete this issue.

Fixed in Development


Enabling REQUIRE_USER_AUTHENTICATION

Describe the bug
When enabling REQUIRE_USER_AUTHENTICATION=1 and logging in with admin account, an error shows up saying "You don't have access to this project".
To Reproduce
Steps to reproduce the behavior:

Create a project with REQUIRE_USER_AUTHENTICATION=0
Change REQUIRE_USER_AUTHENTICATION=1 and restart docker.
Log in
See error

Expected behavior
Be able to login and see all pipelines with admin user.
Environment:

Ubuntu server
Docker setup
Mage v0.9.41

Additional context
After fixing it by resetting the database, it works. But same problem reoccurs after changing the password of the admin user. So i guess it's 2 bugs.
Let me know if you need more information :pray:

I'm sorry this description was incorrect, new issue https://github.com/mage-ai/mage-ai/issues/3896


Add PkgConfigCache for reproducing data from original .pc files

PkgConfigCache allows us to read in the .pc files generated by build in def package() and store them as yaml for later reading during def package_info() where it is used to populate cpp_info in a way in which PkgConfigDeps should generate .pc files containing all the data we need.
Also improves the PkgConfig tool to clear sysroot and support setting prefix.

LGTM


Doesn't work on x86_64

I just installed everything in my Catalina machine, and I got two errors:

expired certificate for bindfs:

==> Downloading https://bindfs.org/downloads/bindfs-1.17.4.tar.gz

curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
Error: dockerd: Failed to download resource "bindfs"
Download failed: https://bindfs.org/downloads/bindfs-1.17.4.tar.gz

This was easy and I fixed it as explained here

While executing the example I got this error:

$ docker run --rm -it ghcr.io/macoscontainers/macos-jail/ventura:latest echo "Hello from macOS container ^_^"
WARNING: The requested image's platform (unknown) does not match the detected host platform (darwin/amd64/v3) and no specific platform was requested

I was unable to fix this, so I'd need help.

Hi, I currently not sure whether things work on x86_64. They are supposed to, because there is no ARM-specific code, and Ventura consists of dual-arch binaries.
Unfortunately, I don't have x86_64 Mac at hand. As a quick test, could you try running bigsur instead of ventura? The latter is purely x86_64.

With bigsur I get a different error:
$ docker run --rm -it ghcr.io/macoscontainers/macos-jail/bigsur:latest echo "Hello from macOS container ^_^"
WARNING: The requested image's platform (unknown) does not match the detected host platform (darwin/amd64/v3) and no specific platform was requested
dyld: dyld cache load error: shared cache file open() failed
dyld: Library not loaded: /usr/lib/libSystem.B.dylib
  Referenced from: /bin/echo
  Reason: image not found

With monterey it's almost the same:
$ docker run --rm -it ghcr.io/macoscontainers/macos-jail/monterey:latest echo "Hello from macOS container ^_^"
WARNING: The requested image's platform (unknown) does not match the detected host platform (darwin/amd64/v3) and no specific platform was requested
dyld[32380]: Library not loaded: '/usr/lib/libSystem.B.dylib'
  Referenced from: '/bin/echo'
  Reason: tried: '/usr/lib/libSystem.B.dylib' (no such file), '/usr/local/lib/libSystem.B.dylib' (no such file)

One more thing: I noticed that the
ln -sfn /opt/homebrew/opt/docker-buildx/bin/docker-buildx ~/.docker/cli-plugins/docker-buildx

command in the homebrew-formula README silently fails because the source file does not exist. I think the proper command should be:
ln -sfn /usr/local/opt/docker-buildx/bin/docker-buildx ~/.docker/cli-plugins/docker-buildx

as printed by homebrew at the end of docker-buildx installation.
However, that does not help with the above issue.

I checked the content of the monterey image and it seems that nothing is inside the /usr/lib folder:
$ docker run  -it ghcr.io/macoscontainers/macos-jail/monterey:latest sh
WARNING: The requested image's platform (unknown) does not match the detected host platform (darwin/amd64/v3) and no specific platform was requested
dyld[42227]: Library not loaded: '/usr/lib/libSystem.B.dylib'
  Referenced from: '/bin/sh'
  Reason: tried: '/usr/lib/libSystem.B.dylib' (no such file), '/usr/local/lib/libSystem.B.dylib' (no such file)

$ docker ps -a
CONTAINER ID   IMAGE                                                COMMAND         CREATED          STATUS                              PORTS     NAMES
25b8823e5548   ghcr.io/macoscontainers/macos-jail/monterey:latest   "sh"            5 seconds ago    Exited<PHONE_NUMBER>) 3 seconds ago             modest_sutherland

$ docker export modest_sutherland | tar t
.dockerenv
 . . .
usr/bin/zprint
usr/lib/
usr/lib/dyld
usr/sbin/
 . . .

So I started another container bind-mounting the /usr/lib folder, and this time it worked:
$ docker run --rm -it -v /usr/lib:/usr/lib:ro ghcr.io/macoscontainers/macos-jail/monterey:latest echo "Hello from macOS container ^_^"
WARNING: The requested image's platform (unknown) does not match the detected host platform (darwin/amd64/v3) and no specific platform was requested
Hello from macOS container ^_^

Works also for bigsur and ventura!

Hmm. So, what we have here:

Ventura image with dual-arch binaries doesn't seem to work on x86_64. I should possibly create separate ARM/x86_64 ones
Monterey/Big Sur lack some files. There were lots of changes to image build script, I should try rebuilding them.

https://github.com/macOScontainers/rund/issues/39#issuecomment-1913543347
Not sure why I'm getting different paths:

@slonopotamus Maybe you overlooked the last part of my previous comment: also the ventura image works on x86_64 when bind mounting /usr/lib

@nicolamori
still I can't run even every MACOSs(ventura, monterey, bigsur) on my environment.
I typed this line on the terminal.
docker run -it -v /usr/lib:/usr/lib ghcr.io/macoscontainers/macos-jail/monterey:latest /bin/bash

the result is just warning shows up kind of darwin/amd64/v3.
if I run without your findings to add the option (-v /usr/lib:/usr/lib), it showed following errors.
docker run -it ghcr.io/macoscontainers/macos-jail/monterey:latest /bin/bash
WARNING: The requested image's platform (unknown) does not match the detected host platform (darwin/amd64/v3) and no specific platform was requested
dyld[1981]: Library not loaded: '/usr/lib/libncurses.5.4.dylib'
  Referenced from: '/bin/bash'
  Reason: tried: '/usr/lib/libncurses.5.4.dylib' (no such file), '/usr/local/lib/libncurses.5.4.dylib' (no such file)

so I think adding the option helps to move forward. thanks. but still the container stops after a few seconds because of unknown errors.
685e889f124a   ghcr.io/macoscontainers/macos-jail/monterey:latest   "/bin/bash"              10 seconds ago       Exited<PHONE_NUMBER>) 6 seconds ago                  adoring_ishizaka

you already found out the way it works out.
so I wanna ask you, Is there any suggestion for resolving my case?

@nicolamori I'll try rebuilding images and ping you here when they are ready so you can test.

Hi @slonopotamus, any progress in rebuilding the images?

@slonopotamus
I'm also looking forward to hearing any update from you.
Is there anything I can help you?


cryptonite-0.6 test suite failure

cryptonite-0.6's test suite is expected to succeed in LTS 3.5, but it failed for me. Citing from http://hydra.cryp.to/build/1248057/nixlog/1/raw:
Running 1 test suites...
Test suite test-cryptonite: RUNNING...
cryptonite
  number
    num-bits:                OK
      +++ OK, passed 100 tests.
    num-bits2:               OK
      +++ OK, passed 100 tests.
    generate-param:          OK
      +++ OK, passed 100 tests.
    generate-param2:         FAIL
      *** Failed! Falsifiable (after 14 tests):
      TestDRG (120,189,241,207,120)
      Int0_2901 0
      Use --quickcheck-replay '13 TFGenR 00000007B51EBF31000000000007A120000000000000DFC10000000F224D4A00 0 131064 17 0' to reproduce.
~~~~~

dup of #28


Yaml Comments

I have been testing the library and I realized that configurate-yaml does not have support for comments, it would be good if it were added

duplicate of #175 #410


How to update email and phone number?

How to update email and phone number in android app?

Yep, that functionality is missing. I'll add it in the next few days.

This has been implemented for a while. Closing.


Network outage causes Session to freeze

This seems to be caused by the internal send buffer of the UDP socket becoming full causing Linux kernel to return EAGAIN for writes. The golang netpoller handles this by waiting until the socket is writable (source). This eventually causes Session to freeze on SendQueue.Send().

This is an interesting issue, @create-your-account. The session should definitely not block in this case.
I just talked about this issue with @lucas-clemente, and we came up with the following idea: When sending a packet, we set a deadline of ~1ms. If the packet is not sent out within that time, this is a similar situation to congestion in the network (just that the congestion is closer to our side in this case). We then discard it, and report it as lost to the congestion controller, leading to a decrease of the congestion window and a thereby a slower send rate.
Does this make sense to you?

If I understand correctly in your proposal the SendQueue.Send() would block in case of outage for the duration of the deadline. I think such blocking should be avoided since when developing modifications to quic-go the developer might need to be aware of this special case of blocking.
To avoid having to ever wait on Send() I came up with another way to solve this. Checking in SendQueue.Send() if the internal queue is full. When queue is full report new packet as lost.
func (h *sendQueue) Send(p *packedPacket) {
	if len(h.queue) == cap(h.queue) {
		// report p as lost
                return
	}
	h.queue <- p
}

Downsides include the need to increase size of the queue to a value that would not cause packets to be dropped if for a short while packets are queued faster than consumed. Upside would be that inserting to the queue will never cause waiting.
One less portable solution for Linux would be before sending to use ioctl for SIOCOUTQ that returns number of data bytes in the local send queue and compare it to the value of SO_SNDBUF.
For my use case your proposal makes sense and has no reasonable issues.

For context mobile networks tend to fill the send buffer often during "normal" operation. One common cause is handover during change of base station. Also one ISP in my tests stops uplink for ~100ms in periods of 10 seconds. With other anomalies of mobile network included the send buffer of default size becomes full multiple times in one minute.

Maybe separate issue that causes deadlocks.
When Session is blocking on a full h.queue and sendQueue.Run() terminates with error, deadlock ensues. This is because the h.queue is never received from or closed now that Run() terminated. The h.queue is closed when Session is closing but for that to happen the Session needs to first receive the error from s.closeChan. This does not happen because Session is blocking on sendQueue.Send()
I wrote a small proof of concept that showcases the deadlock. By supplying a custom net.PacketConn to the client when dialing we can simulate WriteTo erroring after allowing h.queue to fill. The client's Session.Close() never returns due to the deadlock.
type errPacketConn struct {
	wrapped  net.PacketConn
	writeErr chan error
}

func (c *errPacketConn) ReadFrom(p []byte) (n int, addr net.Addr, err error) {
	return c.wrapped.ReadFrom(p)
}

func (c *errPacketConn) WriteTo(p []byte, addr net.Addr) (n int, err error) {
	select {
	case err := <-c.writeErr:
		// Cause h.queue to fill
		time.Sleep(time.Second)
		return 0, err
	default:
	}
	return c.wrapped.WriteTo(p, addr)
}

func (c *errPacketConn) Close() error {
	return c.wrapped.Close()
}

func (c *errPacketConn) LocalAddr() net.Addr {
	return c.wrapped.LocalAddr()
}

func (c *errPacketConn) SetDeadline(t time.Time) error {
	panic("not implemented")
}

func (c *errPacketConn) SetReadDeadline(t time.Time) error {
	panic("not implemented")
}

func (c *errPacketConn) SetWriteDeadline(t time.Time) error {
	panic("not implemented")
}

func main() {
	ln, err := quic.ListenAddr(
		"<IP_ADDRESS>:",
		getTLSConfig(),
		&quic.Config{},
	)
	if err != nil {
		panic(err)
	}

	go func() {
		session, err := ln.Accept(context.Background())
		if err != nil {
			panic(err)
		}
		defer session.Close()

		stream, err := session.AcceptStream(context.Background())
		if err != nil {
			panic(err)
		}

		if _, err := io.Copy(ioutil.Discard, stream); err != nil {
			panic(err)
		}
	}()

	pconn, err := net.ListenPacket("udp", "<IP_ADDRESS>:")
	if err != nil {
		panic(err)
	}

	errConn := &errPacketConn{
		wrapped:  pconn,
		writeErr: make(chan error),
	}

	session, err := quic.Dial(errConn, ln.Addr(), ln.Addr().String(), getTLSClientConfig(), &quic.Config{})
	if err != nil {
		panic(err)
	}

	go func() {
		stream, err := session.OpenStream()
		if err != nil {
			panic(err)
		}

		// Make sure we cause writes
		ticker := time.NewTicker(100 * time.Millisecond)
		defer ticker.Stop()

		for range ticker.C {
			if _, err := stream.Write([]byte{0}); err != nil {
				panic(err)
			}
		}
	}()

	println("Causing deadlock...")
	errConn.writeErr <- errors.New("Deadlock")

	// Allow sendQueue to terminate
	time.Sleep(100 * time.Millisecond)

	println("Closing...")
	panic(session.Close())
}


Maintenance on versions and build configurations

This is a bit of a mixed bag of maintenance changes and improvements to config files aiming at going in the direction of having all versions defined in fewer places, keeping consistency between tests and new libGDX project defaults and updating some outdated versions.
Highlights:

Upgraded libGDX Gradle to 6.7.1 which allows us to increase Android Gradle plugin.
Android Gradle Plugin version set to 4.0.2  both on new projects and libGDX tests Android module (4.1.X is currently not supported by some IDEs).
Set minifyEnabled to true for release builds by default for new projects.

I've tested both tests and new project and have found no issues.

I'm not happy that projects don't work out of the box after importing them and require defining an ndk installation directory, especially considering that this will be fixed on 4.1.X (https://issuetracker.google.com/issues/144111441). We can't upgrade to 4.1.X because it's still not supported by IDEA.
My suggestion is, for the time being, we set the Android Gradle plugin to 3.5.4 which is the latests not to require defining the ndkVersion and only once 4.1.X is more widely supported we upgrade. I will roll back the android plugin version upgrade and merge if everybody is ok with it.

Strangely, 4.1 works without defining an ndk version for me. But I am fine with 3.5.4 as well.

I guess it may work without having to define it explicitly on new projects if you have an environment variable like ANDROID_NDK_HOME or your IDE defaults generate a local.properties than define.  The other condition is that you have the requested NDK version already installed in your system.


Relax bounds to allow text-2.0

It works fine with cabal build --allow-newer=text, so I assume you can relax the bounds on Hackage.

Also, thanks for a marvelous package.

Thank you!
I have just checked, and the dependency on text is in fact needed just for the tests.
There are a few things I want to get done before releasing a new minor version (see e.g. #3).
In the meantime, I'll just push a fix for this on master! :slightly_smiling_face:

This fix has been published in version 1.8.2. The library does not depend anymore on text.
Thanks for the report!


Feature/dict

@gkbrk Thanks again for your prototype.
I have made some changes to get full support GNOME Dictionary.


Restrict cmake

Checklist

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

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Current issue:
See also "$SRC_DIR/openkim-models-2019-07-25/CMakeFiles/CMakeOutput.log".
CMake Error at model-drivers/EAM_CubicNaturalSpline__MD_853402641673_002/CMakeLists.txt:51 (add_kim_api_model_driver_library):
  Unknown CMake command "add_kim_api_model_driver_library".

@ellio167 I patched all potentials, with:
-find_package(KIM-API 2.0 REQUIRED CONFIG)
+find_package(KIM-API 2.2 REQUIRED CONFIG)

now I get the above error:
See also "$SRC_DIR/openkim-models-2019-07-25/CMakeFiles/CMakeOutput.log".
CMake Error at model-drivers/EAM_CubicNaturalSpline__MD_853402641673_002/CMakeLists.txt:51 (add_kim_api_model_driver_library):
  Unknown CMake command "add_kim_api_model_driver_library".


MessagePack media type support?

Minor support was added in the form of a helper method to check whether the clients accepts MessagePack.


[BUG] Permission to get public key rejected

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
After the dialogue about accepting requests from the site, https://bolt.fun/story/small-update-on-the-current-state-of-the-jukebox-bot-noderunners-radio--1195 to which I granted assent, I'm sure, when it comes to the actual asking:

When I press "Connect to extension" I  receive this pop-up:

Is this something I can fix?  Any other information happily provided.
Screenshots [optional]

Steps To Reproduce
As described.
Expected behavior
That I'd get prompts from Alby as the site required information it has.
Alby information

Alby - Bitcoin Lightning Wallet 3.3.0
Multiple accounts connected (LndHub protocol to LNbits)

Device information

OS Windows 10 Home 22H2 19045.3570
Brave Version 1.59.120 Chromium: 118.0.5993.88 (Official Build) (64-bit)

Additional context
No response
Are you working on this?
No

Hi @HamishMacEwan
Was this by any chance the first time you setup a master key on that account? If the prompt asked you to setup a master key, then you'll need to refresh the BOLT.FUN page afterwards in order for your nostr key to be useable.
(That's the only way I managed to reproduce the issue you had).
If you got it working, please let us know!
Thanks,
Roland


Netlify CMS - Archiving is not intuitive

@pierssinclairssw @adamcogan
Hi,
As per my conversation with Piers, it is not intuitive that if the Archive section has text in it then the rule will be archived.

AB#64305

Agreed. Ideally we should have a checkbox for it.
A quick way to improve temporarily would be to change the label from:
ARCHIVED REASON (LEAVE BLANK IF NONE) (OPTIONAL)
to something like:
ARCHIVE THIS RULE BY FILLING IN A REASON (LEAVE BLANK TO UNARCHIVE)


Re-work source freshness's "snapshot" wording in the docs as it's deprecated

Contributions

[ ] I have read the contribution docs, and understand what's expected of me.

Link to the page on docs.getdbt.com requiring updates
Site wide effort
What part(s) of the page would you like to see updated?
All mentions of snapshots or snapshotting.
@joellabes mentioned in his review here:
"Snapshotting" terminology is actually deprecated (we have another feature called snapshots and this was confusing - see the info box on this page). This might need a wider re-work?
Additional information
No response

To be clear: there are still snapshots completed by the dbt snapshot command. But there used to be a thing called "source freshness snapshots" which had absolutely nothing to do with the SCD-2 creation process that dbt snapshot does.
It's the second version (dbt source snapshot-freshness) which has been renamed for clarity


Finish argument parsers about cache

[x] #14
[x] #15
[x] #39
[x] #40
[x] #41
[x] #42
[x] #52

:tada: This issue has been resolved in version 1.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[fix][sec] Upgrade Netty to 4.1.100 to address CVE-2023-44487

Motivation
OWASP dependency check reports CVE-2023-44487 for Netty (and also Jetty).
Modifications
Upgrade Netty to 4.1.100.
Release notes: https://netty.io/news/2023/10/10/4-1-100-Final.html
Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Can this be marked/labeled cherry-picked/branch-3.1? This would go great with #21395.

@compuguy cherry picked together with #21395 to branch-3.1 .