Multiple icons in the Dock

There are multiple icons in the Dock when one is pinned and the other one appeared by Cmd+click on a txt in a terminal. .desktop files have StartupNotify=true switch for such situations. There must be a similar one for .plist.

macOS 10.12.3
% mvim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Feb  3 2017 19:09:12)
MacOS X (unix) version
Included patches: 1-297
Compiled by Homebrew
Huge version with MacVim GUI.  Features included (+) or not (-):
+acl             +find_in_path    -mouse_sysmouse  -tag_any_white
+arabic          +float           +mouse_urxvt     +tcl
+autocmd         +folding         +mouse_xterm     +termguicolors
+balloon_eval    -footer          +multi_byte      +terminfo
+browse          +fork()          +multi_lang      +termresponse
++builtin_terms  +fullscreen      -mzscheme        +textobjects
+byte_offset     -gettext         +netbeans_intg   +timers
+channel         -hangul_input    +num64           +title
+cindent         +iconv           +odbeditor       +toolbar
+clientserver    +insert_expand   +packages        +transparency
+clipboard       +job             +path_extra      +user_commands
+cmdline_compl   +jumplist        +perl            +vertsplit
+cmdline_hist    +keymap          +persistent_undo +virtualedit
+cmdline_info    +lambda          +postscript      +visual
+comments        +langmap         +printer         +visualextra
+conceal         +libcall         +profile         +viminfo
+cryptv          +linebreak       +python          +vreplace
+cscope          +lispindent      -python3         +wildignore
+cursorbind      +listcmds        +quickfix        +wildmenu
+cursorshape     +localmap        +reltime         +windows
+dialog_con_gui  -lua             +rightleft       +writebackup
+diff            +menu            +ruby            -X11
+digraphs        +mksession       +scrollbind      -xfontset
+dnd             +modify_fname    +signs           +xim
-ebcdic          +mouse           +smartindent     -xpm
+emacs_tags      +mouseshape      +startuptime     -xsmp
+eval            +mouse_dec       +statusline      -xterm_clipboard
+ex_extra        -mouse_gpm       -sun_workshop    -xterm_save
+extra_search    -mouse_jsbterm   +syntax
+farsi           +mouse_netterm   +tag_binary
+file_in_path    +mouse_sgr       +tag_old_static
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/Applications/MacVim.app/Contents/Resources/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe  -DMACOS_X_UNIX  -F/usr/local/opt/python/Frameworks -I/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/include/python2.7 -fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang   -L. -L/usr/local/lib -L. -L/usr/local/lib -F/usr/local/opt/python/Frameworks -L/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -lpython2.7 -framework CoreFoundation -L/usr/local/lib -o Vim -framework Cocoa -framework Carbon       -lm  -lncurses -liconv -framework Cocoa   -fstack-protector  -L/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -lperl -F/usr/local/opt/python/Frameworks -framework Python  -F/System/Library/Frameworks -framework Tcl -framework CoreFoundation -framework Ruby

It sounds you have multiple MacVim.app. Can you confirm that you have only one using find / -name MacVim.app?

Yes, I can confirm. The exact repro:

Open iTerm, make it print any path (for example with greadlink -f ~/.gitconfig)
Use Cmd+click to open the text file in MacVim.

I can't repro this. Can you paste the result of ps auxww|grep MacVim?

I forgot to add that before doing this one instance should be pinned to the Dock. I mean, just launch MacVim, right mouse button -> Options -> Keep in Dock, then Cmd+Q. And then the repro.
Output when none of those are running:
2642   0.3  0.0  2443044    816 s000  S+    5:18PM   0:00.00 grep --color=auto MacVim

Output when I do the repro and leave the text file being opened:
2891   0.0  0.0  2423384    228 s000  R+    5:20PM   0:00.00 grep --color=auto MacVim
2878   0.0  0.2  2537004  13396   ??  Ss    5:20PM   0:00.36 /usr/local/Cellar/macvim/8.0-126/MacVim.app/Contents/MacOS/Vim -g -f -p /Users/alexey/.gitconfig
2873   0.0  0.9  2841148  71736   ??  S     5:20PM   0:00.67 /usr/local/Cellar/macvim/8.0-126/MacVim.app/Contents/MacOS/MacVim

Output after I Cmd+Q on the window with the text file opened is similar to the first one.

Could you try these steps?
$ killall -9 MacVim
$ killall -9 Vim

Remove all MacVim icons from dock. Then launch MacVim by cmd+click-ing on iTerm. And select "Keep in Dock" on the launched MacVim icon on Dock. And launch MacVim by cmd+click-ing on iTerm again.

This works great now, thank you. Opening a file either way uses the same icon.


[$500] Login - After opening public room and killing app user stuck on login page & back icon shown

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

Version Number: 1.4.31-4
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4228315
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Navigate to a public room via deeplink, e.g. https://staging.new.expensify.com/r/5408450846930023
Kill the app
Open the app again
Log in with any email address

Expected Result:
The back icon is no longer displayed and user is able to log in
Actual Result:
The back icon is displayed and it is not functioning. When user is trying to log in, user is stuck on the sign page with the "Incorrect magic code" message. After restarting the app, user is logged in
Workaround:
Unknown
Platforms:

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

[x] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/36aeb18a-8f51-4cb0-9e3c-94a15d46a294
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01434d068cd2fd6a96
Upwork Job ID:<PHONE_NUMBER>969820160
Last Price Increase: 2024-01-25
Automatic offers:

jjcoffee | Reviewer | 28131302
bernhardoj | Contributor | 28131303

Proposal
Please re-state the problem that we are trying to solve in this issue.
As anonymous user, closing and reopening the app will show a sign in page/modal, but the back button isn't functional.
What is the root cause of that problem?
When we open the app, openReportFromDeepLink will always be called, but with a null url, because we didn't do any deeplink. If we open it as an anonymous user, it will check whether the URL can be accessed by the user or not.
https://github.com/Expensify/App/blob/0d0b0a8c9b073c30a9b54de15066789d17f7c718/src/libs/actions/Report.ts#L2068-L2071
https://github.com/Expensify/App/blob/0d0b0a8c9b073c30a9b54de15066789d17f7c718/src/libs/actions/Session/index.ts#L114-L115
Because it's null, canAccessRouteByAnonymousUser will return false and will be redirected to the sign in page. Notice that we pass true to the param which will replace the current screen with the sign-in screen. So, the LHN is replaced with the sign-in page making it impossible to go back.
What changes do you think we should make in order to solve the problem?

If the url is null, return early.
if (!url) return

Reviewing tomorrow!

Happy to go with @bernhardoj's proposal here. It seems pretty clear that this is just a missed case from https://github.com/Expensify/App/pull/29248 (see here), where they weren't expecting to have to handle a null route.
:ribbon::eyes::ribbon: C+ reviewed

PR is ready
cc: @jjcoffee

Hi @jjcoffee - Could you work through the checklist for this one?

The PR that introduced the bug has been identified. Link to the PR: https://github.com/Expensify/App/pull/29248
The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: https://github.com/Expensify/App/commit/ce653159b75e12465402d199712bd2e02e9f4a37#r138568449
A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A - just a missed test case
Determine if we should create a regression test for this bug. Yes
If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.

Regression Test Proposal

Log out
Open a public room as anonymous user (deep link)
Close and reopen the app or on web go directly to staging.new.expensify.com
Verify the LHN is shown with the public room visible
Verify the sign in button works

Do we agree 👍 or 👎

Payment summary:

Contributor: @bernhardoj $500 (paid in Upwork)
Contributor+: @jjcoffee $500 (paid in Upwork)

Submitted regression test request. Closing this one out :)


Wordpress shortcode for embedding

https://twitter.com/byuhobbes/status/380426983772930049

We have "image link" (PNG) embedding now, as well as support for oEmbed/Open Graph/Twitter Card: https://asciinema.org/docs/embedding


Consider migrating to TypeScript

What
Consider migrating all codebase to TypeScript.
Why
Especially with larger, multi-package projects Flow has some drawbacks over TypeScript:

sharing of type definitions is cumbersome (Flow cannot export type definitions of libraries)
flow type definitions are checked into the repository and bloat pull-requests
fewer type definitions for third-party modules exist
flow-check is slow
Only Atom provides comprehensive type checking in a text editor

Notes
Existing Flow-typed projects can use TypeScript definitions using https://github.com/joarwilk/flowgen.

Closed in https://github.com/zalando-incubator/tessellate/pull/96


Profile mission

In this pull request, I will display joined missions on the profile page.

Learning objectives :

[X] Render a list of all joined missions (use filter()) on the "My profile" page.

GH


Add ecosystem link to juttle-client-library.

Add an ecosystem section to each README to show its part in the
overall architecture.
Also this README was empty, so add a minimal Introduction section that
copies the brief description from the ecosystem page.
@go-oleg @mnibecker

lgtm


0.19 Item stash opportunities for advanced tech items

Just got a message about a vanometric power cell. Nah, I'm good.

Still an issue as of 9/1


The outline shows the title inside the task

Is your feature request related to a problem? Please describe.
The outline does not show the title inside the task:

Describe the solution you'd like
Show the title inside the task in the outline.
Describe alternatives you've considered
Displaying subheadings in the outline makes it easier to find what you want.
Additional context
The task is generated by dv.taskList method.

This is expected behavior. We are injecting HTML into the page and thus it is not indexable content for the outline plugin to pick up.

Happy to discuss workarounds in a separate discussion.


Refactor (fixes #12)

This is a highly opinionated refactoring of the example. Please feel free to close instead of merging. It really has too many changes to be considered a proper PR. However I think it might demonstrate some simplifications and improvements that could be made:

Remove redux-saga (fixes #12)
Less folder hierarchy (putting each component in it's own folder is good for large apps, but obscures this small example)
Simplify babel config
Cleanup dependencies (some dev deps was real deps, some were not used etc.)
Use prettier code-style

I use prettier code style and it has double quotes by default. Actually I have a prettier plug-in that formats all code I save automatically so I was not really aware that I reformatted the code :-).
Babel should still be there, I just simplified it a bit by using the babel-env preset.

Wow, thank you very much @jonaskello ! This is a great way of simplifying the structure of the app. I hope this will make things easier to understand.


Add tls support

Feature Request
When setting up the zipkin endpoint, it'd be helpful to enable TLS
OkHttpSender.create("https://<IP_ADDRESS>:9411/api/v2/spans")
Ideally, we could pass in a jks/pkcs12 cert, password, and a CA bundle

this would be a request to https://github.com/openzipkin/zipkin-reporter-java repo
regardless, you can use normal java args to override the keystore information, or use OkHttpSender.Builder.clientBuilder() to do this explicitly


from_openmm doesn't take System masses

Description
Reading in an OpenMM System with masses set should be reflected in the generated Interchange object (or maybe I'm looking at the wrong thing - sorry if that's the case!)
Reproduction
from openff.interchange import Interchange
from openff.toolkit import Molecule, ForceField
from openff.units import unit
import numpy as np
import os
os.environ['INTERCHANGE_EXPERIMENTAL'] = "1"

mol = Molecule.from_smiles("CC")
mol.generate_conformers()
sage = ForceField("openff-2.0.0.offxml")
cubic_box = unit.Quantity(30 * np.eye(3), unit.angstrom)

interchange = Interchange.from_smirnoff(topology=[mol], force_field=sage, box=cubic_box)
interchange.positions = mol.conformers[0]
omm_system = interchange.to_openmm(hydrogen_mass=4)
omm_top = interchange.to_openmm_topology()

interchange2 = Interchange.from_openmm(omm_system, omm_top)

mass1 = [at.mass for at in interchange.topology.atoms]
mass2 = [at.mass for at in interchange2.topology.atoms]
mass3 = [omm_system.getParticleMass(i) for i in range(omm_system.getNumParticles())]

print("mass1: ", mass1)
print("mass2: ", mass2)
print("mass3: ", mass3)

Output
mass1:  [<Quantity(12.01078, 'dalton')>, <Quantity(12.01078, 'dalton')>, <Quantity(1.007947, 'dalton')>, <Quantity(1.007947, 'dalton')>, <Quantity(1.007947, 'dalton')>, <Quantity(1.007947, 'dalton')>, <Quantity(1.007947, 'dalton')>, <Quantity(1.007947, 'dalton')>]
mass2:  [<Quantity(12.01078, 'dalton')>, <Quantity(12.01078, 'dalton')>, <Quantity(1.007947, 'dalton')>, <Quantity(1.007947, 'dalton')>, <Quantity(1.007947, 'dalton')>, <Quantity(1.007947, 'dalton')>, <Quantity(1.007947, 'dalton')>, <Quantity(1.007947, 'dalton')>]
mass3:  [Quantity(value=3.0346209999999996, unit=dalton), Quantity(value=3.0346209999999996, unit=dalton), Quantity(value=4.0, unit=dalton), Quantity(value=4.0, unit=dalton), Quantity(value=4.0, unit=dalton), Quantity(value=4.0, unit=dalton), Quantity(value=4.0, unit=dalton), Quantity(value=4.0, unit=dalton)]

Suggested solution
I realised that both:

from_openmm is experimental
HMR within an interchange object probably going to break a ton of stuff

My suggestion would be to do a quick check when loading from openmm. If the masses don't agree then throw a user warning to tell folks that they just lost their non-standard masses.
Software versions

Which operating system and version are you using? Ubuntu 20.04 LTS
How did you install Interchange? conda-forge
What is the output of running conda list? See #1003

Looks like it might be a duplicate of #888?

Yes, this is (mostly) a duplicate. Unfortunately the best workaround I can suggest, on top of better warning/documenting this here, is just for the user to manage it themselves and remember about the HMR settings at export time.
If you're suggesting that the state of the Interchange should reflect the non-physical masses of the atoms, I agree that's a reasonable expectation but the toolkit doesn't allow masses to diverge from what their atomic number defines[^1]. I haven't thought through how a special representation could work, but it might be doable in the future if it's worth the diverging code paths.
[^1]: This is a design I advocated for, forgetting about HMR at the time. Usually atomic masses are strictly defined by an atom's element, so it seemed like dead weight at the time.

If you're suggesting that the state of the Interchange should reflect the non-physical masses of the atoms

Ah I should have probably clarified: as a user I generally think it's a good call for Interchange to be "physical things only". That sets clear expectations on what you can and can't do.


Fix the trigger for deploy stats

added schedule: 1 hr after stats are generated
Testing -> today

Fixed!


Tinkering

This is not a PR :slightly_smiling_face:
Is this at all like what you had in mind with respect to adding wasm to runtime?

So, now theres the subject of instantiating this WasmProcess. I've added
impl WasmProcess {
    pub fn new(program: WasmProgram) -> WasmProcess { WasmProcess { program } }
}

Which means I eat the program. Is that ok?


CSS/TAILWIND : create Modal pop up button (GRADING REQUIR.)

research here https://flowbite.com/docs/components/modal/

done


Ensure only events that match derived events are processed.

Moved invalid event test to separate file.
Update tests to match redshift derived.events filtering: https://github.com/CruGlobal/snowplow-dataflow/pull/62
@andreabitney This is the lambda update to match changes to derived events.

Pull Request Test Coverage Report for Build 611

16 of 16 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 99.508%

Totals

Change from base Build 608:
0.005%

Covered Lines:
907

Relevant Lines:
911

💛  - Coveralls


Refactor Tailwind helper code

In commits bf64be28e0f0549f3f4b803219d50a3dfd902a1f and 22892131f504a0aef we did some basic preliminary work to adapt the Devise views to work with Tailwind. This story is for improving the TailwindHelper module. We currently have a TODO comment in the class:
TODO: The reusable component boundaries and responsibilities should end at the edge of the border. Margin and positioning should be handled by the particular view to allow for better flexibility for layout and positioning.
Any margin or positioning tailwind classes should be removed from the tw_ helper methods. Assuming a class had mt-1 mb-2 in it, you would rework it to eliminate those and have them in the ERB:

      <%= f.submit "Update", class: tw_success_button %>

      <%= f.submit "Update", class: "mt-1 mb-2 #{tw_success_button}" %>

In addition, the source code structure in helper and helper test directories should be broken down into smaller files in a hierarchy that are included from the base-level tailwind_helper.rb file.

Resolved by #26


Modify BotBase to be used with more motor driver modes

Task priority : HIGH
Task description
Have modifications made to the BotBase library so that it can be used with more modes in a motor driver. Eg: giving the PWM to DIR pin and actual PWM on motor driver being HIGH always.
Person assigned: @TheProjectsGuy
Must Haves

[x] Mode 2 on Cytron MDD10A motor drivers

[x] Giving PWM to DIR mode

[ ] Patch fixes for stronger base level items

Extras

[x] DebuggerSerial patch fix

Requested mode added as MaxMode, will update on documentation soon

Started Phase-2 modifications...

Phase 2 done. Will start testing. Documentation updated

[ ] Add examples for different types of motor modes in the examples folder


Update SnowWeatherEffect to Foundry VTT 0.7.9

Which class should be updated?
SnowWeatherEffect
For which version should the class be updated?
Foundry VTT 0.7.9

Taking this

Fixed by #312


upgrade to 1.10

Awesome!
Please add a commit message.

the commit message is "upgrade to 1.10". should I add more info in it?


file not found

while i am installing on my local ubuntu . It's giving this error
[3/5] Fetching packages...
error An unexpected error occurred: "https://codeload.github.com/dsrvlabs/ndjson/tar.gz/4db16da6b42e5b39bf300c3a7cde62abb3fa3a11: Request failed "404 Not Found"".

This is an issue with the Celo Extension Wallet, not celowallet.app


2D - matrix problem

Create a Directory naming Matrices .
Under it create a folder naming Python and then add a file writing the code of Tridiagonal Matrix

would like to work on this

@ankitapuri If this is still open will you please assign this to me

@ankitapuri I would like to work on this if it's still open. I can implement it in both python and C++.

@ankitapuri I would like to work on this if it's still open. I can implement it in both python and C++.

do it in python


git exec error in Travis CI environment

I run this in my travis-ci script section:
test -z "$(apicompat -before master -after HEAD ./... | tee /dev/stderr)"

it gives error:
apicompat: go/build error: could not execute git [--git-dir /home/travis/gopath/src/github.com/ahmetalpbalkan/go-linq/.git ls-tree master ./], error: exit status 128

Any ideas what this error might be about?
I also tried this:
test -z "$(apicompat -before ${TRAVIS_COMMIT_RANGE%...*} -after ${TRAVIS_COMMIT_RANGE#*...} ./... | tee /dev/stderr)"

it gives the same error. I think the apicompat can do better here by preserving the error output from the executed git command (perhaps by passing it down its own stdout/stderr).

just kidding it looks like this already works:
test -z "$(apicompat -before ${TRAVIS_COMMIT_RANGE%...*} -after ${TRAVIS_COMMIT_RANGE#*...} ./... | tee /dev/stderr)"


PrintAllSubsequences_Recursion

🚀 Feature
Given a string, print all the possible subsequences of the string, using recursion.
“abcd” has following subsequences “”, “d”, “c”, “cd”, “b”, “bd”, “bc”, “bcd”, “a”, “ad”, “ac”, “acd”, “ab”, “abd”, “abc”, “abcd”
Example:
Input : abcd
Output:
d
c
cd
b
bd
bc
bcd
a
ad
ac
acd
ab
abd
abc
abcd
Have you read the Contributing Guidelines on Pull Requests?
Yes
Motivation
Helps in understanding the basics of recursion.
Pitch
(Please explain why this feature should be implemented and how it would be used.)

I want to work on this issue in c++

I want to work on this issue in python

I want to work on this issue in C

I would like to do this in java

I want to work on this issue in c++

@sukritidawar Go ahead with C++
All the very best

I want to work on this issue in python

@narayan2111 Go ahead with Python
All the very best

I want to work on this issue in C

@ag278 Go ahead with C
All the very best

I would like to do this in java

@rutujadhanawade Go ahead with Java
All the very best

kindly add hacktoberfest label on this issue ,this issue is counted towards hacktobefest. @iamrajiv @plazzy99


Fixes missing assignment to id in context file conditions

Addition to the fix work in c9bde3f150f8c3f2ca0f2ca33ff921ea7f11aa03. This does not work in ECS itself.
This fix tested in ECS and with local docker and works in both cases.
Related to https://github.com/jwilder/docker-gen/issues/263.

@jwilder Can we get a release with this in it?


Tests! Tests everywhere!

Testing this is difficult. Quite difficult.
Perhaps integration tests could work similarly to gIRC-go, i.e. setting up a fake client and ensuring the responses are correct?
There should be a bunch of stuff in here that we can verify with ordinary tests though. Ensuring mode changes are built into correct strings, mode change strings are decided properly, etc etc etc.

Subsumed by #427


Create fcaihu

computer and ai helwan university

@RamyBishopMina lib/domains/eg/edu/fcihu: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@RamyBishopMina I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host fcihu.edu.eg not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Design FIFO for Keyboard

The FIFO will store 8 bits of data comes from the PS2 keyboard and will be part of PS2 HW stack.

This also already exists

we tool Amichai's implementation instead of Roman's


Static enumerations

Addresses #82
This allows to specify on the header the values available in the enumeration, without querying the sparql endpoint. Header should have the following format:
#+ enumerate:
#+   - var:
#+     - value1
#+     - value2
#+     - value3

This could be useful when we want to have a list of available values (e.g. known fruits), but do not need to query the triplestore for it. For example:
#+ enumerate:
#+   - fruit:
#+     - apple
#+     - pear
#+     - banana

Replaced by #119


Modification to editor and language breakdown

When aggregating active user data in the tables for editor and language breakdown, customers may observe an higher number of total assigned users within the organization. To address this issue, proposal is to use the maximum active user count rather than summing these values, thereby providing a more accurate representation of the data.

tyvm!


receiver/source and input relationship

In the "receiver/source and input relationship" section of "behaviour.md" document is described in which case the receivers parent object could be of type "source" and include its uuid as "parent id".
It seems to me like a big hurdle to get the "source uuid" peace of data to the receivers node.
The only information we have here is "sender_id" via IS-05 or a "subscription sender_id" via IS-04.
To gather the originating "source uuid" the receiver node should be capable of querying the registry or the sender node directly! Theoretically this would be possible but I'm not sure if this is worth the effort.
Do the "receiver node" really relies on this information (I don't think so), or is it more like a shortcut for the controller software?  If the latter one is true I would prefer to leave this task of resolving the parentage (sender -> flow -> source) to controller software itself.

Hi Max,
The reason this is there is to manage media that originates on the Device, rather than being received through an NMOS Receiver. You could easily imagine that you might have other APIs on the device carrying out other operations on the audio or generating audio, that provide a source ID in the same way as audio channel mapping to allow the their outputs to be identified. In this case the is no receiver ID, but we still need to be able to indicate to the control system what audio is coming into the Input.
Does that make sense?

If the channels presented to an input are from a receiver that information is required by the control system - the connectivity relationship between the receiver and input would be permanent I assume and the control system should always be able to determine the link.
The input could report the id of the remote source that is connected like this:
"source->flow->sender->receiver->input"
This would be a complex job for the device to calculate and could hide the receiver->input information from the control system.

Think this is all sorted, was covered again on the last call so will close for now.


Smart Collections

First of all, thanks a lot for creating this awesome extension, Rustem!
I was wondering if there is any possibility to implement smart collections which are created by defining a set of filters and bookmarks that match the filters are automatically shown in that collection. Similar to smart playlists on Apple Music/iTunes.
That would make Raindrop a very powerful tool :)

Sorry was a duplicate.


[$250] Add GBRs to tasks that are assigned to you

Problem: When you have tasks assigned to you, we input a GBR in your LHN. When you come into the chat and view the tasks assigned, nothing indicates what is causing the GBR. Thus, it is unclear and confusing users why there is a GBR.
As a note, we used to use mentions, and thus, they were green. We updated task assignments to use profile photos and that is why there is nothing green anymore.
Solution: Add a GBR to the top row of the task title when you are assigned th task to match its appearance in other patterns of the product.
We have mocked this up here.

Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021835793359638607411
Upwork Job ID:<PHONE_NUMBER>638607411
Last Price Increase: 2024-09-16
Automatic offers:

cretadn22 | Contributor | 104004979

Issue OwnerCurrent Issue Owner: @parasharrajat

I would think so, yes. Those should be vertically centered - the checkbox, the avatar, and the arrow.

It looks like there is still progress and @parasharrajat is going to resolve some conflicts tomorrow.

My bad! I'm not actually on bug-zero (which is the team that pays these) so @mallenexpensify just assigned a team member to pay it out.

Contributor: @cretadn22 paid $250 via Upwork
Contributor+: @parasharrajat due $250 via NewDot.
@parasharrajat , @danielrvidal will regression tests be created elsewhere or are they needed here?
Daniel, adding the Bug or NewFeature label will assign a BZ and they'll know what to do.  This issue was funked up a bit cuz automation failed which left the Reviewing label on the issue so it didn't go overdue.  It should be fixed now.

I like the idea of ensuring this is not covered in a regression test. I would think it would be wherever were testing tasks that if one is assigned, we should show the avatar of the assigned person.

Payment summary:
Contributor: @cretadn22 paid $250 via Upwork
Contributor+: @parasharrajat due $250 via NewDot. PENDING

@danielrvidal, I take this as no regression test needs to be created, correct?

I like the idea of ensuring this is not covered in a regression test.

Closing.

Oh sorry! I think we do need to make sure it is updated in the regression test. I typed not but it meant now included in regression test. @isabelastisser can you please make sure the QA team does account for this small change.

@parasharrajat, can you please share regression test steps for this issue? Thanks!

All set!

$250 approved for @parasharrajat


Total balance in another currencies

Testing was done on: Windows
Arizen version: 1.1.1
It would be nice to have the total balance in EUR, USD or RUB (Russian ruble) with the date of update.

#158

implemented


Add support for custom labels to the injector Pod.

What does this PR do?

[x] Adds new functionality
[ ] Alters existing functionality
[ ] Fixes a bug
[ ] Improves documentation or testing

Adds support for custom labels to the injector Pod.
Code Quality Checklist

[x] The documentation is up to date.
[x] My code is sufficiently commented and passes continuous integration checks.
[x] I have signed my commit (see Contributing Docs).

Testing

[] I leveraged continuous integration testing

[] by depending on existing unit tests or end-to-end tests.
[] by adding new unit tests or end-to-end tests.

[x] I manually tested the following steps:

Deployed the controller in minikube
Applied a container failure Disruption
Verified both default and custom labels are there:labels:
  chaos.datadoghq.com/disruption-kind: container-failure  // default label
  chaos.datadoghq.com/disruption-name: container-failure // default label
  chaos.datadoghq.com/disruption-namespace: chaos-demo // default label
  chaos.datadoghq.com/target: demo-nginx-6b4d5b5d45-jch7x // default label
  sidecar.istio.io/inject: 'false' // custom label

LGTM, thank you very much!


HERB ros_control migration

@mkoval minimal changes to match the update to prpy

Ready for review. Need to decide if there's anything we want to merge first before tagging the final OWD version.

This is a duplicate of #24 after reverting merging that pull request into master. We need to merge this pull request simultaneously with https://github.com/personalrobotics/prpy/pull/233 and https://github.com/personalrobotics/herb_description/pull/25.

Travis seems to be caching an old version of repositories.yml and, thus, failing to install all of HerbPy's dependencies.
I ran the unit tests locally and found that all of the unit tests fail. There appear to be some pretty major API breaks on the BarrettHand class, amongst some other issues. They also print this error message and hang indefinitely upon exit:
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >'
  what():  boost: mutex lock failed in pthread_mutex_lock: Invalid argument

@ClintLiddick Could you investigate?

 I'll check it out in the morning. Most of the methods now just
throw so I guess those tests just need to be disabled for now.
On May 11, 2016 22:06, "Michael Koval"<EMAIL_ADDRESS>wrote:

Travis seems to be caching an old version of repositories.yml and, thus,
failing to install all of HerbPy's dependencies.
I ran the unit tests locally and found that all of the unit tests fail.
There appear to be some pretty major API breaks on the BarrettHand class,
amongst some other issues. They also print this error message and hang
indefinitely upon exit:
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorboost::lock_error >'
what():  boost: mutex lock failed in pthread_mutex_lock: Invalid argument
@ClintLiddick https://github.com/ClintLiddick Could you investigate?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/personalrobotics/herbpy/pull/63#issuecomment-218640955

There appears to be a transient Apt problem on Travis. I ran the tests locally and they passed.


ScoreSaber Replay is being counted as play

As title, replay is being counted as a play of the level.
To replicate, watch a replay of some level that you haven't played in a while. Then sort by LastPlay, you will see the level that you just watched the replay of is the top one

If it still have an issue, feel free to reopen.


STORM-1515: Fix LocalState Corruption

When a windows machine has a power failure, the local state file can
become corrupted with repeated NUL characters. On restart, when the
supervisor attempts to get the worker's heartbeat it will fail to
deserialized the LocalStateData (because it is all NUL characters) and
it will fail to start the workers.

Stacktrace for Storm 1.2.2 below, I'll push a patch for branch 1.x if this looks good.
2019-03-29 01:40:45.402 o.a.s.d.s.Slot SLOT_6700 [ERROR] Error when processing event java.lang.RuntimeException: java.lang.RuntimeException: org.apache.storm.thrift.protocol.TProtocolException: Required field 'serialized_parts' is unset! Struct:LocalStateData(serialized_parts:null) 	at org.apache.storm.utils.LocalState.partialSnapshot(LocalState.java:127) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.utils.LocalState.get(LocalState.java:135) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.utils.LocalState.getWorkerHeartBeat(LocalState.java:229) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.daemon.supervisor.Container.readHeartbeat(Container.java:205) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.daemon.supervisor.Slot.handleRunning(Slot.java:534) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.daemon.supervisor.Slot.stateMachineStep(Slot.java:265) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.daemon.supervisor.Slot.run(Slot.java:752) [storm-core-1.2.2.jar:1.2.2] Caused by: java.lang.RuntimeException: org.apache.storm.thrift.protocol.TProtocolException: Required field 'serialized_parts' is unset! Struct:LocalStateData(serialized_parts:null) 	at org.apache.storm.utils.LocalState.partialDeserializeLatestVersion(LocalState.java:115) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.utils.LocalState.partialSnapshot(LocalState.java:123) ~[storm-core-1.2.2.jar:1.2.2] 	... 6 more Caused by: org.apache.storm.thrift.protocol.TProtocolException: Required field 'serialized_parts' is unset! Struct:LocalStateData(serialized_parts:null) 	at org.apache.storm.generated.LocalStateData.validate(LocalStateData.java:336) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.generated.LocalStateData$LocalStateDataStandardScheme.read(LocalStateData.java:403) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.generated.LocalStateData$LocalStateDataStandardScheme.read(LocalStateData.java:364) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.generated.LocalStateData.read(LocalStateData.java:310) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.thrift.TDeserializer.deserialize(TDeserializer.java:81) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.thrift.TDeserializer.deserialize(TDeserializer.java:67) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.utils.LocalState.partialDeserializeLatestVersion(LocalState.java:109) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.utils.LocalState.partialSnapshot(LocalState.java:123) ~[storm-core-1.2.2.jar:1.2.2] 	... 6 more 2019-03-29 01:40:45.407 o.a.s.u.Utils SLOT_6700 [ERROR] Halting process: Error when processing an event java.lang.RuntimeException: Halting process: Error when processing an event 	at org.apache.storm.utils.Utils.exitProcess(Utils.java:1813) [storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.daemon.supervisor.Slot.run(Slot.java:796) [storm-core-1.2.2.jar:1.2.2] 2019-03-29 01:40:45.440 o.a.s.d.s.Slot SLOT_6704 [ERROR] Error when processing event java.lang.RuntimeException: java.lang.RuntimeException: org.apache.storm.thrift.protocol.TProtocolException: Required field 'serialized_parts' is unset! Struct:LocalStateData(serialized_parts:null) 	at org.apache.storm.utils.LocalState.partialSnapshot(LocalState.java:127) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.utils.LocalState.get(LocalState.java:135) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.utils.LocalState.getWorkerHeartBeat(LocalState.java:229) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.daemon.supervisor.Container.readHeartbeat(Container.java:205) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.daemon.supervisor.Slot.handleRunning(Slot.java:534) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.daemon.supervisor.Slot.stateMachineStep(Slot.java:265) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.daemon.supervisor.Slot.run(Slot.java:752) [storm-core-1.2.2.jar:1.2.2] Caused by: java.lang.RuntimeException: org.apache.storm.thrift.protocol.TProtocolException: Required field 'serialized_parts' is unset! Struct:LocalStateData(serialized_parts:null) 	at org.apache.storm.utils.LocalState.partialDeserializeLatestVersion(LocalState.java:115) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.utils.LocalState.partialSnapshot(LocalState.java:123) ~[storm-core-1.2.2.jar:1.2.2] 	... 6 more Caused by: org.apache.storm.thrift.protocol.TProtocolException: Required field 'serialized_parts' is unset! Struct:LocalStateData(serialized_parts:null) 	at org.apache.storm.generated.LocalStateData.validate(LocalStateData.java:336) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.generated.LocalStateData$LocalStateDataStandardScheme.read(LocalStateData.java:403) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.generated.LocalStateData$LocalStateDataStandardScheme.read(LocalStateData.java:364) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.generated.LocalStateData.read(LocalStateData.java:310) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.thrift.TDeserializer.deserialize(TDeserializer.java:81) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.thrift.TDeserializer.deserialize(TDeserializer.java:67) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.utils.LocalState.partialDeserializeLatestVersion(LocalState.java:109) ~[storm-core-1.2.2.jar:1.2.2] 	at org.apache.storm.utils.LocalState.partialSnapshot(LocalState.java:123) ~[storm-core-1.2.2.jar:1.2.2] 	... 6 more

Looks great, +1 assuming tests pass

Thanks for your patience. Merged to master and 2.1.x.


Nothing about monkeybrains jar on maven central repo

Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.garmin.connectiq:monkeybrains:1.0.2.
I found nothing when searching on maven central repo. So garmin guys, did you forget to publish your jar?

@Likenttt
for a quick fix, replace
implementation("com.garmin.connectiq:monkeybrains:1.0.2")
with
implementation(files("./libs/monkeybrains-sdk-release.aar"))
This worked for me, as I faced the same issue

@Likenttt for a quick fix, replace implementation("com.garmin.connectiq:monkeybrains:1.0.2") with implementation(files("./libs/monkeybrains-sdk-release.aar")) This worked for me, as I faced the same issue

Nice remind. Thanks~


Run Spark-local tests only when env QUASAR_SPARK_LOCAL is set

Ignore tests otherwise
note: This tests 'ReadFileSpec' is going to be deleted once all algebras are implemented and they will be tested using generic FileSystemSpec test. But for now we want to disable tests for Spark if somebody is not willing to run them

Current coverage is 75.25% (diff: 100%)

Merging #1336 into master will decrease coverage by <.01%

@@             master      #1336   diff @@
==========================================
  Files           192        192
  Lines         11469      11469
  Methods       11202      11202
  Messages          0          0
  Branches        124        124
==========================================
- Hits           8632       8631     -1
- Misses         2837       2838     +1
  Partials          0          0

Powered by Codecov. Last update 21a2682...e01a464

@rabbitonweb Since the sparkcore project is disabled in build.sbt (because it breaks the travis build), none of the tests in sparkcore are being run anymore. This puts PRs like this in an awkward position because we cannot verify (without locally enabling sparkcore and running tests) that they are ok.
What's the status on reenabling sparkcore in build.sbt?

@rabbitonweb Actually, I just realized it's even worse. Files in the the path quasar/sparkcore/ are not being compiled at all (test or main), verified by typing some gibberish :) So, I think we need to get project sparkcore back in action before we can merge any PRs to that project.

Also, just for the sake of documenting all of our build failures, build 3 failed with a "double free or corruption" error, which is something I haven't seen before. https://gist.github.com/alissapajer/80349a13a1cac233a5cea0a677c244c6#file-gistfile1-txt-L6998

@alissapajer #1333 reenables the sparkcore project, dealing with the dependency issues but is blocked on CI (specifically the read-only build).

@wemrysi ah ok great!

@rabbitonweb let me know when you'd like me to look at this again

This issue will be addressed in different PR


Fix generating of swagger

What this PR does / why we need it:
We introduced our Pach type which collides with kubernetes type.
By default kube-openapi takes only last part of type/model definition.
So type "kubevirt.io/client-go/api/v1.Patch" ends up -> "v1.Patch" &
"k8s.io/apimachinery/pkg/apis/meta/v1.Patch" -> "v1.Patch".
This PR change our config and takes full name so no conflict should be possible.
Signed-off-by: L. Pivarc<EMAIL_ADDRESS>Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Should replace https://github.com/kubevirt/kubevirt/pull/4138
Special notes for your reviewer:
Fixes master
Release note:
NONE

An alternative to this would be renaming our Patch to something else... this is possible as we don't have a release with this feature yet as @davidvossel pointed out.

/cc @maiqueb

/hold

This brokes several parts actually. We serve swagger as an endpoint and also use it as validation. Need to consider all options to make the right decision.

obsoleted by https://github.com/kubevirt/kubevirt/pull/4154


Zalcano Experience Multiplier Lost

It appears that some (possibly all) users lost their experience multiplier for Zalcano. I still see my 596 kc under “undefined” using the kc command, but I get 0.00% bonus for experience when starting a new trip.

@ItzLogikal#5164 @SkumRobin#0549 also reported this on Help and Support for OSB
Veras also confirmed the issue on BSO


dx12: Implement dynamic uniform buffers

Part of #1949
Implement dynamic uniform buffers via root descriptors (2 slots in the root signature per descriptor).
This approach is suitable for uniform buffers as these are translated to typed constant buffers on the shader side.
Storage buffers need to be implemented another way as we would oversubscribe the root signature and we need to deal with read-only descriptors in a way, which is not feasible with the root descriptor approach.
Tested with an modified quad example, executing two draw calls with a different offset.
TODO: d3d12-rs changes pending

Could you clarify why a dynamic CBV needs 2 root signature slots?

Root constants are stored plain in the root signature (multiple 32 bit values)
Root descriptors store the GPU address of the backing buffer -> 64bit == 2 slots
Descriptor tables store an offset relative to the currently bound descriptor heaps. As their size won't surpass 4GB, an offset of 32 bit is enough -> 1 slot

bors r=kvark


Error searching: Unkown filter group_ sentinel_filters

🐞 bug report
Describe the bug
When i try to search something, it returns this errors.
To Reproduce
Just search something with Ctrl+D and a basic filter
Screenshots
https://i.imgur.com/0CF9rtR.png
https://i.imgur.com/px8MQcU.png
🌍  Your Environment

OS: windows 11
Version: 0.8.18
PoE:  e.g. Steam 3.19.0/English

I have this same issue. It also detects the current league as the Sentinel league... which may be related. You have to manually set it to Kalandra.

I have the same problem.
OS: Windows 10
Version 0.8.18
PoE: Steam 3.19.0/English

Directly select my character fixed the issue fyi

Manually selecting Kalandar and my character had no effect on this bug for me!

I have this issue as well. My character and league have been properly identified and selected in the Settings menu.

Thank you for reporting this issue, it was fixed a while ago (in v0.8.19), so I'm going to close this ticket.


MATLAB Error using librealsense_mex Frame didn't arrive within 15000

Required Info

Camera Model
D455

Firmware Version
<IP_ADDRESS>

Operating System & Version
WIN10  20H2

Platform
PC

SDK Version
2.41.0

Language
MATLAB

Issue Description

Hello, I meet a problem when test wrapped MATLAB code (+realsense package). I try to run the script depth_example.m and pointcloud_example.m, but the same error appears:
'Error using librealsense_mex
Frame didn't arrive within 15000'

Hi @AlexXieee   Which method did you use to install the MATLAB wrapper please - building it from source or using the Windows installer?
https://github.com/IntelRealSense/librealsense/tree/master/wrappers/matlab#getting-started
My research found a case where Frame didn't arrived occurred with the depth_example.m script due to an apparent issue with the path of +realsense.  Scroll down to the third date entry - December 2, 2018 - at the link below to find the details.
https://staff.fnwi.uva.nl/a.visser/activities/IMAV/Labbook2018.html

Hi @AlexXieee   Which method did you use to install the MATLAB wrapper please - building it from source or using the Windows installer?
https://github.com/IntelRealSense/librealsense/tree/master/wrappers/matlab#getting-started
My research found a case where Frame didn't arrived occurred with the depth_example.m script due to an apparent issue with the path of +realsense.  Scroll down to the third date entry - December 2, 2018 - at the link below to find the details.
https://staff.fnwi.uva.nl/a.visser/activities/IMAV/Labbook2018.html

Hi @MartyG-RealSense, I install MATLAB wrapper by using Windows installer (i.e. Can be found in C:\Program Files (x86)\Intel RealSense SDK 2.0\matlab+realsense), which has been added into MATLAB path.

Hi @MartyG-RealSense, I install MATLAB wrapper by using Windows installer (i.e. Can be found in C:\Program Files (x86)\Intel RealSense SDK 2.0\matlab+realsense), which has been added into MATLAB path.

I recall a case where somebody had problems because they were using MATLAB 2020a, whereas the MATLAB wrapper's documentation recommends MATLAB 2017b.  Their problem disappeared once they switched to 2017b.  do you have access to 2017b to try it please?
https://github.com/IntelRealSense/librealsense/issues/7634

I recall a case where somebody had problems because they were using MATLAB 2020a, whereas the MATLAB wrapper's documentation recommends MATLAB 2017b.  Their problem disappeared once they switched to 2017b.  do you have access to 2017b to try it please?
https://github.com/IntelRealSense/librealsense/issues/7634

Hi @MartyG-RealSense, let me find a R2017b version to take a test. I will feedback after testing.

Hi @MartyG-RealSense, let me find a R2017b version to take a test. I will feedback after testing.

Hi @MartyG-RealSense, I would like try to using R2017b, while I have to stay in the latest version (R2020a or later) because I need to that feature. Therefore, I would like to suggest if the developer team can test the problem. Much appreciation.

Hi @MartyG-RealSense, I would like try to using R2017b, while I have to stay in the latest version (R2020a or later) because I need to that feature. Therefore, I would like to suggest if the developer team can test the problem. Much appreciation.

I will seek Intel's advice on the subject of compatibility with MATLAB versions newer than 2017b.  Thanks very much for your patience.

I will seek Intel's advice on the subject of compatibility with MATLAB versions newer than 2017b.  Thanks very much for your patience.

After discussion with Intel, I have filed an official feature request for adding support for MATLAB 2020b to the RealSense MATLAB wrapper.  This case will be kept open whilst Intel is considering the proposal.

After discussion with Intel, I have filed an official feature request for adding support for MATLAB 2020b to the RealSense MATLAB wrapper.  This case will be kept open whilst Intel is considering the proposal.

Hi @MartyG-RealSense, thank you so much for the case you proposed. I am looking forward to seeing MATLAB availablity in the future.

Hi @MartyG-RealSense, thank you so much for the case you proposed. I am looking forward to seeing MATLAB availablity in the future.

Hi @AlexXieee  Support for OpenVINO 2020 and 2021 has been added in librealsense version 2.49.0
https://github.com/IntelRealSense/librealsense/releases/tag/v2.49.0

Hi @AlexXieee  I just wanted to update you that work on support for MATLAB R2020b and R2021 is still ongoing.  I do not currently have a release date to provide.  Thanks for your patience!

Hi @MartyG-RealSense Thanks for your update.


Set up loggin form

Loggin form with username/email and password. And keep the sensitive data hidden with environment variables

https://github.com/otekolste/answer-hive/pull/22


[C++][Parquet] Interface total_bytes_written is Confusing

Describe the enhancement requested
Hi, all, when using parquet's total_bytes_written, I found it really confusing.
In RowGroupWriter:
class PARQUET_EXPORT RowGroupWriter {
 public:
  // Forward declare a virtual class 'Contents' to aid dependency injection and more
  // easily create test fixtures
  // An implementation of the Contents class is defined in the .cc file
  struct Contents {
    virtual ~Contents() = default;
    virtual int num_columns() const = 0;
    virtual int64_t num_rows() const = 0;

    // to be used only with ParquetFileWriter::AppendRowGroup
    virtual ColumnWriter* NextColumn() = 0;
    // to be used only with ParquetFileWriter::AppendBufferedRowGroup
    virtual ColumnWriter* column(int i) = 0;

    virtual int current_column() const = 0;
    virtual void Close() = 0;

    // total bytes written by the page writer
    virtual int64_t total_bytes_written() const = 0;
    // total bytes still compressed but not written
    virtual int64_t total_compressed_bytes() const = 0;

    virtual bool buffered() const = 0;
  };

Syntax of total_compressed_bytes() is clear
total_bytes_written means "total bytes written by page writer".

And in ColumnWriter, the interface says:
  /// \brief The total size of the compressed pages + page headers. Some values
  /// might be still buffered and not written to a page yet
  virtual int64_t total_compressed_bytes() const = 0;

  /// \brief The total number of bytes written as serialized data and
  /// dictionary pages to the ColumnChunk so far
  virtual int64_t total_bytes_written() const = 0;

In ColumnWriterImpl, it's:
  // Records the total number of uncompressed bytes written by the serializer
  int64_t total_bytes_written_;

  // Records the current number of compressed bytes in a column
  int64_t total_compressed_bytes_;

So, in fact, the total_bytes_written() in RowGroup just means the uncompressed bytes it output? Is there any interface for compressed bytes? In non-buffer mode, we can just call sink_.Tell(), but in buffer mode, how can we get compressed-output length?
Component(s)
C++, Parquet

@pitrou @wjones127 Hi, would you mind me add a compressed_written_bytes api? Or did I miss some api?

I'm not sure you are missing any API, although I am not sure the use case for exposing it during the write. Why not call Tell() on the sink after flushing?

I'm don't think you are missing any API, although I am not sure the use case for exposing it during the write. Why not call Tell() on the sink after flushing?

Because we have "buffered" page writer.

I'm don't think you are missing any API, although I am not sure the use case for exposing it during the write. Why not call Tell() on the sink after flushing?

I think compressed_written_bytes would be useful if we want to limit compressed size of row group if we buffer row group in the parquet writer.
For now we can only get size of flushed row groups via Tell() and raw (uncompressed) size of buffered row group via total_bytes_written(). As we cannot precisely estimate the compression ratio, it is not easy to limit the actual row group size after compression.

@wgtmac @wjones127
To detail explain this problem, let me assume a schema: (a: required int, b: required int).
Assume the data below:
a:  | Dict Page | Page 1 |  Page 2 | Unbuffered Written Values |
b:  | Page 1 |  Page 2 | Page 3 | Unbuffered Written Values |

So, we have a RowGroupWriter, and two ColumnWriter here. Each column writer holds a PageWriter.
There are two kinds of page writer:

SerializedPageWriter, which just write "compressed page" to sink.
BufferedPageWriter, which buffer the writing pages, and write multiple compressed page to sink.

So, assume we want to get "currently buffered value size" and "Unbuffered estimated size", sink_.Tell() will not be enough, because we have buffered page writer, which haven't write to sink.
We still have interface in this way, yes, total_bytes_written. But, as you can see, it's just "uncompressed size". For example, assume column b uses "DELTA_BINARY_PACKED, it size would be 50B, but the total_bytes_written` may be 5KB, which cannot tell use the size it written

As we cannot precisely estimate the compression ratio, it is not easy to limit the actual row group size after compression.

That makes sense. It sounds like you want to be able to get the data size while writing and not wait until you have finished and flushed all data. That makes sense. 👍


Investigate precidence order in .gitattributes and what happens when multiple filters are used.

Currently when adding the checkpoint to .gitattributes file, we will add the filter=theta to any line that matches our model checkpoint. This might be over eager.
In the case where they have a rule like *.pt that they are tracking with some overfilter, like git lfs, does adding our filter to this attribute (instead of adding an exact match rule at the end) cause issues? Either with other files that match this pattern or our model getting these filters run on it?
Part of this hinges on how git handles multiple filters and multiple matches.

I did some exploration of what happens when there are multiple filters/multiple lines that match.
When multiple lines in .gitattributes match a file, the last line is the one that is used.
When a line has multiple filter keys (i.e. filter=lfs filter=theta) the last filter is the one used.
Extra key=value pairs not used by git are ignored.

Should we warn the user when they are trying to track a file that already has a filter key defined? Since they might not expect past filters to stop working?

https://github.com/r-three/git-theta/pull/227 copies previous attributes that applied to the file into the new gitattributes line so disjoint attributes continue to work, but past filter, merge, and diff attributes are overridden. We could probably add a warning if we are overwriting some old attribute

At the bottom of https://git-scm.com/docs/gitattributes there is an example that seems to suggest that git attributes also cascade across lines (i.e. you can set one attr in a line and then a disjoint set in another) I don't think we handle this perfectly so we might need to revisit and add lots of testing. It might also make sense to use git-check-attr to see what is on a file and create a new entry based on that instead of making sure we match their parsing logic perfectly?


fix: hard coded a Finnish registration pending text instead of lorem ipsum.

In future, instead of using a hard coded (Finnish only) text and a contact information address-block, the content should be fetched from to-be-done headless CMS.
PT-1113.

Codecov Report

Merging #204 (240dc7b) into master (a8a7c03) will increase coverage by 0.16%.
The diff coverage is 96.22%.

@@            Coverage Diff             @@
##           master     #204      +/-   ##
==========================================
+ Coverage   82.59%   82.76%   +0.16%
==========================================
  Files         207      208       +1
  Lines        3671     3701      +30
  Branches     1131     1106      -25
==========================================
+ Hits         3032     3063      +31
+ Misses        612      611       -1
  Partials       27       27

Impacted Files
Coverage Δ

...rc/domain/app/register/RegistrationPendingPage.tsx
100.00% <ø> (ø)

src/domain/event/eventForm/EventForm.tsx
97.61% <ø> (ø)

src/test/CreateOccurrencePageTestUtils.ts
96.20% <ø> (ø)

...rrence/occurrencesFormPart/OccurrencesFormPart.tsx
93.15% <66.66%> (-1.30%)
:arrow_down:

...domain/occurrence/OccurrencesFormHandleContext.tsx
90.90% <90.90%> (ø)

src/domain/event/CreateEventPage.tsx
82.97% <100.00%> (+0.37%)
:arrow_up:

src/domain/event/EditEventPage.tsx
83.82% <100.00%> (+0.24%)
:arrow_up:

src/domain/event/EventSummaryPage.tsx
83.58% <100.00%> (ø)

...ain/event/eventForm/useEventFormSubmitRequests.tsx
92.30% <100.00%> (+0.64%)
:arrow_up:

src/domain/occurrence/CreateOccurrencePage.tsx
82.26% <100.00%> (+1.95%)
:arrow_up:

... and 3 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 2b20b0d...240dc7b. Read the comment docs.


In item2, use the orb command first, use the mac command, and then use the orb command to display command not found: orb

In item2, use the orb command first, use the mac command, and then use the orb command to display command not found: orb

Additional context
orb Version 0.5.2 (1012)
item2
zsh

Fixed for the next version. Thanks for reporting!

Fix released in v0.6.0.


The directions on authorizing for the Open API is innacurate

[Enter feedback here]
Documentation states that if you are successful authorizing for Swagger, it will show as "authorized". The fact is it will show as "authorized" even if you put in a wrong password. So does this really work? I'm getting a 401 - Unauthorized on https://openapi.appcenter.ms/#/distribute/releases_addDistributionGroup, which is not sufficiently documented. I'm not sure what RELEASE_ID and id should be.

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

ID: b113ae49-c84f-05c6-e4fd-e414e5c64304
Version Independent ID: a04ff30c-e14b-9b76-6dd3-223e05d3a8cb
Content: App Center API Documentation - Visual Studio App Center
Content Source: docs/api-docs/index.md
Service: vs-appcenter
Sub-service: app-center-general
GitHub Login: @lucen-ms
Microsoft Alias: lucen

This might help, if the API hasn't changed and your use case isn't too different from the sample: https://docs.microsoft.com/en-us/appcenter/distribution/uploading#distributing-using-the-api
That was my last project before I left App Center support entirely just about 1 year ago. It took a LOT of reverse engineering and interviewing engineers and customers...because, as you noted, the Swagger stuff doesn't really explain it's intention. :'(


[QUERY] Interactive Browser Change with Version 1.10 of Azure.Identity

Library name and version
Azure.identity 1.10
Query/Question
Version 1.9 was able to use interactive browser credentials and cache the authorization record.
Version 1.10 asks to re-enter the password every time.
'--------------------------------------------------------
'Application Code:
'--------------------------------------------------------
'// Load the previously serialized AuthenticationRecord from disk And deserialize it.
Using authRecordStream = New IO.FileStream(AuthFile_Name_and_Path, IO.FileMode.Open, IO.FileAccess.Read)
    'authRecord = await Azure.Identity.AuthenticationRecord.DeserializeAsync(authRecordStream)
    _auth = Azure.Identity.AuthenticationRecord.Deserialize(authRecordStream)
End Using

'// Construct a New client with our TokenCachePersistenceOptions with the addition of the AuthenticationRecord property.
'// This tells the credential to use the same token cache in addition to which account to try And fetch from cache when GetToken Is called.
Dim _tcpo As New Azure.Identity.TokenCachePersistenceOptions
_tcpo.Name = TOKEN_CACHE_NAME
Dim _ibcredopts As New Azure.Identity.InteractiveBrowserCredentialOptions
_ibcredopts.TokenCachePersistenceOptions = _tcpo
_ibcredopts.AuthenticationRecord = _auth

'Dim _bcos As New Identity.BrowserCustomizationOptions
'_bcos.UseEmbeddedWebView = True 'False use Chrome, True used built in
'_ibcredopts.BrowserCustomization = _bcos

_ibc = New Azure.Identity.InteractiveBrowserCredential(_ibcredopts)
Dim _TokenReqContext = New Core.TokenRequestContext(New String() {"https://batch.core.windows.net" & "/.default"})

'*******************************************************************************************************
'PROBLEM
'*******************************************************************************************************
Dim _AccessToken As Core.AccessToken = _ibc.GetToken(_TokenReqContext, Nothing) '==Version 10 causes browser window to open every time now
'*******************************************************************************************************

Environment
.Net Framework 4.8

I see that the cache file name now gets a .cae or .nocae on the end with version 10. Do we have to program for that?

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

This is a bug - we should have a fix available soon. Sorry for the inconvenience!

No problem! It's nice to know we might know what we are doing.

As a side note - the silent auth should work after the first GetToken request. The bug is that we don't properly recognize that the cache is already populated on a new instance of the credential.


Does not work on multiplayer server 50% of the time.

When using in multiplayer server it does not work a good 50% of the time, no rhyme or reason to errors if this is user error please educate on what is wrong.

Are you using the forge or the fabric version?

Fabric

The only thing I can say is that it should work as long as the reason why the ship moved on a server is because another player was piloting it. Was this the case for you?

This should be fixed as of 0.3.0 https://modrinth.com/mod/valkyrien-relogs/versions


Is it possible to let crop view fill my picture?

I want to let default crop view fill picture,is it possible?

🚨🚨🚨🚨🚨 THIS LIBRARY IS NOT MAINTAINED, PLEASE READ THIS 🚨🚨🚨🚨🚨 #838
To avoid your issues, please use the latest updated library: https://github.com/CanHub/Android-Image-Cropper
100% kotlin
All bugs fixes
active community
34k downloads per month


Performance in MVS

Hi~
Thanks for your excellent work! I see this words in your code:
x = self.avg_pool(x).flatten(1)                             # if use in MVS, should abandon this part
x = self.head(x)                                                  # if use in MVS, should abandon this part
It seems you have tried Rest in MVS task, I'm wandering what the perfomance of Rest in MVS, and what experiment you have tried.
Looking forward to your reply! Thanks!

ResT for downstream tasks, such as object detection and instance segmentation can be found in d2.

ResT for downstream tasks, such as object detection and instance segmentation can be found in d2. Following detectron2 to train.


Documentation for immutable tasks

@wolfs can null be injected? Some people ran into issues with the worker API when they tried to inject null into a worker's constructor (#2405). Any documentation on the limitations of what can be injected would be good (e.g., "null cannot be passed to a task's constructor").

@k-mack Passing null is not possible, see https://github.com/gradle/gradle/pull/5294/files#diff-b91ae463376283a36cfa071f4aa27495R218


Building sfml:x64-linux-dynamic  on Ubuntu 18.04 fails

I'm trying to build SFML with a dynamic toolchain but it fails.
Package: sfml:x64-linux-dynamic
Vcpkg version: 2018.10.20-unknownhash
install-x64-linux-dynamic-dbg-out.log
My triplet file is:
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE dynamic)

set(VCPKG_CMAKE_SYSTEM_NAME Linux)
if(PORT MATCHES "bzip2")
    set(VCPKG_LIBRARY_LINKAGE static)
endif()

bzip2 is built static because cmake_test was failing when building dynamic...

I ran into this problem today. The port contains a patch file which adjusts linkage with freetype2. The applying of the patch fails due to incorrect file paths containing lowercase "sfml" instead of uppercase "SFML" in the src subdirectory of the buildtree. Applying the patch by hand leads to a successful compilation. Fixed patch file:
use-system-freetype.patch.txt

I ran into this problem today. The port contains a patch file which adjusts linkage with freetype2. The applying of the patch fails due to incorrect file paths containing lowercase "sfml" instead of uppercase "SFML" in the src subdirectory of the buildtree. Applying the patch by hand leads to a successful compilation. Fixed patch file:
use-system-freetype.patch.txt

Hi @giellamo and @Nuckal777  thanks for posting this issue.
This port has been updated and please try to update vcpkg and build it again.
I cannot reproduce this issue on my local now. So this issue should be fixed.
Please free free to reopen this or open an new issue if this is still a problem for you.
Thanks a again.


No-op replication for primary term validation with NRTSegRep

Signed-off-by: Ashish Singh<EMAIL_ADDRESS>Description
As part of implementing #3706, this is the initial commit that does the following -

Introduces an abstraction for developing No Op replication (for primary term validation) on top of NRT segment replication.
Implements Engine (NRTReplicationNoOpEngine) for No-op replication use case where the calls to replica does not persist any operation onto the replicas. There is in-memory storage, however, of the last seq no seen. This is to handle recovery. The translog manager being used is NoOpTranslogManager that does not perform any operation.
Follow things are working -

Primary term validation during the indexing/delete/update/bulk calls.
Peer recovery of replicas are working fine. Currently, the replica is brought to speed upto the last successful commit on Primary.

Following items have to be handled, should be followed with PRs -

Request payload is not required to be sent across the wire now in the in-sync replication call. We have to fix this. #4229
internal:index/shard/recovery/translog_ops action which brings the translog from primary and performs indexing on replica is not required for replica where segrep and remote store are enabled. The reason is that translog on remote store would be the source of truth where only the assuming primary would be publishing the translogs. #4230
Also, the translog replay can probably be replaced with Segment replication so that all operations until the last refresh on primary is made available to the replica. #4231
During the recovery or during Engine bootstrap, the translog generation and checkpoint files are getting created on local disk. This needs to be fixed so that there is no reliance on local disk.  #4232
Recovery is a multistep workflow (or step function) of which one of the steps/flow is where translog replay is carried out. Currently, replay translog is a no-op on the replica. For the recovery to complete successfully (and code to work), have overridden the getPersistedLocalCheckpoint method to return the seqNo of the last translog which was indexed. Essentially this is dummy code which we should remove by skipping Replay translog step and directly going with the finalize step.
Currently we have limited UTs and no ITs. Following PRs would include more ITs and UTs. Also, regarding the ITs, will try to use #3818.

Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Do you think we could add tests to exercise the new code path? Will review in details once we add tests and resolve conflicts. At this point the concern I have is this change is already hitting the Engine, can we not return pre-emptively shortly after hitting the replica once we have validated the primary term invariant? Do you think the below change in TransportShardBulkAction might work
@Override
    protected void dispatchedShardOperationOnReplica(BulkShardRequest request, IndexShard replica, ActionListener<ReplicaResult> listener) {
        ActionListener.completeWith(listener, () -> {
            Translog.Location location = new Translog.Location(0,0,0);
            if (replica.indexSettings().isRemoteStoreEnabled() && replica.indexSettings().isSegRepEnabled()) {
                replica.ensureWriteAllowed(Engine.Operation.Origin.REPLICA);
            } else {
                location = performOnReplica(request, replica);
            }
            return new WriteReplicaResult<>(request, location, null, replica, logger);
        });
    }

This is something that I have explored. Currently when a shard recovery happens, one of the step involves replaying translog. And for recovery to complete, at the end of replay translog operation, it should return the expected value which is the highest sequence number seeing during the replay translog step. When we refactor the recovery code and skip translog replay and directly jump to finalize step, we can probably totally avoid the performOnReplica method. And this is the plan as well (have mentioned in the PR description). We also need to see later what changes would be required for primary-primary recovery, and hence we can make this change in Recovery finally.

UTs and ITs would follow soon.

cc @mch2 @dreamer-89 @sachinpkale

Codecov Report

Merging #4127 (ebc57ca) into main (fbe93d4) will increase coverage by 0.14%.
The diff coverage is 66.66%.

@@             Coverage Diff              @@
##               main    #4127      +/-   ##
============================================
+ Coverage     70.55%   70.70%   +0.14%
- Complexity    57013    57143     +130
============================================
  Files          4603     4605       +2
  Lines        274478   274510      +32
  Branches      40201    40202       +1
============================================
+ Hits         193658   194088     +430
+ Misses        64511    64149     -362
+ Partials      16309    16273      -36

Impacted Files
Coverage Δ

.../java/org/opensearch/common/util/FeatureFlags.java
50.00% <ø> (ø)

...nsearch/index/engine/NRTReplicationNoOpEngine.java
0.00% <0.00%> (ø)

...arch/index/engine/NRTReplicationReaderManager.java
86.95% <ø> (ø)

...in/java/org/opensearch/index/shard/IndexShard.java
69.72% <50.00%> (+0.12%)
:arrow_up:

...arch/index/engine/NRTReplicationEngineFactory.java
77.77% <71.42%> (-22.23%)
:arrow_down:

...rch/index/engine/AbstractNRTReplicationEngine.java
73.50% <73.50%> (ø)

.../opensearch/index/engine/NRTReplicationEngine.java
80.95% <75.00%> (+4.95%)
:arrow_up:

...opensearch/persistent/PersistentTasksExecutor.java
22.22% <0.00%> (-44.45%)
:arrow_down:

...rch/client/transport/NoNodeAvailableException.java
28.57% <0.00%> (-42.86%)
:arrow_down:

.../java/org/opensearch/search/dfs/AggregatedDfs.java
51.61% <0.00%> (-41.94%)
:arrow_down:

... and 517 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Do you think we could add tests to exercise the new code path? Will review in details once we add tests and resolve conflicts. At this point the concern I have is this change is already hitting the Engine, can we not return pre-emptively shortly after hitting the replica once we have validated the primary term invariant? Do you think the below change in TransportShardBulkAction might work
@Override
    protected void dispatchedShardOperationOnReplica(BulkShardRequest request, IndexShard replica, ActionListener<ReplicaResult> listener) {
        ActionListener.completeWith(listener, () -> {
            Translog.Location location = new Translog.Location(0,0,0);
            if (replica.indexSettings().isRemoteStoreEnabled() && replica.indexSettings().isSegRepEnabled()) {
                replica.ensureWriteAllowed(Engine.Operation.Origin.REPLICA);
            } else {
                location = performOnReplica(request, replica);
            }
            return new WriteReplicaResult<>(request, location, null, replica, logger);
        });
    }

This is something that I have explored. Currently when a shard recovery happens, one of the step involves replaying translog. And for recovery to complete, at the end of replay translog operation, it should return the expected value which is the highest sequence number seen during the replay translog step. When we refactor the recovery code and skip translog replay and directly jump to finalize step, we can probably totally avoid the performOnReplica method. And this is the plan as well (have mentioned in the PR description). We also need to see later what changes would be required for primary-primary recovery, and hence we can make this change in Recovery finally then.

So if I understand this correct we can totally avoid performOnReplica method then we don't really need a NRTReplicationNoOpEngine  as call to any engine will be short-circuited.
I would prefer avoiding any engine changes and rather use assertions in the existing engine to ensure there are no calls made to the engine if the mode if replica and remote translogs are enabled.
"Best code is no code" :)

Revisiting the recovery code to allow for the sync replication call to return before reaching engine. cc @Bukhtawar @mch2


$ sign icon

Used to describe on flight amenities that are available for a fee. Will be used in lists with check and X.

issue observed in project board


nixos: Fix certificateKey and certificateFile handling

Fixes #112

service.certificateKey was referred to as service.keyFile, which is an option that doesn't exist (but does exist when acmeHost is set). Changed to service.certificateKey

The certificateFile and certificateKey options were not nullable, meaning they were required to be set (and would cause tsnsrv to use a manual cert/key if they weren't and things worked). Now they're nullable, defaulting to null, and only get passed to tsnsrv if both are set.

@SuperSandro2000 - I think this change should still correctly handle non-default certificate handling. Can you check to make sure I don't break your stuff? (:

I've rebased #111 on top of this and it didn't even trigger a service restart. Good job!


[BUG] The code is running in Windows Visual Studio Code, but while deploying to Azure Function giving error

Investigative information
Please provide the following:

Timestamp: 8:54 PM IST
Function App name: Azure Function
Function name(s) (as appropriate): Python 3.7.5
Core Tools version:

Known workarounds
Provide a description of any known workarounds.
<I am trying to deploy a image classification predict Azure function in HTTP. While deploying only I am facing issue.
Result: Failure
Exception: ModuleNotFoundError: No module named 'pandas'
Stack:   File "/azure-functions-host/workers/python/3.7/LINUX/X64/azure_functions_worker/dispatcher.py", line 242, in _handle__function_load_request
func_request.metadata.entry_point)
File "/azure-functions-host/workers/python/3.7/LINUX/X64/azure_functions_worker/loader.py", line 66, in load_function
mod = importlib.import_module(fullmodname)
File "/usr/local/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/home/site/wwwroot/HttpTBImage/init.py", line 6, in
import pandas as pd #libraries to read>
Contents of the requirements.txt file:
Provide the requirements.txt file to help us find out module related issues.
absl-py==0.9.0
adal==1.2.2
applicationinsights==0.11.9
astor==0.8.1
astroid==2.3.3
azure-common==1.1.25
azure-core==1.4.0
azure-functions==1.2.0
azure-graphrbac==0.61.1
azure-identity==1.2.0
azure-mgmt-authorization==0.60.0
azure-mgmt-containerregistry==2.8.0
azure-mgmt-keyvault==2.2.0
azure-mgmt-resource==8.0.1
azure-mgmt-storage==9.0.0
azureml-core==1.3.0.post2
azureml-dataprep==1.4.3
azureml-dataprep-native==14.1.0
azureml-defaults==1.3.0
azureml-model-management-sdk==1.0.1b6.post1
backports.tempfile==1.0
backports.weakref==1.0.post1
certifi==2<IP_ADDRESS>
cffi==1.14.0
chardet==3.0.4
click==7.1.1
cloudpickle==1.3.0
colorama==0.4.3
configparser==3.7.4
contextlib2==0.6.0.post1
cryptography==2.9.2
cycler==0.10.0
dill==<IP_ADDRESS>
distro==1.5.0
docker==4.2.0
dotnetcore2==2.1.13
Flask==1.0.3
fusepy==3.0.1
gast==0.3.3
grpcio==1.28.1
gunicorn==19.9.0
h5py==2.10.0
idna==2.9
importlib-metadata==1.6.0
isodate==0.6.0
isort==4.3.21
itsdangerous==1.1.0
jeepney==0.4.3
Jinja2==2.11.2
jmespath==0.9.5
joblib==0.14.1
json-logging-py==0.2
jsonpickle==1.4.1
Keras==2.3.1
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.0
kiwisolver==1.2.0
lazy-object-proxy==1.4.3
liac-arff==2.4.0
Markdown==3.2.1
MarkupSafe==1.1.1
matplotlib==3.2.1
mccabe==0.6.1
mock==4.0.2
msal==1.2.0
msal-extensions==0.1.3
msrest==0.6.13
msrestazure==0.6.3
ndg-httpsclient==0.5.1
numpy
oauthlib==3.1.0
pandas
pathspec==0.8.0
Pillow==7.1.1
portalocker==1.7.0
protobuf==3.11.3
pyasn1==0.4.8
pycparser==2.20
PyJWT==1.7.1
pylint==2.4.4
pyOpenSSL==19.1.0
pyparsing==2.4.7
pypiwin32==223
python-dateutil==2.8.1
pytz==2019.3
pywin32==227
PyYAML==5.3.1
requests==2.23.0
requests-oauthlib==1.3.0
ruamel.yaml==0.15.89
scikit-learn==0.22.2.post1
scipy==1.4.1
seaborn==0.10.0
SecretStorage==3.1.2
six==1.14.0
sklearn==0.0
tensorboard==1.13.1
tensorflow==1.13.1
tensorflow-estimator==1.13.0
termcolor==1.1.0
typed-ast==1.4.1
urllib3==1.25.9
websocket-client==0.57.0
Werkzeug==0.16.1
wincertstore==0.2
wrapt==1.11.2
zipfile36==0.1.3
zipp==3.1.0

Even I have tried with exact version of pandas and numpy. I am getting error.

### Related information
###### Provide any related information

* Links to source
* Bindings used

<details>
<summary>Source</summary>

`python
# __init__.py

import logging
import json
import azure.functions as func
import os # to import directory of file
import zipfile
import numpy as np
import pandas as pd
from keras.models import Model
from keras.layers import Concatenate, Dense, LSTM, Input, concatenate
from keras.optimizers import Adagrad
import tensorflow as tf
import keras
from keras.utils.np_utils import to_categorical
from keras.models import Sequential
from keras.layers import Dense, Conv2D, Conv3D, Flatten, MaxPool2D, Dropout, Activation, AvgPool2D, Input
from keras.preprocessing.image import img_to_array, ImageDataGenerator, load_img
from keras.callbacks import ReduceLROnPlateau
from keras.optimizers import RMSprop, Adam
import sys

import re
from keras.optimizers import SGD
import keras.backend as Kb
from keras.applications import VGG16
from keras.preprocessing import image
from keras.applications.imagenet_utils import preprocess_input
from keras.callbacks import ModelCheckpoint
from keras.models import load_model
import warnings
from PIL import Image
import urllib.request
from operator import itemgetter
import requests
warnings.filterwarnings("ignore")
logger = logging.getLogger(__name__)

>

How are you deploying the code - are you using Visual Studio Code to deploy the code as well ?

Yes, using Visual Studio Code.
On Sat, 25 Apr, 2020, 23:59 Anirudh Garg<EMAIL_ADDRESS>wrote:

How are you deploying the code - are you using Visual Studio Code to
deploy the code as well ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-functions-python-worker/issues/658#issuecomment-619421906,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJWYQBB4DNZMFUN4HPBLC6DROMTY7ANCNFSM4MQZOLEA
.

Hi @SahaRahul,
I think this may caused by a missing deployment setting azureFunctions.scmDoBuildDuringDeployment in .vscode/settings.json.
This may be caused by the initial function app is not created using VSCode.
If this is the case, could you create a new file .vscode/settings.json and add the following section to it.
{
  "azureFunctions.scmDoBuildDuringDeployment": true
}

This should enable remote build and allows the server side to resolve the pandas library for you.

I finally could deploy the azure function with the help Azure CLI into Cloud and also I need to remove 2 packages - pypiwin32 and pywin32 which got added when I had created the requirements.txt.
Thanks
Rahul


Difference between 'reward' and 'advantage' in p-iql?

slightly confused with regret-based preference model,
what would be the difference between the learned reward(by preference) and the advantage(calculated by q-v in line 126 of research/algs/piql.py) ?
If the advantage function(instead of reward) is learned by preference, why not use it directly to get actor_loss?

In CPL we argue that user preferences are distributed according to the advantage function. In the traditional setting, P-IQL learns a reward function from preferences and then runs IQL with it. In our setting, P-IQL learns an advantage function (though not properly normalized per section 3 of CPL), and then runs IQL with it as the reward. Since P-IQL is a baseline used in other works (preference transformer, IPL, etc.) we don't change its algorithm and in the code we left the variable names the same. Note that we would expect this to still converge to a good policy as per Ng 1999 the optimal advantage function is a highly shaped reward function with the same optimal policy.
You are right that given that preferences are distributed according to advantage, it doesn't necessarily make sense to use it as a reward function. This is precisely what CPL attempts to fix, and P-IQL was intended to be a baseline. In fact what you are proposing (using the advantage direclty learned from preferences in the actor loss function) sounds a lot like the naive initial approach we discuss in Section 3. The reason why I don't expect this to work as well as CPL is because when learned this way, the advatnage function is not consistent (defined sec 3) meaning it will not necesarily be the optimal advantage for some policy in the maxent framework.

Thank you for your reply. Revisiting section 3 helped me gain clarity on my questions.


Incorrect location of bpe_simple_vocab_16e6.txt.gz

Problem
When I try importing:
from featup.plotting import plot_feats, plot_lang_heatmaps

I get the following error:
FileNotFoundError: [Errno 2] No such file or directory: '/home/sancha/repos/diffunc/.venv/lib/python3.10/site-packages/featup/featurizers/maskclip/bpe_simple_vocab_16e6.txt.gz'

Temporary resolution
The file is indeed present in python3.10/site-packages/clip but not in python3.10/site-packages/featup/featurizers/maskclip/. I temporarily fix it by creating a symlink:
ln -s `pwd`/.venv/lib/python3.10/site-packages/clip/bpe_simple_vocab_16e6.txt.gz   .venv/lib/python3.10/site-packages/featup/featurizers/maskclip/

Actually on Google Colab, solving this using ->
!ln -s /content/FeatUp/featup/featurizers/maskclip/bpe_simple_vocab_16e6.txt.gz   /usr/local/lib/python3.10/dist-packages/featup/featurizers/maskclip/


Update to latest core commit.

Closes https://github.com/realm/realm-kotlin/issues/496 (I think)
Among other things, this fixes some memory leaks we had with callbacks associated with RealmConfiguration.
I also sneaked in some pointer updates which would make adding Flexible Sync later easier.
Note, this PR changes how Configuration Pointers are used. Now there is a createConfigurationPointer() on the ConfigurationImpl, which must be used to create the configuration, and then only used once to open a Realm.
This way, each configuration is now strictly associated with each Realm instance. This is also the first step to solve https://github.com/realm/realm-kotlin/issues/818

Looks like something is broken with the new releasing of config callbacks:
05-11 02:38:24.071 I/TestRunner( 5557): started: compact_populatedRealm(io.realm.test.shared.CompactOnLaunchTests)
05-11 02:38:24.849 E/lm.testapp.tes( 5557): JNI ERROR (app bug): accessed deleted Global 0x2956
05-11 02:38:24.850 F/lm.testapp.tes( 5557): java_vm_ext.cc:577] JNI DETECTED ERROR IN APPLICATION: use of deleted global reference 0x2956
05-11 02:38:24.850 F/lm.testapp.tes( 5557): java_vm_ext.cc:577]     from void io.realm.internal.interop.realmcJNI.realm_release(long)
05-11 02:38:24.975 F/lm.testapp.tes( 5557): runtime.cc:655] Runtime aborting...
05-11 02:38:24.975 F/lm.testapp.tes( 5557): runtime.cc:655] Dumping all threads without mutator lock held
05-11 02:38:24.975 F/lm.testapp.tes( 5557): runtime.cc:655] All threads:
05-11 02:38:24.975 F/lm.testapp.tes( 5557): runtime.cc:655] DALVIK THREADS (55):
05-11 02:38:24.975 F/lm.testapp.tes( 5557): runtime.cc:655] "RealmFinalizingDaemon" prio=5 tid=22 Runnable
05-11 02:38:24.975 F/lm.testapp.tes( 5557): runtime.cc:655]   | group="" sCount=0 dsCount=0 flags=0 obj=0x12c809f8 self=0x7d83f465ab90
05-11 02:38:24.975 F/lm.testapp.tes( 5557): runtime.cc:655]   | sysTid=5583 nice=0 cgrp=foreground sched=0/0 handle=0x7d822b7a8cf0
05-11 02:38:24.975 F/lm.testapp.tes( 5557): runtime.cc:655]   | state=R schedstat=( 40239560 1634166 33 ) utm=4 stm=0 core=2 HZ=100
05-11 02:38:24.975 F/lm.testapp.tes( 5557): runtime.cc:655]   | stack=0x7d822b6a5000-0x7d822b6a7000 stackSize=1043KB
05-11 02:38:24.975 F/lm.testapp.tes( 5557): runtime.cc:655]   | held mutexes= "abort lock" "mutator lock"(shared held)
05-11 02:38:24.975 F/lm.testapp.tes( 5557): runtime.cc:655]   native: #00 pc<PHONE_NUMBER>54da9e  /apex/com.android.art/lib64/libart.so (art::DumpNativeStack(std::__1::basic_ostream<ch

Will have to take a closer look

@nhachicha @rorbech I could really use your view on the changes in this PR. There were references to an ongoing discussion and I just want to be sure I'm not forgetting anything.

@nhachicha @rorbech I could really use your view on the changes in this PR. There were references to an ongoing discussion and I just want to be sure I'm not forgetting anything.

This should also be a safe fix for the mentioned discussion. The issue was that we reused the native config but had to update the scheduler. But I think just having one native configuration pr. realm_open will be safer (... you could argue that we didn't needed the releasing variant of the configuration callbacks in the C-API then 🤫 😬)


An error message occurs on the latest Bagnon after logging in.

2x Bagnon_ItemLevel\main.lua:210: Usage: hooksecurefunc([table,] "function", hookfunc)
[C]: in function `hooksecurefunc'
Bagnon_ItemLevel\main.lua:210: in function `?'
...ommon\Wildpants\libs\WildAddon-1.0\WildAddon-1.0-1.lua:20: in function <...ommon\Wildpants\libs\WildAddon-1.0\WildAddon-1.0.lua:18>
...ommon\Wildpants\libs\WildAddon-1.0\WildAddon-1.0-1.lua:56: in function <...ommon\Wildpants\libs\WildAddon-1.0\WildAddon-1.0.lua:53>
[C]: ?
...las\Libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua:29: in function <...las\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
...las\Libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua:64: in function `Fire'
...\common\Wildpants\libs\AceEvent-3.0\AceEvent-3.0-4.lua:120: in function <...\common\Wildpants\libs\AceEvent-3.0\AceEvent-3.0.lua:119>
[C]: in function `LoadAddOn'
Skillet-Classic\Skillet-11302.nil.lua:131: in function `DisableBlizzardFrame'
Skillet-Classic\Skillet-11302.nil.lua:652: in function <Skillet-Classic\Skillet.lua:568>
[C]: ?
…faceAtlas\Libs\AceAddon-3.0\AceAddon-3.0-12.lua:70: in function <…faceAtlas\Libs\AceAddon-3.0\AceAddon-3.0.lua:65>
…faceAtlas\Libs\AceAddon-3.0\AceAddon-3.0-12.lua:527: in function `EnableAddon'
…faceAtlas\Libs\AceAddon-3.0\AceAddon-3.0-12.lua:620: in function <…faceAtlas\Libs\AceAddon-3.0\AceAddon-3.0.lua:605>
[C]: in function `LoadAddOn'
FrameXML\UIParent.lua:353: in function `UIParentLoadAddOn'
FrameXML\UIParent.lua:424: in function `TimeManager_LoadUI'
FrameXML\UIParent.lua:693: in function <FrameXML\UIParent.lua:658>

The latest bagnon release version was 8.2.16 on October 5th. The lastest version is tagged as beta version, so I'm holding back any fixes from my end until I see an actual release version. I've seen beta bugs been fixed before making it to release before.

lastest version is 8.2.17 on December 4th.
Bagnon
I have to delete this addon until a stable version of Bagnon is available. I don't think it's a good idea to leave this addon with an error, waiting for the release version to come at any time.

8.2.17 is tagged as a beta version, not release. Thus it is only downloaded by those who specifically (and manually) have chosen to download beta versions of Bagnon, risk more bugs, incompatibilities etc. This is not the version that the majority are using.
I'll relate to this if it turns out to be an intentional API change in bagnon that makes it to the final release versions.

The release version has been released, but it still does not work.

Yeah. They changed something in their back-end and it's affecting pretty much all our bagnon plugins. I'll take a look at it.

So it looks like Bagnon.ItemSlot is nil when the Module:OnEnable function is called. My hunch is that it isn't intended to be nil? I'm trying to track down what it was before the bug was introduced.

Okay so it looks like this commit removed changed ItemSlot to Item ... this brings the error count from 3 down to 2, but now there are a couple other bugs to track down.

@goldpaw I put in a PR to resolve this issue. Hope it helps. 👍

Fixed


Add logo to navbar

I have added the logo to the navbar. Please let me know if it is good or if something needs to be changed.
Thanks!

All good to go now?

Thank you for helping! I got to learn a bit of React!


HTML-encode file names in AjaxFileUpload

On Linux and Mac, it's possible to use unsafe HTML characters in file names. File names are not encoded in the AjaxFileUpload.js script.
Technically, it's an XSS vulnerability. However, the attack vector is very limited. Pre-conditions:

An end-user initiates the upload of a file with malicious code contained within its name.
Non-Windows server (e.g. Mono on Linux).
ASP.NET request validation is disabled for the request.
A temp file name generated by AjaxFileUpload is displayed without encoding to another user.

On Window servers, malicious file names always cause a server-side error thanks to invalid characters checks:

inside Path functions
in AjaxFileUploadHelper

Therefore, malicious code can only be executed in the same browser session in which the file is uploaded.
This PR:

Adds file name HTML encoding on the client.
Explicitly adds unsafe HTML chars to the invalid list, in addition to Path.GetInvalidFileNameChars.

@alexxanderz
There's a discussion about escaping single quote: https://webmasters.stackexchange.com/q/12335. Sometimes it's important to HTML-encode it.
My motivation:

I'm introducing Sys.Extended.UI.htmlEncode as a generic helper that can be used in other places. It's better to over-encode in it.
For a file name, single quote is fine (What's New.txt). That's why I skipped it.


Expanding Data Disk

[Enter feedback here]
in this link : https://docs.microsoft.com/en-us/azure/virtual-machines/windows/expand-os-disk
under resizing data disk - its mentioned no need to deallocate VM

Its not TRUE VM needs to shutdown when we update the azdisk

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

ID: ccc58c74-7913-f1f6-8681-1823bbd8f050
Version Independent ID: c11bab28-a82a-29a1-84bf-fb3dfb9a5cb2
Content: Expand the OS drive of a Windows VM in an Azure - Azure Windows Virtual Machines
Content Source: articles/virtual-machines/windows/expand-os-disk.md
Service: virtual-machines-windows
Sub-service: disks
GitHub Login: @mimckitt
Microsoft Alias: mimckitt

#assign: @mimckitt
@Pachehra can you point me to the section that says that?
It specifically says it does not have to be deallocated.

I will close this out. If you still believe there is an issue just let me know and we can reopen
#please-close


node-pre-gyp -> @mapbox/node-pre-gyp

The node-pre-gyp has been deprecated, moving to @mapbox/node-pre-gyp instead. See here and here for more info.
Built successfully and all tests pass.

How can we get this into the next v28-alpha release?

There was a breaking change in 1.0.0 that affects the GitHub action

no longer supporting node_pre_gyp_accessKeyId & node_pre_gyp_secretAccessKey, use AWS_ACCESS_KEY_ID & AWS_SECRET_ACCESS_KEY instead to authenticate against s3 for info, publish, and unpublish commands.

This code will need to be updated:
https://github.com/nodegit/nodegit/blob/bae468cf3da6ae5ef6d3f89d11bf89f83e8db94a/.github/workflows/tests.yml#L69-L71
And similarly for macOS and Windows.

Is node-pre-gyp causing issues for anyone right now? I understand it's deprecated, but we have quite a bit on our backlog so if it's not broken we'll prioritize other tasks over updating packages that are still functioning.

This was a while ago so I don't remember what is/was breaking, but node-pre-gyp has been deprecated for over a year now. Prioritization is ofc up to maintainers tho.

This was handled alongside #1897, but thanks for bringing this to our attention!


[Feature Request]: Merge the classic common parameter tests with the max parameter tests

Description
As per a previous discussion, we should simplify our parameter tests and e.g. merge the 'max' tests into our 'common' tests (once the new dependency approach for a module is merged).
The reason is that we consider the 'common' test to test the module & ideally as many parameters as possible anyways which is the same purpose the 'max' tests serves.
When reviewing the correponding files it turned out that usually the current 'parameter.json' test files are just a subset of the 'max.parameter.json' test files.

[x] Merge common and max tests for AnalysisServices/servers

Closed by #4188


Add support for netstandard1.3 target framework for Avalonia.Skia.Desktop NuGet package

This should allow using Skia NuGet package for deploying a self-contained deployment with a smaller footprint: https://docs.microsoft.com/en-us/dotnet/articles/core/deploying/#deploying-a-self-contained-deployment-with-a-smaller-footprint

Codecov Report

Merging #930 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #930      +/-   ##
==========================================
- Coverage   60.46%   60.46%   -0.01%
==========================================
  Files         539      539
  Lines       20375    20375
  Branches     2909     2909
==========================================
- Hits        12320    12319       -1
  Misses       7205     7205
- Partials      850      851       +1

Impacted Files
Coverage Δ

src/Avalonia.Base/Threading/JobRunner.cs
42.5% <0%> (-2.5%)
:x:

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 aa17131...f2efe02. Read the comment docs.

I think that we can completely remove netcoreapp1.0 target for that package

@kekekeks Removed netcoreapp1.0 target.


what is the key binding( Atom-alignment ) in window

hard to understand the ctr+cmd a

It doesn't make any sense for windows.
I'll tell you, however, how to change it:

copy it (in packages -> atom-alignment -> keybindings, click on the little clipboard icon left to the keybinding)
go to Keybindings, click on "your keymap file" at the top
paste at the end of the keymap.cson file
replace "ctrl-cmd-e" with, for instance, "ctrl-alt-e"

that worked just fine for me on Linux

solved in 0.11.0
on OSX the key binding is ctrl+cmd+a while on Linux on Windows it is ctrl+alt+a

thanks @papermoon1978


Add possibility to manage bed assignment

Motivation
There should be possibility to manage the bed assignement
Proposed Solution

Add a management page for bed assignment
Add functionality to create, update and delete bed assignment

Alternatives
Additional Context
Screenshots

Isn't this a duplicate of #44?

Isn't this a duplicate of #44?

Ah, I didn't notice that. I will close this one.


upup: not all dependencies deleted

We don't currently delete:

the SSH keypair
the IAM role / policy etc (we could maybe use the IAM path to mark these)
the DNS zone (that is probably correct)

We could prefix our resources to allow them to be deleted, e.g. SSH keys with k8s.io/blabla.  Although  presumably terraform would flake because of the dots.