[2022 Swag Distribution] Logistics

@emecas,
I hear you are once again the EF mediator on this. Amazing!
This ticket will be added to 2022 Tab- Swag Allocation - Steering Committee Members

Conversation via MP email forums:
Community forum:

Swag Distribution Decisions at DevNexus
Re: JavaLand?
Help Distribute MicroProfile Swag at DevNexus?

Marketing forum:

2022 Swag Distribution
Swag Distribution Decisions at DevNexus
JavaLand?
Help Distribute MicroProfile Swag at DevNexus?

Working Group forum:

Re: [microprofile-wg] JavaLand?
Re: [microprofile-wg] [microprofile] Re: Swag Distribution Decisions at DevNexus
[microprofile-wg] Emerson Castaneda/Reza Rahman as Swag Delegates

--

This is being sorted. I will close this once the last of the 2022 swag is sent out of the warehouse, hopefully very shortly.

We need to spend the remaining $15K from 2022 on hoodies and stickers very soon to avoid any possible tax/spending complexities. We should look at spending some of this at DevNexus. Emerson and Reza are now official swag delegates for MicroProfile. Here is what is left over that we need to distribute:
250 hoodies
5000 stickers

[Amelia] Feb 16th - MPWG email about what is available with the 2022 $15K
Spreadsheet - Swag Allocation - Steering Committee Members  tracking and inventory history

@m-reza-rahman  @aeiras
Shipping spreadsheet is practically completed with information for:

Destination
ID

Red Hat
1

Oracle
2

Fujitsu
3

Microsoft
4

Tomitribe
5

Primeton
6

Atlanta JUG
7

Garden State JUG
8

iJUG
9

IBM
10

Payara
11

Kevin Sutter (IBM)
12

Where will we be shipping "Kevin Sutter (IBM)"?  Just noticed this.
Cc @Emily-Jiang @trulymobilenwp

Where will we be shipping "Kevin Sutter (IBM)" (i.e. ID 12)? Just noticed this.
How does it differ from "IBM" (i.e. 10)?
We can discuss the details over emails if that's better and easier.
Cc @Emily-Jiang @trulymobilenwp

No worries. This was handled already and the package should have been on its way if I am not mistaken.

Thanks, Emily!  Sorry for the confusion.  Emily and I chatted and we got it clear now.  =)
Thank you, all!

Update:
Today, I have provided track numbers via email for each one of these packages:

Company
--
--
--

Red Hat
1
Roberto
Cortez

Oracle
2
Ed
Bratt

Fujitsu
3
Kenji
Kazumura

Tomitribe
5
Amelia
Eiras

Atlanta JUG
7
Vincent
Mayers

Garden State JUG
8
Mike
Redlich

IBM
10
DEVNEXUS 2023 SHOW MANAGEMENT/IBM
c/oFreeman

Payara
11
DEVNEXUS 2023 SHOW MANAGEMENT/PAYARA
c/oFreeman

Kevin Sutter (IBM)
12
Kevin
Sutter

Closing this!


Auto closing HTML tag in PHP file

I'm not sure it's because of configuration issues, when I write HTML tag in PHP, it's not closing the tag automatically, as soon as I type < or </.
I've no problem in HTML file and also in JSP and JS file. The auto-closing tag works properly with those files.
The alternative way of auto-closing tag in PHP is using Emmet expansion. Example: enter div and press tab, which expands to

.
I'm using VS code 1.28.2 on Ubuntu 18.04 bionic.

I found that it's the same issue as #670. I didn't see this when looking for duplicate issue before submitting. Sorry about that.


stdin does not allow further switches

./mme -extract -model=DEVAL_12 > temp2.kts; ./mm temp2.kts -graph works
./mme -extract -model=DEVAL_12 | ./mm - -graph does not work.
where mm  is the DSL.
note running ./mme -extract -model=DEVAL_12 | ./mm - does half work, but not very useful as I need the switch.

It looks like kscript treats "-" as one of kscript options, not as the script.
Below code in Kscript.kt seems to be the culprit.
val userArgs = args.dropWhile { it.startsWith("-") }.drop(1)

Changing it to something like below would fix the issue.
val userArgs = args.dropWhile { it.startsWith("-") && it != "-" }.drop(1)

I will give that a try this week and see if it works. And if it does put together a pull request


Caption option

Hello,
I am not sure how the caption option should work.
Can I use the alt text inside the <img> tag?
Like: <img src="images/1_thumb.jpg" alt="Alt Text" title="Just an image (#1)" />
Thanks,

Hi,
Unfortunatly it didn't solve the problem.
This is the page where I'm having problems: http://<IP_ADDRESS>/~livingimmobiliar/annunci/rif-101/
The script file is: lightbox-set.js if you need to see it.
The site is build in Wordpress.
I've tried it also on the demo files demo1.html
Thanks,

You're currently using v2.4.. Try upgrading to the latest version (v2.5.0).

Perfect! Solved.
Thanks.


Profiles in Keyboard Manager

Have both predefined profiles (e.g. mac/linux/etc) available to user, and also allow the user to create custom profiles.
Provide a quick way to switch between profiles.

What's the status of this feature?

This would be a big improvement. I'm curious if you've considered a simple text file import/export feature as a first iteration, as mentioned in microsoft/PowerToys#4452. This would be less effort to implement and provide a lot of the benefits.
It also provides benefits that the profile feature doesn't

Makes sharing settings across systems and with others easy
Creating/editing a large number of mappings (more than 5) as text is easier than using the UI
PowerToys already targets power users, which want and expect this kind of control
Extending this across PowerToys would probably be straightforward as well

Even better would be have profiles tied to keyboard ID (I am hoping app could query usb/bluetooth properties of keyboards).

@freshone I did a little bit of digging in the source because I found it hard to believe it wasn't already set up that way. It will take a little bit of digging, but as far as I can tell, if you navigate to
C:\Users\jchun\AppData\Local\Microsoft\PowerToys\Keyboard Manager

you should see json files and editing/switching them should be fairly straightforward

For example, this would be amazing for temporarilty turning these keys into a numpad on TKL keyboards.

@jonchun Thanks for pointing to the location where the settings file is stored. This should be added in the documentation, as it is also a partial solution to #4452

You can prepare your json profiles, for example mac.json and win.json in the C:\Users\jchun\AppData\Local\Microsoft\PowerToys\Keyboard Manager
Then make a powershell script, for example to switch to the win profile:
$ErrorActionPreference = 'SilentlyContinue'
cd $HOME
cd '.\AppData\Local\Microsoft\PowerToys\Keyboard Manager'
cp win.json default.json
taskkill /F /IM PowerToys.KeyboardManagerEngine.exe
& 'C:\Program Files\PowerToys\modules\KeyboardManager\KeyboardManagerEngine\PowerToys.KeyboardManagerEngine.exe'

You can prepare your json profiles, for example mac.json and win.json in the C:\Users\AppData\Local\Microsoft\PowerToys\Keyboard Manager
Then make a powershell script, for example to switch to the win profile:
$ErrorActionPreference = 'SilentlyContinue'
cd $HOME
cd '.\AppData\Local\Microsoft\PowerToys\Keyboard Manager'
cp win.json default.json
taskkill /F /IM PowerToys.KeyboardManagerEngine.exe
& 'C:\Program Files\PowerToys\modules\KeyboardManager\KeyboardManagerEngine\PowerToys.KeyboardManagerEngine.exe'

Thank you so much for this.  I agree with https://github.com/microsoft/PowerToys/issues/1881#issuecomment-995321972 this should be added to the docs, just like it already is for FancyZones

Thank you @AndriyTemplafy for your comment's explicit instructions that will allow a user to change keyboard mappings through a shortcut (that points to a copy of the PowerShell script you provided).
Agree with @AJolly that it should be added to the docs.
A digression:  Kudos to the folks that worked on the Keyboard-Manager Wiki page. It exemplifies great documentation, especially at a requirements/analysis/design/tech level that seems appropriate for a repository wiki page.

So what's the status of this? Use the workaround provided above and be grateful, or is it coming anytime soon?

After reading the above comments, I took a shot at making a simple powershell GUI selector for profiles based on this list box code:
https://learn.microsoft.com/en-us/powershell/scripting/samples/selecting-items-from-a-list-box?view=powershell-7.3
and plopping the below code block toward the end.  Hopefully this is useful to anyone else wanting to select different profiles easily, and as you can see it's based off previous work, so here's my incremental addition while we wait for an integrated solution
`
#get all json files other than settings and default from keyboard manager folder
$ErrorActionPreference = 'SilentlyContinue'
cd $HOME
cd '.\AppData\Local\Microsoft\PowerToys\Keyboard Manager'
$profiles = dir *.json | select Name |Where-Object {$.name -ne "settings.json" -and  $.name -ne "default.json"}
#Create backup of default.json first run
$bak = '.\default.json.bak'
if (!(test-path $bak)){
echo "making backup $bak"
cp default.json $bak
}
#build list box
foreach ($profile in $profiles)
{
[void] $listBox.Items.Add($profile.name)
}
$form.Controls.Add($listBox)
$form.Topmost = $true
$result = $form.ShowDialog()
#act on result copy selected json file over default.json and restart keyboard manager
if ($result -eq [System.Windows.Forms.DialogResult]::OK)
{
$x = $listBox.SelectedItem
$x
cp $x default.json
taskkill /F /IM PowerToys.KeyboardManagerEngine.exe
& 'C:\Program Files\PowerToys\modules\KeyboardManager\KeyboardManagerEngine\PowerToys.KeyboardManagerEngine.exe'
}`

Exporting the mappings to a file so that they can be imported (merged!) into another system's mappings is a must-have if you ask me. Especially for painful-to-configure mappings that use keys that are not easy to find in the drop-down listboxes.

I'd really like to see this feature in the near future. Or yesterday.

Have both predefined profiles (e.g. mac/linux/etc) available to user, and also allow the user to create custom profiles. Provide a quick way to switch between profiles.

I hope to see this one VERY SOON! Pretty please!

The feature already exists in Karabiner-Elements for macOS.
https://karabiner-elements.pqrs.org/docs/manual/operation/profiles/
https://github.com/pqrs-org/Karabiner-Elements
It seems we can take something from them.

Pinging on this as well. Big pain

I am also in need of this feature.
C:\Users\[user]\AppData\Local\Microsoft\PowerToys\Keyboard Manager\settings.json has a list of configurations and an active configuration:
{     "properties": {         "activeConfiguration": {             "value": "default"         },         "keyboardConfigurations": {             "value": [                 "default"             ]         }     },     "name": "Keyboard Manager",     "version": "1" }
and C:\Users\[user]\AppData\Local\Microsoft\PowerToys\Keyboard Manager\default.json has what is currently the only possible active configuration. All that would need to be done is to have the user be able to save a configuration to the settings.json keyboardConfigurations array and select their activeConfiguration from that list of configurations. I would do it myself but i dont have any C++ experience. anyone here willing to take on the (easy) task?


python312Packages.slack-sdk: 3.33.1 -> 3.33.2

Diff: https://github.com/slackapi/python-slack-sdk/compare/refs/tags/v3.33.1...v3.33.2
Changelog: https://github.com/slackapi/python-slack-sdk/releases/tag/v3.33.2

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 351217

x86_64-linux

:fast_forward: 4 packages marked as broken and skipped:

krr
krr.dist
opsdroid
opsdroid.dist

:white_check_mark: 10 packages built:

prowler
prowler.dist
python311Packages.slack-bolt
python311Packages.slack-bolt.dist
python311Packages.slack-sdk
python311Packages.slack-sdk.dist
python312Packages.slack-bolt
python312Packages.slack-bolt.dist
python312Packages.slack-sdk
python312Packages.slack-sdk.dist


qq: add missing dependencies

Description of changes

Add GJS to wrapper's PATH for screenshot support
Add AppIndicator support
Use vips from nixpkgs to avoid occasional crashes as of glib 2.76

Similar workaround on AUR: https://aur.archlinux.org/cgit/aur.git/commit/?h=linuxqq&id=62c57e732a5aca83998a984b1bcea35a15cf4225

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 227210 run on aarch64-linux 1

1 package built:

qq

Result of nixpkgs-review pr 227210 run on x86_64-linux 1

1 package built:

qq


Question: Why using Array.prototype.slice

I noticed in lib/Tapable.js there are several calls to Array.prototype.slice.call(arguments, ..) example here. I'm just curious as to why this is done when the arguments object is an array, and as such has slice in its [[Prototype]] chain.
Is it some sort of an optimization? Is a call to Array.prototype.method.call(...) faster than someArray.method()?

Tbh we would love a benchmark system to can hook into the one we just added on webpack/webpack if you could highlight the perf wins we will take a PR for sure

Welllll I just discovered that arguments inside a function is not really an array. In fact it seems that the only properties arguments and Array.prototype have in common is Symbol.iterator and length. Array.prototype doesn't even exist in its [[Prototype]] chain so the current code is entirely necessary.

With that being said, but still on the topic of perf, some research indicates that a good ol' for (...) loop will be considerably faster than Array.prototype.forEach so I wouldn't mind swapping this out. If a simple PR doing just this would be accepted I wouldn't mind making it. However if you want to a benchmark system to hook into the webpack source I'd be very interested in that, but would probably need some help getting off the ground as I'm not yet familiar with the (new?) benchmarking system in webpack source. In the mean time, I'll be reading webpack src!


PR 3/3 Implement support for Axon framework

Implement support for axon framework
Add additional example

I am afraid, this doesn't get any better in terms of separating actual changes from accidental changes and reformattings. I guess we're better off if I just take the PR and work myself through it.

If you apply PR1/3 and PR2/3 you will find in this PR only the changes related to the implementation of the issue.


Installer [development] aborts under certain circumstances.

Bug Report
Describe the bug
The installer will abort during the [developer] task when config.session_store is defined and defined to other than redis_session_store.
To Reproduce

In config/environments/development.rb define

config.session_store :cache_store

n.b The Manual Configuration still recommends :cache_store. Should it be changed to recommend ``redis_session_store`?

run the install task rails stimulus_reflex:install

The [development] task will abort with

rails aborted!
NoMethodError: undefined method `match?' for #<Pathname: ...

Expected behavior
The expected behavoir is for the installer to write a recommendation to config/environments/development.rb and append
          # StimulusReflex recommends using Redis for session storage
          # gem "redis-session-store", "0.11.5"

to the Gemfile
Versions
StimulusReflex

Gem: 3.5.0.pre10
Node package: 3.5.0.pre10

External tools

Ruby: 3.2.1
Rails: <IP_ADDRESS>
Node: 18.14.1

The Fix
This bug is due to the PathName of the Gemfile being passed to #write_redis_recommendation at
https://github.com/stimulusreflex/stimulus_reflex/blob/7607350bd25f29af2eb4eb7104bfc33958f1d058/lib/stimulus_reflex/installer.rb#L234
which is expecting the actual String text of the Gemfile.
This method is being called with the incorrect argument from two sites:
https://github.com/stimulusreflex/stimulus_reflex/blob/7607350bd25f29af2eb4eb7104bfc33958f1d058/lib/install/development.rb#L39
https://github.com/stimulusreflex/stimulus_reflex/blob/7607350bd25f29af2eb4eb7104bfc33958f1d058/lib/install/development.rb#L45

Thanks for the detailed bug report and fix!

The Manual Configuration still recommends :cache_store. Should it be changed to recommend redis_session_store?

 We haven't updated the Manual configuration page in the docs. The whole page needs to be updated for the new 3.5 release. I just opened #642 to rework this. Thank you!


TimeSelect component

A wrapper for time_select/3.
Related to #32.
Example
<TimeSelect form="alarm" field="time" />

Example with context
<Form for={{ :alarm }}>
  <TimeSelect field={{ :time }} />
</Form>

@miguel-s thanks!


GUI Lockup with Python Plugins

Running the script below will lock up the GUI until IPython.embed_kernel() is finished. Would be nice if we could do more than one thing at a time.
# Author: David Manouchehri

from binaryninja import *

import IPython
# import multiprocessing

def spawn(binary):
	# p = multiprocessing.Process(target=IPython.embed_kernel)
	# p.start()
	IPython.embed_kernel()

PluginCommand.register("iPython", "Run iPython", spawn)

iPython doesn't seem to like being in a thread either.
https://github.com/ipython/ipython/issues/4032

This appears to be fixed in 1.0.3.

Er, I guess this is still an issue with plugins (#390)?

And nope.


Server crash issue

The server can crash if a PC player goes towards the far left edge of the underworld/hell. Doesn't happen when mobile crossplay players go to that location.
Using the latest crossplay version, latest TShock version.
Master world, large size, for the worthy seed.

This isn't a crossplay issue. The plugin doesn't affect anything about Pc clients


unusual zero args behaviour

Dear Michael,
I have found this project while searching for a pure perl implementation of realpath. I was curious to see your tests and I have replaced the body of your realpath() function with a call of my system realpath
realpath() {
/opt/freeware/bin/realpath "$1"
}
My system realpath is part of the rpm package coreutils-8.25-1.ppc. The test
it_outputs_pwd_when_passed_zero_args
fails. The system realpath does not like a zero arguments or an empty string argument. You have implemented  a kind of fallback or default behaviour. We could argue, if this a good idea, assuming that the behaviour of both realpath implementations should be identical.
What I do not understand is why the default behaviour returns a slash terminated $PWD instead of $PWD itself. Maybe you could say some words about your motivation. I would have used the variable substitution operator :- instead
realpath() {
canonicalize_path "$(resolve_symlinks "${1:-.}")"
}
This would run _canonicalize_dir_path() instead of _canonicalize_file_path() and it would return $PWD.
Kind regards
Sven

I was curious to see your tests and I have replaced the body of your realpath() function with a call of my system realpath

I never actually tried that, but I like the idea 👍

What I do not understand is why the default behaviour returns a slash terminated $PWD instead of $PWD itself. Maybe you could say some words about your motivation.

I don't recall the original motivation. However, my guess is that I didn't think about it all that much. I probably just wanted it to do something.
I like the idea of it returning  $PWD instead of $PWD/. I'd merge a PR that changes this behavior.


Plan fails to run in Vagrant/Virtualbox on Windows

When running astro plan --trace in a repository on the host filesystem the process hangs with:
[TRACE] 2019/05/23 01:48:51 terraform: copying tree from /host/home/Development/my-repo to /host/home/Development/my-repo/.astro/01DBH60VM64E5ZGFBF33H7GQJE/my-module/sandbox

It does work when run from /tmp.
Note that Windows doesn't support symbolic links and other UNIX features so it could be related (other applications using symbolic links have similar issues).

Symlinks are required for this to work; I haven't tested this on Windows at all. Though I understand symlinks do exist in NTFS so in theory this could work.
Virtualbox adds another complication, however. If the filesystem is virtualboxfs, then I think symlink creation won't work in the guest at all and this is by design. See: https://askubuntu.com/questions/446317/how-to-make-guest-os-follow-symlinks-from-shared-folder


First Payment, with existing mandate redirects to mollie

Just want to verify this logic, because in v1 this logic was working different from now in v2.
Example v1:

Create mandate without laravel cashier upfront.
start newSubscription()->create();
Subscription created and transaction started within mollie by directdebit (through cashier:run)

Example v2:

Create mandate without laravel cashier upfront.
start newSubscription()->create();
No subscription created, payment started. Redirects to mollie checkout page.

I looked up what the difference is between v1 & v2 and that's if have to set in cashier.php config underneath: first_payment the method to directdebit Now it's actually creating a new subscription without redirecting to mollie checkout.
I could not find anything within the documentation about this, and i think the method for first_payment.method should not be directdebit it feels wrong.

Hi @Mul-tiMedia,
Without valid mandate cashier will not create a new subscription without going through Mollie's checkout. Once the payment reaches status paid, Cashier's webhook gets called, and then the Subscription is created. That behaviour has not changed between v1 and v2, except for that the Payments are now also tracked in db.

What do you get when you run $billable->validateMollieMandate()?

Please try a supported first payment method. directdebit is not supported ([source].(https://docs.mollie.com/payments/recurring#payments-recurring-first-payment))  Note that a number of first payment methods like ideal result in a directdebit mandate, but directdebit cannot be used to instantiate a first payment.

For debugging, try using $billable->newSubscriptionForMandateId($billable->mollie_mandate_id, $subscription, $plan); directly. (link)

Hi @sandervanhooft
I understand your reply, except our workflow is different than you wrote about.
We create a valid mandate without laravel cashier. We do this by calling api calls to mollie directly. Because we dont want our customers to make a first payment of a few cents. We let our customer check a box and then we create a valid mandate upfront.
Then the situation is as following: We have a valid mandate. Then a customer wants to start a new subscription. Even though the customer has this valid mandate Cashier still wants to redirect to mollie to make a first payment.
Cashier v1 does not redirect, v2 does redirect. The difference between cashier v1 and v2 is as following:
In v2 the following line has been added:
https://github.com/mollie/laravel-cashier-mollie/blob/741f51b035e77461fc7e16168ad548404c0732be/src/Billable.php#L78
This line of code checks the firstPaymentMethod from the config file. Except there should only be ideal creditcard or paypal or such..
In v1 the code was as following:
https://github.com/mollie/laravel-cashier-mollie/blob/6acdadc69b00bde337c37a10b6e2f1838ac93217/src/Billable.php#L75
I hope you understand my question now. :)

I understand the use case, but I think MandateMethod:: getForFirstPaymentMethod() should throw an exception when passed directdebit, because that is not a valid first payment method. Fixing that will avoid a lot of confusion.

@sandervanhooft  i agree, directdebit should not be passed as the first payment option.
But in our case i have to do it to pass the if else statement:
https://github.com/mollie/laravel-cashier-mollie/blob/741f51b035e77461fc7e16168ad548404c0732be/src/Billable.php#L84

See our screenshot for verifying our mandate is valid. So will always be redirected to mollie because the L84 blocks because it cannot find a correct payment method even though my mandate is valid.

So i did some digging. And i think this issue can be closed.
Except, i think we should add a paragraph to the documentation part of upgrading from v1 to v2.
That if you are creating your own valid mandates upfront without cashier, you have to set the cashier.first_payment.method to a valid payment method. Like ideal or creditcard.
Because it's default set to null (empty array). And therefore it will not pass the if statement as written in my comment above.
I you do this, and a valid mandate was detected cashier will start a new subscription without actually redirecting you to this firstPaymentMethod.

Thanks for following up!
Manually setting the mandate is not officially supported by Cashier (v1 nor v2), so it would only be confusing to include it in the upgrade documentation. I'll keep an eye out to see if we need to detail it somewhere else.


'Show graph' option does not show on new scenario

In the settings menu, often the 'Show graph' option is not available. It does appear when you hit refresh.

@BerendSmits why am I assigned to this ticket? Assigned @antw instead.

I can't seem to reproduce this in Firefox 51.0.1.
Steps:

Start a new scenario
Check settings
See 'Show graph'

I tried signing in and see if that makes a difference but it doesn't. It can be, that while your scenario is still loading, that the Show graph button is not visible yet. But I'm not sure if that's the same thing you're experiencing.


Shunt out the IP to countrycode detection.

Since the IP is not resolveable to a country code anyways, the complete detection can be shunted out.

Thank you!


Enable ccache in cmake, and speedup travis builds

ccache on travis cuts down on build times from ~40 minutes to ~15 minutes
Ex:
https://travis-ci.org/gdevenyi/ANTs/builds/148149544
The first time on OSX builds is very close to the 50 minute limit on travis, if this is the case, disabling the tests "-DRUN_SHORT_TESTS=OFF" for one cycle will successfully prime the cache.

Any thoughts about this?

This seems fine to me but @stnava and @armaneshaghi set up the travis builds, I believe, so they'll have to comment on it.

i've been meaning to set this up but now dont have to ... so this is great.
do you think this would help antsr as well?
brian
On Tue, Aug 2, 2016 at 6:14 PM, Nick Tustison<EMAIL_ADDRESS>wrote:

This seems fine to me but @stnava https://github.com/stnava and
@armaneshaghi https://github.com/armaneshaghi set up the travis builds,
I believe, so they'll have to comment on it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTs/pull/341#issuecomment-237062634, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATyfhkAWMWlnWAy6clDvbttZhHN2FCRks5qb8FZgaJpZM4JXqAJ
.

Looks like this will totally work with antsr, just needs ccache turned on and the path specials for OSX

Any chance you would give it a try for us?
On Tuesday, August 2, 2016, Gabriel A. Devenyi<EMAIL_ADDRESS>wrote:

Looks like this will totally work with antsr, just needs ccache turned on
and the path specials for OSX
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stnava/ANTs/pull/341#issuecomment-237089538, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AATyflbbKtzZSNDZQFRnsdXoRlZffMeQks5qb9vwgaJpZM4JXqAJ
.

--
brian

Sure, opened an issue to track and remind me
https://github.com/stnava/ANTsR/issues/109


[mp-units] Enable features for the project

Is your feature request related to a problem? Please describe.
Inconsistency with Conan options described here: https://mpusz.github.io/mp-units/latest/getting_started/installation_and_usage/#conan-options.
Lack of those options may lead to limited functionality or applicability of the project.
Proposed solution
The above mentoned Conan options resolve to the following CMake options: https://mpusz.github.io/mp-units/latest/getting_started/installation_and_usage/#cmake-options. VcPkg should try to expose similar options in its interfaces.
Describe alternatives you've considered
No response
Additional context
No response

I do not know much about VcPkg details 😢 It would be nice to provide users with some control over the API or dependencies being used, as they have various needs (e.g., freestanding, modules, import std;, contracts library).

If you know mp-units well enough, you can help by explaining which CMake options are truly "additive". vcpkg "features" are meant to be strictly additive - one port requesting a feature must not break other ports depending on the same port, so a "feature" is not allowed to take anything away.
"freestanding" seems to be more a "triplet" choice than a port  "feature". There is no point in having one installed port freestanding while others aren't.

I am not sure what you mean here. If we have two ports with additive, separate features, they will, of course, not be compatible.

freestanding is probably the smallest set that satisfies freestanding requirements and has no dependencies. However, this probably should not be a default as most users want features like text output.
cxx_modules is additive and additionally provides C++ modules in CMake targets
std_format switches between the usage of fmtlib and std::format. Those are exclusive, and different users need different things here (depending on what they use for logging in their project)
contracts allows the users to disable contract checks or use ms-gsl or gsl-lite for it (both are really popular, and people want to consistently use the same mechanism through the entire code base)
string_view_ret and no_crtp are C++23 features that improve the public API

freestanding is probably the smallest set that satisfies freestanding requirements and has no dependencies. The rest is purely additive on top of it. However, this probably should not be a default as most users want features like text output.

It is not a feature candidate if it removes capabilities like "text output". AFAIU the inverse of "freestanding" is the "feature" and would need a name. default-feaures is overloaded in other contexts. Maybe base or common might be candidates. And enabled via the default-features property.
But not having the feature doesn't seem like a great loss.

std_format switches between the usage of fmtlib and std::format. Those are exclusive, and different users need different things here (depending on what they use for logging in their project)

exclusive = alternative. There is no good solution in vcpkg at the moment. It is easy to add the fmt depedency with a feature. But it doesn't help when CI or users find other reverse dependencies breaking in that moment.

contracts allows the users to disable contract checks or use ms-gsl or gsl-lite for it (both are really popular, and people want to consistently use the same mechanism through the entire code base)

Enabling contracts checks via a feature might pull in one dependency. Again, alternatives cannot be handled.

string_view_ret and no_crtp are C++23 features that improve the public API

I understand the improvement. But e.g. changing return types sound like changing the API.
(I'm skipping modules for now. They may need more work outside this port.)

But not having the feature doesn't seem like a great loss.

Well, I think that embedded folks may not agree with that 😉 An Inversed name for this is "hosted".
Regarding the rest, I understand your rationale. I submitted this issue to check if there is anything we can do to improve the usability of this library with VcPkg. If VcPkg is not powerful enough to support those use cases (requested by our users), then we can close this issue.

Well, I think that embedded folks may not agree with that 😉 An Inversed name for this is "hosted".

I would assume that the emedded folks need to make a whole triplet freestanding, i.e. apply the relevant flags. It is not really a per-port choice.


Not working on particular machine

Hi - I have this working quite nicely on a personal Macbook Pro, but I can't seem to get it working on my work Macbook Pro. Wish I had a more descriptive issue title.
 To do this I switched to sourcing rather than evaling fasd (installed to /usr/local/bin/fasd using homebrew) in my bashrc.
When fasd_cd is run through the z alias, _fasd_ret="\$(fasd -e 'printf %s' "\$@")" is evaluating to to an empty string. However, if I print out $@, I get posix-alias bash-hook bash-ccomp bash-ccomp-install which is a bit surprising given that I'm running z with just a filename...

This is indeed an odd issue. What's your script and login shell? Are there environmental variables that start with _FASD_ that might be tempering with fasd? I'm guessing it's probably not a bug of the code itself rather than the environment it is being ran on.

I'm not entirely sure, but I think I have the same issue.
Fasd works without any problems on my desktop pc.
On my ThinkPad however, it doesn't do anything. It creates the weighted list of files (just typing 'fasd' correctly gives this list), but it doesn't do anything with it.
  fasd_cd -d <something>

does nothing.
  fasd_cd -d -i

followed by a seleciton prints the selection, but doesnt change the directory.
I'm using zsh with the exact same configuration as my desktop.

Oddly enough, I tried this again today and it worked. So I'm closing this. If I ever figure out why it happened, I'll drop a note here.


--watch compilation with no change takes 3 seconds

I have a project that's fairly small (167 project TS files, ~8000 lines of code, and 987 total TS files including libraries).
When I work on one of the top modules (I use referenced projects and have 5 modules, the top one is a webserver module that depends on a bunch of heavy TS libraries like nestjs), even though I just save the file as it is (or touch webserver/x.ts), the triggered watch compilation takes about 4 seconds to finish, which is not very efficient to work with.
Results of tsc -b tsconfig.json -w --diagnostics showing most of the time is in parsing and binding.
[8:23:06] File change detected. Starting incremental compilation...

Files:           987
Lines:        422816
Nodes:       1248135
Identifiers:  453635
Symbols:      273809
Types:            73
Memory used: 783590K
I/O read:      0.44s
I/O write:     0.01s
Parse time:    2.95s
Bind time:     0.55s
Check time:    0.00s
Emit time:     0.00s
Total time:    3.50s
[8:23:10] Found 0 errors. Watching for file changes.

I did some simple profiling of tsc.js with the process above, and it appears the compiler takes significant amount of time scanning all the modules, but my gut feeling is all these files/dependencies can be cached.

I wonder if there's any obvious mistakes I'm making, or it's an item on the roadmap since it'd be a big improvement if this can be better.

TypeScript Version:  3.5.2

Search Terms:
Expected behavior:
Since no program change happens, it should be nearly instant to finish the compilation.
Actual behavior:
It takes 3-4 seconds to finish the watch compilation.
Playground Link:
Related Issues:

Are you using --incremental?  That was introduced in 3.4 and improved in 3.5 so I'm thinking it might help here.

Oh, I forgot to mention. Since I'm using project reference, so all my modules have composite: true enabled, which infers incremental.

Did another experiment, where I converted the project into a singular project, without project reference. Now touching a file without any change and trigger compilation under -w is faster, like under 1 second.

@zenozen For scalability we do not yet cache module resolution across compilations in watch mode with --build mode. (consider having too many projects and running out of memory because of that). We do want to investigate about storing such information for the currently edited/changed programs and that might help your situation.
cc: @RyanCavanaugh @DanielRosenwasser

@sheetalkamat Thanks for replying!
So it means that recompilation with either -w or --incremental would scan all the files, that's intentional, right? It seems that there is info about scanned modules/files in .tsbuildinfo file, we're just not using them?
Is there anything I can do for now to make it better, other than switching back to non-referenced project structure?

@sheetalkamat let's think long-term about possible improvements here

It seems that with incremental tsc still parse all files? I would think that if checksum is the same there should be no need to parse files ?
In my case incremental makes compilation slower:
{
    "compilerOptions": {
        "module": "commonjs",
        "moduleResolution": "node",
        "target": "es2018",
        "strict": false,
        "sourceMap": true,
        "declaration": true,
        "emitDeclarationOnly": true,
        "allowJs": false,
        "incremental": true,
        "composite": true,
        "esModuleInterop": true,
        "jsx": "react",
        "rootDir": "src",
        "outDir": "types",
        "skipLibCheck": true,
        "tsBuildInfoFile": "types/tsBuildInfo.json",
        "types": [
            "react",
            "jest",
            "prop-types",
        ],
        "lib": [
            "esnext",
            "dom"
        ]
    },
    "include": [
        "src/**/*.ts",
        "src/**/*.tsx",
        "src/**/*.json"
    ],
    "exclude": [
        "src/**/*.test.ts",
        "src/**/*.test.tsx"
    ]
}

Result in
$ tsc --build --diagnostics
Files:           86
Lines:        77126
Nodes:       242645
Identifiers:  90151
Symbols:      48461
Types:         2376
Memory used: 90497K
I/O read:     0.02s
I/O write:    0.00s
Parse time:   1.22s
Bind time:    0.68s
Check time:   0.38s
Emit time:    0.02s
Total time:   2.30s
Done in 2.66s.

After nuking outDir and disabling incremental
{
    "compilerOptions": {
        "module": "commonjs",
        "moduleResolution": "node",
        "target": "es2018",
        "strict": false,
        "sourceMap": true,
        "declaration": true,
        "emitDeclarationOnly": true,
        "allowJs": false,
        "incremental": false,
        "composite": false,
        "esModuleInterop": true,
        "jsx": "react",
        "rootDir": "src",
        "outDir": "types",
        "skipLibCheck": true,
        "types": [
            "react",
            "jest",
            "prop-types",
            "@woodmac-lens/build-tools"
        ],
        "lib": [
            "esnext",
            "dom"
        ]
    },
    "include": [
        "src/**/*.ts",
        "src/**/*.tsx",
        "src/**/*.json"
    ],
    "exclude": [
        "src/**/*.test.ts",
        "src/**/*.test.tsx"
    ]
}

$ tsc --build --diagnostics
Files:           86
Lines:        77126
Nodes:       242645
Identifiers:  90151
Symbols:      48461
Types:         2382
Memory used: 94655K
I/O read:     0.01s
I/O write:    0.00s
Parse time:   1.04s
Bind time:    0.58s
Check time:   0.32s
Emit time:    0.08s
Total time:   2.03s
Done in 2.36s.

I am using latest version of  tsc.

I think that I'm seeing this same issue. My simplified test configs as a gist: https://gist.github.com/garybernhardt/5c5aeb9d1bb361d28b34a1f6c3aa0a3b. Our app is closed-source, so I can't post it for repro. I did try to make a minimal repro app, but the lack of actual source to compile made the builds so fast that I couldn't measure the incremental build slowdown.
Here are some data points about build times with various configurations. This is on 3.7.0-dev.20191018. I'm measuring tsc's self-reported timestamps, seven trials in each case, from "Starting incremental compilation..." until "Found 0 errors." In each case I'm adding or removing a single console.log(1) to a leaf module in the module graph.

Without project references or "composite": true

(This uses the configs above, but collapsed into a single tsconfig.json with no "composite" or "references".)
$(npm bin)/tsc --watch --preserveWatchOutput
Timings (s): 1, 0, 1, 0, 0, 0, 0.

With "composite": true in common's tsconfig

(This uses the exact configs above.)
$(npm bin)/tsc -b src/server --watch --preserveWatchOutput
Timings (s): 1, 1, 1, 1, 1, 2, 1

With "composite": true in both tsconfigs ("server" and "common")

(This uses the exact configs above, but with "composite": true added to src/server/tsconfig.json.)
$(npm bin)/tsc -b src/server --watch --preserveWatchOutput
Timings (s): 6, 5, 5, 4, 6, 6, 7

The last one shows this becoming prohibitively slow, and is similar to the timings that I saw when building our full system (client, server, and common). Our project is a bit bigger than @zenozen's, but definitely not large (193 TS files, 16,924 lines of TS). Slowdown seems to be ~20x on identical source code.

Is any work on this planned?

Looks like I've faced the same issue.
The build time for non-composite project in watch mode for the only 1 change is fast (around 2-3 seconds), but for the same project in --build mode it takes 1-2 minutes. Looks like tsc in --build mode recompiles the whole sub-project (why it doesn't use the mode it uses for non-composite projects to watch changes quickly?) even if the only 1 file was changed.
Our project is closed-source, but let me know if I can provide any to help to fix it. Composite project is really great feature and we're going to move our codebase to it, but the issue is blocker for that (we can't wait for 1 minutes for the only 1 file change).

consider having too many projects and running out of memory because of that

@sheetalkamat what's the difference between the same project without --build mode? Could it be crashed with that? I meant is this really problem which should be solved? I didn't seen a lot of projects moved to composite projects, but what's I've seen previously used "simple" mode and nothing is crashed. Please bear with me, I might miss something.
Without --build mode, watch, the only 1 file was changed:
Files:                         3940
Lines:                       453223
Nodes:                      1964511
Identifiers:                 654168
Symbols:                     306873
Types:                         1150
Memory used:               1181739K
Assignability cache size:       378
Identity cache size:              0
Subtype cache size:              20
Strict subtype cache size:        4
I/O Read time:                0.00s
Parse time:                   0.01s
Program time:                 0.12s
Bind time:                    0.02s
Check time:                   0.17s
transformTime time:           0.02s
commentTime time:             0.01s
printTime time:               0.80s
Emit time:                    0.80s
I/O Write time:               0.01s
Total time:                   1.12s

--build mode, watch, the same file was changed:
Files:                         3940
Lines:                       453358
Nodes:                      1962640
Identifiers:                 653221
Symbols:                     854739
Types:                       341902
Memory used:               1141882K
Assignability cache size:    217546
Identity cache size:          11335
Subtype cache size:           16806
Strict subtype cache size:    27107
I/O Read time:                0.66s
Parse time:                   4.37s
Program time:                23.16s
Bind time:                    2.73s
Check time:                  51.00s
transformTime time:           3.22s
commentTime time:             0.01s
printTime time:               1.76s
Emit time:                    1.76s
I/O Write time:               0.02s
Total time:                  78.66s

Hi @RyanCavanaugh, may I ask to say what kind of proposal we expect here? How to fix slowness of compilation or something else? Maybe somebody from this thread needs to provide more information which might help to choose better solution?

In my case the issue was fixed after upgrading to the the version 4.0.3 from 3.9.7


Problem with ffpmeg install?

Hi!
Thanks for the great concept and your work on it.  I'm really looking forward to getting it working.
Here's the log of my problem:
[7/30/2022, 8:01:35 AM] [HomepodRadioPlatform] [BBC] Triggered SET TargetMediaState: 0
[7/30/2022, 8:01:35 AM] [HomepodRadioPlatform] [BBC] Started hearbeat 26511
[7/30/2022, 8:01:35 AM] [HomepodRadioPlatform] [BBC] Started streaming http://stream.live.vc.bbcmedia.co.uk/bbc_radio_one
[7/30/2022, 8:01:35 AM] [HomepodRadioPlatform] [BBC] Setting volume to 25
[7/30/2022, 8:01:35 AM] Error: spawn ffmpeg ENOENT
  at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
  at onErrorNT (node:internal/child_process:478:16)
  at processTicksAndRejections (node:internal/process/task_queues:83:21)
[7/30/2022, 8:01:35 AM] Got SIGTERM, shutting down Homebridge...

I'm on a Mac Mini M1 with MacOS Monterey 12.3.1.
ffmpeg and pyatv installed
To test this, the following command worked on the Homepod Mini:
ffmpeg -i http://stream.live.vc.bbcmedia.co.uk/bbc_radio_one -f mp3 - | atvremote --id <myhomepodminiID> stream_file=-

I also have ffmpeg for homebridge running and is working for some ffmpeg cameras I have running in Homekit.
Any ideas what I am missing?
Thanks again,
Justin.

Sorry all - solved this myself. Should have thought.  For those who find the same issue, the homebrew install of ffmpeg doesn't generate a link in /usr/local/bin.  Here's the relevant command to fix it:
sudo ln -s /opt/homebrew/bin/ffmpeg /usr/local/bin/ffmpeg

Thanks for the great work on this - works like a charm!
Justin.


⚠ ClamAV has degraded performance

In 1b5e1f2, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 91 ms

Resolved: ClamAV performance has improved in e5613e2.


Use Milestones

I remember the iOS SDK project uses milestones to manage the issues and releases.
Wouldn't this be a great idea, now that the amount of issues and PRs is starting to grow.
WDYT

Probably, in the future, after the initial rush and things are more stable.  For now, I just want to merge and ship releases as fast as possible.


MB available: Muninn added as dependency + new tests

Now we can run simulations with MB, run by Muninn. New tests have been added covering those usescases. This means that Huginn should be ready to run simulations for most cases. Now it needs to be extensively tested for different regions and finish polishing the remaining issues.

Codecov Report

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

@@           Coverage Diff           @@
##             main      #36   +/-   ##
=======================================
  Coverage        ?   96.72%
=======================================
  Files           ?        9
  Lines           ?      336
  Branches        ?        0
=======================================
  Hits            ?      325
  Misses          ?       11
  Partials        ?        0


⚠ Bofrost.lu has degraded performance

In 2559e70, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1844 ms

Resolved: Bofrost.lu performance has improved in 87b62b3 after 20 minutes.


Property decoratorVersion is not allowed

Describe the bug

decoratorVersion is not allowed error even though it's valid
Input code
@decorate()
export class Foo {

  @decorate()
  get name() {
    return "hello"
  }

  @decorate()
  sayHi() {
    return "hello"
  }
}

function decorate() {
  return function(target, {kind}) {
    console.log(target, kind)
  }
}

Config
{
  "jsc": {
    "parser": {
      "syntax": "typescript",
      "decorators": true
    },
    "transform": {
      "decoratorVersion": "2022-03"

    },
    "target": "es2020"
  },
  "module": {
    "type": "es6"
  },
  "minify": false,
  "isModule": true
}

Playground link
https://play.swc.rs/?version=1.3.56&code=H4sIAAAAAAAAA32OQQrCQAxF93OKT1ctiGfoSrzGMI11cExkJgWl9O6NrVVBMLvkv%2FdJ21GQ7JXqxtH9JlkRki8FBxGMzgHtFwH0pGB%2FtcVS2GTSITOqM6UklZ2mX6n4xzH%2BM8w5DRw0CuNjLvyL3uJafbYfdhgvkbtp6wzCRRLtk%2FRv4gk0a%2F0M7hpWieYAAAA%3D&config=H4sIAAAAAAAAA1WOwQqDMBBE7%2FkK2XMLwUIP%2FYdeew%2B6KSmayO4KDeK%2Fd43V2tvOvJllJlNV8OIGbtWkp4rBESPtWh3OUdxbHZA8IDcUBoHTRltsEjlJxJoQGrGAeeUg5CL7RP3x4V55IHFIcXld27o%2B2wuY%2F7qjJ8rCkTVhwXwZ9KkdO%2FzNXqatueshFGLwWW3vOsZiBb5vzTJ2%2FgCck9nlAgEAAA%3D%3D
Expected behavior
it shouldn't indicate that decoratorVersion is not allowed when it is in fact allowed.
Actual behavior
No response
Version
1.3.56
Additional context
No response

who does? i clicked the link from the playground to open this issue. should i create one at https://github.com/swc-project/swc-playground/ instead?


Add support for mapper 94

Trying to see if there are any obscure mappers that aren't too difficult to implement and helping out with them. Here's mapper 94, used only in Senjou no Ookami (the Japanese version of Commando). It's just a slightly modified UNROM wherein the bank select register is shifted by 2 bits.

Thanks! rebased, will merge once tests pass.

We need mapper 30 :(


Update autorest version to prerelease 3.0.0-alpha.20240612.2

Generated by Autorest Regen Preview build 20240612.2Triggered from pull request: https://github.com/Azure/autorest.csharp/pull/4781

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


SEVERE: Update discards ttl and proxied properties of record

Resetting everything to TTL Automatic and DNS only.

On it.


I think you're not using the 'adam' optimizer local variable in algo-whiteboard-letter-embeddings-v1.ipynb

It seems that you're using the built-in 'adam' as you pass a string.

Somebody on twitter also mentioned that. Fair that I make the change here at least.
On the TODO :)

colab is now fixed.

fixed.


Prune tests from the package distribution

Greetings dear fellows,
I noticed that the package distribution contains tests, which I don't see the need of (tell me, if I am missing something).
This PR updates MANIFEST.in to prune tests folder.
Best,
Rust

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (d85ff46) 98.78% compared to head (985a820) 98.78%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #618   +/-   ##
=======================================
  Coverage   98.78%   98.78%
=======================================
  Files          12       12
  Lines         246      246
=======================================
  Hits          243      243
  Misses          3        3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Hi @amureki,
I know that some of my packages get bundles by third parties on lauchepad and co. They usually prefer having tests in the source bundles to run tests during packaging.
Is there any particular reason you want to drop the tests?
Cheers!
Joe

I know that some of my packages get bundles by third parties on lauchepad and co. They usually prefer having tests in the source bundles to run tests during packaging.

@codingjoe good point, that is what I was missing. No particular reason from my side, I just wanted to bundle less, but the explanation makes complete sense to me. 👍


[krabsetw] Update to 4.1.14

Describe the pull request

What does your PR fix? Fixes #
Update to latest krabsetw version

Which triplets are supported/not supported? Have you updated the CI baseline?
No changes. Only Windows supported.

Does your PR follow the maintainer guide?
Yes

LGTM, thanks for your PR @jrave.


Missing tags in the examples

In https://carla-counterfactual-and-recourse-library.readthedocs.io/en/latest/examples.html there are @property tags missing.
E.g.
     def feature_input_order(self):
         return [...]

should be
    @property
    def feature_input_order(self):
        return [...]

Fixed this in PR #93


Geolytica format is inconsistent with implementation

Reproduce:
>>> import geocoder
>>> g = geocoder.geolytica('Winfield, BC')
...
/data/virtualenvs/lca-tools/lib/python3.7/site-packages/geocoder/geolytica.py in street(self)
 39     @property
 40     def street(self):
---> 41         return self._standard.get('staddress', '').strip()
 42
 43     @property
AttributeError: 'dict' object has no attribute 'strip'

This is because geolytica apparently returns empty dicts for staddress and stnumber if not present, and not empty strings.
Solution: either catch the AttributeError or modify the code to meet expectations.

sorry I am still learning how to do pull requests


Model/View Programming with QTableView and QAbstractTableModel

Summary
Our UI will contain several tables that need to be refreshed with data. To do so, we could use a QTableWidget or QTableView. A widget is a standard UI element. A View is like a widget but allows for more flexibility in how data can be presented. For our PacketLogger table we may have a very large number of packets to display. To speed up the PacketLogger table, we could include functionality to reduce the number of elements displayed at a time. This would require using QTableView over the QTableWidget.
Another benefit to using Views is that they conform to a Model-View architecture when combined with Model classes. This is a method of separating UI objects from the data being displayed. The data we want to be displayed in a table could exist in a class that is derived from a QT Model class (QAbstractItemModel). The Model class could then be attached to the TableView, and the data could automatically be updated into the TableView.
These concepts are explained in the official QT docs:
https://doc.qt.io/qt-5/model-view-programming.html#introduction-to-model-view-programming
https://doc.qt.io/qt-5/model-view-programming.html#using-models-and-views
https://doc.qt.io/qt-5/model-view-programming.html#model-classes
https://doc.qt.io/qt-5/model-view-programming.html#view-classes
Since Model classes represent data in rows and columns that can be indexed, there could be a direct mapping from the indexes assigned to our data and the order it is displayed in the TableView. Rather than subclass from QAbstractItemModel, we could use QAbstractTableModel which has already implemented some of the required functions.
The PyQT5 QAbstractTableModel docs explain we must implement the functions rowCount(), columnCount(), and data() in our subclass. Our custom model class will contain our data, and return the values in the data() function as indicated by an index provided.
https://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtcore/qabstracttablemodel.html#
We can attach our Model class to the TableView by calling setModel() on the TableView. The TableView will then use the data() function we defined to populate the View with the data from our Model.
Here is an example of creating a custom model from QAbstractListModel and attaching it to a QListView in PyQT5:
https://www.pythonguis.com/tutorials/modelview-architecture/
Acceptance Criteria

[x] Read all of the doc sections linked above
[x] Using the above example, create a test PyQT5 project that contains a TableView, and a custom Model that inherits from QAbstractTableView.
[x] Complete the QAbstractTableView methods, and test that the UI can be updated by values included in the Model class.
[ ] Write a brief tutorial with instructions for future members to create their own Model classes.

I created an example project at this branch: https://github.com/albertaloop/T_SWE_2022_2023/tree/GUI/qt-modelview/GUI/TableView-example
The file "main.py" creates a Window containing a TableView and a Button. The TableView has its model set to "TableModel" which inherits from QAbstractTableModel. The TableView gets initialized with some default values set in the TableModel constructor, and an example of updating a value is included in the "incrementCell()" method which is called when the button is pressed.


macOS_sed_fix

Description: tests/automated_install has a encode issue with MAC OS. Because MAC OS uses BSD version SED, while ubuntu uses Unix version SED. The character '\n' encodes different in these two versions.
My solution: use two patterns in SED. The first will put an '\n' in needing newline place, second pattern will replace this \n with real newline character.

It breaks on Linux environment. Adds proxy after bootstrap: instead of  putting it inside the curly brace bootstrap: {.

I tested this on OSX and I see extraneous files generated in the chef-bcpc folder viz. Vagrantfile"" and proxy_setup.sh"". Would it be possible to not have these created ?

Tested in LL2 ubuntu box. The environment file was modified as expected and no extraneous files were generated.

Thanks @kiiranh for additional testing.


JS/JSX Files not excluded when --type-check parameter present

Bug Report

TSLint version: 5.5.0
TypeScript version: 2.4.2
Running TSLint via: CLI

Description
I have a JavaScript file with flow code that I want TSLint to ignore.  I have tried the exclude parameter of the tslint command, as well as exclude files property in the tsconfig file.  TSLint still runs lint on the JavaScript files and returns a bunch of errors.
JavaScript (flow) code being linted
/* tslint:disable */
const isFunction = function(functionToCheck: any): boolean {
  let getType = {};
  return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';
};
module.exports = isFunction;

with tslint.json configuration:
{
  "rules": {
    "no-for-in-array": false,
    "no-inferred-empty-object-type": false,
    "restrict-plus-operands": false
  }
}

CLI Command
node node_modules/tslint/bin/tslint './{components}/**/*.{ts,tsx}' --config tslint.json --exclude \"src/**/*.{js,jsx}\" --project tsconfig.json --type-check
Actual behavior
TSLint ignores exclude parameters and runs lint on JS and JSX files when --type-check parameter present.  It returns the following errors:
Error at src\components\EditorContainer.js:297:16: ':' expected.
Error at src\components\utils\isFunction.js:3:46: 'types' can only be used in a .ts file.
Error at src\components\utils\isFunction.js:3:52: 'types' can only be used in a .ts file.

Expected behavior
JS and JSX files should be ignored by TSLint when exclude parameter is present.

Closing as a duplicate of #1603
You can solve this problem by omitting --type-check. It's no longer needed to enable typed rules.


Span tag in Legend

In Chart,js file there are several places where the legend template string have a span that is immediately closed with its end tag and subsequently the span does not apply any styling to the legends.
legendTemplate : "<ul class=\"<%=name.toLowerCase()%>-legend\"><% for (var i=0; i<segments.length; i++){%>
<span style=\"background-color:<%=segments[i].fillColor%>\"><%if(segments[i].label){%><%=segments[i].label%><%}%>
<%}%>
"

The occurrences seems to be at lines : 2045 , 2342 , 2544 , 2916 , 3179 of the Chart.js file.

I believe the intent was to let the user style the span (for example with inline-block display and 10px width/height) so you get a nice color box next to the text.
Now, the "fix" that was merged shows text on a colored background. This is not how legends are normally displayed.


Error: AllergyIntolerance is an invalid profile configuration

Do you want to request a feature, improve documentation, or ask a question?
Question
Are you reporting a bug?
yes
What is the current behavior?
Error on start up after clone and npm install.
Error: AllergyIntolerance is an invalid profile configuration, please see the wiki for instructions on how to enable a profile in your server, https://github.com/Asymmetrik/node-fhir-server-core/wiki/Profile
What is the expected behavior?
To start without issue after clone and npm install
What are the steps to reproduce?
(Assuming local mongo is already running)

git clone
npm install

What OS are you using and what version of node.js, @asymmetrik/node-fhir-server-core, and @asymmetrik/node-fhir-server-mongo are you running?
Windows 10 and OSx Catalina, ^2.0.4, 2.0.0

I'll be looking at this today. Thanks.

@zeevosec If you need anything lmk. Always willing to help and provide information.

@zeevosec Saw your PR in fhir-node-server-core. I will report back once I can retry this later today. I will close if fixed.
Thank you so much!

@bRRRITSCOLD I don't think we are there yet but I will be fixing this today. Been swamped lately!

@zeevosec Do not even mention it, I know the feeling myself... this whole week -_- lol. Next week should clear up for me at work, freeing me up for side stuff.
If you have a particular branch you are working off of besides the main lmk. I can jump in with you over the weekend/next week and work through the triaging/debugging if needed.
FHIR is pretty new to me, but Node certainly isnt :)

@bRRRITSCOLD I updated core and upgraded this project's package.json. It seems to be working now. Thanks for raising this issue!


Retrieve live audio data for spectrum analysis

Hi all,
is there any way to retrieve the live audio data in order to create a spectrum analysis visualizer?
Thanks
Besh

Wondering if this is planned to be worked on, I think it'd be a really cool feature but it does feel a bit non-critical. An app I'm developing could benefit from knowing the current amplitude a lot.

It's definitely not our priority at this moment, but it's open for discussion


The format of content for the  contributing guidelines needs to be fixed

Describe the task
In contributing guidelines for portal available in github content has to be updated
Link for contributing guidelines of portal
https://github.com/ColoredCow/portal/blob/master/docs/contributing.md
Please refer screenshot

Expected behavior
There should be space availabe between the dash ( - ) and the content mentioned

The issue is fixed please refer screenshot


Added JSON heuristic

Description

Motivation and Context

Fixes #279
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.

:+1:


Using mosaicml streaming with accelerate ?

Hi , how can i integrate mosaicml streaming with huggingface-accelerate.
Normally with a stypical dataset and dataloader you would need to do
data_loader = accelerator.prepare(data_loader)

and internally i think accelerate is wrapping the loader under a DistributedSampler of sorts.
Is this required when using mosaicml streaming dataset ? Or i can skip this step following this comment: https://github.com/mosaicml/streaming/issues/225#issuecomment-1510478052
My use case is for multi-gpu multi-node training.

Hey @benihime91, what was the solution here? We've had some folks ask about using hf accelerate so would be good to know so we can add to docs.
cc @XiaohanZhangCMU

i skip this wrapping step.
If wrapping the dataloader, will cause error.
https://github.com/mosaicml/streaming/issues/789#issuecomment-2405432617

Closing this out since not wrapping the dataloader seems to be the correct solution here.


Make 2D shadows respect z_index

This PR adds the ability to sort 2D light occluders using their z_index. Helps with #64939. Now, light occluders only cast shadows on objects that have a lower or equal z_index. I had written another PR that did the same as this one a while ago (#86689), but I didn't really like the approach I took since it was on the GPU side. It also now works on directional lights and on both forward+ and mobile renderers.
Old shadows on the left, new ones on the right:

This approach doesn't modify any shaders or low-level graphics code, and instead uses only the CPU. This is achieved by calculating the shadow map inside RendererCanvasRenderRD instead of RendererViewport. The shadow map gets recalculated if the lowest z_index of all active occluders is smaller than the current object's z_index, since the occluder then has to be removed from the shadow map.
Performance-wise, in the best-case scenario where only one z_layer is used for all objects, the performance is the same since the shadow map is only calculated once. In the worst-case scenario, the shadow map gets calculated as many times as there are z_layers occupied by occluders. This shouldn't be a problem because usually you only need a few z_layers for occluders.
I hope that this PR can get merged since I feel like 2D shadows are currently unusable. This is still my first time contributing, so please let me know if I need to change or add anything!

Not sure what proper etiquette is for commenting on PRs but I tested on my end and it fixes z-indexing perfectly as expected. Too bad we'll have to wait some time yet to get it merged, but thank you sincerely for fixing this massive problem.

We took a look at this in today's rendering meeting and agreed that this seems like a useful new feature however:

It doesn't close https://github.com/godotengine/godot/issues/64939 since it doesn't address the root of that bug, which is the fact that the occluder_light_mask isn't working. This PR creates a new workflow which appears to allow users to achieve the same visual affect in a different way. https://github.com/godotengine/godot/issues/64939 should still be fixed in addition to doing this PR.
The implementation appears mostly good except for one thing, by moving the shadow update into the render_canvas_items() function, it is now called for each light, for each occluder, for each canvas layer. Previously it was only for each light, for each occluder. The cost of shadows will now be multiplied by the number of canvas layers unnecessarily and that can be a big problem. Either the code needs to be extracted back to being done per viewport, or a system needs to be added to track when a shadow has been updated and then only update it on the first canvas layer that needs it. Shadows should not be re-rendered for each canvas layer

Thank you for coming back to this PR!
Regarding #64939, if I remember correctly there was no easy fix for it without rewriting a big part of the shader and rendering code. I recall that the light_mask on the occluder decided if it was rendered to the shadow map for that particular light, but the shadow is still visible on all light_mask layers of the light. There is no way to only apply a shadow to a particular light_mask.
However, I might be misremembering something since it's been a while.
As for the canvas layers, I don't actually think it would be that much of a performance difference since you usually have them on separate layers which would need a shadow map update anyway. Either way it should be a somewhat simple fix, probably by maintaining z_end between canvases.
Anyway, I will fix this and the merge conflicts and hopefully get this PR into a somewhat mergeable state. Might take a few days, since I don't have much time at the moment, sorry.


Add creating video from image

Create a video object from an image with the desired length which corresponds to the static video.

Closed https://github.com/BartWojtowicz/videopython/pull/29


Add functions for primality testing

Related: #140
Adds the following functions for primality testing:

(math/prime? n)
A primality test, deterministic for all n less than 2^63.
(math/next-prime n)
Returns the next prime number strictly larger than n.
(math/primes)
A boundless prime number generator.

Also defines the following support functions in a separate C module:

(math/powmod a b m)
Modular exponentiation of a to the power of b mod m.
(math/mulmod a b m)
Modular multiplication of a and b mod m.
(math/invmod a m)
Modular multiplicative inverse of a mod m.
(math/jacobi a m)
Computes the Jacobi Symbol (a|m).

I haven't added any tests to the PR yet (now added), but it has passed this battery of tests: prime-tests.janet. This could be stripped down some before including in a test suite.
Prime testing for primes on the range 2^53 - 2^63 is about 16µs per prime on my system. Composites on average are much faster. This is down from around 600µs using a pure Janet implementation.
Possible Concerns
The C module is imported without prefix into the spork/math module. I don't know if this is the proper way to do it.
128-bit operations are used for modular multiplication where available. On Linux, I test with:
#if defined(__SIZEOF_INT128__)

which is also used in the Linux kernel, so it's probably sufficient.
For Windows I test with:
#elif defined(_WIN64) && defined(_MSC_VER)

which I can confirm works with VC 2019 and VC 2022.
The C functions use signed 64-bit integers in order to allow potentially negative arguments, which unfortunately means these functions (and therefore also the Janet functions that rely on them) don't work properly with int/u64 values exceeding 2^63. I think this could possibly be addressed, but not without a lot of code duplication in the C module.

it has passed this battery of tests: prime-tests.janet.

I gave these a try here (manually as well), and unsurprisingly, they passed :)
Also tried some random-ish invocations successfully.
My attempts were on a Linux machine.  I don't have access to macos or any BSD machine -- I wonder if we can get someone to test on some of those.

Prime testing for primes on the range 2^53 - 2^63 is about 16µs per prime on my system. Composites on average are much faster. This is down from around 600µs using a pure Janet implementation.

Nice!

The C module is imported without prefix into the spork/math module.

That seems ok to me.

The C functions use signed 64-bit integers in order to allow potentially negative arguments, which unfortunately means these functions (and therefore also the Janet functions that rely on them) don't work properly with int/u64 values exceeding 2^63. I think this could possibly be addressed, but not without a lot of code duplication in the C module.

Perhaps this can be left as an exercise for the interested user down the line?

I got NetBSD running via qemu and tried out the PR and it seemed to worked fine.
Building was ok and the prime-tests.janet file gave no errors :+1:

FWIW, ran the tests for e74b793 on Linux and NetBSD and things seemed fine :+1:

How common is testing for primes? What use case are you thinking of that makes it deserve to be in spork?
(Just curious, not trying to be combative...)

How common is testing for primes? What use case are you thinking of that makes it deserve to be in spork?

The most useful function is likely next-prime. A number of applications require one or more primes, often of a similar length. This of course also relies on prime?. The miller-rabin-prp? is perhaps a bit too niche, and wouldn't need to be exported necessarily.

It was mentioned in #140 -- that queried about interest in prime number generation -- but some hash functions have initial values that depend on primes.
I ran into this when implementing some of the SHA-2 functions.
Granted, that's not testing for primality (as asked about above), but rather generating primes (^^;

It was mentioned in #140 (where there was a query about interest in prime number generation) that> I ran into this when implementing some of the SHA-2 functions.

(take 64 (math/primes))

would definitely look cleaner, although with so few, listing them out is fine too.

(take 64 (math/primes))

would definitely look cleaner, although with so few, listing them
out is fine too.

Yes, I agree.
Using a form like the aforementioned allows one to skip the step of manually enumerating as well as verifying correctness of individual numbers and whether any had been skipped or duplicated (^^;

Tests from b828418 ran with no issues here (Linux and NetBSD) :+1:

Tests from b828418 ran with no issues here (Linux and NetBSD) +1

Appreciated. I apologize for the force pushes, I just want to avoid a bunch of minor commits in the commit history, should this PR be merged.

I noticed today that janet itself has a primes example.  Just mentioning it as there having been some additional interest in the past :)


Could ntfy support s390x?

:bulb: Idea
I'm currently using LinuxONE to host my website. I'd like to try ntfy on it, too.
However, it seems like s390x isn't supported yet.
So could you please support this architecture in the future? Thanks a lot!
:computer: Target components
ntfy server

@Crillerium have a rough try, it's not difficult to enable s390x from my side, I will create a PR for this.

No code change needed.
you can use make cli-linux-server and make cli-client on a s390x host,  it will build out the target arch.


500 HTTP Error after fresh install

Describe the bug
After install, 500 HTTP Error.
Steps To Reproduce
Steps to reproduce the behavior:

Fresh Install BookStack
Visit through Browser
Error

Expected behavior
Enable to see the BookStack Page
Laravel Error log
[File attached]
laravel.log
Your Configuration (please complete the following information):

Exact BookStack Version (Found in settings): v0.28.2
PHP Version: 7.3
Hosting Method (Nginx/Apache/Docker): Apache2

Additional context
Now it's not a 500 Error, it's just not showing the page correctly.

Fixed, by removing the "APP_URL"


Question : Anybody tried to extend the video ?

Hi, is it possible to just put the last frame of the video generated so that it can generate more frames but consistently ? So this will be using img2vid then, will the prompt still the same ?
Thanks

I tried it myself using last frame of the txt2vid frame, and put it into img2vid workflow, the 1st frame result is nice but the reset is like over saturated, I'll try again with different seed

Yes using different seed works, the new problem is later the video starts to "hallucinate", is there different for img2vid prompt ?

@x4080 Given the performance improvements and quality advancements in LTXV this week, we are now able to generate high-quality 12-14 second clips in LTXS. Best of all, this can be achieved while keeping waiting times very competitive.

@Shecht-ltx Thanks

so many ai gen models in last 3 months, some have been available since 2023, while i give genmo the crown for the opensource part but 48gig just to load the model, omg thats insane thats 1 ada 6000, then the second for ease is pyramid flow, for complexity on model truncated i give ltx, and lasty the one i use ie none of them its ????
That is impressive, while i like midways video generator, but not for 200$ a month with credits.
some chinese ones are rising like ive never seen, definitely a threat.

@MyCroniesSoft Is the brightness/contrast of the video changes when extending the video ? I was trying comfy ui ltx and its more efficient because it splits between GPU/CPU memory and with STG getting better result too


[VkBridge] Uncaught Exception HttpException: 301 at lib/contents.php line 136

https://feed.eugenemolotov.ru/?action=display&bridge=Vk&format=Atom&u=club165282829
Returns:
Something went wrong

Uncaught Exception HttpException: 301 at lib/contents.php line 136

#0 index.php:37
#1 actions/DisplayAction.php:141
#2 var/pr2913/bridges/VkBridge.php:183
#3 var/pr2913/bridges/VkBridge.php:251
#4 var/pr2913/bridges/VkBridge.php:619
#5 lib/contents.php:136

Works fine: https://rss-bridge.org/bridge01/?action=display&bridge=Vk&format=Html&u=club165282829
So might be banned cloud ip address. Perhaps due to too many requests.

Works fine: https://rss-bridge.org/bridge01/?action=display&bridge=Vk&format=Html&u=club165282829
So might be banned cloud ip address. Perhaps due to too many requests.

Hm, yes.
In fact, such a problem is observed only on some groups, that is, it is unlikely that is banned.
It seems to me that this is a raschnitsa in the versions of the bridge
@em92 It is possible to clarify why this error occurs on some groups ? (Using your bridge)

That error is specific to my instance only. I deployed VkBridge modification from https://github.com/RSS-Bridge/rss-bridge/pull/2913
At the moment I reverted back to original VkBridge from master, so it works fine again.

Btw, @dumprop, there is telegram group of my public RSS-Bridge instance. Link is on the bottom of front page https://feed.eugenemolotov.ru/

That error is specific to my instance only. I deployed VkBridge modification from #2913
At the moment I reverted back to original VkBridge from master, so it works fine again.

Ah, ok, thanks! I hope this information was useful for working on this modification.
Then I close this issue or leave it until this modification is ready?

You can close this issue


Math work part 2 - weight vector processing

Write functions to scale the weighting vector based on the width of the 2 sigma spread relative to the mean.  The idea being that we have an idea of how wide the distribution is, based on the 95% mark normalized to the magnitude of the average.  This will sort of allow us to compare the spread across the features.

Done 11/27


fix(es/typescript): Handle DeclareCollect correctly

Description:

BREAKING CHANGE:

Related issue (if exists):

Closes: #8007

This will fix #8007.
I'll check if any other visitors should be skipped.

thanks @magic-akari !


Leaderlog did not return full results

Running leaderlog-current in epoch 408 did not return full list of expected blocks. Cardano-cli tool shows 5 blocks, cncli shows 2 blocks. This morning I produced one of the expected blocks indicated by cardano-cli that was not included in the cncli report. No issues with leaderlog checks prior to epoch 408 (I typically run 'next' rather than 'current').
export SNAPSHOT=$(cardano-cli query stake-snapshot --stake-pool-id  --mainnet)
export POOL_STAKE=$(echo $SNAPSHOT | jq .poolStakeMark)
export ACTIVE_STAKE=$(echo $SNAPSHOT | jq .activeStakeMark)
nice -n 19 cncli leaderlog --pool-id <pool_id> --pool-vrf-skey  --byron-genesis  --shelley-genesis  --pool-stake $POOL_STAKE --active-stake $ACTIVE_STAKE --consensus praos --ledger-set current
cncli --version
cncli 5.3.2
Ubuntu 22.04

No issues epoch 409 or 410.

old issue. closing.


Travis

configure travis and coveralls. Required modification to settings

Changes Unknown when pulling e05430219f81bd556a812783e960db2184aded23 on travis into ** on master**.


Received "NotImplementedError: Singular value decomposition JVP not implemented for full matrices" while evaluating gradient of mse

I am trying to write a very simple code for a linear regression problem, However, I received
"NotImplementedError: Singular value decomposition JVP not implemented for full matrices" error
while trying to run grad on the mse loss. Can someone look into this issue for me?
#preamble
import jax.numpy as np
from jax import grad, random
key = random.PRNGKey(1)

#generate random data
n, d = 20, 1
x = random.uniform(key, (n, d), dtype=np.float64,  minval = -5., maxval = 5.)
t = np.sin(np.pi*x) + 0.3*random.normal(key, (n, d))

#build mean squared error || y - t ||^2

def make_mse_vector(x, t):
  def mse_vector(w):
    return np.linalg.norm(np.dot(x, w) - t, ord = 2)
  return mse_vector

w =  np.zeros(())

epsilon = 0.1
iter = 100

#The following line throws me SVD error
w_gradient = grad(make_mse_vector(x, t))(w)

#run gradient descent
for _ in range(iter):
  w = w - epsilon * w_gradient
  w_gradient = grad(make_mse_vector(x, t))(w)

This is very helpful. Perhaps the documentation for jax.numpy.linalg.svd could mention that gradients are implemented only for full_matrices=False.


remove_policy not persisting to DDB

When using the RBAC API call delete_roles_for_user, the policies get removed from the in-memory model, but when pycasbin calls the adaptor's remove_filtered_policy (and then remove_policy) function, the call to dynamodb.delete_item fails to actually delete the policies from DynamoDB because it looks to be building an incorrect MD5 sum of the items. To make it worse, the call to dynamodb.delete_item is never checked to see if it actually worked as remove_policy always returns True.
My fork has a unit test that demonstrates this issue https://github.com/CoreLogicLLC/python-dycasbin/blob/cc9af96f194945a335578aeecb0adba451cecb27/python_dycasbin/test_adapter.py#L98-L130

@Zxilly @ffyuanda

This has been fixed in #5


fix: Revert "fix(Charts): Set max row limit + removed the option to use an empty row limit value"

Reverts apache/superset#25579
Explorer loads but instead of the chart loading, it shows there is an error. Even though row limit is populated in the dropdown, explorer thinks it's missing.
https://github.com/apache/superset/assets/60598000/0fdea782-b121-4c56-9345-d538ff83228a

🏷 preset:2023.43

Thanks to this reversion, it is again possible to set an arbitrarily high value in the "row limit" field (Superset 3.0.2).
This was not possible in version 3.0.1: the maximum row_limit for chart was set to 100000.


Not possible to view live streams, because there is not a link attached.

Before you file this issue:
Awesome, bug reports are among the most important things a community can do for a project. However, they shouldn't put said community at risk. If the bug you found might lead to

Exposure of personal data
Unauthorized modification of personal data
Unauthoritzed streaming
Unauthorized access to protected streams
or anything similar, please report your issue via mail (mailto:joscha.henningsen<EMAIL_ADDRESS>
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Live function doesnt work.
I wrote: https://live.rbg.tum.de and loged in. Than I tried to click the Link to my live lecture (and because this didn't work, I also tried other lectures). I now could see all of the previous lectures, but not the live one.

When I got back to my home page, I can click to one where it

works.:
Naive Baits is the only one where I can click and I get to the live lecture.

Moin Zeynep,
in order for this issue to be more accurately understood, I've edited the title and deleted the content of the first comment (which was just a bug report template), I hope this won't cause you too many problems.
Could you please provide the following information, so that further examinations and debugging can be carried out:

The operating system you were using when the problem occurred
The browser you were using when the problem occurred
If it's convenient: The version of the operating system, and the browser

Thank you!

As there is no more information on this issue provided I will close it. Please reopen it if the bug still exists.


Fix a nit in Go SDK doc

🚀 Deployed on https://629a9af0c31fa2020247f87a--cozy-fox-0defec.netlify.app


Cannot parse endpoint from wireguard android app

Hello,
I'm encountering an issue with the configuration.
I tried setting up the address so that my devices can connect using a hostname: vpn.xxx.com
I updated the dockercompose file with:
"WG_EXTERNAL_HOST=https://vpn.xxx.com"
This problem is while I scan the QR code with the wireguard android application, I get this exception:
Unable to import tunnel: Cannot parse endpoint "https://vpn.xxx.com:51820" in Peer's Endpoint: Forbidden characters
Any ideas resolving this issue?
Thanks in advance

This remedy worked for me too. Thanks


dialog: Use Cupertino-flavored alert dialogs on iOS

We should experiment with the AlertDialog.adaptive constructor, instead of AlertDialog, which forces a Material-style dialog on iOS:

Current
Should be more like

The "after" screenshot was made by simply changing AlertDialog( to AlertDialog.adaptive(. A complete fix will be a little more complicated than that, though. See the code sample on the AlertDialog.adaptive doc, which shows a platform switch for the dialog's action buttons, to style those appropriately (including the buttons' on-press appearance):
  Widget adaptiveAction(
      {required BuildContext context,
      required VoidCallback onPressed,
      required Widget child}) {
    final ThemeData theme = Theme.of(context);
    switch (theme.platform) {
      case TargetPlatform.android:
      case TargetPlatform.fuchsia:
      case TargetPlatform.linux:
      case TargetPlatform.windows:
        return TextButton(onPressed: onPressed, child: child);
      case TargetPlatform.iOS:
      case TargetPlatform.macOS:
        return CupertinoDialogAction(onPressed: onPressed, child: child);
    }
  }

Relatedly, I think the TextAlign.end in our _dialogActionText helper should not be applied on iOS because on iOS the button text is meant to be center-aligned.
I also notice that our "Source Sans 3" font isn't being applied in the Cupertino-style dialog in the screenshot. I think we want it to be, so we should debug and fix this.

Hi I'm keen to get involved with this project and this issue looks like a good place to start, can I have a go at it?

@u7088495 Please take a look at the Zulip project's guide to getting involved with the code:
https://zulip.readthedocs.io/en/latest/contributing/contributing.html#your-first-codebase-contribution
https://zulip.readthedocs.io/en/latest/contributing/contributing.html#picking-an-issue-to-work-on

Ok here would be my approach. In dialog.dart I'd replace AlertDialog( with AlertDialog.adaptive(. I'd then implement the widget adaptiveAction to return a CupertinoDialogAction( for OS and the regular textButton otherwise. As for the font, I am unsure how to fix that rather than by setting the textStyle property on the Text widgets directly - I tried defining cupertino theme data but with no luck.

Sounds good!

As for the font, I am unsure how to fix that rather than by setting the textStyle property on the Text widgets directly - I tried defining cupertino theme data but with no luck.

I think it may be fine, actually, to accept the default styling, instead of overriding it with our custom styles.
If we were using a native iOS API to show these alerts, we'd get whatever system-defined styles Apple chooses—like what's illustrated in this interface guidelines doc from Apple—and Flutter's defaults understandably mimic those.

Also, on the text alignment, with the CupertinoActionDialogue, the label doesn't wrap and so the TextAlign.end has no effect.

But I could still update this if its worth being explicit?

I've encountered an issue updating dialog_checks.dart where AlertDialog cannot be found. It's replaced in the widget tree by _AdaptiveAlertDialog, but still appears in the widget details tree. Is it possible to find widgets with a leading underscore? Also is there a way to get the context within the test file so that I don't have to check the platform using defaultTargetPlatform?

@u7088495 I think the most effective venue for getting that question answered would be in chat, in #mobile-dev-help. That will also help keep this issue thread focused.


Crashes after having processed a lot of images

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3.6/concurrent/futures/process.py", line 295, in _queue_management_worker
    shutdown_worker()
  File "/usr/lib/python3.6/concurrent/futures/process.py", line 253, in shutdown_worker
    call_queue.put_nowait(None)
  File "/usr/lib/python3.6/multiprocessing/queues.py", line 129, in put_nowait
    return self.put(obj, False)
  File "/usr/lib/python3.6/multiprocessing/queues.py", line 83, in put
    raise Full
queue.Full

This occurs after processing 41148 images.
One theory is that processes have been throwing a lot of exceptions and putting them inside a queue, and now that queue is full.

Funny how time changes your perception...
In hindsight it is obvious that the issue was this function:
def files_equal(f1: Path, f2: Path) -> bool:
    return open(f1, 'rb').read() == open(f2, 'rb').read()

A process crashes if the filesize of f1 + f2 is too big to fit in memory.
The error queue.Full was therefore likely raised because too many processes encountered this situation.
As of 723664, this is fixed by using threads and an error mutex, shutting down all threads if any unforeseen error occurs.


X Axis labels overlapping

What would be the best solution to fit everything? The data I'm using has 12 data points with time increment of 5 mins. Is there a way to tilt the labels or use only a few labels out of the 12 spread out in the x-axis?

In MultiLineChartData:
LineChartStyle(...
               xAxisLabelsFrom: .dataPoint(rotation: .degrees(90)),
               ...

in an update hopefully soon there is an overhaul of label rotation.
OR
In ChartData:
MultiLineChartData(...
                   xAxisLabels: ["January", "December"],
                   chartStyle: LineChartStyle(...
                                              xAxisLabelsFrom: .chartData(rotation: .degrees(0)),
                                              ...
                   ...

Thanks. That really helped.
Is there a way to sample a few x-axis labels and display them when there are like 100+ points?

The library doesn't do any of the filtering, that needs to be done before. However if only some data points have xAxisLabels then the library will still place the others in the right position.


Add call_later to txaio.all

Without this fix after  use_{framework}() call default call_later still is used

Current coverage is 95.77%

Merging #36 into master will not affect coverage as of 9142c80

@@            master     #36   diff @@
======================================
  Files            7       7
  Stmts          450     450
  Branches         0       0
  Methods          0       0
======================================
  Hit            431     431
  Partial          0       0
  Missed          19      19

Review entire Coverage Diff as of 9142c80

Powered by Codecov. Updated on successful CI builds.

+1, LGTM


Add Catalan translation

Add Catalan translation and document it in the README.md file

There is already a Catalan translation in the develop branch with identical translations (+ a translation of the sun not found message).


New Workflow create

you just need to add access credentials

The work for workflow is already going on #3. I request you to close this PR and collaborate on #3 instead.

Okay

Thank you :)


top priorities

Here are priority issues for until the sprint
Software Testing

[x] #35 @jasmainak
[x] #2 : one LSL stream, one camera, eyetracker (good to have) -- add tests for the mock devices
[ ] #5 (close when 60% coverage)
[x] #6 @jasmainak @AdoNunes
[x] #32

Hardware testing

[ ] #10

Documentation

[ ] #7
[x] #31
[x] #20 @jasmainak
[ ] https://github.com/neurobooth/neurobooth-os/issues/36 @jasmainak

New features

[x] #33
[ ] Open and close devices based on task parameters #14 and reading task parameters from database #3
[ ] Save RC notes to text file #13

Schedule
8 am (breakfast) to 6 pm
Check-in time
23rd: 12:30 - 1 pm
24th:  12:30 - 1 pm
25th: 5 to 6 pm
26th: 5 to 6 pm
Return 26th at 7 pm
Daily Schedule

Time
@jasmainak
@AdoNunes
@SherazKhan

Wednesday
Mock data day

4 - 6 pm
mock metadata
mock devices
LieLsL

Thursday
Metadata integration, testing and documentation day

9 - 12:30 pm
Finish integration metadata in Neurobooth OS
Features implementation
Features implementation

API documentation

12:30 - 1 pm
Check in
Check in
Check in

1 - 2 pm
Lunch
Lunch
Lunch

2 - 6 pm
contributing guidelines (#36)
documentation ( readme #30 and requirements.txt #21)
Order imports (#26)

Friday
Features day

9 - 12:30 pm
add test coverage (#32)  + pair programming with Adonay
Features implementation

12:30 - 1 pm
Check in
Check in
Check in

1 - 2 pm
Lunch
Lunch
Lunch

2 - 5 pm
Pair programming with Adonay
GUI tests + clean up + refactoring (increase test coverage)
hardware testing

5 - 6 pm
Check in
Check in
Check in

Saturday

9 - 12 pm
Testings: Continuous integration
Pair programming with Mainak
Tox github actions

12 - 1 pm
Lunch
Lunch
Lunch

1  - 5 pm
Implement copy in Python (#37)

5 - 6 pm
Check in
Check in
Check in

Sunday
Overflow day

9 - 12 pm
Redcap integration

12 - 1 pm
Lunch
Lunch
Lunch

1 - 6 pm
Overflow work
Overflow work
Overflow work

7 pm
return to Boston
return to Boston
return to Boston

Hardware testing and integration

Release
iPhone integration in the stack

closing some old issues.  Will restart using Github issues for new things


⚠ ClamAV has degraded performance

In 97e2b60, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 66 ms

Resolved: ClamAV performance has improved in 639aa48.


feat(common_sensor_launch): filter load param from file

Description
PR https://github.com/autowarefoundation/autoware.universe/pull/8469 removes the default parameters for filter.cpp.
Thus, nebula_node_container.launch.py need to load filter parameter from parameter file

Related links

Tests performed
ros2 launch autoware_launch logging_simulator.launch.xml map_path:=$HOME/autoware_map/sample-map-rosbag vehicle_model:=sample_vehicle sensor_model:=sample_sensor_kit

Notes for reviewers

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@badai-nguyen @YoshiRi  kindly ping

I'll close this one for now since the PR refactor(autoware_pointcloud_preprocessor): rework filter parameters  autoware.universe#8469 makes the nodes harder to maintain.


regression: when rerunning blocks, output always scrolls to bottom (p…

…art b)
part of #7527

Description of what you did:

My PR is a:

[ ] 💥 Breaking change
[x] 🐛 Bug fix
[ ] 💅 Enhancement
[ ] 🚀 New feature

Please confirm that your PR fulfills these requirements

[x] Multiple commits are squashed into one commit.
[x] The commit message follows Conventional Commits, which allows us to autogenerate release notes; e.g. fix(plugins/plugin-k8s): fixed annoying bugs
[x] All npm dependencies are pinned.

/lgtm


startup with zero channels

Hi! I just ran lndmanage, and get the following error. Let me know what else you need!
I have zero channels on my node. So I suspect it's complaining because of that. Let me know if I can take on a fix to this.
Running in interactive mode. You can type 'help' or 'exit'.
Initializing node interface.
Initializing network graph.
Reading graph from file.
Traceback (most recent call last):
File "/Users/quentin/venv/bin/lndmanage", line 10, in
sys.exit(main())
File "/Users/quentin/venv/lib/python3.7/site-packages/lndmanage/lndmanage.py", line 425, in main
node = LndNode(config_file=config_file)
File "/Users/quentin/venv/lib/python3.7/site-packages/lndmanage/lib/node.py", line 83, in init
self.set_info()
File "/Users/quentin/venv/lib/python3.7/site-packages/lndmanage/lib/node.py", line 295, in set_info
active_only=False, public_only=False)
File "/Users/quentin/venv/lib/python3.7/site-packages/lndmanage/lib/node.py", line 328, in get_open_channels
channels_data = raw_channels.ListFields()[0][1]
IndexError: list index out of range

Thanks for reporting, will be fixed in next release.

Closing as duplicate of #67.