Set .tool-versions for asdf

These match what your CI is using. We can bump to 1.11.4 as well
Noticed in #347

Yea of course!
Pros
.tool-versions is a file read by the asdf package manager that is used to switch between different Elixir versions.
I actually had thought it was used a lot more in the popular Elixir packages, but I see its not, although I do know, anecdotely, it is used by a lot of people. If you're using asdf, it will switch you to the correct elixir versioin as prescribed by the .tool-versions files.
Cons
The downside is having to keep it in sync with your CI (your CI and the tool versions file should probably be the same).
Why did I decide to open this PR?
Currently, I'm running Elixir 1.12.0-rc.0 locally. When I run mix format in this project, it changes a number of lines because there is some difference between the formatter in 1.11.1. Having this file can be helpful to developers who may not know the exact Elixir version this project is developed against

@davydog187 Thanks for the explanations
I am not against your proposition. Find below some through about it.
Pros:

I like the idea to enforce the version for people working on the same project. I believe it could simplify things.

Cons/Questions:

It will work only for people who use asdf as a package manager, so the problem you described above with the formatted is not fully solved.
The minimum elixir version is defined in the mix.exs file, is this not redundant?
People who would like to use different OTP/Erlang/Elixir version, will maybe not understand why it does not work.
If I would like to test the latest elixir version, 1.12.0-rc.0, it means that I have to modify the file. Does it mean that we should bump this file, and the CI one, to the latest version as soon as the release is available?

As I said, I am not against :sweat_smile: but I do not have a strong opinion. I could leave with both choices. @msaraiva @miguel-s @lnr0626 WDYT?

The minimum elixir version is defined in the mix.exs file, is this not redundant?
Its not redundant because this wouldn't solve the problem. In my case, even if the minimum was set to 1.11.4, I would have experienced the issue still since I'm on 1.12.0

People who would like to use different OTP/Erlang/Elixir version, will maybe not understand why it does not work.
I'm not sure what you mean

If I would like to test the latest elixir version, 1.12.0-rc.0, it means that I have to modify the file. Does it mean that we should bump this file, and the CI one, to the latest version as soon as the release is available?
It's really a question of what you're looking to support as a library. For something like this project, I would probably expect you to be more on the cutting edge, but maybe if you were more conservative, you would want to make sure the project works well on 1.9.0 for example. This is also a good reason to use the matrix features of Github actions to test on multiple versions, and then this part of the problem partially becomes moot.

I updated the matrix https://github.com/surface-ui/surface/pull/351

Now that I've seen the CI matrix, the problem that I particularly see is that the formatter can differ between elixir versions. In this projects case, you check if the project is formatted against Elixir 1.11.1 (currently), as defined by CI.

Hello @Malian did you have any more thoughts here?
I'm not going to die on the asdf hill, but I do think its valuable. If there's a preference not to add to the project, thats fine by me, but I'd rather close than leave this open. Let me know, thank you :)

Hey @davydog187!
Thanks for the PR. I think we should avoid adding config files for external tooling. Otherwise, in no time, we'll have dozens of those files around. I remember people asking to include Vs Code related setting and other stuff I can't remember.
Regarding the formatter, I think the rule should be to always be compatible with the latest stable version. So as soon as v1.12.0 is out, we should update it and run the formatter. WDYT?

Sounds good to me. i'll close


Initial database setup script does not work with postgress:14 image

Please verify that this bug has NOT been raised before.

[X] I checked and didn't find a similar issue

Describe the bug*
The initial database setup script step does not work with the postgres version update from 13 to 14. According to the log output, this seems to be caused by a version mismatch between the postgres server at 14.12 and the pg_dump command at 13.15. This causes further issues when trying to run the application using docker compose.
I've circumvented this issue by changing the postgres version image back to 13.
Steps to Reproduce

Download the required files from the Docker installation page to the working directory
In the working directory, run the initial database setup script docker compose run --rm inventree-server invoke update
Wait for the steps to complete and observe that the script fails due to an error with pg_dump

Optionally:
4. Change the postgres image version from 14 to 13 on line 41 of docker-compose.yml
5. Run the initial database setup script again
6. Observe that the script completes and that the remaining setup steps also complete without error
Expected behaviour
The initial database setup script completes without any pg_dump errors and the InvenTree database is created correctly.
Deployment Method

[X] Docker
[ ] Package
[ ] Bare metal
[ ] Other - added info in Steps to Reproduce

Version Information
Version Information:
InvenTree-Version: 0.15.5
Django Version: 4.2.14
Commit Hash: cc45357
Commit Date: 2024-07-12
Database: postgresql
Debug-Mode: False
Deployed using Docker: True
Platform: Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with
Installer: DOC
Active plugins: [{'name': 'InvenTreeBarcode', 'slug': 'inventreebarcode', 'version': '2.0.0'}, {'name': 'InvenTreeCoreNotificationsPlugin', 'slug': 'inventreecorenotificationsplugin', 'version': '1.0.0'}, {'name': 'InvenTreeCurrencyExchange', 'slug': 'inventreecurrencyexchange', 'version': '1.0.0'}, {'name': 'InvenTreeLabel', 'slug': 'inventreelabel', 'version': '1.0.0'}, {'name': 'InvenTreeLabelMachine', 'slug': 'inventreelabelmachine', 'version': '1.0.0'}, {'name': 'InvenTreeLabelSheet', 'slug': 'inventreelabelsheet', 'version': '1.0.0'}, {'name': 'DigiKeyPlugin', 'slug': 'digikeyplugin', 'version': '1.0.0'}, {'name': 'LCSCPlugin', 'slug': 'lcscplugin', 'version': '1.0.0'}, {'name': 'MouserPlugin', 'slug': 'mouserplugin', 'version': '1.0.0'}, {'name': 'TMEPlugin', 'slug': 'tmeplugin', 'version': '1.0.0'}]
Please verify if you can reproduce this bug on the demo site.

[ ] I can reproduce this bug on the demo site.

Relevant log output
Backing up InvenTree database...
Python version 3.11.9 - /usr/local/bin/python3
/root/.local/lib/python3.11/site-packages/allauth/exceptions.py:9: UserWarning: allauth.exceptions is deprecated, use allauth.core.exceptions
  warnings.warn("allauth.exceptions is deprecated, use allauth.core.exceptions")
Backing Up Database: inventree
 pg_dump --dbname=postgresql://pguser:pgpassword@inventree-db:5432/inventree --format=custom
CommandConnectorError: Error running:  pg_dump --dbname=postgresql://pguser:pgpassword@inventree-db:5432/inventree --format=custom
pg_dump: error: server version: 14.12 (Debian 14.12-1.pgdg120+1); pg_dump version: 13.15
pg_dump: error: aborting because of server version mismatch

  File "/root/.local/lib/python3.11/site-packages/dbbackup/utils.py", line 120, in wrapper
    func(*args, **kwargs)
  File "/root/.local/lib/python3.11/site-packages/dbbackup/management/commands/dbbackup.py", line 93, in handle
    self._save_new_backup(database)
  File "/root/.local/lib/python3.11/site-packages/dbbackup/management/commands/dbbackup.py", line 106, in _save_new_backup
    outputfile = self.connector.create_dump()
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/dbbackup/db/base.py", line 92, in create_dump
    return self._create_dump()
           ^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/dbbackup/db/postgresql.py", line 112, in _create_dump
    stdout, stderr = self.run_command(cmd, env=self.dump_env)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/dbbackup/db/base.py", line 171, in run_command
    raise exceptions.CommandConnectorError(

Traceback (most recent call last):
  File "/home/inventree/src/backend/InvenTree/manage.py", line 24, in <module>
    main()
  File "/home/inventree/src/backend/InvenTree/manage.py", line 20, in main
    execute_from_command_line(sys.argv)
  File "/root/.local/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/root/.local/lib/python3.11/site-packages/django/core/management/__init__.py", line 436, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/root/.local/lib/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/root/.local/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute
    output = self.handle(*args, **options)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/dbbackup/utils.py", line 120, in wrapper
    func(*args, **kwargs)
  File "/root/.local/lib/python3.11/site-packages/dbbackup/management/commands/dbbackup.py", line 93, in handle
    self._save_new_backup(database)
  File "/root/.local/lib/python3.11/site-packages/dbbackup/management/commands/dbbackup.py", line 106, in _save_new_backup
    outputfile = self.connector.create_dump()
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/dbbackup/db/base.py", line 92, in create_dump
    return self._create_dump()
           ^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/dbbackup/db/postgresql.py", line 112, in _create_dump
    stdout, stderr = self.run_command(cmd, env=self.dump_env)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/.local/lib/python3.11/site-packages/dbbackup/db/base.py", line 171, in run_command
    raise exceptions.CommandConnectorError(
dbbackup.db.exceptions.CommandConnectorError: Error running:  pg_dump --dbname=postgresql://pguser:pgpassword@inventree-db:5432/inventree --format=custom
pg_dump: error: server version: 14.12 (Debian 14.12-1.pgdg120+1); pg_dump version: 13.15
pg_dump: error: aborting because of server version mismatch

@EliasJRH thanks for reporting. This is likely due to this recent update: https://github.com/inventree/InvenTree/pull/7699
We will look into it and issue an update.

Ah, ok.. The issue is not with the update directly. The files you downloaded are linked to the "master" branch of InvenTree - this means that your docker compose file is "too new" to run the stable image.
Your solution of using postgres:13 in your compose file is the correct one.

Ah, ok.. The issue is not with the update directly. The files you downloaded are linked to the "master" branch of InvenTree - this means that your docker compose file is "too new" to run the stable image.
Your solution of using postgres:13 in your compose file is the correct one.

That's good to know, thank you for responding so quickly!

@matmair FYI here's the reason for the issue:
"stable" docs point to "master" docker compose file

Note that this has been fixed in the master branch by using a relative linking system.

@SchrodingersGat should I backport these changes to stable?
@EliasJRH we have rolled back the change altogether. Can we close this issue as it was resolved?

Did we push the original changes to stable? If so we should backport the fix too.

@matmair Yes I think rolling back the change should be good enough to close this issue 👍


bailador can only run from root of Bailador source dir. It defaults to <IP_ADDRESS> instead of <IP_ADDRESS> and it disregards the BAILADOR env

I've only installed the dependencies of Bailador, but not Bailador itself to ensure I always use the code from our repo. Then I tried to launch the demos:
perl6 -Ilib  bin/bailador examples/app.pl6  worked but then it cannot find the templates. (This is the expected behaviur)
cd examples
perl6 -I../lib  ../bin/bailador -w=../lib app.pl6

should also work, but I get:
Attempting to boot up the app
Starting watch on `../lib`
Starting watch on `../lib/Bailador`
Starting watch on `../lib/Bailador/Request`
Starting watch on `../lib/Bailador/Route`
Starting watch on `../lib/Bailador/Sessions`
Starting watch on `../lib/Bailador/Template`
Starting watch on `../lib/Bailador/Sessions/Store`
! ===SORRY!===
Could not find Bailador at line 1 in:
    /Users/gabor/work/Bailador/examples/lib
    /Applications/Rakudo/share/perl6/site/lib
    /Users/gabor/.perl6
    /Applications/Rakudo/share/perl6/site
    /Applications/Rakudo/share/perl6/vendor
    /Applications/Rakudo/share/perl6
    CompUnit::Repository::AbsolutePath<140344922405600>
    CompUnit::Repository::NQP<140344908225400>
    CompUnit::Repository::Perl5<140344908225440>

As I can see the problem is that in Bailador::CLI we now have these lines:
my $command = "use Bailador; start-p6w-app(3000, '<IP_ADDRESS>', EVALFILE('$app'), '$msg')";
my Proc::Async $p .= new('perl6', "-Ilib", "-e", $command);

I don't even understand why do we need to load Bailador in the external perl6 app.
We certainly should not run perl6 If anything we should run $*EXECUTABLE.

it works now :) -fixed


Tweak color names for breadcrumbs

Following up on the discussion here:
https://github.com/Microsoft/vscode/commit/c588525c1c8b2e44d437aca6d24d888d1075849e#r29968874

/cc @bpasero

Should it be breadcrumb.pickerBackground or breadcrumbPicker.background?

+1 for breadcrumbPicker.background

LGTM by code review


IGV in Terra

This adds a 'Open with IGV' button in the data view:

Which opens a file picker modal including all the appropriate files in the selected sample/participant:

Which opens an igv browser:

Which you can zoom in on

Really appreciate the review @panentheos ! I agreed with literally every comment, and made the updates.

I did a brief UX review. We still have several issues.

We should place a limit on the number of files we allow you to open in IGV at once. We can have a scale explosion along the following axes:

Tables with tens-of-thousands of rows (common)
Tables with multiple columns worth of bam / VCF files (10X sequencing is one example)
Tables with cells containing arrays of tens of bam files. Brett tells me these are currently flattened.
This is probably not a realistic use case for IGV. We should have Eric ask users what is a practical upper bound for files open in IGV before it becomes unusable. @wnojopra, can you provide any sense of the scale at which IGV performance degrades?

Files should be individually selectable. We flatten out tables into a file list. But then, when you select a file, it automatically selects all the files from the original row. This is very confusing. What if I want to select only bam or vcf files from a table with columns for both?

There should be a select all / select none on the selection box.

It's very hard to get out of IGV. Clicking the "Data" tab or the "Samples" table in the data list should take me out of IGV. And / Or we should have a big "Close" button right above the IGV display. Brett had to show me how to get it off the screen.

That's my initial assessment. Actual users may identify other gaps.
I'm going to recommend that we merge this today, so we can hit milestones and demos. But I'd like these issues to be addressed through iteration, along with others identified in user acceptance testing.
@wnojopra @seanhorgan
@panentheos please merge these changes


go_1_11: 1.11 -> 1.11.2

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Success on x86_64-linux (full log)
Attempted: go_1_11
Partial log (click to expand)
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
cannot find section .dynamic
/nix/store/h7l4482shf91qs4wiaaiv8hajpy71537-go-1.11.2

pushed to staging: 734bd4ca542


Update version to 4.6.2

Updates the ChangeLog and bumps the version number to allow us to release mailto click tracking in analytics
Supersedes #246 and #245

Superseded by #247


[CI] Migrate to Circle CI 2.1

Summary
First step in modernizing our Circle CI configuration, making extensive use of the new 2.1 features for config reuse.
This will require pipelines to be enabled for the facebook/react-native project. The config has been tested on my fork with pipelines enabled.
Changelog

[Internal] [Changed] - Circle CI 2.1
Test Plan
$ circleci config validate
Config file at .circleci/config.yml is valid.

Some jobs are flaky and the failure is unrelated to this PR as far as I can tell:

Current it only show ci/circleci: test_end_to_end, CircleCI bug ?

@gengjiawen all good now:

This PR is now ready for review.


setting njobs to more than 1 doesn't work.

It works for me, what error are you getting?

It throws the following error in Jupyter notebook:
Exception in thread Thread-6: Traceback (most recent call last):   File "/home/ajinkya/anaconda3/lib/python3.6/threading.py", line 916, in _bootstrap_inner     self.run()   File "/home/ajinkya/anaconda3/lib/python3.6/threading.py", line 864, in run     self._target(*self._args, **self._kwargs)   File "/home/ajinkya/anaconda3/lib/python3.6/multiprocessing/pool.py", line 429, in _handle_results     task = get()   File "/home/ajinkya/anaconda3/lib/python3.6/multiprocessing/connection.py", line 251, in recv     return _ForkingPickler.loads(buf.getbuffer()) TypeError: __init__() missing 3 required positional arguments: 'node_def', 'op', and 'message'
Though njobs=1 works fine

I have never tried this in a conda environment, and another user already reported that this library might not work well using conda.

I've confirmed this doesn't really work anyway, deap needs you give it a pool from within an "if name=="main"" structure for it to work (which means the user needs to do it themselves, but we can give them a param to do it).

This should be fixed in the 0.2.2 version


Invalid memory access when reading WKT GEOMETRY COLLECTION containing POINT EMPTY

Expected behavior and actual behavior.
When trying to parse the following WKT string Shapely raises an OSError.
Discovered while investigating #742 .
GEOMETRYCOLLECTION (POINT EMPTY, POINT (1 2))

Steps to reproduce the problem.
Example failure:
>>> from shapely import wkt
>>> g = wkt.loads("GEOMETRYCOLLECTION (POINT EMPTY, POINT (1 2))")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\Snorfalorpagus\Desktop\Shapely\shapely\wkt.py", line 10, in loads
    return geos.WKTReader(geos.lgeos).read(data)
  File "C:\Users\Snorfalorpagus\Desktop\Shapely\shapely\geos.py", line 284, in read
    return geom_factory(geom)
  File "C:\Users\Snorfalorpagus\Desktop\Shapely\shapely\geometry\base.py", line 89, in geom_factory
    if lgeos.methods['has_z'](g):
OSError: exception: access violation reading 0x0000000000000010

Example creating it via another less direct approach, which suggests the structure is valid. Not sure where the "Z" is coming from.
>>> point_empty = wkt.loads("POINT EMPTY")
>>> g = GeometryCollection([point_empty, Point(1, 2)])
>>> g.wkt
'GEOMETRYCOLLECTION Z (POINT EMPTY, POINT (1 2))'

Operating system
Windows 10
Shapely version and provenance
Shapely master
GEOS 3.7.2 installed via OSGeo4W

This was fixed upstream between GEOS versions 3.7.2 and 3.10.2. I can't reproduce it with the latest.


examples/RestDSL.java does not work

Reported on chat forum and I could not get it to work either with minkube and camel-k 1.4.0 release
https://camel.zulipchat.com/#narrow/stream/257299-camel-k/topic/Rest-DSL/near/241114457

I couldn't reproduce it with camel-k 1.5.0-SNAPSHOT & minikube v1.20.0. Looking at the chat log, it appears the RestDSL example problem has been solved for him, too. Maybe we can close it?


How to get the attention weights(encoder, decoder or cross) after finetuning CodeBERT for Code-To-Text task?

Hello Team,
I am using the CodeXGLUE pipeline for the Code-To-Text task and I want to visualize the attention to understand the relation between input-output. I have fine-tuned the CodeBERT model on our own dataset for the code2nl task and can make predictions using it. For visualization, I am using popular BertViz library(https://github.com/jessevig/bertviz) which takes attention weights and source tokens as input. Typically for Bert, we can get the attention weights in the following way:
outputs = model(inputs)
attention = outputs[-1]
But in our case, the encoder(CodeBERT in this case) is not returning attention weights I think as per the following output(I just printed encoder output):

And I think the reason is, the config that we used is from the codeBERT repo in hugging-face, and there I don't see the parameter "output_attentions=True" is present which otherwise we can mention when loading the model using "from_pretrained". I have tried to add this parameter along with the existing config while loading CodeBert as an encoder but getting an "Unknown Parameter" error.
Can you please tell me how we can get the attention weights for the CodeBERT model in this case after fine-tuning? also do correct me if I said anything wrong.
Thanks in advance.
Regards,
Tamal mondal

For encoder, you can pass "output_attentions=True" into the CodeBERT forward function to get attention weight. https://github.com/microsoft/CodeXGLUE/blob/e5f1b15cc33e9a2e77821005f77da88175e0397a/Code-Text/code-to-text/code/model.py#L55
change to outputs = self.encoder(source_ids, attention_mask=source_mask,output_attentions=True)
For decoder and cross-attention, we use pytorch's official transformer library. There doesn't seem to be an API to get attention weights.

Hi @guoday ,
Thanks for the quick reply. I tried that approach but don't see a difference in CodeBERT output when I am testing with some sample input and fine-tuned code-to-text model. The encoder output has only two parts, the last hidden layer output(n * 256 * 768) and pooled output(n * 768).
Follow-up question: Did you mean that I have to use "output_attentions=True" in the model.py before I fine-tune the CodeBERT for the code2nl task?
Thanks & Regards,
Tamal Mondal

outputs = self.encoder(source_ids, attention_mask=source_mask,output_attentions=True)[2]
print(len(outputs))
print([x.shape for x in outputs])

Can you check again or update your transformers? I try the above code and output is the attention probability of 12 layers
12
[torch.Size([32, 12, 256, 256]), torch.Size([32, 12, 256, 256]), torch.Size([32, 12, 256, 256]), torch.Size([32, 12, 256, 256]), torch.Size([32, 12, 256, 256]), torch.Size([32, 12, 256, 256]), torch.Size([32, 12, 256, 256]), torch.Size([32, 12, 256, 256]), torch.Size([32, 12, 256, 256]), torch.Size([32, 12, 256, 256]), torch.Size([32, 12, 256, 256]), torch.Size([32, 12, 256, 256])]

Thanks a lot, @guoday, understood now. I tried the approach and it worked.
I am closing the issue.
Regards,
Tamal Mondal


Put all of these original Windows 10 File Explorer option owned by Files and Folders please

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here. Ex: What device type/UI layout and app version?

Details: #1650
Security: #1647

A quick and dirty solution for this is to offer an option to open the standard windows explorer properties window instead of app's. Could this satisfy "power" users until we have a full uwp implementation?

@AngelZeur Please subscribe to #1647 and #1650 to get notified when these features are implemented.
@gave92 It's better to continue working on a full solution, @winiston2212 is working on the details page and there is already an open pull request #1952.


[VoIP] The incoming call must be displayed and pickable on locked device

We should be able to accept the incoming call without having to unlock the device.

Issue #658 was created to add accept and decline buttons in notification


Entity alarm_control_panel. not support this service.

Checklist

[X] I am using the latest version of Alarmo (latest version can be found here)
[X] I checked for similar existing requests (both open and closed) before posting.

Alarmo Version
1.10.3
HA Version
2024.6.2
Bug description
Good morning, since the last Home Assistant update, I have noticed that the alarm control panel is no longer working .
When I click on the alarm activation button, I get this error: "Service call alarm_control_panel/alarm_arm_home failed. Entity alarm_control_panel.myhome does not support this service."
I
Steps to reproduce
I tried to call the alarm service but everything seems fine to me. It's as if the alarm panel doesn't work with Alarmo.
Has anyone else had the same problem?
Relevant log output
No response

It seems you have the ‘armed home’ mode disabled in alarmo.

I cant arm my alarm in out. i have home activatet, but only arm out dont work


3 Projects Added with project.js

Title: Add Projects: Positive News, Recipe Finder, and Daily Workout Randomizer
Description:
This pull request introduces three new projects that enhance the application's functionality and user engagement by focusing on positivity, culinary exploration, and fitness:

Positive News Project:
Overview: This project features a user-friendly interface that fetches and displays uplifting news articles using the GNews API. It aims to foster a positive mindset by sharing inspirational stories and good news from around the world.
Key Features:
Fetches news articles based on keywords related to positivity and inspiration.
Displays article titles, descriptions, and sources with direct links for easy access.
Includes loading indicators and error handling for a smooth user experience.

Recipe Finder Project:
Overview: The Recipe Finder project allows users to search for recipes based on their available ingredients. Utilizing the MealDB API, it provides random recipe suggestions to encourage culinary creativity.
Key Features:
Accepts user input for ingredients and fetches recipes accordingly.
Displays a randomly selected recipe along with an image and a link to the full recipe.
Implements input validation and error messaging to guide users effectively.

Daily Workout Randomizer Project:
Overview: This project offers users randomized workout routines to promote physical fitness and variety in their exercise regimen. It aims to motivate users to stay active and avoid workout monotony.
Key Features:
Provides a button that generates a random workout routine from a predefined list.
Displays the workout name and a list of exercises, making it easy for users to follow along.
Encourages users to engage in diverse workouts tailored to their fitness levels.

Hey @Krishnap2k4 ! Just wanted to thank you for the incredible work you've contributed to this repo. The number of projects you've added, along with the quality of each one, has been truly inspiring. Your dedication has been a huge boost toward the repo's goals, and I’m genuinely grateful for everything you’ve brought to the project!"


BG regression - the BGMonitorActor won't move bgActors

In cases where a bg goes down the BGMonitorActor suppose to move the bgActor responsibility from the node it was down to another node.

Already fixed.


Adds new example notebooks

Describe your changes and why you are making these changes
Adds recently developed example notebooks to examples directory.
Related issue number (if any)
Loom demo (if any)
Checklist before requesting a review

[x] I have created a descriptive PR title. The PR title should complete the sentence "This PR...".
[x] I have performed a self-review of my code.
[N/A] I have included a small demo of the changes. For the UI, this would be a screenshot or a Loom video.
[N/A] If this is a new feature, I have added unit tests and integration tests.
[N/A] I have run the integration tests locally and they are passing.
[N/a] I have run the linter script locally (See python3 scripts/run_linters.py -h for usage).
[N/A] All features on the UI continue to work correctly.
[x] Added one of the following CI labels:

run_integration_test: Runs integration tests
skip_integration_test: Skips integration tests (Should be used when changes are ONLY documentation/UI)

The RoBERTa one takes about 10 minutes. The ImageNet one's a little longer — about 15-20 iirc.


Update bindgen dependency

Updates bindgen to 0.60

Just realized this would require a MSRV bump to 1.54, would that be a problem?

Just realized this would require a MSRV bump to 1.54, would that be a problem?

Nah, that's fine.

Bump. The transitive dependency ansi_term is now unmaintained.

Closing in favor of #20.


installing ghcide with stack requires a lot of extra-deps

Apologies if this isn't appropriate place to ask, but wasn't sure where else to go.
I've recently returned to programming in Haskell and before I remember I used ghcide, but now there is a much newer version of ghc, so ghcide doesn't work for the project I am working on now, so I am trying to install the new version.
I am using latest stack on windows 10. I am using following command to install ghcide, but I get the following problems. Essentially it asks me to add quite a lot of dependencies to extra-deps.
Is this normal and to be expected? Or should I just add everything, install ghcide for my current ghc version, and then just remove the extra-deps from my project?
stack build ghcide --copy-compiler-tool
Error: While constructing the build plan, the following exceptions were encountered:

In the dependencies for ghcide-0.5.0:
    hie-bios-0.5.1 from stack configuration does not match >=0.7.1 && <0.8.0  (latest matching version is 0.7.1)
    hie-compat needed, but the stack configuration has no specified version  (latest matching version is <IP_ADDRESS>)
    implicit-hie-cradle must match >=<IP_ADDRESS> && <0.3, but the stack configuration has no specified version  (latest
                        matching version is <IP_ADDRESS>)
    lsp-test-<IP_ADDRESS> from stack configuration does not match >=<IP_ADDRESS> && <0.12  (latest matching version is <IP_ADDRESS>)
needed since ghcide is a build target.

Some different approaches to resolving this:

  * Recommended action: try adding the following to your extra-deps
    in C:\Users\Sam\OneDrive - University of Glasgow\FP\AE\prof-scraper\stack.yaml:

- hie-bios-0.7.1@sha256:27b88c6f541e435a41e0c37f94fa286e78eb0065a151a1c599662e6cd0b88c80,11260
- hie-compat-<IP_ADDRESS>@sha256:bf4c51730a9ffce50fd73a0e14d21d22720fa3cbe38fd5e4761fdce576d781ee,1339
- implicit-hie-cradle-<IP_ADDRESS>@sha256:c6892ef9c16ba1e19f497a119c039a5845f46b93dd67538f37d4c002b222d4c1,2568
- lsp-test-<IP_ADDRESS>@sha256:cf73607c226bfeb06f00a5d4d20cd2329c931f6b4b2b278836005c369f046de4,4376

Plan construction failed.

hi, don't worry, questions are always welcomed.
First of all we would recommend to use haskell-language-server, it is the main LSP server for Haskell nowadays and it is automatically installed by the haskell vscode extension (if you are using it as editor). It has more features and a extensible plugin mechanism that adds formatters support, integration with hlint, etc.
If you still want install ghcide, note we just have changed the default stack.yaml's but we have kept an stack-windows.yaml for ghc-8.10 that should work with a simple stack build --stack-yam stack-windows.yaml.
did you try master using that stack-windows.yaml?

@SamKacer Another alternative could be copy the stack-windows.yaml in your project as, f.e.,  stack-ghcide.yaml and make a stack build ghcide --copy-compiler-tool --stack-yaml stack-ghcide.yaml
Anf finally list all needed packages in the build command could work too: stack install fuzzy-<IP_ADDRESS> ghc-check-<IP_ADDRESS> [rest of needed extra-deps here] ghcide --copy-compiler-tool

@jneira  thanks for recommending the Haskell extension for VS code. It happens to be the editor I am using, and after installing the extension, everything is working great!
It seems to provide all the features I remember having from the ghcide extension, so no need to install that. but I appreciate your advice on that :)


[JOSS review] Support reading/writing networks from different formats, integration with NetworkX/OSMnx

The in_data argument of spaghetti.Network lists six possible input types but only describes four of them.
The notebooks of the tutorials use example data from PySAL in the form of a shapefile and iterables of libpysal.cg.Chain, nonetheless, the users might have their network data in other (more) common data formats (see, e.g., the formats supported by NetworkX). Would it be possible to instantiate spaghetti.Network objects from NetworkX graph objects so that spaghetti delegates the I/O part to NetworkX and focuses on the spatial analysis functionalities (see also #580). I know that there are other Python librares to deal with NetworkX, but since I suppose that spaghetti is mostly concerned with street networks, supporting NetworkX objects has the major advantage of supporting in turn OSMnx, which makes it very easy to stream street networks from OSM directly into Python objects.
Again, the developers might have good reasons (or other priorities) to not work with NetworkX objects, the point of this issue is to ensure that the matter has been considered.
https://github.com/openjournals/joss-reviews/issues/2826

Thank you for pointing this out, we updated the documentation to be more clear (see #592)

str, iterable (list, tuple, numpy.ndarray), libpysal.cg.Chain, geopandas.GeoDataFrame

We also added a wishlist/roadmap item to the issues (#593) to address reading these different formats in future. However, due to spaghetti being tightly integrated into the PySAL ecosystem, we believe that the majority of use cases are covered by the standard pysal input file formats such as shapefiles and GeoDataFrames.


Have you ever tried to cross-compile it?

Hi,
I have tried to cross-compile it for ARM (very restricted) architecture.
The cross compilation was successful. But when trying to run the application I get always std::bad_alloc exception.
The very same code works just fine on my laptop.
Can you suggest a way to find the error?
Thanks and regards

Hi. I have never tried to cross compile OpenPGP for ARM. I suggest running the code with gdb to find out where the error is coming from. You might just be out of memory.

@GeorgeKalovyrnas Have you gotten a diagnosis of what's going on?

No, not yet.
I doubt that it's an "out of memory" issue, because the file is really small (less than 30 Kb).
I tend to believe that there is some stack (?) corruption, maybe because of bad configuration of cross compilation.
For sure there will be an issue with larger files.
The problem in latter case is that everything (decompression, decryption) is happening in-memory.
Is it difficult to substitute some parts of the code, with calls from OpenSSL stack (already cross-compiled)?

I do not know how difficult it would be to use the OpenSSL stack, as I have never used it. It might be an interesting project to add an abstraction layer to allow for switching between the stuff I wrote and OpenSSL.
Can you tell me what packages you are using/steps you are taking to cross compile OpenPGP? I tried cross compiling for armhf a few days ago, but my lack of experience with cross compiling stopped me pretty early on.

As it seems the out of memory issue is happening in function S2K3::run().
The S2K3::coded_count(count) returns 32505856, with count = 239.
Is this normal?

Yes. That looks correct according to RFC 4880 sec <IP_ADDRESS>

The count is coded into a one-octet number using the following
formula:
   #define EXPBIAS 6
       count = ((Int32)16 + (c & 15)) << ((c >> 4) + EXPBIAS);

The above formula is in C, where "Int32" is a type for a 32-bit
integer, and the variable "c" is the coded count, Octet 10.

Give f797d7d32e41906f3c9bb318cba7e20d96527511 a try. I reduced the amount of duplicate data being generated by a bit. Maybe that might help?

Obviously, since hashing requires 32505856 byes (32Mb) it's impossible for my device to cope with this  size. So, I assume that "out-of-memory" issue is a normal consequence!
I'm sorry that I wasn't observant enough to see the implementation of S2K3::coded_count(count) member function.
I don't know how it's possible to overcome this memory limitation.

Darn. I suppose it is possible to regenerate the data for each round, but that would be agonizingly slow.

Repeatedly regenerating the context is faster than combining it all together. 25bf52e0f7fcb5662c3be4f3ee25abfd4943795a

How big is your key?

How should I measure it?
(Sorry for my ignorance!)

If you dump your public key, it will tell you:
$ cli/OpenPGP show tests/testvectors/gpg/Alicepub
Old: Public-Key (Tag 6)
    Version: 4 - New
    Creation Time: Sun Jun 22 12:50:48 UTC 2014
    Public Key Algorithm: RSA (Encrypt or Sign) (pka 1)
 --> RSA n (2048 bits): bc047e94d471f3ccbd525d6a6f8e17f7b1f00527c722c3913ce787fbd0090e3af8be7e59410f63b3983a9507b761045c11510e62f5a8cfbcdc180976a4c225737b8e06d8531f38c6eaa996954d5521a6763231f07c2b43605d052abdf39d6c668ac94bc89f543052d050530c70c48a49a970867c00178f9076dd0e151d254632767b2926e9baa22c6d0c213f1f45de74991396d7e8d10508cf679139410ab311b1279dd3c0d37facca54d523cd14a3df488eb8f592c5a19bcfede67c8170815c588adf39d188197da40492aac5b183c303f6ef23b0b5e48ff73b2d806afb0fb4f16ba32769249d3a7ca0ef0b9b3d57852dc9a979b6d56f3dc170e28dcb2e536d
 --> RSA e (17 bits): 010001
Old: User ID (Tag 13)
    User ID: alice (test key<EMAIL_ADDRESS>Old: Signature (Tag 2)

...

Now that I think about it, I'm not entirely sure what I can do to speed things up, since the calculations are done by GMP, not my me for the most part. Maybe change RNGs?

I have some good news for you and for me too of course. :-)
In my specific case, (i.e. SHA1 key) I've managed to smash the decryption time record.
At the beginning the decryption process was almost 2.5 minutes, and now it's down to 10 seconds.
What I have actually done was to remove the STL strings in calc() member function, and instead use plain old pointers.
That did the job.

Huh. I didn't realize I was doing so much string copying in the hashing code.

In function SHA1::calc it has, one string allocation inside the "for" loop and a couple of substring operations. When you have millions of iterations, these operations are really expensive.

Using OpenSSL's SHA1 functions I've managed to bring down the total time from 10 seconds to 3 seconds.

Wow...
Would you care to add analogous changes to the other hash/encryption functions? I would be happy to add using OpenSSL as a configurable option to OpenPGP. I could do it, but I would like to have an example piece of code to work off of.

I created a new branch to start integrating OpenSSL into OpenPGP.
https://github.com/calccrypto/OpenPGP/tree/openssl

Sure, I will try to help you, although I don't have experience using OpenSSL. This was my first attempt to do so.

061db39cd3fcf6e0d5897570aa2e412f6a9fdf25
Here's the first pass with adding hashes. The files will probably be reorganized at some point, but it works for now. You should be able to enable OpenSSL by adding -DUSE_OPENSSL=True to your cmake options.

I don't think I will be adding in the OpenSSL encryption algorithms. They have all sorts of weird quirks that were making it impossible to properly integrate:

IDEA and Camellia don't exist, even though they aren't disabled.
Twofish is not implemented.
Blowfish keys are padded even though I don't want them to be.
There were jumps using uninitialized variables everywhere, causing valgrind to vomit.
Something in OpenSSL was messing with GMP and causing segfaults everywhere.

OK
It's your choice to follow the path that you want.
As far as I know IDEA and Camellia are support, but not by default. Also, if you use OpenSSL functions to great extend, then maybe you can get rid off GMP, which is a big hassle.
Of course there are other cryptographic libraries that include all the functions that you need. For example crypto++. And I am sure that you find one that matches your needs and project's license.
But definitely you need to optimize the hashing algorithms to obtain better speeds. It may seems of minor value for a modern PC, but for low end devices is crucial.
I will try to give you my version of improvement, which doesn't include OpenSSL functionality.

I've merged the OpenSSL stuff into master with 9187f644ab00dbb96a37930927210016e8b82321. You can replace the hashing and rng stuff with -DUSE_OPENSSL=ON, or individually select each one with -DUSE_OPENSSL_HASH=On and -DUSE_OPENSSL_RNG=On

@GeorgeKalovyrnas Can I close this issue?

Yes sure.
Congratulations. Very good job.
Thanks a lot.


User regexp literals instead of new RegExp

R: @petele
This works around escaping oddness in older versions of Node with new RegExp(string).

LGTM - thanks!


setting Public Gateway but it ignores my custom port in url and returns error

Describe the bug
when i configure the webui,i has a self-hosted public gateway eposing in a url with custom port
"https://ipfs.xxx.com:1234"
but when i submit url, it ignored my port and becomes "https://ipfs.xxx.com"

I knew little about js so it might be difficult for me to direct contribute to the code.
But i think the issue is a local problem because it is normal to set the  ipfs api address with custom port
the two settings (api/public gateway) should have similar processing logic but one is normal and the other not


perf: Avoid some String allocations

This PR removes some String clones and to_string calls.
It also replaces &vec![field_name.clone()][..] with &[field], so a temporary vector is not allocated

I wonder why do many more lines are now uncovered?
Is there something uncovered we can remove?
If not, any chance we can add a test to improve coverage.

In my experience, I observed a lot of flakiness in Rust coverage reports on seemingly unrelated changes. My guess is that it depends on compiler optimizations and doesn't match the source lines 1:1 (e.g. some blocks could be inlined or compiled away). For example, coverage now reports that Debug/Clone impls in the derive macro are now uncovered. So, I don't think that there is something particular that could be removed after these changes. But I assume that disabling optimizations completely will yield more precise coverage reports.
Unfortunately, I don't have much helpful input on this :(

I think the coverage issue on this occasion is because codecov is comparing the wrong commits.

Thanks so much


Biometrics Prompt Should Not Ask For Permission Twice

Right now there are 2 prompts, one for authentication (polkit), and one for approval. It would be nicer to just have 1 prompt. Some polkit (or pam) authentication modules don't require interaction (f.e howdy). I'm not sure if we can detect this.
If we just accept this, then the "risk" would be that, using a no-interaction required auth method, a malicious app could trigger the biometrics prompt, and instantly get the vault user key from goldwarden, while the user is sitting in front of their computer.

For the record, I'm personally fine with either as long as the "risk" is made clear. Malicious applications are only a secondary goal to strive towards where reasonable. In this case, the usability is significantly hurt.

I also think the risk (especially when using howdy, which itself states it is unsafe) is ok.
I think these would be possible options to handle this:

Make the approval pop-up optional (e.g. by having a config entry / env var), so users with/without concerns could opt-in/out of having to "double" approve all requests
Do the same as howdy and state in the docs that users who do not want to take this risk can add another (required) PAM/Polkit verification step in form of a password/PIN/etc.


settings.json - where it is located?

Can you please tell where is the settings.json file in the system?
In the doc, you indicated all possible config but nowhere the location of this file
Thanks

AppData/Local/Packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/LocalState/settings.json

Thanks, I found it and was able to customize it. However, ion hamsleman blog
https://www.hanselman.com/blog/ItsTimeForYouToInstallWindowsTerminal.aspx
I see that he is using "split" to have 3 different panes, 1 with PS, one with cmd, a 3rd with ubuntu...
I kept my settings as the default

{ "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" }

pressing "alt+shift+d", it duplicates with the same thing if PS then it is PS it cmd then it is cmd, is this correct?

@nandesu is absolutely correct. For a "more complete" path, it's under
C:\Users\<your username>\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json

So for me, with my PC's user being migrie, the path is:
C:\Users\migrie\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json

pressing "alt+shift+d", it duplicates with the same thing if PS then it is PS it cmd then it is cmd, is this correct?

It duplicates whichever profile was used to launch the currently focused pane. So if you open the PowerShell profile, then run cmd in that pane, then try to duplicate it, it will run another PowerShell instance (without the child cmd.exe).

Yes correct, if PS it opens PS. However, is it possible to reorganize the panes?
Also, do you think that it will be possible to add a new feature is that you control which profile when doing "alt+shift+d"?

There's answers to a ton of panes questions in #1000, so in general I'll direct your attention there.
Regarding:

do you think that it will be possible to add a new feature is that you control which profile when doing "alt+shift+d"?

This was added in #3825. From that PR:

With this PR, you can make bindings like the following:
{ "keys": ["ctrl+a"], "command": { "action": "splitPane", "split": "vertical" } },
{ "keys": ["ctrl+b"], "command": { "action": "splitPane", "split": "vertical", "profile": "{6239a42c-1111-49a3-80bd-e8fdd045185c}" } },
{ "keys": ["ctrl+c"], "command": { "action": "splitPane", "split": "vertical", "profile": "profile1" } },
{ "keys": ["ctrl+d"], "command": { "action": "splitPane", "split": "vertical", "profile": "profile2" } },
{ "keys": ["ctrl+e"], "command": { "action": "splitPane", "split": "horizontal", "commandline": "foo.exe" } },
{ "keys": ["ctrl+f"], "command": { "action": "splitPane", "split": "horizontal", "profile": "profile1", "commandline": "foo.exe" } },
{ "keys": ["ctrl+g"], "command": { "action": "newTab" } },
{ "keys": ["ctrl+h"], "command": { "action": "newTab", "startingDirectory": "c:\\foo" } },
{ "keys": ["ctrl+i"], "command": { "action": "newTab", "profile": "profile2", "startingDirectory": "c:\\foo" } },
{ "keys": ["ctrl+j"], "command": { "action": "newTab", "tabTitle": "bar" } },
{ "keys": ["ctrl+k"], "command": { "action": "newTab", "profile": "profile2", "tabTitle": "bar" } },
{ "keys": ["ctrl+l"], "command": { "action": "newTab", "profile": "profile1", "tabTitle": "bar", "startingDirectory": "c:\\foo", "commandline":"foo.exe" } }

Fantastic zadijii, it works like a charm, keep the good efforts.


Add support for non-collinear magnetism and SOC

More specifically: local (at ion level) magnetic moment. Map 1st and last moments to result, along with a tag indicating SOC.

@ladinesa


keep hide toggle button state at variable selector

During this work, I found a small bug on the hiding (toggle-on) that hides variables including the Featured Variable. The issue was that if the Featured Variable is non-existent, i.e., allowedFeaturedFields.length === 0 (at VariableList component), then erroneous zero (0) character is shown (see attached screenshot). It was solved by simply adding larger than 0, i.e., allowedFeaturedFields.length > 0.
Anyway, I have tested several case and this implementation seems to work fine - only applied to scatter plot viz for now. However, I noticed that this had a side effect: whenever toggle the show/hide button, then plot is redrawn because I used vizualization.config to store the status of the buttons (on/off). It would be great if you (@dmfalke, @jtlong3rd, or anyone) can suggest a way to avoid this.

perhaps I make a new object key under visualization (beyond visualization.configuration) and its update function, like visualization.buttonConfig and updateVizButtonConfig function, and then place button states in there. I will test this approach.

tried to make new object property and updated function, visualization.buttonConfig and updateVizButtonConfig function, which makes the side effect be resolved.

@moontrip I think you may be making this more complicated than it needs to be. Perhaps the requirements we not clearly stated.
The scope of the state of the toggle should be application-wide, rather than per-visualization. In other words, the state of the toggle should be the same everywhere. E.g., if it's toggled on in one place, then it should be on in all places.
I think the best place to store this state is in AnalysisPanel.tsx. Eventually, this should be persisted to the UserStateService, but that has not been implemented yet, so we can defer on that. For now, I think it's okay if it is just component state.
Let me know if you have questions.

@moontrip I think you may be making this more complicated than it needs to be. Perhaps the requirements we not clearly stated.
The scope of the state of the toggle should be application-wide, rather than per-visualization. In other words, the state of the toggle should be the same everywhere. E.g., if it's toggled on in one place, then it should be on in all places.
I think the best place to store this state is in AnalysisPanel.tsx. Eventually, this should be persisted to the UserStateService, but that has not been implemented yet, so we can defer on that. For now, I think it's okay if it is just component state.
Let me know if you have questions.

@dmfalke thank you for your detailed explanation! 👍 Yeah I might have overthought of the thing 😓 Perhaps we may do a show-hide-variable button toggle to affect other buttons at visualization app level (not per-plot-viz) - I mean, all true or false regardless of X/Y/Main/OverlayVariable: given the situation that each viz plot have different variable selector, this is reasonable I suppose (unless we use per-viz-plot level control).
Please correct me if I am wrong in the following. Off the top of the head, perhaps we use useContext hook approach at AnalysisPanel (wrapping with <SomeContext.Provider>). Certainly I need to make a Context/Context.Provider component beforehand: the Context will have button state variable (boolean) and its handler function to change the button state. Then, use the Context at relevant places (VariableTree and VariableList), similar to what I have done in the previous approach (changing initial value of useState of toggle button).
Since I am doing for other works today (Friday as usual), I will probably test this approach later.

I'm not sure we really need to use context for this. It might be simpler to just pass the state and callback as props. I'm finding that using context adds a bit of indirection and would like to try to avoid it. Other than that, I think this sounds good.

I'm not sure we really need to use context for this. It might be simpler to just pass the state and callback as props. I'm finding that using context adds a bit of indirection and would like to try to avoid it. Other than that, I think this sounds good.

@dmfalke Thank you for sharing your thought. Yes, from a logic perspective, passing state & callback may be simpler, however.  it would be quite complicated for implementation in some sense due to the following two-fold: a) if I have to pass state & callback props from AnalysisPanel to VariableTreeDropdown (residing in VariableTree component) (defining toggle button state) and VariableList (button onClick event), it means they pass through lots of components: (I might miss something here but) AnalysisPanel -> ComputationRoute -> PassThroughComputation -> VisualizationsContainer -> FullScreenVisualization -> Plot viz component (histogram, scatter vizs etc.) -> InputVariables ->  -> VariableTree -> VariableList; b) considering the route at a), if I remember correctly, there is no specific way to pass state & function props directly to VariableTreeDropdown without stopping by Plot viz component (histogram, scatter vizs etc.). This means that the state & callback props should be defined at all plot vizs.
I glanced at your new comments at hooks cleanup and some concerns regarding useContext, so probably I have no choice to use  the directly-passing-props approach 😄: at some components in the long route probably I don't need to change much but either way I need to add types for those state & callback props haha.

@moontrip I've been ruminating on this a bit more, and I think the potential performance issues I cited with React.Context are unfounded. Why don't you go ahead with your original plan, and we can revisit if need be.

@moontrip I've been ruminating on this a bit more, and I think the potential performance issues I cited with React.Context are unfounded. Why don't you go ahead with your original plan, and we can revisit if need be.

@dmfalke Thank you for checking it! 👍 Yeah I will try my idea 🤞

With the new approach using useContext, #329, this PR is closed for now.


Add robustness to GPU shaders

Make each stage quit early if a previous stage has failed.
The CPU shaders are minimally changed to be layout compatible. For the most part, they'll panic on a bounds check if sizes are exceeded. That's arguably useful for debugging, but a case can be made they should have the same behavior as the GPU shaders.
Work towards #366

Possibly this can be merged as-is, but perhaps more work should be done so that clients can handle the failures reasonably. For now, rendering appears to freeze (zoom into longpathdash, then zoom back out; rendering will resume).


[Issue-144] Fix some UI bugs for Send fund feature

Related issue: #144

🚀 Deployed on https://pr-147--papaya-melba-f5c160.netlify.app


Upgrade parcel and minimist (with doc updates)

Change:

Localized parcel (instead of global install)
Upgrade parcel to 2.0
Upgrade minimist (prototype pollution)
Shallow depth clone for new projects in doc

Test:

Down the fork
npm i
npm start
Open browser to http://localhost:8000

thank you!


RadioButton Icons not appearing in xcode 8.3

I am unable to see any of the icons for the radio buttons in icons dropdown except my own set of icons.

Can you be more specific about the "icons dropdown"? Not sure what does that mean.

Icons such as circle, handshake are displayed in the dropdown list and they are also not visible in the uiview in the interface builder. Default circle icon is displayed only on running the app.

Did you change the UIButton type to custom

Closing the issue for now.


Remove userName and password parameters. Remove atom artifact.

Artifacts get installed using a temporary account.
Atom installation was never successful - removed it pending further investigation.

We're deleting the user profile after artifact installation, so we may lose any logs persisted in %USERPROFILE% by the installer (if any).
LGTM otherwise.


Added new flexible loss named GeneralLoss

fixes #1646.
@gabrieldemarmiesse , @pavithrasv and @mihaimaruseac, please review.

As a side note, maybe we should reconsider the name "GeneralLoss"? It may be confusing for users. They may think it's some kind of abstract base class.

@googlebot I consent.

@gabrieldemarmiesse , Yes you are right. We should think about better name here. GeneralLoss is quite confusing.
So, @gabrieldemarmiesse and @WindQAQ , please suggest name if you have any in your mind. I will also search for it.

@gabrieldemarmiesse , @WindQAQ  - How about the name UniversalLoss (universal_loss) ?

Not a good one IMO

There are only two hard things in Computer Science: cache invalidation and naming things

A famous dude

Some suggestions for name:

generalized_gaussian_loss (from research paper, it is noted that the behavior of this loss is similar as Generalized Gaussian Distribution.)
cauchy_gaussian_loss (It is also mentioned in the paper that this loss covers the distribution which is intersection of cauchy and gaussian distributions.)
general_robust_loss (general_loss may confuse developers but this one will not. And btw, this loss is one among the robust_loss implemented by google research.)

@gabrieldemarmiesse , Any update on this PR? Thanks!

gar_loss (General and Adaptive Robust Loss)

gar_loss (General and Adaptive Robust Loss)

@bhack,
Don't you think adaptive_loss is different than general_loss as per the code here.

@gabrieldemarmiesse , @bhack , @AakashKumarNain - Any suggestion for name to go ahead with this PR?

It don't know what to do exactly with all this Docs repos.
We have focal also in https://github.com/keras-team/keras-cv

@bhack , I think you misunderstood this PR with #1732 . That PR was focusing on doc tutorials for Focal loss & Contrastive loss.
This PR adds a new loss General loss.

Yes I was fooled by github notifications

Thank you for your contribution. We sincerely apologize for any delay in reviewing, but TensorFlow Addons is transitioning to a minimal maintenance and release mode. New features will not be added to this repository. For more information, please see our public messaging on this decision:
TensorFlow Addons Wind Down
Please consider sending feature requests / contributions to other repositories in the TF community with a similar charters to TFA:
Keras
Keras-CV
Keras-NLP


Property interface and invalid values

Another potential issue found through OpenDSSDirect.jl tests (https://github.com/dss-extensions/OpenDSSDirect.jl/pull/54):
@test_throws OpenDSSDirect.Utils.OpenDSSDirectException Properties.Value("transformer", "VREG4_C_new") == nothing
@test Properties.Value("transformer") == "VREG4_C_new"

Even though there is an error, the actual value of the property is still set. Maybe it shouldn't.

v0.12 will disallow this -- since we don't have the string copies of the properties anymore, even if the transformer in the example changes, if will be set to null/empty instead of the invalid/misleading value.


Wrong translation in keyboard manager

Microsoft PowerToys version
0.61.1
Utility with translation issue
Keyboard Manager
🌐 Language affected
German
❌ Actual phrase(s)
"bis" probably translated from "to"

✔ Expected phrase(s)
"zu"
ℹ Why is the current translation wrong
"bis" is used for a range
"zu" is used for assignments or locational purposes

/dup https://microsoft.visualstudio.com/OS/_workitems/edit/42763764

grrr
https://microsoft.visualstudio.com/OS/_workitems/edit/42763764 /loc

This should be fixed in a newer build such as .70.1, can you please verify? /needinfo


lower case v causes error in the parser

It appears v anywhere inside the diagram spec will cause the parser to fail.  As an example,
graph LR; v; fails while graph LR; V; works just fine.
ref https://github.com/rich-iannone/DiagrammeR/issues/47

updated to say any "v" in spec causes an error

Fixed the problem, it will be included in the next release. Root cause was that the character v is also used for direction down

I see the fix and the test passes.  However, this graph LR; v; still does not work.

Missed this one or I would have included this in 0.3.3.
I have added v as a valid for ids so with the next release this will work. Perhaps we should sum things up and do bigger fix for the characters. Right now its one at a time when they pop up.

The wiki should be updated to reflect that direction of graph can also be specified by >,<,^,v.

This si working in the mermaid version 0.4.0. Closing this issue. Reopen if this till is a problem.

Sorry to be a pain, but...
graph TD; v-->a;  still does not work
graph TD; V[v]-->a; does

I agree, will look at it. It is a "keyword" but perhaps the grammar could allow this keyword.


Create a script to generate the base images (before personalization)

Helpful if we change metadata again and if somebody wants to reconstruct the Full Square from the beginning in a timelapse.

This is already documented in README


Add Afrikaans localization

Thanks for the contribution @jvanrhyn

Thanks for the contribution. This is now released to NuGet as v1.37.0.


air gaped(offline)method of trident not working with operator in k8

we are using air gaped method to install the trident.  we pulled the image to our local artifactory.
we changed the file: tridentorchestrator_cr.yaml to mention our local registry and imagepull secret however the trident operator is not picking up to spin the 6 pods for netapp trident.
apiVersion: trident.netapp.io/v1
kind: TridentOrchestrator
metadata:
name: trident
spec:
debug: true
namespace: trident
imageRegistry: example.com:443/idev
tridentImage: example.com:443/dev/trident:22.01.1
imagePullSecrets:

name: local-registry
error:
EBU[2022-05-12T06:50:39+01:00] Trident pod not yet running, waiting.         increment=552.330144ms status="trident pod is not running"
DEBU[2022-05-12T06:50:40+01:00] Trident pod not yet running, waiting.         increment=1.080381816s status="trident pod is not running"
DEBU[2022-05-12T06:50:41+01:00] Trident pod not yet running, waiting.         increment=1.31013006s status="trident pod is not running"
DEBU[2022-05-12T06:50:42+01:00] Trident pod not yet running, waiting.         increment=1.582392691s status="trident pod is not running"
DEBU[2022-05-12T06:50:44+01:00] Trident pod not yet running, waiting.         increment=2.340488664s status="trident pod is not running"
DEBU[2022-05-12T06:50:46+01:00] Trident pod not yet running, waiting.         increment=4.506218855s status="trident pod is not running"
DEBU[2022-05-12T06:50:51+01:00] Trident pod not yet running, waiting.         increment=3.221479586s status="trident pod is not running"
DEBU[2022-05-12T06:50:54+01:00] Trident pod not yet running, waiting.         increment=5.608623477s status="trident pod is not running"
DEBU[2022-05-12T06:51:00+01:00] Trident pod not yet running, waiting.         increment=7.649837917s status="trident pod is not running"
DEBU[2022-05-12T06:51:07+01:00] Trident pod not yet running, waiting.         increment=15.394871241s status="trident pod is not running"
DEBU[2022-05-12T06:51:23+01:00] Trident pod not yet running, waiting.         increment=29.271137938s status="trident pod is not running"
DEBU[2022-05-12T06:51:52+01:00] Trident pod not yet running, waiting.         increment=56.813324746s status="trident pod is not running"
DEBU[2022-05-12T06:52:49+01:00] Trident pod not yet running, waiting.         increment=42.855832355s status="trident pod is not running"

Please help us to fix it. Thanks.

still the operator looking for external image not local:
Type     Reason     Age                    From               Message

Normal   Scheduled  6m59s                  default-scheduler  Successfully assigned trident/trident-csi-76cdccb5f6-pclmd to eu-mirantp-w002.iconcr.com
Warning  Failed     5m52s                  kubelet            Failed to pull image "netapp/trident:22.01.1": rpc error: code = Unknown desc = error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/05/0539933c511f5a74943616f0d5a2aac201d2927e49bd5fec15e6d6c42ab0cb91/data?verify=1652337676-ZyjFhvqdD0tDvNEY728GKYErgOY%3D: dial tcp <IP_ADDRESS>:443: i/o timeout
Warning  Failed     5m4s                   kubelet            Failed to pull image "netapp/trident-autosupport:22.01": rpc error: code = Unknown desc = error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/11/1156a97fc13942e01a942af656244d0a83025daf719da80197e208f7c570c38d/data?verify=1652337724-BZXW8bWdpuy4w9lSk7gohaWxcEo%3D: dial tcp <IP_ADDRESS>:443: i/o timeout
Warning  Failed     4m16s                  kubelet            Error: ErrImagePull
Normal   Pulling    4m16s                  kubelet            Pulling image "k8s.gcr.io/sig-storage/csi-attacher:v3.4.0"
Warning  Failed     3m46s                  kubelet            Failed to pull image "k8s.gcr.io/sig-storage/csi-attacher:v3.4.0": rpc error: code = Unknown desc = Error response from daemon: Get https://k8s.gcr.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Warning  Failed     3m46s                  kubelet            Error: ErrImagePull
Normal   Pulling    3m46s                  kubelet            Pulling image "k8s.gcr.io/sig-storage/csi-resizer:v1.3.0"
Warning  Failed     2m58s                  kubelet            Error: ErrImagePull
Warning  Failed     2m58s                  kubelet            Failed to pull image "k8s.gcr.io/sig-storage/csi-resizer:v1.3.0": rpc error: code = Unknown desc = Error response from daemon: Get https://k8s.gcr.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Normal   Pulling    2m58s                  kubelet            Pulling image "k8s.gcr.io/sig-storage/csi-snapshotter:v3.0.3"
Warning  Failed     2m28s                  kubelet            Failed to pull image "k8s.gcr.io/sig-storage/csi-snapshotter:v3.0.3": rpc error: code = Unknown desc = Error response from daemon: Get https://k8s.gcr.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Normal   Pulling    2m28s (x2 over 6m58s)  kubelet            Pulling image "netapp/trident:22.01.1"
Warning  Failed     2m28s                  kubelet            Error: ErrImagePull
Normal   Pulling    82s (x2 over 5m52s)    kubelet            Pulling image "netapp/trident-autosupport:22.01"
Warning  Failed     82s (x2 over 5m52s)    kubelet            Error: ErrImagePull
Warning  Failed     82s                    kubelet            Failed to pull image "netapp/trident:22.01.1": rpc error: code = Unknown desc = error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/05/0539933c511f5a74943616f0d5a2aac201d2927e49bd5fec15e6d6c42ab0cb91/data?verify=1652337946-O3Ix%2FWAb6kCAPGQ1Q9cGLlFTWmk%3D: dial tcp <IP_ADDRESS>:443: i/o timeout
Normal   Pulling    34s (x2 over 5m4s)     kubelet            Pulling image "k8s.gcr.io/sig-storage/csi-provisioner:v3.1.0"
Warning  Failed     34s (x2 over 5m4s)     kubelet            Error: ErrImagePull
Warning  Failed     34s                    kubelet            Failed to pull image "netapp/trident-autosupport:22.01": rpc error: code = Unknown desc = error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/11/1156a97fc13942e01a942af656244d0a83025daf719da80197e208f7c570c38d/data?verify=1652337994-BV2d2VRPKOHYI5exWm8x7QJjwKo%3D: dial tcp <IP_ADDRESS>:443: i/o timeout
Warning  Failed     19s (x2 over 4m16s)    kubelet            Failed to pull image "k8s.gcr.io/sig-storage/csi-provisioner:v3.1.0": rpc error: code = Unknown desc = Error response from daemon: Get https://k8s.gcr.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

@eselvam Operator logs might provide some more clues. If this tridentorchestrator_cr.yaml is properly formatted, then I would check to see if there is any other TridentOrchestrator CR that might exist and is in use for deploying Trident. You will need to run kubectl get torc command.

Thanks. Here is my tridentorchestrator_cr.yaml. is the below file is correct? Could you please check and help me here.
cat tridentorchestrator_cr.yaml
apiVersion: trident.netapp.io/v1
kind: TridentOrchestrator
metadata:
  name: trident  namespace: trident
spec:
  debug: true
  imageRegistry: myprivateregistry:443/repo
  tridentImage: myprivateregistry:443/repo/imagename
  imagePullSecrets:
  - name:myregistrykey
On Friday, May 13, 2022, 01:25:46 AM GMT+5:30, Rohit Arora<EMAIL_ADDRESS>wrote:

@eselvam Operator logs might provide some more clues. If this tridentorchestrator_cr.yaml is properly formatted, then I would check to see if there is any other TridentOrchestrator CR that might exist and is in use for deploying Trident. You will need to run kubectl get torc command.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Here is the operator log. No useful information on it.  Shall you please help me here. I am using latest trident.
W0517 04:46:10.504292       1 reflector.go:442] pkg/mod/k8s.io/client-go@v0.23.1/tools/cache/reflector.go:167: watch of *v1.TridentOrchestrator ended with: an error on the server ("unable to decode an event from the watch stream: unable to decode watch event: json: cannot unmarshal object into Go struct field TridentOrchestratorSpec.spec.imagePullSecrets of type string") has prevented the request from succeeding
W0517 04:46:11.487347       1 reflector.go:324] pkg/mod/k8s.io/client-go@v0.23.1/tools/cache/reflector.go:167: failed to list *v1.TridentOrchestrator: json: cannot unmarshal object into Go struct field TridentOrchestratorSpec.items.spec.imagePullSecrets of type string
E0517 04:46:11.487390       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.23.1/tools/cache/reflector.go:167: Failed to watch *v1.TridentOrchestrator: failed to list *v1.TridentOrchestrator: json: cannot unmarshal object into Go struct field TridentOrchestratorSpec.items.spec.imagePullSecrets of type string
W0517 04:46:13.116908       1 reflector.go:324] pkg/mod/k8s.io/client-go@v0.23.1/tools/cache/reflector.go:167: failed to list *v1.TridentOrchestrator: json: cannot unmarshal object into Go struct field TridentOrchestratorSpec.items.spec.imagePullSecrets of type string
E0517 04:46:13.116946       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.23.1/tools/cache/reflector.go:167: Failed to watch *v1.TridentOrchestrator: failed to list *v1.TridentOrchestrator: json: cannot unmarshal object into Go struct field TridentOrchestratorSpec.items.spec.imagePullSecrets of type string
W0517 04:46:19.358186       1 reflector.go:324] pkg/mod/k8s.io/client-go@v0.23.1/tools/cache/reflector.go:167: failed to list *v1.TridentOrchestrator: json: cannot unmarshal object into Go struct field TridentOrchestratorSpec.items.spec.imagePullSecrets of type string
E0517 04:46:19.358272       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.23.1/tools/cache/reflector.go:167: Failed to watch *v1.TridentOrchestrator: failed to list *v1.TridentOrchestrator: json: cannot unmarshal object into Go struct field TridentOrchestratorSpec.items.spec.imagePullSecrets of type string
W0517 04:46:29.345170       1 reflector.go:324] pkg/mod/k8s.io/client-go@v0.23.1/tools/cache/reflector.go:167: failed to list *v1.TridentOrchestrator: json: cannot unmarshal object into Go struct field TridentOrchestratorSpec.items.spec.imagePullSecrets of type string
E0517 04:46:29.345211       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.23.1/tools/cache/reflector.go:167: Failed to watch *v1.TridentOrchestrator: failed to list *v1.TridentOrchestrator: json: cannot unmarshal object into Go struct field TridentOrchestratorSpec.items.spec.imagePullSecrets of type string
The operator running fine:
kubectl get all -n trident
NAME                                   READY   STATUS    RESTARTS   AGE
pod/trident-operator-9b7586b46-sfvzn   1/1     Running   0          6m2s
NAME                               READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/trident-operator   1/1     1            1           6m3s
NAME                                         DESIRED   CURRENT   READY   AGE
replicaset.apps/trident-operator-9b7586b46   1         1         1       6m3s

@eselvam It seems the issue is with the imagePullSecrets value. Here is an example: https://github.com/NetApp/trident/blob/master/deploy/crds/tridentorchestrator_cr_imagepullsecrets.yaml. There is no need to append name.
Can you please try and see if it resolves the issue?

Thanks.  I changed it and now it is problem with image pull back off issue. Let me check and get back to you. Thanks.
On Tuesday, May 17, 2022, 11:18:39 AM GMT+5:30, Rohit Arora<EMAIL_ADDRESS>wrote:

@eselvam It seems the issue is with the imagePullSecrets value. Here is an example: https://github.com/NetApp/trident/blob/master/deploy/crds/tridentorchestrator_cr_imagepullsecrets.yaml. There is no need to append name.
Can you please try and see if it resolves the issue?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

@eselvam I am glad you are past that issue.

Hi,
I seems the operator creates the trident-csi deployment that contains the following images:
k8s.gcr.io/sig-storage/csi-attacher
k8s.gcr.io/sig-storage/csi-provisioner
k8s.gcr.io/sig-storage/csi-resizer
k8s.gcr.io/sig-storage/csi-snapshotter
In an air gapped cluster the k8s.gcr.io repository cannot be reached. It would be nice if these images can be pulled from a private registry.

Thanks.  Now it works fine.  Thanks for the info.
On Friday, July 22, 2022 at 01:51:16 PM GMT+5:30, Marcel de Koster<EMAIL_ADDRESS>wrote:

Hi,
I seems the operator creates the trident-csi deployment that contains the following images:
k8s.gcr.io/sig-storage/csi-attacher
k8s.gcr.io/sig-storage/csi-provisioner
k8s.gcr.io/sig-storage/csi-resizer
k8s.gcr.io/sig-storage/csi-snapshotter
In an air gapped cluster the k8s.gcr.io repository cannot be reached. It would be nice if these images can be pulled from a private registry.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Closing this issue as air gapped installs work with Trident as long as container images are available from a private registry. A list of the required images can be found in the Trident Requirements documentation or by running the tridentctl images command.


Remove copyright notices in favour of MIT as per package.json

As per recent issue, the code still contains Solid mobile copyright notices though the package file states this repo is MIT.

Thanks, just Xcode being Xcode. MIT for the win.


Unbound stops forwarding to authoritative

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[X] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
I have internal forwarding ("domain override" in GUI parlance) to a given domain, sending all requests related to it to two servers running bind backed by FreeIPA directory (2 hosts, several destinations including IPv4 & IPv6 addresses).

To Reproduce
Steps to reproduce the behavior:

Go to '/services_unbound_overrides.php'
Add domain entries pointing to several servers storing the same information
Keep querying the unbound resolver from time to time using dig, until it fails to resolve
You should see a NXDOMAIN error that seems to come all the way up form the root servers.

Expected behavior
I would expect to have consistent answer always forwarding to the authoritative.
Describe alternatives you considered
Restarting service regularly, but would be an ugly hack.
Screenshots
domain forwarding configuration:

Relevant log files
Couldn't find any relevant log entries. Will keep testing/reviewing & update with the findings
Additional context
Authoritative VMs running in the same virtual environment, both firewall and FreeIPA are configured with dual stack.
Environment
OPNsense 21.1.9-amd64
FreeBSD 12.1-RELEASE-p19-HBSD
OpenSSL 1.1.1k 25 Mar 2021
VM hosted on PVE 7.0

Did you try to configure one override at a time to see it this is happening with just one of them?
I use a stub-zone for my local zone with a configuration similar to this one:
server:
    domain-insecure: "example.com"
    private-domain: "example.com"

stub-zone:
    name: "example.com"
    stub-addr: <IP_ADDRESS>
    stub-addr: <IP_ADDRESS>

domain-insecure ignores DNSSEC validation for that domain
private-domain allows that domain to serve private addresses

Thanks for the feedback. What led me to open a ticket was the "works initially until it doesn't". Reading the unbound documentation, it seems the "stub-zone" you suggested is more appropiated for my use case.
Either using forwarding or the sub, it seems also the DNSSEC "skip" is required.
Right now I'm fiddling with the template setup to include those advanced configurations, I still can't make it work. I wonder if any of the advanced configuration methods mentioned in https://docs.opnsense.org/manual/unbound.html#advanced-configurations gets picked up by the backup module, do you know if that's the case?, which method are you using?

If you are still in 21.1.9 I think you have to use /var/unbound/etc/, but it was changed to /usr/local/etc/unbound.opnsense.d/ in 21.7 (make sure you have a backup because, in my case /var/unbound/etc was cleared after the upgrade).
I place my advanced config files in /root/conf/unbound/<name>.conf with appropriate owner/permissions (root:unbound 750) and make links to the required destinations, in this case /usr/local/etc/unbound.opnsense.d/<name>.conf because I'm in 21.7
The backup module won't backup them for you

If Unbound stops doing its job while not being restarted / reconfigured why not report a bug to Unbound to get it fixed? I mean how can we help here?
Cheers,
Franco

If you are still in 21.1.9 I think you have to use /var/unbound/etc/, but it was changed to /usr/local/etc/unbound.opnsense.d/ in 21.7 (make sure you have a backup because, in my case /var/unbound/etc was cleared after the upgrade).
I place my advanced config files in /root/conf/unbound/<name>.conf with appropriate owner/permissions (root:unbound 750) and make links to the required destinations, in this case /usr/local/etc/unbound.opnsense.d/<name>.conf because I'm in 21.7
The backup module won't backup them for you

I updated to 21.7-amd64, recreated config files from template & restarted Unbound. Now the stub-zone config is taken into consideration by the daemon. Will monitor the behaviour as it usually takes hours to fail.

@ciroiriarte I'm not entirely sure but it looks that way... check for pid change and/or try to only reload the service to see if it was unbound itself, not the config:
# cat /var/run/unbound.pid
# /usr/local/sbin/unbound-control -c /var/unbound/unbound.conf reload

Cheers,
Franco

Well, PID didn't change, and starts working after reload.
doesn't resolve
root@vfw01:~ # cat /var/run/unbound.pid
35192
root@vfw01:~ # /usr/local/sbin/unbound-control -c /var/unbound/unbound.conf reload
ok
resolves/forwards again
root@vfw01:~ # cat /var/run/unbound.pid
35192


Error in TabFormerGPT2LMHeadModel class

Hi,
Noticed that input_only is an invalid argument to get_field_keys method in vocab: (line 49)
field_names = self.vocab.get_field_keys(input_only=True, ignore_special=True)
Should it be this instead?
field_names = self.vocab.get_field_keys(remove_target=True, ignore_special=True)
Also, are you able to include code snippet for generation of synthetic data using trained GPT-2?
Would like to recreate the results stated in your paper. Thank you

Also, are you going to include code snippet for the Fraud Detection Tasks and the Regression Tasks in your paper? Thank you very much

Also, are you going to include code snippet for the Fraud Detection Tasks and the Regression Tasks in your paper? Thank you very much

@52cash :
Thanks for reporting it. What you have mentioned is indeed correct - I have fixed this in the latest commit; 5a9e52b.

来信收悉，顺祝恭安！This is an automatic reply, confirming that your e-mail was received.Thank you！


Make "Visit 2N.FM" link in extension go to custom room

Make the "Visit 2N.FM" link in the extension go to the custom room if defined. It should also change the text of the button to "Visit 2N.FM/{{room-name-here}}.

Blocked by #11

I was going to suggest to have the option to re-open the pop-up window from the dropdown menu (if you are already streaming), but I suppose this will be the way forward?

Although the new link in 4794c7f in the provided commit is separate from the current "Visit 2N.FM" button, I'm marking it as resolving this ticket.