Partial rewrite

Hey,
I took a first shot at a partial rewrite. Basically:

In Julia, the standard way to do things is to use types, multiple dispatch, and pass objects around instead of only values.
If statements are better handled at compile time by the compiler
You had a lot of redundant code.
 See there for the full API : https://juliastats.org/Distributions.jl/latest/extends/#Univariate-Distribution

I was going to try it, but then realize you do not have tests implemented for your functions... So take this with a grain of salt until we have proper benchmark to see if my code actually runs like yours did or not.
There is potential for more improvements, but until a proper test suite is in place this is difficult to understand what you really want to do with it :)
Tell me what you think and/or provide me a testing use case if you want me to dig a bit more around.

Hi Oskar,
Thank you for your comments and the proposed changes.
I started this project as a learning exercise as I just started programming in Julia in the last couple of months. I decided to translate one of my R packages (HazReg). As you can see, my programming proficiency in Julia (and in general :D ) is not that great. This being said, I think the package has potential to be applicable in real data, as the models go beyond the sempiternal proportional hazards model.
I agree with your points 1-3. I was aware the implementation was suboptimal, but I was not clear how to do it using structures. So, I left this part for the future.  Regarding point 4, I know many things are already implemented for common distributions, but hazard functions do not seem to be one of them, specially for the less common distributions such as GenGamma, PGW, and EW.
Indeed, one of the limitations in the first release is the lack of formal tests. However, I "informally" tested the functions in the real data applications (where I basically used and tested/used all functions).
So, there are still quite a few things to improve in the package. Now, my questions are:

Are you interested in doing a more substantial contribution to the package? If so, you would be properly acknowledged.
Could you check if you can reproduce the results in (https://fjrubio.quarto.pub/hazregjulia/) after your rewrite?

No worries if you do not have time or interest, just checking how far you want to go with this. If yes, we can explore other possible extensions (e.g. multivariate survival, I was aware of your package on copulas). If not, I will try to allocate some time to include formal tests to evaluate your changes and later approve the merge pull request.
I look forward to hearing from you.
Best,
Javier.

Hey,
I understood that you are a beginner in Julia, my goal was simply to help you out: there are a lot of conventions and habits in the Julia world that are absolutely necessary for efficiency but hard to grasp before you confronted them :). I do care about the subject, indeed there are potential real data applications, which is why I thought I'll help you out.
Distributions.jl provides a wonderful API. Indeed, it does not include log hazard / hazard / cumulative hazard, but if you look at my PR, adding those to ALL distributions was only three lines of code due to the type system. If you want exotic distributions then adding them is a bit more work but nothing compared to what you previously had (there might even be some "powering of a dist" mechanism inside Distributions.jl, but I am not sure). If for some distributions you lack performance, things can be refined later: the beauty of multiple dispatch.
Yes, I will definitively try to reproduce your results whenever I have some time (might not be right now). Basically, these results should be turned into tests, so that we are sure we reproduce them whatever change we make to the code.
I am not sure of the bandwidth i have to commit to this project, but I'll be definitely interested into multivariate stuff and dependence structures, for sure.

Excellent. Thank you very much for your suggestions and contributions. Let me know if there is anything I can help with to facilitate this.
Indeed, the suggested change using the Distributions.jl package will generalise the package widely.
No rush or pressure on my side. I think there is a nice opportunity to build up the package. I can later tell you of another generalisation that we could consider, and that would allow us to consider a wide range of multivariate survival models (such contribution could be beyond the Julia package).
Best,
Javier.

haaaaaaaa !!! WHy did you merge this one ?? ^^
Was not finished AT ALL ^^

There should be a "revert" button here


TTS not working

The code worked for a really long time, but in the last week it stopped working, no idea why

Look at https://github.com/instafluff/HighlightOfMyChat/issues/7 for more information

How do I change the browser OBS Studio uses

You don't, you have to install the Brave browser and have it open a tab there and capture Brave instead of using a browser source. Note that this is only a temporary solution that happens to work.

hi, i downloaded brave and tried it it but didn't get any sound. tried clicking the browser to activate it.
Also tried the CORS solution from the article.
Is there anything else i should be checking to get it working?

There are a few things you can check:

Are you 100% sure the URL is correct?
Is audio enabled in the site settings
Is type of reward you are using on Twitch the default hight message or a custom one (because I think it only works with the default one but not 100% sure on that)

Apart from those things, I have no clue.

It should work now thanks to @Vuurvos1 with 9eea3c7e26858e84bd0e2558d8a17d310ba94de9 !


Teams Users reset their PIN

The note panel "A Skype for Business or Microsoft Teams user won't be able to reset their PIN. The PIN can only be reset by you, the admin. When a PIN is reset, an email is sent to the user." is incorrect.
Teams users can change their pin now. There is a link at the bottom of the meeting invite that says to reset pin

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

ID: ad892c60-f7e4-0790-66f7-219d28f44ee6
Version Independent ID: 36e86cca-c5a3-eb4d-477e-1fb7b0b5d7f1
Content: Audio Conferencing common questions - Microsoft Teams
Content Source: Teams/audio-conferencing-common-questions.md
Service: msteams
GitHub Login: @tonysmit
Microsoft Alias: tonysmit

Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@labonster Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Can't add wither skeleton to jobs reborn

*Detailed description of the issue:
I cannot add a wither skeleton to the hunter job.
ERROR (DELETE IF YOU HAVE NO ERROR):
<-- Try to use pastebin.com server if you have long error. -->
####################
## PASTE ERROR HERE ##
####################

CONFIG SECTION (DELETE IF NOT RELEVANT):
#####################################
## PASTE RELEVANT CONFIG SECTION HERE ##
#####################################

Jobs version:
<IP_ADDRESS>
Server Type (Spigot/Paper/etc):
PaperSpigot
Server Version (using /ver):
1.8.8

Use skeletonwither which would be more appropriate name for older servers. Will add more recognitions for older mob types with next update.


Botkit architecture?

https://github.com/howdyai/botkit/blob/master/slack_bot.js
I have used the above example of Botkit (It's the simplest one). It's nice and I would like to present it to  my teacher but I need to get more info about  it's architecture and how it works . So, I can develop it further too. Where & how can I get info about the architecture of Botkit (especially that example)?

Can you be more specific as to architecture of, hosting, development, integration, etc? The example in your post is based on Slack RTM which is documented here https://api.slack.com/rtm. This report is also a good start for overall architecture https://github.com/howdyai/botkit-starter-slack. I've used something along the lines of this example https://github.com/howdyai/botkit/blob/master/examples/slackbutton_incomingwebhooks.js which utilized built in botkit server for oauth, interactive messages and commands.


feadback sensor AS5600

Hi, I used AS5600 sensor as encoder on my machine.
how can I use data comes from sensor?
for Monitoring, Data Logging, ....

helloooo....
is this even possible ?!

Encoders are not supported

We have a Discord server for FluidNC if you want to discuss further.
https://discord.gg/nxZFVNKd


rdo: do not force SGR if CDEF is disabled

No change in metrics in the normal case:
https://beta.arewecompressedyet.com/?job=master-8b5936e33ea49a9320a13b0ef0103956684340e1&job=cdef-cost-fix%402019-08-07T05%3A48%3A17.300Z
With CDEF completely disabled and this fix, we see a ~3% regression in metrics (as opposed to > 80%):
https://beta.arewecompressedyet.com/?job=master-8b5936e33ea49a9320a13b0ef0103956684340e1&job=cdef-disabled%402019-08-07T04%3A20%3A03.200Z
Fixes #1399

I think this will just disable lrf when cdef is turned off.

I think this will just disable lrf when cdef is turned off.

Yeah I think you're right, cost is just never getting set.

Coverage remained the same at 81.716% when pulling 31fc0a4da6f35dc3bdcc0ea3b1b0cdb7f121edbd on bugfix/cdef-disabled-cost into 8b5936e33ea49a9320a13b0ef0103956684340e1 on master.

I think #1490 already covers that.

What should we do with this?

What should we do with this?

Closing for now, I need to take a better look at what @rzumer already did.


Proxy Server not starting up?

I tried deploying today and got an error. I upgraded to the latest version and received the same error. It appears to be due to the proxy server not starting up. Here are relevant logs from my server during the startup:
Pulling container image registry.fly.io/kcd:deployment-01HK8RHG7YCC6VMEHH0HVGGJ6B
Successfully prepared image registry.fly.io/kcd:deployment-01HK8RHG7YCC6VMEHH0HVGGJ6B (3.142341191s)
Configuring firecracker
[    0.053673] PCI: Fatal: No config space access function found
 INFO Starting init (commit: 15238e9)...
 INFO Preparing to run: `docker-entrypoint.sh node ./other/sentry-create-release` as root
 INFO [fly api proxy] listening at /.fly/api
2024/01/03 22:54:48 listening on [fdaa:0:23df:a7b:15c:75cd:f4be:2]:22 (DNS: [fdaa::3]:53)
> Found 262 files
> Analyzing 262 sources
> Rewriting sources
> Adding source map references
> Bundled 262 files for upload
> Bundle ID: 1fea6fe0-72f9-51f5-8ae5-a841dc3156ca
> Nothing to upload, all files are on the server
> File upload complete (processing pending on server)
> Organization: kent-c-dodds-tech-llc
> Project: kcd-node
> Release: 70189f2167cd62a6c58d5ae8c76839402092e0e3
> Dist: None
> Upload type: artifact bundle
Source Map Upload Report
  Minified Scripts
    #build/_shared/chunk-26EPNH6W.js (sourcemap at /build/_shared/chunk-26EPNH6W.js.map)
    ... etc ...
  Source Maps
    #build/_assets/app-3QAQV6F7.css.map
    ... etc ...
 INFO Main child exited normally with code: 0
 INFO Starting clean up.
 WARN hallpass exited, pid: 307, status: signal: 15 (SIGTERM)
2024/01/03 22:54:54 listening on [fdaa:0:23df:a7b:15c:75cd:f4be:2]:22 (DNS: [fdaa::3]:53)
[    7.334953] reboot: Restarting system
machine restart policy set to 'no', not restarting

That's not entirely helpful. Here are the deploy logs:
deployment-01HK8RHG7YCC6VMEHH0HVGGJ6B: digest: sha256:b149635ea304b10706b218e4bd6dd1fd146fb40b554f77f95f30a05e6eb04202 size: 4299
--> Pushing image done
image: registry.fly.io/kcd:deployment-01HK8RHG7YCC6VMEHH0HVGGJ6B
image size: 1.5 GB

Watch your deployment at https://fly.io/apps/kcd/monitoring

Running kcd release_command: node ./other/sentry-create-release
> Created release_command machine 4d891404a70638
> Waiting for 4d891404a70638 to have state: started
> Machine 4d891404a70638 has state: started
> Waiting for 4d891404a70638 to have state: destroyed
> Machine 4d891404a70638 has state: destroyed
> Waiting for 4d891404a70638 to get exit event
✔ release_command 4d891404a70638 completed successfully
Updating existing machines in 'kcd' with rolling strategy
> [01/10] Updating 148ed669b9e389 [app]
> [01/10] Updating 148ed669b9e389 [app]
> [01/10] Waiting for 148ed669b9e389 [app] to have state: started
> [01/10] Machine 148ed669b9e389 [app] has state: started
> [01/10] Checking that 148ed669b9e389 [app] is up and running
> [01/10] Waiting for 148ed669b9e389 [app] to become healthy: 0/3

WARNING The app is not listening on the expected address and will not be reachable by fly-proxy.
You can fix this by configuring your app to listen on the following addresses:
✖ [01/10] Machine 148ed669b9e389 [app] update failed: timeout reached waiting for health checks to pass for machine 148ed669b9e389: failed to get VM 148ed669b9e389: Get "https://api.machines.dev/v1/apps/kcd/machines/148ed669b9e389": net/http: request canceled
  - <IP_ADDRESS>:8080
Found these processes inside the machine with open listening sockets:
  PROCESS        | ADDRESSES
-----------------*---------------------------------------
  litefs mount   | [::]:20202
  /.fly/hallpass | [fdaa:0:23df:a7b:176:[260](https://github.com/kentcdodds/kentcdodds.com/actions/runs/7403195013/job/20142787532#step:6:261)5:e89b:2]:22

Error: timeout reached waiting for health checks to pass for machine 148ed669b9e389: failed to get VM 148ed669b9e389: Get "https://api.machines.dev/v1/apps/kcd/machines/148ed669b9e389": net/http: request canceled
Your machine never reached the state "%s".

You can try increasing the timeout with the --wait-timeout flag

Error: Process completed with exit code 1.

That's a bit more helpful. From that it appears that no server is listening on port 8080 as configured in my fly.toml, which is set as the INTERNAL_PORT environment variable in my Dockerfile which is referenced as the proxy.addr in my litefs.yml.
I'm not sure what's changed from the last successful deploy. I haven't changed anything with LiteFS, Dockerfile, or fly.toml configuration (other than try to upgrade litefs after the first failure).
It does look like litefs mount has mounted to port 20202, but I believe that's for the consul service. I think we should see another entry in the processes for litefs mount listening on port 8080, and that's why I think this is a litefs issue.

Does the deploy work if you disable the proxy from litefs.yml? You may need to temporarily disable the health check as well.

Giving this a shot now.

Well, I have good news and bad news. The bad news is that disabling the proxy didn't seem to fix anything. The good news is that this is probably not the fault of LiteFS's proxy and it's my problem not yours 😅
Good grief, when I decided to overscope my personal website to match the constraints, requirements, and use cases of bigger companies with teams of full time developers, I didn't consider the fact that it would take more maintenance than a single person would devote to their side project 🤡 Why do I do this to myself?

That said, can you explain why the proxy server isn't listed in the available ports? Does the proxy server wait for the internal server to start up before it starts?

That said, can you explain why the proxy server isn't listed in the available ports? Does the proxy server wait for the internal server to start up before it starts?

The proxy server doesn't start up until the LiteFS node has sync'd with the primary or has become primary so it may be delayed when starting up.

Ah, and it doesn't become primary until the exec is successful?

Ok, so I shuffled some things around and I'm right back where I started except now it's working 🤷♂
Feel free to watch in case it's helpful: https://www.loom.com/share/87c43ce85c8a4d58a76d0963b38eebe5

I'm not sure whether this is related, but this started happening yesterday as well, so maybe I'll start having deployment issues again? https://www.loom.com/share/462a794cbd4444928d0c028fb4558ddd
I'm going to scale down to a single region again and see whether that fixes anything.

To circle back, scaling to 1 and restarting the server fixed the last issue. I've scaled up to one additional region and I've enabled tracing (https://fly.io/docs/litefs/config/#trace-log) and we'll keep an eye on it. @benbjohnson thinks this is either LiteFS or my application code putting a lock on the db, though the "SQLite error or database missing" error is strange.


Enable public CI testing

This PR pulls latest upstream multi-backend-refactor branch and updates github actions to build bitsandbytes for rocm and test it through CI.

@pnunna93 Looks like some CI is failing with this PR. Could you check locally once.

Closing this PR. Will open new one with latest IFU.


chore: remove deprecated ontology processing code

Reason for Change

https://app.zenhub.com/workspaces/single-cell-5e2a191dad828d52cc78b028/issues/gh/chanzuckerberg/cellxgene-ontology-guide/102

Changes

Delete ontology_processing.py, update-ontology-mapping GHA, compute scripts (obviated by COG)
Rename ontology.py --> gencode.py as it now only contains gencode util functions
Update GHAs that point to ontology_files / owl_info to point to gencode_files / gene_info only
update readme explaining how to bump ontologies / gencode versions

Notes for Reviewer

Pointing to use-cog-cli branch for now, to break up change. This branch should be merged together or after use-cog-cli is merged, as it is dependant on those changes.

Everything looks good, but you have some changes in the get_collection.ipynb you need to remove.


try docker tag

fix: username.toLowerCase()
ci: copy tags with docker tags again

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


Adds feature to configure repository names

Signed-off-by: PatriceKammognie<EMAIL_ADDRESS>

Please resolve the issue which we discussed in the meeting today.


[Bug]: BOOK BTN IS NOT DISPLAYING

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
BOOK BTN IS NOT DISPLAYING
Expected behavior
SHOULD BE DISPLAY TO BOOK
Add ScreenShots

On which device are you experiencing this bug?
No response
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

/assign

@Meetpidev i will label after reviewing pr

@Soujanya2004 did you check ?

@Meetpidev please change the style for all buttons displayed in this page

@Meetpidev u can work on payment feature

@Soujanya2004
i can not see the bok btn. in listing.. is it really display ?

@Meetpidev check hosted server

@Meetpidev please change the style for all buttons displayed in this page

I RAISED ISSUR FOR IT ?

issue number?

issue number?

no im asking that can i raised separate issue for it ?

@Meetpidev no work with this issue
change the title


Deploy Swin-Transformer on NVidia Jetson AGX Xavier

Hi there, I would like to run the swin-transformer fom MMDetection (mmdetection/configs/swin) on a Jetson AGX Xavier. However I am having trouble installing MMDetection on the Jetson. Searching through the web I am starting to think that it is not suited for the arm64 architecture. Is that correct?
If yes, I would like to use ONNX/TensorRT for the deployment of the swin-transformer. I saw that the swin-transformer is not officially supported by MMDeploy yet. When will it be? Also, is there any way how I can convert the model nonetheless?
Thanks a lot for your help!

MMDeploy will support swin-transformer in the future.


Project Creation changes for latest Visual Studio Code (minor)

At least the first several steps for using VS Community appear to be outdated.  The setup options for a new Blazor project now uses two steps and offers more options.  For example, it's useful to disable HTTPS for learning purposes.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 08de9daf-79aa-ee76-431e-f2432f8d691e
Version Independent ID: 1a1ee728-1741-c82a-75e1-06159709935b
Content: Use ASP.NET Core SignalR with Blazor WebAssembly
Content Source: aspnetcore/tutorials/signalr-blazor-webassembly.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @AnilDesai ... I'm surprised. These instructions are correct for the commercial version, and I don't understand how the UI would be different. Are you able to take a screenshot of each step and place them into a comment here so that I can see? Alternatively, can you clarify exactly which steps aren't correct and what the UI shows instead? Installing VS Community Ed. isn't simple for me given my storage space limitations on this machine ... I've just about maxed out this old thing.

Hi, Luke - thanks for your extremely quick response to my issue.  I believe the issue I encountered might have been due to either user error (me) or having an earlier version of the template installed.  Just to clarify, this was a minor problem (and one that I think most readers wouldn't have any problems with).  I did mean to state VS Community and am using the instructions for "Visual Studio" in the article (apologies for the confusion).
I just retried the steps, and the documentation is exactly correct (no changes needed).  Attached are the screenshots of the two setup dialogs for creating a new project.  I had just installed VS Community 2019 within the last few days and verified that I'm using the latest update.  Again, sorry for the confusion and feel free to close the issue.

No worries. Thanks for letting me know.


timestamps are not validated according to RFC 3339

Per the STIX2 spec, timestamps are supposed to be RFC 3339 compliant.   RFC 3339 requires at least 1, or more fractional digits after the decimal point, or no decimal point.
This schema is restricting the number of fractional digits to just 3.  RFC 3339 does not have this restriction.
The validator fails to validate timestamps that have nanosecond precision, which are correct as per RFC 3339.

The created and modified properties are timestamps, but they have the additional requirement of being "precise to the nearest millisecond (exactly three digits after the decimal place in seconds)."
These schemas attempt to follow the STIX 2 specification as closely as possible.

OK I missed that additional requirement.  Thanks.


Fix bug where all runs fail if DAG fails

Reports task state information for each run instead of dag state.
Also: reworks the handle_callback logic to remove superfluous call to report_task for operators with extract_on_complete (BigQuery).
Signed-off-by: henneberger<EMAIL_ADDRESS>

LMK when it's ready to merge


Update documentation on how to manage development environments for website project

As mentioned here, development enviroments should be managed in a different way unlike what's happening at this time.
Once the new process has been implemented, the documentation will need to be updated.

see also https://github.com/clearlydefined/website/pull/222 where we resolve to add doc for how to run tests on Mac wrt how to install watchman.

We can close this since is superseeded by #85


[Docker on K8s] ModuleNotFoundError: No module named 'nextbox_ui_plugin'

Im using the provided Dockerfile to install the plugin into my container. As a base image ive tried lastest-ldap and v2.10.5, both produce the same issue for me.
🧬 loaded config '/etc/netbox/config/configuration.py'
🧬 loaded config '/etc/netbox/config/configuration.py'
🧬 loaded config '/etc/netbox/config/extra.py'
Traceback (most recent call last):
  File "/opt/netbox/venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 224, in fetch_command
    app_name = commands[subcommand]
KeyError: 'rqworker'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/netbox/netbox/netbox/settings.py", line 592, in <module>
    plugin = importlib.import_module(plugin_name)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'nextbox_ui_plugin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/netbox/netbox/manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/opt/netbox/venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
    utility.execute()
  File "/opt/netbox/venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 395, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/opt/netbox/venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 231, in fetch_command
    settings.INSTALLED_APPS
  File "/opt/netbox/venv/lib/python3.8/site-packages/django/conf/__init__.py", line 83, in __getattr__
    self._setup(name)
  File "/opt/netbox/venv/lib/python3.8/site-packages/django/conf/__init__.py", line 70, in _setup
    self._wrapped = Settings(settings_module)
  File "/opt/netbox/venv/lib/python3.8/site-packages/django/conf/__init__.py", line 177, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/opt/netbox/netbox/netbox/settings.py", line 595, in <module>
    raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: Unable to import plugin nextbox_ui_plugin: Module not found. Check that the plugin module has been installed within the correct Python environment.

ive tried forcing the venv with "RUN source /opt/netbox/venv/bin/activate" to no avail
The plugin config is set to "['nextbox_ui_plugin',] ", as documented
Im not overwriting any dir in the venv or overwriting env vars
Thus im basically out if ideas why it isnt working.

Does docker build show some errors during the plugin installations steps?
Does your app definition point to the newly built image name?

nope, no errors
 ---> c2731f754dae
Step 5/10 : RUN source /opt/netbox/venv/bin/activate
 ---> Running in 63b0f88af03e
Removing intermediate container 63b0f88af03e
 ---> 5c86df45ff44
Step 6/10 : COPY ./nextbox_ui_plugin /source/nextbox-ui-plugin/nextbox_ui_plugin/
 ---> a52b7bb2e968
Step 7/10 : COPY ./setup.py /source/nextbox-ui-plugin/
 ---> ef0b49dde612
Step 8/10 : COPY ./MANIFEST.in /source/nextbox-ui-plugin/
 ---> faec76f1b80c
Step 9/10 : COPY ./README.md /source/nextbox-ui-plugin/
 ---> 6300b4a8cdeb
Step 10/10 : RUN pip3 install --no-cache-dir nextbox-ui-plugin
 ---> Running in 2bf65f79225c
Collecting nextbox-ui-plugin
  Downloading nextbox_ui_plugin-0.8.0.tar.gz (1.0 MB)
Using legacy 'setup.py install' for nextbox-ui-plugin, since package 'wheel' is not installed.
Installing collected packages: nextbox-ui-plugin
    Running setup.py install for nextbox-ui-plugin: started
    Running setup.py install for nextbox-ui-plugin: finished with status 'done'
Successfully installed nextbox-ui-plugin-0.8.0
Removing intermediate container 2bf65f79225c
 ---> b1b995bde67d
Successfully built b1b995bde67d
Successfully tagged registry.devops.telekom.de/maximilian.rink/nextbox-ui-plugin:rebase

only notable deviation is me pulling the netbox image through a caching registry to avoid docker-hub rate limits. the iamge is the same as from docker hub directly tho ( same Image ID)
And im using the correct image, with the pull policy set to always
    Image:          harbor.sce-dcn.net/schiff-public/nextbox-ui-plugin:rebase
    Image ID:       harbor.sce-dcn.net/schiff-public/nextbox-ui-plugin@sha256:56b8f66d236fc0ca767e37a56c1ad97c21a21d4be7759612f3094bb860386785

looking in my registry at the same image ID i can see that RUN pip3 install --no-cache-dir nextbox-ui-plugin has run in the docker build of that image

so, ive solved it by adding
ENV VIRTUAL_ENV=/opt/netbox/venv
ENV PATH="$VIRTUAL_ENV/bin:$PATH"

the venv wasnt used by pip

Thank you for detailed analysis.
Would you like to prepare a PR based on you input above?

Sure :)


Quote tests

change the name of the test file to have a dash in the file name before tests. Also, change tests to test.


handle load balancer

from the parser to the output

[ ] handle rules policies
[ ] format and report linting messages
[ ] support non abstraction mode
[ ] support explainability
[ ] support multi  explainability

user -> ip
ip -> backend

in both segments, check if connectivity is separated by one of the PIPs , if yes - at least mark with **
 ** this connectivity does not cover all endpoints (more details in linting )
add debug mode with private IPs in the connectivity report

check non trivial SG example (add test) -  both iks_workers_large and iks_config_obj has SG on LB.

check non trivial SG example (add test) - both iks_workers_large and iks_config_obj has SG on LB. after implementing non abstraction mode, it will be easier to review

can you provide more details? are those non-trivial SG? why is it difficult to see their impact on connectivity results with current LB abstraction?

the SGs are applied on the pips. and the LB abstraction remove the pips and their connectivity, so it is hard to see the impact of the SGs on the connectivity

check non trivial SG example (add test) - both iks_workers_large and iks_config_obj has SG on LB. after implementing non abstraction mode, it will be easier to review

can you provide more details? are those non-trivial SG? why is it difficult to see their impact on connectivity results with current LB abstraction?

the SGs are applied on the pips. and the LB abstraction remove the pips and their connectivity, so it is hard to see the impact of the SGs on the connectivity

but it should have impact on the connectivity of the LB itself..

check non trivial SG example (add test) - both iks_workers_large and iks_config_obj has SG on LB. after implementing non abstraction mode, it will be easier to review

can you provide more details? are those non-trivial SG? why is it difficult to see their impact on connectivity results with current LB abstraction?

the SGs are applied on the pips. and the LB abstraction remove the pips and their connectivity, so it is hard to see the impact of the SGs on the connectivity

but it should have impact on the connectivity of the LB itself..

it should, but not all the time, and it is hard to investigate it without seeing the pip connectivity report

check non trivial SG example (add test) - both iks_workers_large and iks_config_obj has SG on LB. after implementing non abstraction mode, it will be easier to review

can you provide more details? are those non-trivial SG? why is it difficult to see their impact on connectivity results with current LB abstraction?

the SGs are applied on the pips. and the LB abstraction remove the pips and their connectivity, so it is hard to see the impact of the SGs on the connectivity

but it should have impact on the connectivity of the LB itself..

it should, but not all the time, and it is hard to investigate it without seeing the pip connectivity report

not all the time -- because the connectivity is not consistent for all pips?
I think we should have a basic example where it is consistent for all pips, and reflected clearly in the report for the abstracted LB connectivity.

lets take it online

iks_config_object has a SG that reflect the LB connectivity
I added a test to the branch "non-lb-abstraction-mode". there was already a test for abstract mode

Done


[AutoPR cognitiveservices/data-plane/QnAMaker] [QnA Maker] Update API data fields.

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/7729

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/8075


Create endpoints for manual adding of innopoints

Admins have a page to manually add/subtract innopoints from a set of users. Implement the endpoint, with its parameters as follows:
{
    "emails"<EMAIL_ADDRESS><EMAIL_ADDRESS>    "amount": 750,
    "message": "" //or null. This is used to send users a custom notification
}

I was just doing this, and I had a different idea of an API:
/profile/{email}/balance
{
  "change",
}

I just think that bulk operations are not that frequent to break away from the /profile/{email} prefix. And the message passing is a different, separate mechanism, not to be mixed with this.

So you want to iterate over all emails in the frontend and send a POST /profile/email/balance request and a POST /notifications request to every single one?

Precisely


decision-science: DRY

refactor code, to extract common functions, in global utils.py, to follow DRY concept

It'll not be convenient


typo error fix

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Format the pull request title like [JAV-XXX] Fixes bug in ApproximateQuantiles, where you replace JAV-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean install to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

fix #372

Coverage decreased (-0.006%) to 86.92% when pulling de05addc0cab043b5150c40346b169c4c61b5a15 on lvtaoleo:tao into 50dfedb8fa26e3453837601acab3ec2a6193b59e on ServiceComb:master.


API documentation

Coverage decreased (-0.03%) to 98.342% when pulling 9fd37cac2ef72b3be43928a58047356d3be5d1b7 on rkarivanov/api-docs into c16a8dcea4326a9e5066eaf6db05002bc1b0e90d on master.


Example doesn't work

Hi! Thanks for the package!
I'm trying to run the example provided in the documentation:
wrap = require 'cwrap'

interface = wrap.CInterface.new()

interface:wrap(
    "numel", -- the Lua name
    "numel", -- the C function name, here the same
    -- now we describe the 'arguments' of the C function
    -- (or possible returned values)
    {
        {name="DoubleTensor"},
        {name="int", creturned=true} -- this one is returned by the C function
    }
)

print(interface:tostring())

But I get an error:
cwrap/cinterface.lua:216: unknown type DoubleTensor

See the last paragraph here: https://github.com/torch/cwrap/blob/master/doc/highlevelinterface.md#wrapluaname-cfunction-arguments-
That example is not given as an isolated runnable one, but more to preface the document with an example at the top that is referred to afterwards.


Add categories and tags deserialisation to transactions

related to issue #1

Hi, sorry for never reviewing your PR at the time, poor form on my part. But since I started working on this project again I've rewritten all the internals so your PR would have no longer been compatible additionally I've now added support for categories and tags to the new codebase.
Thanks, for taking the time to try and contribute anyway.

No worries mate, looking forward to seeing the new changes!


Internet explorer support

Sadly, our application requires us to support at least some version of IE. Medium Editor itself does, but this extension does not.
Problem 1: String.prototype.trimRight is a non-standard function, and is not implemented in any version of IE. It's used in the init handler function, which could use a regex instead.
Problem 2: A number of places that expect DOM nodes are sometimes passed undefined. I have a naive solution in all the places that I've seen it crash, that checks for this and substitutes a dummy object.
Will send a PR for review or better ideas.
After digging further, it seems that problem 2 is actually in the to-markdown code. I'll investigate further there.

String.prototype.trimRight is a non-standard function

Oh, thanks for that! I didn't know it.
Will take a look at the PR.


Question about BlueSky side Opt-in, any technical reason why?

There has been some discussion on the Fediverse wondering if there is going to be a change from the Bluesky side from being opt-in to opt-out. There has been a lot of discussion since the people on Bluesky follow the bridged account and never bother enabling bridging on their accounts, thus none of the replies and interactions make it to the Fediverse side.
I know this discussion is brought up several times:
https://snarfed.org/2024-10-17_ame-snarfed-org-theres-been-this-breta-moe
I have a few questions:

What are the technical issues as to why the Bluesky side is currently Opt-in? Is it because of scaling?
When is the timeline for the Bluesky side to switch from Opt-in to opt-out, while the Fediverse side remains opt-in?

Hi James! Thanks for asking. It's a policy question, not a technical one. There's no technical obstacle to switching Bluesky to opt out. Scaling can be a challenge for any service, and keeping everything opt in does slow adoption, but that's not a primary factor here.
The norms and protocol on Bluesky are meaningfully different than on the fediverse, so opt out does indeed seem more feasible. In general, there are vocal minorities on both sides, and a silent majority somewhere in the middle, but the loud opt out side on Bluesky probably does outnumber the loud opt in side.
However, it's still a policy question, and not necessarily an easy one. I'm not really the best person to navigate these kinds of policy questions; I'd probably want to work with group(s) like IFTAS or SWF or similar to do it in a more meaningfully structured way.
Also, given the backlash from the fediverse a while back, Bridgy Fed probably isn't the best project to take the lead on policy issues like this. I'd love to see other projects take the lead on providing opt out services on Bluesky!
Given all that, this is not something I'm actively thinking about right now. Maybe someday.

Completely understandable, but here is a suggestion to make opt in easier, as it seems too hard for Bluesky users.
Instead of having Bluesky user follow a certain account to enable it, if a user that haven't followed any bridged account, and decides to follow a bridge account, consider that an opt in. Put a disclaimer on the profile description:
[bridged from  on the fediverse, Following this account opts you into bridging. Learn more at fed.brid.gy]
There are probably other ideas to make this easier, but opt-in on the Bluesky side is a bit too hard, probably not as difficult for people on the Fediverse since they tend to be more tech savvy to figure it out.

Hmm, interesting! Once someone knows that the bridge exists, though, opting in by following the @ap.brid.gy user seems pretty easy, right? If by "too hard," you mean "too unknown," I definitely agree! Most people don't know that the bridge exists, true.
People follow in lots of ways and places other than profiles, and they don't always read profile bios anyway, so I can't depend on that guaranteeing that they understand that their account will be bridged if they follow. Understanding what the bridge does is tricky enough on its own; I'm not sure I want to add more complexity than I have to.

Merging into https://github.com/snarfed/bridgy-fed/issues/1471


vendor: Prune unused package

This PR relies on latest "dep" tool version to remove some unused packages from the vendor tree.

Coverage remained the same at 34.96% when pulling 7389b5c8e541bb997781b7186c487b2d94941949 on sboeuf/update_vendoring into 93f867656b9c63d40adf78aab5932deddb296f99 on master.

Coverage remained the same at 34.96% when pulling 7389b5c8e541bb997781b7186c487b2d94941949 on sboeuf/update_vendoring into 93f867656b9c63d40adf78aab5932deddb296f99 on master.

Coverage remained the same at 34.96% when pulling 7389b5c8e541bb997781b7186c487b2d94941949 on sboeuf/update_vendoring into 93f867656b9c63d40adf78aab5932deddb296f99 on master.

lgtm


Looking for a maintainer

I have been unable to find time to maintain this for a while now. If someone is interested to take over, please don't hesitate.

Are you escaping the JavaScript ecosystem?
paparazzi flashes intensify


[Faclo-exporter]Added Prometheus Service Monitor to helm chart

What type of PR is this?
/kind feature
/kind chart-release

Any specific area of the project related to this PR?
/area falco-exporter-chart

What this PR does / why we need it:
This PR adds the capability to deploy a Prometheus Operator Service Monitor together with the Exporter.

Checklist

[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] CHANGELOG.md updated

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign nibalizer
You can assign the PR to them by writing /assign @nibalizer in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: c0c87feee037e8ccb17758791a7a91392d3b217d

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: nibalizer
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [nibalizer]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm
Thanks for the contribution @Whyeasy !

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: nibalizer
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [nibalizer]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


added eki io interfaces

took reference from https://github.com/StoglRobotics-forks/kuka_experimental/pull/14/files
#14 , for cleaner comparison, compiles on foxy

closing this in favor of #18


Copy the plain text of aggregated tasks

First of all, thank you for bring this marvellous plugin!
Is that possible to copy the aggregated todo list so that I can note it down somewhere in the vault?

Do you mean you would like a copy button that would just copy a plain text list of all the todos?

Thanks for your reply! Yeah, I think that sounds helpful to me since I can have a summary for current todo items.

I think this is a pretty fringe use case, closing until that changes


Update to lockfile v4

This PR will update the deno_lockfile dependency

Going to close this one. We'd have to land the API changes to deno_lockfile first though I'm not sure if it's worth the effort.


stripped tasks can't be pickled

to reproduce:
from predicators.envs import create_new_env
from predicators import utils
import dill as pkl

utils.reset_config({"num_train_tasks": 1})
env = create_new_env("blocks", do_cache=True)
train_tasks = env.get_train_tasks()
stripped_task = utils.strip_task(train_tasks[0], env.predicates)
with open("/tmp/test.pkl", "wb") as f:
    pkl.dump(stripped_task, f)
with open("/tmp/test.pkl", "rb") as f:
    pkl.load(f)

Leads to:
Traceback (most recent call last):
  File "/Users/tom/phd/predicators/predicators/predicators_wtf.py", line 12, in <module>
    pkl.load(f)
  File "/Users/tom/.pyenv/versions/3.10.6/lib/python3.10/site-packages/dill/_dill.py", line 272, in load
    return Unpickler(file, ignore=ignore, **kwds).load()
  File "/Users/tom/.pyenv/versions/3.10.6/lib/python3.10/site-packages/dill/_dill.py", line 419, in load
    obj = StockUnpickler.load(self)
  File "/Users/tom/phd/predicators/predicators/structs.py", line 337, in __hash__
    return self._hash
  File "/Users/tom/.pyenv/versions/3.10.6/lib/python3.10/functools.py", line 981, in __get__
    val = self.func(instance)
  File "/Users/tom/phd/predicators/predicators/structs.py", line 320, in _hash
    return hash(str(self))
  File "/Users/tom/phd/predicators/predicators/structs.py", line 323, in __str__
    return self._str
  File "/Users/tom/.pyenv/versions/3.10.6/lib/python3.10/functools.py", line 981, in __get__
    val = self.func(instance)
  File "/Users/tom/phd/predicators/predicators/structs.py", line 385, in _str
    return (str(self.predicate) + "(" + ", ".join(map(str, self.objects)) +
AttributeError: 'GroundAtom' object has no attribute 'predicate'

even more minimal:
from predicators.envs import create_new_env
from predicators import utils
from predicators.structs import Task, DefaultState
import dill as pkl

utils.reset_config({"num_train_tasks": 1})
env = create_new_env("blocks", do_cache=True)
train_tasks = env.get_train_tasks()
task = train_tasks[0]
stripped_task = Task(DefaultState, set(task.goal))
with open("/tmp/test.pkl", "wb") as f:
    pkl.dump(stripped_task, f)
with open("/tmp/test.pkl", "rb") as f:
    pkl.load(f)

where the key thing is set(task.goal). using just task.goal doesn't error. very weird.

circumventing tasks completely, still crashes!
from predicators.envs import create_new_env
from predicators import utils
import dill as pkl

utils.reset_config({"num_train_tasks": 1})
env = create_new_env("blocks", do_cache=True)
train_tasks = env.get_train_tasks()
task = train_tasks[0]
stripped_goal = set(task.goal)
with open("/tmp/test.pkl", "wb") as f:
    pkl.dump(stripped_goal, f)
with open("/tmp/test.pkl", "rb") as f:
    pkl.load(f)

this one doesn't crash, so I guess there is some difference between the train tasks created by the environment and the one that I'm creating here?
from predicators import utils
from predicators.structs import Predicate, Type, State, Task
import dill as pkl

utils.reset_config({"num_train_tasks": 1})

type1 = Type("type1", ["feat1", "feat2"])
obj3 = type1("obj3")
obj7 = type1("obj7")
state = State({
    obj3: [1, 2],
    obj7: [3, 4],
})
cup_type = Type("cup_type", ["feat1"])
plate_type = Type("plate_type", ["feat1"])
pred = Predicate("On", [cup_type, plate_type], lambda s, o: True)
pred2 = Predicate("On", [cup_type, plate_type], lambda s, o: False)
cup = cup_type("cup")
plate = plate_type("plate")
goal = {pred([cup, plate])}
task = Task(state, goal)

stripped_goal = set(task.goal)
with open("/tmp/test.pkl", "wb") as f:
    pkl.dump(stripped_goal, f)
with open("/tmp/test.pkl", "rb") as f:
    pkl.load(f)

this is some pretty weird shit, I really don't know... @ronuchit want a Python puzzle?
from predicators.envs import create_new_env
from predicators import utils
import dill as pkl

utils.reset_config({"num_train_tasks": 1})
env = create_new_env("blocks", do_cache=False)
train_tasks = env.get_train_tasks()
task = train_tasks[0]
bad_atom = next(iter(task.goal))

block1 = env._block_type("block2")
block2 = env._block_type("block1")
fine_atom = env._On([block1, block2])
_ = hash(fine_atom)

# Succeeds
assert fine_atom == bad_atom

# Nothing discernably different
for field in dir(fine_atom):
    print(field)
    print("FINE:")
    print(getattr(fine_atom, field))
    print("BAD:")
    print(getattr(bad_atom, field))

# Succeeds
with open("/tmp/test.pkl", "wb") as f:
    pkl.dump(fine_atom, f)
with open("/tmp/test.pkl", "rb") as f:
    pkl.load(f)

# Fails on load (AttributeError: 'GroundAtom' object has no attribute 'predicate')
with open("/tmp/test.pkl", "wb") as f:
    pkl.dump(bad_atom, f)
with open("/tmp/test.pkl", "rb") as f:
    pkl.load(f)

i do not know sorry! it really depends on what's happening inside get_train_tasks

@ashayathalye ran into a similar issue and realized that it's likely relatd to some of these:

https://stackoverflow.com/questions/54679349/cannot-unpickle-some-data-just-pickled-with-python-3-with-a-cycle
https://stackoverflow.com/questions/44887394/pickle-dill-cannot-handle-circular-references-if-hash-is-overridden
https://bugs.python.org/issue1761028


Instantiated attributes cannot have their values updated...

...while keeping the attr.ib validators.
I'd like to be able to create a class:
>>> @attr.s
>>> class Obj:
>>>     a = attr.ib(validator=attr.validators.instance_of(str))

Instantiate it:
>>> obj = Obj('1')

And then update instantiated attributes but have these updates subject to existing validators:
>>> obj.a = 1
TypeError: 'a' must be <class 'str'>

Maybe this could be achieved by means of a helper function? Something like:
>>> attr.update(obj, a=1)

Is this kind of behavior something that people are interested in?

Well, there's validate() (https://attrs.readthedocs.io/en/stable/api.html#attr.validate), you could manually call it after mutating.

Ah perfect, thanks @Tinche, this will work quite well for my use-case.

I guess I can close this then. :)


Chạy mainnet

Chào ad
Mình có VPS rảnh nên đang chạy mainnet của BHO
Mình có thể làm gì với nó?
cargo build --features with-ulas-runtime --release
./target/release/bholdus --chain=ulas

Hi @0x00trust, I would like to answer this question in English.
As we stated in our wpp, BHO Chain (BHC) is a Nominated Proof of Stake blockchain. However, in the early stage, we only support Proof of Staked Authority (private authorities). Hence, the only thing you can do is start a RPC node with your VPS.
We will update the README and will get back to you later with the comprehensive guide.

Hi @0x00trust, we just updated the README. You can follow the guide there.
You can use pre-built binary for Mainnet
https://github.com/BHONetwork/bholdus-chain/releases/tag/ulas-v1.0.15


[UI] Add new themes to Packages List view page

Description
These PR add's colors/theme for the Package List view, for this page we added:

transparent button
new styles for checkbox and radio buttons
new style for switch.
new theme for badges.

Dark Theme

Light Theme

Transparent button
States

State
Dark
Light

Focused

Hover

Pressed

Rest

Checkbox, Switch and TreeView
The icon button uses the new transparent button so the styles are the same.
Dark

Light

Radio button

Badges

Accessibility errors
Links color are not accessible enough
I'll contact designers again to ask for guidance here. There are two options, add an underline for these kinds of links or change the color of hyperlinks

Please add link to main tracking issue and if there's any spec.


Sort generated UFO kerning groups by glyphOrder if present

Currently we populate the UFO glyphs in the order in which glyphs are found in the .glyphs source. For the kerning group, we append each new glyph to the respective leftKerningGroup and rightKerningGroup.
However, UFO groups (both kerning and not) are stored as arrays of strings in the groups.plist, whereas kerning groups are simply attributes of the glyph objects in Glyphs. Thus, the original ordering of the glyphs from the UFO kerning groups is lost if these were imported in a glyphs file.
Although such order is not relevant to make a kern feature, it's important if one wishes to roundtrip UFO groups.plist -> Glyphs' {left,right}KerningGroup -> UFO groups.plist, and avoid producing spurious changes in the resulting diff.
By using the glyphOrder, we can try to ensure a more predictable order -- provided that the members of the UFO kerning groups also were sorted by 'public.glyphOrder' to begin with.
This patch makes so that when a 'glyphOrder' custom parameter is present, we load the the glyphs data (including left/right kerning group membership) following that order, otherwise we keep using the glyphs data's intrinsic order.

actually...... I have just now realized that after one sets the glyphOrder custom parameter and saves the glyphs source file, Glyphs.app will rewrite the glyphs in the file in the same glyphOrder.
Thus, loading the glyphs in the order in which they are written in the source data (which is what we currently do) is the same thing as using the glyphOrder custom parameter, as latter determines the former.
well, this makes the patch practically useless.
(I wish I had known this before 😁 )
@schriftgestalt can you confirm this?

the current patch would only be needed if the glyphOrder custom parameter does not match the order in which the glyphs are written out in the .glyphs source file; but this doesn't seem to be the case with Glyphs.app, and so far the latter is the only existing editor of *.glyphs file format.

I was wondering why using the glyphOrder would make a difference.
there is currently no way to preserve the ordering of the kerning classes. But Glyphs will normalise it once and the next time your round trip, there won’t be changes any more. And the same change would happen if you would "roundtrip" through an .otf ;)

yeah, in fact it does not make a difference, because we are already loading the glyphs (and populating the UFO kerning groups) in the order in which the glyphs are written in the .glyphs file, and this order happens to match the (optional) glyphOrder custom parameter, when present.
So it is indeed not needed, was just a misunderstanding on my part. I thought the two orders were independent, and changing the custom parameter did not also reorder the way glyphs are stored in the source file.


Automatically configure the Gunicorn web server

The classic Heroku Python buildpack automatically configures gunicorn at runtime (it sets FORWARDED_ALLOW_IPS and GUNICORN_CMD_ARGS):
https://github.com/heroku/heroku-buildpack-python/blob/main/vendor/python.gunicorn.sh
Something similar to that should be added to the Python CNB for parity with the classic buildpack.
Internal tracking epic

So I think we should drop this for the CNB, and update the Python getting started guide's gunicorn.conf.py to demonstrate enabling access logs (and for bonus points, how to change the format).

The getting started guide now configures access logs explicitly (and with an improved log format):
https://github.com/heroku/python-getting-started/pull/246


Add support for precompiled statements

I think it will be helpful to have in LowLevel getter for underlying sqLiteOpenHelper.
The same thing has been already implemented in StorIOContentResolver.LowLevel and it can solve problems with such particular thinks like precompiled statements if user will need it.
To complete support for prepared statements I suggest to add methods to StorIOSqlite like compiledExecute, compiledUpdateDelete, compiledInsert that will take a special type of resolver to bind arguments.
@artem-zinnatullin @karlicoss @thevery any thought?
Refs #427

Hm. I was thinking about different implementation: on the Query + StorIOSQLite level.
Since our Queries are immutable, we can actually create precompiled statement per query (and as ThreadLocals if needed) and store them as as fixed size LIFO map in SQLiteOpenHelper so if we have precompiled statement for Query — use it, otherwise — precompile and use it!
I don't want to add any new public API for this feature if possible.
Does it sound ok? Please cc Stas, also known as "Stas — DB EXPERT", here

Nice idea!
But should we add an option to enable/disable such optimization per operation, per StorIOSqlite?
Could it happen that precompile + single bind will be less efficient then single operation execute?
LIFO map in SQLiteOpenHelper do you mean LRU cache in StorIOSqlite?
DB Expert, @StanisVS, we need your advice)

Well, we can try implement that and then decide whether it should be option
or not!
On 1 Nov 2016 9:01 am, "Dmitrii Nikitin"<EMAIL_ADDRESS>wrote:

Nice idea!
But should we add an option to enable/disable such optimization per
operation, per StorIOSqlite?
Could it happen that precompile + single bind will be less efficient then
single operation execute?
LIFO map in SQLiteOpenHelper do you mean LRU cache in StorIOSqlite?
DB Expert, @StanisVS https://github.com/StanisVS, we need your advice)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pushtorefresh/storio/issues/704#issuecomment-257495318,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA7B3DO5ECql1vvTy_6vLfV_TYNCL051ks5q5tXSgaJpZM4KiCtA
.

@nikitin-da

Could it happen that precompile + single bind will be less efficient then single operation execute?

As I mentioned in #427 SQLiteDatabase.insertWithOnConflict which is used by StorIO under the hood, creates SQLiteStatement everytime when new data is inserted into db, so if we would reuse it, I don't see where we could loose performance for single executed operations - precompiled statement is created anyway.
Btw I like @artem-zinnatullin idea with LIFO map in SQLiteOpenHelper. I know that there are some concerns about it how this feature can affect whole library, so I would like to propose following approach: add this feature to v1.12.0 as an experimental one (similar approach as new features are introduces to RxJava library), which could be enabled by users who looks for performance boost and it could be turned on by default for later versions. What do you think?

add this feature to v1.12.0 as an experimental one (similar approach as new features are introduces to RxJava library), which could be enabled by users who looks for performance boost and it could be turned on by default for later versions. What do you think?

SGTM, @nikitin-da you'll be able to test it in Yandex.Mail since it uses DB all the time and see if it increases performance or not!


How to Make timer or schedular?

Maybe this is a weird question But I need to know. How can I check something in every 1 minute or every 15 seconds?
Thanks.

Probably not something that laravel-websokets can help with,
But Laravel has scheduling have a look here : https://laravel.com/docs/5.7/scheduling
Cheers

I'm looking for this type of Feature that would be compatible with laravel  https://blog.wyrihaximus.net/2015/01/reactphp-timers/. I can implement this but is there any hands-on method in laravel?

I am not sure if Laravel has this, try asking on a more general forum.


eventstore: support on Darwin

Issue description
the package evenstore currently doesn't support Darwin although the the application itself is available for the system.
As you can see below I tried to fix it myself but I don't have much experience with Nix and I have no knowledge about v8,xcode,...
Apparent cause

the  eventstore nix expression depends on v8_6_x which itself doesn't have support for Darwin.
v8 seems to not support darwin because the v8 build infrastructure requires xcode sdk >10.12 but nixpkgs uses xcbuild which provides sdk 10.10 (see Steps to reproduce).

I cannot find any information about what is the nixpkgs roadmap in terms of v8.
Steps to reproduce
List xcbuild provided sdks:
$ export NIX_PATH="nixpkgs=https://releases.nixos.org/nixos/19.03/nixos-19.03beta171840.23fd1394dc6/nixexprs.tar.xz"
$ xcpath=$(nix-build -A xcbuild '<nixpkgs>')
$ ls ${xcpath}/Platforms/MacOSX.platform/Developer/SDKs
MacOSX.sdk  MacOSX10.10.sdk

Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.
nix-shell -p nix-info --run "nix-info -m"
these paths will be fetched (0.01 MiB download, 0.03 MiB unpacked):
  /nix/store/4lpsw31ld1wvrwxwdpmpij2yv2380a5d-DarwinTools-1
  /nix/store/slknm0hlpm0k4x59fxhwlmik9alp6d7n-nix-info
copying path '/nix/store/4lpsw31ld1wvrwxwdpmpij2yv2380a5d-DarwinTools-1' from 'http://cache.nixos.org'...
copying path '/nix/store/slknm0hlpm0k4x59fxhwlmik9alp6d7n-nix-info' from 'http://cache.nixos.org'...
 - system: `"x86_64-darwin"`
 - host os: `Darwin 17.7.0, macOS 10.13.6`
 - multi-user?: `no`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.1.3`
 - channels(fghibellini): `"nixpkgs-19.09pre170896.6e5caa3f8ac, nixos1709, nixpkgs-darwin-18.09pre153492.0b471f71fad"`
 - nixpkgs: `/Users/fghibellini/.nix-defexpr/channels/nixpkgs`

Notes
1 .  eventstore 4.1.1 actually requires v8 ver. 5.2 and from 5.x.x it requires v8 ver. 7.0 as stated here

10.12 will come with #56744


File copy fails without prompt or additional info

Description
File copying fails when an internet-originated file is attempted to be copied to a google drive mapped as a network drive.
Steps To Reproduce

Download a file from the internet
Try to copy the file downloaded to google drive (mapped as a network drive)

Steps to fix
There should be a prompt asking if I want to proceed, like in case of windows explorer:

Files Version
<IP_ADDRESS>
Windows Version
Microsoft Windows 10 Enterprise Version 10.0.19042 Build 19042
Relevant Assets/Logs

Merging with #9423


V2 docs: error codes and details

As described here I want to provide documentation for every validation error, a link to each error will be included in validation_error.errors().
Each error already has a unique type (if the same type is used in two different places, it's assume it's the same error and should have the same message).
However I want to go one step further and also add a unique code to each PydanticUserError, PydanticUndefinedAnnotation etc. and print a link to the docs for that error in the __str__ method for the error.
A bit like the conversion table #4680, I think we should have one markdown file for each validation error with a code block of toml containing structured data and the rest of the markdown file with details about the error.
Obviously building comprehensive docs for every error, both validation errors and error raised to pydantic developers is a massive piece of work, at this stage I just want to get all the markdown files in place with a one line explanation, then others can contribute by adding more details. Ultimately, once we've released pydantic V2 users who are not satisfied by the details given on an error will be encouraged to contribute by submitting a PR to add more details.

What's required here
At this stage we need (once #4516 is merged):

to modify pydantic/errors.py to use a mixin for each of those classes which:

adds __init__(self, type: str, message: str)
adds __str__ with the type and a placeholder for the help URL
adds a no-op _check() method (see below), and calls it on __init__ (or maybe we could get away with just spying on __init__?)

an autouse pytest fixture which mocks PydanticErrorMixin._check  and checks all errors have a matching description file - this forces future contributors to add details some docs on any new error they add (e.g. if it's just "you broke foobar, users should never see this, please create an issue if you're getting this error")
we also need an autouse fixture which checks we've got docs in the pydantic repr for every use of PydanticCustomError
a directory in docs which contains markdown files with error details

We need to differentiate between developer errors and validation errors, but I guess that can just be a value in the structured data.
To make it as painless as possible to contribute to both pydantic and pydantic-core, the error information for each exception should be in the same repo as the code, therefore we'll need to add a similar directory of errors information to pydantic-core.
I would love someone to take this on once #4516 is merged, any volunteers?

See https://github.com/pydantic/pydantic-core/issues/312 for similar in pydantic-core

I am interested in working on this codebase, but I am confused as most of the calls to PydanicUserError are with one string parameter and two. Can you please clarify?

I am interested in working on this codebase, but I am confused as most of the calls to PydanicUserError are with one string parameter and two. Can you please clarify @samuelcolvin?

#4870

Does this issue have an assignee? (Is it @bgoldstone ?) Else, I can take this one.

Keep going with it then @bgoldstone

@samuelcolvin I think we can close this now, can you confirm?


distinguished contributors

Include a Distinguished Contributors category in the governance. This is loosely modelled after the Jupyter community (https://jupyter.org/governance/distinguished_contributors.html) as discussed in #14. This is a draft pr for input! Note that it should be merged after #18

I think this could be one of the topics for the next community meeting (see #20). I would like to have some sort of rubik to evaluate if a candidate for Distinguished Contributor is eligible or not. We could take a deeper look into how Jupyter handles this process.


Links on second level toc items aren't working

I'm using material for mkdocs. There are two different behaviors. If I don't set a first level heading for a page, mkdocs automatically renders the one that is given by the nav entry in the config file. In this case mkdocs-with-pdf throws the following error:
ERROR   -  Content discarded: target points to undefined anchor "('string', '#')"

The entry in the toc then points to #.
If I set the heading on the page manually by adding
# exampleHeading

to my markdown file I get the following error instead:
ERROR   -  No anchor #example/path/:exampleheading for internal URI reference

The resulting toc entry is then no longer a link meaning it is not clickable.

After looking at this a bit closer there seems to be a general problem with all links towards level two headings.

Thank you for your report.
I added the id to first top level heading where it was missing.
Please check it.

Most of our links for second level toc entries are working now.
We are still facing some failling links due to encoding issues, which is part of  a separate Issue.

Thank you for the confirmation work.

We are still facing some failling links due to encoding issues, which is part of a separate Issue.

Could you provide a "mkdocs project" that this problem occurs?

I dug a little deeper and the remaining problem is indeed with the encoding of special characters. I'm gonna open another ticket with a minimal project setup to repoduce and close this one :) Thansk for fixing this so fast :)


Question: no link btw TF nucleic acid binding and DNA binding

Hi,
I'm sure there's a good reason for it but I can't find it:
Why is there no link between
GO:0001071 nucleic acid binding transcription factor activity (or any of it's children, as far as I checked those relevant for my term)
and
GO:0003677 DNA binding (or any children of this class)?
Birgit

GO:0001071 encompasses GO:0001070 (RNA binding transcription factor activity) as well as DNA-binding txn factors.
GO:0001071 does have the link has_part GO:0003676 ! nucleic acid binding

But GO:0000981 RNA polymerase II transcription factor activity, sequence-specific DNA binding has no link to DNA binding either. At least not visible in QuickGO or AMIGO2.

This link exists: GO:0000981 has_part GO:0000977 ! RNA polymerase II regulatory region sequence-specific DNA binding
The graphical views in AmiGO and QuickGO don't include has_part; AmiGO shows it in the "neighborhood" tab (which I find confusing generally ...).

the reason there is no link is because of the regulation terms, if there was a link then if you say a protein regulates RNA polymerase II transcription factor activity, sequence-specific DNA binding then you are implying that it regulates the binding rather than the activity, and the protein is not necessarily regulating the binding to DNA, it  may be regulating protein binding.
However, I have to say that I think GO:0001071 nucleic acid binding transcription factor activity is a better term than  RNA polymerase II transcription factor activity, sequence-specific DNA binding, which I think sounds misleading and you make you think that the term relates more to the DNA binding than to the TF activity. I would prefer this term to be written like the grandparent:  sequence-specific DNA binding RNA polymerase II transcription factor activity.

sorry when I say no link I mean no is_a or Part_of link, it obviously does have the has_part relation

Hi Ruth,
I wanted to comment on what you said earlier, specifically this:
"the reason there is no link is because of the regulation terms, if there was a link then if you say a protein regulates RNA polymerase II transcription factor activity, sequence-specific DNA binding then you are implying that it regulates the binding rather than the activity, and the protein is not necessarily regulating the binding to DNA, it may be regulating protein binding."
This is not the reason that terms like "nucleic acid binding transcription factor activity" (GO:0001071) do not have is_a links to nucleic acid binding MF terms. I also don't think that it is true to say that having this link would automatically imply that the regulation was via regulation of the DNA binding aspect of the function.
The reason is because the GOC decided (at an Annotation Camp in Geneva) that when binding is an integral part of the activity of another MF term that it MUST be represented with a has_part link. In practice, this turns out to have some unfortunate consequences because you can't propagate up the has_part relationship since it goes in the opposite direction and the has_part relationships don't get shown in many tools.
-Karen

Thanks, everyone. You answered my question and I shall try and remember it!
In practice, one has to annotate to the binding term separately as has_part doesn't propagate.
I'm closing the ticket.


DBZ-1189 Add support for inet data type.

https://issues.jboss.org/browse/DBZ-1189

@jpechane, LGTM now. Do you see anything missing?
@sashakovryga, could you also send a PR for updating the connector docs (in the debezium.github.io repo) so it lists the newly supported type? Thanks!

@sashakovryga Squashed, and applied, thanks a lot!

@gunnarmorling No problem https://github.com/debezium/debezium.github.io/pull/269


Zulip Container Version 7 does not start in K8s Environment

Hello,
I'm trying to upgrade our Zulip Server instance from 5.6 to 7.x but when starting the newer version, the Zulip Server would just not start, it hangs indefinitely here:
    version => "1.1"
  },
  board => {
    asset_tag => "Base Board Asset Tag",
    manufacturer => "Supermicro",
    product => "X13SEW-F",
    serial_number => "WM229S007515"
  },
  chassis => {
    asset_tag => "Chassis Asset Tag",
    type => "Other"
  },
  manufacturer => "Supermicro",
  product => {
    name => "SYS-111E-WR",
    serial_number => "S497720X2B23137",
    uuid => "5be86200-3c5b-11ed-8000-3cecefd65d24"
  }
}.
Debug: Facter: executing command: virt-what
Debug: Facter: virt-what was not found on the PATH.
Debug: Facter: executing command: vmware -v
Debug: Facter: vmware was not found on the PATH.
Debug: Facter: executing command: lspci
Debug: Facter: lspci was not found on the PATH.
Debug: Facter: fact "is_virtual" has resolved to false.
Debug: Facter: fact "virtual" has resolved to "physical".
Debug: Facter: EC2 facts are unavailable: not running under an EC2 instance.
Debug: Facter: resolving GCE facts.
Debug: Facter: not running under a GCE instance.
Debug: Facter: resolving augeas facts.
Debug: Facter: executing command: augparse --version
Debug: Facter: augparse was not found on the PATH.
Debug: Facter: resolving networking facts.
Debug: Facter: executing command: /usr/sbin/ip route show

What can I do?
BG, Thomas
Zulip Server and web app version:

[ ] Zulip Cloud (*.zulipchat.com)
[x] Zulip Server 7.0+
[ ] Zulip Server 6.0+
[ ] Zulip Server 5.0 or older
[ ] Other or not sure

Thanks for your report, @vanthome. @alexmv, any ideas here?

Closing due to lack of reply, and likely resulting from the documented upgrade steps not being followed. @vanthome I'd be curious if you were successful in upgrading following those steps, and whether there's something we could change to help you find the relevant upgrade steps.


CreateFunction in multi-threaded environment might lead to "bad parameter or other API misuse" Error (21)

Here I'm NOT talking about concurrent using of a single connection from many threads (which is bad), but creating and using several connections in concurrent threads. That means 1-to-1 relation between thread and connection. This should be totally legit.
If we'll be using CreateFunction in one of concurrent threads then in the others we'll get Microsoft.Data.Sqlite.SqliteException on calling ExecuteNonQuery (or similar methods):
SQLite Error 21: 'bad parameter or other API misuse For more information on this error code see http://sqlite.org/rescode.html'.
stack:
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteCommand.<PrepareAndEnumerateStatements>d__62.MoveNext()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()

Microsoft.Data.Sqlite#2.1.0-preview2.
Code that reproduces the bug we can find below.
The bug is pretty important as I can't see how to workaround it. It'd make us to add synchronization code for every command execution code. But what to do with reading via DataReader? Should we synchronize the whole reading from datareader or just its creation (ExecuteReader)? Anyway it'd pollute user code.
Demo:
using System;
using System.Threading;
using System.IO;
using Microsoft.Data.Sqlite;

namespace sqlite
{
    class Program
    {
    	static void execute(SqliteConnection con, string cmdText)
    	{
			var cmd = con.CreateCommand();
			cmd.CommandText = cmdText;
			cmd.ExecuteNonQuery();
    	}

    	static void registerFunctions(SqliteConnection connection)
    	{
			connection.CreateFunction("UPPER", (string str) => str?.ToUpper());
    	}

        static void Main(string[] args)
        {
        	{
        	File.Delete("test.db");
       		var con = new SqliteConnection();
     		con.ConnectionString = "Data Source=test.db";
			con.Open();
			execute(con, "create table t1(int i)");
			execute(con, "insert into t1 values (1)");
			con.Close();
			}
			for(int i = 0; i < 100; i++) {
				Console.Write(i);

				var startEvent = new ManualResetEvent(false);
				Thread t1 = new Thread(() => {
					startEvent.WaitOne();
        			var con = new SqliteConnection();
        			con.ConnectionString = "Data Source=test.db";
					con.Open();
					registerFunctions(con);
					execute(con, "insert into t1 values (" + i + " )");
					con.Close();
				});
				Thread t2 = new Thread(() => {
					startEvent.WaitOne();
	        		var con = new SqliteConnection();
        			con.ConnectionString = "Data Source=test.db";
					con.Open();
					execute(con, "insert into t1 values (" + i + " )");
					registerFunctions(con);
					con.Close();
				});
				t1.Start();
				t2.Start();
				startEvent.Set();

				t1.Join();
				t2.Join();

				Console.WriteLine("...OK");
			}

            Console.WriteLine("OK.");
        }
    }
}

I'm not sure what is really happening (the SQLITE_MISUSE error is returned by sqlite3_prepare_v2 in PrepareAndEnumerateStatements). Using your code, the following workaround works for me: use "Data Source=test.db;Cache=Shared" as connection string.

I'm using EF Core 2.1.0-preview2 with Microsoft.Data.Sqlite 2.1.0-preview2 in ASP.NET Core WebAPI controller. The controller action just returns all rows like return _dbContext.Entities.ToList();. Same bug is consistently appearing during load testing with ~100s simultaneous requests. Stacktrace:
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 21: 'bad parameter or other API misuse For more information on this error code see http://sqlite.org/rescode.html'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements(Stopwatch timer)+MoveNext()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.Execute(IRelationalConnection connection, DbCommandMethod executeMethod, IReadOnlyDictionary`2 parameterValues)
   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.ExecuteReader(IRelationalConnection connection, IReadOnlyDictionary`2 parameterValues)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.Enumerator.BufferlessMoveNext(DbContext _, Boolean buffer)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.Enumerator.MoveNext()
   at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider._TrackEntities[TOut,TIn](IEnumerable`1 results, QueryContext queryContext, IList`1 entityTrackingInfos, IList`1 entityAccessors)+MoveNext()
   at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.MoveNext()
   at System.Collections.Generic.List`1.AddEnumerable(IEnumerable`1 enumerable)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

The workaround with shared cache works for me too, but is it safe in terms of bugs and stability?

@v1rusw0rm: Do you also use CreateFunction? Unfortunately I cannot comment on the safety of the workaround (from the SQLite FAQ: Threads are evil. Avoid them.).
@ericsink: Is it possible for you to debug the example from above down to the C code of SQLite, to see concrete reason for the SQLITE_MISUSE error (no extended error code is provided)?

Doh, I see what's going on... When we retry on busy, we pass null into sqlite3_prepare_v2():
while (IsBusy(rc = raw.sqlite3_prepare_v2(_connection.Handle, tail, out stmt, out tail)))

We need to keep the tail going in the same between retires, but it's changed by out tail.

Well, I was going to acknowledge the @ above and say that I would dig into this, but it appears that a bit of procrastination has paid off nicely.


Nightly/on demand workflow for from-scratch deployment and tear-down

Create workflow deploy_and_teardown.yml, which does the following:

Deploys a new TRE instance from scratch with generated TRE ID with form testMMddHmm e.g., for datetime Oct 6th 3:18pm: test10061518

Make sure TRE core ACR has similarly unique ID

Tears down the instance using make commands e.g., make tre-destroy
Finally, no matter what the result of any of the previous jobs, will do a forced tear-down of all resources

The workflow should run nightly and on demand (workflow_dispatch).

@marrobi - have'nt we got this with our PR builds

@ross-p-smith I think so, but do we have a from scratch on main each night?

@marrobi no - we reuse the same core environment on the scheduled nightly run. But on PRs we create a whole complete one.
I think we should close as done.

Ok, lets close this.


⚠ LabBricks has degraded performance

In 66dbdf6, LabBricks (https://labbricks.com) experienced degraded performance:

HTTP code: 523
Response time: 3183 ms

Resolved: LabBricks performance has improved in 50105b5 after 24 minutes.


Doc: Add IPEX-LLM model provider

Description
IPEX-LLM is a PyTorch library for running LLM on Intel CPU and GPU (e.g., local PC with iGPU, discrete GPU such as Arc A-Series, Flex and Max) with very low latency.
This PR adds documentation to guide user how to user IPEX-LLM accelerated Ollama as a model provider for Continue on Intel GPU.
Checklist

[x] The base branch of this PR is preview, rather than main

@Oscilloscope98 this is great, thanks for the contribution!


url: tried to send, doesn't seem to work

Hi,
This is my first time using this module. Trying to get url to work. Which is happening, but only on the get command, which seems to trigger a get request.
Have configured like this:
/query *push
set service url
set message_uri http://ga-z170x-g3:84031/growl?title={context}/{nick}&message={message}
set message_length 160
set highlight znc_user
set debug on

Then when I do:
send message

There is no get request generated. Yet there is one on:
get

I also tried sending a hilight from other user, which didn't work either unfortunately. Nothing happened.
Any ideas?
I compiled with libcurl, but dont think its that, because as we see with the get command, although no action is indended there (just to read the variables), yet HTTP get request is being generated.
Here is the full *push module config:
18:07:36 <znc_user> get
18:07:36 <...*push> +========================+========================================================================+
18:07:36 <...*push> | Option                 | Value                                                                  |
18:07:36 <...*push> +========================+========================================================================+
18:07:36 <...*push> | away_only              | no                                                                     |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | channel_conditions     | all                                                                    |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | client_count_less_than | 0                                                                      |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | context                | *                                                                      |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | debug                  | on                                                                     |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | highlight              | znc_user                                                               |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | idle                   | 0                                                                      |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | last_active            | 180                                                                    |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | last_notification      | 300                                                                    |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | message_content        | {message}                                                              |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | message_length         | 160                                                                    |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | message_priority       | 0                                                                      |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | message_sound          |                                                                        |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | message_title          | {title}                                                                |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | message_uri            | http://ga-z170x-g3:8403/growl?title={context}/{nick}&message={message} |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | message_uri_post       | no                                                                     |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | message_uri_title      |                                                                        |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | network_blacklist      |                                                                        |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | nick_blacklist         |                                                                        |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | proxy                  |                                                                        |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | proxy_ssl_verify       | yes                                                                    |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | query_conditions       | all                                                                    |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | replied                | yes                                                                    |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | secret                 |                                                                        |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | service                | url                                                                    |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | target                 |                                                                        |
18:07:36 <...*push> +------------------------+------------------------------------------------------------------------+
18:07:36 <...*push> | username               |                                                                        |
18:07:36 <...*push> +========================+========================================================================+

Oh,
and here is the debug infos from send message... which does nothing (no HTTP get recieved that time)
18:12:57 <znc_user> send message
18:12:57 <...*push> service: url
18:12:57 <...*push> service_host: ga-z170x-g3
18:12:57 <...*push> service_url: /growl
18:12:57 <...*push> service_auth:
18:12:57 <...*push> use_port: 8403
18:12:57 <...*push> use_ssl: 0
18:12:57 <...*push> use_post: 0
18:12:57 <...*push> using libcurl
18:12:57 <...*push> Ok

OK so I have tweaked some other setting and now a channel hilight trigger an event, doing the same thing as send message
18:24:18 <*push> service: url
18:24:18 <*push> service_host: ga-z170x-g3
18:24:18 <*push> service_url: /growl
18:24:18 <*push> service_auth:
18:24:18 <*push> use_port: 8403
18:24:18 <*push> use_ssl: 0
18:24:18 <*push> use_post: 0
18:24:18 <*push> using libcurl

Sadly, still no http get received at other end.

For comparison, can you try to run curl http://ga-z170x-g3:8403/growl?title=Foo&message=Bar from a terminal on the same machine that's running ZNC, and see if that works?  I suspect a DNS issue or similar due to "ga-z170x-g3" not having a TLD, and would like to see how curl behaves from the shell.

@jreese Yeah I am happy to ry. But no, that works all fine.
It is like I tried to explain above ^^:
if i just type the word get in the *push window, it DOES WORK. So that proves your module can send a message / is actually capable of sending a real HTTP get request to the target uri. It appears / can see at the other end just fine.
The problem here is that just doesnt happen for any other ways I have tried (=2 ways). While the debug message is printed, but no error is being reported by it. Yet the result isnt good, and not same as when triggered by your module's get command.
Furthermore: If we look at the debug output, we can see the last message is using libcurl. And there is nothing more, because the Ok at very end is just some boilerplate and not a real confirmater (for example probably generated by your module's command handler function). As all other commands also say Ok.
Perhaps we might expect more debug line(s) after that final line using libcurl? But for me, there is none.
Module was compiled like this:
FROM ubuntu:xenial-20160125 # ubuntu 16.04 base image

# Supportive pkgs
RUN apt-get update -qqy && DEBIAN_FRONTEND=noninteractive apt-get install -y \
    wget curl git sudo nano less man && $_apt_clean

# ZNC - install build time dependancies
RUN apt-get update -qqy && DEBIAN_FRONTEND=noninteractive apt-get install -y \
    znc znc-dev ca-certificates libcurl4-openssl-dev make && $_apt_clean

# Push and http get nofitications for mobile etc
RUN git clone https://github.com/jreese/znc-push.git \
 && cd znc-push && make curl=yes \
 && ls -lsa && cp push.so /build/znc-modules/out

Hi again,
Since yesterday I've had the chance to recompile, so this time removed the curl=yes flag and rebuilt without the curl support... Now without curl, the:

send message works fine
in-channel nick hilight - works fine
get command still sends an HTTP get (maybe by accident)

Maybe it is something todo with the curl library? I just dont know. Its difficult for me to know without some specific instruction / advice to do anything different.
The README does not mention which specific runtime curl dependancy needs to be installed. It's compiled statically? README only mentions the build-time curl pkg depenancy.
Which for this build was selected as libcurl4-openssl-dev. But had to use libcurl3 for the runtime environment. Since there is no libcurl4 pkg in ubuntu. Nor visa-versa any alternative libcurl3-dev pkg neither.
Anyway here is what is currently available on the official ubuntu 16.04 apt repos:
$ apt search libcurl
libcurl-ocaml/xenial 0.5.3-2build5 amd64
  OCaml curl bindings (Runtime Library)

libcurl-ocaml-dev/xenial 0.5.3-2build5 amd64
  OCaml libcurl bindings (Development package)

libcurl3/xenial,now 7.47.0-1ubuntu2 amd64 [installed]
  easy-to-use client-side URL transfer library (OpenSSL flavour)

libcurl3-dbg/xenial 7.47.0-1ubuntu2 amd64
  debugging symbols for libcurl (OpenSSL, GnuTLS and NSS flavours)

libcurl3-gnutls/xenial 7.47.0-1ubuntu2 amd64 [upgradable from: 7.47.0-1ubuntu1]
  easy-to-use client-side URL transfer library (GnuTLS flavour)

libcurl3-nss/xenial 7.47.0-1ubuntu2 amd64
  easy-to-use client-side URL transfer library (NSS flavour)

libcurl4-doc/xenial 7.47.0-1ubuntu2 all
  documentation for libcurl

libcurl4-gnutls-dev/xenial 7.47.0-1ubuntu2 amd64
  development files and documentation for libcurl (GnuTLS flavour)

libcurl4-nss-dev/xenial 7.47.0-1ubuntu2 amd64
  development files and documentation for libcurl (NSS flavour)

libcurl4-openssl-dev/xenial 7.47.0-1ubuntu2 amd64
  development files and documentation for libcurl (OpenSSL flavour)

libcurlpp-dev/xenial 0.7.3-6 amd64
  c++ wrapper for libcurl (development files)

libcurlpp0/xenial 0.7.3-6 amd64
  c++ wrapper for libcurl

As can be seen, both those selected pkgs say 7.47. So I'm genuinely stumped by it all. I.e. which should be the correct deps pkgs. It being ubuntu and all.
The curl (standalone program's) deps:
$ apt show curl
Package: curl
Version: 7.47.0-1ubuntu2
Depends: libc6 (>= 2.17), libcurl3-gnutls (= 7.47.0-1ubuntu2), zlib1g (>= 1:1.1.4)

I have the same issue. I set up a dummy web server and I found that everything after the question mark (the GET query parameters) is plainly and simply discarded. I tried to escape the question mark to no avail.


LinearProgress does not work on Samsung devices

Describe the bug
From the forum: The LinearProgress component always appears full on Samsung devices.
Affects

[ ] Designer
[ ] Blocks editor
[ ] Projects Explorer
[x] Companion
[x] Compiled apps
[ ] Buildserver
[ ] Debugging
[ ] Other... (please describe)

Expected behavior
The LinearProgress component should render progress appropriately.
Steps to reproduce
Add a LinearProgress component to a project and connect a Samsung device using Android companion version 2.70.

I'm attempting to address this bug, but when I try to reproduce it on my companion with version 2.7.0, it presents another issue: the program crashes and throws an exception "java.lang.RuntimeException: no such class: com.google.appinventor.components.runtime.LinearProgress". I'm unsure if this behavior was expected, but here's the full error:

Thanks for the help. I downloaded the APK from the forum, and I also tried to build it from the ucr branch, but it still gives me the same error


CDR: evaluation of the current WM system projected to on the HL-LHC scenario

Impact of the new feature
WM in general
Is your feature request related to a problem? Please describe.
This ticket is meant to collect information about the HL-LHC requirements, from the model that David Lange has been extensively working on. One of the ideas is to consider the current WM system functionalities and evaluate whether it would fit into the projections for HL-LHC. This evaluation should help us to identify weak areas within the WM system that need to evolve for HL-LHC.
This information will be of paramount importance for the Computing Conceptual Design Report (CDR) as well.
Describe the solution you'd like
The following information needs to be collected and documented as a baseline data for WM HL-LHC evolution:

discussion of the current vs HL-LHC scenario for WM (see what is considered (or missing) in the HL-LHC model implemented by David L)
try to define the WM requirements for HL-LHC, including the most important resources to be taken into consideration (CPU, GPU, memory, disk, tape, network)

We are not supposed to go deep into these discussions, but instead to understand - and document - what the requirements will be, which areas deserve more or less attention, etc.
Potential sub-tasks are:

[ ]  CDR: continuous input data removal for active workflows #11409
[x]  CDR: Get job failure rate and correlation in failure rate from condor job monitoring #11550
[ ]  CDR: Answer open questions from the general CDR WM doc based on projections fromlatest model from 2021 #11551
[x]  CDR: Write a report stating progress on parameters/requirements of WM system projected on the HL-LHC scenario #11552
[ ]  Determine WMStats current limits #11571

Describe alternatives you've considered
None
Additional context
None

@khurtado Kenyi, I see you linked and/or mentioned that some of those issues created above are actually meant to be sub-tasks of this one. Based on that, I relabelled this issue to a "Meta" issue and also added all the sub-tasks to the original description.
Please let me know if you think that is okay; or if you'd rather make further changes to this issue.


Add informational popup to tell which number of solutions came from which source.

Hey Charlie, this is a duplicate of https://github.com/hieunc229/copilot-clone/pull/29 and I can't continue with it


Deletion of COMPLETED|DELETED processor tasks is very slow

Seen in v7.0-beta.17 and will also affect v7.1-beta.(19|20|21)
The query looks a little like this
delete from processor_task pt
where (pt.status = 5 or pt.status = 10)
and (pt.status_time_ms is null or pt.status_time_ms < 10);

however there is currently no index with status_time_ms in so is using the status_create_time_ms idx which can only use the status column and then full scan the rest.
Adding an idx like this sped up the deletes dramatically.
create index processor_task_status_time_ms_status_idx on processor_task (status_time_ms, status);

Fixed in v7.0.18


Is package still maintained?

Hi @niftylettuce, thanks for your package, it's working well until now.
Just wondering, are you still maintaining it, and would you be receptive to PRs? I'd like to suggest a typedef file (for people using the module with typescript) and an update of Raven (to 2.4).
Thanks :-).

Open to PRs and adding you as a maintainer
On Feb 2, 2018 5:12 AM, "Vincent G"<EMAIL_ADDRESS>wrote:

Hi @niftylettuce https://github.com/niftylettuce, thanks for your
package, it's working well until now.
Just wondering, are you still maintaining it, and you will be receptive to
PRs? I'd like to suggest a typedef file (for people using the module with
typescript) and an update of Raven (to 2.4).
Thanks :-).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/niftylettuce/winston-raven-sentry/issues/3, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAf7hd6-zhdyUxew09j3za0s3x9EAZj0ks5tQt-KgaJpZM4R29Rb
.

Raven client updated in #6

I think Sentry is moving towards namespaced packages, how will this work with winston or winston 3?
https://github.com/getsentry/sentry-javascript#supported-platforms
import { init, captureMessage } from '@sentry/browser'; // or '@sentry/node'

init({
  dsn: '__DSN__',
  // ...
});

captureMessage('Hello, world!');

I set up a public repo that we'll be using that uses the new node sentry SDK and will be compatible with winston 3.0 (I'm doing 2.x first cause I need to support 2.x as well)
https://github.com/synapsestudios/winston-sentry

Sorry, I refuse to support Sentry (and other similar services like Bugsnag) because of a specific security issue with their tools/packages.

With that said, would you at least update the description / README? The "maintained" part is very misleading.