Crashing at TASK [ansible-community.ansible-vault : OS packages]

I used this role to install successfully a few times. However now, I get this error consistently. It crashes when it gets to the "TASK [ansible-community.ansible-vault : OS packages] " stage. Been looking at it for a couple days so throwing it out here.
TASK [ansible-community.ansible-vault : OS packages] *****************************************************************************************************************************************fatal: [<IP_ADDRESS>]: FAILED! => {"cache_update_time":<PHONE_NUMBER>, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"       install 'acl=2.3.1-1'' failed: E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/acl/acl_2.3.1-1_amd64.deb  Temporary failure resolving 'archive.ubuntu.com'\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\n", "rc": 100, "stderr": "E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/acl/acl_2.3.1-1_amd64.deb  Temporary failure resolving 'archive.ubuntu.com'\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\n", "stderr_lines": ["E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/acl/acl_2.3.1-1_amd64.deb  Temporary failure resolving 'archive.ubuntu.com'", "E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following packages were automatically installed and are no longer required:\n  libflashrom1 libftdi1-2\nUse 'sudo apt autoremove' to remove them.\nThe following NEW packages will be installed:\n  acl\n0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.\nNeed to get 38.5 kB of archives.\nAfter this operation, 205 kB of additional disk space will be used.\nIgn:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 acl amd64 2.3.1-1\nIgn:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 acl amd64 2.3.1-1\nIgn:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 acl amd64 2.3.1-1\nErr:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 acl amd64 2.3.1-1\n  Temporary failure resolving 'archive.ubuntu.com'\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following packages were automatically installed and are no longer required:", "  libflashrom1 libftdi1-2", "Use 'sudo apt autoremove' to remove them.", "The following NEW packages will be installed:", "  acl", "0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.", "Need to get 38.5 kB of archives.", "After this operation, 205 kB of additional disk space will be used.", "Ign:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 acl amd64 2.3.1-1", "Ign:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 acl amd64 2.3.1-1", "Ign:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 acl amd64 2.3.1-1", "Err:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 acl amd64 2.3.1-1", "  Temporary failure resolving 'archive.ubuntu.com'"]}

This look like its caused by your OS and not the Ansible role. You probably need to fix this using apt. Seems like the package acl breaks your system.


Add idownvotedbecau.se/requestingquickanswers

More information here.

Can you please add the details into the issue? (the link might go bad)


Review X1 z calibration

I think the config file is off by a factor of two. We should calibrate vs real known objects

There are some per serial number fixes. So only some systems should be off. Still, we've standardized this configuration now and should unify this

pushed fix


Could you expose a new kvssink plugin property to indicate memory overflow/underflow in bandwidth restriction situations?

We are using the producer through the gstreamer kvssink plugin on embedded platforms that have cellular (LTE) modems.
Very often, the bandwidth will vary during the live stream, and in such situations we need to dynamically adjust the encoder bitrate (reduce it when less bandwidth is available, and increase it back when the bandwidth comes back to a higher speed and better latency).
Right now we rely on psutils to monitor the memory use of the kvssink/producer, and when the memory usage gets too high we reduce the encoder bitrate, and when the memory usage gets back to a more reasonable threshold we increase the bitrate back to a higher quality setting. This is clearly not optimal.
It would be much better for us if kvssink would expose a plugin property (readable only) or a gst-plugin callback so that we can get a clearer, specific information about whenever kvssink has difficulty uploading in a timely manner its frames (due to bandwidth limitations). The property could be called I don't know, latency, or overflow, in bytes or seconds.
Any other suggestion on how to implement this would be great too, if this is already a standard feature of the producer sdk (gst-plugin part).

Dup of #375


2186 csv exports are off by one. users are saying they have quantity but not really [WIP]

Resolves #2186
Description
CSV Exports for distributions resulted in a CSV which had mismatched columns, due in part to additional items with zero quantity being added to the distribution.
This PR modifies the ExportPartnerDistributionsService object to also serve distributions as well as partners, and to take optional headers which will allow for more customisable CSV exports in the future. I've included the optional headers in the controller for this reason, but they could be limited to each model instead if we don't want to introduce optional headers for the CSV export and want to define those differently for each model.
I chose to modify this existing service object instead of creating a new one since

I felt that it might be a bit closer to DRY principles
Following a Slack discussion with Stanley, this better fits the purpose of a service object as opposed to having two different ones.

This is a WIP since I have not yet written a test, but early manual testing yields positive results with the correct CSV output.
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
It hasn't yet been tested beyond manual testing. Further testing is required.

@edwinthinks Would you mind re-running the tests, please? I've added a basic spec and everything's green on my machine, although I'd be open to ideas on how to improve that (I should also be on the call this evening)

Hey @dropkickfish thanks for working on this PR. I have some main suggestions/requests that we can go over today in the coding session.

I don't think we need to include optional_headers since there is no requirement for this yet. My stance on this is don't add the customization until we need it. We can always add it later if we want it.
The logic for setting the header and aligning the item content to the seems to be missing or can be improved for more clarity. My approach would have been to build a method that constructs the headers based on the distribution items in alphabetical order and then in each row finds each corresponding column /w the Item.
Adding a failing spec first to ensure that the code we do change will fix it. (TDD approach here)

I hope we can sit down together and work on this today.

Following feedback, I've

reverted the ExportPartnerDistributionsService and removed any references to additional headers
created a new service object - ExportDistributionsCSVService
updated specs accordingly for the above
utilized Set to check for duplicate headers instead of using array methods
added logic to set nil values on items to zero in order to make csv exports compatible with more services (e.g. SQL)
added logic to set nil values on Agency Representative (the only column value expecting a string which can populate the csv with a nil value) to "None" by default for the same reason

I was having some trouble running specs locally so I've been a bit cheeky and pushed this branch to run here.
Where I think this can be improved:

I feel like the specs could probably be more robust
I would like to be able to refactor the logic for the nil values more readable

Note: I also rebased this onto main.


Ports are not available: exposing port TCP <IP_ADDRESS>:50500

After Windows 10 Update KB4074588, some ports are reserved by Windows and applications cannot bind to these ports. 50500 is in the blocked range.
You can use netsh interface ipv4 show excludedportrange protocol=tcp to list the reserved ranges.

@imsitnikov can you please take a look? We're currently using port 50500 for united-storage, but can probably switch it to some other port.

@imsitnikov can you please take a look? We're currently using port 50500 for united-storage, but can probably switch it to some other port.

PR with 8083 port for united-storage – https://github.com/datalens-tech/datalens/pull/55

PR with 8083 port for united-storage – #55

Merged.
@ssharapov you can pull the main branch and this problem will be solved.


Do you know how can I recover my wallet if I’ve lost my password, but still have my recovery key?

Hello guys!
Do you know how can I recover my wallet if I’ve lost my password, but still have my recovery key?
I've tried today to access my wallet and to send my funds to Binance, but apparently I have a password.
I don't know it, but I still have my recovery key.
I have an old Electrum XVG 2.4.1 wallet.
Do you have any kind of advice?
Thanks in advance!

I have the same problem

if you have hints or rough idea of the password, can try with BTC recover stephen recovered my coins months ago

Same thing happened to me but thanks to Blackhathacker111,message him on telegram his telegram username is https://t.me/Blackhathacker111


Explain __merge__ in api file

The __merge__ field shows up a number of times in https://openproblems.bio/documentation/create_task/design_api.html and I have no idea what it means.

Please make sure you're using the latest development version of the docs: https://main--openproblems.netlify.app/documentation/create_task/design_api.html. Agreed that the terminology should be explained when first shown in https://main--openproblems.netlify.app/documentation/create_task/design_api.html#step-3 .
Info about __merge__ can be found:

Add a method: https://main--openproblems.netlify.app/documentation/create_component/add_a_method.html#merge__
Add a control method: https://main--openproblems.netlify.app/documentation/create_component/add_a_control.html#merge__
Add a metric: https://main--openproblems.netlify.app/documentation/create_component/add_a_metric.html#merge__
In the FAQ: https://main--openproblems.netlify.app/documentation/more_information/faq#what-does-merge-do

It's probably better if this is explained in the concepts page instead ( https://main--openproblems.netlify.app/documentation/create_component/concepts.html ).

Gotcha. Those places seem to mostly say "don't worry about it" -- but for defining the API it seems like I actually need to define it?

Please make sure you're using the latest development version of the docs.

Oops (:

Is #267 a good solution to this issue?
Preview

Perfect, thank you!


Add option for showing a user list

Please make a non admin page for listing users (enabled via configuration perhaps)
We have small team (~10 devs) and we've set up gogs so all of our "main" repos are in a single organization however many users have one-off repos in their own name for smaller libraries they wrote being used in the main repos.
It would be nice to have a page (similar to /admin/users) showing a user list so that team members can easily find another team member's repos without having to know the user name.
Right now, the workaround is to create a team under the organization and make sure all devs are in that team.

There's the "Explore"-page in the header :) https://try.gogs.io/explore

That just shows the last 20 recently updated repos across all users.

Oh right, missed that...
If all users are in the Org you should be able to see them listed under "People" in the Organization-page.
Listing all users (even paginated) is very rarely useable, since for any setup larger than 20-30 people it'd be next to useless. Though a search-bar (like Github has) would be very useful :smile:

Erm, totally missed the part about not having to know their Username

If all users are in the Org you should be able to see them listed under "People" in the Organization-page.

Hmm, doesn't this help?

Yeah, that's what we're doing, it's a lost of mouse clicks to get there.. why not another section under "Explore" to show a user list if enabled in the app.ini?

Ultimately, I would like to add user search/list like the way GitHub does.

I think this is implemented already...


PDF of the BPX standard – binary file included in Git repository

The recent v0.4.1 release via https://github.com/FaradayInstitution/BPX/commit/e94f0a24075f255db59193f950c84df46cfed879 has introduced a PDF file in the Git history – a change that has the potential to cause (and causes) a few problems:

since Git stores the complete history of the file, this is bound to make the repository unnecessarily big when the git trees are updated on subsequent commits
poor diffs, since there are no diffs for PDFs, at least with version control systems like Git

I'd advise:

revising the history (git filter-branch should be able to do this) to remove that commit completely, and re-create the releases on GitHub/PyPI as necessary
either, switching to the inclusion of the PDF by uploading it as a release artifact for the v0.4.1 release (similar to the approach followed by https://github.com/pybamm-team/pybamm-data/releases/tag/v1.0.0 – not that there are binary files there, though) that users can download separately
or, if the PDF must be included in the source tree, Git LFS is a better option.
alternatively, if there is a Markdown or LaTeX edition of the standard that can be compiled into a PDF with some instructions for those who want to do it, switch to that

Since this change was performed very recently in the commit history at the time of writing, I'd advise going forward with a combination of 1), and then opting for either 2) or 3) or 4).
cc: @rtimms

I've checked and the size of the PDF is 196 KiB, which, while not much in comparison to what a 1 MP image could be, is still worth removing rather than having to do it later because of the compounding effect of VCS history, plus it sets a good precedent for repository hygiene.

Thanks, is this something you could assist with?

Sure! I can assist with this, but I think you would be able to handle it better because I have "write" permissions on this repository and not "maintain" permissions, so I can't force-push to the main branch. Since we don't have the v0.4.1 release on PyPI yet (https://pypi.org/project/bpx/#history), we just need to re-create the GitHub release with modified commit history (and then we can upload the PDF to the release).
The PyPI release was skipped in this workflow run: https://github.com/FaradayInstitution/BPX/actions/runs/12117521598/job/33780127640 because the workflow file is improperly configured; the upload is triggered by a manual input and not the GitHub release. Also, we should now switch to trusted publishing instead of using the API key. This would require administrator permissions for both GitHub and PyPI.

Fixed. New release here. Thanks for raising this!


tf.load_op_library bug

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): https://github.com/cogaplex-bts/bts
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): ubuntu 1604
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): pip
TensorFlow version (use command below):1.13.2
Python version: 3.7
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source): pip
CUDA/cuDNN version: 10.0
GPU model and memory: 1060, 6G

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with: 1. TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)" 2. TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
Describe the current behavior
in a process, use full path , twice load:
tf.load_op_library(os.path.join(dname, 'build/libcompute_depth.so'))
the second time, OP_LIST is empty,
but with relative path, twice  tf.load_op_library not empty
Describe the expected behavior
use full path, twice  tf.load_op_library, OP_LIST should not empty
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
I compile https://github.com/cogaplex-bts/bts, met this problem. But I think this is a general problem, reproduce: just in a python file, load the library twice, with full path and relative path
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
compute_depth_grad_module dict: {'__name__': 'a11935c229913616b7b14d8da52f01ac', '__doc__': 'Python wrappers around TensorFlow ops.\n\nThis file is MACHINE GENERATED! Do not edit.\n', ...  , 'LIB_HANDLE': <Swig Object of type 'TF_Library *' at 0x7ff4ad011f60>, 'OP_LIST': op {
  name: "ComputeDepth"
  input_arg {
    name: "input"
    type: DT_FLOAT
  }
  input_arg {
    name: "focal"
    type: DT_FLOAT
  }
  output_arg {
    name: "depth"
    type: DT_FLOAT
  }
  attr {
    name: "upratio"
    type: "int"
  }
}
op {
  name: "ComputeDepthGrad"
  input_arg {
    name: "depth_grad"
    type: DT_FLOAT
  }
  input_arg {
    name: "input"
    type: DT_FLOAT
  }
  input_arg {
    name: "focal"
    type: DT_FLOAT
  }
  output_arg {
    name: "grad_input"
    type: DT_FLOAT
  }
  output_arg {
    name: "grad_focal"
    type: DT_FLOAT
  }
}
}
{'__name__': 'a11935c229913616b7b14d8da52f01ac', '__doc__': 'Python wrappers around TensorFlow ops.\n\nThis file is MACHINE GENERATED! Do not edit.\n', '__package__': None,  ... , 'LIB_HANDLE': <Swig Object of type 'TF_Library *' at 0x7ff4ad011f60>, 'OP_LIST': op {
  name: "ComputeDepth"
  input_arg {
    name: "input"
    type: DT_FLOAT
  }
  input_arg {
    name: "focal"
    type: DT_FLOAT
  }
  output_arg {
    name: "depth"
    type: DT_FLOAT
  }
  attr {
    name: "upratio"
    type: "int"
  }
}
op {
  name: "ComputeDepthGrad"
  input_arg {
    name: "depth_grad"
    type: DT_FLOAT
  }
  input_arg {
    name: "input"
    type: DT_FLOAT
  }
  input_arg {
    name: "focal"
    type: DT_FLOAT
  }
  output_arg {
    name: "grad_input"
    type: DT_FLOAT
  }
  output_arg {
    name: "grad_focal"
    type: DT_FLOAT
  }
}
}

but with full name, second will print:
compute_depth_grad_module dict: {'__name__': '670cc8cfec5b6d3b8635f39bd583d769', '__doc__': 'Python wrappers around TensorFlow ops.\n\nThis file is MACHINE GENERATED! Do not edit.\n', '__package__': None, ... , 'LIB_HANDLE': <Swig Object of type 'TF_Library *' at 0x7f6b2a8f3e70>, 'OP_LIST': }

Hi There,
We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.
This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.


CSS Font declarations with # in URL busted incorrectly when rename is false

We are using cacheBust with the rename=false option to append the ? busting param to the URL.
I noticed a couple of small things when busting our concatenated css file that includes twitter bootstrap css. Not a big deal for us, but I just wanted to report it.
Twitter bootstrap defines the Glyphicons font-face using this format:
@font-face {
  font-family: 'Glyphicons Halflings';
  src: url('../font/bootstrap/glyphicons-halflings-regular.eot');
  src: url('../font/bootstrap/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),
       url('../font/bootstrap/glyphicons-halflings-regular.woff') format('woff'),
       url('../font/bootstrap/glyphicons-halflings-regular.ttf') format('truetype'),
       url('../font/bootstrap/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

After running through cacheBust, this is the result:
@font-face {
  font-family: 'Glyphicons Halflings';
  src: url('../font/bootstrap/glyphicons-halflings-regular.eot?7e862de50047b996');
  src: url('../font/bootstrap/glyphicons-halflings-regular.eot?7e862de50047b996?#iefix') format('embedded-opentype'),
       url('../font/bootstrap/glyphicons-halflings-regular.woff?6b1bb734715a399d') format('woff'),
       url('../font/bootstrap/glyphicons-halflings-regular.ttf?8d6dcd165c56a9c3') format('truetype'),
       url('../font/bootstrap/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

2 things:
1- the 2nd .eot reference with '#iefix' gets an extra ?
2- The .svg URL is skipped with a message of
Static asset "client\dist\assets\font\bootstrap\glyphicons-halflings-regular.svg#glyphicons_halflingsregular" skipped because it wasn't found, original reference=../font/bootstrap/glyphicons-halflings-regular.svg#glyphicons_halflingsregular

I think the result should be similar to:
@font-face {
  font-family: 'Glyphicons Halflings';
  src: url('../font/bootstrap/glyphicons-halflings-regular.eot?7e862de50047b996');
  src: url('../font/bootstrap/glyphicons-halflings-regular.eot?7e862de50047b996#iefix') format('embedded-opentype'),
       url('../font/bootstrap/glyphicons-halflings-regular.woff?6b1bb734715a399d') format('woff'),
       url('../font/bootstrap/glyphicons-halflings-regular.ttf?8d6dcd165c56a9c3') format('truetype'),
       url('../font/bootstrap/glyphicons-halflings-regular.svg?4b1bb734715c399a#glyphicons_halflingsregular') format('svg');
}

I think this issue came up previous but wasn't reported correctly, so thanks for giving me a full description of what is going on. I will add this as a test case and see if we can get it fixed :)

I've started to fix the issue in #127. It fixes the ../font/bootstrap/glyphicons-halflings-regular.svg?4b1bb734715c399a#glyphicons_halflingsregular issue but sadly doesn't cover the case with ?#iefix on the end

Final fix in #130. I don't particularly like the implementation, but will take a longer look at when I have some more time. Have created a reminder in #131

Thanks again for the quick response
I pulled in the latest 0.4.13 version. Looks like the .svg one is fixed. But the ?#iefix one is still being busted with two question marks as
url('../font/bootstrap/glyphicons-halflings-regular.eot?7e862de50047b9967e862de50047b996?#iefix')

One difference I see. The actual css has a long runon line. I had added newlines in my bug report for readability. But the actual unbusted source looks like this:
@font-face {
  font-family: 'Glyphicons Halflings';

  src: url('../fonts/glyphicons-halflings-regular.eot');
  src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

Not sure if that matters. But I thought I would point it out. I'm not worried about old versions of IE on this app anyway but someone out there might be.

I don't think the long run-on should make a difference (crosses fingers). I did add a test case for the ?#iefix but that was only when renaming the file (my bad). Will reopen this and fix that. Thanks

This looks to be fixed in v0.5.0


Support for more temperature units

Currently it looks like Numbat only supports Kelvin. It would be great if Celsius, Fahrenheit, and Rankine were also supported.
This might require a change to UnitKind, as Celsius and Farenheit don't “start at zero” the way most units do. And the unit declaration would be need to be updated to accommodate this with something like unit degF: Temperature = (K-273.15)*9/5 + 32. And then Numbat would have to also figure out the inverse function to go the other direction. (Listing everything out, I can perhaps guess why it hasn't been done already... sounds complicated.)

Please see #184 and #462


debug failure

/usr/local/go/bin/go build -o /private/var/folders/7q/h53xbfx93n97b2hpd363p64r0000gp/T/beego_study17go -gcflags "-N -l" /Users/zhanglida/go_path/src/beego_study/main.go
"/Users/zhanglida/Library/Application Support/IntelliJIdea14/Go/lib/dlv/mac/dlv" --listen=localhost:64419 --headless=true exec /private/var/folders/7q/h53xbfx93n97b2hpd363p64r0000gp/T/beego_study17go --
invalid spdelta  0x0 0x4030010 0x0 -1
invalid spdelta  0x0 0x402e8f3 0x0 -1
runtime: unexpected return pc for  called from 0x47878b000
fatal error: unknown caller pc
runtime stack:
runtime.throw(0x46ec6d0, 0x11)
/usr/local/go/src/runtime/panic.go:527 +0x90
runtime.gentraceback(0x40271d0, 0xc820028708, 0x0, 0xc820000180, 0x0, 0x0, 0x7fffffff, 0x4787748, 0x7fff5fbff6d0, 0x0, ...)
/usr/local/go/src/runtime/traceback.go:272 +0x11de
runtime.copystack(0xc820000180, 0x1000)
/usr/local/go/src/runtime/stack1.go:616 +0x1a7
runtime.newstack()
/usr/local/go/src/runtime/stack1.go:801 +0xb53
runtime.morestack()
/usr/local/go/src/runtime/asm_amd64.s:330 +0x7f
goroutine 1 [copystack, locked to thread]:
runtime.init.2()
/usr/local/go/src/runtime/mstats.go:148 fp=0xc820028710 sp=0xc820028708
runtime.init()
/usr/local/go/src/runtime/zversion.go:9 +0x36e fp=0xc820028770 sp=0xc820028710
invalid spdelta  0x0 0x402e8f3 0x0 -1
()
?:0 +0x402e8f3 fp=0xc820028777 sp=0xc820028770
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1696 +0x1

Please provide: go version, operating system, delve version and what you were trying to do. Also, is that the full stack trace?

I want to init mysql driver ,run success ,but failure when debug  in idea. Here is my code snippet.
package main
import (
"github.com/astaxie/beego"
_ "beego_study/routers"
_ "beego_study/initial"
)
func main() {
host := "localhost"
port := "8080"
beego.Run(host, port)
}
package initial
func init()  {
InitMysql()
}
package initial
import (
_"github.com/go-sql-driver/mysql"
"github.com/astaxie/beego/orm"
"fmt"
)
func InitMysql() {
orm.RegisterDataBase("default", "mysql", "xx:xx@/beego_study?charset=utf8", 1)
orm.Debug = true
orm.RunSyncdb("default", false, true)
}

@zld406504302 as @aarzilli mentioned, is that the full stack trace? I don't see any mention of delve in that trace. Are you able to run the program fine without delve? Also could you provide the version of OSX as well, thanks.

Sorry, this should not be bug delve, this exception only after I import github.com/go-sql-driver/mysql, with delve debugging will throw this exception.


💡 Feature Request: Type extend.link

Hello, it would be nice if the Link could be passed an optional parameter that is the "type", to be able to do, for example:
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
Greetings!

Hey @Marius-Romanus, this should already be possible. Just do the following:
<SEO
      extend={{ link: [{ rel: "icon", href: "/favicon.ico", type:"image/svg+xml" }] }}
/>

It works perfectly, thanks!


How to configure Sharp?

I want to optimize images. So I need to configure globally quality for each format separately and enable mozjpeg for JPG images.
Is it possible?

Yes, i need the same too, atleast so we can configure the "effort" parameter.


🔍 Canonical URL

Specify canonical URL on every page as https://buildkite.com/docs/*/**, without www.
Also refactored url_helper to use config when referring to pages under the Buildkite domain.

Canonical URL isn't rendered on first page load, possibly due to caching? @dannymidnight I don't how caching has been set up and will need some help here, thanks 🙏


OCPBUGS-1973: pass CPU limits for Docker strategy builds

Teach pkg/build/builder.GetCGroupLimits() to read cgroups v1 "cpu.shares", "cpu.cfs_quota_us", and "cpu.cfs_period_us" files, and to read more or less equivalent values from v2 "cpu.max" and "cpu.weight" files.
When reading v2 values, scale the "cpu.weight" from the v2 [1..10000] weight range to the v1 [2..0x40000] share range, and scale the "cpu.max" values from the v2 [0..100000] range to the v1 [0..1000000] ranges.
Pick up @coreydaley's changes from #340 to set CPU limits when using the Docker strategy.

/test e2e-aws-ovn-proxy

/retest

/test e2e-aws-ovn-proxy

/test e2e-aws-ovn-proxy

/hold
while I look for tests that need to be updated

I'd want to extend the s2i-with-quota tests to check for CPU quota settings (for the sake of cgroups v2, they'd have to have a tolerance for rounding errors caused by using integer math, or we'll have to use floating point numbers for some of the scaling we do to convert the v2 values we read from the kernel into values that are suitable for setting in a runtime config, since the data structure expects to include v1 values, which get converted back into v2 values when the crun/runc we invoke notice that the host is using cgroups v2), and add tests that correspond to all of the s2i-with-quota tests, but using the docker strategy.

@nalind That sounds like a good plan to me. Are you up to adding the tests? We can test the tests (weird right?) against this pull request using cluster bot.

@coreydaley https://github.com/openshift/origin/pull/27891 includes the tests I think we want for this one.

/test e2e-aws-ovn-builds-techpreview

/test e2e-aws-ovn-proxy

/retest

@coreydaley I think we're about ready to merge this - the last set of changes to https://github.com/openshift/origin/pull/27891 made the tests it touches pass (the run as a whole did not, YMMV), and I've started a fresh run today to get another sample.

/hold cancel
/approve
/lgtm

/skip

/retest-required


Unable to use UpResNet10 model on GPU

My system is i7-4700MQ CPU and a GT 740M GPU and using waifu2x-caffe version <IP_ADDRESS> and have the CUDA option selected in settings.
When I use any RGB models, I can see in Win10 Task Manager that the GPU is being used; holding usage at around 100 percent (just as expected) with some usage increase in CPU.
When UpResNet10 model is selected, it only reports that the CPU is used and the GPU is showing no signs of usage besides an increase in GPU memory.

I would guess that the GT 740M just can't compute the UpResNet10 model.


enable mipmapping in texture parameters

it sets mipmap filtering mode to GL_LINEAR_MIPMAP_NEAREST in default texparams. It checks whether texture is compressed or not.

@NolaDonato please review. not sure detecting of compressed textures is done efficiently. Also for asset loader from assimp I updated loadTexture().

Breaks gvr-3dcursor and probably others

i have another different fix, should I open another or force update this one?

Open another

From: roshanch<EMAIL_ADDRESS>Sent: Friday, October 13, 2017 3:44 PM
To: Samsung/GearVRf
Cc: Subscribed
Subject: Re: [Samsung/GearVRf] enable mipmapping in texture parameters (#1533)
i have another different fix, should I open another or force update this one?

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/Samsung/GearVRf/pull/1533#issuecomment-336584408, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUYUIhNrL2-k348SQYURe4w_ZPJ5JftGks5sr-e-gaJpZM4P31Pw.

can close this one.


[SUGGESTION] Publish C2ME on mod distribution sites.

Should be self-explanatory. Would be nice if it was published on mod distribution sites like CurseForge and/or Modrinth.

We will do this once we make a stable release for C2ME

Um, https://modrinth.com/mod/c2me-fabric

Ishland from #announcement:

@everyone
C2ME is now available on Modrinth and CurseForge
Modrinth:
https://modrinth.com/mod/c2me-fabric
CurseForge: https://www.curseforge.com/minecraft/mc-mods/c2me-fabric

I think we closd this issue now


Source Code for Decode Ways in C++

Related Issue
Solved issue number: #491
Describe the changes you've made
Adding Source Code for Decode Ways in C++
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Language used for coding
C++
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have documented the code.
[x] New and existing unit tests pass locally with my changes.

Please review my code ;-)


[coati] add vf_coef argument for PPOTrainer

Describe the feature
Describe the feature
Adding vf_coef as shown in original PPO paper:
value_loss = vf_coef * 0.5 *(value - pred_value) ** 2

solved #3318


Replace credential icon with infrastructure icon on dashboard card

This makes it coherent with the table view, showing 'infrastructure' column

We are showing the credential name here. Should we rename the infrastructure column credential instead to be coherent ?


Use NilLiteralExpr in BuildableCollectionNodes

A small patch that uses NilLiteralExpr inBuildableCollectionNodes instead of generating nil as an identifier.
One minor thing that we might want to figure out is why nil tokens generate a trailing space unlike identifier tokens.

@swift-ci please test

One minor thing that we might want to figure out is why nil tokens generate a trailing space unlike identifier tokens.

AFAICT that’s because keywords require a trailing space by default. We might want to revisit that for literals.
https://github.com/apple/swift/blob/df2d938604ca19427aeed52d741674013403e645/utils/gyb_syntax_support/Token.py#L44

@swift-ci please test


fix  InferFiltersRule bug: a self inner join on a view, which contains where clause, will cause mis-inference.

Proposed changes
How to produce the bug:
suppose we have table T, and a view V: select * from T where T.id>0
When we execute sql: select * from V as v1 join V as v2 on v1.id=v2.id where v1.id in (1,2);
by InferFilterRule, { v1.id=v2.id , v1.id in (1,2) } =>  v2.id in (1,2)
and then we push v1.id in (1,2)  and v2.id in (1,2) down to v1 and v2, respectively.
In re-analyze phase, we expand v1 with infered condition, we have sql: select * from T where T.id>0 and v1.id in (1,2)
The bug is we cannot resolve v1.id in context of the expanded sql.
The same resolve error occurs when re-analyze v2.
How to resolve
if we resolve "v1.id" failed, and it is in side a inline_view, resolve "id" instead of "v1.id".
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

typo in title: inferrence -> inference

what for update, do not merge~


Support GHC 8.8

Pardon an automatically-posted pull request; this is a part of Operation Vanguard. Note that this does not guarantee that tests and benchmarks are buildable.

Thank you! :slightly_smiling_face:


Permission tree issues

[ ] Only changed entries will send in a payload, with isGranted value true/false
[ ] If parent get selected, any of the child won't get selected.
[ ] If any of the child gets selected first time, then his parent get selected automatically.
[ ] If last child gets deselected, then none of the parent get selected.
[ ] If parent get deselected, then all of the selected children get deselected.
[ ] Intermediate state only applies to the "Select All" checkbox.

Child Check –
 If parent is not selected initially -
 •	If child is selected then its parent gets selected.
 •	Both child which is selected and parent of it gets emitted.
 If parent is selected initially –
 •	Only child gets selected.
 •	Only selected child is emitted
 If all children are deselected
 •	Only deselected child/children gets emitted
 •	Parent does not get emitted.

Parent Check –
 If parent is deselected –
 •	If parent is checked then only parent gets selected
 •	Only parent gets emitted
 If parent is selected and no child is selected–
 •	If parent is checked then parent gets deselected
 •	Only parent gets emitted
 If parent is selected and all/some/one children are selected.
 •	All the children that are selected gets deselect.
 •	All the children that are deselected gets emitted along with parent.

Main Parent is Checked -
 Main parent is deselected initially -
 •	If main parent is selected all data gets selected for its scope
 •	All the data selected gets emitted
 Main parent is intermediate for both initially and after checked
 •	All checkboxes that are unchecked gets checked.
 •	The latest checked values get emitted.

Select All –
 If select all is deselected/selected
 •	If select all is selected/deselected then all checkboxes gets selected/deselected
 •	All the all data gets emitted
 If select all is Intermediate
 •	If the select all is checked i.e it gets selected and all the data gets selected.
 •	The data which is previously deselected and latest selected gets emitted.


[Question] cannot import name 'id_tensor_storage' from 'transformers.pytorch_utils

Required prerequisites

[X] I have read the documentation https://github.com/baichuan-inc/baichuan-7B/blob/HEAD/README.md.
[X] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
[X] Consider asking first in a Discussion.

Questions
运行
model = AutoModelForCausalLM.from_pretrained("baichuan-inc/baichuan-7B", device_map="auto", trust_remote_code=True)

出现报错：
cannot import name 'id_tensor_storage' from 'transformers.pytorch_utils' (/home/pai/lib/python3.9/site-packages/transformers/pytorch_utils.py)

transformers==4.29.1
请问是什么原因呢，应该不是transformers的版本低导致的
Checklist

[x] I have provided all relevant and necessary information above.
[X] I have chosen a suitable title for this issue.

pip install peft=0.5


@FormParam doesn't work

I attempted to use an earlier version of http-remoting (0.14) with the @FormParam annotation on my JaxRs client. The server never received the parameter, so could we verify/add support for @FormParam in http-remoting 1.0?
Thanks!

@j-baker you had some experiments with form params; what was the conclusion there?

Form params with http-remoting are basically a no-go because the encoder doesn't get the media type or the annotations to act on and so it's difficult to determine (given a map or whatever) how you're meant to encode it.
We should consider picking up @chrisalice's annotation based contract (minor variation in fact) which would enable this kind of addition in a pluggable fashion (grep for it in the product she worked on for ages internally).
Would let you annotate individual methods with
@FeignEncoder(FormParamEncoder.class)
James
Sent from my iPhone
On Sep 29, 2016, at 19:32, Robert Fink <notifications<EMAIL_ADDRESS>wrote:
@j-bakerhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_j-2Dbaker&d=DQMGaQ&c=izlc9mHr637UR4lpLEZLFFS3Vn2UXBrZ4tFb6oOnmz8&r=mzXajGbPp7kc5a_CRzXttisFRf8mEsV3gcMrXd3MRoc&m=mWGXbC_WERE__hOXR_n2ki4IPTM4A6g_eAzElU1LLuk&s=ElrMzLo4QkLO_MY035T_xkG8ohl9Io31KHSz4pYOS88&e= you had some experiments with form params; what was the conclusion there?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_palantir_http-2Dremoting_issues_240-23issuecomment-2D250552093&d=DQMGaQ&c=izlc9mHr637UR4lpLEZLFFS3Vn2UXBrZ4tFb6oOnmz8&r=mzXajGbPp7kc5a_CRzXttisFRf8mEsV3gcMrXd3MRoc&m=mWGXbC_WERE__hOXR_n2ki4IPTM4A6g_eAzElU1LLuk&s=SX5n8i7K2myFalBY5NCIlam3VqsG1BwWe2dHuEdS1zc&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AACmJRNRODmt-5FeB2ZdfpH-2DvwQkFEt-5F-2DMks5qvAPygaJpZM4KKUKj&d=DQMGaQ&c=izlc9mHr637UR4lpLEZLFFS3Vn2UXBrZ4tFb6oOnmz8&r=mzXajGbPp7kc5a_CRzXttisFRf8mEsV3gcMrXd3MRoc&m=mWGXbC_WERE__hOXR_n2ki4IPTM4A6g_eAzElU1LLuk&s=HSd8kYHgfYBqMpG9FUc50t2pb2OHP6noMWyZ86q6zas&e=.

Oh wait, it gets the request template (if you have the header at that point?) so you might be able to do it (just about) with another encoder - but yeah - not something remoting does well atm.
Sent from my iPhone
On Sep 29, 2016, at 19:51, James Baker <jbaker<EMAIL_ADDRESS>wrote:
Form params with http-remoting are basically a no-go because the encoder doesn't get the media type or the annotations to act on and so it's difficult to determine (given a map or whatever) how you're meant to encode it.
We should consider picking up @chrisalice's annotation based contract (minor variation in fact) which would enable this kind of addition in a pluggable fashion (grep for it in the product she worked on for ages internally).
Would let you annotate individual methods with
@FeignEncoder(FormParamEncoder.class)
James
Sent from my iPhone
On Sep 29, 2016, at 19:32, Robert Fink <notifications<EMAIL_ADDRESS>wrote:
@j-bakerhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_j-2Dbaker&d=DQMGaQ&c=izlc9mHr637UR4lpLEZLFFS3Vn2UXBrZ4tFb6oOnmz8&r=mzXajGbPp7kc5a_CRzXttisFRf8mEsV3gcMrXd3MRoc&m=mWGXbC_WERE__hOXR_n2ki4IPTM4A6g_eAzElU1LLuk&s=ElrMzLo4QkLO_MY035T_xkG8ohl9Io31KHSz4pYOS88&e= you had some experiments with form params; what was the conclusion there?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_palantir_http-2Dremoting_issues_240-23issuecomment-2D250552093&d=DQMGaQ&c=izlc9mHr637UR4lpLEZLFFS3Vn2UXBrZ4tFb6oOnmz8&r=mzXajGbPp7kc5a_CRzXttisFRf8mEsV3gcMrXd3MRoc&m=mWGXbC_WERE__hOXR_n2ki4IPTM4A6g_eAzElU1LLuk&s=SX5n8i7K2myFalBY5NCIlam3VqsG1BwWe2dHuEdS1zc&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AACmJRNRODmt-5FeB2ZdfpH-2DvwQkFEt-5F-2DMks5qvAPygaJpZM4KKUKj&d=DQMGaQ&c=izlc9mHr637UR4lpLEZLFFS3Vn2UXBrZ4tFb6oOnmz8&r=mzXajGbPp7kc5a_CRzXttisFRf8mEsV3gcMrXd3MRoc&m=mWGXbC_WERE__hOXR_n2ki4IPTM4A6g_eAzElU1LLuk&s=HSd8kYHgfYBqMpG9FUc50t2pb2OHP6noMWyZ86q6zas&e=.

As a stopgap, I have FormParamEncoder object wrap it with this encoder to only use it when the target accepts a MediaType.APPLICATION_FORM_URLENCODED:
`public class SometimesFormParamEncoder implements Encoder {
private final Encoder delegate;
private final FormParamEncoder formParamEncoder = new FormParamEncoder();
public SometimesFormParamEncoder(Encoder delegate) {
    this.delegate = delegate;
}

@Override
public void encode(Object object, Type bodyType, RequestTemplate template) throws EncodeException {
    Collection<String> contentTypes = template.headers().get(HttpHeaders.CONTENT_TYPE);
    String contentType = contentTypes != null ? Iterables.getFirst(contentTypes, null) : null;
    if (MediaType.APPLICATION_FORM_URLENCODED.equals(contentType)) {
        formParamEncoder.encode(object, bodyType, template);
    } else {
        delegate.encode(object, bodyType, template);
    }
}

}
`

It may make more sense to use the Retrofit http-remoting adapter, since Retrofit supports form params and we're expecting Retrofit contracts to use the default annotations rather than JaxRs annotations.

We've made Retrofit and JaxRs implementations equivalent in terms of capability, so as a formal recommendation here: if you need form params, use Retrofit.


Multitouch hold not firing on Android Chrome mobile

I tried using the following simple code as a test to see why multitouch hold was not firing events on Chrome mobile (running on Android):
Hammer(document.querySelector("#dragbox"), {preventDefault: true, transform:false}).on("hold", function(evt){
	document.querySelector("#debug").innerHTML += "H: ";
	document.querySelector("#debug").innerHTML += evt.gesture.touches.length + "...";
});

This behaved as expected on desktop Chrome. On mobile, the code works fine when the hold has 1 touch, but does nothing when there are multiple touches. In addition, it works as expected when the event is "touch" instead of "hold."

Closing as v1


fix rendering jobs, validate job and milestone dates

IEN-269 - fix rendering jobs
IEN-271, IEN-272 - validate milestone start date and job post date

what's your take on maybe using the 'min' prop on the Field component, that way the calendar will just block out invalid dates, removing the need for an error message

I wanted to use min and max attributes but I couldn't find a way to make Field component accept min and max props.


AO-14627: HTTP/HTTPS proxy

See https://swicloud.atlassian.net/browse/AO-14627

Codecov Report

Merging #130 into master will decrease coverage by 1.31%.
The diff coverage is 7.14%.

@@            Coverage Diff             @@
##           master     #130      +/-   ##
==========================================
- Coverage   82.26%   80.95%   -1.32%
==========================================
  Files          36       36
  Lines        4512     4595      +83
==========================================
+ Hits         3712     3720       +8
- Misses        681      755      +74
- Partials      119      120       +1

Impacted Files
Coverage Δ

v1/ao/internal/config/config.go
85.28% <0%> (-1.91%)
:arrow_down:

v1/ao/internal/reporter/reporter_grpc.go
62.17% <7.89%> (-6.37%)
:arrow_down:

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 0db2ec0...fa1a183. Read the comment docs.

LGTM!
Also @jiwen624 , do u know what happen to this https://github.com/grpc/grpc-go/pull/1447 ? It looks largely similar to what you are doing.
I believe you have also filed a question on grpc-go regarding proxy support ? (or i could be wrong, my memory is bad), if so, we can add the link to the issue here for reference? :)

LGTM!
Also @jiwen624 , do u know what happen to this grpc/grpc-go#1447 ? It looks largely similar to what you are doing.
I believe you have also filed a question on grpc-go regarding proxy support ? (or i could be wrong, my memory is bad), if so, can we add the link to the issue here for reference? :)

I saw that issue before implementing this one. It seems to have been closed as not finished.
I haven't filed an issue for it yet but maybe I can ping them and see what do they think.


Feat/optional settings server

Sorry, this was accidental (again). I will never get used to the default pull option being to master.


subsvc tech test 2

Document Details

Service: service
Sub-service: subservice
Product: product
Technology: technology

#backlog

@lamebrain - This issue has been in the backlog for 80 days. In 10 days, it will be automatically closed.
For more information about the process by which we handle documentation feedback, see "How we respond to Azure technical documentation feedback" in our public contributor guide.

The feedback you logged for subsvc tech test 2 has been in our backlog for 90 days. While we try to respond individually to as many feedback items as possible, we are not able to respond to all of them. Since this item has been in the backlog for 90 days, we’re closing it.
For more information about the process by which we handle documentation feedback, see "How we respond to Azure technical documentation feedback" in our public contributor guide.


Error calling with_langfuse

Description
Trying the demo with langfuse and seeing the following error
TypeError: with_langfuse() missing 1 required positional argument: 'fn'

My code looks like this
@with_langfuse()
@anthropic.call("claude-3-5-sonnet@20240620")
@prompt_template(prompt.prompt)
def recommend_book(genre: str):
    ...

Python, Mirascope & OS Versions, related packages (not required)
Python 3.12.4
Mirascope 1.0.0b6

This is due to an update with the decorator. This will be fixed in the release (coming now!)


What does agn_hm stand for?

📚 Documentation Issue
This issue category is for problems about existing documentation, not for asking how-to questions.
Hello. I looked through the repository but could not find out what agn_hm stands for. I also looked through the CenterNet paper but could not find what this stands for.
The layer definition is in CenterNetHead when self.with_agn_hm = True and it is usually just one layer of Conv2d with stride = 1.
What is the purpose of agn_hm?
When do we need it? and when do we not need it?
Thanks in advance.

Hi, it seems that 'agn_hm' stands for "adaptive Gaussian heatmap". It is a type of heatmap used in object detection tasks to indicate the presence and location of an object in an image.

Thank you so  much for the explanation @xdjiangkai .

@xdjiangkai


Adding rm_description to documentation index for distro

Could you add a LICENSE file? I see that there is one in the rm_control repo, which presumably is what this package is refactored from. That file will work.

I follow the steps on https://wiki.ros.org/cn/rosdistro/Tutorials/Indexing Your ROS Repository for Documentation Generation and it doesn't mention anything about LICENSE file.
I need to separate it from rm_control. What should i do? Should i delete the rm_description in rm_control  repo?
@mabelzhang

Oh I just meant, you can use the same LICENSE file for rm_description.
The contributing guide has more information about the LICENSE file: https://github.com/ros/rosdistro/blob/master/CONTRIBUTING.md

Oh I just meant, you can use the same LICENSE file for rm_description. The contributing guide has more information about the LICENSE file: https://github.com/ros/rosdistro/blob/master/CONTRIBUTING.md

Do u mean if i add the same LICENSE file to the rm_description and my pull-request will be merged?

@mabelzhang


CURL error

Fatal error: Uncaught GuzzleHttp\Exception\ConnectException: cURL error 28: Operation timed out after 1000 milliseconds with 0 out of 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) in D:\xampp\htdocs\ethsmartphp\php-ethereum-smart-contract-master\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:200 Stack trace: #0 D:\xampp\htdocs\ethsmartphp\php-ethereum-smart-contract-master\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(155): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array) #1 D:\xampp\htdocs\ethsmartphp\php-ethereum-smart-contract-master\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(105): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory)) #2 D:\xampp\htdocs\ethsmartphp\php-ethereum-smart-contract-master\vendor\guzzlehttp\guzzle\src\Handler\CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handl in D:\xampp\htdocs\ethsmartphp\php-ethereum-smart-contract-master\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 200
Can anyone tell me what this error is about?
The Instance Im using
$instance = EthereumSmartContract::createByHost(
'https://data-seed-prebsc-1-s1.binance.org:8545',
'97', // mainnet
'CONTRACT ADRS', // contract address
file_get_contents('mycoin.json') // abi string
);

try putting a bigger curl timeout, i.e. 5 seconds.

@romziki How can I set it?
Please send me a sample code.
Thank you.

@jessicalily @JinZhuXing  The EthereumSmartContract::createByHost() function has a 5th parameter to set the timeout.
But the problem with the timeout may be due to problems on the node side, if setting the timeout does not help, you need to try using another node


Implement cstor volume replica scaleup scenario.

This scenario  has been added to the piplines.
AWS: https://github.com/mayadata-io/oep-e2e-aws/pull/51
KONVOY: https://github.com/mayadata-io/oep-e2e-konvoy/pull/15
RANCHER: https://github.com/mayadata-io/oep-e2e-rancher/pull/48


fix: Refactor select component to use array of objects for options

Addressing the issue of non-sortable select options.
This works in cases where the options are dynamic:

initital order of ->options()->searchable()
->options()->getSearchResultsUsing()
->relationship()->searchable().

Limitations are results that are sorted client side, for example ->options()->searchable() when searching, as these results are ordered via FuseJS.
Works for initial order
Forms\Components\Select::make('test')
    ->searchable()
    ->options([
        3 => 'First entry',
        1 => 'Second entry',
        2 => 'Third entry',
    ]),

Works for initial order and search
Forms\Components\Select::make('blog_author_id')
    ->relationship('author', 'name', fn ($query) => $query->orderByDesc('id'))
    ->getOptionLabelFromRecordUsing(fn ($record) => $record->name . ' (' . $record->id . ')')
    ->searchable()

Fixes #3268

I am assuming this would be needed for MultiSelect as well?

I am assuming this would be needed for MultiSelect as well?

MultiSelect instanceof Select === true

@pxlrbt, what's required for this PR to move forward? 😊

@zepfietje This is only waiting on a thorough review and some feedback from @danharrin. I only set it on "draft" so it's not merged "too quickly" 😅

@pxlrbt could you resolve merge conflicts?

I've just fixed the merge conflicts @pxlrbt, could you double check it all still works as intended before I give it a review?

Sorry, didn't have the time this week and will be on vacation the next two weeks.


Exception caught by image resource service The following assertion was thrown resolving an image codec:

Guys Please help me out when i pick a image from the emulator i get this error too i tried it on my own phone to redmi note 8 and still gave me the same error please help
════════ Exception caught by image resource service ════════════════════════════
The following assertion was thrown resolving an image codec:
Unable to load asset: /data/user/0/com.Freedom.new_chat/cache/file_picker/-vimzzn.jpg
When the exception was thrown, this was the stack
#0      PlatformAssetBundle.load
package:flutter/…/services/asset_bundle.dart:228

#1      AssetBundleImageProvider._loadAsync
package:flutter/…/painting/image_provider.dart:675

Anyone can help me i can provide the codes i would provide them now but i dont know which one have the error and thanks
now i get this one too
Image provider: AssetImage(bundle: null, name: "/data/user/0/com.Freedom.new_chat/cache/file_picker/Snapchat-1984491257.jpg")

Image key: AssetBundleImageKey(bundle: PlatformAssetBundle#534c4(), name: "/data/user/0/com.Freedom.new_chat/cache/file_picker/Snapchat-1984491257.jpg", scale: 1.0)

You are loading an image as an asset, but the given image is probably not an asset in your project.
Try loading the image from the file instead.
import 'dart:io';

final filePath = "/data/user/0/com.Freedom.new_chat/cache/file_picker/Snapchat-1984491257.jpg";

final imageWidget = Image.file(File(filePath));

You are loading an image as an asset, but the given image is probably not an asset in your project. Try loading the image from the file instead.
import 'dart:io';

final filePath = "/data/user/0/com.Freedom.new_chat/cache/file_picker/Snapchat-1984491257.jpg";

final imageWidget = Image.file(File(filePath));

thanks bro

Closing this as resolved based on solution provided. Also it didn't seem to be a bug in framework but due to implementation. Such issues should be asked in support channels like StackOverflow.


tpl: Added configuration options for 'TableOfContents' generation

This commit adds the following options to control the outcome of the 'TableOfContents' rendering:

writeLevels: Add 'data-level' attributes to '<ul/ol>' elements which allows better control for the styling.
wrapperElement: Allows to use alternative elements rather than ''
wrapperId: Allows to use an alternative ID rather than 'TableOfContents'
wrapperClass: Allows to attach a CSS class to the wrapperElement

The default behavior remains unchanged, so if none of these attributes is being used nothing will be changed.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

FYI: I signed the CLA agreement multiple times and the CLAssistant showed be the window that this succeeded. However this badge doesn't seem to change so I'm stuck here.

The CLA issue is that your commits and your PR are made with two different accounts.  Signing the CLA with the commit user should fix it.

@moorereason: Thanks for this hint (didn't know that)


Don't eagerly simplify reducible generic union index types

Fixes #45530
The issue wasn't that the mapped types were losing information, per sey, in fact, they were responsible for rehydrating missing information in some instances - instead, the issue was that we were too eagerly reducing the keyof result of unions over types which might have been reduced upon instantiation, like ({v: T} & {v: "a", a: string}) | ({v: T} & {v: "b", b: string}). Before this change, keyof that was just "v", while now it will remain the generic keyof (({v: T} & {v: "a", a: string}) | ({v: T} & {v: "b", b: string})), since instantiation can make it simplify to either keyof ({v: "a"} & {v: "a", a: string}) or keyof ({v: "b"} & {v: "b", b: string}), which have keys "v" | "a" or "v" | "b", respectively.  (Which in turn trickles down to assignability behavior of mapped types over those kinds of keyof types)

@typescript-bot perf test this
@typescript-bot user test this inline
@typescript-bot run dt

All the extended CI results and perf look fine. Reviews please~

@weswigham Is this ready? Does it need another review? I just noticed it when going through the Needs Merge column of the PR backlog.


Fixing vaeskf2/vaeskr2  imm ranges to match NIST spec

Signed-off-by: Nicolas Brunie<EMAIL_ADDRESS>In AES NITS standard, it seems key schedule round 0 and 1 corresponds to the two 128-bit chunk of the original AES-256 key. Key expansion should start at round 2 (for a total of 15 128-bit round keys, 2 original and 13 generated).
Similarly for the revser key schedule, it looks like round[13].ik_sch and round[14].ik_sch  corresponds to the initial 256-bit key.
(Issue reported by @melharhar.)
from https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.197.pdf section 5.3

This PR is made void by the recent refactoring of AES key schedule into a single vaeskf instruction.


Wrong icon name

I have "network-workgroup" in the icons.toml file and use it in code:
gtk::Image {
    set_icon_name: Some(icon_names::NETWORK_WORKGROUP),
},

the generated file icon_names.rs contains these lines:
/// Icon name of the icon `network-workgroup`, found at `"icons/icon-development-kit/network-workgroup-symbolic.svg"`.
pub const NETWORK_WORKGROUP: &str = "network-workgroup";

the problem is the icon shown is not network-workgroup-symbolic but simple network-workgroup with colors.
If I set_icon_name: Some("network-workgroup-symbolic") I get a symbolic icon as expected.

the problem is the icon shown is not network-workgroup-symbolic but simple network-workgroup with colors.

What do you mean by this, what colors if the icon itself is monochrome?

network-workgroup is color, the network-workgroup-symbolic is monochrome.


Recursive includes are not processed

Summary:
Currently, includes of more than 1 level deep are ignored. This seems impractical.
Description:
Currently, you can include one Stan file a.stan from another b.stan. But we cannot have a.stan includes b.stan includes c.stan. The include of c.stan in b.stan will then be silently ignored by the current parser. At the very least, an error should be thrown if that is the desired behaviour.
Reproducible Steps:
Write file a.stan with content
model {
#include b.stan
}

b.stan with content
int y;
#include c.stan

c.stanwith content
int y;
```.

#### Current Output:
This parses fine.

#### Expected Output:
I would expect an error saying that the variable y is declared twice.

#### Additional Information:
Provide any additional information here.

#### Current Version:
v2.18.0

Stanc3 fixes this by allowing arbitrary hierarchies of includes. It throws an error if a cyclical include structure is detected (e.g. a.stan includes b.stan includes a.stan again).

Fixed in stanc3.


Adds configuration option to not require value attributes.

What this does:
Provides a Engine configuration option to require (or not) the value filed for complex vdtp types.
Why?
Some providers are sending NULL values when syncing lists such as phone numbers. Although I agree with the Readme statement:

there's no point being sent (say) an e-mail section which has entries that don't provide the e-mail address!

Unfortunately, if an identity provider is sending NULL rather than omitting the result from a list this provides a way to work around that. We should be using Model validations anyway.

I'll have a think about this one - maybe a cleaner fix is to allow those spec-optional things to be optional in the schema, and rely on the gem integrator's model validations underneath as suggested. Otherwise it makes all VDTP types optional which seems a bit broad.

Yeah, OK, so fair enough. I see from your description that you're concerned about more than one possible type receiving null in the optional field, so I'll merge this and add a bit of documentation around it too.
This will be in v2.1.0 hopefully released later today (NZ time).

Available now in v2.1 (https://rubygems.org/gems/scimitar).


access token for publishing to marketplace expired

Generate and replace the marketplace access token.
I have described the procedure in the wiki:
https://github.com/hm-riscv/vscode-riscv-venus/wiki/CI-CD#releasing-the-extension-to-marketplace-fails

When generating the access token you have to specify it for ALL ORGANIZATIONS.
This was a pitfall with this issue.
For the future, i documented this here:
https://github.com/hm-riscv/vscode-riscv-venus/wiki/CI-CD


Keyboard Component doesn't work on S10e

React Native version: 0.59 (expo 35.0.0)

Steps To Reproduce

use {Keyboard.addlistner} on samsung S10e (SM-G970N)
It works well on other devices.

Describe what you expected to happen:

Snack, code example, screenshot, or link to a repository:
componentDidMount() {         this.keyboardDidShowListener = Keyboard.addListener('keyboardDidShow', this._keyboardDidShow.bind(this));         this.keyboardDidHideListener = Keyboard.addListener('keyboardDidHide', this._keyboardDidHide.bind(this)); }

it doesn't work on samsung galaxy s6 too.


Qwen2 ppo

I use qwen2 model for both actor and reward, but I get the following exception at action_log_probs = self.actor(sequences, num_actions, attention_mask) in experience = self.experience_maker.make_experience(rand_prompts, **self.generate_kwargs)
ValueError: You are attempting to perform batched generation with padding_side='right' this may lead to unexpected behaviour for Flash Attention version of Qwen2. Make sure to  call tokenizer.padding_side  = 'left' before tokenizing the input.
why this exception raise and how to solve it~?

just disable flash_attn


[SPARK-27216][CORE] Upgrade RoaringBitmap to 0.7.45 to fix Kryo unsafe ser/dser issue

What changes were proposed in this pull request?
HighlyCompressedMapStatus uses RoaringBitmap to record the empty blocks. But RoaringBitmap couldn't be ser/deser with unsafe KryoSerializer.
It's a bug of RoaringBitmap-0.5.11 and fixed in latest version.
This is an update of #24157
How was this patch tested?
Add a UT

@srowen @squito Could you help to review this PR? I can not reopen #24157 since a force pushing. Thanks for your time.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Test build #4675 has started for PR 24264 at commit 076411b.

Test build #4675 has finished for PR 24264 at commit 076411b.

This patch fails build dependency tests.
This patch merges cleanly.
This patch adds no public classes.

Rename for a better searching or tracing.

Run ./dev/test-dependencies.sh --replace-manifest

Uh... @attilapiros Is it right now?

@LantaoJin No.

revert the deletion of the original UnsafeKryoSerializerSuite.scala
remove these lines:
https://github.com/apache/spark/blob/f0f62af4c8dddf6403d96d518a4cd3f5c557f3c1/core/src/test/scala/org/apache/spark/serializer/KryoSerializerSuite.scala#L531-L543

Finally via sbt test both UnsafeKryoSerializerSuite and KryoSerializerSuite and you should see your RoaringBitmap test executed twice, you can do that like this:
$ ./build/sbt
> project core
> testOnly *.UnsafeKryoSerializerSuite
> testOnly *.KryoSerializerSuite

You can revert the deletion by:
git checkout f799e34962c24bb55662e7e570195d8f5aa5799a core/src/test/scala/org/apache/spark/serializer/UnsafeKryoSerializerSuite.scala

But please double check the commit ID (my laptop used for developing Spark runs an OS update and this is my other machine...).

Finally via sbt test both UnsafeKryoSerializerSuite and KryoSerializerSuite and you should see your RoaringBitmap test executed twice, you can do that like this:
$ ./build/sbt
> project core
> testOnly *.UnsafeKryoSerializerSuite
> testOnly *.KryoSerializerSuite

Everything looks fine from my side.
> testOnly *.UnsafeKryoSerializerSuite
[info] UnsafeKryoSerializerSuite:
[info] - test RoaringBitmap ser/dser with Kryo unsafe enabled (264 milliseconds)
[info] ScalaTest
[info] Run completed in 4 seconds, 430 milliseconds.
[info] Total number of tests run: 1
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 1, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.
[info] Passed: Total 1, Failed 0, Errors 0, Passed 1
[success] Total time: 97 s, completed Apr 2, 2019 5:32:05 PM
> testOnly *.KryoSerializerSuite
[warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to see the list
[info] Packaging /Users/lajin/git/my/spark/core/target/scala-2.12/spark-core_2.12-3.0.0-SNAPSHOT.jar ...
[info] Done packaging.
[info] KryoSerializerSuite:
[info] - SPARK-7392 configuration limits (22 milliseconds)
....
[info] - test RoaringBitmap ser/dser with Kryo unsafe disabled (6 milliseconds)
[info] ScalaTest
[info] Run completed in 5 seconds, 503 milliseconds.
[info] Total number of tests run: 34
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 34, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.
[info] Passed: Total 34, Failed 0, Errors 0, Passed 34

@attilapiros What about it now?

@LantaoJin Now your change is almost perfect.
But as there was no need to import RoaringBitmap for your test it made me think what kind of tests were here before your PR regarding this class.
I have found this:
https://github.com/apache/spark/blob/8cc3eb43b1b84822e51b536b4f220846c320786e/core/src/test/scala/org/apache/spark/serializer/KryoSerializerSuite.scala#L373-L396
I think it is out-dated and this test can be removed as the statement deserialize RoaringBitmap throw Buffer underflow exception is false, what do you think?

I think it's out-dated. But it needs double check if we plan to merge this PR to multiple branches.

As this change contradicts with that statement it is safe to remove that test.

I've checked branch 2.1 and above. The kryo versions in them are all 3.0 or above. According to the description in SPARK-12222, it should be safe. I will remove it.

Jenkins retest this please.

lgtm assuming tests pass.  Thanks for the work on this @LantaoJin & @attilapiros

Test build #4679 has started for PR 24264 at commit 3397957.

Test build #4679 has finished for PR 24264 at commit 3397957.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

You might want to consider upgrading directly to RoaringBitmap 0.8.0. We added serialize(ByteBuffer) and  deserialize(ByteBuffer) methods that are quite interesting (and fast).
cc @richardstartin @blacelle

@lemire I think that's a good idea for something to do eventually, but I think that can be handled separately.  IIUC, to take advantage of those performance improvements, we need to change how we're serializing the RoaringBitmaps inside spark.  This is a bug fix we can get in now.
I filed https://issues.apache.org/jira/browse/SPARK-27367 for this if anybody wants to follow up with that

I merged this to master, but there were merge conflicts going back farther.  @LantaoJin would you like to open another pr, against branch 2.4 at least?


ImportError: No module named nets, r0.12

I am trying to run resnet_v2.py  from provided modles but getting error ImportError: No module named nets .
I have done following
First installing slim
cd $HOME/tensorflow git clone https://github.com/tensorflow/models/
To verify that this has worked, execute the following commands; it should run
without raising any errors.
`cd $HOME/tensorflow/models/slim
python3 -c "from nets import cifarnet; mynet = cifarnet.cifarnet"`

I got no error.
But when I run following gives error "ImportError: No module named nets". I have also tried
cd $HOME/tensorflow/models/slim/ python3 -c "from nets import resnet_utils"
Got not error.  Also build  using bazel build nets output
INFO: Found 1 target... Target //slim:nets up-to-date (nothing to build) INFO: Elapsed time: 0.096s, Critical Path: 0.00s
I don't know why this is not working.

Closing as duplicate of tensorflow/models #729


Assignment5/anshimit

winequality-red.csv
winequality-white.csv
Analysis - Jupyter Notebook.pdf

@anshimit - Thanks for your PR but I don't see your file in the commit. Thanks for attaching them though. Please see if you can add them in the correct folder and update the PR.

@anshimit - The pdf file is good, answers all questions but the format of the submission isn't up to mark and I don't see any files in the PR.
Score - 95/100


[Question] the div of color editor is always in the editor

i want to know why u decide always maintain the color editor in atom?
i like a lot ur package (congrats) but i have doubt, i don't work all the time in styles files or working with colors maybe other people do, i only want to know that is good to have this always loaded in the html of the atom editor or we can remove and add when u call the color picker.

Hi, @Azakur4! Keeping the Color Picker in the DOM, yet invisible, clears off most of the performance concerns one might have. Adding the, complex, Color Picker element on demand, on the other hand, would result in a sluggish experience for the users. It remains completely idle when not used, so it's not doing anything I would consider bad for performance. Thanks!


feature: automatically flag suspicious formulas (eg OSX specific elements)

How about having a brew audit variant that checks for suspicious formulas likely not to be cross-platform, eg:
in https://github.com/Homebrew/homebrew-science/pull/4834 I fixed the following bug:
args << "-DPYTHON_LIBRARY='#{python_prefix}/lib/lib#{python_version}.dylib'"

to:

dylib = OS.mac? ? "dylib" : "so"
args << "-DPYTHON_LIBRARY='#{python_prefix}/lib/lib#{python_version}.#{dylib}'"

This is fairly typical and we could have a tool to help identify (and potentially suggest fixes) a (growing list of) cases.

I'm hesitant to adopt something like that in brew audit because we're trying to help Homebrew/brew improve its Linux support and I don't see them accepting it.
So how about this: make a similar tool (could even be partially copy-pasted from the current audit.rb) and submit it as a PR to the Linuxbrew/developer tap? I'd personally welcome such a tool and we can accept all kinds of PR's there since we're not burdened by compatibility with upstream.
@sjackman, do you agree?

I think having the tool is a great idea. If it doesn't require duplicating a lot of code, then I think it code go in linuxbrew/developer named cmd/audit-linux, but only if it doesn't require copy-pasting dozens of lines. If it does, I think it should go in Linuxbrew/brew, although I do agree with your principle of not encouraging further drift between Homebrew and Linuxbrew. Upstream may accept a patch that put the OS-specific improvements to audit in extend/os/linux/dev-cmd/audit.rb


[Bug]: NuxtJS installation process targets the wrong directory

Reproduction
After running npx shadcn-vue@latest init
Describe the bug
I ran the init command in the root directory of my Nuxt project and the component and utils folder were created in the folder one level above my project root directory.
I followed everything in the installation instruction, namely

npx nuxi@latest init nuxt-shadcn-project
cd ~/projects/nuxt-shadcn-project
npm install -D typescript
npx nuxi@latest module add @nuxtjs/tailwindcss
npx nuxi@latest module add shadcn-nuxt
Configure nuxt.config.ts
`export default defineNuxtConfig({
modules: ['@nuxtjs/tailwindcss', 'shadcn-nuxt'],
shadcn: {
/**

Prefix for all the imported component
/
prefix: '',
/*
Directory that the component lives in.
@default "./components/ui"
*/
componentDir: './components/ui'
}
})`

npx shadcn-vue@latest init

Would you like to use TypeScript (recommended)? no / yes Which framework are you using? Nuxt Which style would you like to use? › Default Which color would you like to use as base color? › Slate Where is your tsconfig.json or jsconfig.json file? › ./tsconfig.json Where is your global CSS file? › › src/index.css Do you want to use CSS variables for colors? › no / yes Where is your tailwind.config.js located? › tailwind.config.js Configure the import alias for components: › @/components Configure the import alias for utils: › @/lib/utils Write configuration to components.json. Proceed? > Y/n
Let's say my project folder structure is as follows:
What I expected
projects
|── nuxt-shadcn-project
|        |── components
|        |── lib
|                 |── utils.ts
What it turns out to be
projects
|── nuxt-shadcn-project
|── components
|── lib
|── utils.ts
I have double checked everything and rerun the whole thing at least 5 times, including nuxt.config.ts
System Info
System:
    OS: macOS 15.0
    CPU: (10) arm64 Apple M1 Pro
    Memory: 272.13 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.19.0 - /usr/local/bin/node
    npm: 10.2.3 - /usr/local/bin/npm
  Browsers:
    Chrome: 129.0.6668.100
    Edge: 129.0.2792.89
    Safari: 18.0
  npmPackages:
    nuxt: ^3.13.0 => 3.13.2
    radix-vue: ^1.9.7 => 1.9.7
    shadcn-nuxt: ^0.10.4 => 0.10.4
    vue: latest => 3.5.12

Contributes

[X] I am willing to submit a PR to fix this issue
[X] I am willing to submit a PR with failing tests

I've seen the same issue.  Work around until this gets fixed is to copy things from ./components/ui and ./lib into .//components/ui and ./ into .//lib

This is same with me, i kept thinking I was doing something bad as well.

Maybe Related to https://github.com/unovue/shadcn-vue/issues/291
https://github.com/unovue/shadcn-vue/issues/291#issuecomment-1901788144


Differentiate Runtime and Test scoped Maven dependencies

they are currently all mixed in the same "Maven Dependencies" node tree

Thank you very much for the advice, please keep on looking the milestone for the scheduled dev plan and progress.

Postpone to 0.5.0. M0.5.0 will be a major release.

Hi @apupier What kind of different we should make here? I saw eclipse also put all the dependencies under Maven dependencies anyway. Didn't find any example from intelliJ>

What kind of different we should make here?

visually, the one that you prefer. it can be different subfolders, it can be a different color, it can be a suffix, it can be a different icon.
The idea is just to have a differentiation. You can choose the differentiator that you prefer/is easier to implement.


Parallelize BQSR and MarkDups + SortSam

Use scatter gather for BQSR and the GATK Spark tools for MarkDups + SortSam

Also parallelize Mutect2 PON rule


Show option path with pie menu line.

If using the pie menu line visual, show the path selected while traveling, similar to Fly Pie.
Suggested by Alan in the AHP discord:

If a lines option were to be added later on I think the best implementation I've seen is from Fly pie. I like that it functions like 'trails' to visualize previous menus too. Shown here 1:22-1:34

If using the pie menu line visual

is there currently a visual line setting that i'm not seeing? or does this mean in the future if/when that feature is developed?


Resulting site is not alphanumerically sorted

Previously, manually using apindex (the older version before it was moved to Actions) was able to sort by alphanumerical order.
This appears to no longer be the case with this plugin, which seems like a regression.
You can see a diff result here: https://github.com/DS-Homebrew/flashcard-archive/commit/456555e46f751fcc7d19bda80ab404bc5c2e9eef#diff-0eb547304658805aad788d320f10bf1f292797b5e6d745a3bf617584da017051

Interesting to note is that a future generation seems to retain this out-of-order listing, as seen in the following two commits:
https://github.com/DS-Homebrew/flashcard-archive/commit/d66897939f8371d034f0019c0098198799df2eea#diff-0eb547304658805aad788d320f10bf1f292797b5e6d745a3bf617584da017051
https://github.com/DS-Homebrew/flashcard-archive/commit/020b4120f0c150c2262924f5f60260e87fe5ac2d#diff-0eb547304658805aad788d320f10bf1f292797b5e6d745a3bf617584da017051

It is working perfectly. Thank you for the prompt updates!


Update README.md to include the mnesia directory.

My release process generates a separate directory (e.g. /var/www/myapp/releases/0.8.0/) for every release. It took me a while to figure out that this was the reason my sessions were not persisted. This commit might help other people with the same issue.

Thanks @johannesE! I added a section to the Mnesia guide with #277, but makes sense to have it here to. I'll just reword a few things here and get it merged in.

Thank you @danschultzer


Changed to allow passing AWS credential

Added credential to KmsOptions

@yosket
Running eslint fails.
Try the following command.
$ yarn test:lint


submodule update

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
#1114
What are the significant changes in functionality due to this change request?
Teal submodule update

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[ ] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

Job Mingw Test on 98821d3 : invalidated by @joshua-cogliati-inl
Failed tests/framework/ensembleModelTests/testEnsembleModelLinearParallelWithOptimizer

PR looks good, once tests are green, PR can be merged.


More coverage in KotlinSourceCompatibilityTest

This fails to compile against 3.14

> Task :compileTestKotlin
e: /Users/yuri/workspace/okurl/src/test/kotlin/okhttp/KotlinSourceCompatibilityTest.kt: (148, 16): Object is not abstract and does not implement abstract member public abstract fun isExecuted(): Boolean defined in okhttp3.Call
e: /Users/yuri/workspace/okurl/src/test/kotlin/okhttp/KotlinSourceCompatibilityTest.kt: (153, 7): 'isExecuted' overrides nothing
e: /Users/yuri/workspace/okurl/src/test/kotlin/okhttp/KotlinSourceCompatibilityTest.kt: (154, 7): 'isCanceled' overrides nothing
e: /Users/yuri/workspace/okurl/src/test/kotlin/okhttp/KotlinSourceCompatibilityTest.kt: (360, 7): 'requestFailed' overrides nothing
e: /Users/yuri/workspace/okurl/src/test/kotlin/okhttp/KotlinSourceCompatibilityTest.kt: (365, 7): 'responseFailed' overrides nothing
e: /Users/yuri/workspace/okurl/src/test/kotlin/okhttp/KotlinSourceCompatibilityTest.kt: (387, 34): Type mismatch: inferred type is MediaType? but MediaType was expected

@yschimke the motivation of this PR is to find those kinds of regressions! Once I've got the entire API I'd like to do exactly what you're doing, and fix the test to match 3.14. Then fix the code to pass the test.
I already know of a few places where I think we should deliberately break source compatibility:

List/MutableList
Ambiguous nullability to unambiguous nullability

I want all of these differences to be known and to not surprise us in the release.
Next steps:

Finish coverage. Includes MockWebServer, LoggingInterceptor, TLS, etc.
Get it passing on a branch of 3.14, probably requiring some changes.
Anywhere that 4.0 and 3.14 are different is a source compatibility regression. On a case-by-case basis fix these in code or document them.

@swankjesse apologies for jumping the gun :)

A big +1 to breaking Kotlin source slightly and getting it right.  It will only get more painful to do later if you don't now.
Will kotlin still be binary compatible?

Yep, still binary compatible. That’s the most important one ’cause it impacts transitive dependencies quite dramatically.


[FEATURE REQUEST]Endpoint to get a single reply

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

User should be able to get a single reply to a comment

Describe the solution you'd like
A clear and concise description of what you want to happen.

A GET request to /comments/{commentId}/replies/{replyId}

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

I will like to work on this


DCOS-48298: findDomNode does not work with this

Testing

See that the Charts on the dashboard still work while resizing

Trade-offs

Dependencies

Screenshots

@nLight ref function works just fine, finally had the time to get to it

:tada: This PR is included in version 2.54.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


How to force valid JWT tokens

I love this project, it is so concise and to the point, especially the scope of what it is trying to achieve!
So I was able to generate a token and have posgraphql evaluate the claim:
curl -XPOST -H "Authorization:Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJwb3N0Z3JhcGhxbCIsInJvbGUiOiJncmFwaHFsIiwidXNlcl9pZCI6Mn0.oQVZfTK-LdC1btVvR8OrzRAhSPEKsFJHeqxhF9xk8rc" -H 'Content-Type:application/graphql' -d '{ searchPosts(search:"s",first:2){nodes{rowId}}}' <IP_ADDRESS>:3000

So I was able to get it to return valid date for a valid token containing a valid role.
However, I also able to get the same data with an empty token:
curl -XPOST -H "Authorization:Bearer " -H 'Content-Type:application/graphql' -d '{ searchPosts(search:"s",first:2){nodes{rowId}}}' <IP_ADDRESS>:3000

Is there a way to mandate a non-empty token if the secret flag has been set (other than say enforcing this with an upstream nginx proxy)?
Any other non-empty token string appears to evaluate correctly (it would be nice to get a 403 instead of a 500, but that's a separate issue).

Thanks so much for reporting! Yep, this is definitely a bug because right here we just return for invalid Authorization headers instead of throwing an error. So a simple bugfix if anyone wants to submit a PR.
Also, returning the correct error code is pretty important. Whoops 😊

@0x6e6562 if you get it working. I would love to see an authentication example ☺

Fixed in #72, and I threw in correct HTTP status codes for good measure 😊

Released in 1.6.0 🎉


[META] leave EFnet and only have official channel at freenode?

ZNC implements IRCv3 and is part of the IRCv3 working group. EFnet again doesn't do either and the EFnet channel has far less people and is far less active than the freenode channel. Currently both are official though.

https://github.com/ircv3/ircv3-specifications/blob/master/index#L15-31 (ZNC is on line 31)
https://github.com/ircv3/ircv3-specifications/blob/master/index#L106-122 (ZNC is on 122)

Does it matter if it's official or not? Currently 215 users on EFnet vs. 850 users on Freenode.

I think it can be found confusing to be officially on two places that have nothing to do with each other. For example Supybot is officially on both freenode and OFTC and there is bot relaying those two channels. Almost everyone is at freenode, but there are some original developers at OFTC.

To create new wiki account, please join us on #znc at freenode or efnet and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.

Says the wiki when you aren't identified.

22.04.2015 21:01, Mikaela Suomalainen пишет:

To create new wiki account, please join us on #znc at freenode *or
efnet* and ask admins to create a wiki account for you. You can
say thanks to spambots for this inconvenience.

Says the wiki http://wiki.znc.in/ZNC when you aren't identified.
—
Reply to this email directly or view it on GitHub
https://github.com/znc/znc/issues/895#issuecomment-95319756.

Oops, missed it. Thanks


Updates for ubuntu:17.10 and SDK tools

The repos for ubuntu:17.04 have been moved and this causes issues with all the package managers (see this). Updating the image to 17.10 seems to be the better idea in this case.
Also, Google has released a new version of SDK tools and I don't see why one wouldn't want to update to this.

This would also solve #1. Somehow I forgot to check if anybody else had noticed :roll_eyes:

Thank you! 👍


Add required validation to methods

Methods provide information about required fields, we should update the methods in the UI so they take note of this required status, the run button should be disabled whilst required inputs are missing.

After discussion we've decided that the button shouldn't be disabled, but when the button is clicked it will check if all required parameters have a defined value and will not send and flag them as a warning if not.


Fix collections.abc deprecation, bump dependencies, drop py33 and pypy support

fix collections.abc deprecation: closes #123
bump dependencies for test requirements: closes #122
add support for Python 3.7 and run tests against it
drop Python 3.3 support (basically impossible to test with modern CI systems and dependencies)
adopt travis+tox+coveragerc architecture from other hyper projects

@alexwlchan I stripped down the PR to the bare minimum - but I still can't get the py33 tests to pass.
Any ideas?
Alternative solution: drop py33 entirely. Can / Should we do that in a hyperframe minor release, or do we need a 6.0 for that?

@alexwlchan would you mind reviewing again? I feel like the PR has evolved quite a bit...

drop PyPy support
:-1:

@KOLANICH thanks for raising your voice about pypy - I didn't know if anybody would care. I have re-added pypy testing.
The Travis problems were caused by me writing invalid yaml - and are now fixed. I don't have a problem with Travis for now, so I don't see a need for switching to a different CI at the moment.

pypy - I didn't know if anybody would care.

In fact I use only pypy3 (I dont use python 2 at all), and use it only in some apps because currently numpy is incompatible with pypy3.

@KOLANICH ok - we never tested against pypy3 up until now... let me see if this even works...


There are no specs...

There should be specs.
Certainly if CI is your work. :*)

Further addressed in 0ba0a7c5 and 16f154e

I think I've nailed down the minimum of tests - now just need to implement them... (See d7d6e08f3)

All specs have a filling. All fillings make sense.


Why is fpocket not rotationally invariant?

Hi,
When looking at the description of the fpocket algorithm it seems rotationally invariant to me, only based on sphere positions and distances between atoms. However, I tried applying fpocket to differently oriented versions of 4AGL and found that for some orientations, the found pockets can deviate significantly:

So I was wondering at which step this difference is introduced. Could it be due to Qhull?
Thank you for your time :)

Yes it's due to qhull and also the imprecision in the PDB coordinates and the subsequent clustering based on these results. These makes qhull quite sensitive to this. This effect has been a bit reduced with a "new" qvoronoi version but is still not 100% perfect yet.
We tried several approaches to mitigate that but without success or with significant computational overhead.

Thank you for your answer 👍


 support

Hey,
Thanks for bringing Docsify, it's awesome! I just noticed it lacks of <hr> styling, could you make that possible?

Here the Markdown horizontal rule specs.

fixed via https://github.com/QingWei-Li/docsify/pull/55/commits/1d776670df0bd474d3e2cb35502a2f0a209484bd

Thanks! A margin-bottom would help though… :). #sorry


Instead of DI in the controllers constructors use [FromServices] DI

We could injection the IMediator and Presenter through the [FromServices]. Like it is done at: https://docs.microsoft.com/en-us/aspnet/core/mvc/controllers/dependency-injection?view=aspnetcore-3.1#action-injection-with-fromservices

In my view, you need to restructure the project to reuse controllers between UseCases (this way [FromServices] will be useful).

Hey @qpippop,
I like the separation by use cases and I am still thinking about your suggestion.

@qpippop can I add your GitHub to the contributors page?

@ivanpaulovich of course, I like your projects and I'm glad to help!

@all-contributors please add @qpippop for ideas.

[FromServices] added to the latest changes. It's up to developer to decide to use the constructor injection.

Hi Ivan! What are the positive aspects of using [FomServices] DI?
Em sáb., 23 de mai. de 2020 às 09:09, Ivan Paulovich <
<EMAIL_ADDRESS>escreveu:

Closed #132
https://github.com/ivanpaulovich/clean-architecture-manga/issues/132.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ivanpaulovich/clean-architecture-manga/issues/132#event-3366984392,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABFQNIFESLO2CTKHI2ESWKTRS64IHANCNFSM4JVXZ7WQ
.

Hi @maikmb,
I am not sure about the ASP NET internals when using [FromServices], I guess it gives us the same functionality but it saves us a few lines from the classic constructor injection pattern.


downloading anchor data failing on CI

EHLO
Sorry if this is a rookie mistake, but the [travis job](https://travis-ci.org/patrickkettner/cookie-change-events/builds/208352243 for a bikeshed file is failing in the last couple of hours, with
FATAL ERROR: Either this version of the anchor-data API is no longer supported, or (more likely) there was a transient network error. Try again in a little while, and/or update Bikeshed. If the error persists, please report it on GitHub.

I have restarted the build a number of times to no avail, so now I am following the second half of the request

You appear to be using the right config, and the updates are working when I run them from my command line, and the same job worked fine 13 hours ago, so ???

retrying the 7th time worked - ¯_(ツ)_/¯ Emoji

Transient network errors it is, then!


Enhancement: (add videos in the gallery)

I was wondering if there is any plans to add videos in the gallery. and play them when we click on it to expand

This would be great, is there a way todo this now?

@elvirdolic unfortunately no.

@lukasz-galka It would be nice to have an option to inject any kind of element (Angular Component) and replace the default  Tag with it.
For example I need to display an PDF and it's gonna get quiet hacky to do this.

It's really great and essential feature to have within ngx-gallery.


Searchinc++

Description
Implemented linear search in c++ and updated binarySearch.cpp file.
Have you read the Contributing Guidelines on Pull Requests?
Yes
Please answer the following questions for yourself before submitting an issue.

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.

Related Issues or Pull Requests
Fixes #4

@ritik3131 the file for binary search in c++ is already present in the repository. Delete that file.
Also if you want to update any file you can only update only if there is a bug in the code and for that you have to create a bug issue instead of feature issue
Before making the PR make sure whether the file is already present or not

Hey @Rj-coder-iitian, this pr is removed from my profile in discord why it is so??It is there before 1st January but it is there now