types.singleLineStr: strings that don't contain '\n'

Motivation for this change
Add a new type, inheriting types.str, but checking whether the value doesn't contain any newline characters.
The motivation comes from a problem with the users.users.${u}.openssh.authorizedKeys option.
It is easy to unintentionally insert a newline character at the end of a string, or even in the middle, for example:
restricted_ssh_keys = command: keys:
  let
    prefix = ''
      command="${command}",no-pty,no-agent-forwarding,no-port-forwarding,no-X11-forwarding
    '';
  in map (key: "${prefix} ${key}") keys;

The prefix string ends with a newline, which ends up in the middle of a key entry after a few manipulations.
This is problematic because the key file is built by concatenating all the keys with concatStringsSep "\n", with result in two entries for the faulty key:
''
  command="...",options...
  MY_KEY
''

This is hard to debug and might be dangerous. This is now caught at build time.
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/)
22.05 Release Notes (or backporting 21.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

I think we should also disallow \r for good measure.

not sure the extra type (in this form) is needed though.

I find the description more natural.

strMatching "[^\n]*" should work just as well (and be faster during eval).

Then the type could be based off that. I think the file has some examples of using // for this purpose.

I find the description more natural.

it is! not arguing against the description, just against including it in types.nix if it's not used anywhere else. but it does feel like something that could be useful elsewhere, so eh let's add it :)

Just added the \r and re-implemented it on top of singleLineStr but keeping it defined in types. I'm in favor of keeping it defined because I feel it might be used in other places (everywhere that takes a listOf str and does concatStringsSep "\n").

just remembered another case where this might be useful: wireguard key attrs #119312. so this definitely is a good thing to have :)

I can add a commit for the wireguard issue.

oh, that wasn't supposed to be a request! :sweat_smile: just me contradicting my own point that there's only one place where it'd be useful. but if you want to fix wireguard as well, please do! :D

I have a commit here for the specific option but I notice that many options in wireguard are supposed to be single line.
I guess it's easier to impose an option type everywhere than it is to ban string concatenations. But perhaps the wireguard case should be discussed a bit more. Other solutions might be to trim the end of strings more often or always or to have a concatLines function that asserts that every lines don't contain any \n.

trim the end of strings

You could do so in the type by adding a conversion after the merge function; see coerceTo's merge for an example.
It makes sense to do so, because of the prevalent "end line" interpretation of \n, as opposed to "new line".

:+1: for automatically trimming a trailing \n in singleLineStr if it's the only \n. that would neatly fix the wireguard example, and ''-quoted strings as well.

That's a good idea ! I see no downside and it makes the type work better with readFile and ''-strings. I'll work on that.

I've changed the type to allow a trailing \n and to trim it during the merge function.
That the merge function is called even when the option is set once is counter-intuitive but after some reading it seems to be true and used a lot by other types.

Great, thanks @Julow!


Group explorer: Farm group type filtering

Add filters by various fields in the farm schema to the group explorer when farm type is selected

Which fields do we want to filter by @brodeur @thomasgwatson @cpolitano ?

Farm Filtering (on Group Explorer farms tab)
Farm Type Filter > core.types
Region > sort by distance from me OR search input: location OR map
Management Practice > core.management_plans_current, core_certifications_current
Product_categories OR search: Product_details & Animal_types
UX
Return any farm that matches any of the filters, and sort by most matches
Nice to have: Allow multi-select, each filter condition shows up as a pill
-Nearest is default for farm search
Backend-notes:
Combined AND logic search, with OR logic search tacked to end of that.


Add button to export networkGraph to image file.

This PR adds a button in the network editor.
The user can click on button to save network graph to image file in svg format.

Small issue: The button stays selected after the export of the image.

It is not easy to fix it: https://github.com/vuetifyjs/vuetify/issues/8572

Ah, that is unfortunate. Let's keep it for now,maybe they will find a solution in the future.


How to forward the posts already present in chat?

The bot isn't forwarding the old chats only the incoming ones are being sent

Well I noticed it's not available in it. I've wrote a small snippet to do that will post on github soon


Suggestion to override default music with remastered 2024 music

Stéphane Picq recently remastered the Spice Opera, including the PC tracks. It would be great if those could be optionally used during the game.
https://stphanepicq.bandcamp.com/album/dune-spice-opera-2024-remaster

Hello,
Thank you for this suggestion. Indeed, once OpenRakis is a reality, this will be one of the first mods. :)
Right now the focus is on the new CFG CPU so code generation can be done for Dune.


How to put the customStyles content for modal styling in SCSS or CSS file?

Currently, I have placed the following customStyles within the component's file.js but I want to put the customStyles into my scss or css file.

I have put className for <Modal className="modal-alert"... </Modal> and put the exact style that for .modal-alert but it's not responding as if I were to just use the following way.

const customStyles = {
  content : {
    top                   : '50%',
    left                  : '50%',
    right                 : 'auto',
    bottom                : 'auto',
    marginRight           : '-50%',
    transform             : 'translate(-50%, -50%)'
  }
};

Basically, I just want to be able to put the following inside of a CSS file and not in the component file itself.
 top                   : '50%',
 left                  : '50%',
 right                 : 'auto',
 bottom                : 'auto',
 marginRight           : '-50%',
 transform             : 'translate(-50%, -50%)'

I just came across this because of a bug I was seeing possibly related to https://github.com/facebook/react/issues/15375

Uncaught TypeError: Failed to set an indexed property on 'CSSStyleDeclaration': Index property setter is not supported.

This was fixed for me personally by making my modal styles which I had just moved to an .scss file instead of in the component to global styles. I was using CSS Modules, so I needed to wrap my styles with :global()
This may not be the exact solution for all, but it was a direct response to @diasbruno's comment that the generated styles should match what react-modal was looking for. Specifically .content not .content-xxyy which is what CSS Modules will output for non-global styles

@paintedbicycle, I think this comment is the correct answer for this issue.
Also, this comment has some guidelines about this issue.
Let me know if those references helps.

Thanks @diasbruno - I'm sure that's true for most. As mentioned in my comment, for me, it was not the style declaration, but instead the classname itself causing the issue. Just wanted to post my comment above in case anyone else using CSS Modules came across this


Fengyan - add mods to solid slide routine (subaerial, etc)

Add the additions that were implemented for Kitimat study

Fengyan,  We should get the solid slide modifications added to the main code, so that we can run the multiple slides in the Valdez benchmark (benchmark 7).

I have added the multi-slide option in branch 'fyshi'. To use this option, define -DLANDSLIDE_COMPREHENSIVE. I don't make a pull request right now because we need to do two tests before merging. 1) an existing test for a single slide, to make sure the previous code is not interrupted by my modification. I shortened lots of long statements which are over 100 characters (troublesome for some compilers if without appropriate flags). 2) a multislide case, I will do it after the single slide test. You can clone the code and go to branch 'fyshi' to do the test.


fork-observer: add reachable tank addr in description for each card

addrs must revealed by clicking "> description" but we can document that.

Test works for me locally using k3d cluster:
``log
Network not connected
Tank george peers expected: 1, actual: 1
Tank john peers expected: 1, actual: 1
Tank paul peers expected: 0, actual: 0
Tank ringo peers expected: 0, actual: 0
Network connected
2024-10-09 22:04:24 | INFO    | test     | Creating chain split
2024-10-09 22:04:24 | DEBUG   | test     | Executing warnet command: bitcoin rpc john createwallet miner
2024-10-09 22:04:25 | DEBUG   | test     | Executing warnet command: bitcoin rpc john -generate 1
2024-10-09 22:04:26 | DEBUG   | test     | Waiting for predicate with timeout 300s and interval 5s
2024-10-09 22:04:31 | INFO    | test     | Fork observed!
2024-10-09 22:04:31 | INFO    | test     | Checking node description...
2024-10-09 22:04:31 | INFO    | test     | Checking reachable address is provided...
2024-10-09 22:04:31 | DEBUG   | test     | Executing warnet command: bitcoin rpc george addnode john.default.svc:18444 onetry
2024-10-09 22:04:31 | DEBUG   | test     | Waiting for predicate with timeout 300s and interval 5s
2024-10-09 22:04:31 | DEBUG   | test     | Executing warnet command: bitcoin rpc george getpeerinfo
2024-10-09 22:04:32 | INFO    | test     | Stopping network
2024-10-09 22:04:32 | DEBUG   | test     | Executing warnet command: down --force
2024-10-09 22:04:32 | DEBUG   | test     | Waiting for predicate with timeout 60s and interval 1s

works for me with docker desktop locally too. I dont think this PR affected ingress so im going to try just adding a bit of sleep before we try the API

there we go, finally got the test to work


Convert XLM-RoBERTa to long version

RoBERTa is currently monolingual. Can we make it talk multiple languages by converting XLM-RoBERTa (https://arxiv.org/pdf/1911.02116.pdf) to long version? There seems to already exists pre-trained version of the model https://huggingface.co/transformers/multilingual.html#xlm-roberta.
There has been some discussion to create multi-lingual RoBERTa https://github.com/pytorch/fairseq/issues/952 and the issue seems to close by pointing to https://github.com/pytorch/fairseq/tree/master/examples/xlmr

duplicate of https://github.com/allenai/longformer/issues/21


HPKP/ Certificate Transparency/ DNSSEC support

Thinking about protecting a flutter app from MITM attacks I was wondering which of the following certificate authenticity checks are supported by the dart-lang/sdk:

HTTP Public Key Pinning (HPKP)
Certificate Transparency
Domain Name System Security Extensions (DNSSEC)

I was unable to find anything in the dart documentation/ StackOverflow/ Gitter.

Questions like this are best asked on Stack Overflow.

Hi @srawlins
I did (StackOverflow Link). But I don't think I'll be getting an answer. I also tried Gitter a couple of days ago. That is why I came here an opened this issue.

Thanks for sharing the link.

@srawlins Is there really no one in the dart team that is able to answer this question?


Fractional shares

Getting failure upon submitting fractional order for stocks with place_order()
the order placed was for more than $10, but less than one share of a stock.
error message:
{'success': False,
'code': 'trade.system.exception',
'msg': 'The system is busy',
'data': {'lastSerialId': 'XXXXXXXXXXXXXXXXXX}}

*** Correction, fractional shares are only available via mobile application.

If that is the case, is difficult to to include it into the apis.


Add verbosity when parsing command args with shlex

Coverage decreased (-0.08%) to 97.455% when pulling 97bfcca9b1340e2d71412251dbb5dcf4c7a519f2 on metathink:master into 5f90c9885a98bdbc6efe1b79581e4be4085fadb2 on gawel:master.


Simplify Chip slightly

Description
Remove an unnecessary ShapeDecoration from Chip. The shape is already given by the surrounding material.
Related Issues
None
Tests
I added the following tests:

Updated existing tests.

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[ ] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: Replace with a link to your migration guide

LGTM too


Cannot switch node version

I installed nvm (when node 0.12.4 was already installed) and nvm detected my node version and asked me if it should manage it. I said "yes" and after doing this I installed node 0.10.33 with nvm install 0.10.33. Then I switched the node version by using nvm use 0.10.33 but now I cannot switch back although the node 0.12.4 lists up when executing nvm list.
Here is my log:
C:\Users\Benny>nvm list

    0.12.4
  * 0.10.33 (Currently using ?-bit executable)

C:\Users\Benny>nvm use 0.12.4
node v0.12.4 (64-bit) is not installed.

C:\Users\Benny>nvm install 0.12.4
Downloading node.js version 0.12.4 (64-bit)... Error while creating C:\Users\Benny\AppData\Roaming\n
vm\v0.12.4\node64.exe - open C:\Users\Benny\AppData\Roaming\nvm\v0.12.4\node64.exe: Access is denied
.
Error while downloading http://nodejs.org/dist/v0.12.4/x64/node.exe - invalid argument
Complete

Ok, I found a workaround. I started the cmd with Administrator privileges and ran nvm install 0.12.4 which installed node using nvm (overriding my existing node 0.12.4). Afterwards I was able to switch using nvm use 0.12.4.

I also couldn't use nvm use. In my case the problem was that the folder C:\Program Files\nodejs existed from a previous installation of nodejs that was already uninstalled however. After deleting this folder manually, nvm worked correctly. It now creates the symlink.

Same. Appears to be an installer bug. Either update doc to reflect this requirement (to remove existing node) or fix installer please.

+1 on the issue of not being able to properly use a version due to the c:\program files\nodejs folder still being present after uninstalling a previous install of node. nvm gave no hint or message that there was an issue creating the symlink.

@Sanjo @danielkrainas
What is the mystery with C:\Program Files\nodejs folder?
I had same issue:
nvm list
      * 5.1.1 (Currently using 64-bit executable)
        4.2.1

Then until I renamed the c:\program files\nodejs folder I wasn't being able to switch between versions. Do we need that folder at all?

@riapp no, you don't need it. It prevents the shortcut from being made. Even after uninstalling node, you may still have that folder and you will need to remove it manually.

C:>nvm use v8.4.0 64
node v8.4.0 (64-bit) is not installed.
C:>nvm install v8.4.0 64
Downloading node.js version 8.4.0 (64-bit)...
Error while creating C:\Users\vipin.rv\AppData\Roaming\nvm\v8.4.0\node64.exe - open C:\Users\vipin.rv\AppData\Roaming\nvm\v8.4.0\node64.exe: Access is denied.
Error while downloading https://nodejs.org/dist/v8.4.0/win-x64//node.exe - invalid argument
Complete
How to redirect this download url

I had the same issue. First I installed node 6.9.5 from nvm. Then when I installed node 8.11.4 from downloaded .exe, version of node automatically switched to 8.11.4. After that I was not able to switch to version 6.9.5 untill I uninstalled node from control panel, then changed the name of nodejs folder still existing. Then installed version 8.11.4 from nvm.
Now I can switch between the two versions.
Is it the case that when we install node using installer then nvm doesnot work?

This happens to be the issue till date and deleting nodejs folder does not work.

This happens to be the issue till date and deleting nodejs folder does not work.

I had the same issue but the problem that I often saw is that its because of the directory name it has a white space. I have a lot of problems with this.

I also couldn't use nvm use. In my case the problem was that the folder C:\Program Files\nodejs existed from a previous installation of nodejs that was already uninstalled however. After deleting this folder manually, nvm worked correctly. It now creates the symlink.

I have a symlink but still doesn't work, I also try to delete the nodejs folder and got the same error saying the status exit 1


Threat model for cert-manager

We should write up and publish a threat model for cert-manager to help (potential) users understand how cert-manager performs from security perspective as well as so that there is a common understanding of potential risks.
Example threat model that we could follow:

https://en.wikipedia.org/wiki/STRIDE_(security)

Some examples from Kubernetes space:

Kubernetes Threat model
admission control threat model

/kind feature

Some thoughts: it would be good if the model could incorporate a higher level description of intended usage of cert-manager in certain scenarios as opposed to what we are trying to prevent and who are the possible malicious actors we are guarding against.
(An example could be cert-manager not allowing use of ambient credentials for Issuers by default - threat model could include that we try to prevent namespace scoped users' privilege escalation as well as what actions we use to do that.

/remove-lifecycle stale
this is important for corporate usage.

/remove-lifecycle stale

/remove-lifecycle stale

/remove-lifecycle stale

/remove-lifecycle stale

/remove-lifecycle stale

/remove-lifecycle stale

/remove-lifecycle stale

/remove-lifecycle stale


Why the software history was not kept?

Hi there,
I'm a researcher studying software evolution. As part of my current research, I'm studying the implications of open-sourcing a proprietary software, for instance, if the project succeed in attracting newcomers. However, I observed that some projects, like draft-js, deleted their software history.
https://github.com/facebook/draft-js/commit/342576bf7186d07c82a41d9ca8169130669747d6
Knowing that software history is indispensable for developers (e.g., developers need to refer to history several times a day), I would like to ask draft-js developers the following four brief questions:

Why did you decide to not keep the software history?
Do the core developers faced any kind of problems, when trying to refer to the old history? If so, how did they solve these problems?
Do the newcomers faced any kind of problems, when trying to refer to the old history? If so, how did they solve these problems?
How does the lack of history impacted on software evolution? Does it placed any burden in understanding and evolving the software?

Thanks in advance for your collaboration,
Gustavo Pinto, PhD
http://www.gustavopinto.org

History can be hard to keep as it gets extracted from a product or another repository. For us, that's a fairly common practice, and the internal history is often riddled with fixes that are product specific or contain references to internal codenames or even unlaunched or yet-to-be launched products. The easiest & safest thing is sometimes to just pick a specific point and open source from there. It's not so much that we deleted the history, just that it would be extremely painful to extract in a good way.

There hasn't been too much pain yet. It's a relatively small code base with an involved primary author. Internally at FB we can still trace back through and follow the history to some extent so it hasn't been a problem.

Maybe, but haven't seen any major issues. Again, the maintainer/author is quite active and helpful.

Not to my knowledge. Code comments are invaluable.

Hi @zpao,
thanks once again for answering our research inquiries. We were able to collect 35 responses and we drafted a research paper with the results. The paper was submitted and accepted for the 14th International Conference on Open Source Systems (http://oss2018.org/). You can find the paper here. Hope you enjoy reading the paper!
Thanks again,
Gustavo


mnemosyne: 2.3.2 -> 2.6

Motivation for this change
Mnemosyne was broken previously, because tests failed during install.
I updated it, but still something goes very wrong in the checkPhase if I don't disable checks:
running build_ext
Traceback (most recent call last):
  File "nix_run_setup.py", line 8, in <module>
    exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
  File "setup.py", line 178, in <module>
    app = py2app_app
  File "/nix/store/vyn106wj077zhv3n7w9c0nwjwq3xja0z-python3.6-bootstrapped-pip-9.0.1/lib/python3.6/site-packages/setuptools/__init__.py", line 129, in setup
    return distutils.core.setup(**attrs)
  File "/nix/store/nrv3zzw9a42vax72gaif8bjgxgnv9iy1-python3-3.6.3/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/nix/store/nrv3zzw9a42vax72gaif8bjgxgnv9iy1-python3-3.6.3/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/nix/store/nrv3zzw9a42vax72gaif8bjgxgnv9iy1-python3-3.6.3/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/nix/store/vyn106wj077zhv3n7w9c0nwjwq3xja0z-python3.6-bootstrapped-pip-9.0.1/lib/python3.6/site-packages/setuptools/command/test.py", line 226, in run
    self.run_tests()
  File "/nix/store/vyn106wj077zhv3n7w9c0nwjwq3xja0z-python3.6-bootstrapped-pip-9.0.1/lib/python3.6/site-packages/setuptools/command/test.py", line 248, in run_tests
    exit=False,
  File "/nix/store/nrv3zzw9a42vax72gaif8bjgxgnv9iy1-python3-3.6.3/lib/python3.6/unittest/main.py", line 94, in __init__
    self.parseArgs(argv)
  File "/nix/store/nrv3zzw9a42vax72gaif8bjgxgnv9iy1-python3-3.6.3/lib/python3.6/unittest/main.py", line 118, in parseArgs
    self._do_discovery(argv[2:])
  File "/nix/store/nrv3zzw9a42vax72gaif8bjgxgnv9iy1-python3-3.6.3/lib/python3.6/unittest/main.py", line 229, in _do_discovery
    self.test = loader.discover(self.start, self.pattern, self.top)
  File "/nix/store/nrv3zzw9a42vax72gaif8bjgxgnv9iy1-python3-3.6.3/lib/python3.6/unittest/loader.py", line 341, in discover
    tests = list(self._find_tests(start_dir, pattern))
  File "/nix/store/nrv3zzw9a42vax72gaif8bjgxgnv9iy1-python3-3.6.3/lib/python3.6/unittest/loader.py", line 398, in _find_tests
    full_path, pattern, namespace)
  File "/nix/store/nrv3zzw9a42vax72gaif8bjgxgnv9iy1-python3-3.6.3/lib/python3.6/unittest/loader.py", line 475, in _find_test_path
    tests = self.loadTestsFromModule(package, pattern=pattern)
  File "/nix/store/vyn106wj077zhv3n7w9c0nwjwq3xja0z-python3.6-bootstrapped-pip-9.0.1/lib/python3.6/site-packages/setuptools/command/test.py", line 52, in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/nix/store/nrv3zzw9a42vax72gaif8bjgxgnv9iy1-python3-3.6.3/lib/python3.6/unittest/loader.py", line 190, in loadTestsFromName
    return self.loadTestsFromModule(obj)
  File "/nix/store/vyn106wj077zhv3n7w9c0nwjwq3xja0z-python3.6-bootstrapped-pip-9.0.1/lib/python3.6/site-packages/setuptools/command/test.py", line 52, in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/nix/store/nrv3zzw9a42vax72gaif8bjgxgnv9iy1-python3-3.6.3/lib/python3.6/unittest/loader.py", line 153, in loadTestsFromName
    module = __import__(module_name)
  File "/tmp/nix-build-mnemosyne-2.6.drv-0/Mnemosyne-2.6/mnemosyne/pyqt_ui/configuration_wdgt_main.py", line 18, in <module>
    Ui_ConfigurationWdgtMain):
  File "/tmp/nix-build-mnemosyne-2.6.drv-0/Mnemosyne-2.6/mnemosyne/pyqt_ui/configuration_wdgt_main.py", line 20, in ConfigurationWdgtMain
    name = _("General")
TypeError: 'NoneType' object is not callable

At least, I'm now able to run the program.
Nevertheless, there also seem to be errors within the program. For example, when starting a server and accessing it via web browser (http://localhost:8513/), some error with a NoneType occurs.
I sadly don't have the time to look into these and I've also never made contact with PyQt.
/cc @lverns @domenkozar @peti
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-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/)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg eval

The alternative would be to mark mnemosyne as broken and wait until someone who really needs it comes by. Does this fit you better @FRidh?

Often specifying
checkPhase = ''
  ${python.interpreter} -m unittest discover -s <testsdir>
'';

helps with errors like these.

However, if you say the error also occurs during runtime...
You can indeed mark it has broken. Let someone who wants this step up and fix it.

I think I didn't express myself very well :)
The current status in master is: Mnemosyne builds fine but doesn't run, at least for me:
An unexpected error has occurred.
Please forward the following info to the developers:

Traceback (innermost last):
  File "/nix/store/jh87lab7xyxry771ja996sps7j6glwxj-mnemosyne-2.3.2/bin/.mnemosyne-wrapped", line 192, in <module>
    debug_file=options.debug_file)
  File "/nix/store/jh87lab7xyxry771ja996sps7j6glwxj-mnemosyne-2.3.2/lib/python2.7/site-packages/mnemosyne/libmnemosyne/__init__.py", line 174, in initialise
    self.register_components()
  File "/nix/store/jh87lab7xyxry771ja996sps7j6glwxj-mnemosyne-2.3.2/lib/python2.7/site-packages/mnemosyne/libmnemosyne/__init__.py", line 244, in register_components
    exec("from %s import %s" % (module_name, class_name))
  File "<string>", line 1, in <module>
  File "/nix/store/jh87lab7xyxry771ja996sps7j6glwxj-mnemosyne-2.3.2/lib/python2.7/site-packages/mnemosyne/pyqt_ui/qt_web_server.py", line 13, in <module>
    from mnemosyne.web_server.web_server import WebServer
  File "/nix/store/jh87lab7xyxry771ja996sps7j6glwxj-mnemosyne-2.3.2/lib/python2.7/site-packages/mnemosyne/web_server/web_server.py", line 16, in <module>
    from cherrypy import wsgiserver
 ImportError: cannot import name wsgiserver

Regarding this PR: Mnemosyne does build AND run. I however wasn't able to make the tests run.
I had another look at the tests and I think we won't be able to enable them:

They are not distributed in the tarball.
GitHub doesn't provide version tags.
GitHub is missing locales etc.
So, we can't use GitHub and therfore we need to diable the tests.

My proposal would be merge this one, since it IS in a working state and I don't see any problem with the disabled tests.
@GrahamcOfBorg build mnemosyne

Success on x86_64-linux (full log)
Partial log (click to expand)
Installing collected packages: Mnemosyne
Successfully installed Mnemosyne-2.6
/tmp/nix-build-mnemosyne-2.6.drv-0/Mnemosyne-2.6
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/qaijf5q79k77kldjk2nwcp5chddgna35-mnemosyne-2.6
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/qaijf5q79k77kldjk2nwcp5chddgna35-mnemosyne-2.6/lib  /nix/store/qaijf5q79k77kldjk2nwcp5chddgna35-mnemosyne-2.6/bin
patching script interpreter paths in /nix/store/qaijf5q79k77kldjk2nwcp5chddgna35-mnemosyne-2.6
checking for references to /tmp/nix-build-mnemosyne-2.6.drv-0 in /nix/store/qaijf5q79k77kldjk2nwcp5chddgna35-mnemosyne-2.6...
wrapping `/nix/store/qaijf5q79k77kldjk2nwcp5chddgna35-mnemosyne-2.6/bin/mnemosyne'...

Success on aarch64-linux (full log)
Partial log (click to expand)
Successfully installed Mnemosyne-2.6
/build/Mnemosyne-2.6
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/256v1lwij2fyiv8lbd7a4g8yzcl6z7cl-mnemosyne-2.6
strip is /nix/store/xmpjypwjmp2qi1chs5kr0hacnh161ls4-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/256v1lwij2fyiv8lbd7a4g8yzcl6z7cl-mnemosyne-2.6/lib  /nix/store/256v1lwij2fyiv8lbd7a4g8yzcl6z7cl-mnemosyne-2.6/bin
patching script interpreter paths in /nix/store/256v1lwij2fyiv8lbd7a4g8yzcl6z7cl-mnemosyne-2.6
checking for references to /build in /nix/store/256v1lwij2fyiv8lbd7a4g8yzcl6z7cl-mnemosyne-2.6...
wrapping `/nix/store/256v1lwij2fyiv8lbd7a4g8yzcl6z7cl-mnemosyne-2.6/bin/mnemosyne'...
/nix/store/256v1lwij2fyiv8lbd7a4g8yzcl6z7cl-mnemosyne-2.6

Success on aarch64-linux (full log)
Partial log (click to expand)
/nix/store/256v1lwij2fyiv8lbd7a4g8yzcl6z7cl-mnemosyne-2.6

Success on x86_64-linux (full log)
Partial log (click to expand)
Installing collected packages: Mnemosyne
Successfully installed Mnemosyne-2.6
/tmp/nix-build-mnemosyne-2.6.drv-0/Mnemosyne-2.6
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/qaijf5q79k77kldjk2nwcp5chddgna35-mnemosyne-2.6
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/qaijf5q79k77kldjk2nwcp5chddgna35-mnemosyne-2.6/lib  /nix/store/qaijf5q79k77kldjk2nwcp5chddgna35-mnemosyne-2.6/bin
patching script interpreter paths in /nix/store/qaijf5q79k77kldjk2nwcp5chddgna35-mnemosyne-2.6
checking for references to /tmp/nix-build-mnemosyne-2.6.drv-0 in /nix/store/qaijf5q79k77kldjk2nwcp5chddgna35-mnemosyne-2.6...
wrapping `/nix/store/qaijf5q79k77kldjk2nwcp5chddgna35-mnemosyne-2.6/bin/mnemosyne'...

ping @FRidh

Success on x86_64-linux (full log)
Partial log (click to expand)
Installing collected packages: Mnemosyne
Successfully installed Mnemosyne-2.6
/tmp/nix-build-mnemosyne-2.6.drv-0/Mnemosyne-2.6
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/f20hl2civx3z7sz8v9hix9hphqyzlagf-mnemosyne-2.6
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/f20hl2civx3z7sz8v9hix9hphqyzlagf-mnemosyne-2.6/lib  /nix/store/f20hl2civx3z7sz8v9hix9hphqyzlagf-mnemosyne-2.6/bin
patching script interpreter paths in /nix/store/f20hl2civx3z7sz8v9hix9hphqyzlagf-mnemosyne-2.6
checking for references to /tmp/nix-build-mnemosyne-2.6.drv-0 in /nix/store/f20hl2civx3z7sz8v9hix9hphqyzlagf-mnemosyne-2.6...
wrapping `/nix/store/f20hl2civx3z7sz8v9hix9hphqyzlagf-mnemosyne-2.6/bin/mnemosyne'...

Success on aarch64-linux (full log)
Partial log (click to expand)
Successfully installed Mnemosyne-2.6
/build/Mnemosyne-2.6
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/gm7rjvrn8qmqfaz07yqhsv4025v6k0zf-mnemosyne-2.6
strip is /nix/store/xmpjypwjmp2qi1chs5kr0hacnh161ls4-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/gm7rjvrn8qmqfaz07yqhsv4025v6k0zf-mnemosyne-2.6/lib  /nix/store/gm7rjvrn8qmqfaz07yqhsv4025v6k0zf-mnemosyne-2.6/bin
patching script interpreter paths in /nix/store/gm7rjvrn8qmqfaz07yqhsv4025v6k0zf-mnemosyne-2.6
checking for references to /build in /nix/store/gm7rjvrn8qmqfaz07yqhsv4025v6k0zf-mnemosyne-2.6...
wrapping `/nix/store/gm7rjvrn8qmqfaz07yqhsv4025v6k0zf-mnemosyne-2.6/bin/mnemosyne'...
/nix/store/gm7rjvrn8qmqfaz07yqhsv4025v6k0zf-mnemosyne-2.6

Success on aarch64-linux (full log)
Partial log (click to expand)
Successfully installed Mnemosyne-2.6
/build/Mnemosyne-2.6
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/pgrdkqsh1hha6yvmxas66ffmks2ib13j-mnemosyne-2.6
strip is /nix/store/xmpjypwjmp2qi1chs5kr0hacnh161ls4-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/pgrdkqsh1hha6yvmxas66ffmks2ib13j-mnemosyne-2.6/lib  /nix/store/pgrdkqsh1hha6yvmxas66ffmks2ib13j-mnemosyne-2.6/bin
patching script interpreter paths in /nix/store/pgrdkqsh1hha6yvmxas66ffmks2ib13j-mnemosyne-2.6
checking for references to /build in /nix/store/pgrdkqsh1hha6yvmxas66ffmks2ib13j-mnemosyne-2.6...
wrapping `/nix/store/pgrdkqsh1hha6yvmxas66ffmks2ib13j-mnemosyne-2.6/bin/mnemosyne'...
/nix/store/pgrdkqsh1hha6yvmxas66ffmks2ib13j-mnemosyne-2.6

Success on x86_64-linux (full log)
Partial log (click to expand)
Installing collected packages: Mnemosyne
Successfully installed Mnemosyne-2.6
/build/Mnemosyne-2.6
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/0yv0r927y86p86n76l4pkrdyd24ds5k6-mnemosyne-2.6
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/0yv0r927y86p86n76l4pkrdyd24ds5k6-mnemosyne-2.6/lib  /nix/store/0yv0r927y86p86n76l4pkrdyd24ds5k6-mnemosyne-2.6/bin
patching script interpreter paths in /nix/store/0yv0r927y86p86n76l4pkrdyd24ds5k6-mnemosyne-2.6
checking for references to /build in /nix/store/0yv0r927y86p86n76l4pkrdyd24ds5k6-mnemosyne-2.6...
wrapping `/nix/store/0yv0r927y86p86n76l4pkrdyd24ds5k6-mnemosyne-2.6/bin/mnemosyne'...

Success on x86_64-linux (full log)
Partial log (click to expand)
Installing collected packages: Mnemosyne
Successfully installed Mnemosyne-2.6
/tmp/nix-build-mnemosyne-2.6.drv-0/Mnemosyne-2.6
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/d5d8jhyr70n4ikyzb8rm19k9h7hd38x5-mnemosyne-2.6
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/d5d8jhyr70n4ikyzb8rm19k9h7hd38x5-mnemosyne-2.6/lib  /nix/store/d5d8jhyr70n4ikyzb8rm19k9h7hd38x5-mnemosyne-2.6/bin
patching script interpreter paths in /nix/store/d5d8jhyr70n4ikyzb8rm19k9h7hd38x5-mnemosyne-2.6
checking for references to /tmp/nix-build-mnemosyne-2.6.drv-0 in /nix/store/d5d8jhyr70n4ikyzb8rm19k9h7hd38x5-mnemosyne-2.6...
wrapping `/nix/store/d5d8jhyr70n4ikyzb8rm19k9h7hd38x5-mnemosyne-2.6/bin/mnemosyne'...

ping


this repository seems to be dead

no attention to issues, no answers. pool requests pending... sad
@gabrielbusarello are you still here? Would you please complete pool requests.

True. need support for Angular 12+ pull requests are not completed.


changed the initial value from 89% to 0%

Description
Finalize Multiple File Upload
Spec
See Ticket: EDPUB-1426

Validation
In Forms, Request Detail Page, and Group Upload Page, you can drop and drag or select multiple files to upload simultaneously.
Make sure you see the file upload progress and works as expected.

Snyk workflow test failing due to https://security.snyk.io/vuln/SNYK-JS-ELLIPTIC-8187303 currently waiting on fix to be merged and released https://github.com/indutny/elliptic/pull/322 to resolve Snyk error; however, this won't affect merging this PR when ready.


Orphan execution host processes

hi,
Thank you for the application, Keep up the great work.
This is just to confirm that I too noticed a lot of orphaned host processes still running in the background after exiting the application. They end up taking a huge amount of resources at least on my machine which tends to push me towards using scriptcs.

the issue is still persistent in version 0.9; I have the "RoslynPad.Host32.exe" process still running in the background after exiting from RoslynPad.

@modulexcite
Hmm, that's not what this issue was about actually. What I've seen happen was when you closed a tab on RoslynPad, sometimes a host process would remain. That was fixed.
I've never seen what you're describing - I'm using the Windows CreateJobObject to associate child processes with the parent process, and the OS is supposed to kill all child processes automatically when the parent terminates (or even killed).
What OS version are you using?

oh, sorry about that then. Perhaps I should open a new issue.
I'm using Windows 7 SP1 Professional and using RoslynPad version 0.9, below is a screen capture of the said issue.
Thank you for your response.

It's fine, you don't need to open another issue.
I really don't know why this is happening. I'll try to investigate.

Thank you
On Thu, Jul 21, 2016 at 12:46 PM -0400, "Eli Arbel"<EMAIL_ADDRESS>wrote:
Reopened #25.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@modulexcite - can you run Sysinternals Process Explorer, have its file menu "show processes for all users" (you'll get a UAC prompt) and then inspect the properties of the RoslynPad processes.  There's a "Job" tab in the properties window which should show which processes are in the job.  That might help @aelij with tracking down your issue as it'll show if there's a problem with gathering the processes into a single job in the first place or perhaps there's something else afoot.
(just my 2c as an interested bystander).

Thanks @IanYates, that's a great idea.

Thanks for the suggestion @IanYates.
Attached are the screenshots of both the parent and the child processes; however I don't see anything unusual in the "Jobs" tab and I'm entirely sure what they mean. Perhaps @aelij can shed some light on this or use it for troubleshooting the issue at hand.
Parent "RoslynPad.exe" process:

Child "RoslynPad.Host32.exe" process:

Very weird. Everything looks fine. @IanYates do you have any insights?
@modulexcite What these job objects do is associate a few processes together. It can be configured so when the last handle of the job is closed, all the processes are terminated. And in RoslynPad, the only open handle is in the main process.
I'll try closing the handle explicitly on exit, see if that helps.

Thanks @aelij.
Maybe this has something to do with settings on my machine considering nobody else has reported this issue. I'll check if DebugDiag will provide any insight into what's happening.

If you're in the mood, could you add modify MainViewModel.OnExit to this and see if it makes any difference?
public async Task OnExit()
{
	ChildProcessManager.Dispose();
	await AutoSaveOpenDocuments().ConfigureAwait(false);
}

sure, will give it a try and let you know.

after modifying MainViewModel.OnExit method with your code, it's killing the process when I'm debugging the code from Visual Studio but not if I launch RoslyPad independently.
I've also tried attaching it to RoslynPad from Visual Studio but that's not killing the left over host process either which is weird.

It just kills the RP process and leaves behind the ".host32" process, sorry for the trouble. I'm sure you have better things to do than just fix this one problem nobody else has reported.

Thanks.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Checking the low-hanging fruit firstly...

Do you have an anti-virus scanner running?
Are you using files in a folder managed by DropBox, OneDrive, etc?

(I'm trying to think of some external process that might keep things alive due to file handles or other interceptions)
I've not read the code, but what @aelij says sounds right - there's some sort of handle hanging around.
In Process Explorer, out of the properties window (back on the main screen), you can display a list of handles held by a process or a list of libraries loaded in to the process.  What handles do you have open in each process, and what handles remain after you quit RP?  You'll see things like file handles, mutexes, etc.

I do have an anti-virus scanner running, it's McAfee and I can't disable that as this is my work laptop. I also have OneDrive, TortoiseSVN running in Windows explorer which I can control. However none of these processes have any handles on "RP.Host32.exe" process.
After closing RP, I can verify that the following processes still have handles on "Host32" process.

system
csrss
svchost
ccmexec

Let me know if you need more information.
RoslynPad.exe Handles:

RoslynPad.Host32.exe Handles prior to exiting RoslynPad:

RoslynPad.Host32.exe Handles after exiting RoslynPad:

Useful info.  It could be the AV or the System Centre Config process (ccmexec.exe) I suppose.
However, what I'm hoping to see are the handles held by RoslynPad?  (rather than RoslynPad handles held by other processes, which is just as useful but is the other side of the coin).
Just hit Ctrl+H in Process Explorer and you'll get a bottom pane as shown below.

That'll indicate what handles that stray process still has open and might give @aelij a clue as to what's going on.  The difference between handles held by both RP processes before quitting versus after is probably of most interest but the full handle list would be interesting in both.

Since the list of handles is quite big, I thought it would more useful if I dumped that information into a text file rather than multiple screen captures. I used the Sysinternals Handles command line tool to get this information.
RoslynPad.exe Handles List:

RP-Handles-BeforeExit.txt
RP-Handles-AfterExit.txt

RoslynPad.Host32.exe Handles List:

RPH32-Handles-BeforeExit.txt
RPH32-Handles-AfterExit.txt

Thanks @modulexcite. Unfortunately, I still can't find a reason for the process not terminating.
I was hoping to avoid that, but maybe I'll just add an explicit kill for all child processes when exiting RP.

Thanks a ton for working with me on this @aelij .
Unfortunately, this seems like a problem with Windows 7 machines perhaps it has something to do with how some of the underlying .NET APIs work on Win7 OS compared to Win10.
I spun up a couple of new VMs for Windows 7 32-bit and 64-bit last night and con confirm that the RPH process lingers around after exiting RP. Just for fun, I've also created a new VM for Windows 10 64-bit and tested on it, it works like its supposed to on this OS. The RPH process exits after closing RP.
I'm assuming you're only testing this on Windows 10 OS and hence you can't replicate the issue. I guess you should put a note somewhere for Windows 7 users if somebody else can confirm this.
Again thanks for the help.

Can confirm the same behaviour what @modulexcite . Windows 7 Pro SP1, Roslyn 0.9 installed.

Thanks everyone! I've changed the method of monitoring the processes. Now each child process relies on the Process.Exited event of the parent. This should work well under any OS (hopefully). Please let me know if there are any issues.

Thanks @aelij, looking forward to the next release.


soc/intel_adsp: remove an unused variable

The "status" variable in lp_sram_init() is no longer used, remove it.

Coding guideline says brackets are needed even for one line statement.

Thanks, updated


Calculate and validate minimal metagraph fee

I plan to add couple of simple unit tests for the fee calculator but other than that this PR is ready for review.
UPDATE: tests added
FYI we will need to set the configurations for every env before deploying.

LGTM


[Feature request] Arbitrary messages grpc API

LND grpc API has signmessage and verifymessage call. It would be useful if we could pass arbitrary messages (with some topic id) to a remote node (or alternatively just connected peer), encrypted with the node's public key. It is about exposing this functionality to the public.
This functionality is useful when building applications on top of the Lightning network, for example for negotiating contracts and prices. There are many possible use-cases that go beyond just invoicing and paying the invoice.

You can already provide an arbitrary message to the API, see https://api.lightning.community/#signmessage.

Yes, I know, but only for signing.
What I am saying is that since there is a way for the LN nodes to communicate anyway, it would be great if we could use the API to send a particular custom message to another LN node, while using the same communication channels, encryption and security.

LN isn't a messaging protocol. You can build something on top of lnd using these API's if you'd like.


[DEV-3275] Refactoring financeLog code

Release Checklist
Pre-Release

[ ] Check migrations

No database related infos (sqldb-xxx)
Impact on GS (new/removed columns)

[ ] Check for linter errors (in PR)
[ ] Test basic user operations (on DFX services)

Login/logout
Buy/sell payment request
KYC page

Post-Release

Test basic user operations
Monitor application insights log

@Yannick1712 ship it 😎

Hehe no it's not ready atm, the first step was only a code refactoring without any new features. The new features are still in work atm

[ ] add migration

dass ich das noch erleben darf


sparkpost changes

Closes #2339
Code Changes
NEW SaaS Connector Sparkpost for access and erasure
Steps to Confirm

[x] Add/configure the Sparkpost connector in UI
[ ] Verify Sparkpost config and icon UI looks good
[x] Add receipient data using Sparkpost Api
[x] Create an Access DSR with the new Sparkpost customer email
[x] Verify email sent by fides with customer data is correct
[x] Create an Delete DSR with the new Sparkpost customer email
[ ] Verify the customer data is now deleted in Sparkpost

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
[ ] Update CHANGELOG.md

SaaS Connector Checklist

[x] Spec doc link
[x] Vault Creds
[x] Postman Collection
[x] SaaS Config And Dataset
[x] Access and Erasure Test Passing
[ ] Icon


Does v1.15.7  is a LTS version

1. What version of Go and system type/arch are you using?
go1.15.5
2. What version of GoFrame are you using?
v1.15.7
3. Can this issue be re-produced with the latest release?
Does v1.15.7  is a LTS version ?

@ShuiPingYang Nop.


Said question isn't what coding chanllenge accept

Describe the Issue
In the following Data Structure, the question is

A foods object has been created with three entries. Using the syntax of your choice, add three more entries to it: bananas with a value of 13, grapes with a value of 35, and strawberries with a value of 27.

Notice the line

Using the syntax of your choice

but when I do foods[strawberries] = 27;
It doesn't pass, but it is 'Using the syntax of my choice', I tried mix and match and also just with bracket syntax but it didn't work.
Affected Page
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-data-structures/add-key-value-pairs-to-javascript-objects
Your code
foods.bananas = 13;
foods.grapes = 35;
foods[strawberries] = 27;

Expected behavior
Even with syntax of my choice, be it [] or . Dot notation, I except it to work and pass.
Screenshots
No response
System

Device: [e.g. iPhone 6, Laptop]
OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04]
Browser: [e.g. Chrome, Safari]
Version: [e.g. 22]

Additional context
No response

Closing this as It was my mistake, because when I do foods['strawberries'] = 27; It passed.


Logging injection

I intend to inject logging statements into smali code like invoke-static {v1}, LLogger;->printObject(Ljava/lang/Object;)V
Will I be able to see executed logging statements on the console when I run dex-oracle command?

Since the code is executed by a command line on the emulator, you should get stdouts. I think stdout and stderr are captured by dex-oracle and the only way to print it out is with verboase mode.
dex-oracle itself is REALLY simple. It's just a wrapper that makes it easier to adb push a dex file to an emulator and run it. Try just running it yourself.
Here's an example of how to run it yourself: https://calebfenton.github.io/2015/12/22/what-happens-when-a-dex-includes-a-framework-class/


some feedback

Hi!
Firstly, thank you so much for your work on this. It has been a lifesaver for me. I use Linux Mint 21.1 Vera, and it's so sad that the native Network Manager doesn't support WireGuard config file import. Moreover, when I enter it all manually it simply doesn't work, there was some trick I had to come up with where I didn't enter a preshared key and had to restart a pc and only then it would work.
From your README, I got an impression that the goal of this project is to make an exact copy of Windows's GUI. If that's not the case, if wanted to provide some feedback to make it even more convenient, in my personal opinion.

It's probably a bug, but when I left-click on the icon in the system tray, it doesn't do anything, so instead I have to right-click > show.
Make it so I can quickly choose a VPN tunnel by a menu after leftclicking a in a system tray (left click > VPN tunnels >> MyVpn1),
so that the whole main window doesn't even have to pop up.
I mostly use VPN to reach websites that are blocked in my country, so it's roughly 15 minutes a day. But then sometimes I forget to turn it off (yeah, there is a large green check mark, but sometimes i m still very inattentive), and I accidentally eat all my traffic (watching videos, downloading torrents), so maybe some option is settings to notify me that i m using VPN for more that an hour~.

I am not a developer, I understand number 3 is a picky one, and I don't know if 1 and 2 are easy to implement.
I just hope that my feedback might be useful, so once again, thank you for making something this, great work!

+1 for 1 and 2


ng-map directive writes over a local $scope.map object

It seems like the directive is writing over a local $scope variable:  It is writing over $scope.map with data which is identical to the object returned with NgMap.getMap() .
If you happen to already have a variable or object called $scope.map in your controller then it will get modified by the directive without your knowledge. If you trace your variable you will see that when  $scope.$on('mapInitialized', function(evt,map) { ...} is called then your local $scope.map has been appended with all the map object properties and methods...

$scope.map is left out-dated because of backward compatibility. It will be removed soon.

What about this?


Reconfigure mobile testing to use 4G speeds

Data from the Chrome UX Report indicates that the vast majority of connection speeds on mobile devices (phone/tablet) are effectively 4G:
#standardSQL
SELECT
  SUM(IF(form_factor.name IN ('phone', 'tablet') AND effective_connection_type.name = '4G', bin.density, 0))
    / SUM(IF(form_factor.name IN ('phone', 'tablet'), bin.density, 0)) AS pct_mobile_4g
FROM
  `chrome-ux-report.chrome_ux_report.201710`,
  UNNEST(first_contentful_paint.histogram.bin) AS bin

https://bigquery.cloud.google.com/results/chrome-ux-report:bquijob_35020ffa_160510ab375
Result: 87.95%
Update the WebPageTest configuration for mobile tests to use 4G speeds to more accurately represent real user conditions.

+1. Ideally, this should be coupled with similar default updates in WebPageTest and Lighthouse emulation. /cc @pmeenan @paulirish

QQ.  Since CrUX equalizes all origins, does that query basically average across all origins?
Not sure it changes much, but looking at traffic to Google is 90.10% (assuming my query is correct):
#standardSQL
SELECT
  SUM(IF(form_factor.name IN ('phone', 'tablet') AND effective_connection_type.name = '4G', bin.density, 0))
    / SUM(IF(form_factor.name IN ('phone', 'tablet'), bin.density, 0)) AS pct_mobile_4g
FROM
  `chrome-ux-report.chrome_ux_report.201710`,
  UNNEST(first_contentful_paint.histogram.bin) AS bin
WHERE
  origin = 'https://www.google.com'

I can't look at the linked report but I'm slightly sceptical on the distribution.
I'd rather be behing the curve on this, not least because I don't have 4G myself. The great advantage of the archive is that sites are tested on a like-for-like basis. In this case it doesn't really matter whether it's 3G or 4G but it's always good to aim for the lower. I'm finding more and more sites getting fatter and fatter (> 7MB is not unusual) and this is noticeable on mobile on a good wifi connection and downright unusable outside.

FWIW, my query also skews US since it doesn't look at all of the Google domains.  That said, every iteration I try is still > 85% 4G.
@Themanwithoutaplan we definitely want to skew towards the tail (I usually like to shoot for 70th-75th percentiles) but we need to make sure it also stays relevant.
The "effectively 4G" cutoff is also pretty slow.  Anything faster that 700Kbps with latency lower than 270ms is 4G.  There is a good amount of actual 3G that is faster than that (and actual 4G that can be slower than that).

QQ. Since CrUX equalizes all origins, does that query basically average across all origins?

Yeah it's basically an average. (sum of all 4G densities over the sum of all densities for mobile)

The great advantage of the archive is that sites are tested on a like-for-like basis. In this case it doesn't really matter whether it's 3G or 4G but it's always good to aim for the lower.

It's true that slower connections will dramatize performance issues, but I think we need to balance that with keeping up with changes in how real users access the web otherwise we lose relevance.

The sampling does not seem to have a complete coverage of all connection types even for the most popular sites.   At a high level, for the 32,573 records, I found that crux mostly contains 3G and 4G connection types across desktop and Phone.

The query for that was
SELECT form_factor.name formFactor, effective_connection_type.name connType, COUNT(DISTINCT origin) freq
FROM `chrome-ux-report.chrome_ux_report.201710`
GROUP BY formFactor, connType

I looked for sites that contained all 10 form-factor / connection-types - I found only a handful of sites.   I joined Alexa rank (from the _pages table) and counted the number of histograms present for each form-factor and effective-connection-type using the following query:
SELECT rank, origin, form_factor.name formFactor, effective_connection_type.name connType, COUNT(DISTINCT origin) freq
FROM `chrome-ux-report.chrome_ux_report.201710` ux
JOIN  `httparchive.runs.2017_10_01_pages` pages
ON NET.HOST(pages.url) = NET.HOST(ux.origin)
WHERE rank > 0
GROUP BY rank, origin, formFactor, connType
ORDER By rank ASC
LIMIT 1000```

When I summarized it, I can see some gaps in the data for very large sites - especially with the tablet form-factor.
![image](https://user-images.githubusercontent.com/7459458/33961910-b532d8a8-e01d-11e7-8daa-6d2266d89990.png)

Should crux have histograms for all connection types and form-factors for the 10K sites included in the dataset, or is the selection of form-factors and connection-types to include a random sampling?

Thanks @igrigorik.  That makes sense.

@pmeenan I think this is done. Can we close it?

I think we're still configuring connections to cable speeds. Leaving this issue open and transferring to the new repo.


Unnecessary indentation for a commented block of code

In PR https://github.com/rust-lang-nursery/rustfmt/pull/2925 an integration test on the packed_simd code base failed with the following:
Diff in /home/yfful/documents/code/rustfmt/packed_simd/src/api/from/from_vector.rs at line 18:
         }

         // FIXME: `Into::into` is not inline, but due to
-                                                // the blanket impl in `std`, which is not
-                                                // marked `default`, we cannot override it here with
-                                                // specialization.
-                                                /*
-                                                impl Into<$id> for $source {
-                                                    #[inline]
-                                                    fn into(self) -> $id {
-                                                        unsafe { simd_cast(self) }
-                                                    }
-                                                }
-                                                */
+                                                        // the blanket impl in `std`, which is not
+                                                        // marked `default`, we cannot override it here with
+                                                        // specialization.
+                                                        /*
+                                                        impl Into<$id> for $source {
+                                                            #[inline]
+                                                            fn into(self) -> $id {
+                                                                unsafe { simd_cast(self) }
+                                                            }
+                                                        }
+                                                        */

This can be seen when running cargo fmt --all -- --check against
https://github.com/rust-lang-nursery/packed_simd/commit/1a6450d9f31ad7b42042ca4c18c4b05dff5e75ea
The commented block should not have the extra indentation, i.e., it would be nicer if it were like below:
         }

         // FIXME: `Into::into` is not inline, but due to
         // the blanket impl in `std`, which is not
         // marked `default`, we cannot override it here with
         // specialization.
         /*
         impl Into<$id> for $source {
             #[inline]
             fn into(self) -> $id {
                 unsafe { simd_cast(self) }
             }
         }
         */

duplicate of #2917


Remove trailing spaces

changes
remove trailing spaces
When I was using example I noticed trailing spaces.
So, this PR removes the trailing spaces of json file, README, and others.
examples/with-jest-typescript/src/modules/cars/Overview.tsx also has it, but this time it did not change as tslint error occurs at commit.

@Timer
I was forgotten to a line break, thanks🙌
So, I am wondering which of spaces and
 is common🤔

 is redundant, but I prefer it to spaces.

Spaces will accidentally be removed like you did here.
 is more explicit. 😄


Improves base64 format iOS and updates documentation

Hey,
I think it's more logical to include the header into the base64 format. I also updated the documentation according to the current iOS code (I do not have checked the Android one).

Great! Im glad you added documentation as well. Merged.


Cancel Account

I want the full and complete cancellation of the two accounts below: - You can end any service or charges from today.
<EMAIL_ADDRESS><EMAIL_ADDRESS>The site had problems when I tried to withdraw my credit card when accessing the option "my products" - I cannot cancel following its documentation. So I blocked the card so there will be no more charges, but I need your cancellation too.
The reason is the difficulty implemented with the steps in two factors, keeping me stuck off the site when I needed to carry out a campaign for the company.
That way we are migrating our systems to other services.
Your ticket system is also very confusing, when I try to open a ticket, I'm directed to the FAQ, and in the FAQ when I don't resolve the issue, I go back to the ticket link, getting stuck in a loop without the possibility of opening a ticket.

Hello @danilogo
We're sorry you're having this issue. The documentation team cannot cancel an account. We're sorry you're having issues opening a ticket. You can access support contact options by going to https://support.sendgrid.com and clicking "Trouble Logging in?". From there, you can tell us a little more about your problem without having to log in. Once your ticket is submitted, the support team should be able to help you from there. Thank you for your patience, and we hope this is helpful.
Twilio SendGrid Docs Team

Hello @danilogo
We're sorry you're having this issue. The documentation team cannot cancel an account. We're sorry you're having issues opening a ticket. You can access support contact options by going to https://support.sendgrid.com and clicking "Trouble Logging in?". From there, you can tell us a little more about your problem without having to log in. Once your ticket is submitted, the support team should be able to help you from there. Thank you for your patience, and we hope this is helpful.
Twilio SendGrid Docs Team


feat: annotation layers modal + filters

SUMMARY

[x] Add AnnotationLayerModal component for create/edit functionality
[x] Fix ListView styles
[x] Update annotation layer api to return id field
[x] Add filters

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

[x] Add AnnotationLayerModal_spec
[ ] Update AnnotationLayerList_spec

ADDITIONAL INFORMATION

[ ] Has associated issue:
[x] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #11494 into master will decrease coverage by 10.51%.
The diff coverage is 5.61%.

@@             Coverage Diff             @@
##           master   #11494       +/-   ##
===========================================
- Coverage   66.61%   56.09%   -10.52%
===========================================
  Files         862      408      -454
  Lines       41215    13829    -27386
  Branches     3719     3530      -189
===========================================
- Hits        27454     7758    -19696
+ Misses      13660     5904     -7756
- Partials      101      167       +66

Flag
Coverage Δ

#cypress
56.09% <5.61%> (-0.34%)
:arrow_down:

#javascript
?

#python
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ews/CRUD/annotationlayers/AnnotationLayersList.tsx
4.00% <0.00%> (-80.32%)
:arrow_down:

...ews/CRUD/annotationlayers/AnnotationLayerModal.tsx
5.06% <5.06%> (ø)

...rset-frontend/src/components/ListView/ListView.tsx
77.38% <100.00%> (-21.61%)
:arrow_down:

...uperset-frontend/src/dashboard/util/dnd-reorder.js
0.00% <0.00%> (-100.00%)
:arrow_down:

...rset-frontend/src/dashboard/util/getEmptyLayout.js
0.00% <0.00%> (-100.00%)
:arrow_down:

...et-frontend/src/components/Menu/LanguagePicker.tsx
0.00% <0.00%> (-100.00%)
:arrow_down:

...dashboard/components/resizable/ResizableHandle.jsx
0.00% <0.00%> (-100.00%)
:arrow_down:

.../src/dashboard/util/getFilterScopeFromNodesTree.js
0.00% <0.00%> (-93.48%)
:arrow_down:

...uperset-frontend/src/utils/getClientErrorObject.ts
0.00% <0.00%> (-89.19%)
:arrow_down:

...ntend/src/views/CRUD/annotation/AnnotationList.tsx
3.57% <0.00%> (-88.74%)
:arrow_down:

... and 687 more

Continue to review full report at Codecov.

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


use sone utf8 string literals

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hey @SimonCropp,
sorry for letting this lie. In general it would be great to first outline the work that you want to do in an issue. Since you touched the parser this needs to go to our benchmark machines. I will issue tests next week. I know that the change you have done should not in general change perf characteristics but we do it nevertheless always when these parts are touched.
Results will be posted by the bot later here.
Also you need to sign the CLA for this to move along. Have a look at the message from the CLA bot... should take no more than 2 minutes.

Also, thank you for contributing :)

@michaelstaib Any updates on the benchmarks?


[Bug] when i try downloading the Aplatformindicators, it crash and keeps crash looping

Before Reporting

[X] I found no existing issues matching my bug
[X] My issue is not caused by a plugin or theme

Describe the Bug
when i enable platform indicator, it crashes and keeps crashing
Expected Behavior
it crashed
Steps To Reproduce
ed
Operating System
Windows
Discord Version
Stable
BetterDiscord Version
latest Version
Anything else?

This is not an issue that should be posted on this repo. The problem is with the plugin, and is actually known to the dev of said plugin. The #known-issues channel of the support server even has a post saying this plugin is causing crashes.

But how do fix it
Well, stop trying to use that plugin while its broken? There is an update pending approval for it so you can wait for that.


One question about pretrained model of vgg19

I used the model vgg19 without norm or dropout and load  official state_dict. When i test one image, it returns the different label。However, when i set model.eval(), it return one result. I want to know the explaination hehind it.

i find the drpout in classifier,cry,cry


Paginating returns _page as string

When paginating (eg. /todo?page=2) the "_page" is returned as string not int.
Code to reproduce the issue
curl -XGET http://localhost:8080/todo?page=2

Expected results
{
    "_total_items": 30,
    "_page": 2,
    "_page_count": 2,
}

Actual results
{
    "_total_items": 30,
    "_page": "2",
    "_page_count": 2,
}

Writing a PR and will submit soon.

Honestly, this is likely because all data from query string parameters are strings. I'm open to casting, though, and will evaluate #12.


Create Sidewalks across Santa Clara County

One of the VTA's goals is to do pedestrian network analysis.  We started with tagging sidewalks to highways but we will probably go in the direction of adding sidewalk geometries instead.
We will make a tasking manager public for this project.

A tasking manager has been created for this project.  But I realized there is very decent sidewalk data for a number of different cities in the county.  First step will be importing these cities in an orderly, community responsible fashion.  We are working on this at the VTA.  More details to come.

There are parallel projects to do Pedestrian network analysis at both the City of San Jose as well as SJSU GIS.  I'm making getting some imports done and cleaning them up with a task manager high priority.

I created an import project for San Jose:
http://tasks.openstreetmap.us/project/127
It's super fun!

Stage 1:

[ ] Finish San Jose Sidewalks Import Project

Stage 2:

[ ] Set up a project and add sufficient crossings to the network

Stage 3:

[ ] Attain sufficient mapillary coverage of the area, especially where sidewalks appear incomplete.
[ ] Ground truth and check sidewalks, crossings.
[ ] Figure out computational ways to determine gaps in the San Jose network

We are currently finishing Stage 1 of the project.


The demo "Entity Dialog as Panel" DetailsList Control cann't display

http://serenity.is/demo/BasicSamples/EntityDialogAsPanel/11077
the Order Details list col Quantity/Discount/Line Total cann't display value.
How to Solve?
it is normal in the gird form dialog.

See
https://github.com/volkanceylan/Serenity/issues/1962
Best Regards


C++ Exception

Hello,
I keep getting exception crashes, I've reinstalled and reset my save to test a few times, but they seem to keep coming back.
crash.txt
I'm not 100% sure if it's IreNFist's fault, because I'm not entirely sure what to make of the crashlog, which is the same every time.
Only active BLT mods are IreNFist and HoldTheKey.
I'm going to try to wipe my payday clean one more time to see if it crops up again after that, but I figured I'd make a report. I'll report back if another reinstall seems to fix it or if it happens again.
Thanks for picking the mod up again. :)

Reinstall did not work. Again, only SuperBLT, Beardlib and IreNFist are installed.
crash.txt

Hey, and sorry for the late response! I was actually tracking this issue down myself. I believe it should now be fixed, can you test?

@Vitaenon Hey, and sorry for the late response! I was actually tracking this issue down myself 2 days ago. I believe it should now be fixed, can you test that?

Confirmed fixed.


presets: ['env'] being ignored

I found a weird bug (maybe?) and I thought I'd submit it as an issue in case others are having similar problems.
Gulp setup like so:
.pipe(
  babel({ presets: ['env'] })
    .on('error', handleError)
)

My babel config within package.json seems to be ignored.
"babel": {
  "presets": [
    ["env", {
      "targets": {
        "chrome": 54
      }
    }]
  ]
}

However once I update Gulp with:
.pipe(
  babel()
    .on('error', handleError)
)

the env config works. ¯_(ツ)_/¯
Still not sure if it's a bug or a mistake on my part.

I would check your package.json to see if babel settings are defined there. The presets in package.json may override the settings you fed to the babel function in Gulp.

@zhawkins & @nmiddendorff
Preset env was again renamed into @babel/preset-env.
Be sure to have this new packages in package.json:
        "@babel/cli": "^7.0.0-beta.41",
        "@babel/core": "^7.0.0-beta.41",
        "@babel/preset-env": "^7.0.0-beta.41",

@WuglyakBolgoink That's only for Babel 7, the issue is old so it's probably unrelated since the OP didn't specify the version.


Activity log

Is there support of activity log?
I would like to get the name of the device that lock/unlock the door.
While searching the web I saw that authorizationName is the value that use by the Nukihub components but I couldn’t find documentation on the esphome version

Are you still looking for log support?
Would be nice to have someone testing the new feature.

Yes I am still need itShai Zissoב-26 באוק׳ 2024, בשעה 21:59, Flo @.***> כתב/ה:
Are you still looking for log support?
Would be nice to have someone testing the new feature.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Okay so lets give the auth-logs branch a shot.
esphome:
  libraries:
  - Preferences
  - https://github.com/h2zero/NimBLE-Arduino#1.4.0
  - Crc16
  - https://github.com/uriyacovy/NukiBleEsp32

external_components:
  - source: github://AzonInc/ESPHome_nuki_lock@feature/auth-logs

I guess this can be closed as the changes have been merged :)


Incompatible with Pydantic 2

Any attempt to import DualBaseModel into application code results in:
     testpd.py", line 3, in <module>
    from pydantic_duality import DualBaseModel
  File "site-packages/pydantic_duality/__init__.py", line 22, in <module>
    from pydantic.main import ModelMetaclass
ImportError: cannot import name 'ModelMetaclass' from 'pydantic.main'

Using:
pydantic                                 2.7.4
pydantic_core                            2.18.4
pydantic-duality                         1.2.0
pydantic-settings                        2.3.2

Yup! I'm adding the compatibility soon but it's not there yet.

Released in pydantic-duality==2.0.0. Please, have a look


Horizon should use PostgresTempSet

Horizon should use PostgresTempSet created in #1539 instead of MemoryTempSet to lower memory requirements.

Closed in #1568.


Add support for the prompt parameter in Salesforce

As described, would be really useful to add a prompt parameter to force the user to re-authorize, especially if the user has multiple Salesforce logins.

:+1: great stuff, thanks :)

@jerriep thanks for merging :)
Could there be a new release soon so my project can make use of these changes with the nuget package?
Cheers!

Sure, I pushed new version (1.22.1) to Nuget for you

Thanks a bunch :)


Extension causes high cpu load

Issue Type: Performance
Extension Name: python
Extension Version: 2019.9.34911
OS Version: Windows_NT x64 10.0.18362
VSCode version: 1.38.1

:warning: Make sure to attach this file from your home-directory:
:warning:C:\Users\montc\ms-python.python-unresponsive.cpuprofile.txt
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

Please upload ms-python.python-unresponsive.cpuprofile.txt and we can reopen the issue.


Update numba

Description
https://github.com/numba/numba/issues/5035

Job PR-1096/1 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-1096/1/index.html

Thanks for the fix!


Prevent a new instance of the app from running when protocol is clicked

When using this on desktop, it creates a new instance when my protocol is called instead of updating what already exists. My current setup is as below:
bool _initialUriIsHandled = false;

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();

  if (!kIsWeb && Platform.isWindows) {
    registerProtocol('tel');
  }

  runApp(MyApp());
}

class _MyAppState extends State<MyApp> with SingleTickerProviderStateMixin {
  String _initialUri = '';
  Uri? _latestUri;
  Object? _err;

  StreamSubscription? _sub;

  final _scaffoldKey = GlobalKey();

  @override
  void initState() {
    super.initState();
    _handleIncomingLinksTest();
    _handleInitialUriTest();
  }

  @override
  void dispose() {
    _sub?.cancel();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    final queryParams = _latestUri?.queryParametersAll.entries.toList();
    print(_latestUri.toString());
    print(_initialUri.toString());
    print("\n\n\n");

    return MultiBlocProvider(
        providers: [
             ...
        ],
        child: MaterialApp.router(
            title: 'My App',
            routerConfig: router,
            debugShowCheckedModeBanner: false,
            theme: ThemeData(
              textTheme: GoogleFonts.soraTextTheme(),
              primarySwatch: Colors.blue,
              bottomSheetTheme: BottomSheetThemeData(
                  backgroundColor: Colors.black.withOpacity(0.3)),
            ),
            builder: (BuildContext ctx, child) {
             if (_latestUri != null || _latestUri.toString().isNotEmpty) {
                   print(_latestUri);
                   phoneNumber = _latestUri.toString();
                } else if (_initialUri != null || _initialUri.isNotEmpty) {

                   print(_initialUri);
                   phoneNumber = _initialUri;
                 }

                 // send phone number to cubit

              return Scaffold(key: _scaffoldKey, body: child);

My main.cpp, following issue #6
 HWND hwnd = ::FindWindow(L"FLUTTER_RUNNER_WIN32_WINDOW", L"app");

Where app is the name of my project

I figured it out. The problem here was relatively simple. My main.cpp file was as above, but then my window.Create proceeded to have a different application name
 HWND hwnd = ::FindWindow(L"FLUTTER_RUNNER_WIN32_WINDOW", L"app name");
 ...

 if (!window.Create(L"app name", origin, size))

I am closing this issue as this was an error on my end.


Seed with custom column type of string fails with boolean like seed values

Issue
Issue description
Seeding fails to treat a boolean-like string as a varchar even when specified.
I have the following seed file:
true_is_correct,is_correct,choice_body
true,true,"True"
true,false,"False"
false,true,"False"
false,false,"True"

With the following config in dbt_project.yml:
seeds:
  project_name:
    enabled: true
    seed_file_name:
      column_types:
        choice_body: varchar(5)

Results
dbt seed errors on this file with:
Database Error in seed seed_file_name (data/seed_file_name.csv)
  column "choice_body" is of type character varying but expression is of type boolean
  HINT:  You will need to rewrite or cast the expression.

I expect this to seed properly.
System information

dbt 0.11.0
Mac OS X 10.13.6 (17G65)
Python 2.7.10
Redshift

Steps to reproduce
Sample seed file and config above.

Thanks for the report @ianterrell - we'll take a look!

@drewbanin Hi Drew, we're experiencing the same issue: dbt implicitly processes values from the seed files before it loads it to a seed table, so even if data type of the column is specified via column_types (e.g. VARCHAR(50)), the values will be changed (e.g., leading zero is going to be stripped, if dbt thinks that values in that column are integers, not strings). Are there any plans to to fix this? Thanks in advance!

hey @borisuvarov - thanks for the update. dbt doesn't do any of this type inference itself. Instead, the work is outsourced to a library called agate.
I 100% agree with you that dbt's behavior in these situations is incorrect and suboptimal, but I haven't yet been able to figure out a good way to make this work.
One option is to use column_types to specify both the database type, and the python type. That could look like:
column_types:
  some_field:
    sql: varchar(100)
    type: string

^ I don't at all like that syntax, but I think we need both of these pieces of information! I would like to get this working at some point, but we don't plan on prioritizing a fix for this in the near future.  If you have good ideas for how this could work, I'd love to hear them!

Thanks @drewbanin!
Adding a type should help in most cases. But it's also worth to try to figure out how to (optionally) leverage native COPY (Redshift), COPY INTO (Snowflake), etc. DML commands, which loads a CSV file without any transformations of values in Python.

Going to close this - it may still be an issue, but we're largely at the behest of Agate for seed types. Happy to discuss / reopen if anyone feels strongly about it!


refactor(Format):

What does this change?
refactor!(Format): use objects instead of enums
using the as const assertion gives the same level
of type-safety as enums.
Why?
There are strange strange quirks with typescript enums, which yield an object with both keys as keys and keys as values.
For example, enum { A, B } yields:
{
 A: 0,
 B: 1,
 "0": "A",
 "1": "B",
}

Coverage decreased (-0.01%) to 99.796% when pulling d2ab0ca6113289e670ae2038fb0edaa84c620b59 on mxdvl/format-no-enums into feb83462c364dc60d8bfe2b5f81d5e20fcebd089 on main.

Not sure if this is needed yet… might revisit in the future.


Open Source In Business

Description:
Open Source In Business will discuss how businesses can benefit from open-source software with examples(list open-source software that helps businesses) and how businesses can contribute to open source.

Write a Script - Check out the samples and use this template
Create a Slide deck - Find a sample here, and use this template
Record a video - Sample

Additional context

Kindly go through the ReadMe.md file.
Contributing.md file contains information that will help you get started
Choose your preferred background for your video recording.

Hi @peculiaruc , can you assign this to me?

Hi @Giftea  Are you able to complete this issue before the end of this month?

Yes, I'm almost done @peculiaruc

Yes, I'm almost done @peculiaruc

That's amazing. 👍

Thank you for contributing to the Education Project


Create decentralized-breakfast-by-fluence-fil

Check our Decentralized breakfast, please

Your pull request has been merged!


Tolerant attendance importer [unblock New Bedford attendance import]

Who is this PR for?
New Bedford Public Schools.
What does this PR fix?
Blocked New Bedford attendance import as described in https://github.com/studentinsights/studentinsights/issues/1371#issuecomment-360859776 and https://github.com/studentinsights/studentinsights/issues/1371#issuecomment-360864063.
What does this PR do?
Makes the attendance importer tolerant of invalid rows. Instead of blowing up when it hits the first invalid row, the attendance importer skips those rows, and keeps a count of invalid rows plus error messages.
This will also be beneficial to the Somerville app, because it will produce a more detailed report of how the attendance export file is getting parsed and how many invalid rows are in the file.
Checklist

[x] QA attendance import process for Somerville Public Schools

GIF
New attendance import command line interface:

The row counts for the CsvTransformer are a bit broken because the StreamingCsvTransformer doesn't know the total number of rows until it has streamed all the rows. I think that's fine for now, shipping New Bedford is more important than making the command line interface gorgeous.
Somerville attendance import looks ✅ , I also have GIFs of New Bedford attendance import using this branch in #1440.

selfie 🚢

Manually kicking off an attendance-only import for New Bedford.

Summary from attendance import filtered to our two pilot schools in New Bedford:
7052 valid rows imported, 1818 invalid rows skipped

Invalid attendance rows summary: {
{:student=>["can't be blank"]}=>168,
"Neither absence nor tardy"=>1650
}


Adding output variable to docker tasks

Important, this pull request is obsolete, please see https://github.com/Microsoft/vsts-tasks/pull/4005
Dear all, since chaining docker commands is not possible like it would be in the normal command line with docker rmi $(docker images -aq) for example, I have added an output variable to docker commands.
That way you can add 2 seperate docker commands that provide input to eachother.

Also see some StackOverflow posts from me and other people who are running into issues due to this:

http://stackoverflow.com/questions/42853895/removing-unused-docker-images-on-a-remote-linux-azure-hosted-docker-instance-giv
http://stackoverflow.com/questions/41957314/command-nesting-in-vsts-tfs

Hi all, is there any update on merging this into the repository?

test

Sorry for the delay. The VSTS team is in the midst of moving the Docker and Docker Compose tasks out of this repo and into the set of built-in VSTS tasks which are stored in this repository. If you'd like to suggest changes to these tasks, you can do so in that repository instead. Hopefully the migration will be complete soon and those tasks will be removed from this repo (the Docker Deploy task will remain here for now).

I'm currently trying to apply my changed to the repository you linked, however, I can't find much  guidance on testing my scripts.
Is it possible to only build the VSTS Docker task and create a package from that and deploy that to VSTS? (Basically doing the same as I did with the VSTS Docker repository)?

I haven't personally contributed to the main vsts-tasks repo. There is this which I'm guessing you found already, but if not, it provides some useful information on how to contribute including single task build and test.

Yep I found that and managed to upload a task to my own VSTS :)


Layout visual test fails

http://localhost:8000/util/layout.html

Uncaught TypeError: Cannot read property 'defaultView'

At this line:
https://github.com/ScottLogic/d3fc/blob/7b71aec0223d850e5d4489ecb8dd18d4f6e4cedb/src/util/innerDimensions.js#L3
If we had #569 we could have picked this up via CI

That's passing for me @ 7b989c6715fc26e3e751ba085bd9a08651a7da58
On Wed, 30 Sep 2015 at 15:16 Colin Eberhardt<EMAIL_ADDRESS>wrote:

http://localhost:8000/util/layout.html
Uncaught TypeError: Cannot read property 'defaultView'
At this line:
https://github.com/ScottLogic/d3fc/blob/7b71aec0223d850e5d4489ecb8dd18d4f6e4cedb/src/util/innerDimensions.js#L3
If we had #569 https://github.com/ScottLogic/d3fc/issues/569 we could
have picked this up via CI
—
Reply to this email directly or view it on GitHub
https://github.com/ScottLogic/d3fc/issues/577.

(in chrome)
On Wed, 30 Sep 2015 at 15:48 Chris Price<EMAIL_ADDRESS>wrote:

That's passing for me @ 7b989c6715fc26e3e751ba085bd9a08651a7da58
On Wed, 30 Sep 2015 at 15:16 Colin Eberhardt<EMAIL_ADDRESS>wrote:

http://localhost:8000/util/layout.html
Uncaught TypeError: Cannot read property 'defaultView'
At this line:
https://github.com/ScottLogic/d3fc/blob/7b71aec0223d850e5d4489ecb8dd18d4f6e4cedb/src/util/innerDimensions.js#L3
If we had #569 https://github.com/ScottLogic/d3fc/issues/569 we could
have picked this up via CI
—
Reply to this email directly or view it on GitHub
https://github.com/ScottLogic/d3fc/issues/577.

It was a bug in the tests, fixed in #581


Left/Right button on icon tray

Hello
Is it possible to take the good practice from old Tomboy, with left click giving a dropdown list of latest used notes (meaning last accessed, not necesseraily latest created) + create new, and righ button accessing the menu as it is today ?

No, unfortunately not.  Its all because the definition of what can be in the system tray has changed. The Gnome developers ran a campaign against the System Tray claiming it was causing screen clutter. About five years ago IIRC, Gnome stopped supporting it altogether and they keep making changes that block it.  At the time Ubuntu was developing its ill fated Unity interface and they were a bit more moderate and introduced the AppIndicator, its what most distros use now. It only responds with one menu, in different systems it might be the left or right button ! I have mapped tomboy-ng to respond to either but various desktops get to override that.
Strict Gnome distributions like RedHat Fedora completely block anything that looks like a System Tray, I sure would not use Fedora for that reason alone. There are some distros out there that do still support the tradional System Tray but they are based on old code and are few and far between.
Rather ironically, I can still do the full System Tray thing in Windows or Mac !
Davo

In Cinnamon, provided by most distro, they support great tray icons

Yep, but most linux users use Gnome3.  Redhat in particular, not surprising given that they are, to some extent, the Gnome Developers !  But even Ubuntu and OpenSUSE, default desktop is Gnome3 !  Between those three, thats probably three quarters of Linux users.
(Not me by the way, I use Mate and it works quite well with the system tray icon too.)
Davo

Then maybe you can do a submenu.
So Notes are available right away, and settings/etc... goes in a submenu not disturbing ?

Is that because you believe the menu is too long ?  It has 18 entries, to most recent notes and 8 'system' functions.
Help is already a submenu, if we make the system things a sumbent, we end up with three tiers, maybe thats a bit too complicated ?

From a user perspective, the menu shall be (similar to old Tomboy):

New note
Search
Submenu to all other fnunction (about, sync, settins, help, quit, ...)
Recent notes

I will determine just what it shall be.
The Tomboy main menu changed a number of times during it's life.  I choose to deliver it like it is now. It stays that way.

Closed


add new POST /choir/songpart/upload API call for issue #63

generates presigned URLs to allow upload of song parts directly from front-end to COS

If going live with this, requires new environment variables:
COS_ACCESS_KEY_ID = 'xxxx'
COS_ACCESS_KEY_SECRET = 'yyy'
COS_ENDPOINT = 's3.eu-gb.cloud-object-storage.appdomain.cloud'
COS_REGION = 'eu-gb'
COS_DEFAULT_BUCKET = 'choirless-videos-raw'

set up env variables on live


Build from source -> build the pip package -> GPU support -> bazel build -> ERROR: Config value cuda is not defined in any .rc file

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: NA
TensorFlow installed from (source or binary): Source
TensorFlow version: v1.12.0-rc2
Python version: Python 3.7.0
Installed using virtualenv? pip? conda?: conda 4.5.11
Bazel version (if compiling from source): 0.19.0
GCC/Compiler version (if compiling from source): GCC 7.2.0
CUDA/cuDNN version: 10.0 / 7.3.1
GPU model and memory: nvidia GTX 1070 / 8GB

Describe the problem
Got error while building pip package from source
ERROR: Config value cuda is not defined in any .rc file
Provide the exact sequence of commands / steps that you executed before running into the problem
gopi@gp:~/tensorflow$ ./configure
WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:
/home/gopi/tensorflow/tools/bazel.rc
WARNING: Running Bazel server needs to be killed, because the startup options are different.
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown".
You have bazel 0.19.0 installed.
Please specify the location of python. [Default is /home/gopi/anaconda3/bin/python]:
Found possible Python library paths:
/home/gopi/anaconda3/lib/python3.7/site-packages
Please input the desired Python library path to use.  Default is [/home/gopi/anaconda3/lib/python3.7/site-packages]
Do you wish to build TensorFlow with Apache Ignite support? [Y/n]: n
No Apache Ignite support will be enabled for TensorFlow.
Do you wish to build TensorFlow with XLA JIT support? [Y/n]: n
No XLA JIT support will be enabled for TensorFlow.
Do you wish to build TensorFlow with OpenCL SYCL support? [y/N]: N
No OpenCL SYCL support will be enabled for TensorFlow.
Do you wish to build TensorFlow with ROCm support? [y/N]: N
No ROCm support will be enabled for TensorFlow.
Do you wish to build TensorFlow with CUDA support? [y/N]: y
CUDA support will be enabled for TensorFlow.
Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 9.0]: 10.0
Please specify the location where CUDA 10.0 toolkit is installed. Refer to README.md for more details. [Default is /usr/local/cuda]:
Please specify the cuDNN version you want to use. [Leave empty to default to cuDNN 7]:
Please specify the location where cuDNN 7 library is installed. Refer to README.md for more details. [Default is /usr/local/cuda]:
Do you wish to build TensorFlow with TensorRT support? [y/N]: N
No TensorRT support will be enabled for TensorFlow.
Please specify the NCCL version you want to use. If NCCL 2.2 is not installed, then you can use version 1.3 that can be fetched automatically but it may have worse performance with multiple GPUs. [Default is 2.2]: 1.3
Please specify a list of comma-separated Cuda compute capabilities you want to build with.
You can find the compute capability of your device at: https://developer.nvidia.com/cuda-gpus.
Please note that each additional compute capability significantly increases your build time and binary size. [Default is: 6.1]:
Do you want to use clang as CUDA compiler? [y/N]: N
nvcc will be used as CUDA compiler.
Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/bin/gcc]:
Do you wish to build TensorFlow with MPI support? [y/N]: N
No MPI support will be enabled for TensorFlow.
Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native]:
Would you like to interactively configure ./WORKSPACE for Android builds? [y/N]: N
Not configuring the WORKSPACE for Android builds.
Preconfigured Bazel build configs. You can use any of the below by adding "--config=<>" to your build command. See tools/bazel.rc for more details.
--config=mkl         	# Build with MKL support.
--config=monolithic  	# Config for mostly static monolithic build.
--config=gdr         	# Build with GDR support.
--config=verbs       	# Build with libverbs support.
--config=ngraph      	# Build with Intel nGraph support.
Configuration finished
gopi@gp:~/tensorflow$ bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package
WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:
/home/gopi/tensorflow/tools/bazel.rc
Starting local Bazel server and connecting to it...
INFO: Options provided by the client:
Inherited 'common' options: --isatty=1 --terminal_columns=204
INFO: Reading rc options for 'build' from /home/gopi/tensorflow/.tf_configure.bazelrc:
'build' options: --action_env PYTHON_BIN_PATH=/home/gopi/anaconda3/bin/python --action_env PYTHON_LIB_PATH=/home/gopi/anaconda3/lib/python3.7/site-packages --python_path=/home/gopi/anaconda3/bin/python --action_env TF_NEED_OPENCL_SYCL=0 --action_env TF_NEED_ROCM=0 --action_env TF_NEED_CUDA=1 --action_env CUDA_TOOLKIT_PATH=/usr/local/cuda --action_env TF_CUDA_VERSION=10.0 --action_env CUDNN_INSTALL_PATH=/usr/local/cuda-10.0 --action_env TF_CUDNN_VERSION=7 --action_env TF_NCCL_VERSION=1 --action_env TF_CUDA_COMPUTE_CAPABILITIES=6.1 --action_env LD_LIBRARY_PATH=:/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64 --action_env TF_CUDA_CLANG=0 --action_env GCC_HOST_COMPILER_PATH=/usr/bin/gcc --config=cuda
ERROR: Config value cuda is not defined in any .rc file
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

This is an issue with bazel 0.19.0, either use bazel 0.18.0, or follow the warning message:
WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files:
/home/gopi/tensorflow/tools/bazel.rc
and add the contents of that file to your .tf_configure.bazelrc

Thanks William :)
Using the same version of bazel 0.19.0, Added the content of file "/home/gopi/tensorflow/tools/bazel.rc" on top of (hidden) file "/home/gopi/tensorflow/.tf_configure.bazelrc" & build happens.

build tensorflow 1.11.0 I have do this,in source file  add context "
import /home/ai/ver/tensorflow-r1.11/tools/bazel.rc " on top line of(hide file) "/home/ai/ver/tensorflow-r1.11/.bazelrc "  and not .tf_configure.bazelrc

build tensorflow 1.11.0 I have do this,in source file add context "
import /home/ai/ver/tensorflow-r1.11/tools/bazel.rc " on top line of(hide file) "/home/ai/ver/tensorflow-r1.11/.bazelrc " and not .tf_configure.bazelrc

This worked for me too. Thanks !

tensorflow

how is this ? A example pls ....

Or edit the .bazel.rc file in-place with sed:
sed -i -E 's#\.tf_configure\.bazelrc#tools/bazel.rc#' .bazelrc

I can't find .tf_configure.bazelrc when it should appear?

@mrgloom, .tf_configure.bazelrc is created by running ./configure
Your answers from ./configure are stored in .tf_configure.bazelrc

Thanks William :)
Using the same version of bazel 0.19.0, Added the content of file "/home/gopi/tensorflow/tools/bazel.rc" on top of (hidden) file "/home/gopi/tensorflow/.tf_configure.bazelrc" & build happens.

how can I find hidden file .tf_configure.bazelrc?

Thanks William :)
Using the same version of bazel 0.19.0, Added the content of file "/home/gopi/tensorflow/tools/bazel.rc" on top of (hidden) file "/home/gopi/tensorflow/.tf_configure.bazelrc" & build happens.

OK，I' known，use “ls -a” to see hidden file ，thank you


Allow the use of Flake8 plugins

Flake8 has a plugin system. There are a lot of useful plugins.
Flake8 extension has no instructions about how to use plugins in my code. It looks like it isn't possible, or I that I have to use the flake8 install from the environment.

@pauloneves You can install plugins into your environment and use import strategy as fromEnvironment. We only ship flake8 out of the box. So, you will need to install the plugins in your environment to get the best experience.
Additionally, you can also try the Ruff extension. It uses ruff which has several flake8 plugins implemented in rust for high performance linting.
@luabud we might need a section in the docs explaining this.

Yes, it would work with the fromEnviroment, but I really like the bundled
Flake8, It is not easy to make my colleagues use Static Analysis and Code
formatting tools. We have an requirements-dev.txt with some tools, but we
depend on the developers installing them.
An option to use the Flake8 plugins with the extensions would be nice.
Sure, the documentation can be improved.
On Wed, May 29, 2024 at 1:54 PM Karthik Nadig @.***>
wrote:

@pauloneves https://github.com/pauloneves You can install plugins into
your environment and use import strategy as fromEnvironment. We only ship
flake8 out of the box. So, you will need to install the plugins in your
environment to get the best experience.
Additionally, you can also try the Ruff extension. It uses ruff which has
several flake8 plugins implemented in rust for high performance linting.
@luabud https://github.com/luabud we might need a section in the docs
explaining this.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-flake8/issues/318#issuecomment-2137866534,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABV7HAOCVDWCID2MPJWR4DZEYB4HAVCNFSM6AAAAABIPIQ5NWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZXHA3DMNJTGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Paulo Eduardo Neves

I answered my own question on StackOverflow
I don't know why it was downvoted, but I believe somebody may find it useful in the future.