fm_create_file_from_selection AttributeError

File "FMcommands.create_from_selection in /home/username/.config/sublime-text-3/Installed Packages/FileManager.sublime-package", line 34, in run
File "pathhelper in /home/username/.config/sublime-text-3/Installed Packages/FileManager.sublime-package", line 14, in computer_friendly
AttributeError: 'NoneType' object has no attribute 'path'

Also get this on right click on selection
File "FMcommands.appcommand in /home/username/.config/sublime-text-3/Installed Packages/FileManager.sublime-package", line 9, in is_visible
File "sublimefunctions in /home/username/.config/sublime-text-3/Installed Packages/FileManager.sublime-package", line 24, in get_settings
AttributeError: 'NoneType' object has no attribute 'load_settings'

also see some strange big item in context menu

Ok, let's do one problem at a time.
First one
It might be because the Sublime Text 3's version of python is prior to 3.4 (more info), although it's weird since I'm not using any class... I'll have to think about it.
Can you give me more info about how you got that? do you have this error every time you use this command? Could you try revert to a fresh state and install only FileManager and check if you have the same error?
Second one
Please raise another issue with details (how to get that).
Thanks for your time anyway 👍

I reset my sublime text install only package control and FileManager
sublime version: 3126
python version: 3.5.2
when I open existing file all works file
but when I press ctrl+n (create new file) then set syntax to javascript then paste some code and select some part and press right click I get the following error
Traceback (most recent call last):
File "/sublime_text_3/sublime_plugin.py", line 755, in description_
return self.description(**args)
File "FMcommands.create_from_selection in /home/username/.config/sublime-text-3/Installed Packages/FileManager.sublime-package", line 117, in description
File "FMcommands.create_from_selection in /home/username/.config/sublime-text-3/Installed Packages/FileManager.sublime-package", line 114, in get_path
File "./python3.3/posixpath.py", line 151, in dirname
AttributeError: 'NoneType' object has no attribute 'rfind'

I see the problem, but there's something that I'm still missing...
The problem is that you're file isn't saved. Yet, to create a file you need the file_name because the url is relative to it.
What I don't understand is how you're able to call it, since if the file isn't saved (view.file_name() is None), the option isn't displayed.
Note 1: Sublime Text has it's own version of Python (and I which it was at least python 3.5, but anyway), as you can see in the traceback (File "./python3.3/posixpath.py", line 151, in dirname).
Note 2: could you install PackageResourceViewer and extract FileManager, you'll get better traceback, which will help me find the problem quicker 🙂
Thanks for your time again, I really appreciate it! 👍

I see the problem, but there's something that I'm still missing...
The problem is that you're file isn't saved. Yet, to create a file you need the file_name because the url is relative to it.
What I don't understand is how you're able to call it, since if the file isn't saved (view.file_name() is None), the option isn't displayed.
Note 1: Sublime Text has it's own version of Python (and I which it was at least python 3.5, but anyway), as you can see in the traceback (File "./python3.3/posixpath.py", line 151, in dirname).
Note 2: could you install PackageResourceViewer and extract FileManager, you'll get better traceback, which will help me find the problem quicker 🙂
Thanks for your time again, I really appreciate it! 👍

I try PackageResourceViewer but after extracting it gives me the same error as I mention bellow
Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 755, in description_
    return self.description(**args)
  File "FMcommands.create_from_selection in /home/username/.config/sublime-text-3/Installed Packages/FileManager.sublime-package", line 117, in description
  File "FMcommands.create_from_selection in /home/username/.config/sublime-text-3/Installed Packages/FileManager.sublime-package", line 114, in get_path
  File "./python3.3/posixpath.py", line 151, in dirname
AttributeError: 'NoneType' object has no attribute 'rfind'

I think python 3.3 comes from here

Did you extracted FileManager? You should be able to find it under Packages (Preference → Browse Packages)
When you have your unsaved file opened, could you paste print(view.file_name()) in the console and tell me what you get? (you should get None)

Yes I extract FileManager and it put files to .config/sublime-text-3/Packages but I didn't see any other output
>>> print(view.file_name())
None

I'm guessing that was a problem with the is_visible method on the command. There's a manual check now, and I can't reproduce this. So, I'm going to close this. Feel free to reopen if that is still happening to you :slightly_smiling_face:
https://github.com/math2001/FileManager/blob/5984505573e409bcb16b023d208d54a4328025ca/FMcommands/create_from_selection.py#L138


FIX TypeError if the queue in ThreadedBackend is gone

Current coverage is 100% (diff: 100%)

Merging #25 into master will not change coverage

@@           master   #25   diff @@
===================================
  Files           6     6
  Lines         167   170     +3
  Methods         0     0
  Messages        0     0
  Branches        0     0
===================================
+ Hits          167   170     +3
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update 4d38d71...761009c


Vagrant-VirtualBox version conflict

Right now, we're installing Vagrant 1.8.1 (because that's the default from the vagrant cookbook), which doesn't support the latest version of VirtualBox (5.1.x), leaving users in a state that they can't use kitchen out of the box.
I've heard that an update may be coming soon to the vagrant cookbook, but if it doesn't land soon, we should add an attribute to specify the latest (1.8.5) version of Vagrant.

I'm working on a PR to the Vagrant cookbook.

Fixed by https://github.com/jtimberman/vagrant-cookbook/pull/65


Skeleton created

Closes: #3

@Graur I tried many solutions, but error didn't change. Maybe you had something similar and you know how to solve it?

@EugeneDar Let's remove windows build and create a new issue about it.

@Graur I think it's something fundamental, and it's strange that it isn't working. But, sure, I will remove it.

@Graur please, have a look

@yegor256 please, have a look

@Graur please, review this one

@yegor256 I have already seen this pull request. It's just a template for the future improvements

@yegor256, can you merge it?

@EugeneDar I suggest you create .rultor.yml too, asap

@yegor256 sure

@yegor256 we already have .rultor.yml, correct me if I have misunderstood something.

@EugeneDar We need to invite rultor to this repository


Is it possible to hide protocol field names

We are using protobuf now, it will keep the protocol in binary, it can almost restore the protocol, I noticed that FastBinaryEncoding also has this problem, I hope not to keep any related strings with the protocol declaration

Ok, as I understand you want to have 'transparent' fields that are present in objects/clases, but not serializable/deserializable and not output in logger/std::streams. Am I right?


Adjust Transfer Settings page doesn't work.

Hello,
We've got Windows Admin Center (version 2110.2 build 1.3.2204.19002) installed on a VM with Windows Server 2022 Standard 21H2 OS build 20348.1006 with the Storage Migration Service extension 2.24.0 installed.
We're able to create a job, add servers to the job, define credentials and so on without issue. However we've got an issue under the Transfer Data section > Adjust Settings page. This page in particular does not proceed when pressing next, any edits to settings on this page are not respected during the rest of the process. We can bypass this page by clicking Install required features in the side navigation but are still unable to adjust any of the settings defined on this page, the defaults are OK but we'd like to ability to adjust these if needed. No error messages show, simply nothing happens when pressing next. Save and exit also fails to save any settings adjustments.
We've attempted to uninstall and reinstall the SMS extension without luck. Is this just a bug? Let me know if there are any log files I can produce to assist.

#assign:xelu86

Hey @dir-it,
Thanks again for contacting Microsoft. We value your feedback.
As we understand it, you're describing a problem with the product itself and not with the product documentation. If there are any issue(s) within the content, please let us know so revisions can be made for more clarity.
GitHub isn't quite the right location for technical support. To get assistance or support for your product issue, we recommend that you engage with the product community or open a ticket with Microsoft Support.
Additional support forums:

TechNet forums: https://social.technet.microsoft.com/Forums/en-US/home
MSDN: https://social.msdn.microsoft.com/Forums/en-US/home
Microsoft Community: https://answers.microsoft.com/

We hope that that a resolution to this issue will be solved by our product experts. We will now be closing this thread.
Thank you and have a most pleasant day.
#please-close


Installation Error

Yes, this is a known issue. For the time being, I have not uploaded the package in https://packagist.org/. I have been waiting for the backendless guys to do it since this package has dependencies towards it.
Feel free to upload this package but will not be of any help until the backendless sdk is also available as a package. In the meantime, please do manual installation of both the backendless sdk and this package.


Train slowly

It seems the GPU-Util is very low, althought increase the batch size.
BTW, may be the block of step time should be placed after apply_gradients function ?

Yes, the time count should be placed after apply_gradients. Did you set use_cross to True? If so, the speed will be slow because it performs feature cross for all features. And this process cannot be optimized (as far as I known) like FM feature crossing part.

I didn't set use_cross to True. The gpu-util is always about 3-5%.
Have you ever met this problem?

Yes, the time count should be placed after apply_gradients. Did you set use_cross to True? If so, the speed will be slow because it performs feature cross for all features. And this process cannot be optimized (as far as I known) like FM feature crossing part.

If your GPU memory is vacant, try to increase the batch_size to fully utilize the GPU ability.


if Jquery ajax cache is set to false, the cache busting params causes client_side_validations to barf

Hi,
If you need to have jQuery.ajaxSetup({'cache': false}) for your application (like if you are making heavy use of Backbone.js)  Jquery adds a "_=328742394734" style cache busting param to every ajax request made.
When the client side validation middleware tries to validate this, it assumes it is an addr of the model, and throws an exception.
Since this is a core Jquery thing, it would be cool if client_side_validations ignored this parameter.

I'd be happy to submit a patch and tests, if you just told me the right place to take care of this as well.

You probably want to remove it from the request all together on this line: https://github.com/bcardarella/client_side_validations/blob/3-1-stable/lib/client_side_validations/middleware.rb#L29
This will ensure that any other remote validator plugins will benefit from this as well.
If you make a pull request, please do so to the 3-1-stable branch as that is the branch I am releasing from until I complete the 4.0 rewrite.

Thanks for the quick response.  I will try to give it a shot this weekend! Thanks!

Is '_' the common cache buster param? I want to make sure this is covered for all cases. Or perhaps making this a config option somewhere.


NavigationViewItem.SelectsOnInvoked with false value has unexpected behavior

Describe the bug
Setting the SelectsOnInvoked property to false will inhibit programmatic selection.
Steps to reproduce the bug

In xaml or code, set SelectsOnInvoked property of a NavigationViewItem to false
In code, set the NavigationView.SelectedItem to the above NavigationViewItem.
Run the app
You will notice that the item is not selected. Changing SelectsOnInvoked back to true (the default) will allow programmatic selection.

Sample app is here.
Expected behavior
Documentation states: the value is "true if invoking a navigation menu item also selects it; otherwise, false." I am assuming "invoking" to involve a user interaction or input.
One would expect non-invoking methods of selecting an item (e.g. code) to remain available.
I am basing my understanding of invocation on NavigationView docs, which state "ItemInvoked is raised any time the user taps a navigation item, even if it's already selected. (The item can also be invoked with an equivalent action using mouse, keyboard, or other input. For more info, see Input and interactions.)"
You will notice, however, that the ItemInvoked event is raised in my sample app, which I also would not expect.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.0 (If you're seeing your issue in older previews of WinUI 3, please try this release)
Windows app type

[ ] UWP
[X] Win32

Device form factor
Desktop
Windows version
May 2021 Update (19043)
Additional context
I came across this while trying to find a way to insert a sanity check (i.e. unsaved data) before navigating away from a page. If I could keep the NavigationViewItem from being selected when invoked, I could handle the invoked event. In the handler, I could prompt user; then, either cancel or programmatically select item and navigate to requested page.
This idea, however, has a problem in that programmatic selection raises the invokedevent, and an endless loop and ultimate stack overflow.
Issue #6509 is a proposal (request, really) for a straightforward way of doing this.

@ojhad this suggestion seems like the right behavior, do you agree?

Good morning,
I have the same problem. Yes, it would be nice to have the possibility to validate the selection of a NavigationViewItem.
Do you have guys any updates regarding the status of this issue?
Thank you.


Documentation

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@dda41ed). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #3   +/-   ##
=========================================
  Coverage          ?   48.74%
=========================================
  Files             ?       10
  Lines             ?      199
  Branches          ?        0
=========================================
  Hits              ?       97
  Misses            ?      102
  Partials          ?        0

Continue to review full report at Codecov.

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


Remove JS globals related to timetracking and due date

Refactor to avoid these globals. Should work exactly as before.

:rocket:


fix errors is null

when the validate value type is object, the errors return by the deep validate might be null.

Changes Unknown when pulling 405922ac40e59668268bfda9b612a02c8ca26720 on baiyaaaaa:master into ** on yiminghe:master**.


Make iov-cli work with NodeJs 12+

We get the error
>> (node:71798) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_REPL_INPUT] [ERR_INVALID_REPL_INPUT]: Listeners for `uncaughtException` cannot be used in the REPL
    at process.<anonymous> (repl.js:224:15)
    at process.emit (events.js:205:15)
    at process.EventEmitter.emit (domain.js:471:20)
    at process.emit (/place/node_modules/source-map-support/source-map-support.js:461:21)
    at _addListener (events.js:226:14)
    at process.addListener (events.js:274:10)
    at Object.C.useBackupModule (/place/node_modules/libsodium/dist/modules/libsodium.js:1:1244)
    at /place/node_modules/libsodium/dist/modules/libsodium.js:1:502840
    at processTicksAndRejections (internal/process/task_queues.js:89:5)
(node:71798) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)

after https://github.com/nodejs/node/commit/c709c524fd674f3762b3da9e005f645255bc1e2f because of code compiled into node_modules/libsodium/dist/modules/libsodium.js.

Filed a bugreport in libsodium.js: https://github.com/jedisct1/libsodium.js/issues/205

@webmaster128 How do I reproduce this error?

How do I reproduce this error?

Build project
Install nodeJs 12 or higher and make it the default for #!/usr/bin/env node
Go to packages/iov-cli and run ./bin/iov-cli

PR submitted to libsodium: https://github.com/jedisct1/libsodium/pull/853

I subscribed to https://github.com/jedisct1/libsodium.js releases. Let's see and wait. For now we can see this as a known limitation.

There is a new version of libsodium.js available. "libsodium-wrappers": "^0.7.6", should include the fix (untested)


Invalid discord link

Discord Link in Readme.md file not working
Screenshot

@Hrithik5 go for it buddy 😉😂

This issue is solved


the result of  swin base segmentation is 49.72% mIoU, is it used pretrained model imagenet-1k or imagenet-22k?

the result of  swin base segmentation is 49.72% mIoU, i see the pretrain=None in the config. So, this result is not used pretrained model,  right?

Sorry for the misleading config.
All results in this table use models pre-trained on ImageNet-1K.


feat(FTL-18291): implementa credential revocation

@YoussefAWasfy One last request, as you are calling new endpoints please add the policy operation to apps.json. This is used by CLI when generating the PAT for the ref app.


Although requiredVersion:'Auto' is set, I m getting ERROR Error: Uncaught (in promise): Error: inject() must be called from an injection context

I m appliyng all rules according to  this article
https://www.angulararchitects.io/aktuelles/pitfalls-with-module-federation-and-angular/
But because of different version of angular (mfe/shell), I m getting an error like :ERROR Error: Uncaught (in promise): Error: inject() must be called from an injection context . What should I do more ?

I set also  singleton: true and it works.
`    shared: share({
"@angular/core": { requiredVersion: 'auto', singleton: true  },
"@angular/common": { requiredVersion: 'auto', singleton: true  },
"@angular/router": { requiredVersion: 'auto' , singleton: true },
"@angular/common/http": { requiredVersion: 'auto', singleton: true  },
    // Uncomment for sharing lib of an Angular CLI or Nx workspace
    ...sharedMappings.getDescriptors()
  })`


Attachment events, but no logs

I'm not sure if I'm running into a bug or if I'm doing something wrong. I attempted with the latest version of logspout in docker.io and I also rebuilt logspout from source.
docker run -v=/var/run/docker.sock:/tmp/docker.sock -itd -p 8000:8000 -e DEBUG=true --name logs progrium/logspout syslog://<IP_ADDRESS>:5140
Client version: 1.1.0
Client API version: 1.13
Go version (client): go1.2.1
Git commit (client): 79812e3
Server version: 1.1.0
Server API version: 1.13
Go version (server): go1.2.1
Git commit (server): 79812000

2014/09/29 10:53:32 attach: 5c08c7d0682d success
2014/09/29 10:53:32 attach: 431fdccfbe29 success
[debug] stdcopy.go:109 Error selecting output fd: (50)
2014/09/29 10:53:32 attach: 5c08c7d0682d finished
2014/09/29 10:53:32 attach: 244c3e51188e success
2014/09/29 10:53:32 routing all to syslog://<IP_ADDRESS>:5140
2014/09/29 10:53:32 loading and persisting routes in /mnt/routes
2014/09/29 10:53:32 logspout serving http on :8000
[debug] stdcopy.go:109 Error selecting output fd: (83)
2014/09/29 10:57:08 attach: 431fdccfbe29 finished
[martini] Started POST /routes for <IP_ADDRESS>:46865
[martini] Completed 201 Created in 238.162us
[martini] Started GET /routes for <IP_ADDRESS>:46870
[martini] Completed 200 OK in 277.06us
[martini] Started GET /logs for <IP_ADDRESS>:46874
[martini] Completed 0  in 36.331076583s
[martini] Started GET /routes for <IP_ADDRESS>:56731
[martini] Completed 200 OK in 107.044us
[martini] Started GET /logs for <IP_ADDRESS>:56731

Since this issue is pretty old, I'm going to close until it surfaces again. If it wasn't an issue resolved by Docker, I'll check for pty and warn the user or fail fast.

I just ran into this issue. logspout does not gather any logs from containers that are started with "-t". I believe this should be at least mentioned on README page.


Add afterEvaluate call also in doCheck method (now triggered only on fire)

We use The rule engine check method to get a map of Rules and their results. We're able to inject Facts trough a RuleListener calling the beforeEvaluate method. What we would need is to be able to call also the afterEvaluate() method of the Listener, that is not triggered when using check but only when using fire.

This is available in below version

io.github.dvgaba
easy-rules-core
1.0.5


Disable / enable plugin using ENV variable

Add support to deactivate the plugin using the ENV variable to speed up writing standard documentation without API generation and snippets.
More about Environment Variables in MkDocs.
Inspiration from mkdocs-simple-hooks
plugins:
  - mkdoxy:
      enabled: !ENV [ENABLE_MKDOXY, True]
      ...

Add disabling plugin support (ENV)


Broken in the boox 3.4 beta firmware with build number 2023-08-02_19-54_3.4

Hi, I love this app, but something changes in the boox 3.4 beta firmware with build number 2023-08-02_19-54_3.4 on my tab ultra because Gentle Glow doesn't work anymore, it opens but selecting or modifying the profiles don't do anything, it just keeps the front light setting from the standard sliders.

Hi! I've updated the Books libraries, and made a minor adjustment based on buggy behavior on NoteAir2.
But I'm not in the beta program, so can you please let me know if v4.0 works correctly for you now?

Thanks a lot, I update to 4.0 but it still don't work on 3.4 beta, I notice that boox change the light sliders so maybe they updated their APIs

With the latest with the 4.1 update it still don't work on the 3.4 beta firmware on my TU

Thanks for keeping me posted! Fixed in 4.3. Closing for now. Please reopen if needed


HC2 no longer shows VD as accessories

Hi Ilcato,
Used an old version of the plugin and Homebridge for a long time but recently decided to update everything so that I can use the Homebridge GUI. Done a new install on latest Homebridge RPi distro and installed the current plugin. Everything works as expected other than VD's I have dont come across as switches. Has the behaviour changed sometime? Or have I missed something in the setup. The config looks near identical and can't see anything different that would cause it.
Thanks.
EDIT: Here is the log from the new plugin...

[30/05/2021, 11:50:24] [FibaroHC] Adding new accessory: Motion Sensor
[30/05/2021, 11:50:24] [FibaroHC] Adding new accessory: Temp Sensor (Motion)
[30/05/2021, 11:50:24] [FibaroHC] Adding new accessory: Light Sensor
[30/05/2021, 11:50:24] [FibaroHC] Adding new accessory: Door Sensor
[30/05/2021, 11:50:24] [FibaroHC] Adding new accessory: Door Sensor
[30/05/2021, 11:50:25] [FibaroHC] Adding new accessory: Floor Lamp
[30/05/2021, 11:50:25] [FibaroHC] Adding new accessory: Dining Light
[30/05/2021, 11:50:25] [FibaroHC] Adding new accessory: netatmo Indoor Temp
[30/05/2021, 11:50:25] [FibaroHC] Adding new accessory: netatmo Indoor Humid
[30/05/2021, 11:50:26] [FibaroHC] Adding new accessory: netatmo Outdoor Temp
[30/05/2021, 11:50:26] [FibaroHC] Adding new accessory: netatmo Outdoor Humi
[30/05/2021, 11:50:26] [FibaroHC] Adding new accessory: Dishwasher
[30/05/2021, 11:50:26] [FibaroHC] Adding new accessory: Washing Machine
[30/05/2021, 11:50:26] [FibaroHC] Adding new accessory: Wall Lamps
[30/05/2021, 11:50:26] [FibaroHC] Adding new accessory: HW Cylinder
[30/05/2021, 11:50:27] [FibaroHC] Adding new accessory: Immersion Heater
[30/05/2021, 11:50:27] [FibaroHC] Adding new accessory: FibaroSecuritySystem

And the old HC2 plugin:

[30/05/2021, 11:43:26] [FibaroHC2] Added/changed accessory:  Motion Sensor
[30/05/2021, 11:43:26] [FibaroHC2] Added/changed accessory:  Temp Sensor (Motion)
[30/05/2021, 11:43:26] [FibaroHC2] Added/changed accessory:  Light Sensor
[30/05/2021, 11:43:26] [FibaroHC2] Added/changed accessory:  Door Sensor
[30/05/2021, 11:43:26] [FibaroHC2] Added/changed accessory:  Door Sensor
[30/05/2021, 11:43:26] [FibaroHC2] Added/changed accessory:  Floor Lamp
[30/05/2021, 11:43:27] [FibaroHC2] Added/changed accessory:  netatmo Wind Gauge
[30/05/2021, 11:43:27] [FibaroHC2] Added/changed accessory:  Dining Light
[30/05/2021, 11:43:27] [FibaroHC2] Added/changed accessory:  netatmo Indoor Temp
[30/05/2021, 11:43:27] [FibaroHC2] Added/changed accessory:  netatmo Indoor Humid
[30/05/2021, 11:43:27] [FibaroHC2] Added/changed accessory:  netatmo Outdoor Temp
[30/05/2021, 11:43:28] [FibaroHC2] Added/changed accessory:  netatmo Outdoor Humi
[30/05/2021, 11:43:28] [FibaroHC2] Added/changed accessory:  Kitchen Lights
[30/05/2021, 11:43:28] [FibaroHC2] Added/changed accessory:  Living Lights
[30/05/2021, 11:43:28] [FibaroHC2] Added/changed accessory:  Bedroom Lights
[30/05/2021, 11:43:28] [FibaroHC2] Added/changed accessory:  State Scenes
[30/05/2021, 11:43:28] [FibaroHC2] Added/changed accessory:  Dishwasher
[30/05/2021, 11:43:29] [FibaroHC2] Added/changed accessory:  Washing Machine
[30/05/2021, 11:43:29] [FibaroHC2] Added/changed accessory:  Wall Lamps
[30/05/2021, 11:43:29] [FibaroHC2] Added/changed accessory:  HW Cylinder
[30/05/2021, 11:43:29] [FibaroHC2] Added/changed accessory:  Immersion Heater

Kitchen Lights, Living Light, Bedroom Lights and State Scenes are VDs that run scenes to control the lights in those rooms or overall state for State Scenes (Good morning, Good night etc).

same here

I experience the same problem. Fresh install of Raspberry Pi OS Lite (May 7th 2021 version, Kernel version: 5.10) on RPi Mod 3 with HB for Raspberry PiOS. HC2 4.600. Would be great to have this resolved as Virtual Devices are a great way to wrap already existing  HC2 scenes, avoiding you to have to recreate them in Apple Home to be able to use Siri activation.

@Cameleon99 @josecarlosmoimaz @markand80 can you test the beta version on an HC2 and see if the VD are working?
Use sudo npm install -g homebridge-fibaro-home-center@beta
Thanks

Put it in the latest release


Documentation seems inaccurate?

Hello.
I’m trying to run the MyFirstTest example on the web page, but I’m getting this error every time:
> yarn xunit .out
yarn run v1.22.5
warning package.json: No license field
$ /root/temp/xunitts/node_modules/.bin/xunit .out
Starting xunit.ts...

An unhandled TypeError occurred: Class constructor TestSuite cannot be invoked without 'new'
TypeError: Class constructor TestSuite cannot be invoked without 'new'
    at new MyTestSuite (/root/temp/xunitts/.out/MyTestSuite.js:62:42)
    at Function.<anonymous> (/root/temp/xunitts/node_modules/xunit.ts/dist/src/Runners/TestSuiteLoader.js:52:27)
    at Generator.next (<anonymous>)
    at fulfilled (/root/temp/xunitts/node_modules/xunit.ts/dist/src/Runners/Testerror Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Is there something I’m missing?
Thank you in advance!

Fixed in 49c3f38


Slugthrower Rebalance?

This is a PR I've been asked to make by an associate from Abyssal Reconaissance.  It simply reduces the amount of damage .50 ammunition does to ships by a large amount, while retaining a great deal of lethality for flesh targets.
If anything, this should make heavier artillery more important in ship v ship combat.

I've been told they've got a high enough firerate for it to not matter that much.


Add flake8 to collection package

It was asked a few times how to use flake8. It's probably worth to include it to our deployment collection.

Thank you, @tacaswell!


Testing a class with database call on __destruct() is causing errors after updating laravel.

Laravel Version: 5.4.28
PHP Version: 7.0
Database Driver & Version: MySQL 5.7.18

Description:
I have a buffer class I wanted to test that has a Model::insert(array $values) on the class __destruct() method. However after updating from Laravel v5.4.23 to v5.4.28 (and PHPUnit from 5.7.20 to 5.7.21), the tests were passing, but causing fatal errors after running.
(https://github.com/laravel/framework/issues/9733) I managed to "fix" it by removing the line 1124 ($this->instances = [];) on vendor/laravel/framework/src/Illuminate/Container/Container.php (\Illuminate\Container\Container)
The error is:
PHP Fatal error:  Uncaught ReflectionException: Class config does not exist in /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php:729 Stack trace: #0 /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('config') #1 /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\Container\Container->build('config') #2 /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(575): Illuminate\Container\Container->resolve('config') #3 /var/www/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(728): Illuminate\Container\Container->make('config') #4 /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(1172): Illuminate\Foundation\Application->make('config') #5 /var/www/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(256): Illuminate\Container\Container->offsetGet('config') #6 /var/www/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(86):  in /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729 PHP Stack trace: PHP   1. {main}() /var/www/vendor/phpunit/phpunit/phpunit:0 PHP   2. PHPUnit_TextUI_Command::main() /var/www/vendor/phpunit/phpunit/phpunit:52 PHP   3. PHPUnit_TextUI_Command->run() /var/www/vendor/phpunit/phpunit/src/TextUI/Command.php:116 PHP   4. PHPUnit_TextUI_TestRunner->doRun() /var/www/vendor/phpunit/phpunit/src/TextUI/Command.php:186
Steps To Reproduce:
It's very hard to reproduce that, but after including tests for a class with a database call on the __destruct() method (create a instance of that class on a test and let it pass, run that test with the current test suite) it started to fail. Running only that test will pass without problems.
I'm including a gist with a Class and Test Example https://gist.github.com/luisguilhermemsalmeida/f6391a58cbc71733382b214deddeec7e

While the app is terminating after running a test all container instances are flushed, while your class is being destructed these instances won't be available.

So you would advice not to use the __destruct() method like that? When I implemented it the first time I thought that it wouldn't be safe to leave responsibilities to the destruct method, but I wasn't sure at that time.

You can use it but keep in mind that there's no guarantee that container instances will be available while running tests since they're flushed before the script dies (the time when __destruct is called).

@themsaid Hi, sorry to have to re-open this but has any discussion on the matter happened so far?
I'm having a slight issue with the lack of being able to clean up a multi-tenant application's TDD testing remains and have no clear answer in my head. Also, I haven't been able to do enough code diving to be able to propose a pull request, so trying my luck on here …
See, the way I create tenant databases for all my tests is with the test case's setUp() method, then performing the removal during tearDown(). But  whenever there's an error (during TDD or otherwise) the testing database remains.
The destructor would be the perfect place to handle clean up tasks of this and similar kind in general, but at that point (as you've stated it sone nicely above), there's no access to any of the Laravel specific features anymore.
I imagine it is not too often that someone depends on this, but it would make sense to support an option for these cases, I think …
I mean, unless there's an undocumented Laravel way to the PHP register_shutdown_function?


Create Environment artwork for Getting Started page

After shipping the Create Environment command, we would like to create artwork for it on the Getting Started page.

I am currently working on designing an experiment to include a Create Environment tile on the Getting Started page that will include a when clause to show when there is a workspace open otherwise it will default to the Select a Python Interpreter tile. This has not been released quite yet though.
My first thought was to convey the venv vs conda choices in the artwork but open to other ideas.

As in, it will replace it? or is this step just added?

The Create Environment tile should replace the Select Interpreter tile since an interpreter will be selected as part of the create environment process. Users will see one of the other depending on if a workspace is open or not.

Were you thinking of this like in a quick pick like we do for the interpreter step? Or something instead that showcases the various environment logos?

More of a quick pic similar to how it is done for the interpreter step.

Ok, sounds good! Could you let me know what text you want displayed for the one or two options?

Can we try "Venv" and "Conda" similar to how it shows on the dropdown?

Thoughts on these two? Thinking to update the interpreter one while we're in here for consistency with the built-in walkthrough designs:

This looks great! Just to confirm the Select Interpreter artwork above in the same as what is currently there, but you are suggesting an update?

Correct, I can update both in one PR.

That would be great!


Enhancing the login and sign up Button

Enhancing buttons on a web page improves both the aesthetics and user experience. Well-designed buttons are visually appealing, making them more noticeable and inviting users to take action. Enhancements such as using contrasting colors, clear text labels, appropriate sizing, and hover effects ensure that buttons stand out and are easy to interact with.

you can assign this task to me


Real time stream from microphone

This takes the project from dumb to magic.
Top tier repo here from which we can learn a lot: https://github.com/wavey-ai/mel-spec

Howdy, I've done some audio programming in the past, this project is super sweet, do you mind if I start to take a crack at this?

Howdy, I've done some audio programming in the past, this project is super sweet, do you mind if I start to take a crack at this?

It's a ton of work in Rust - if you're up to the challenge reach out to me on Discord: _fleetwood

That looks like a killer feature!

Totally possible!
All future development is being done here: https://github.com/huggingface/ratchet
Should be pretty trivial, someone has already done the hard work: https://github.com/wavey-ai/mel-spec
All that needs to be done is plug Ratchet in as a backend to that crate!
I'm developing other models, would be great if someone picked this up. Happy to guide.


connecting to local Elasticsearch cluster ?

The readme says..  "it will only enable its authentication and SSL support when connecting to a Found-hosted Elasticsearch cluster".  Can I make use of this elasticsearch-transport-module to enable authentication & SSL when connecting to my local Elasticseach cluster? If yes, any pointers on how to achieve it ?

No, have a look at Shield.

could you please explain a little more on why "No" ?

Well, it's open source, so you can legally do whatever you want with it, but it requires support for ssl on the server side and Elasticsearch does not provide that without the Shield plugin. Shield has it's own plugin for the client so with Shield this plugin is not only not needed, but probably not compatible either.

Ok.. You mean to say the Found-hosted Elasticsearch cluster has its server side SSL enablement done to be compatible with this transport module right ?

It's really the other way around. This plugin does what is required to tunnel the es transport protocol over SSL and adds the necessary information for the proxies in front of found hosted clusters to authenticate and forward traffic to the correct cluster.

This plugin just does not make any sense for clusters that are not running behind the proxies we use at Found.

If you feel like it, there is nothing stopping you from implementing a proxy compatible with this plugin, but in that case I think it's cheaper to just buy Shield or have a look at some other ssl tunneling software.

Hey @nihilson, thanks for an interesting question.
This repository only contains the client-side parts of the SSL which can be enabled for a Transport Client and will not work out of the box for the server-side handling of the SSL. By default, this SSL termination isn't something that Elasticsearch supports out of the box, but these features are part of the commercial plugin called Shield.
If Shield is not an option for you, I'm sure the code in this repository that handles SSL can be useful, but other parts like the keep-alives, and authentication will need to be stripped. Additionally, it would have to be adapted to not only work on Transport connections, but also Node connections, which may be non-trivial, I haven't looked much into it as it wasn't one of our use-cases when writing this module :)
Hope this answers your question!

that explains..  Thanks !!


BUG: Monthly Repeat Type toggle ("Repeat on" to "Repeat on the") does not trigger onChange

When the toggle for Monthly Repeat Type is set to "Repeat on the," and the preset value matches the desired value, the user is unlikely to make any changes. In this scenario, the onChange event is never triggered, causing the application to fail to register the selection and update dependent logic or UI components.

Thanks for reporting the issue! I just fixed it and released a new version!


rt-scope should be evaluated after rt-if, and inside each rt-repeat iteration

Hello! I have a number of PRs, and wasn't sure where to put the high level description, so I'll copy and paste it in all of them.
Coming from Angular, I found the react world to be a sad place as far as DSLs go — JSX is a sorry excuse that for some reason beyond me is accepted by the community as the standard. And then I stumbled upon your react-templates work. Thank you!! While converting my work over, I came across a number of wishlist features, and today finally decided to take some time to implement them. They are all aimed at improving readability/writability, as well as sometimes avoiding unnecessary nested elements.
===
The two top commits in this stack of three rely on one submitted as a separate PR. Couldn't find a way to submit them as a PR on top of another submitted PR... we can deal with rebases if you think the changes look good.
Basically all these deal with the semantics of rt-scope. The details are in each commit message.

@avi @idok This is a great project and I would like to see it flourish outside of Wix. The website and demo are fantastic.
But as an open source project it needs continued stewardship. The minimum effort is just to set a deadline for when a pull request will be reviewed and give updates as any deadlines are missed.
So let us know when we can expect PRs to be reviewed.

Has this PR been reviewed yet? Any timeline of when we'll see it make its way into react-templates?

First commit has already been taken. I could really use the last one.

Sorry for the delay.
This commit is breaking backward compatibility. We cannot accept it as it is as we have a very large code base that will break.
All other PR were merged.

Perhaps we can separate the issue of backwards compatibility for your codebase and the issue of what the best semantics are for all future users of this DSL? If we discuss the latter, and agree that the changes make sense, a major version bump together with some upgrade notes would be enough to communicate to existing users that there are breaking changes.

Then lets make it a breaking change, please create a new PR or change this one and change the semantics of rt-scope.
Thanks

Here you go: https://github.com/wix/react-templates/pull/62
Decided to submit this as a stand-alone feature. The maintainers can make the call on whether to drop existing rt-scope and simply rename rt-inner-scope to rt-scope, thus adopting the new semantics in the breaking manner.


about train.py

Hello. I haven't found the code for training the model. Could you please tell me whether it hasn't been published or something else?

Hi. We have found a mismatch in the training environment and are resolving this issue. We will update the training scripts soon.

OK. Looking forward to your updated project.


Add dlib 19.10

I've tested this package remotely and have excluded all broken builds.
Here is the links to the Travis/AppVeyor with status "All passed":

https://ci.appveyor.com/project/xsacha/hunter-h4uji
https://travis-ci.org/xsacha/hunter/builds/357186104

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.3499
https://travis-ci.org/ingenue/hunter/builds/357273181?utm_source=github_status&utm_medium=notification

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.3501
https://travis-ci.org/ingenue/hunter/builds/357287078?utm_source=github_status&utm_medium=notification

Released: https://github.com/ruslo/hunter/releases/tag/v0.20.25

Strange, I now try to use this in my project and get an error:
Unknown CMake command "check_required_components".

configure_file(cmake_utils/dlibConfig.cmake.in "${CMAKE_CURRENT_BINARY_DIR}/config/dlibConfig.cmake" @ONLY)

@xsacha Should be configure_package_config_file , not just configure_file. I think that current testing use all dependencies and check_required_components loaded from one of the find_package calls from Config.cmake.in. I guess you have minimal configuration without dependencies.

That's true, we configure without any dependencies but I didn't have any issues on 19.8.
It's very confusing because dlib previously didn't have a configure/install and has just added it in 19.10.
I tried to keep as much the same from upstream as possible but enough from Hunter so it works fine with Hunter.

I tried to keep as much the same from upstream as possible but enough from Hunter so it works fine with Hunter.

This change is not Hunter related, it's worth adding it upstream.


Tag image after pushing to sandbox internal registry

Local tag thould match destination tag uses to push to internal registry.
Fix #75.

@jeffmaury I verified with docker.io/library/my-custom-image name and deployment to sandbox fails and pod is in state [ImagePullBackOff] (see screenshot below)

Replaced by #85


Emoji with variation selector treatment

JEmoji version
1.3.3
Steps to reproduce
Using libra emoji from Iphone 15 Pro (IOS 17.1.2) keyboard.
Invoke the following:
EmojiManager.replaceAllEmojis("♎♎", "")
What is expected?
An empty string is returned
What is actually happening?
A string with 2 invisible characters is returned.
Any additional comments?
No response

Hi, thank you for reporting this missing feature.
I've just released a new version 1.4.1 which adds support for Variation Selectors :)


Revise installation docs to reflect the latest changes

Closes #95

@RichardLitt @whyrusleeping @diasdavid please check

Shouldn't we add a note saying that go get and previous other methods no longer work?

Shouldn't we add a note saying that go get and previous other methods no longer work?

I'd rather not, to avoid confusion of mentioning it, but on the other hand it might be good to say so.

Shouldn't we add a note saying that go get and previous other methods no longer work?

I'd rather not, to avoid confusion of mentioning it, but on the other hand it might be good to say so.

I feel like the number one reason for confusion right now is that go get doesn't work anymore ;) We should say so, especially since it has been the preferred installation method for a year or longer.

agreed, lets mention that go get is no longer a correct way of installing

@jbenet @RichardLitt @lgierth updated

thanks @dignifiedquire


deprecate 'frequencies' reconstructing_fractional_octave_bands()

deprecate frequencies return in reconstructing_fractional_octave_bands()
Closes #657

Ah, yes. All the other filters have sampling_rate as the last parameter. I can move the parameter in fractional_octave_bands to the end to match the rest of dsp.filter. Concerning the default for num_fractions, i think setting num_fractions=1 in fractional_octave_bands would be ok too.
Any opinions and can i do it here or is it a beer?


Add option to disable express server

You don't need the express server on AWS lambda or Firebase functions, and you don't need it in tests (usually).
I added this option to improve the performance in these environments.
The new option is options.server and only works if the value is false (so that we don't break existing implementations. If you prefer another name for the option, let me know.

@ocombe do you mind if I close this? I think that it's better to do what you've described in https://github.com/probot/probot/issues/419#issuecomment-364223558 for FaaS deployments, that way we can leave standard server deployments super simple.

I agree we don't necessarily need a way to disable it. If we don't call probot.start, the express router doesn't load. I've been experimenting with an option in my repo where the static assets are instead hosted in Pages for FaaS-backed probot apps.

sure @JasonEtco, but a, easy way to start the bot for firebase/aws/... apps would be nice

@ocombe I'm toying around with an abstraction for exactly that reason. I'm thinking of making a probot.serverless() method that wraps the logic for the various handlers. I got the idea from middy. Just need to find the time to work on it! 😄!

an easy way to start the bot for firebase/aws/... apps would be nice

100%, I agree. I'm building an app right now that I'd like to deploy to GCF as an experiment (vs. Lambda which I'd normally do), so I'm sure I'll feel the pain.
@tcbyrd - can we do anything to help? Do you need to talk through anything, or is it just hands-on-keyboard time that you need (which I can't give you 😛)

@JasonEtco Just priorities. Lots of travel and customer work makes it hard to find the time. Plus I really want to finish up #372 first before tackling serverless.


added tittle

I forget to git pull so I can´t merge the branch

Solution : [https://stackoverflow.com/questions/54278883/forgot-to-git-pull-before-working-and-now-i-cant-git-push]


Can't import Bestiary - Gelatinous Cube

Can't import statblock:
Gelatinous Cube      CR 3
XP 800
Male gelatinous cube (Pathfinder RPG Bestiary 138)
N Large ooze
Init -5; Senses blindsight 60 ft.; Perception -5
Defense
AC 4, touch 4, flat-footed 4 (-5 Dex, -1 size)
hp 50 (4d8+32)
Fort +9, Ref -4, Will -4
Immune electricity, ooze traits
Offense
Speed 15 ft.
Melee slam +2 (1d6 plus paralysis and 1d6 acid)
Space 10 ft.; Reach 5 ft.
Special Attacks engulf (DC 12, 1d6 acid and paralysis), paralysis (3d6 rounds, DC 20)
Statistics
Str 10, Dex 1, Con 26, Int —, Wis 1, Cha 1
Base Atk +3; CMB +4; CMD 9 (can't be tripped)
Skills Acrobatics -5 (-13 to jump)
SQ transparent
Ecology
Environment any underground
Organization solitary
Treasure incidental
Special Abilities
Acid (1d6, DC 20) (Ex) Attacks deal additional acid damage.
Blindsight (60 feet) (Ex) Sense things and creatures without seeing them.
Engulf (1d6 acid and paralysis, DC 12) (Ex) Engulf creatures of same size or smaller as a std. action by moving over them.

Immunity to Flanking You are immune to flanking.
Immunity to Paralysis You are immune to paralysis.
Immunity to Poison You are immune to poison.
Immunity to Polymorph You are immune to Polymorph effects.

Immunity to Stunning You are immune to being stunned.
Ooze Traits Oozes have many immunities.
Paralysis (3d6 rounds, DC 20) (Ex) Touch paralyzes foe for 3d6 rds (Fort neg).
Transparent (Ex) A DC 15 Perception check is required to notice a motionless cube.

I got this statblock from Hero Lab.  You might benefit from retesting with aonprd.com.  Sometimes Hero Lab truncates some of the descriptions.
I used the latest Pathfinder system and your latest module to test this.


Total today time does not include duration of running task

The duration of current running time is not added to the row with total time tracked today:

MacOS, Version 7.4.7.
I was not completely sure if this was always missing and I have just never noticed it, but there is closed issue about this in 2014 (#915), so it seems that this have been working at some time.

Hello! We have opened a ticket for this issue. If it's ok by you I will close this one and you can monitor the progress under https://github.com/toggl/toggldesktop/issues/2098.

Oops, I tried searching before creating it, but I have used different words to search. Thanks for finding the existing issue!


Show photo question and additional question information

Can you add the photo question and any additional question information after scan so the we can verify the attendees face and the ticket? Thanks

Currently, we do not plan to add this feature

Are there any third-party qr scanners that have already been integrated
with pretix API photo questions?
On Sat, Apr 29, 2023 at 12:54 AM Raphael Michel @.***>
wrote:

Currently, we do not plan to add this feature
—
Reply to this email directly, view it on GitHub
https://github.com/pretix/pretixscan-android/issues/65#issuecomment-1527829815,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHFHSF2C66R2IWHLJZT442DXDPY2ZANCNFSM6AAAAAAXOPGG4A
.
You are receiving this because you authored the thread.Message ID:
@.***>


PgDataTypes are not compatible with SQLite

I am using the postgres data types successfully. However when we trying to use this in a sqlite table we get an error.
CREATE TABLE a (
  id int8 NOT NULL PRIMARY KEY,
  guid `PgTypes.uuid` NOT NULL,

Inserting into postgres works fine, but if I insert into a sqlite database of the same structure. I get the following error:
Invalid argument (params[2]): Allowed parameters must either be null or bool, int, num, String or List<int>.: Instance of 'UuidV

That is intentional - custom types are supposed to directly represent capabilities of the underlying database engine. If you want a uuid column that works with different engines, use a text column with a type converter.
You could write your own uuid type implementation that kind of works with both like this:
bool get isUsingPostgres;

class MyUuidType implements CustomSqlType<UuidValue> {
  const MyUuidType();

  @override
  String mapToSqlLiteral(UuidValue dartValue) {
    // UUIDs can't contain escape characters, so we don't check these values.
    return "'${dartValue.uuid}'";
  }

  @override
  Object mapToSqlParameter(UuidValue dartValue) {
    if (isUsingPostgres) {
      return TypedValue(Type.uuid, dartValue.uuid);
    } else {
      return dartValue.toString();
    }
  }

  @override
  UuidValue read(Object fromSql) {
    return UuidValue(fromSql as String);
  }

  @override
  String sqlTypeName(GenerationContext context) {
    return switch (context.dialect) {
      SqlDialect.postgres => 'uuid',
      _ => 'TEXT', // no native uuid support, store as text
    };
  }
}

You'd have to implement isUsingPostgres so that it returns the correct value based on the configuration of your app/server, but then using guid `const MyUuidType()`  should work.
But again, if there's no strong reason to use the uuid column on Postgres and you need the compatibility across engines, using a regular text column and implementing the conversion with a type converter is the intended way.


[HOLD #16660] [$1000] Web - "S" label beign selected when clicking on the arrow

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Click on your avatar
Go to profile settings
Go to personal details
Select Date of Birth option
Click on the Month arrow

Expected Result:
The labels shouldn't be selectable and the user should be able to navigate through the months smoothly without "S" label being selected
Actual Result:
clicking on the arrow 3 times for example changes the month once and it selects the "S" label, and the user is not able to navigate through the months smoothly without "S" label being selected
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.35-5
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/5903b5d2-a912-46a3-8d8b-10d176ca02ff
https://github.com/Expensify/App/assets/93399543/75adc279-e225-46d5-b8a0-039e44b7101b
Expensify/Expensify Issue URL:
Issue reported by: @mejed-alkoutaini
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688317447895809
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~012b71144b2d92bd9a
Upwork Job ID:<PHONE_NUMBER>338570240
Last Price Increase: 2023-07-04

Putting on hold

@parasharrajat any update on this one?

Reviewing today!

still on hold!

H - O - L - D

on hold, @Santhosh-Sellavel shall we move to weekly?

@dylanexpensify Yes I guess

@parasharrajat - do you have an idea on when the react native upgrade will happen? @ginsuma suggested that we put #23402 on hold because it's a similar behaviour?

Hold

hold

hold

Hold

Hold

Reviewing!

Hold - @parasharrajat any update?

TY

still in progress

Holding still!

same

holding

same

Holding

same

@parasharrajat any updates? Shall we see if this is even reproducible now?

yeah can't repro


Update README.md

move a book in the right section

Thanks, @combemale. Could you fix that linting issue?

@szschaler thanks for reviewing. I corrected the typo


tracy path fix, and update to godot 4.2

Hello! Thank you for your contribution! Can you please remove the older code instead of commenting it out? I've just created separate branch with older code for Godot  3.5.x so you can clean it here.

@Listwon Thank you. I cleaned it. Could you check it out?

Thanks!


Update hub metrics collection resources when modified

https://issues.redhat.com/browse/ACM-10153

Toggling hubselfmanagement multiple times creates addon-observability namespace in hub cluster intermittently. This PR ensure we skip any reconcile in MCO touching local-cluster object
Update hub metrics collections resources when modified

/lgtm


Separate Debamita's models and submit both

Followup to #80

[x] In Welsch, update code to submit both single weather and ensemble weather versions
[x] Update code on efi server, test
[x] Check successful submissions
[x] Ask Kristina to modify cronjob

Also, daymetr now includes 2021 data. Provide all weather variables + gdd through 2021 to Debasmita.

Tested with my account, used crontab -e to create job. Still need to check if submitting automatically.


forward beamformer

do you supply code?

Sorry but I can't upload the beamforming code because that is part of our project with a company.
However, this part is quite simple and a reference can be found at http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=1164847
with less than 20 lines of code and a little effort tuning the reg factor, sure you will get that to work.

ok thank you

i am poor on it,could you supply the code,please.


Short messages

From @winhowes on January 24, 2015 20:18
Allow users to store long ciphertext on grd.me servers (consider servers completely unreliable and untrustworthy) and post a lookup id in ~crypt~ tags instead. This should be helpful on services like twitter. @arnottcr should the client generate the unique id or the grd.me servers?
Copied from original issue: winhowes/grd.me#11

From @winhowes on January 31, 2015 6:51
Yeah that's what I was thinking at first. The problem is that if an attacker compromises the database (I assume we'll use one of grd.me's for now) then they can just insert a new ciphertext and/or signature and then send their own evil message instead.
To prevent this, I propose the sender, Alice, have a pub/priv keypair along with whatever other keys she likes.  When she presses the shortcut (cmd/ctrl+shift+e) to do the short message encryption we encrypt the plaintext under whatever active key(s) she has.  We then sign the ciphertext using her private key and hash (sha2) the signature.  We send the hash, the signature, her public key, and the ciphertext to the database and use the hash as the nonce.  If in the rare case we detect a duplicate nonce, we can just pad out the signature until the nonce is unique - this collision could happen if Alice shares the same ciphertext twice.
When Bob sees the nonce, he goes and fetches the 4 components, verifies the hash matches the signature, and the signature matches the ciphertext. Then he decrypts the message.

This feature will require a local message database and data side channel. My thought was to generate a nonce and use this as the uid, then append it to the beginning of the message. Let me know what you think.

This feature will require a local message database and data side channel. My thought was to generate a nonce and use this as the uid, then append it to the beginning of the message. Let me know what you think.

From @winhowes on January 31, 2015 6:51
Yeah that's what I was thinking at first. The problem is that if an attacker compromises the database (I assume we'll use one of grd.me's for now) then they can just insert a new ciphertext and/or signature and then send their own evil message instead.
To prevent this, I propose the sender, Alice, have a pub/priv keypair along with whatever other keys she likes.  When she presses the shortcut (cmd/ctrl+shift+e) to do the short message encryption we encrypt the plaintext under whatever active key(s) she has.  We then sign the ciphertext using her private key and hash (sha2) the signature.  We send the hash, the signature, her public key, and the ciphertext to the database and use the hash as the nonce.  If in the rare case we detect a duplicate nonce, we can just pad out the signature until the nonce is unique - this collision could happen if Alice shares the same ciphertext twice.
When Bob sees the nonce, he goes and fetches the 4 components, verifies the hash matches the signature, and the signature matches the ciphertext. Then he decrypts the message.

My thought was to have a user database, very like TextSecure, so there should be no server to attack. If you have concerns about an attacker breaching a users database, this calls in to question the reliability of key storage altogether. This will require a whole back-end and increase complexity, but it seems like a best case for short messaging.
You could also use timestamps to help identify and deal with nonce collisions.

My thought was to have a user database, very like TextSecure, so there should be no server to attack. If you have concerns about an attacker breaching a users database, this calls in to question the reliability of key storage altogether. This will require a whole back-end and increase complexity, but it seems like a best case for short messaging.
You could also use timestamps to help identify and deal with nonce collisions.

I think you are over complicating it; I imagine this is an SMS service, that has the ability to pair messages with a nonce posted on Twitter. A message would be sent through SMS [secondary data channel], the party receives the message, decrypts it, stores it in their decrypted text message database [that is hopefully encrypted], then when they go to twitter, and see the message that was sent to them.
Based on my thought experiments, we should be able to replace [secondary data channel] with just posts to Facebook [this would be for non-short messages, or I guess you could use Facebook as a back end for twitter]. This way you can have pfs for both short messages and normal messages.
Some data channel is required for short messaging.

From @winhowes on February 1, 2015 7:44
I'm not 100% sure how the user database would work. So you would have a local database of your messages, but then when I'm trying to see what the ciphertext is do I ask you for access to your database? That gets pretty tricky in my opinion and has a bunch of UX (and possibly privacy) issues with it. For instance, if I'm trying to read one of your messages, but you're offline then I won't be able to read it (and I'll learn that you're not online).

I think you are over complicating it; I imagine this is an SMS service, that has the ability to pair messages with a nonce posted on Twitter. A message would be sent through SMS [secondary data channel], the party receives the message, decrypts it, stores it in their decrypted text message database [that is hopefully encrypted], then when they go to twitter, and see the message that was sent to them.
Based on my thought experiments, we should be able to replace [secondary data channel] with just posts to Facebook [this would be for non-short messages, or I guess you could use Facebook as a back end for twitter]. This way you can have pfs for both short messages and normal messages.
Some data channel is required for short messaging.

From @winhowes on February 1, 2015 7:44
I'm not 100% sure how the user database would work. So you would have a local database of your messages, but then when I'm trying to see what the ciphertext is do I ask you for access to your database? That gets pretty tricky in my opinion and has a bunch of UX (and possibly privacy) issues with it. For instance, if I'm trying to read one of your messages, but you're offline then I won't be able to read it (and I'll learn that you're not online).

From @winhowes on February 2, 2015 4:6
ah... well that brings us back to the issue of knowing everyone in the group. We'll add this to the discussion for tomorrow

From @winhowes on February 2, 2015 4:6
ah... well that brings us back to the issue of knowing everyone in the group. We'll add this to the discussion for tomorrow

cool

cool


There are some problems with using require "openssl.pkey"

kong version: v1.0.3
ubuntu 18.06

I want to generate the secret key pairs with 'ec'.
    local openssl = require "openssl"
    local pkey = require "openssl.pkey"
    local unpack  = unpack or table.unpack

    local nec = {'ec','prime256v1'}
    local ec = pkey.new(unpack(nec))
    local k1 = pkey.get_public(ec)
    print(k1)

The following error occurred.
/usr/local/share/lua/5.1/kong/plugins/init/handler.lua:33: bad argument #2 to 'new' (invalid option 'prime256v1')

Seems that your OpenSSL is too old to support prime256v11 curve. May need an update.


Compile ugorji/go/codec with -tags unsafe for higher performance

Followup of https://github.com/weaveworks/scope/pull/916 .
Using codecgen with flag -u like we are doing may be sufficient, but it may be worth investigating if building ugorji/go/codec with -tags unsafe on top of that helps. It currently breaks encoding though.
See:

https://github.com/ugorji/go/issues/141#issuecomment-185130876
https://github.com/weaveworks/scope/pull/916#issuecomment-183289718

@2opremio please re-sync and try again. I just pushed 2 changes that should carry you over (see ugorji/go#141 ).
There are 2 places that -tags=unsafe comes into play:

stringView: called when decoding a struct field name, where we read a []byte, and don't want to incur unnecessary conversion/copy
bytesView: called when encoding a string AS-IS, passing it to a io.Writer.Write([]byte) method, but we don't want to incur an unnecessary conversion/copy

We have 2 versions of a helper class: helper_(not_)unsafe.go . By default (without the -tags=unsafe), the conversion is done regularly. With -tags=unsafe, we just use unsafe to do a convert without copy.
Beyond this, codecgen can use unsafe for same reason as stringView above, when you pass it the -u flag.
Do the following:

go install -tags=unsafe github.com/ugorji/go/codec
codecgen -u ...

If you still see issues, please tag me and say what "this garbage" is, and give me something concrete that I can make some blind but educated guesses based off of. I wouldn't have cycles to wade through weaveworks, so will need you to do some of that analysis to isolate where the issue may be.
Hope this helps.

Closing this since, although @ugorji was kind enough to fix the "garbage" problem in https://github.com/ugorji/go/commit/9f21f8ea305046b8d17a799e2c73069533a99d24 ,I tested compiling with -tags unsafe and it doesn't reduce the CPU consumption.
It doesn't help us because we are already using codecgen -u and we implement Selfers for all the interfaces we generate. See https://github.com/ugorji/go/issues/141#issuecomment-185481673

Reopening since https://github.com/ugorji/go/issues/143 shows it will remove some garbage.


TCP hangs on FreeBSD

I've seen this for savi-Postgres and now as well on savi-MQTT.
After sending a couple of packets, this can be 2, 50 or 100, it just hangs.
Also, sometimes when running savi spec, the test suite hangs. Likely that the two issues are related.
The process is in Idle state.
To reproduce:
https://github.com/mneumann/savi-MQTT/
savi run example

You need a MQTT broker (mosquitto) running on localhost. (you can see that it is publishing by running mosquitto_sub -t topic

Interestingly, with the today released savi, it hangs much much less. Dunno if you also updated the runtime to a more recent one. But I can still get it to hang, so it's much less reproducable.
With the most recent pony runtime, I could not reproduce the hang yet. I am still trying, but it looks good.

With todays release it hangs reproducable on every run!

With the most recent ponyrt and the changes to savi (https://github.com/savi-lang/savi/pull/369), it's running like a Volkswagen. No hangs. I'll let it run in the background for a few hours (before it would reproducable hang after max 10 seconds).

@jemc after 30 minutes and million of MQTT messages later, still no hang :)
I am 99.9999% confident that the hang is gone with the new runtime.

It could also be something bad about the way we're building the runtime for FreeBSD in CI.
It's easy enough to find out. I'll update our runtime build to the latest Pony version.

@mneumann - when you say "most recent ponyrt", do you mean the latest commit to the main branch there, or do you mean the latest release (0.51.2)?
I kicked off a build for us of 0.51.2: https://github.com/savi-lang/runtime-bitcode/commit/511f78ab03f6339307e2c06e94a2760a48119e90
If you used the main branch for your tests, you might want to try building the 0.51.2 version locally and testing with that, because then if the new CI built-runtime doesn't work for you, we'd know if it was a difference with that ponyc commit or if it was a difference in the CI build vs your local build.

Meh, there's an issue with the build that I need to dig into and fix.

@mneumann - when you say "most recent ponyrt", do you mean the latest commit to the main branch there, or do you mean the latest release (0.51.2)?
I kicked off a build for us of 0.51.2: savi-lang/runtime-bitcode@511f78a
If you used the main branch for your tests, you might want to try building the 0.51.2 version locally and testing with that, because then if the new CI built-runtime doesn't work for you, we'd know if it was a difference with that ponyc commit or if it was a difference in the CI build vs your local build.

I only tried the HEAD version of Pony, but I guess 0.51.2 would work as well.
Note, I have a few PRs at ponyc github that should fix the build. Maybe you're seeing the same issues that I had (google benchmark / googletest complains about unused variable).

Nah, it's a different issue - our runtime-bitcode CI automation does a much more small build - we only build the runtime bitcode. We don't build the pony-locked version of LLVM, the pony compiler or its tests.
I have a build that is now working CI and I'm gonna tag it...

The new runtime release is here: https://github.com/savi-lang/runtime-bitcode/releases/tag/v0.20220910.0
When it's done bundling I'll update the savi Makefile to grab the new runtime version.

See PR https://github.com/savi-lang/savi/pull/371

@mneumann - is the issue resolved in the latest Savi release?

No, it hangs! Is this based on the runtime of Pony 0.51.2?

Compiled with latest release (hangs):
> ./savi/bin/savi -v
savi version: v0.20220910.1
llvm version: 14.0.3

> ./bin/example --ponyversion
 [release]
Compiled with: LLVM  -- Clang-9.0.1-

Compiled with what I have compiled myself yesterday (no hangs):
> savi -v
savi version: unknown
llvm version: 14.0.6

> ./bin/example --ponyversion
0.51.2-bdabb47b [release]
Compiled with: LLVM 14.0.3 -- Clang-13.0.0-

I think Clang 9 is no good

No, it hangs! Is this based on the runtime of Pony 0.51.2?

Yes, it is the runtime of Pony 0.51.2 with no changes (except one build system patch that is not relevant to this).

@mneumann - Any ideas about how I should modify the FreeBSD CI setup to get Clang 13.0.0?
https://github.com/savi-lang/runtime-bitcode/blob/9c2bef47b823bd57a523975fefdd682262546380/.cirrus.yml#L45-L51

@jemc where can I see the CI logs? There is not much that I do on my FreeBSD system. With the recent changes committed by SeanTAllen, it should just build out of the box (given pkg install -y cmake gmake libunwind git) with gmake libs && gmake configure runtime-bitcode=yes && gmake build.
clang 9.0 is installed as clang90, so I wonder why it picks it up.

CI logs are visible on CirrusCI. Here is the most recent FreeBSD build (the same one that you just tested and found to be hanging).

@jemc Please remove llvm from pkg install. FreeBSD ships with a system compiler /usr/bin/clang which is 13.0.0. The llvm package installs LLVM 9 as /usr/local/bin/clang. Most likely you have a PATH like /usr/local/bin:/usr/bin, so it picks up the old version.

llvm is a meta port that installs the llvm90 binaries without suffix (e.g. clang instead clang90)

Just tried - I can't remove llvm entirely because I need llvm-link (and FreeBSD doesn't seem to ship with it alongside its native clang).
So I'm gonna try using llvm13 instead of llvm.

On Sun, Sep 11, 2022 at 01:40:14PM -0700, Joe Eli McIlvain wrote:

Just tried - I can't remove llvm entirely because I need llvm-link (and FreeBSD doesn't seem to ship with it alongside its native clang).
So I'm gonna try using llvm13 instead of llvm.

What is llvm-link used for?
Package llvm13 should give you clang13 and llvm-link13. Not sure
if your build will automatically pick up llvm-link13 under this name.

--
Reply to this email directly or view it on GitHub:
https://github.com/savi-lang/savi/issues/367#issuecomment-1243038797
You are receiving this because you were mentioned.
Message ID: @.***>

--
Michael Neumann
NTECS Consulting
www.ntecs.de

Yeah I had to symlink to get llvm-link in place as expected.
The build seems to work so I'll go ahead and publish it soon so you can try it.

@mneumann - can you try this new build?
https://github.com/savi-lang/runtime-bitcode/releases/tag/v0.20220911.0

What is llvm-link used for?

To build the runtime bitcode, clang builds many C files into many separate .bc files, then llvm-link links them all together into a single .bc file.
If you're using the Pony build system for the runtime, then it's build an entire LLVM tree for you when you run make libs and that's where it will get the llvm-link binary from.
But in our build steps for Savi's runtime builds, we are skipping the LLVM build steps and just get llvm-link from a system package.

On Sun, Sep 11, 2022 at 02:33:28PM -0700, Joe Eli McIlvain wrote:

@mneumann - can you try this new build?
https://github.com/savi-lang/runtime-bitcode/releases/tag/v0.20220911.0

Not working :(
Can you try with pkg ins llvm14? lib/llvm of ponyc is fixed at
14.0.3 and when I built the runtime that is working on my box, I built
the full LLVM suite from the ponyc repo, which took hours.

--
Reply to this email directly or view it on GitHub:
https://github.com/savi-lang/savi/issues/367#issuecomment-1243047421
You are receiving this because you were mentioned.
Message ID: @.***>

--
Michael Neumann
NTECS Consulting
www.ntecs.de

I don't think it should make a difference - I don't see how the version of llvm-link could be coming into play here.
And we've already established that we're already using the same version of clang that you're using.
But I can try it anyway...

Here's the release tag: https://github.com/savi-lang/runtime-bitcode/releases/tag/v0.20220911.1
It should upload a new build for you to try soon.

If that doesn't work, then here's what I suggest for you to try - mimicking the Cirrus CI build process as closely as possible:

On your local machine, check out the tag 0.51.2 in the ponyc repo - don't use HEAD.
Don't build the runtime in the usual way that you did before, using the Pony build system. Instead, use the following steps.
Install llvm13
ln -s /usr/local/bin/llvm-link13 /usr/local/bin/llvm-link
Apply this patch to the Pony codebase to allow using a non-in-tree llvm-link binary.
mkdir src/libponyrt/build
cmake -S src/libponyrt -B src/libponyrt/build -DPONY_RUNTIME_BITCODE=true -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
cmake --build src/libponyrt/build --target libponyrt_bc
You'll find the built bitcode at src/libponyrt/build/libponyrt.bc.

@jemc still hangs with the above version.
> ./bin/example --ponyversion
 [release]
Compiled with: LLVM  -- Clang-13.0.0-

vs my:
> ./bin/example --ponyversion
0.51.2-bdabb47b [release]
Compiled with: LLVM 14.0.3 -- Clang-13.0.0-

Interesting how no LLVM version is shown in your runtime, while mine shows 14.0.3. Probably this is just a LLVM_VERSION env that is missing and has no effect.
I am trying your above suggestion to reproduce cirrus CI on my system.

btw, just noticed that my build has the pony_assert in messageq.c disabled for which we once had a patch. but that shouldn't be the problem

Tried with 0.51.2, both with llvm13 and llvm14. Both does not work.
Get this warning when linking:
warning: Linking two modules of different data layouts: '~/Tmp/ponyc/src/libponyrt/lang/except_try_catch.ll' is '' whereas 'llvm-link' is 'e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128'

ponyc HEAD does not work either.

I tried with various compiler version, with no luck. Give me a few hours to try to build ponyc/lib/llvm again and use the ponyc build system.
I doubt it's related to LLVM itself, but maybe some flags are missing?

@mneumann - Thanks for testing that.

It works with Pony HEAD using Pony build steps
It fails with Pony 0.51.2 using Savi build steps

Now can you try building Pony HEAD using the Savi build steps?
That will tell us whether there is a problem with which Pony commit is being used, or with which build steps are being used.

@jemc tracked it down to the two flags: -march=native -mtune=generic. They are missing in your build. If I add them, it works.

I have tagged a new release with the added CFLAGS: https://github.com/savi-lang/runtime-bitcode/releases/tag/v0.20220912.0
@mneumann - let me know if that one works

@jemc That works! Thanks! Closing this issue!

Great. Then I will update the Savi build Makefile to pull from this runtime release build.
Thanks for your help in tracking down the underlying issue.

On Mon, Sep 12, 2022 at 07:33:33AM -0700, Joe Eli McIlvain wrote:

@mneumann - Thanks for testing that.

It works with Pony HEAD using Pony build steps
It fails with Pony 0.51.2 using Savi build steps

Now can you try building Pony HEAD using the Savi build steps?

It fails. Tried that already.

That will tell us whether there is a problem with which Pony commit is being used, or with which build steps are being used.

My understanding is:

it's not related to the ponyc version
it's not related to the clang version used
it is related to the build / flags / environment

--
Reply to this email directly or view it on GitHub:
https://github.com/savi-lang/savi/issues/367#issuecomment-1243834645
You are receiving this because you were mentioned.
Message ID: @.***>

--
Michael Neumann
NTECS Consulting
www.ntecs.de

Wait, so is it still an issue for you?
Do we need to reopen this ticket?

@jemc. No, this bug has been fixed!!


Don't rely on the default value for ImagePullPolicy

Now we will set the pull policy to always if the tag matche .latest.
and also explicitly set it to IfNotPresent otherwise.

Jansa backport details:
$ git log -1
commit ace5445485cb3b2b681f971ea56e4e14f8352787
Author: Brandon Dunne<EMAIL_ADDRESS>Date:   Tue Jun 16 10:30:18 2020 -0400

    Merge pull request #20279 from carbonin/explicity_set_pull_policy

    Don't rely on the default value for ImagePullPolicy

    (cherry picked from commit 1c4e2940fb4deb01aef3f8986950f7315fb13717)


[tbb] CMake integration failed

I found the posts with the similar problems but none of them solved my problem. I need any clues.
First I got this error.
CMake Error at scripts/cmake/vcpkg_test_cmake.cmake:75 (message):
  CMake integration test failed; unable to find_package(TBB CONFIG REQUIRED)
Call Stack (most recent call first):
  ports/tbb/portfile.cmake:89 (vcpkg_test_cmake)
  scripts/ports.cmake:71 (include)

Error: Building package tbb:x64-windows failed with: BUILD_FAILED

And then I looked into the error log file in C:\Lib\vcpkg\buildtrees\tbb
CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage

But I have ninja.exe and it is in PATH. It works just find when I execute it with CMD.
If I execute
ninja -GNinja .
independently at test folder (x64-windows-test) it builds using gcc and ends successfully.
I have VC14 and, gcc and g++ with MinGW installed.
It'll be appreciated if you could give me some hints. Thanks!

@heungson, thanks for posting this issue!
I can't reproduce this issue, can you try getting vcpkg latest revision and installing again? vcpkg_test_cmake() has been disabled since it had several issues that were causing failures to install otherwise perfectly good packages.

@PhoebeHui , Recently I changed the whole system and now it works fine. I think the problem was that gcc and visual studio mingled with each other. Anyway it's good to hear vcpkg_test_cmake() has been disabled.
Thank you~!


Add python 3.8 support.

Description of the change

Motivation

Type of change
Choose one: (Bug fix | Feature request | Documentation | Other)
Checklist

[ ] I have performed a self-review of my code.
[ ] I have added detailed comments to my code where applicable.
[ ] I have verified that my change does not break existing code.
[ ] My PR is based on the latest changes of the main branch (if unsure, please run git pull --rebase upstream main).
[ ] I am familiar with the Google Style Guide for the language I have coded in.
[ ] I have read through the Contributing Guide and signed the Contributor License Agreement.

We should decide if 3.8 is something we're doing.

Yeah, and for anyone watching, large changes should be proposed via an issue/FR where we can discuss it before writing any code.


Inline image within wygwam don't appear within an entry in the app

Steps to reproduce

View the latest story called Life after death
scroll down until you see an outlined box of where an image should be.
(View this article on desktop to see what images should exist)

Buggy Behavior

Images inside the body field don't display within the app
This could affect stories, articles or devos

Expected Behavior

Images load
If possible, images should be cropped / loaded from the cloudfront cdn instead of S3 Origin (in EE, this is handled through CE Cache)

Looks like we need to better check for EE tags:
<img alt="" src="{assets_38042://s3.amazonaws.com/ns.images/newspring/editorial/content/PhillipAmyMyers_compressed.jpg}" style="float:left">

fixed by https://github.com/NewSpring/Heighliner/pull/64
I'm going to open a separate issue for converting s3 urls to cloudfront for inline content, because we need to do that everywhere.


Michaelis-Menten model in Robyn func code：Vmax * spend/(Km + spend)

Michaelis-Menten model in Robyn func code：Vmax * spend/(Km + spend)
Issue
Question about define Vmax and Km
Steps to Reproduce

I searched Michaelis-Menten model in Google, Vmax represents the maximum rate(Impression) achieved by the media channel, happening at saturating spending. Km is numerically equal to the spending at which the impression reaction rate is 1/2 of Vmax.
Please see the attached picture.  However, In the Robyn function code.
“nlsStartVal <- list(Vmax = dt_spendModInput[, max(exposure)/2], Km = dt_spendModInput[, max(exposure)])”
In the code ,Vmax is numerically equal to the impression at which the 1/2 of max impression(Vmax) instead of the Max impression .
Km also  is numerically equal to the Max impression(Vmax) rather than spending at which the 1/2 of max impression(Vmax) .
So i'm a little bit confusing how to define Vmax and Km.
Please let me know if I misunderstand.
Thanks
Expected Behavior
Vmax = Max exposure
Km= spending at 1/2 max exposure
Actual Results
Code in Robyn
“nlsStartVal <- list(Vmax = dt_spendModInput[, max(exposure)/2], Km = dt_spendModInput[, max(exposure)])”
Environment
R version (R --version)

Hey, you're right about this :) Another user has noticed it as well and raised the issue here, which I've answered thoroughly. Let me know if you have more questions.

let me know if you have more issues


docs(contrib): add security.md

Signed-off-by: Sarah Christoff<EMAIL_ADDRESS>
Description:
Fixes #2402
Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project?

Did you notify the maintainers and provide attribution?
yes

Is this a breaking change?
no

Has documentation corresponding to this change been updated in the osm-docs repo (if applicable)?
n/a

@schristoff could you please add a commit message or PR description to this PR? Thanks!

@phillipgibson Would you mind taking a look at this?

A good start. I would also take a look at Helm's guide as well. I think we should have the sections on when and when not to send a report so there's clarity.

@phillipgibson  let me know if these new sections are what you were thinking

@trstringer could you review this?


support new convertdate version

convertdate API changed and broke IsraelHolidays class
This PR solves the integration issues and reported issues #406 #391

Pull Request Test Coverage Report for Build 946

24 of 24 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 941:
0.0%

Covered Lines:
9264

Relevant Lines:
9264

💛  - Coveralls

Pull Request Test Coverage Report for Build 946

24 of 24 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 941:
0.0%

Covered Lines:
9264

Relevant Lines:
9264

💛  - Coveralls

Would love to see this merged. it is stopping me due to dependency conflict with pytz<2020 from convertdate==2.2.0

Would love to see this merged. it is stopping me due to dependency conflict with pytz<2020 from convertdate==2.2.0

@dr-prodigy any estimation of when this PR will be merged?

@dr-prodigy any estimation of when this PR will be merged?

Hi,
thank you for your interest and good work!
Last December I decided to release the last holidays version supporting Python 2.
It took me more than expected to find time to start the new beta 0.10.5.
Time to merge now: thanks again, best 👍

Hi,
thank you for your interest and good work!
Last December I decided to release the last holidays version supporting Python 2.
It took me more than expected to find time to start the new beta 0.10.5.
Time to merge now: thanks again, best 👍


Rename the project

"oci" is not clear, and already taken:
https://pypi.org/project/oci/
We need more clear name, that works better with other ovirt projects.
How about ovirt-ci?

Actually, I think it sounds better than oci :)

@Funkabell you can take this.


images fixed in formatting text

#3081 fixed!

/check-cla

This issue has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @hanzei

Hi @anayroy0007. I wanted to follow up on this and find out if you've had a chance to sign the CLA so we can merge this change. :)

Hi @anayroy0007. Following up on this to find out if you have any questions about signing the CLA or had any issues doing so? This PR looks ready to merge and that's the last step in the process. :)

/check-cla

Hi @anayroy0007. Wanted to follow up on this and find out whether I can help with the CLA process, or if you have any questions. :)

Thanks for the PR, @anayroy0007. The fix has been submitted in another PR (https://github.com/mattermost/docs/pull/3619) with a different approach. Please don't hesitate to submit another PR, we always welcome contributions. :)


Create image form html web page (screen capture)

Hi,
I need to create an image based on a web page (a screen capture). I seen it is possible to create an image from an URL like 'http://example.com/example.jpg' and that works well, but not with 'http://example.com'. Is it possible to do this ?
Thanks !

No thats not possible. But there are command line scripts to create screenshots from websites. After these images are generated you can process them with Intervention Image.

Thanks @olivervogel, I will try ;)


The apiserver usage cpu high beause istiod constant reconciling gateway resource

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
The apiserver usage cpu high beause istiod constant reconciling gateway resource but no change gateway resource and httproute. The logs output very often:
2023-12-11T11:24:22.722045Z	info	ads	Push debounce stable[17491] 2 for config Gateway/gateway-system/ops-ingress: 107.297824ms since last change, 147.467401ms since last push, full=true
2023-12-11T11:24:22.736178Z	info	ads	XDS: Pushing:2023-12-11T11:24:22Z/17491 Services:333 ConnectedEndpoints:3 Version:2023-12-11T11:24:22Z/17491
2023-12-11T11:24:22.741718Z	info	ads	CDS: PUSH for node:ops-ingress-655cb7ddf5-ggqst.gateway-system resources:815 size:818.9kB cached:814/814
2023-12-11T11:24:22.745864Z	info	ads	EDS: PUSH for node:ops-ingress-655cb7ddf5-ggqst.gateway-system resources:814 size:237.0kB empty:0 cached:814/814
2023-12-11T11:24:22.746710Z	info	ads	LDS: PUSH for node:ops-ingress-655cb7ddf5-ggqst.gateway-system resources:1 size:4.6kB
2023-12-11T11:24:22.746912Z	info	ads	RDS: PUSH for node:ops-ingress-655cb7ddf5-ggqst.gateway-system resources:1 size:1.8kB cached:0/0
2023-12-11T11:24:22.747204Z	info	gateway	reconciling	gateway=gateway-system/ops-ingress
2023-12-11T11:24:22.756017Z	info	gateway	service updated	gateway=gateway-system/ops-ingress
2023-12-11T11:24:22.761606Z	info	ads	CDS: PUSH for node:istio-ingressgateway-75b6d595bc-92xwr.istio-system resources:815 size:818.9kB cached:814/814
2023-12-11T11:24:22.761985Z	info	gateway	deployment updated	gateway=gateway-system/ops-ingress
2023-12-11T11:24:22.767779Z	info	ads	EDS: PUSH for node:istio-ingressgateway-75b6d595bc-92xwr.istio-system resources:814 size:237.0kB empty:0 cached:814/814
2023-12-11T11:24:22.772075Z	info	ads	LDS: PUSH for node:istio-ingressgateway-75b6d595bc-92xwr.istio-system resources:1 size:4.6kB
2023-12-11T11:24:22.782445Z	info	gateway	gateway updated	gateway=gateway-system/ops-ingress
2023-12-11T11:24:22.782491Z	info	gateway	reconciling	gateway=gateway-system/ops-ingress
2023-12-11T11:24:22.789785Z	info	gateway	service updated	gateway=gateway-system/ops-ingress
2023-12-11T11:24:22.796118Z	info	gateway	deployment updated	gateway=gateway-system/ops-ingress
2023-12-11T11:24:22.803633Z	info	ads	RDS: PUSH for node:istio-ingressgateway-75b6d595bc-2tnk9.istio-system resources:1 size:17.6MB cached:0/0
2023-12-11T11:24:22.810943Z	info	gateway	gateway updated	gateway=gateway-system/ops-ingress
2023-12-11T11:24:22.883053Z	info	ads	Push debounce stable[17492] 2 for config Gateway/gateway-system/ops-ingress: 101.063899ms since last change, 135.689848ms since last push, full=true

When delete gateway “gateway-system/ops-ingress” return to normal
Version
istio version:1.16.3
kubernetes version:  v1.19.9
helm version: v3.12.3+g3a31588

Additional Information
No response

1.16 is EOL, can you upgrade or try to reproduce with latest version?

why resourceVersion in flux：
[root@k8s-master-002 ~]# kubectl -n gateway-system get gateway ops-ingress -o yaml|grep resourceVersion
  resourceVersion: "171038828"
[root@k8s-master-002 ~]# kubectl -n gateway-system get gateway ops-ingress -o yaml|grep resourceVersion
  resourceVersion: "171038860"
[root@ningxia-k8s-master-002 ~]# kubectl -n gateway-system get gateway ops-ingress -o yaml|grep resourceVersion
  resourceVersion: "171038898"
[root@k8s-master-002 ~]# kubectl -n gateway-system get gateway ops-ingress -o yaml|grep resourceVersion
  resourceVersion: "171038933"
[root@k8s-master-002 ~]# kubectl -n gateway-system get gateway ops-ingress -o yaml|grep resourceVersion
  resourceVersion: "171038968"
[root@k8s-master-002 ~]# kubectl -n gateway-system get gateway ops-ingress -o yaml|grep resourceVersion
  resourceVersion: "171039008"
[root@k8s-master-002 ~]# kubectl -n gateway-system get gateway ops-ingress -o yaml|grep resourceVersion
  resourceVersion: "171039039"
[root@k8s-master-002 ~]# kubectl -n gateway-system get gateway ops-ingress -o yaml|grep resourceVersion
  resourceVersion: "171039086"
[root@k8s-master-002 ~]# kubectl -n gateway-system get gateway ops-ingress -o yaml|grep resourceVersion

I think this should be fixed by https://github.com/istio/istio/pull/44014, which is shipped after 1.18

@dddddai thanks


No module named 'bs4'

Getting the following error message when trying to run the code:
Traceback (most recent call last):
  File "/Users/panomitrius/kobo2calibre/parse_kobo_highlights.py", line 7, in <module>
    import calibre
  File "/Users/panomitrius/kobo2calibre/calibre.py", line 6, in <module>
    import bs4
ModuleNotFoundError: No module named 'bs4'

I have installed bs4 by running python3 -m pip install beautifulsoup4 without any error messages. Running  python3 -m pip show beautifulsoup4 returns:
Name: beautifulsoup4
Version: 4.11.1
Summary: Screen-scraping library
Home-page: https://www.crummy.com/software/BeautifulSoup/bs4/
Author: Leonard Richardson
Author-email<EMAIL_ADDRESS>License: MIT
Location: /usr/local/lib/python3.10/site-packages
Requires: soupsieve
Required-by:

Managed to fix this with a virtual environment (https://www.youtube.com/watch?v=Kg1Yvry_Ydk&).

@panomitrius Great that you've resolved it!
I personally use pyenv for all of my python projects 👍


UICollectionView?

Anyone consider to make UICollectionView available in React Native?

Implement in javascript based on ScrollView
Export native UICollectionView from UIKit

Which one is better?

And I'm wondering why wouldn't React Native support display: none, this style makes the current component been removed from the superView, and display:flex add it back, this maybe useful to reduce memory usage I think.

And I'm wondering why wouldn't React Native support display: none

You can just remove it from render to achieve the same effect and reduce memory usage no?

@vjeux StyleSheet provides a high level way, manipulating the DOM is mostly like the low level way to control the views stack. As usual stylesheet, display is most useful rules, so I think React Native should implement this to give developers more choices.

+1 for UICollectionView, any estimate when it might be available?

@ranyefet no one inside of Facebook is working on this right now and likely for the next few months. If you need this, I would encourage you to build it yourself or find someone to. The native component integration API should be all you need :)

@matthewga0 @ranyefet - if either of you would like to have a shot at this, ping me @notbrent in irc!

This one maybe works, but it's not the best solution for flex layout.
https://github.com/lucholaf/react-native-grid-view

@matthewga0 - thanks for sharing. Closing this issue - for now this will have to be a community-built module :smile:

1

try with
https://github.com/lucholaf/react-native-grid-view
or
http://stackoverflow.com/questions/29394297/listview-grid-in-react-native#29395686

+1


Adding a custom app breaks eel's routes

Eel version
I am using eel 0.11.0 with python 3.8.
Describe the bug
When adding a own app, none of the routes that are required for eel to work are served anymore.
To Reproduce
Run the following code-snippet:
app = bottle.Bottle()
eel.init('web', allowed_extensions=['.js', '.html'])

def onclose(page, sockets):
    pass

# This is not strictly neccesary to break eel, it even won't work without if.
@app.route('/<site>/')
def redirect_to_index(site):
    bottle.redirect('/{}/index.html'.format(site))

eel.start(
    close_callback=onclose,
    app=app)

Expected behavior
Even when specifying a custom app, bottle should still serve eel's own routes.
Additional context
This is related to the changes introduced in #203

@n0emis you're absolutely right, it doesn't work!
I've got a patch that should fix this and I'll try to get it out tonight.
Note to self: need to get even just a few tests out for this ASAP.


Heroku connect toolbet

Not able login heroku from command line
C:\Program Files (x86)\Heroku>heroku
heroku-cli: Installing Toolbelt v4... !    Heroku client internal error.
!    Search for help at: https://help.heroku.com
!    Or report a bug at: https://github.com/heroku/heroku/issues/new
Error:       No such file or directory @ chmod_internal - C:\Users\User\AppD

ata\Local/heroku/heroku-cli.exe (Errno::ENOENT)
Command:     heroku
Version:     heroku/toolbelt/3.42.45 (i386-mingw32) ruby/2.1.7
Error ID:    8ab083050d884f68b907df5129864f4d
More information in C:/Users/User/.heroku/error.log

@Buchepalli1 Sorry for the delayed response, but are you running any antivirus software?  We recently ran into a problem with users running BitDefender antivirus software who saw an issue much like this.  I am working on resolving things with BitDefender, but if you would like help setting up exclusion rules while I wait for this to be resolved you can following the directions here https://github.com/heroku/heroku/issues/1920#issuecomment-205925853

Thank you @ransombriggs  , it is working fine now.


Google Analytics Missing from HydroShare

@jpollock called to our attention that the Google Analytics code was missing from HydroShare. Hotfix required to fix so we can continue collecting data.

Google Analytics has been restored. Thanks @phuongdm


imp: pre-commit config: add 'odoo_pre_commit_hooks'

As mentioned here: https://github.com/Tecnativa/doodba-copier-template/pull/401#issuecomment-1778858811 'odoo-pre-commit-hooks' hooks are added.
Related info: https://github.com/OCA/odoo-pre-commit-hooks/tree/main?tab=readme-ov-file#usage-pre-commit-configyaml

Thanks!


ENYO-5200: Enact docs: prepare 1.x to 2.0 migration guide

Issue Resolved / Feature Added
Added a migration guide for Enact 1.x to 2.0.
Links
ENYO-5200
Enact-DCO-1.0-Signed-off-by: Dave Freeman<EMAIL_ADDRESS>

It seems I left some of my temporary notes in place :doh:


share some of the NIH knowledge

Jeff wanted us to add info about how NIH doesn't have specific expectations and knows that they will learn from this process

maybe telling people to be mindful of what they think they can actually do and not overstate what they can do

Has the NIH made an official statement about not having specific expectations and learning from the process? I wonder if we could get in trouble if it's only an unofficial comment that we have made public.
Would this go under a section at the end called "Final Considerations" or something?

 Indeed I do think we want to be careful. We could see what @jtleek thinks about this

I am asking him on basecamp

Jeff says he likes it

Now just to figure out where to put it... under the takeaways?

Maybe? Possibly right after the TLDR summary as well.


Use free OpenAI account API to access GPT-3.5 or older?

When I try and use my OpenAI account with Aichat it tells me that it cannot access GPT-4o, I am guessing Aichat is configured to use the latest model when you select OpenAI, how could I use GPT-3.5 or GPT-2 with Aichat? Also, if I can't access even the old models using my OpenAI account's API key, what will allow me to use Aichat for free?

in config.yaml
model: openai:gpt-3.5-turbo

or run aichat -m openai:gpt-3.5-turbo

Now it says I have exceeded my current quota, it seems I have to pay for the API usage.