Coverage diff - sorce vs target

How about running coverage on both the source and target branches (not sure how to set up such a GitHub action) and then adding information about the difference (does the coverage increase o decrease) in the PR comment?

I am working on an initiative as part of v1.6, to show the coverage diff. But this would be based on the the Diff that Github provides. The idea is the get the Lines (line number) that are modified (added, modified, deleted) and then check if the lines are covered or not from jacoco report. The problem with this is Github doesn't give us the exact diff of the lines, but a short range of lines. So I suppose it will be an approximate coverage diff.


Update .npmignore

This will prevent published unnecessary files to npm.
You can see what was published to npm last here:
<EMAIL_ADDRESS>or
<EMAIL_ADDRESS>

Thanks!


Changed "awesome-cryptography" link

https://github.com/sobolevn/awesome-cryptography
awesome-cryptography is all about cryptography and encryption.
It has all started with this issue. I have requested a new list about encryption, soon I have found retter, which seemed to be an awesome-cryptography list.
With all the respect to the author, his great work, and the content itself, retter is not an awesome-list. It is a collection of different implementations of cryptography algorithms in C, and a structured folder of bookmarks.
That was an original reason I have started my own list. But, I can also add the fact retter was not updated for 10 month now.
Things I have improved in my list:

[x] Follows awesome format ("flat is better than nested")
[x] Has a bunch of integrations to keep people interested: twitter and gitter
[x] Integrated remark-lint with a lot of style-checks
[ ] awesome-lint WIP

I have not found any recommendations or rules about this particular situation. Anyway it is up to you to make the final decision.
Checkboxes

[x] I have read and understood the contribution guidelines and the instructions for creating a list.
[x] This pull request has a descriptive title.
The list I added

[x] has been around for at least 20 days,
[x] is a non-generated Markdown file in a GitHub repo,
[ ] is not a duplicate,
[x] only has awesome items with descriptions,
[x] contains the awesome badge on the right side of the list heading,
[x] has a Table of Contents section named Contents as the first section,
[x] has an appropriate license,
[x] has contribution guidelines,
[x] has been checked for inconsistent formatting, spelling, and grammar,
[ ] has been added at the bottom of the appropriate category.

Good stuff, it seems that the previous list has changed format and is no longer an awesome list and this is a good replacement.

I'm good with adding this.
Some nitpick:

There should be no empty lines between the Table of Contents entries
All descriptions should start with an uppercase letter and end in a .

Refactored (commit).

Looks good :)


fix bug in rlMatrixMode

in GL_33 and ES2, the matrix mode would always set the model matrix to modelview matrix
this leads to incorrectly setting the matrix when a matrix has been pushed
when a matrix is pushed, the model matrix is set to the transform matrix
if a matrixMode is done on the model matrix then the model matrix is set to the modelview matrix instead of the transform matrix
when a matrix is popped, if zero count, the model matrix gets set to modelview
NOTE: GL_11 uses a seperate stack for each matrix as stated in https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glMatrixMode.xml
Specifies which matrix stack is the target for subsequent matrix operations

GL_MODELVIEW

    Applies subsequent matrix operations to the modelview matrix stack.
GL_PROJECTION

    Applies subsequent matrix operations to the projection matrix stack.
GL_TEXTURE

    Applies subsequent matrix operations to the texture matrix stack.

additionally https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glPushMatrix.xml
There is a stack of matrices for each of the matrix modes
GL_33 and ES2 implementation combines this to a single stack making this not set in the following case
(and possibly other cases)
// set current matrix to model
rlMatrixMode(RL_MODELVIEW);
// push to model stack
// this sets current matrix to transform since we are in model
rlPushMatrix();

// set current matrix to projection
rlMatrixMode(RL_PROJECTION);
// push to projection stack
// this sets current matrix to projection
rlPushMatrix();

// set current matrix to transform
rlMatrixMode(RL_MODELVIEW);
// pop from model stack
// this fails to set the model back to model view since
// the stack depth is not 0 as the GL_33 and ES2
// stack implementation represents a combined stack
// instead of seperate stacks
// the matrix is instead set to the projection matrix that we just pushed
rlPopMatrix();

fixed by https://github.com/raysan5/raylib/pull/2150


How to use GPU or CPU interchangeably?

Hello all,
I'm newcomer to use seq2seq framework. As we know, setting up GPU/CPU usage for training model in Tensorflow done with setting up inside with statement.
How we do that in seq2seq framework? I can't find any information about that inside documentation.
Thank you!

hi，have you resolved this problem?
can you tell me how to use GPU for training model
Thank you~


Hide external  slide on centerMode

Hi,
I don't know if there is an option to do what I am asking for, I could not find  anything.
Using centerMode (like on the examples page http://kenwheeler.github.io/slick/ ), on the sides of the carousel appears a little slice of the other slide.
There is a way to have only full slide showed?
Thanks
Alex

Are you making the slider fullscreen? If so you can make the slick-slide width screen width, image width 100% and the other slides are hidden off screen.


Add missing fields to AKS driver

Problem:

AKS latest version provides more options, like monitoring
Some previous parameters don't work, like tags, osdisk-size

Solution:

Add missing fields
Fill execution logic
Refactor the code to connect with AKS API document easily

Issue:
rancher/rancher#15697

@loganhz , @cjellick

@orangedeng , addressed


fix: rcon commands running only when uploadAfterCompile was true

i'm dumb

Thanks for the fix :)


Feature Request: Edit Album/Song Info

Enable users to edit metadata for albums and songs directly within the application. This includes modifying fields such as the title, artist, album name, genre, release date, and album artwork.
My Proposed Solution could look somthing like this:
Add an "Edit Info" option in this dropdown.

The "Edit Info" screen could look something like this example from MusikBee

Hi @najrei
Unfortunately, I don't think we can have this feature in Swing Music because the app is designed to modify your library.
There are programs dedicated to managing metadata. Please use those programs.

Is there a chance that this will be made possible for the artist's profile images? Manually adding/replacing them is a bit of a hassle at the moment.


update jupyterlite 0.1.0a20

This brings in a few updates to jupyterlite which unblock a few more interesting demos. For example, pyrsistent is now available as a native pyodide js module, which allows importing a modern jsonschema without hacks.
Changes

[x] add jupyterlab-(myst|markdown)
[x] jupyterlite 0.1.0a20 (which brings along pyodide 0.19.0)
[x] ship more packages by default to help keep the constellation of packages working in-browser

these can be updated by modifying lite/requirements.txt

js

[x] add skipLibCheck (needs investigation upstream)
[x] set prettier to wrap at 88 (like black)

Future Work
Unfortunately, there are a few roadblocks to some of the wxyz stuff, because of declared dependencies on jupyterlab... some future work can look into either patching those hot with lightweight shims, or some more plumbing in wxyz.

With jupyter 0.1.0b9, we can now access files from contents directly in the pyodide kernel  runtime.


"Slow mode" based on mute role

Adds the ability to limit conversation flow in a channel based on a given number of messages/time interval. Don't delete excess messages, people find that very annoying. Instead apply the configured mute role, so it allows them to continue to see the chat, just not talk until the wait time ends.

One way we could do this now is with the new slowmode option in the Text Channel options, it has a maximum of 120 (which I assume is seconds the documents do not mention this) and can be disabled with a value of 0


Everything drawn in qemu is too big

Steps to Reproduce
Flutter apps running under Fuchsia under qemu appear with everything too big. The image below has been resized, but its original size was approximately 1024x800. The buttons are enormous. This is making development more difficult because qemu shows a very different result than the hardware.

This is presumably the bug:
https://github.com/flutter/engine/blob/master/content_handler/runtime_holder.cc#L555

@abarth would know.

Thank you Eric. I updated that constant, recompiled, and it did exactly what I needed.

@jimbeveridge can this be closed now?

Yes, we can't draw in QEMU at all now.  :)


Fix for issue 4998 - Web Hook Rules check http headers in case sensitive manner

I have add a payload['headers_lower'] for webhook and add a unittest for this.
Fixes #4998

FYI: we just merged a change that reformats all the code with black. Please rebase on master (or merge master into your branch) and reformat your code with black as well. You can use pre-commit install to have black run on your commits. Thanks!

 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.

Merged, thanks!


doc: getting_started: add instructions to build on Clear Linux

This expands the Development Environment Setup on Linux guide to
include instructions for Clear Linux.
Tested on Clear Linux build 23610.
Signed-off-by: Daniel Leung<EMAIL_ADDRESS>

Codecov Report

Merging #8909 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #8909   +/-   ##
=======================================
  Coverage   52.31%   52.31%
=======================================
  Files         195      195
  Lines       24732    24732
  Branches     5141     5141
=======================================
  Hits        12939    12939
  Misses       9719     9719
  Partials     2074     2074

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 9aebe8b...c919faf. Read the comment docs.

Moved the CFLAGS/CXXFLAGS comments into "note" as suggested by @ceolin.

:+1: lgtm

Updated documentation for comments from @dbkinder .


Error when load shapefile which doesn't have features

                ShapefileFeatureTable tarShpFeaTable = new ShapefileFeatureTable(sTarXzqFilePath);
                await tarShpFeaTable.LoadAsync();

①when load shapefile which doesn't have features，the wpf app will tell me "SQL error or missing database"
②I think it's a bug.when I delete all features,then I add new feature to shapefile,also can't success.the shapefile will be destroy

@yh371174229
Hi,
Please post questions regarding functionality of ArcGIS Runtime SDK for .NET in our GeoNet community space.
Thanks


cannot retrieve headers at time of exception (e.g. NoMoreData)

Sometimes a connection does not return all expected data and throws a NoMoreData exception. When the exception is caught it would be good to review the full response so as to better diagnose what went wrong from the server. This is not possible now; the only solution is to turn on full restkit debugging (which can be very noisy, and doesn't help an end user).
CouchDB generates InvalidChunkSizes when it terminates a connection, but this is because the real reason for the failure is in that last block (which doesn't match the expected chunk size).
NoMoreData, InvalidChunkSize and so on should return the full headers/body if possible for review by the application so that appropriate steps can be taken to recover from the error (and, help find the root cause of the CouchDB error!)

I'm seeing a similar issue - getting a NoMoreData exception when I upgraded to 4.0.0, but it's only reproducible via running my entire test suite, not just the single test class that is failing (other tests use the class that fails, but successfully)
Traceback (most recent call last):
File "/Users/dsully/.virtualenvs/linkedin/lib/python2.6/site-packages/nose/case.py", line 381, in setUp
try_run(self.inst, ('setup', 'setUp'))
File "/Users/dsully/.virtualenvs/linkedin/lib/python2.6/site-packages/nose/util.py", line 478, in try_run
return func()
File "/Users/dsully/dev/tools/lib/utils/test/test_warutils.py", line 9, in setup
self.warinfo = WarInfo()
File "/Users/dsully/dev/tools/lib/utils/src/linkedin/utils/warutils.py", line 13, in init
self.service_map = jprops.load_properties(download(properties_url))
File "/Users/dsully/dev/tools/lib/utils/src/linkedin/utils/http.py", line 33, in download
response = Client(url, debug=debug, follow_redirect=True).get()
File "/Users/dsully/.virtualenvs/linkedin/lib/python2.6/site-packages/restkit/resource.py", line 114, in get
params_dict=params_dict, **params)
File "/Users/dsully/dev/tools/lib/utils/src/linkedin/utils/http.py", line 141, in request
return super(Client, self).request(method, path, payload, headers, params_dict, **params)
File "/Users/dsully/.virtualenvs/linkedin/lib/python2.6/site-packages/restkit/resource.py", line 190, in request
headers=self.make_headers(headers))
File "/Users/dsully/.virtualenvs/linkedin/lib/python2.6/site-packages/restkit/client.py", line 403, in request
return self.perform(request)
File "/Users/dsully/.virtualenvs/linkedin/lib/python2.6/site-packages/restkit/client.py", line 355, in perform
return self.get_response(request, conn)
File "/Users/dsully/.virtualenvs/linkedin/lib/python2.6/site-packages/restkit/client.py", line 437, in get_response
log.debug("Got response: %s" % p.status())
File "/Users/dsully/.virtualenvs/linkedin/lib/python2.6/site-packages/http_parser/http.py", line 104, in status
status_code = self.status_code()
File "/Users/dsully/.virtualenvs/linkedin/lib/python2.6/site-packages/http_parser/http.py", line 99, in status_code
self._check_headers_complete()
File "/Users/dsully/.virtualenvs/linkedin/lib/python2.6/site-packages/http_parser/http.py", line 67, in _check_headers_complete
raise NoMoreData()
NoMoreData:
If I downgrade to 3.3.2, problem goes away.
The server side looks fine - it's Apache vending Subversion.
What data would be useful for debugging?
Thanks.

hum if you see them in 4.0 they should also appear in the 3.3.2 that's odd. can you set the reskti debugging to the debug level?

3.3.2 Debugging:
[DEBUG] 2012-01-27 12:22:05,678 restkit.client - Start to perform request: svn.corp.linkedin.com HEAD /relrepo/deployment/global/topology.xml
[DEBUG] 2012-01-27 12:22:05,678 restkit.client - create new connection
[DEBUG] 2012-01-27 12:22:05,682 restkit.client - Send headers: ['HEAD /relrepo/deployment/global/topology.xml HTTP/1.1\r\n', 'Host: svn.corp.linkedin.com\r\n', 'User-Agent: Python-HTTP-Client/1.0 (Darwin; U; CPU x86_64) restkit/3.3.2; 1.py\r\n', 'Accept-Encoding: compress, gzip\r\n', 'User_Agent: Python-HTTP-Client/1.0 (Darwin; U; CPU x86_64) restkit/3.3.2; 1.py\r\n', 'Accept: application/json\r\n']
[DEBUG] 2012-01-27 12:22:05,682 restkit.client - Start to parse response
[DEBUG] 2012-01-27 12:22:05,685 restkit.client - Got response: 200 OK
[DEBUG] 2012-01-27 12:22:05,685 restkit.client - headers: [IOrderedDict([('Date', 'Fri, 27 Jan 2012 20:22:05 GMT'), ('Server', 'Apache/2.2.15 (Red Hat)'), ('Last-Modified', 'Thu, 26 Jan 2012 23:00:57 GMT'), ('ETag', '"53378//deployment/global/topology.xml"'), ('Accept-Ranges', 'bytes'), ('Content-Length', '348272'), ('Content-Type', 'text/plain; charset=UTF-8')])]
[DEBUG] 2012-01-27 12:22:05,686 restkit.conn - release connection
[DEBUG] 2012-01-27 12:22:05,686 restkit.client - return response class
4.0.0 Debugging:
[DEBUG] 2012-01-27 12:21:42,944 restkit.client - Start to perform request: svn.corp.linkedin.com HEAD /relrepo/deployment/global/topology.xml
[DEBUG] 2012-01-27 12:21:42,946 restkit.client - Send headers: ['HEAD /relrepo/deployment/global/topology.xml HTTP/1.1\r\n', 'Host: svn.corp.linkedin.com\r\n', 'User-Agent: Python-HTTP-Client/1.0 (Darwin; U; CPU x86_64) restkit/4.0.0; 1.py\r\n', 'Accept-Encoding: compress, gzip\r\n', 'User_Agent: Python-HTTP-Client/1.0 (Darwin; U; CPU x86_64) restkit/4.0.0; 1.py\r\n', 'Accept: application/json\r\n']
[DEBUG] 2012-01-27 12:21:42,946 restkit.client - Start to parse response
[DEBUG] 2012-01-27 12:21:42,948 restkit.client - Got response: 200 OK
[DEBUG] 2012-01-27 12:21:42,948 restkit.client - headers: [IOrderedDict([('Date', 'Fri, 27 Jan 2012 20:21:42 GMT'), ('Server', 'Apache/2.2.15 (Red Hat)'), ('Last-Modified', 'Thu, 26 Jan 2012 23:00:57 GMT'), ('ETag', '"53378//deployment/global/topology.xml"'), ('Accept-Ranges', 'bytes'), ('Content-Length', '348272'), ('Content-Type', 'text/plain; charset=UTF-8')])]
[DEBUG] 2012-01-27 12:21:42,948 restkit.client - return response class
As I mentioned, in isolation, it works fine - there is something that is causing it to get triggered when running as part of a test suite via nosetests.

Ok, I've narrowed it down to a runnable test case / interaction with flufl.lock when using restkit 4.0.0
from datetime import timedelta
from flufl.lock import Lock, TimeOutError, AlreadyLockedError
from restkit.client import Client
url = 'http://gcc.gnu.org/svn/gcc/trunk/Makefile.in'
print "GETing %s" % url
Client().request(url).body_string()
##################################
test_break_lifetime_expired_lock
lockfile = "/tmp/foo"
print "Trying to acquire lock 1"
lock1 = Lock(lockfile, lifetime=timedelta(seconds=1))
lock1.lock()
print "Trying to acquire lock 2"
lock2 = Lock(lockfile)
lock2.lock()
lock2.unlock()
##############
test_timeout
print "Trying to acquire lock 3"
lock1 = Lock(lockfile)
lock1.lock()
print "Trying to acquire lock 4"
lock2 = Lock(lockfile)
tries = 3
for i in xrange(tries, 0, -1):
try:
lock2.lock(timedelta(seconds=1))
break
except TimeOutError as e:
print e
lock1.unlock()
print "GETing %s" % url
Client().request(url).body_string()

last change in socketpool (last head) seems to fix it. Let me know

The socketpool fix appears to work. Sorry for hijacking this issue.


C# FirewallArgs.DropletIds Property InputList Droplet.Id Output

There appears to be a type mismatch here with the firewall droplet ids wanting int values and droplet exporting strings
Steps to reproduce
Create a droplet and a firewall, try to pass in droplet.id as the DropletIds value
Expected:  The value to be accepted.
Actual: Compiler complains of type mismatch
Same issue as TypeScript https://github.com/pulumi/pulumi-digitalocean/issues/81

Duplicate of https://github.com/pulumi/pulumi-terraform-bridge/issues/352


Swift 4 migration

Just tried to migrate a project to Swift 4 and it gives me an error on the Laurine build phase. Should probably be updated for Swift 4.

Hey Piotr,
I will be working on Swift 4 sometime over next few weeks as it is still being finalized. If you need it till then, I suggest forking it and (if you wish) even providing pull request, I can create S4 branch for it sooner.
As a workaround, it should be possible to force the compiler to compile Laurine in Swift 3 (-swift-version 3 compiler option for the dependency), though I haven't tested it myself yet.
Sincerely,
Jiri

Please do refer to #52 for any further comments.


SideNav: isActive is not highlighting the menu item when nav bar is in collapse state.

Describe the bug
SideNav component when collapsed does not show the highlight/focus on the menu item which is set isActive. Only when it is expanded the menu item is highlighted.
To Reproduce
isActive is set true for Explore tab.
When sidenav is collapsed Explore tab is not dispalyed highlighted as in below screen

Whereas when it is expanded Explore tab is highlighted.

I have noticed that the behaviour works fine with lower version of carbon-addons-iot-react v2.3.2. Below codesandbox is for reference.
https://codesandbox.io/s/carbon-iot-react-header-n4q3h
Whereas with higher versions 2.8.5 which we are currently using it has the issue mentioned above.
Specific timeline issues / requests
We need this bug to be fixed for our Nov release.
Relative PAL issue: https://github.ibm.com/Watson-IoT/pal-tracking/issues/72

Adding another issue with subnav items background color to be fixed with this item

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Remove all empty methods in examples

e.g. override func didSelectItem(at index: Int) {}
This is all leftover from when we had the class+protocol requirement instead of just subclassing.

I want to work on that @rnystrom. Can I added as an assignee? Expect a PR from me this afternoon 💯

I think we already have a PR by Kim for this
Sent from my iPhone

On 22 Sep 2017, at 10:27, Agisilaos Tsaraboulidis<EMAIL_ADDRESS>wrote:
I want to work on that @rnystrom. Can I added as an assignee? Expect a PR from me this afternoon 💯
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Yup fixed in #945


how to specify the weight map for loss function in config?

I want to specify the weight map for loss function (e.g. cross-entropy) to handle the imbalanced class problem. How can I specify that in the config?
Thanks!

I've checked out the segmentation_application.py and it looks like that there is no way to pass weight values...(?) Then how can users handle the imbalanced class problem?

You need to create another input and name for example Weights and then pass that input (which can be found in the data_dict parameter of segmentation application to the loss function as a variable for the parameter weight_map.


New import source: polr

http://docs.polrproject.org/en/latest/developer-guide/api/

This cannot be done as long as Polr API does not support listing existing short URLs.

Polr seems abandoned, so it's unlikely the API adds anything


Add UMD support for use without a build step/via npmcdn

This simply adds a UMD build so the lib can be used from places like JSBin, via npmcdn.com
I also added a npm run release script to enable running the build as part of the publish process. I did not use prepublish since it runs on install as well.

browserify CDN can already do this: https://wzrd.in/standalone/object-inspect@latest
I would rather not ship UMD shims across all of my packages since I don't use them and I have a lot of packages.

Oh nice, I had no idea that existed. Thanks!


Is there any way to add a custom platform

hi there. I use your fastlane for both iOS and Android automate tasks in my team, it's great!
now I found the fastlane only support :ios :android :mac, in my team, I wound like use fastlane to rule all platform like :ios, :android, :h5.
in my team, we define a method ci_building method to every platform to complete build task. like:
desc "build and package"
desc "  @param configuration"
desc "  @param skip_build_archive"
desc "  @param export_method as app-store, ad-hoc, package, enterprise, development, developer-id"
lane :ci_building do |options|
  if ENV['FASTLANE_PLATFORM_NAME'] == 'ios'
    configuration = options[:configuration]
    skip_build_archive = options[:skip_build_archive] || false
    export_method = options[:export_method]
    gym(
        workspace:ENV['FMT_PROJECT_WORKSPACE_NAME'],
        scheme:ENV['FMT_PROJECT_SCHEME_NAME'],
        clean:true,
        configuration:configuration,
        include_bitcode:false,
        build_path:'./build',
        derived_data_path:'./DerivedData',
        skip_build_archive:skip_build_archive,
        export_method: export_method
    )
  elsif ENV['FASTLANE_PLATFORM_NAME'] == 'android'
    task = options[:task]
    gradle(task: "clean")
    gradle
    if is_ci?
      gradle(task: task,
             properties:{
                 "versionCode" => ENV['BUILD_NUMBER']
             })
    else
      gradle(task: task)
    end
  end
end

the other method like ci_testing, ci_releasing has the same logic to share between different platforms. so I would like to add a :h5 platform for my h5 team members, just like
  # add the h5 platform
  else if ENV['FASTLANE_PLATFORM_NAME'] == 'h5'
    task = option[:task]
    if is_ci?
      npm(task: task)
    end
  end

npm is a action like gradle. it would be great to share task in fastlane like ci_release, ci_testing while use the gradle or npm in ci_building.

@SuperMarioBean i think that it is too deep bound to the mobile platforms. (like actions checking for :android, :ios and so on)
could'nt you use a custom ENV variable ? that you set before calling fastlane which holds your desired platform?
like:
export MY_PLATFORM="h5"
fastlane lane

we do something similar but use lane parameters.
Fastfile:
lane :deploy do | options |
       if options[:platform] == "docker"
         # do docker build and stuff
       end
end

calling it from fastfile:
deploy(platform: "docker")

or via shell
fastlane deploy platform:docker

let me know if there is a way that works for you.

@hjanuschka thanks a lot, it works.
BTW, I got confused if we can use ENV variable or parameter for different platform, then why fastlane got :ios, :android, :mac? maybe a subclass of Platform to regist to fastlane for different platform will be better?
😄

Hey @SuperMarioBean! Thanks for raising this issue. As @hjanuschka mentioned, I think that we have our platforms baked pretty deep into how fastlane works. Additionally, our goal with fastlane is to be an amazing deployment mechanism for mobile apps. Adding the ability to deploy to other platforms could result in increased surface area for support and a less focused toolset for iOS/Android. Feel free to create fastlane plugins that can support other platforms and do more use-case specific things! Thanks again! 😄 🐙


Add Feedback page for user insights

Designing a user feedback form for a mental health web app requires sensitivity and consideration for the users' emotional well-being.
Here's a sample how I will create:
User Feedback Form for MindSpace
Thank you for using MindSpace. We value your feedback and are committed to creating a supportive and effective platform. Your insights will help us enhance our services.

General Information: Name (Optional), Email (Optional)

Feedback Type:
Please select the type of feedback you would like to provide:

Bug Report
Suggestion
Positive Feedback/Testimonial
Other (Please Specify):

User Experience:
Please share your thoughts on the overall user experience of the app.

What features do you find most helpful?
Is there anything about the app that you find confusing or difficult to use?

Content and Resources:
How do you feel about the content and resources provided on the app?

Have you found the information and resources helpful for your mental health?
[Radio Buttons: Yes / No / Not Sure]

Is there specific content or resources you would like to see more of?

Emotional Impact:
If you are comfortable, please share how using the app has affected your mental well-being.

Has the app positively impacted your mental health? If so, how?
Do you have any concerns about the emotional impact of the app?

Suggestions and Improvements:
Please provide any suggestions or ideas for improving the app.

What additional features or tools would you like to see?

Are there any improvements you think could enhance the overall user experience?

Additional Comments:
Is there anything else you would like to share with us?

Permission to Contact (Optional):

May we contact you to follow up on your feedback?

Yes, you may contact me.
No, please do not contact me.

Submit Your Feedback:
Click the button below to submit your feedback.

[Submit Button]
@TeeWrath  Please consider this issue assigning to me.

I would like to work on this issue.Please assign it to me and add GSSoC24 label and it's level.


Switch to 12-column grid

I believe this is sorted by $g-columns in #19, so feel free to close this if so, @dangodev.

Added in dafec38186767dc709e7b4819582510afe10a2ec


Fix -lfe_eval in lfe command

I am looking at fixing up the lfe command. It currently handles the -lfe_eval flag completely wrong, to be more precise not at all. I have it working but would like some feedback. If you write lfe -lfe_eval "" "" "" what should it do?  One thing would be to evaluate each of the strings one after the other.

@rvirding I would expect this to evaluate each string in sequential order.

yeah, I would expect something similar ... basically each additional string arg would represent newline-separated string values in an .lfe file. This is the same behaviour that git commit -m "line" -m "line" -m "line" has, btw ...

That's pretty much where I am now. You can have multiple strings and they are evaluated in an LFE repl one after the other so you can "pass along" values. However each is parsed separately so you can't have them split into parts. If a script name and args come afterwards then the script is evaluated in the same shell.
If you have neither strings nor script then you enter into the normal LFE repl.

I have pushed a commit to develop which handles this.

I'm assuming that 1) this is done, and 2) I am safe adding this to the 2.0 milestone?


Consider using gltf2bam or a minimized version of it

The usage of blend2bam seems to incur the cost of using Blender 2.7x era texture packing during conversion, which drops certain textures from a contemporary BSDF texture node and causes incorrect renders. On the other hand, gltf2bam doesn't seem to have the same issue, at least based on my usage of the tool and testing with apples to apples model files with a minimized version of the tool.
So, perhaps we could use a two-pass procedure of 1. Exporting a .gltf with bpy.ops.export_scene.gltf() directly with Blender 3.x and 2. Running gltf2bam or a minimized version of it on that produced .gltf file ourselves.
I have attached my minimized gltf2bam test program here for reference.
gltf2bam_minimal.zip

Appreciate the suggestion! I do however feel that this is definitely a blend2bam issue, and as such, it should be addressed via an update to that. If Panda3D is to obtain more mainstream attention, its tools and pipelines are really going to need to move beyond Blender 2.7x. I personally don't know anyone who still uses anything under Blender 3.0. Blender 2.7x support in blend2bam should be deprecated if not outright dropped as it's just holding back proper support for the newer Blender versions. I recommend opening an issue for the GLTF texture packing problem on blend2bam's own issue tracker.
Bypassing blend2bam for GLTF exports in this Blender addon would also come with a major drawback: it would mean that blend2bam's support for automatic CollisionSolid generation (via Blender-assigned rigid bodies) would be skipped, and that's really one of the main benefits that .bam has over .gltf right now. See the bottom section in the article below:
https://github.com/Moguri/blend2bam/blob/master/docs/conversion-guide-gltf28.md
Quote:

"However, blend2bam will convert Blender rigid body shapes and add them to the glTF data outputted from the exporter"

With your method described above, using a direct call to Blender's GLTF export operator would completely bypass the step above, leaving rigid bodies absent from the exported GLTF. I don't feel that this is a good tradeoff, especially if blend2bam is updated later on with a fix to the 2.7x era texture packing issue.

I checked out the issue on blend2bam's tracker. Although support for non-ORM maps should definitely be a thing, ORM maps are also quite common and industry-standard, and it doesn't take much time or effort to make them. I'll add a note on this addon's readme noting that ORM maps are currently required by blend2bam, so that there's no confusion.
I completely understand where you're coming from, but I wouldn't go as far as calling it "half-broken" or "hard-working" - it technically works, it just has a strict requirement that isn't being made obvious or transparent to the user. The only reason we learned about the ORM requirement was because Moguri mentioned it on Discord. I don't think blend2bam itself makes the requirement obvious at all. But hopefully mentioning it in the readme for the Blender addon will help prevent confusion on this.
I have looked into ways to combine textures in Blender so that the ORM creation could at least be automatic. I'd be open to adding this to the addon if I can manage to find a solution that doesn't pull in a ton of dependencies.


MSID: 87406 Version: 2 DOI: 2<IP_ADDRESS>0115

[PLACE MANUSCRIPT AND EDITOR DETAILS HERE WHEN AVAILABLE] See step 3
[PLACE PDF URL HERE WHEN AVAILABLE] See step 7
Step 1. Inform bioRxiv
Who can help: @QueenKraken, @nlisgo, @scottaubrey

[x] Manuscript is in data hub index (https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v1/by-publisher/elife/get-by-manuscript-id?manuscript_id=87406)

Step 2. Create preview of manuscript
Who can help: @fred-atherden, @nlisgo, @scottaubrey

[ ] Manuscript is available for preview (https://prod--epp.elifesciences.org/preview/87406/v2)

[ ] Trigger import for staging: https://prod--epp.elifesciences.org/import
[ ] Sync data folder with s3://prod-elife-epp-data/data
[ ] Trigger import for staging: https://staging--epp.elifesciences.org/import
[ ] Sync data folder with s3://staging-elife-epp-data/data
[ ] Pull request created to enhanced-preprint-data
[ ] Post link to pull request below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-manuscript
Step 3: Awaiting public reviews and QC
Who can help: Production team

[ ] QC passed or QC not needed

Who can help: Editorial team

[x] Public reviews available on sciety (https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>0115)
[ ] Manuscript and editor details at the top of this issue (Supplied by Editorial team)
[x] Reviews returned by EPP - https://prod--epp.elifesciences.org/api/reviewed-preprints/87406/v2/reviews

Example
"msas": "Genetics and Genomics", "Neuroscience"
"msid": "84628"
"version": "1"
"preprintDoi": "10.1101/2<IP_ADDRESS>4241"
"articleType": "Reviewed Preprint"
"status": "Published from the original preprint after peer review and assessment by eLife."

"Reviewed Preprint posted": "2023-01-02"
"Sent for peer review": "2022-10-28"
"Posted to bioRxiv": "2022-11-21" (link: "Go to bioRxiv": "https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>4241v1")

Editors:
Reviewing Editor
Michael B Eisen
University of California, Berkeley, United States
Senior Editor
Michael B Eisen
University of California, Berkeley, United States

Step 4: Modify manuscripts.json (no PDF)

[ ] Reviewed preprint is published to EPP (https://elifesciences.org/reviewed-preprints/87406)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[ ] Request that a doi be registered

[ ] Post link to #enhanced-preprint comment below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]

Instructions to modify manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/publish-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/334/files
Once the pull request is merged in it should be available a few minutes later.

Request that a doi
Post the following in #enhanced-preprint:
@Fred can you register a doi for https://elifesciences.org/reviewed-preprints/87406

Step 5: Awaiting search reindex

[ ] Reviewed preprint is avaliable on journal homepage (https://elifesciences.org)

The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.

Additional info
If needed, the jenkins pipeline to reindex search can be triggered sooner.
https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 6: Published! Request PDF generation

[ ] Post the link to the PDF url at the top of the issue

[ ] Post link to #enhanced-preprint comment below

#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]
Post the following to the #enhanced-preprint on slack:
@Ryan Dix-Peek please can you generate a PDF for https://elifesciences.org/reviewed-preprints/87406

Step 7: Introduce PDF to data folder and git repo

[ ] PDF is avaliable at https://github.com/elifesciences/enhanced-preprints-data/raw/master/data/87406/v2/87406-v2.pdf

Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-pdf
Step 8: Add PDF url to manuscripts.json

[ ] Reviewed preprint PDF is available for download (https://prod--epp.elifesciences.org/reviewed-preprints/87406)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[PLACE LINK TO PULL REQUEST HERE]

Instructions to add PDF url to manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/add-pdf-url-to-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/397/files
Once the pull request is merged in it should be available a few minutes later.

Step 9: Done!

[ ] Kettle is on!

Wow that a really great spot @rkcook312. I think this needs fixing.
Looking into the issue, the XML looks fine:

<italic>In silico</italic> predictions were compared to matched phenotype data and the following accuracy metrics were calculated:

<disp-formula id="ueqn1">
<graphic xlink:href="530115v2_ueqn1.gif"/>
</disp-formula>
<disp-formula id="ueqn2">
<graphic xlink:href="530115v2_ueqn2.gif"/>
</disp-formula>

Model metabolite and reaction ...

So the problem is probably rooted in conversion to JSON. For some reason it's being pulled in as the caption for that first equation:
{
    "type": "Figure",
    "caption": [
      {
        "type": "Paragraph",
        "content": [
          "In silico",
          " predictions were compared to matched phenotype data and the following accuracy metrics were calculated:"
        ]
      }
    ],
    "content": [
      {
        "type": "ImageObject",
        "contentUrl": "87406/v2/530115v2_ueqn1.gif",
        "meta": { "inline": false }
      }
    ]
  }

We'll need Encoda to be changed to account for this. Not sure if there'll be a way to change this via xslt in the meantime (if there isn't, then we'll have to proceed instead of delaying this for a long time) - I'll look into it.

@rkcook312 should be fixed now I think - could you check when you have a chance?


NLog.config not found in asp.net app running from UNC path

NLog version : <IP_ADDRESS>
Exception: System.TypeInitializationException
Error message : "The type initializer for 'NLog.Config.ConfigurationItemFactory' threw an exception."
StackTrace :  at NLog.Config.XmlLoggingConfiguration..ctor(String fileName)
   at NLog.LogFactory.LoadLoggingConfiguration(String configFile)
   at NLog.LogFactory.get_Configuration()
   at NLog.LogFactory.GetLogger(LoggerCacheKey cacheKey)
   at NLog.LogManager.GetCurrentClassLogger()
   at XCMS.Logging.NLogImpl.LogEngineWrapper..ctor()
   at XCMS.Logging.NLogImpl.LogEngine..cctor()

InnerException: System.IO.DirectoryNotFoundException

Message: Could not find a part of the path 'c:\www\develop\bin'.
StackTrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.CommonInit()
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption, Boolean checkHost)
   at System.IO.Directory.InternalGetFiles(String path, String searchPattern, SearchOption searchOption)
   at NLog.Config.ConfigurationItemFactory.BuildDefaultFactory()
   at NLog.Config.ConfigurationItemFactory..cctor()

Hi,
This error occured when calling :
LogManager.GetCurrentClassLogger()

The sources of the ASP.NET application is located on a network shared folder like this : "\server\www\develop\bin" ; but NLog seems to look for NLog.config file in "c:\www\develop\bin" which does not exist and throw this exception.
Any ideas ?
Thanks.

This is a know bug and already solved. It will be released with 4.1

Ok, thank you a lot for your quick answer.
Is there any estimated release date for 4.1 ?
Shall I close this Issue ?

2-3 weeks from now.

I will close when we released it :)

Ok, thanks a lot ! :)

duplicate of https://github.com/NLog/NLog/issues/793

4.1.0-rc1 did not contain the fix. Error in packaging?

@gliljas  OK, thanks for testing. Then it isn't solved yet. Does it work in NLog 4.0.0 (it's broken in 4.0.1)

Sorry. The fault was with VS2015's NuGet update which claimed success, but didn't update the reference.

but is this now fixed in 4.1?

I checking this now, but can't reproduce

@gliljas a response ASAP would be great, a this issue blocks the release of 4.1. Thanks in advance!

It is fixed!

Great!
Thanks for the fast feedback!

4.1 has been released!


Add support for VoidTools Everything

Description of the new feature / enhancement
Everything is a tool that indexes all your disks and finds files within milliseconds (contrary to Windows Search which takes forever to locate files).
It comes with an ETP service so any local app can search its index for REALLY instantaneous file search.
Most people just disable Windows Search because not only it is VERY slow, but also consumes a huge amount of resources while indexing files.
Scenario when this would be used?
To find files on all disks with a decent performance.
Supporting information
Home page for the product: https://www.voidtools.com

community member has a plugin, this isn't something we'd directly build in. https://github.com/lin-ycv/EverythingPowerToys


pod install giving errors

Hi,
After I run pod install, I get these errors:
[!] A license was specified in podspec pusher_websocket_flutter but the file does not exist - .../ios/.symlinks/plugins/LICENSE
[!] Unable to read the license file ../../LICENSE for the spec pusher_websocket_flutter (0.1.1)
[!] Unable to read the license file ../../LICENSE for the spec pusher_websocket_flutter (0.1.1)
I see the license file but it at .../ios/.symlinks/plugins/pusher_websocket_flutter/LICENSE
Please help!
Thanks, Shilpi

This can be safely ignored, but I'll see if I can fix the issue.

Thanks Jason.
There are issues that I am running into with running the app in XCode and I
was wondering if this is the issue, but if this can be ignored, I'll look
into what's going on further.
This is the issue that I am getting, so I guess this is not related.
dyld: Symbol not found: OBJC_CLASS$_Reachability
Thanks, Shilpi
On Tue, Sep 1, 2020 at 10:55 AM Jason Rai<EMAIL_ADDRESS>wrote:

This can be safely ignored, but I'll see if I can fix the issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HomeXLabs/pusher-websocket-flutter/issues/23#issuecomment-684997507,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO77Z3JP4B42XMAX5O34QMTSDUROLANCNFSM4QR57HUQ
.

Sounds like you may be running into #11

Yes, but doesn't look like there is a solution posted for it.
On Tue, Sep 1, 2020 at 12:21 PM Jason Rai<EMAIL_ADDRESS>wrote:

Sounds like you may be running into #11
https://github.com/HomeXLabs/pusher-websocket-flutter/issues/11
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HomeXLabs/pusher-websocket-flutter/issues/23#issuecomment-685050481,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO77Z3IX2MEBAZ5H4JQ3VOLSDU3UHANCNFSM4QR57HUQ
.


go1.8: support for additional features

Many new important features will land in go1.8. Please see document:
https://docs.google.com/document/d/1F778e7ZSNiSmbju3jsEWzShcb8lIO4kDyfKDNm4PNd8/edit?usp=sharing for the full list.
Because these features are new we want drivers to implement them before they are released. Ideally they should be implemented by 2016-12-12 to allow for any driver provided feedback from implementation if necessary.

If no one else has time to work on this before 2016-12-12, I'd be willing to take a stab at it.  I'm currently wrapping a very limited interface around database/sql and gofreetds in my dbms_exporter project, and I'd much rather be able to use something standard and more flexible.

I don't use gofreetds via it's database/sql interface myself, but many thanks for the generous offer and best of luck :-)


Initializing docker database - --osm-file does not exist

Or I'm doing something wrong or there is a bug in version 3.3 on mac os (10.14.5).
I've downloaded poland-latest.osm.pbf and put it into a folder with path
/Users/me/repos/geocoding/data/poland
And then I've build the image and then I've run the following command:
_me $ docker run -t -v /Users/me/repos/geocoding/data/poland:/data nominatim  sh /app/init.sh /data/merged.osm.pbf postgresdata 4
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "C.UTF-8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory /data/postgresdata ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default timezone ... Etc/UTC
selecting dynamic shared memory implementation ... posix
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
Success. You can now start the database server using:
/usr/lib/postgresql/11/bin/pg_ctl -D /data/postgresdata -l logfile start

waiting for server to start....2019-07-09 06:39:53.426 UTC [27] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
2019-07-09 06:39:53.427 UTC [27] LOG:  could not bind IPv6 address "::1": Cannot assign requested address
2019-07-09 06:39:53.427 UTC [27] HINT:  Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2019-07-09 06:39:53.430 UTC [27] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2019-07-09 06:39:53.491 UTC [28] LOG:  database system was shut down at 2019-07-09 06:39:50 UTC
2019-07-09 06:39:53.514 UTC [27] LOG:  database system is ready to accept connections
done
server started
NOTICE:  database "nominatim" does not exist, skipping
DROP DATABASE
ERROR: the path supplied to --osm-file does not exist
string(46) "the path supplied to --osm-file does not exist"_

/data/merged.osm.pbf -> /data/poland-latest.osm.pbf
Except if you merged the file before?

Same here. Guide is not very clear at this point. I place my pbf file from spain, in ~/nominatim-data/spain-latest.osm.pbf and i get the same error after the first initialization.
BR!

Ok, got it. The you should change the file to run inside the container:
docker run -t -v ~/nominatim-data:/data nominatim  sh /app/init.sh /data/spain-latest.osm.pbf postgresdata 2

Yes, the pbf name is not the destination file name, but the data you want to read.

Perfect! Works now. Thanks @abandin-stratio and @mbrucher .
I'll create a pull request to make the guide clearer.

So I have read the thread down to this point but I am still having the same problem as macieg was originally. This is my print out....what am I missing??
john@ubuntu:/data/dump/nominatim$ docker run -t -v ~/nominatimdata:/data mediagis/nominatim sh /app/init.sh /data/dump/nominatim/on.osm.pbf postgresdata 2
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "C.UTF-8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory /data/postgresdata ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default timezone ... Etc/UTC
selecting dynamic shared memory implementation ... posix
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
Success. You can now start the database server using:
/usr/lib/postgresql/11/bin/pg_ctl -D /data/postgresdata -l logfile start

waiting for server to start....2020-04-15 17:05:41.263 UTC [29] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
2020-04-15 17:05:41.263 UTC [29] LOG:  could not bind IPv6 address "::1": Cannot assign requested address
2020-04-15 17:05:41.263 UTC [29] HINT:  Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2020-04-15 17:05:41.281 UTC [29] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2020-04-15 17:05:41.312 UTC [30] LOG:  database system was shut down at 2020-04-15 17:05:41 UTC
2020-04-15 17:05:41.331 UTC [29] LOG:  database system is ready to accept connections
done
server started
NOTICE:  database "nominatim" does not exist, skipping
DROP DATABASE
ERROR: the path supplied to --osm-file does not exist
string(46) "the path supplied to --osm-file does not exist"

Solved defined other volumen binding file *.pbf into container before execute sh /app/init.sh, example:
docker run -t -v ~/nominatimdata:/data mediagis/nominatim -v ~/pbf/on.osm.pbf:/home/nominatim/on.osm.pbf sh /app/init.sh /home/nominatim/on.osm.pbf postgresdata 2


OpenHPI

Hi @Petervarel - is there a concrete Issue ? As there is no description added.
Best Regards
Christian


sched/assert: Do not call the user space "exit" function

Summary
_assert is a kernel procedure, entered via system call to make the core dump in privileged mode.
Running exit() from this context is not OK as it runs the registered exit functions and flushes streams, which must not be done from privileged mode as it is a security hole.
Thus, call _exit() instead which is the kernel space system call.
Impact
Do not run user space code in kernel. The side effect is that atexit(), on_exit() and stream flushing is not performed on abnormal exit, but this is either a violation of POSIX or can be done either way.
Testing
icicle:nsh & knsh

Hmm, I think the behavior was changed by this https://github.com/apache/nuttx/pull/7791
Previously, _assert existed in user space and exit(EXIT_FAILURE) was executed in user space also, this is the correct behavior.
Now _assert is in kernel space and exit(EXIT_FAILURE) is executed with kernel privileges which is not correct.
I'm not sure if this patch is the correct way to fix this. I think we need to do this like it was done before:

Have a user space API called assert()
assert() makes system call to kernel to make the core dump, and then returns to user space
exit(EXIT_FAILURE) is executed from user space

This needs to be implemented in a better way

@xiaoxiang781216 and @XinStellaris can you please check this ?

@pussuw the change looks reasonable, sorry we forget the kernel/protected mode.


Can create new endpoint in API

For frontend we need next endpoint - something same /v2/trades/{currency}
GET
Description: Get currency's trades at last 24h
Param name: currency (Currency value contains usd,btc,xrp,bch,ltc,dash,eth,trst,USD,BTC,XRP,BCH,LTC,DASH,ETH,TRST) which located in path
Example:
GET /v2/trades/eth
response:
[{
"btc": {"price": 0.074587, "volume": 80120, "change": 0.36},
"usd": {"price": ..., "volume": ..., "change": ...}
}]

when:

volume - sum last 24h purchased ETH on market for eth & btc currencies
price - average ETH price in BTC
change - ratio price last 24h to an earlier period (in percentages)

Closed via #1368.


Unable to login on Android; Samsung S22.

Steps to Reproduce

Go to login screen.
Select login field.
The screen jumps as keyboard pulls up.
The login field is deselected.
Password field jumps the same way.

Attachments
No response
What platform(s) does this occur on?
Android
Device Info
Samsung Galaxy S24, Android 14 (Updated Sept 1)
What version of the app are you using?
1.93.0
Additional Information
Here is a reddit thread of others reporting the same: https://www.reddit.com/r/BlueskySocial/comments/1faklh2/can_anyone_help_i_cant_log_in_on_an_android_phone/

I have this issue as well, Samsung Galaxy A54, Android 14, OneUI 6.1

I was able to login by changing the default input method to Microsoft Swift Keyboard instead of Samsung Keyboard.

People who have this issue - what keyboard are you using?

For me, Samsung Keboard v <IP_ADDRESS> (latest) on Samsung S24 OneUI 6.1 Andorid v14> People who have this issue - what keyboard are you using?

I was able to login by changing the default input method to Microsoft Swift Keyboard instead of Samsung Keyboard.

Discovered the same thing, stop using the Samsung keyboard and you can sign into the app.
Then you can remove the additional keyboard and in app activities are fine.

Yes, changing the default keyboard worked for me as well.
Thanks for the tip.
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Dmitry Kotik @.>
Sent: Friday, November 15, 2024 1:25:01 PM
To: bluesky-social/social-app @.>
Cc: dnrh61 @.>; Comment @.>
Subject: Re: [bluesky-social/social-app] Unable to login on Android; Samsung S22. (Issue #6264)
I was able to login by changing the default input method to Microsoft Swift Keyboard instead of Samsung Keyboard.
—
Reply to this email directly, view it on GitHubhttps://github.com/bluesky-social/social-app/issues/6264#issuecomment-2479952881, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BM6FUX45C63VZY5HDRJURZL2AZRC3AVCNFSM6AAAAABRUOQUCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZZHE2TEOBYGE.
You are receiving this because you commented.Message ID: @.***>


Locale for it, de, es, fr

Added locale for it, de, es, fr.
Google translate was used for de, es, fr.
Bugfix: when create a new filter from another filter, the new filter was not "for_everyone" if so set.

@thomst I'd need a 0.3 release with these locales, if ok.
But in that release I'd also need global filter being editable by its owner. See https://github.com/thomst/django-admin-filter/pull/6#issuecomment-766858329

@thomst I'd need a 0.3 release with these locales, if ok.
But in that release I'd also need global filter being editable by its owner. See https://github.com/thomst/django-admin-filter/pull/6#issuecomment-766858329

Bugfix: when create a new filter from another filter, the new filter was not "for_everyone" if so set.

I've already fixed that.

Bugfix: when create a new filter from another filter, the new filter was not "for_everyone" if so set.

I've already fixed that.

@thomst I'd need a 0.3 release with these locales, if ok.
But in that release I'd also need global filter being editable by its owner. See #6 (comment)

@pyMan I will do a release soon. Please checkout the current master and try out the editing global filters by giving your user the extra permisssion. See my comment in #6.

@thomst I'd need a 0.3 release with these locales, if ok.
But in that release I'd also need global filter being editable by its owner. See #6 (comment)

@pyMan I will do a release soon. Please checkout the current master and try out the editing global filters by giving your user the extra permisssion. See my comment in #6.

Bugfix: when create a new filter from another filter, the new filter was not "for_everyone" if so set.

@pyMan Please do not mess up pull request. It is more easy to handle if you strictly do one pullrequest for each seperate issue.

Bugfix: when create a new filter from another filter, the new filter was not "for_everyone" if so set.

@pyMan Please do not mess up pull request. It is more easy to handle if you strictly do one pullrequest for each seperate issue.

Hi @thomst, I have seen 0.3 and 0.4 releases, but I was wondering why locales are not still included with pip install.

Hi @thomst, I have seen 0.3 and 0.4 releases, but I was wondering why locales are not still included with pip install.

@pyMan sorry... that was me... Again forgot to update the MANIFEST file. Locales should be included in version 0.5.


[Suggestion] CraftTweaker Support

Heya!
Thanks for updating to 1.12.x!
Would you consider adding CraftTweaker support for your machines?
https://github.com/jaredlll08/CraftTweaker

It would be definitley more convinient for the modpack authors, but it is not necessary since you can set up each and every machine recipes via internal format. So I would not see it as a big priority for the mod author.
Question is if the format he set up supports NBT or such custom things like damaging, I believe not. In that the MT3 is surely much better.

I wasn't aware there was an internal way to make recipes, woops ^^'


[animation & layout] Using animation for layout doesn't seem to work

I am using the following to try to animate the properties of a layout component:
<a-entity layout="type: box; columns: 4; margin: 1"  position="0 0 -5" animation__fadein="property: layout.margin; dur: 100; easing: linear; from 0; to: 5; startEvents: fadein">

I don't get it to work even if I try to do a simple rotation / position animation. For geometric entities it works normally.
The native animation component works.
Here is a jsfiddle:
jsfiddle

your code had several mistakes in a single line.
position: layout, not specifying margin, had a startEvents specified that was never triggered
<a-entity layout="type: box; columns: 4; margin: 0"  position="0 0 -5" animation="property: layout.margin; dur: 1000; easing: linear; from: 0; to: 5">


[drtv] subtitle empty

Checklist

[x ] I'm reporting a broken site support
[ x] I've verified that I'm running youtube-dl version 2021.12.17
[ x] I've checked that all provided URLs are alive and playable in a browser
[ x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ x] I've searched the bugtracker for similar issues including closed ones

Verbose log

$ youtube-dl -f HLS-560 https://www.dr.dk/drtv/se/spionkrigen-i-ringsted_-agenten_297110 --write-sub -v
[debug] System config: []
[debug] User config: ['--restrict-filenames']
[debug] Custom config: []
[debug] Command-line args: ['--prefer-free-formats', '-t', '-f', 'HLS-560', 'https://www.dr.dk/drtv/se/spionkrigen-i-ringsted_-agenten_297110', '--write-sub', '-v']
WARNING: --title is deprecated. Use -o "%(title)s-%(id)s.%(ext)s" instead.
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.2 (CPython) - Linux-5.10.89-gnu1-1-lts-x86_64-with-glibc2.35
[debug] exe versions: ffmpeg present, ffprobe present, rtmpdump 2.4
[debug] Proxy map: {}
[drtv] spionkrigen-i-ringsted_-agenten_297110: Downloading webpage
[drtv]<PHONE_NUMBER>0: Downloading video JSON
[drtv]<PHONE_NUMBER>0: Downloading m3u8 information
[drtv]<PHONE_NUMBER>0: Downloading m3u8 information
[drtv]<PHONE_NUMBER>0: Downloading m3u8 information
[info] Writing video subtitles to: Spionkrigen_i_Ringsted_1_4_-_Agenten-00242105010.da.vtt
[debug] Invoking downloader on 'https://drod09h-vh.akamaihd.net/i/all/clear/streaming/5d/61f40be9aa5a612b344e0c5d/Spionkrigen-i-Ringsted_b8e4eadf521344929e67691987d35f10_,500,1100,2000,3500,5500,.mp4.csmil/index_0_av.m3u8?null=0'
[download] Spionkrigen_i_Ringsted_1_4_-_Agenten-00242105010.mp4 has already been downloaded
[download] 100% of 126.82MiB
[debug] ffmpeg command line: ffprobe -show_streams file:Spionkrigen_i_Ringsted_1_4_-_Agenten-00242105010.mp4

Description

The downloaded subtitle is practically empty.
$ cat Spionkrigen_i_Ringsted_1_4_-_Agenten-00242105010.da.vtt
WEBVTT

The official player has subtitles that can be enabled (the video contains a lot of arabic)

I can reproduce this. It looks like the same issue would be seen with yt-dlp too, so no easy fix there.
There are pending fixes for DRTV, but I don't think subtitles are affected, so some debugging is needed.

I debugged a little.

This request for the master.m3u8 has the link to the vtt playlist with all the segments
curl 'https://drod09h-vh.akamaihd.net/i/all/clear/streaming/5d/61f40be9aa5a612b344e0c5d/Spionkrigen-i-Ringsted_b8e4eadf521344929e67691987d35f10_,500,1100,2000,3500,5500,.mp4.csmil/master.m3u8?cc1=name=Fremmedsprogstekster~default=yes~forced=no~lang=da~uri=https://drod09h-vh.akamaihd.net/p/allx/clear/download/5d/61f40be9aa5a612b344e0c5d/subtitles/Foreign-19324737-6e40ee8a-1569-4676-bdc0-3396bd943dd1/playlist.m3u8&cc2=name=Dansk~default=no~forced=no~lang=da~uri=https://drod09h-vh.akamaihd.net/p/allx/clear/download/5d/61f40be9aa5a612b344e0c5d/subtitles/Foreign_HardOfHearing-19324737-6e40ee8a-1569-4676-bdc0-3396bd943dd1/playlist.m3u8' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate, br' -H 'Origin: https://www.dr.dk' -H 'Connection: keep-alive' -H 'Referer: https://www.dr.dk/' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: cross-site'

The link is in a comment https://drod09h-vh.akamaihd.net/p/allx/clear/download/5d/61f40be9aa5a612b344e0c5d/subtitles/Foreign-19324737-6e40ee8a-1569-4676-bdc0-3396bd943dd1/playlist.m3u8
->

->
e.g. segment 6 here has subtitles

So --list-subs gives
Available subtitles for<PHONE_NUMBER>0:
Language formats
da       vtt, vtt, vtt, vtt, vtt

while --all-subs just downloads the single dud .vtt.
The extractor looks up the show in https://www.dr.dk/mu-online/api/1.4/programcard. There are three assets in the returned programme metadata, each with two subtitle URLs, except the third which only has one.
[[
  {
    "MimeType": "text/vtt;charset=utf-8",
    "Type": "Foreign",
    "Uri": "https://drod09h-vh.akamaihd.net/p/allx/clear/download/5d/61f40be9aa5a612b344e0c5d/subtitles/Foreign-19324737-6e40ee8a-1569-4676-bdc0-3396bd943dd1.vtt",
    "Language": "Danish"
  },
  {
    "MimeType": "text/vtt;charset=utf-8",
    "Type": "Foreign_HardOfHearing",
    "Uri": "https://drod09h-vh.akamaihd.net/p/allx/clear/download/5d/61f40be9aa5a612b344e0c5d/subtitles/Foreign_HardOfHearing-19324737-6e40ee8a-1569-4676-bdc0-3396bd943dd1.vtt",
    "Language": "Danish"
  }
],
[{
  "MimeType": "text/vtt;charset=utf-8",
  "Type": "Foreign",
  "Uri": "https://drod04f-vh.akamaihd.net/p/allx/clear/download/89/61f40c63af5a612af86c7e89/subtitles/Foreign-19324737-6e40ee8a-1569-4676-bdc0-3396bd943dd1.vtt",
  "Language": "Danish"
},
{
  "MimeType": "text/vtt;charset=utf-8",
  "Type": "Foreign_HardOfHearing",
  "Uri": "https://drod04f-vh.akamaihd.net/p/allx/clear/download/89/61f40c63af5a612af86c7e89/subtitles/Foreign_HardOfHearing-19324737-6e40ee8a-1569-4676-bdc0-3396bd943dd1.vtt",
  "Language": "Danish"
}
],
[{
  "MimeType": "text/vtt;charset=utf-8",
  "Type": "Foreign_HardOfHearing",
  "Uri": "https://drod01e-vh.akamaihd.net/p/allx/clear/download/9e/61fbf808a95a612450c32a9e/subtitles/Foreign_HardOfHearing-19324737-09b133ba-24c7-4b05-a548-a12d9396d3f0.vtt",
  "Language": "Danish"
}
]]

This becomes clearer when we look at each asset:
(Pdb) p assets[0]
{u'Kind': u'VideoResource', u'Target': u'Default', ...
(Pdb) p assets[1]
{u'Kind': u'VideoResource', u'Target': u'SpokenSubtitles', ...
(Pdb) p assets[2]
{u'Kind': u'VideoResource', u'Target': u'SignLanguage', ...

The fifth URL in the list above is selected as the best if no --sub-format option was specified, as the subtitle list is supposed to be sorted from least to best preference, and that is the dud subtitle file for the signed version.
There are several problems here:

the extractor demotes video formats for Targets that are SpokenSubtitles, SignLanguage, or VisuallyInterpreted, but doesn't distinguish the corresponding subtitles;
yt-dl has no preference attribute for subtitles: the language tag and subtitle type (vtt/srt/...) are the only available discriminators;
the --all-subs option doesn't actually download every subtitle listed by --list-subs (even though the help says it should 'Download all the available subtitles of the video'), but just the preferred one for each language.

Looking at the available subtitles:

Danish Foreign: presumably the non-Danish speech is rendered;
Danish ForeignHardOfHearing: presumably all speech is rendered?
Danish Foreign SpokenSubtitles: presumably the non-Danish speech is rendered (actually same as 1);
Danish ForeignHardOfHearing SpokenSubtitles: presumably all speech is rendered? (probably same as 2)
Danish Foreign SignLanguage: it's not obvious why there shouldn't be valid subtitles available so that non-DSL 'speakers' can also watch and get the foreign speech translated.

It's also not obvious why there shouldn't be Danish ForeignHardOfHearing SignLanguage subtitles to allow DSL and non-DSL speakers to watch together.
The extractor could assign a different language code for subtitles extracted from SignLanguage and VisuallyInterpreted Targets, such as sgn-dsl.
There isn't an official language code that means language X translations from other languages plus original language X. Maybe we could invent dan-da for this.
--- old/youtube-dl/youtube_dl/extractor/drtv.py
+++ new/youtube-dl/youtube_dl/extractor/drtv.py
@@ -15,6 +15,7 @@
     int_or_none,
     intlist_to_bytes,
     float_or_none,
+    ISO639Utils,
     mimetype2ext,
     str_or_none,
     try_get,
@@ -268,7 +269,12 @@
                     if not sub_uri:
                         continue
                     lang = subs.get('Language') or 'da'
-                    subtitles.setdefault(LANGS.get(lang, lang), []).append({
+                    lang = LANGS.get(lang, lang)
+                    if asset_target in ('SignLanguage', 'VisuallyInterpreted'):
+                        lang = 'sgn' + ('-dsl' if lang == 'da' else '')
+                    elif 'HardOfHearing' in subs.get('Type', ''):
+                        lang = '-'.join((ISO639Utils.short2long(lang), lang))
+                    subtitles.setdefault(lang, []).append({
                         'url': sub_uri,
                         'ext': mimetype2ext(subs.get('MimeType')) or 'vtt'
                     })

Then with this list output, the Danish Foreign subtitle file can be selected with --sub-lang da:
Available subtitles for<PHONE_NUMBER>0:
Language formats
sgn-dsl  vtt
dan-da   vtt, vtt
da       vtt, vtt

Although yt-dlp has a small change in subtitle processing, this issue would apply.


Clock widget does not respect timezone

Environment
Docker
Version
0.13.4
Describe the problem
Hey guys!
I was trying to add a small area with different clock timezones and their weather.
As you can see, the weather widget appears to be working properly. Displaying the the information for the correct timezone.
But for the clocks, they are only displaying the local time no matter how  I try to change it.
I tried looking for "homarr clock timezone" bugs but couldnt find anything.
Is there anything I can do to fix this?
Logs
No response
Context

Please tick the boxes

[x] I confirm that I attached the proper logs
[X] I've read the docs
[X] I've checked for duplicate issues
[X] I've tried to debug myself

To check back after next release as some modifications to it were already done.

Fixed in v0.14.0 (hopefully)

not yet fixed in 0.14.1 :(

Fixed in v0.14.0 (hopefully)

Alas, I still experience the same issue after updating to 0.14.1

So London doesn’t work?

So London doesn’t work?

my current timezone (London) is the only one that works. any other I try to add, be it NY, TO or tokyo, always show the current timezone.

Note, those are 3 different users and may be facing a different problem resulting in that bug.
@Maxtti12 Did 0.14.1 fix your original issue?
@amirasyraf your issue seem to only be 1 clock and not all of them, I recommend removing that clock specifically and re-add it. Maybe 0.14.1 helped in fixing it too.
@ajnart @Meierschlumpf
Now, I think what I'll do for the timezone, since we changed the dependency to the lightweight browser version, I might just try and put it client-side instead if you guys are ok with it? (Since we don't cache it, it's not like it matters right now)

Note, those are 3 different users and may be facing a different problem resulting in that bug.
@Maxtti12 Did 0.14.1 fix your original issue?
@amirasyraf your issue seem to only be 1 clock and not all of them, I recommend removing that clock specifically and re-add it. Maybe 0.14.1 helped in fixing it too.
@ajnart @Meierschlumpf
Now, I think what I'll do for the timezone, since we changed the dependency to the lightweight browser version, I might just try and put it client-side instead if you guys are ok with it? (Since we don't cache it, it's not like it matters right now)

I agree with it. But you can still make use of basic caching using react query (just don't do a fetch and just return the result so that it can be awaited properly)
Did we check if the coords for London are correct ? It might be an issue with that

Did we check if the coords for London are correct ? It might be an issue with that

I just tried, coordinates are correct but it's not resolving the right timezone, will follow up on that.
@amirasyraf seems like it's not an issue with you, so disregard my last comment

Note, those are 3 different users and may be facing a different problem resulting in that bug.
@Maxtti12 Did 0.14.1 fix your original issue? @amirasyraf your issue seem to only be 1 clock and not all of them, I recommend removing that clock specifically and re-add it. Maybe 0.14.1 helped in fixing it too.
@ajnart @Meierschlumpf Now, I think what I'll do for the timezone, since we changed the dependency to the lightweight browser version, I might just try and put it client-side instead if you guys are ok with it? (Since we don't cache it, it's not like it matters right now)

The issue is gone on my side. Thx for the update. Sorry i don't have more info for you guys to pinpoint the exact problem.


[Relay][Pass] Count MAC for BatchMatMul

Thanks for contributing to TVM!   Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers by @ them in the pull request thread.
@yidawang @zhiics

this pass in general ignore all control flow/scope. One thing we might want to do in future is to check that no control flow exist (possibly by using FEATURE).

Thanks @icemelon9 @MarisaKirisame @yidawang. This is now merged.


Support specifying port ranges in task requirements

A shorthand for reserving a block of ports:
ports:
  foo:
    port-begin: 1000
    port-end: 1500

Results in default envvars of:
PORT_FOO_BEGIN = 1000
PORT_FOO_END = 1500

Note: blocks of dynamic ports are not supported -- the validator checks for this

Let's discuss before merging this.


Update publish dialog UI

Updating the publish dialog with the latest UI changes:

changed "Connection" to "Server"
show "server (user)" instead of connection string
disabled server text box
change icon before and after connection is selected
moved blue icons out of dark and light folders so they aren't duplicated
widened sqlcmd table a little to make text boxes align

Coverage remained the same at 40.524% when pulling 52fed6345d943e6e9749a21465c5fabfca251151 on kisantia/updatePublishDialog into 70399be699a407f463b71a3b2077d1edecfc6208 on main.


[android_intent] Support the v2 Android embedder plugins API

Current migration guide: https://github.com/flutter/flutter/wiki/Experimental:-Create-Flutter-Plugin

Double checked this with the Flutter SDK lower bound and didn't notice any regressions.


Add staindirundeng

@philipto I've made a new request

@mukhlizar Thank you for the update! Pull request merged.

@philipto  Thank you so much


FEATURE: Replace Adobe Reader

Problem
The install script downloads and installs Adobe Acrobat Reader and an update for it. This increases the total time for install by around 400 MB and few more minutes depending on the host machine.
[2019-08-02T21:56:08.1355540+01:00:::PID 4332] Download of AcroRdrDC1901020064_MUI.exe (261.05 MB) completed.
Download of AcroRdrDC1901020064_MUI.exe (261.05 MB) completed.
[2019-08-02T22:02:24.7965976+01:00:::PID 4332] Download of AcroRdrDCUpd1901220035_MUI.msp (132.78 MB) completed.
Download of AcroRdrDCUpd1901220035_MUI.msp (132.78 MB) completed.

Proposal
Replace AAR with SumatraPDF which is a lot lighter (~5 MB zipped) or some other FOSS PDF viewer (PDFXChange/FoxIt).

removed adobe from default install #147


plugins_dir and job_dir don't default correctly

Hi
If you set localstatedir eg...
class { '::jenkins':
  localstatedir => '/data/jenkins'
}

I would not expect to also have to set plugins_dir and job_dir.
But, if you don't, they still default to /usr/lib/jenkins/plugins and  /usr/lib/jenkins/jobs.

f5b5f405 (Joshua Hoblitt    2015-10-11 14:15:19 -0700 225)   $plugin_dir = "${localstatedir}/plugins"
f5b5f405 (Joshua Hoblitt    2015-10-11 14:15:19 -0700 226)   $job_dir = "${localstatedir}/jobs"

What version of the module are you using? Which distro?

Good point!  Latest git version (on OEL6)
It looks like 1.6.1 would work fine.  I think this is a regression caused by https://github.com/jenkinsci/puppet-jenkins/commit/00a90d4d162bca20eb1e04554def4ca45028affb
jenkins::plugin_dir now defaults to ::jenkins::params::plugin_dir which is based on ::jenkins::params::localstatedir.
https://github.com/jenkinsci/puppet-jenkins/blob/master/manifests/init.pp#L206
But that's only the default.  If you supply a value for localstatedir, it's not used as part of the default to plugin_dir anymore.


Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.
Atom.Object.defineProperty.get (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/atom.js:54:11)
Object.activate (/Users/james/.atom/packages/preview/lib/preview.coffee:26:9)

dupe of #82


HTTP/2 ignores user-specified Host header

[X] Feature Request. Start by telling us what problem you’re trying to solve. Often a solution
already exists! Don’t send pull requests to implement new features without first getting our
support. Sometimes we leave features out on purpose to keep the project small.

I think the code here ignores the 'Host' header in a Request and pulls it straight out of the URI instead:
  public static List<Header> http2HeadersList(Request request) {
    Headers headers = request.headers();
    List<Header> result = new ArrayList<>(headers.size() + 4);
    result.add(new Header(TARGET_METHOD, request.method()));
    result.add(new Header(TARGET_PATH, RequestLine.requestPath(request.url())));
    result.add(new Header(TARGET_AUTHORITY, Util.hostHeader(request.url(), false))); // Optional.
    result.add(new Header(TARGET_SCHEME, request.url().scheme()));

    for (int i = 0, size = headers.size(); i < size; i++) {
      // header names must be lowercase.
      ByteString name = ByteString.encodeUtf8(headers.name(i).toLowerCase(Locale.US));
      if (!HTTP_2_SKIPPED_REQUEST_HEADERS.contains(name)) {
        result.add(new Header(name, headers.value(i)));
      }
    }
    return result;
  }

I assume this Request has gone through BridgeInterceptor, in which case it's either guaranteed to have a user-specified 'Host' header, or to have already been populated from the Uri, in which case I think it should be safe to replace:
    result.add(new Header(TARGET_AUTHORITY, Util.hostHeader(request.url(), false))); // Optional.

with:
    result.add(new Header(TARGET_AUTHORITY, request.header("Host"))); // Optional.

This might seem silly, but user-specified host headers are essential for those of us who depend on domain fronting to circumvent censorship. Happy to submit a PR if this seems acceptable.

Makes sense. Can do.


Elements in canvas not clickable after 2.4.2

I have a few pages that utilize OpenseadragonHTMLelements.js and lightboxes via Glightbox.js
For reasons I have not identified, click events in the placed elements don't 'fire' if any version after 2.4.2 is used.
Any help would be appreciated.
Providing 2 links.
Using version 2.4.2 and lightboxes fire as expected.
https://chattanoogahistory.com/streetscenes
Using version 5.0.0 and clicks aren't recognized / no lightboxes
https://chattanoogahistory.com/streetscenes_broken

I'm not sure exactly when this would have changed, but I think you may need to use the MouseTracker () so that OpenSeadragon doesn't consume the click event before the overlay event. Here's an old stack overflow post that looks similar: https://stackoverflow.com/questions/40150086/openseadragon-prevent-canvas-click-if-overlay-is-clicked.
@msalsbery Thoughts?
On a side note, the map with the photos you have there is very nice looking! Have you considered making each photo its own TileSource so you can just zoom straight into the photo?

I'm not sure exactly when this would have changed, but I think you may need to use the MouseTracker () so that OpenSeadragon doesn't consume the click event before the overlay event. Here's an old stack overflow post that looks similar: https://stackoverflow.com/questions/40150086/openseadragon-prevent-canvas-click-if-overlay-is-clicked.
@msalsbery Thoughts?

Yes, I recall MouseTracker was potentially a solution.

On a side note, the map with the photos you have there is very nice looking! Have you considered making each photo its own TileSource so you can just zoom straight into the photo?

That sounds like a good solution, if those tiles zoom relative to the background and can be globally toggled off/on.
I went with what worked before - fully admitting my JavaScript limitations and would welcome a link to an example.
Thank you.

I'm not sure exactly when this would have changed, but I think you may need to use the MouseTracker () so that OpenSeadragon doesn't consume the click event before the overlay event. Here's an old stack overflow post that looks similar: https://stackoverflow.com/questions/40150086/openseadragon-prevent-canvas-click-if-overlay-is-clicked.
@msalsbery Thoughts?

Yes, I recall MouseTracker was potentially a solution.

@SamHall
Yes, definitely a potential solution. A lot has changed since 2.4.2!
I haven't seen OpenSeadragonHTMLelements so I'm not sure where this can be patched, but if you are handling pointer events, this codepen should show what you need to handle it.
I'm taking a look at OpenSeadragonHTMLelements to see if I can patch that for modern OpenSeadragon versions

@SamHall  I forgot to mention, I agree with @pearcetm the map looks really nice!

@SamHall I forgot to mention, I agree with @pearcetm the map looks really nice!

Thank you. I make Openseadragon do a lot of 'tricks', but sometimes it's not pretty under the hood.
I'll review the Codepen links and experiment.

@SamHall
I've looked at the overlay plugin...no event handling there so the example in the CodePen I linked above should work well.
Let me know if you have any issues!

Thanks to @msalsbery and my new best coding friend, ChatGPT, the feature works on version 5.
Full code on previously broken page: https://chattanoogahistory.com/streetscenes_broken
Relevant portions here:
// MouseTracker setup for the overlay element (initialized after the viewer is ready)
    viewer.addHandler('open', function() {
        new OpenSeadragon.MouseTracker({
            userData: 'overlay1.Tracker',
            element: document.getElementById('overlay1'), // Safely fetch the newly created element
            preProcessEventHandler: function (eventInfo) {
                var $target = $(eventInfo.originalEvent.target);
                switch (eventInfo.eventType) {
                    case 'pointerdown':
                    case 'pointerup':
                        eventInfo.stopPropagation = true;
                        if ($target.is('a')) {
                            eventInfo.preventDefault = false;
                            eventInfo.preventGesture = true;
                        }
                        break;
                    case 'click':
                        eventInfo.stopPropagation = true;
                        if ($target.is('a')) {
                            eventInfo.preventDefault = false;
                        } else {
                            eventInfo.preventDefault = true;
                        }
                        break;
                    case 'contextmenu':
                        eventInfo.stopPropagation = true;
                        eventInfo.preventDefault = false;
                        break;
                    default:
                        break;
                }
            },
            clickHandler: function(e) {
                $('#overlay1').toggleClass('selected');
            }
        });
    });
var hEl = viewer.HTMLelements(); // HTML element manager
// Function to create an HTML element
function createHTMLElement(elementType, backgroundImageUrl, linkUrl, isLink = false) {
    var element = document.createElement(elementType);
    element.style.backgroundImage = `url('${backgroundImageUrl}')`;
    element.style.backgroundRepeat = 'no-repeat';
    element.style.backgroundSize = 'cover';
    element.className = 'highlight';
    if (isLink && elementType === 'a') {
        element.style.display = 'block';
        element.href = linkUrl;
        element.className = 'glightbox';
    }
    return element;
}
// Function to add an element to the OpenSeadragon canvas
function addElementToHEl(id, element, x, y, width, height) {
    hEl.addElement({
        id: id,
        element: element,
        x: x,
        y: y,
        width: width,
        height: height,
        fontSize: 1
    });
    // Initialize MouseTracker for the element
    new OpenSeadragon.MouseTracker({
        userData: id + '.Tracker',
        element: element,
        preProcessEventHandler: function (eventInfo) {
            var $target = $(eventInfo.originalEvent.target);
            switch (eventInfo.eventType) {
                case 'pointerdown':
                case 'pointerup':
                    eventInfo.stopPropagation = true;
                    if ($target.is('a')) {
                        eventInfo.preventDefault = false;
                        eventInfo.preventGesture = true;
                    }
                    break;
                case 'click':
                    eventInfo.stopPropagation = true;
                    if ($target.is('a')) {
                        eventInfo.preventDefault = false;
                    } else {
                        eventInfo.preventDefault = true;
                    }
                    break;
                case 'contextmenu':
                    eventInfo.stopPropagation = true;
                    eventInfo.preventDefault = false;
                    break;
                default:
                    break;
            }
        },
        clickHandler: function(e) {
            $(element).toggleClass('selected');
        }
    });
}


Use case: "Swarm"

I wanted to describe an interesting use-case for coroutines, provided that they support serialization of the continuation (which seems to be the case based on a few mentions in the docs).
"Swarm" is a proposal for an approach to distributed computation based on the idea of "move the computation, not the data".  While map-reduce employs a similar philosophy, it is rather constrained.  Swarm will generalize this idea to allow almost any type of computation to be distributed automatically across multiple computers.
The idea is that data is stored as an object graph (much as in a normal JVM), however this object graph is distributed over multiple computers, and the objects can reference objects on remote computers.
A thread runs and operates on this object graph as normal, until it attempts to dereference an object on a remote machine.  At this point, the thread is frozen, serialized, sent across the network to this remote machine, deserialized, and it resumes, all transparently to the programmer.
Of course, jumping between machines is a very expensive operation relatively speaking, and so we employ a separate supervisor process to monitor how objects are being accessed, and attempt to arrange data that tends to be accessed together on the same machine, employing a clustering algorithm.
In doing so, algorithms can be implemented in a much more flexible way than map-reduce, and thanks to the clustering algorithm, if there is a way to distribute this computation efficiently, Swarm will do it.
Sharing CPU and storage across multiple machines isn't the only application for this idea.  For example, in theory it could break down the barrier between code running in a web browser and code running on a server, allowing a programmer to modify the browser's DOM in one line, and then immediately access a database on the server on the very next line of code.  The programmer can focus on what their code is doing, rather than having to architect everything around a client-server divide.
I don't know if Kotlin's JavaScript compiler will be interoperable with Java such that you could transfer a continuation between them, and it would also be necessary to deal with the fact that a browser is an untrusted execution environment.
Swarm has a rudimentary working prototype implemented in Scala using Scala's "delimited continuations" plugin, but this has been deprecated, and I much prefer Kotlin over Scala anyway.
Much more here (including the rudimentary Scala prototype): http://swarmframework.org/

Kotin coroutines are conceptually similar to Scala's delimited continuations, so the Swarm implementation should be readily portable to Kotlin. Here is a correspondence between the corresponding Scala and Kotlin's primitives:

reset corresponds to startCoroutine in Kotlin
shift corresponds to suspendCoroutine in Kotlin

@elizarov Yes, I think the main question was the serializability of the coroutine, am I correct in believing that coroutines are now serializable?

Kotlin coroutines have been serializable since inception (in previous revision, too) in the same way as Scala's delimited continuations are, so I don't see any migration barrier here.

Thank you.  It took me a while to get my head around shift/reset back when I did the original Swarm prototype a few years ago in Scala.  Many braincells have died since then but I'm going to dig into this today and try to refresh my memory.
Thank you for your help @elizarov


file path including characters like "üõöä" not working

error, when double-clicking on file, which path includes unicode characters (non-latin?), a la õäöü etc
drag and drop to player (from same location) works fine
it might be OS/filesystem naming issue
i'm on Win 10 pro
best regards,
Risto

Hi, thanks for the bug report; I'll add this to the list of fixes for the next version.

Hi, this should be fixed with the new version I just released, 1.3; give it a try and see if it works for you as well. You can download the new version here:
http://djv.sourceforge.net/Download.html

yes, it's fixed
thank you!

Great, thanks for testing it out!


Added autoLink to layouts

Checklist

[x] Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
[x] If this PR comes from a fork, please Allow edits from maintainers
[x] Set a speaking title. Format: {task_name} (closes #{issue_number}). For example: Use logger (closes # 41)
[x] Link your Pull Request to an issue (if applicable)
[x] Create Work In Progress [WIP] pull requests only if you need clarification or an explicit review before you can continue your work item.
[x] Make sure that your PR is not introducing unnecessary reformatting (e.g., introduced by on-save hooks in your IDE)
[x] Make sure that your PR does not contain changes in strings.xml (see issue #332)
[x] Make sure that your PR does not contain compiled sources (already set by the default .gitignore) and / or binary files

Description

Added autoLink in fragment_information_legal.xml, fragment_information_contact and include_information_details.xml.
It's a nice little improvement to easily call, write or visit a telephone number, an email or a website  to the given information. With on click the telephone app, the mail app or the browser will start.

Hi @eliaszemanek ,
thanks for your contribution! :) We are currently investigating internally if that's a wanted behaviour. I'll come back to you if we have decision.
Thanks,
Luka

Hi @harambasicluka
I changed the textColor to colorTextTint

Cheers,
Elias


docs: Add Getting Started guide for Gateway API support

Relates: https://github.com/cilium/cilium/pull/21749
The changes can be reviewed in https://deploy-preview-21908--docs-cilium-io.netlify.app/
docs: Add Getting Started guide for Gateway API support

I'd label with release-note/misc? There's no new feature introduced in this PR, only documentation?

As mentioned on Slack, I think the docs missed the part where we need to deploy the GatewayClass. I may have missed something though but if not, we just need to add a GatewayClass Resource for Cilium on this manifest: https://github.com/cilium/cilium/blob/master/examples/kubernetes/gateway/basic-http.yaml

As mentioned on Slack, I think the docs missed the part where we need to deploy the GatewayClass. I may have missed something though but if not, we just need to add a GatewayClass Resource for Cilium on this manifest: https://github.com/cilium/cilium/blob/master/examples/kubernetes/gateway/basic-http.yaml

Default GatewayClass is installed as part of cilium helm chart, provided that CRD is installed in advance.


Validate with #/.. does't work when used with custom keywords

What version of Ajv are you using? Does the issue happen if you use the latest version?
6.10
Ajv options object
JSON Schema
Sample data
Your code
https://runkit.com/embed/gfk2ixcd5gbp

Validation result, data AFTER validation, error messages
Error: no schema with key or ref "#/definitions/Data"

What results did you expect?
To find and validate the schema. It works without the custom keyword (just remove addKeyword and it works as expected).
Are you going to resolve the issue?
I have no clue why is this happening and how to fix it.

Weird. It does it even if the keyword is not used: https://runkit.com/esp/5cc168d8b741f4001afde85e

Actually, a bigger question is why it works without addKeyword... You need to use $id with schemas that are added (rather than just compiled).

Yes, it works with $id. Thanks


Triggering via key press as an option.

Awesome job, best implentation yet!
The "hey smth" routine is really getting old - not your fault, of course. :)
How about pressing space to talk, like in Zoom? Perhaps, only when the options screen is in focus?
Super simple, large target key impossible to miss, smoother expererence for the family members we're trying to impress.
Thanks.

Thanks, I'm glad you find it useful!
It's a good idea. How about a key bind, something like Cmd/Ctrl + Shift from anywhere in the browser?

Cool. It's a simple addition. If no one else takes it, I'll try to do it tomorrow.

Just to clarify, I think the key bind will trigger the "Hey ..." flow (i.e., one press will make the assistant start listening for a command), rather than be a "listen while pressed".

It is like Google Home. I'm getting reasonably consistent behavior from "Hey girl" if there isn't a lot of noise. You can customize it in the options tab to something more straightforward like "Hi". Note that there are 2 options to prompt -

Say the trigger, wait for the beep and red icon, and then state your command.
Say the trigger and immediately state your command.
In any case, I'll see what I can do about triggering it from the key bind. :)

Available in 1.6.0 from Releases. Version 1.4.2 was introduced to the Chrome Web Store, so I'll submit the updated version.

Ctrl+Shift+E in edge trigger search, so it would be better to have a different one or to be able to change it ourselves...


Feature: Context-aware Rules

What rule do you want to change?
perfectionist/sort-objects
Describe the problem
This not strictly limited to the /sort-objects rule, but I'll use it as an example.
Often, the most intuitive ordering is contingent on the other keys present in an object.
For example if an object is intended to represent a color or a quaternion, alphabetical or natural sorting doesn't align with convention.
It's challenging to describe these context-driven rules using groups and custom-groups without interfering with more general cases, since each key is considered atomically.
Code example
Natural or alphabetical sort is makes sense in most cases:
const multipleChoice = {
	a: true,
	b: false,
	c: false
};

But the canonical ordering of certain data structures is different, for example:
// Desired:
const quaternion = {
	x: 0,
	y: 0,
	z: 0,
	w: 0
};

// Perfectionist:
const quaternion = {
	w: 0
	x: 0,
	y: 0,
	z: 0,
};

Or:
// Desired:
const color = {
	r: 0.8,
	g: 0.5,
	b: 0.5,
	a: 0.25
};

// Perfectionist:
const color = {
	a: 0.25
	b: 0.5,
	g: 0.5,
	r: 0.8,
};

I've come up with a rather sketchy rule configuration that can cover the quaternion and color and a couple other cases, but still ends up breaking in the multipleChoice case... but can't figure out how to cover all cases without some awareness of the what the entire set of keys to be sorted is.
Additional comments
I'm not sure what the best way to expose this functionality might be, perhaps groups could become a record of arrays keyed with some kind of predicate that is run over each key in the object to identify if it's a candidate for a particular group of sorting rules.
It's also possible I'm just missing something about the possibilities already available through groups and custom-groups.
Thanks for a great tool.
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

Thank you for your issue!
I think it would be quite difficult to implement. Do you have any ideas what an API for such a feature would look like?

Added in a3ee3ffeb88a69937d563cb8ac877507aec3b47a.
Released in v4.3.0.

Thanks! This looks great.


Udpate algolia client to 3.7.8

3.7.8 fixes issues related to using Algolia with Twitter typeahead (amongst other things)

Thanks for the PR!


"Unsupported FieldType" for FieldTypeTp::Geometry

Bug Report
With a branch of TiDB that has initial support for geometric data types everything works with the unistore, but not with TiKV.

/type bug
/severity minor


it seems a network exception,it seems just broke one network packet can cause the exception？

InvalidOperationException: An attempt was made to transition a task to a final state when it had already completed.
System.Threading.Tasks.TaskCompletionSource1[TResult].SetResult (TResult result) (at <695d1cc93cca45069c528c15c9fdd749>:0) MultiplayerMod.Platform.Steam.Network.SteamServer.ConnectedToSteamCallback () (at <9d5476f5734f4b7186d16fe17f585d05>:0) MultiplayerMod.Platform.Steam.Network.SteamServer.<Initialize>b__44_0 (Steamworks.SteamServersConnected_t _) (at <9d5476f5734f4b7186d16fe17f585d05>:0) Steamworks.Callback1[T].OnRunCallback (System.IntPtr pvParam) (at <265662ccba5f4b45b650e9f26e9148fe>:0)
UnityEngine.Debug:LogException(Exception)
Steamworks.CallbackDispatcher:ExceptionHandler(Exception)
Steamworks.Callback`1:OnRunCallback(IntPtr)
Steamworks.CallbackDispatcher:RunFrame(Boolean)
Steamworks.GameServer:RunCallbacks()
MultiplayerMod.Platform.Steam.Network.SteamServer:Tick()
MultiplayerMod.Platform.Steam.Network.Components.SteamServerComponent:Update()
Build: U49-577063-V

Yes, that's it, we rely on Steam stable connection for now. We plan to address it in the QoL 2 release.


Allow modals to have button props

This is an alternative — and more generic — implementation to #1047 that fixes #1048.
@metonym Which one do you prefer?

Closing in favor of #1047