Asteroid Publication Security

Testing further,
I have a Meteor "Server" app ("MONGO_URL=mongodb://username:password@some.server.com:2222/test meteor --port 5000 run") that contains the following type services so far:

Publications
Methods

For example, here is one publication on "Server":
Meteor.publish("Names", function() {
  if (! this.userId) {
    throw new Meteor.Error('names.unauthorized',
      'This data doesn\'t belong to you.');
  }

  return Names.find({ userId: this.userId, limit: 1 });
});

I also have a Meteor "Admin" app ("MONGO_URL=mongodb://username:password@some.server.com:2222/test meteor --port 5005 run") that does admin stuff, and needs access to the Publications and Methods of the "Server" app

Subscribes to "Server" Publications
Calls out to "Server" Methods

I get Publication data from the "Server" if I don't have security applied  if (! this.userId) , but if applied like above, I get nothing from the "Server" Publication.
The "Server" and "Admin" Meteor apps both talk to the same MongoDB via the URL. The "Server" & "Admin" has Meteor Accounts installed.
How can I get the this working?

Did you ever get this working with this.userId


Generate sample list & remove region list restriction

Generate sample list in.txt file & remove region list restriction in trans analysis.

@wangyf1125 why would you need to add a step to output sample list?

@gaow
We might have this conversation before:

Yifei Wang: I am wondering if we need to keep a sample list as I need to construct E and G, and I want to keep the samples same with sumstats.  If so, should I add this part in TensorQTL.ipynb or my own pipeline?

gaow: good point. In fine-mapping pipeline we do keep a list of samples that we actually analyze. I'm not sure how easy it is to add to tensorQTL pipeline but ideally yes it should go there.

So I suppose I could add a step to output sample list here?


Update USE_SHA1 back to main

🚀 Feature Request
Description [REQUIRED]

For tagging v3.0.0, the USE_SHA1 was updated to minnesota, need to change it back to main.
Set the Prior release to minnesota for performance metric configuration

fixed by #854


Edge: Can't copy and paste table

And all other nodes that are wrapped in an isolated component are also not working.

Fixed via #725


Mute and remind later buttons doesn't work

Describe the bug
After setting a task with a due and reminding date (using tasks format) the reminder plugin reminds me on the due daye as it should but  it keeps reminding me even if i mute/click remind me later the plugin kepps reminding me every time i go into the app and doesn't stop until i mark the task as done which is inconvenient because sometimes the task is cancelled and that shouldn't send me a reminder
Expected Behavior
It should be that when i set a task then the reminding time arrives i get a reminder then if i mute it it doesn't send anymore reminders and if i click remind me later it reminds me after set period of time and if the task is cancelled that should stop sending reminders for that task
Steps to reproduce
On android create a new task then set a due date with the reminder being the same as due date with the tasks format enabled
Operating system
Android

It's also happen on windows system


Hal Browser demo doesn't work

Attempting to use
http://haltalk.herokuapp.com/explorer/browser.html
doesn't work.
If I just use GET /users, I get an internal server error.
Attempting to POST /users to create a new user leads to a 404.

Yep, it needs some love.  I did try and fix the dependencies but it was taking too long with no results, I intend to rewrite it if/when I get time.

OK, no problem.
Thing is there's not a lot of doc about HAL. Specifically how collections are
represented, which is slightly unusual IMO. So I was trying to find some
examples. I eventually found some examples elsewhere (apigility I think).
Thanks.

On 17 February 2016 at 17:24 Mike Kelly<EMAIL_ADDRESS>wrote:
Yep, it needs some love.  I did try and fix the dependencies but it was taking too
long with no results, I intend to rewrite it if/when I get time.
—
Reply to this email directly or view it on GitHub
https://github.com/mikekelly/hal-browser/issues/77#issuecomment-185311858 .

@tomq42 - have you seen the docs at http://phlyrestfully.readthedocs.org/en/latest/halprimer.html#collections ? Some very useful examples in there of how to model collections in HAL.

Yes, but it was so weird that I don't think I understood it originally. But I
think I understand the example a bit better now.

On 18 February 2016 at 10:04 Dylan Beattie<EMAIL_ADDRESS>wrote:
@tomq42 https://github.com/tomq42 - have you seen the docs at
http://phlyrestfully.readthedocs.org/en/latest/halprimer.html#collections ?
Some very useful examples in there of how to model collections in HAL.
—
Reply to this email directly or view it on GitHub
https://github.com/mikekelly/hal-browser/issues/77#issuecomment-185635948 .

Would be nice to see the demo page fixed indeed!

Just dropping in to give my support :-)

Hey yeah. I'd like to help too if there is something I can do.

Hi all. So the rails app is a write-off, it uses a very old database driver. It was something I hacked together in a couple of hours anyway.
I think the best course of action is for someone to create a a new implementation of the hal-talk API. I don't have the bandwidth to do this at the moment. If someone wants to take this on and put it on a public github repo, I'll setup the heroku app so that it auto-deploys from it.

I can dump the existing data, and extract the link relation docs... so if someone does want to take this one let me know and I'll do that

So we're talking about having a small app that implements a few API calls backed by some sort of persistence layer, right? The front-end itself is just (statically served) Javascript, right?
What about the API documentation? That's served (statically) by the backend as well right?
Do you have an opinion on the Tech-stack that will be used?

Not really, preferably something simple and lightweight. Ruby or node.js or similar. It doesn't matter too much to be honest.
I think basically the API just needs some use cases that demonstrates key concepts in a HAL API, ie: traversing links (read, write, delete), embedding resources, etc
I picked "talk" just because it's a relatively simple read/write domain

All right, coming weekend is a busy one for me, so I'll try to make a start next week/weekend. I'll keep you posted.


Correct typos in tex file and document special cases

The current document contains a number of typos and since the error and warning messages were removed from the source code, the documentation should at least indicate these.

First steps done Now need to check the notes.

Done


blank \url

What fonts do people use here and how do you specify them?
I have been being bothered by two issues for quite a while now:

The text in \url{} is just not there. The specific parts of the font (for this "url" style) seem to be missing. What I see instead of my email address is .@- (a dot, an at sign, and a hyphen), which must be coming from my email containing these. Seems that all alphabetic characters are gone.
Titles etc. are not bold until I add \setmainfont{XITS}. Is this expected behavior?

(PS: Thanks @andrasbarany for making this!)

Are you compiling your document using XeLaTeX? Have you set any options?
I just tried with the files from the repository and things work fine on my end.
I don't specify the monospace typeface at all in the class file, you could try specifying one (using \setmonofont{...} ). Maybe that solves your URL issue.
As for the bolds, no, that's not expected. If you compile with xelatex, the XITS fonts should be used.
You can share your files with me and I can check locally if you want.

Thanks for your help!
I am using a workaround for my first issue (blank \url) now and use \texttt instead or \url, which seems to have the same effect optically.
I am using xelatex and biblatex/biber as by your suggestion in the readme. However I create my tex  file via Emacs org-mode export. The created .tex file has as its header:
\documentclass[letter]{cascadilla-xelatex-biblatex}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{grffile}
\usepackage{expex, xytree, multicol, vwcol, hyperref, biblatex, csquotes}
\usepackage[linguistics]{forest}
\addbibresource{.../myfile.bib}
\setmainfont{XITS}
\makeatletter \let\@fnsymbol\@arabic \makeatother
\author{...}
\date{\today}
\title{...}

What Emacs then does with the .tex file is the following:
("xelatex -interaction nonstopmode %f"
"biber %b" "xelatex -interaction nonstopmode %f"
"xelatex -interaction nonstopmode %f")

As for issue 2 in my original post I suppose it's an OS problem with the fallback font. However, the fallback font should be XITS anyway (which I do have, now), shouldn't it?

If you take out inputenc and fontenc, do you get bold fonts? You don't need those for xelatex anyway and if I use your preamble without setmainfont, inputenc, and fontenc, I get the right result.


Updates clusterrole rules to include all NonResourceURLs

Rules update is specific to cluster roles and binding and not namespace roles and binding.
Fixes issue #354

@marun I would like to get this merged before kubecon so I no longer have to implement the workaround for federated istio. Let me know your thoughts on the latest commit.


Fix crash when there are no gamepads

I got the following stack trace when clicking "Select" when there are no gamepads listed:
java.lang.ArrayIndexOutOfBoundsException: -1
	at com.studiohartman.jamepad.ControllerManager.getControllerIndex(ControllerManager.java:237)
	at com.mrcrayfish.controllable.client.gui.GuiControllerSelection.func_146284_a(GuiControllerSelection.java:65)
	at net.minecraft.client.gui.GuiScreen.func_73864_a(GuiScreen.java:443)
	at com.mrcrayfish.controllable.client.gui.GuiControllerSelection.func_73864_a(GuiControllerSelection.java:109)
	at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:533)
	at com.mrcrayfish.controllable.client.gui.GuiControllerSelection.func_146274_d(GuiControllerSelection.java:102)
	at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:501)

Hey @comp500 , I am currently in the process of relicensing Controllable to a more suitable license. I would like your permission to relicense your contributions to Controllable under MIT.

Permission granted! (though I doubt I have any substantial legal claim to a 1 line bugfix hehe)


[git] Can't stop stack with mandatory variables.

Bug description
If you create a Stack that containts mandatory variables (e.g. POSTGRES_USER=${PG_USER:?Postgres user missing}) I can't stop the Stack. I get the following error message:
Failure
failed to remove a stack: Missing mandatory value for "environment" option interpolating ['POSTGRES_USER=${PG_USER:?Postgres user missing}', 'POSTGRES_PASSWORD=${PG_PASS:?Postgres password missing}'] in service "postgres": Postgres user missing : exit status 1

Since I was able to start the stack the ENV was obviously set correctly. Pull and redeploy works as well. I just can't stop it.
Expected behavior
The Stack just gets stopped.
Steps to reproduce the issue:

Create a Stack (i used import from git) with mandatory variables.
Click on 'Stop Stack'
You get the error message

Technical details:

Portainer version: 2.11.0
Docker version (managed by Portainer): Standalone 20.10.5+dfsg1
Kubernetes version (managed by Portainer): -
Platform (windows/linux): Debian 11
Command used to start Portainer:

docker run -d \
-p 8000:8000 \
-p <IP_ADDRESS>:9001:9000 \
--name=portainer \
--restart=always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /opt/portainer:/data \
-v /opt:/all:ro \
portainer/portainer-ce

Browser: Firefox
Use Case (delete as appropriate): Using Portainer at Home
Have you reviewed our technical documentation and knowledge base? Yes

Can you please test if this has been solved by https://github.com/portainer/portainer/issues/5779?

Yes, on develop I do not have this issue.

Sweet, thanks for confirming that for us!


Incorrect use of hashing Final/Append APIs now have an assert failure.

Follow up from https://github.com/Azure/azure-sdk-for-cpp/pull/2189

/azp run cpp - storage

/azp run cpp - storage

/azp run cpp - keyvault


Bug in curl 7.58 (shipped in 18.04) - workaround?

There's a bug in the version of curl (7.58) shipped with Ubuntu 18.04.  Upon receiving a chunked response, curl will call back with each chunk of data twice, leading to data corruption (and a failure to parse the response). For more information, see https://github.com/IBM-Swift/Kitura/issues/1465.  We're considering coding a workaround for this into Kitura-net, but it's far from straightforward.
We reported this to Ubuntu in June, in https://bugs.launchpad.net/ubuntu/+source/hdf5/+bug/1833198 - but no update is yet available for the 18.04 package.
In the meantime, is it possible to update the version of curl in the buildpack to 7.59 or later? This affects anyone trying to receive a chunked response, including users of Google OAuth or CouchDB / Cloudant, as both send chunked responses.

Upgrading the cflinuxfs3 stack itself on IBM Cloud is not an option.  I am currently exploring having the buildpack get version 7.59 of libcurl, so that Kitura-net applications are unaffected.


Encodian July 22

When submitting a connector, please make sure that you follow the requirements below, otherwise your PR might be rejected. We want to make you have a well-built connector, a smooth certification experience, and your users are happy :)
If this is your first time submitting to GitHub and you need some help, please sign up for this session.

[X] I attest that the connector doesn't exist on the Power Platform today. I've verified by checking the pull requests in GitHub and by searching for the connector on the platform or in the documentation.
[X] I attest that the connector works and I verified by deploying and testing all the operations.
[X] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[X] I attest that I have added response schemas to my actions, unless the response schema is dynamic.
[X] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[X] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

Hello @Encodian,
Thank you for an update. Our Certification Engineers will review it within 1-2 weeks.
Please let us know if you have any questions.
Thank you very much again for working with us.

Hi @Encodian,
Your PR is approved and merged. Please update your submission in ISV Studio by using the latest commit ID.
Please let us know if you have any questions.
Thank you very much again for working with us.


readByQuery Child Object

Is there anyway we can use the child objects field for readbyquery such as below?
 <readByQuery>
          <object>APPAYMENT</object>
          <query>ITEMS.RECORDID = 'TEST 101'</query>
          <fields>*</fields>
          <pagesize>10</pagesize>
          <returnFormat>xml</returnFormat>
        </readByQuery>

Unfortunately, joins are not supported by readByQuery

Is there a way to query APPayment using invoice number?

I would post your question to the Developers group on the Sage Intacct Community.  It's the top link on this page -- https://developer.intacct.com/support/
A few hundred people watch that group compared to the SDK GitHub issues here.  The issues here are meant more for code-level assistance or bugs with the SDK itself.


getDisplayMedia, getDisplayMedia error (android 12)

One calls initializeMediaDevices with useDisplayMediaDevice set to true
This will trigger an adhoc permission request, which can be denied by the user.
If the user denies the permission request, getDisplayMedia will fail

This is not catched within the function, resulting in a crash.
I guess the same holds if permissions for getUserMedia are not granted, most apps check these at startup. With mediaprojection/screenshare this is not possible on newer android versions.
Two solutions:

Adjusting the function
Placing the initializeMediaDevices call in a try catch (Examples should use try catch as well).

The second solution could be the better one, as it enables the developer to catch the exception, but it needs to be documented.

You are right examples are not polished enough to be used in production straight away but then again pr are always welcome for such things.


Template repository for new theme development

Search Terms
theme
Problem
Creating a new theme might be unnecessarily intimidating
Suggested Solution
Create a github template repository to assist in creating new themes
Can contain the necessary theme subclasses, an assets folder with some sample CSS augments, etc
Can also be preconfigured for theme testing via #1640
npm can install directly from git, so if someone wants their own theme, all they need to do is:
copy the template repo using github's UI
customize
npm install from their github repo and configure typedoc

This isn't going to quite be a 0.22 thing. I still want to do it, but want to wait until I'm completely happy with the rendering API, and that's not quite there yet. In order to get there, I need to make it much easier to override simple things, or inject some markup, without writing a bunch of code...

I guess I never left a comment here, this exists now. https://github.com/Gerrit0/typedoc-custom-theme-demo


Behaviour if you use the same hotkey with different apps

Just one general question: What will Windows and / or ppInk do if you are using the same hotkey (like "K") with different apps at the same time?
For example K is used for app 1 to make a screenshot and app 2 will use the hotkey to also make a screenshot and app 3 starts to make a video recording (all at the same time)
Or if the hotkey of two apps like ppInk and the second app have the opposite behavior: example: Hotkey "X" allows you to scroll down on a web page using app 1 but at the same time this hotkey ("X") makes to scroll up on the same web page (maybe with different speed)?

@ElsAr4e
Can you do the test and report results ?

I will try out asap.
Any chance to use automated tests and/or modify the code so that this will never be any issue (if possible)?

sorry no😔

I transfer this thread to discussions


Compatibility with JRuby

Hi everybody !
I would like to ask if this library is compatible with JRuby (the Java implementation of Ruby).
According to me it is not because of digest-sha3 which is a C extension. But I am a beginner in Ruby.
I managed to make it work by switching digest-sha3 for keccak-pure-ruby in ethereum.rb but also in its dependency eth which also uses digest-sha3.
I would like a proper solution to make this library work with JRuby. Would you have any idea how I can manage that please ?
Is there any new maintainer yet )= ?
Thank you !

found this pure ruby gem https://github.com/havenwood/sha3-pure-ruby

Thank you for your answer and thank you for reminding me this thread.
I actually used the keccak pure ruby gem : https://github.com/ciri-ethereum/keccak-pure-ruby.
I believe it works at least as good as yours !
Thank you !


"[query_string] query does not support [utf8]","index"

Hi, i would like to know how to make elasticsearch-rails support utf8
because rails is spitting out this:
[400] {"error":{"root_cause":[{"type":"query_parsing_exception","reason":"[query_string] query does not support [utf8]","index":"products","line":1,"col":36}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query_fetch","grouped":true,"failed_shards":[{"shard":0,"index":"products","node":"3LZfsoXuTSCWHUsW0qx8Ww","reason":{"type":"query_parsing_exception","reason":"[query_string] query does not support [utf8]","index":"products","line":1,"col":36}}]},"status":400}

@dcalixto Can you share the query which you are trying to execute?. Because the same issue I was facing and I referred this.http://stackoverflow.com/questions/19475636/tiresearchsearchrequestfailed-error-about-utf8 . This can be helpful to you.


New package: RussellBanks.winfetch version 2.4.1

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.2 schema?

Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Policy-Test-1.8

This was just a fork for which I have provided portable exe's (using PS2EXE) but it installs fine for me in Windows Sandbox:

@wingetbot run


Investigate unfixed setting for Top App Bars

Description

This would unlock top app bars to be used in other contexts than "whole page" layout mode.
Acceptance criteria

No iframes are needed in testing top app bar.

And I need this for using it to create small apps in a Jupyter Notebook.


example needed, how making fields visible or invisible

After running
kifield -x schematicfile.sch -i schematicfile.csv
I added [I] to the header to make the refs invisible.
[I]Refs,datasheet,footprint,value
D1,~,Diode_SMD:D_SMC,SMCJ24A
D10,~,Diode_SMD:D_MiniMELF,5V
D11,~,Diode_SMD:D_MiniMELF,5V
D12,~,Diode_SMD:D_MiniMELF,5V
D13,~,Diode_SMD:D_MiniMELF,5V

But after
kifield -x schematicfile.csv -i schematicfile.sch the refs are visible in the schematic and the PCB board also.

Does it say somewhere that adding [I] will make it invisible?
Check kifield -h:
  --fields name|/name|~name [name|/name|~name ...], -f name|/name|~name [name|/name|~name ...]
                        Specify the names of the fields to extract and insert.
                        Place a '/' or '~' in front of a field you wish to
                        omit. (Leave blank to extract/insert *all* fields.)

Ah just found it. Didn't know about that. But I think that only makes it "invisible" in the schematic, i.e. it's still there but you can't see it when looking at the schematic.
--fields option above should do what you want.

Can you create a small schematic with a few elements and PCB, and try to make all Refs invisible on schematic and on the PCB also.

Sorry, don't have time for that right now. If you can make the example I can try and confirm the issue at least.

Maybe try a space after the [I]?

Did not help. Any new idea?

I without the square brackets?

KiField doesn't process any changes to part references so their visibility/invisibility can't be changed. Immutability of part references was baked into KiField from the start, so getting it to change anything about a reference is difficult. I spent two hours trying to make it work, but failed.


:construction_worker: add pip to dependabot management

After workflow actions have been enabled, just to get builds to run and auto dependabot job to start after merge

Wrong base repo ...


Feature/null safety

migrate to sound null safety
upgrade dependencies to sound null safety:

xml: ^6.0.1
cryptoutils: ^0.5.0
crypto: ^3.0.2
synchronized: ^3.0.0+3
tuple: ^2.0.1
unorm_dart: ^0.2.0
image: ^3.2.2
quiver: ^3.1.0 #hash code generator
console: ^4.1.0 #for example
intl: ^0.18.0
collection: ^1.15.0-nullsafety.4

Also fix https://github.com/vukoye/xmpp_dart/pull/83
separate message time with delay timestamp

we have the branch null_safety and it contains all the latest changes, you can target your PR on it

we have the branch null_safety and it contains all the latest changes, you can target your PR on it

What's the progress of the branch? Any plan to release it?

it already released as 0.4.4-dev.2


Update paths in artifact hub metadata files

After PR #700 we now need to go and update all the artifacthub-pkg.yml files in each subdirectory under other to adjust the path in the install field.

On it 👍🏻

There are over 170 files named artifacthub-pkg.yml. It's notoriously difficult to change each of them one by one.

The only ones which need to be changed are those in the other directory.

Yeah there are total 168 files named artifacthub-pkg.yml inside other.

It could be scripted. There was a past PR not too long ago by a mentee who used a script to generate them in the first place.

Yes that's what I was thinking about.


refactor: logo alignment

the issue might be due to incorrect usage of topnavCanExpand, please review once

Closing in favour of fixing the expanding behavior of the topnav to handle this.


Datagrid with saved settings raises an exception when filtering a column where TValue is float

Describe the bug
All saved numerical filters are deserialized as either ints or doubles.  If you have a column where the data type is single/float, you'll get an exception when the saved settings are reapplied to the column (can't implicitly cast a double to a float).
To Reproduce

Create a grid with advanced filtering and save/load settings enabled.
Create at least one column with the value type of single / float
Run the grid, create a filter on that column e.g., "greater than 28"
Navigate away from the grid page and navigate back to it (forces loading of settings from json)
Try to open the filtering dialog for the column -> exception thrown

Expected behavior
Grid should filter without crashing
Suggested fix:
In RadzenDataGrid.razor.cs / GetFilterValue(object value, Type type) add the following case:
else if (type == typeof(float) || type == typeof(float?)) {     return element.GetSingle(); }

Thank you!


Setting ClientOptions.proxy_url gives "undefined method `host'"

ClientOptions.proxy_url is documented as a string (lib/google/apis/options.rb +37), but setting it results in:
undefined method `host' for \"http://gateway1:3128/\":String"
/opt/google-fluentd/embedded/lib/ruby/gems/2.1.0/gems/google-api-client-0.9.11/lib/google/apis/core/http_client_adapter.rb:55:in `configure_client'

Passing a URI object does not work either:
ArgumentError "unsupported proxy gateway1:3128"
/opt/google-fluentd/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.7.1/lib/httpclient.rb:504:in `proxy='
/opt/google-fluentd/embedded/lib/ruby/gems/2.1.0/gems/google-api-client-0.9.11/lib/google/apis/core/http_client_adapter.rb:55:in `configure_client'

This is because httpclient requires a schema in the URL, but only the host and port are used.
The following change fixes this for me. It assumes that proxy_url (which is copied to options.proxy in lib/google/apis/core/base_service.rb +382) is a string, and passes it through unmodified to the httpclient, which has built-in support for extracting the auth already.
--- /home/james/http_client_adapter.rb	2016-12-14 19:49:50.626692709 +0000
+++ /opt/google-fluentd/embedded/lib/ruby/gems/2.1.0/gems/google-api-client-0.9.11/lib/google/apis/core/http_client_adapter.rb	2016-12-14 20:07:36.990255831 +0000
@@ -51,11 +51,7 @@
         def configure_client(client, request)
           client.transparent_gzip_decompression = true
           if request.options.proxy
-            proxy = request.options.proxy
-            client.proxy = sprintf('%s:%d', proxy.host, proxy.port)
-            if proxy.user && proxy.password
-              client.set_proxy_auth proxy.user, proxy.password
-            end
+            client.proxy = request.options.proxy
           end
           if request.options.timeout
             client.connect_timeout = request.options.timeout

Thanks!

Fixed in upcoming 0.11 release.


Door sensor not supported

I bought 4 sensors.
But tuya zigbee doesn't recconize them.
Canon this be fixed anyhow?

You have to do an interview of the sensor and paste the result here so that johan can add it to the app.

Problemen solved by using the test app.


How to limit results?

I have made my own query for my own DB table and want to limit the results, but I cant work out how to pass in a variable that lets me then forward that to the sequlize ?
I can hard code it:
resolve: (property, args) => Property.findAll({ where: args, limit: 12 })
But I want to pass that and and offset in

Thank you
That is what I was thinking of how to do it, just now when I implement that and do not send in the id the SELECT statement puts in :
WHERE id = NULL
And then returns no results, how to not add that to the WHERE clause if it doesnt exist?

okay...
we can check if a argument was set...
this is just one way to do this, there are maybe better solutions for this.
resolve: (user, args) =>  {
  if(args.id) {
    Note.findAll({ where: {
        id: args.id,
      },
      limit: args.limit,
      offset: args.offset,
    });
  }

  return Note.findAll({
      limit: args.limit,
      offset: args.offset,
    });
}

Yea I might need to find a better way, as if I have say 10 parameters I don't want to put a conditional around each one of those as that would be hard to manage...

Yeah, the best solution would be to create different query's, one with id and one without. Also often you do not need all args in query's. You have to know which args are useful and which are not. only keep those args which you are using in your application to query.

Ah so taking your example above you would add another query to the file but with a different arg in it?
`const noteIdQuery = {
type: new GraphQLList(NoteType),
args: {
id: {
name: 'id',
type: GraphQLInt,
},
limit: {
name: 'limit',
type: GraphQLInt,
},
offset: {
name: 'offset',
type: GraphQLInt,
}
},
resolve: (user, args) =>  (
Note.findAll({ where: {
id: args.id,
},
limit: args.limit,
offset: args.offset,
})
)
};
const noteTitleQuery = {
type: new GraphQLList(NoteType),
args: {
name: {
title: 'title',
type: GraphQLString,
},
limit: {
name: 'limit',
type: GraphQLInt,
},
offset: {
name: 'offset',
type: GraphQLInt,
}
},
resolve: (user, args) =>  (
Note.findAll({ where: {
title: args.title,
},
limit: args.limit,
offset: args.offset,
})
)
};`
And so on?

For example.
But you have to find a way that works for you the best. There are hundreds of possible solutions to this problem...

I appreciate the help but I am struggling to find a way that enables me to conditionally add the args in, without creating a lot of combinations etc.
The idea is I am building a search and so can have a lot of args and any one of them can be true or have a value.
It only doesnt work when you explicitly put in args.id etc, when it was just args then it seemed to work out for itself if there was a value or not.
But having it like that would mean that limit and offset would go in the WHERE clause and that wouldnt work.
If you can point me in any good direction I would appreciate the help

You could do something like:
args: {
    id: {
      name: 'id',
      type: GraphQLInt,
    },
    name: {
      name: 'name',
      type: GraphQLInt,
    },
    limit: {
      name: 'limit',
      type: GraphQLInt,
    },
    offset: {
      name: 'offset',
      type: GraphQLInt,
    }
  },
  resolve: (note, args) => {
    let thisArgs = {};
    Object.entries(args).forEach((entry) => {
      if(entry[1] && entry[0] !== 'limit' && entry[0] !== 'offset'){
        thisArgs = {
          ...thisArgs,
          [entry[0]]: entry[1],
        };
      }
    });

    return Note.findAll({
      where: thisArgs,
      limit: args.limit,
      offset: args.offset,
    });
  }

This would check if a arg is passed and only if it is passed it gets to the object thisArgs and with thisArgs you call the Note.findAll()...


Morning session code-review.

Me and my partners will review vanel's code and give him some feedback.

Great job on the code. It functions perfectly.

I would add some more css properties, to make webpage look unique.
Other than that, everything looks great.

Hi Team
Good job so far!
Your project is complete! Congratulations! 🎉


Updated 404 when static=True and no index.html

Once again:

Right now when static=True and there is no static/index.html file to render, the server returns 200 with a body just saying "null". I think a 404 "Not found" error in this case would be more indicative for the developer.

Improved based on the suggestion in https://github.com/kennethreitz/responder/pull/149

Ah… This won't work as it affects subsequent routes.


Dataflow cost metrics

Dataflow job detail page (https://console.cloud.google.com/dataflow?project=projectId -> go to any job), on the right hand panel, under "Resource metrics", add two new rows:

Current cost: how much this job is costing us with the current machine number
Total cost: how much it has already cost us since the beginning

Note that the page looks different for batch/streaming jobs (and possibli for SDK1/2 jobs as well)

✅ Currency code can be specified.
❓ pricingInfo array is a chronological ordering of price history.
https://cloud.google.com/billing/reference/rest/v1/services.skus/list

The cost metrics should be displayed in a user preferred currency format.
The user should be able to define what is his preferreed currency, and should be able to define project specific currency format as well.

I think the project specific configuration is over-engineering. I believe a global GCPimp level configuration is more than  enough

Description of the SKU api response: https://cloud.google.com/billing/reference/rest/v1/services.skus/list#PricingExpression


The HTTP service snippet creates a listener with port 0

Refer to the following. The generated code generates a listener with 0 as the port. Shouldn't this port be set to something like 8080 or 9090?
https://user-images.githubusercontent.com/6260009/154683419-8d30eb98-0119-4ce1-83b4-0a0684107d27.mov

Duplicate of #34724. Hence closing.


example chart-js with eel

Hi all.
Please read this: https://github.com/python-eel/Eel/issues/614

Hi @codehangen - happy to accept this new example, however as it stands the example isn't ready to be accepted.

The code snippets are incomplete - the main.py file doesn't run. Can you take a look at the other examples and follow the examples from them?
New examples should have new tests to assert that they work. All of the existing tests for the examples are in tests/integration/test_examples.py. Can you add a test for your example please?


[docs] Parens create a pluck context

It's not clear from the docs that this is legal:
foo = "a" b:(@"c" "d") { return 2 }

because the parens create a new context for returns.  Same with the old way:
foo = "a" b:(first:"c" "d" { return first })

Parens also create a location() context.

I figured I'd fix 398 while I was in there.

Oh, BTW, do you remember when it was introduced? I remember at least old versions of PEG.js didn't have this kind of scoping.

It was 1.1: https://github.com/peggyjs/peggy/blob/dfca04cf000d9be3d8f4a99314ccbedef744db33/CHANGELOG.md?plain=1#L371

Thanks!
It was one of the larger improvements to DX, but I didn't know it happened after the fork.

It was technically after the fork, because we forked from the last-known-good spot, then the plucks were back-ported from head -- because that was the feature I wanted to be released enough to want the fork. :)


Icons colors wash out in the lighter themes

Using some of the light themes (all but Solarized Light and Light Visual Studio ) the icon colors wash out against the background.
Here is a video showing it:
https://github.com/user-attachments/assets/946a9ba8-cbf3-41ea-b185-5aa3c43fa2cf

Sorry, was looking into the fix for a PR and found some wayward css on my end.. Cleaned up and sorted!

Great! Where does this cool datagrid component come from?

It's AG Grid: https://www.ag-grid.com/
The extension we are building with it and vscode-elements is for database management  (https://dbcode.io). I have not finished the page yet, but any modules we use we are giving lifetime subscriptions to any contributors/maintainers of them.. and yours is fantastic! , so if you uses databases and want a sub, let me know and I will get you a code.

if you uses databases and want a sub, let me know and I will get you a code

Yes, please, I would be honored.
Its UI is so beautiful. It doesn't look like a website, but like an integral part of VSCode.

It would be my pleasure.. If you can install the extension and sign in via the Accounts view once you click the DBCode icon in the activity bar I can then assign the subscription to you!
That's the aim.. make it feel just like VSCode, but have all the features of the traditional DB tools.

Signed in with my github account.
Thank you!

Thanks, applied!


[NFC] Toolchain build

Building a toolchain with current Distributed changes.

@swift-ci please build toolchain


Bad facet normals in .stl from csg.js based export (web & cli)

Right now csg.js, in more concrete fixTJunctions() in the export chain to create .stl creates (edit: in few cases) bad facet normals, e.g. 'NaN' in the ascii export (both web or cli). E.g. when csg.toSTLString() without fixTJunction() then the .stl looks fine.
It wouldn't be such a big problem as most slicers disregard the normals, but OpenJSCAD relies (at least for now) on proper set normals in order to determine the orientation of the triangles (cw vs ccw) and correct them (which means also, stl with bad normals cannot imported in general).

#40 and this issue are about the same thing. Although possible, I'm not sure if the effort is worth it. There's no such thing as a "perfect" set of normals in STL. So, it's better to state the goal properly. Something like...
STL (and other formats) should be immediately usable by slicers.
Or
STL (and other formats) should be "error" free, i.e. not violating format models.

Incorrect. This is not the same thing as #40. Please read the entire issue before proclaiming a dupe.

CSG.polygon calculates plane by first 3 vertices, but fixTJunction can add some more, like this
[[0,0,0],[0,0,50],[0,50,50]] ->  [[0,0,0],[0,0,25],[0,0,50],[0,50,50]] and it fails as we need 1, 3 and 4 vertex to do that.
Loop over all combo as a quick fix   sergerusso/OpenJSCAD.org@bbb27d380543bf46cca1eb5e5dfd90252fd5c989
Can be more elegant though

Pull request #107 contains some changes to CSG.js and openjscad.js. I ran some tests and all issues with T-junctions were resolved after making those changes.
If you need this fixed then please make the changes manually.

This issue was moved to jscad/io#17


[WIP] #52 - re-run pending builds on server initialization.

The following is a WIP PR for issue #52.
Changes
launch.rb

On Launch::take_off, pending builds will be run after all other configuration takes place
Launch::run_pending_builds iterates through all projects and appends a worker task dedicated to running pending builds corresponding to each project asynchronously
provider_credential is now a memoized class method, since the provider_credentials are now being used in multiple class methods

json_build_data_source.rb

I made the methods JSONBuildDataSource::json_folder_path and JSONBuildDataSource::builds_path private, because I was worried about potential violation of the dependency inversion principle - since the abstract class doesn't have these public methods

Enhancements

[ ] Add tests
[ ] Show usecase
[ ] Validate everything works :joy:

This looks amazing 👍

It'd be great if you add the conformance to the JSONDataSource mixin to the build_json_data_source. 😁 I can help if you have any problems with it, you have examples on the user and project data sources!


remove the periodical refresh

The xds push works properly, this feature is not needed.

@hzxuzhonghu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-presubmit-tests-master
e4a6917a7abcfc536d8a37ce7c2e6446fc77ffdf
link
/test integ-mixer-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Cherry pick?


Package request for rofi-rbw

Project description
describe the project a little
rofi-rbw is a rofi client for rbw. Many rofi scripts have already been packaged but this rather new script is not. Though, it is possible to install it from pip, some applications don't recognize the binary.
Metadata

homepage URL: https://github.com/fdw/rofi-rbw

Would love to see This! I fiddled a bit around, but didnt quite get it running, im not very experienced with nix.
Does someone have a derivation, that works?

@dataO1 @farzin-az  I just added the above PR. Will highly appreciate testing and reviews.


CNExT: obs-period incremental

tweak extract to account for deltas

so, add records within 5x of last edit of the modified date. in this case,  we extract 5 weeks from today into the past, compare to moddttm --
perhaps in the where stat ..
`DECLARE @incDate =  dateadd (week, -5, getdate());
DECLARE @AllDates = '2010-01-01'
CASE $param (is increment or is all)
@fromDate = either incDate or AllDates
HExt.F00084 >= @fromDate`

done with #191 - will leave issue open for a couple of days to use this as template @lvarnedoe


Add support in Sunstone for adding Security Groups to Virtual Networks

Description
Currently there is no support for adding a Security Group to a Virtual Network from Sunstone when updating a Virtual Network.
Use case
This use case is similar to the one for +Add Range in Addresses Tab when updating a Virtual Network. Sunstone should have a +Security Group option in Security tab to add a Security Group when updating a Virtual Network.
Interface Changes
Changes in Sunstone required.
As it happens with Addresses tab:

Something similar should be placed in Security Tab:

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

@tinova PRs to be approved:

One: https://github.com/OpenNebula/one/pull/4747
Docs: https://github.com/OpenNebula/docs/pull/1122
Dev: https://github.com/OpenNebula/development/pull/982


Mxnet & feature hashing in R

Does mxnet support objects created by featureHashing package? Or is there another recommended method to handle large data in R?

I think this is not available now.
Can you give more info about which kind of data you are using and how large they are?

I think what @heyitskoma want is the support of sparse matrix as input. It would be nice to support that, because even though we mainly use Embedding to process high cardinality features, occasionally we use MXNet for large scale linear model.

FYI sparse support is available in python: https://mxnet.incubator.apache.org/versions/master/api/python/ndarray/sparse.html


Cannot  found React.NET Unable to load DLL 'ChakraCore' on Mac

Hi,
My application cannot handle React, but my colleagues laptop are alright.
It looks like I mess up the setup of .NET, any ideas?
Application started. Press Ctrl+C to shut down.
fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[0]
      An unhandled exception has occurred: Unable to resolve type: React.ReactEnvironment
React.TinyIoC.TinyIoCResolutionException: Unable to resolve type: React.ReactEnvironment ---> React.TinyIoC.TinyIoCResolutionException: Unable to resolve type: React.JavaScriptEngineFactory ---> JavaScriptEngineSwitcher.Core.JsEngineLoadException: During loading of ChakraCoreJsEngine error has occurred.
See more details:

Unable to load DLL 'ChakraCore': The specified module could not be found.
 (Exception from HRESULT: 0x8007007E) ---> System.DllNotFoundException: Unable to load DLL 'ChakraCore': The specified module could not be found.
 (Exception from HRESULT: 0x8007007E)```

Make sure you have installed the JavaScriptEngineSwitcher.ChakraCore.Native.osx-x64 package.

I only get -bash: Install-Package: command not found

Install-Package is a PowerShell cmdlet, not a Bash command. You need to install the JavaScriptEngineSwitcher.ChakraCore.Native.osx-x64 package in your app, in the same way that you installed ReactJS.NET itself.

How do you do that on mac?

If you're using ASP.NET Core, try:
dotnet add package JavaScriptEngineSwitcher.ChakraCore.Native.osx-x64
How did you install ReactJS.NET initially?
--
Regards,
Daniel Lo Nigro
http://dan.cx/ | Twitter http://twitter.com/Daniel15 | Facebook
http://www.facebook.com/daaniel
On Wed, Aug 2, 2017 at 11:05 PM, radjivC<EMAIL_ADDRESS>wrote:

How do you do that on mac?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/reactjs/React.NET/issues/431#issuecomment-319876555,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFnHU8z1vh7VTrz4p_Fx5MG7BGF5FEvks5sUWMYgaJpZM4Or-e9
.

@radjivC And don't forget to install the ICU4C library. To install this library, simply run in your terminal the following command:
brew install icu4c

@Taritsyn Amzing it work for me, thanks

Glad to hear you got it sorted :)


Line after console.log gets skipped.

Describe the bug

When executing this code, Foo does not get printed but Bar does. It seems like no matter what the line after the initial console.log is, it gets skipped. Looking at the generated code the Foo line isn't even there.
import {S as s, i as o, s as t} from "../chunks/index.847936d9.js";
function l(e) {
    return console.log(null, new Date),
    console.log("Bar"),
    []
}
class r extends s {
    constructor(n) {
        super(),
        o(this, n, l, null, t, {})
    }
}
export {r as default};

Reproduction
https://github.com/VimHax/Svelte-Bug
This bug only happens in a release build. Simply run the following commands after cloning.
npm install
npm run build
npm run preview

When you load the website, both in the browser console and server console, you will not see Foo getting printed. The logs should look something like below;
null 2023-03-23T08:37:20.392Z
Bar

Logs
No response
System Info
System:
    OS: Linux 6.1 Fedora Linux 37 (Workstation Edition)
    CPU: (12) x64 Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz
    Memory: 6.28 GB / 15.55 GB
    Container: Yes
    Shell: 3.6.0 - /usr/bin/fish
  Binaries:
    Node: 16.19.1 - ~/.nvm/versions/node/v16.19.1/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.19.3 - ~/.nvm/versions/node/v16.19.1/bin/npm
  Browsers:
    Firefox: 110.0
  npmPackages:
    @sveltejs/adapter-auto: ^2.0.0 => 2.0.0
    @sveltejs/kit: ^1.13.0 => 1.13.0
    svelte: ^3.57.0 => 3.57.0
    vite: ^4.2.1 => 4.2.1

Severity
annoyance
Additional Information
No response

ok, this is kind of wild.
vitePreprocess uses esbuild to transpile, and that includes pure annotations.

leads to

which the svelte compiler turns into the following js
function instance($$self) {
	console.log(null, new Date()); /* @__PURE__ */
	console.log("1");
	return [];
}

repl
notice how the pure annotation has moved from preceding the new Date() to preceding the next console.log
So far i can only assume that the subsequent bundling during build takes this as an invitation to strip the  console statement.

workaround: strip the pure annotations with another preprocessor. :see_no_evil:
// svelte.config.js
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'
import MagicString from 'magic-string';
import path from 'path';
export default {
  preprocess: [
    vitePreprocess(),
    {
      script({ content, filename }) {
        const s = new MagicString(content);
        s.replace(/\/\* [@#]__PURE__ \*\//g,'');
        return {
          code: s.toString(),
          map: s.generateDecodedMap({
            source: filename ? path.basename(filename) : undefined,
            hires: true
          })
        };
      }
    }
  ]
}

I ran into this today. Only it wasn't a console.log that got removed, but an important state variable being changed. Just so happened to be the next line of code after a function call that was being passed new Date() as an inline argument.

Thank you for reporting @baconpat   Can you share example code that caused it and does above workaround help you?
Instead of MagicString you can also use a plain regex replace with a similar amount of whitespace and keep the sourcemap.

Yes, the above workaround (I just used a plain regex instead of MagicString as you mentioned) does appear to work.
One important thing I realized while pulling out this example – if the new Date() argument is the first argument to the function then there is no issue. It's only when new Date() is the second argument (and likely any later argument but I didn't actually test that) that the next line of code is affected.
It's the call to someFnThatWantsADate in the code below that results in the issue:

<form method="POST" action="/handle-form" use:enhance={submitForm}>
  <input type="text" name="firstName" value={form?.data?.firstName ?? ""} disabled={submittingForm} />
  {#if submittingForm}
    Submitting...
  {:else}
    <button>Submit</button>
  {/if}
</form>

Here's what the pertinent lines look like from the generated JavaScript (in Chrome DevTools), first without the workaround:
await i("foo", new Date),
e = !1,

and then with the workaround in place:
await i("foo", new Date),
a(1, e = !1),

You can see that the fixed version wraps the assignment with a function call, which I'm assuming is the thing that's triggering the state change.

@dominikg  - Yes! I was able to remove the workaround code after upgrading to<EMAIL_ADDRESS>and the issue was gone. Thank you!

This is fixed in code-red 1.0.1. You will need to use Svelte 4 to get the fix


[GitHub] What permission sets can we create on the repo?

Looks like Wiki is either public (every Github user) or private (only users with push access).
Looks like Project is ready-only for everyone but users with push access.
Looks like Issues can be created with read-only access, but no assignment can be performed (Assignees, Labels, Projects and Milestones).
Issue Templates can only be created by repo maintainers (in Settings).
Looks like Pull Request can be made with read-only access.

Looks like group permissions for sawtooth-next-contributors are resolved. Access there is the path forward for new team members. Access needs to be requested through the Hyperledger Helpdesk.


[IOTDB-2989] Expression Serialize & Deserialize

See IOTDB-2989.

Coverage decreased (-0.01%) to 54.284% when pulling 1e30238d700c4f2ba1737cb3103d66dad3332f9f on iotdb-2989 into a27cd2e58b19517a9aadf8aac3850e3b796bec5d on master.


Vectara upd2

Update to Vectara integration

By user request added "add_files" to take advantage of Vectara capabilities to process files on the backend, without the need for separate loading of documents and chunking in the chain.

Updated vectara.ipynb example notebook to be broader and added testing of add_file()
@hwchase17 - project lead

@ofermend can you please have a look at the Lint errors -
langchain/vectorstores/vectara.py:153: error: Argument "files" to "post" of "Session" has incompatible type "Dict[str, Sequence[Iterable[Sequence[object]]]]"; expected "Optional[Union[Mapping[str, Union[Union[SupportsRead[Union[str, bytes]], str, bytes], Tuple[Optional[str], Union[SupportsRead[Union[str, bytes]], str, bytes]], Tuple[Optional[str], Union[SupportsRead[Union[str, bytes]], str, bytes], str], Tuple[Optional[str], Union[SupportsRead[Union[str, bytes]], str, bytes], str, Mapping[str, str]]]], Iterable[Tuple[str, Union[Union[SupportsRead[Union[str, bytes]], str, bytes], Tuple[Optional[str], Union[SupportsRead[Union[str, bytes]], str, bytes]], Tuple[Optional[str], Union[SupportsRead[Union[str, bytes]], str, bytes], str], Tuple[Optional[str], Union[SupportsRead[Union[str, bytes]], str, bytes], str, Mapping[str, str]]]]]]]"  [arg-type]
langchain/vectorstores/vectara.py:194: error: Unsupported target for indexed assignment ("Optional[Dict[Any, Any]]")  [index]

We can get this in once those are resolved.

Should be fixed now

Thanks! Just added minor formatting.


macro(exe_running_docker_save): add better support for centos

What type of PR is this?
/kind bug
/kind rule-update

Any specific area of the project related to this PR?
/area rules
What this PR does / why we need it:
dockerd and docker have "-current" suffix on centos and rhel. This
macro does not match causing false positives on multiple rules
using it
Does this PR introduce a user-facing change?:

NONE

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

55e7969 macro(exe_running_docker_save): add better support for centos

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign mstemm
You can assign the PR to them by writing /assign @mstemm in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

rules/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Welcome @admiral0! It looks like this is your first PR to falcosecurity/falco 🎉

/milestone 0.25.0

LGTM label has been added.  Git tree hash: ac844deaea2f6d8024c4e3b1d61749bc04d02640

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fntlnz
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

rules/OWNERS [fntlnz]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

I edited the release note as this is a user facing change. This is scheduled to go into 0.25.0

@Kaizhe PTAL

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fntlnz, Kaizhe
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

rules/OWNERS [Kaizhe,fntlnz]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fntlnz, Kaizhe
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

rules/OWNERS [Kaizhe,fntlnz]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Move to org.bdgenomics.utils 0.2.0 release

Resolves #536, #581, #603, #657. In anticipation of the 0.17.0 release, this moves to the org.bdgenomics.utils 0.2.0 release. This leads to:

Unblocks #654.
Moves from the org.bdgenomics.utils.parquet.io package to the org.bdgenomics.utils.io package
Eliminates the CLI classes that had already moved to utils.
Adds the infrastructure for building Scala 2.10 and 2.11 artifacts. This includes infrastructure for releasing both artifacts, so the ADAM 0.17.0 release will have both 2.10 and 2.11 artifacts! Yay!

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/ADAM-prb/691/Build result: FAILUREGitHub pull request #664 of commit ed7a98f5217a5747fed974ef9268a4e190897f2b automatically merged.Notifying endpoint 'HTTP:https://webhooks.gitter.im/e/ac8bb6e9f53357bc8aa8'[EnvInject] - Loading node environment variables.Building remotely on amp-jenkins-worker-05 (centos) in workspace /home/jenkins/workspace/ADAM-prb > git rev-parse --is-inside-work-tree # timeout=10Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/bigdatagenomics/adam.git # timeout=10Fetching upstream changes from https://github.com/bigdatagenomics/adam.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/bigdatagenomics/adam.git +refs/pull/:refs/remotes/origin/pr/ > git rev-parse origin/pr/664/merge^{commit} # timeout=10 > git branch -a --contains 3066f146a1794ec8541556a1f976abd800469192 # timeout=10 > git rev-parse remotes/origin/pr/664/merge^{commit} # timeout=10Checking out Revision 3066f146a1794ec8541556a1f976abd800469192 (origin/pr/664/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f 3066f146a1794ec8541556a1f976abd800469192First time build. Skipping changelog.Triggering ADAM-prb ? 1.0.4,centosTriggering ADAM-prb ? 2.2.0,centosTriggering ADAM-prb ? 2.3.0,centosADAM-prb ? 1.0.4,centos completed with result FAILUREADAM-prb ? 2.2.0,centos completed with result FAILUREADAM-prb ? 2.3.0,centos completed with result FAILURENotifying endpoint 'HTTP:https://webhooks.gitter.im/e/ac8bb6e9f53357bc8aa8'
Test FAILed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/ADAM-prb/692/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/ADAM-prb/695/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/ADAM-prb/699/
Test PASSed.

+1, lgtm, I'm good to merge @fnothaft

er, after rebasing, of course

bump! this would be nice to have in

@fnothaft let me know if you want me to rebase this for you...

@laserson I actually just sent fnothaft/adam#6 to do so, albeit with a merge of origin/master into this branch, fnothaft/utils-0.2.0 :)

Well, feel free to just apply the changes, git commit --amend, and either
submit your own PR with @fnothaft's commit or just manually merge it in.
......................................
Uri Laserson
+1<PHONE_NUMBER>
<EMAIL_ADDRESS>On Tue, May 26, 2015 at 3:11 PM, Ryan Williams<EMAIL_ADDRESS>wrote:

@laserson https://github.com/laserson I actually just sent
fnothaft/adam#6 https://github.com/fnothaft/adam/pull/6 to do so,
albeit with a merge of origin/master into this branch,
fnothaft/utils-0.2.0 :)
—
Reply to this email directly or view it on GitHub
https://github.com/bigdatagenomics/adam/pull/664#issuecomment-105684127.

Sorry, I was OOO at UCSF for meetings today. I will rebase this now.

no worries, @fnothaft, thanks

Merged through @ryan-williams's PR.  Thanks guys!

Thanks @laserson and @ryan-williams!


Support parent-child relationship

This builds on @xiaogaozi's work on #3.
Add support for parent-child mapping.
Example Usage
Let's use the data from the Elasticsearch Parent-Child Mapping docs and adapt it to MongoDB. Suppose you have a company database in MongoDB with the collections branch and employees. Use this script to load some sample data:
Note: this example assumes you have a MongoDB replica set on localhost:27017 and an Elasticsearch instance on localhost:9200.
from pymongo import MongoClient

HOST = 'mongodb://localhost:27017'
client = MongoClient(HOST)

company = client.company
branch = company.branch
employee = company.employee

def insert_parent_child(parent_doc, child_doc, parent_field):
    res = branch.insert_one(parent_doc)
    child_doc[parent_field] = res.inserted_id
    employee.insert_one(child_doc)

branch_docs = [
    {'name': 'London Westminster', 'city': 'London', 'country': 'UK'},
    {'name': 'Liverpool Central', 'city': 'Liverpool', 'country': 'UK'},
    {'name': 'Champs Elysees', 'city': 'Paris', 'country': 'France'}]
employee_docs = [
    {'name': 'Mark Thomas', 'dob': '1982-05-16', 'hobby': 'diving'},
    {'name': 'Barry Smith', 'dob': '1979-04-01', 'hobby': 'hiking'},
    {'name': 'Adrien Grand', 'dob': '1987-05-11', 'hobby': 'horses'}]

for branch_doc, employee_doc in zip(branch_docs, employee_docs):
    insert_parent_child(branch_doc, employee_doc, 'branch_id')

In the current pull request, the elastic-doc-manager does not automatically create the parent-child mapping. So create the mapping manually before running mongo-connector:
curl -XPUT 'http://localhost:9200/company' -d '{
  "mappings": {
    "branch": {},
    "employee": {
      "_parent": {
        "type": "branch"
      }
    }
  }
}'

Next, create the mongo-connector config file with parent-child mapping options:
{
  "mainAddress": "localhost:27017",
  "verbosity": 2,
  "docManagers":[
    {
      "docManager": "elastic2_doc_manager",
      "targetURL": "localhost:9200",
      "args": {
        "routing": {
          "company": {
            "employee": {
              "parentField": "branch_id"
            }
          }
        }
      }
    }
  ]
}

Next, run mongo-connector with the above config file:
mongo-connector -c parent-child-config.json
Finally, you can query Elasticsearch with your MongoDB data.
Query Elasticsearch for children by their parents:
curl -XGET 'http://localhost:9200/company/employee/_search/?pretty=1' -d '{
  "query": {
    "has_parent": {
      "type": "branch",
      "query": {
        "match": {
          "country": "UK"
        }
      }
    }
  }
}'

Or, query Elasticsearch for parents by their children:
curl -XGET 'http://localhost:9200/company/branch/_search/?pretty=1' -d '{
  "query": {
    "has_child": {
      "type": "employee",
      "query": {
        "range": {
          "dob": {
            "gte": "1980-01-01"
          }
        }
      }
    }
  }
}'

Up for discussion:

Should the config file format be changed?
Should the DocManager automatically create the parent and child index/mapping?

In this case, we need to add a parentType field to the config file as well as the parentField.

This does not support nested parent fields, eg. "parentField": "foo.bar.parent_id" will not work.
This does not support grandparents and grandchildren. The difficulty here is that to insert a grandchild document, we need the parent id (for parent) and the grandparent id (for routing). I propose we only support grandparent relationships when the grandchild documents contain a parentField and an additional routingField. This would avoid having to query the parent collection to find the parent's _routing to use for routing (what if the parent doesn't exist yet which may happen during the collection dump?). This would support great-grandchildren, great-great-grandchildren, etc. automatically. Extending the example above with the Elasticsearch Grandparents example:

{
  "mainAddress": "localhost:27017",
  "verbosity": 2,
  "docManagers":[
    {
      "docManager": "elastic2_doc_manager",
      "targetURL": "localhost:9200",
      "args": {
        "routing": {
          "company": {
            "branch": {
              "parentField": "country_id"
            },
            "employee": {
              "parentField": "branch_id",
              "routingField": "routing_id"
            }
          }
        }
      }
    }
  ]
}

@benan789 is this how you imagine grandparent relationships could work?

Yes, that's perfect.

Is there an ETA on this? Thanks!

Will this feature be merged? Thanks!

@ShaneHarvey - Sorry for the delay!  We were able to test this and it worked.

@ShaneHarvey - I've been testing this out for the use case my coworker @lnader asked about. It's working great! 👍

so, can I use this? and is this safe to use?
thank's masters 👍

@ShaneHarvey - When will this get merged?  Thanks

Hello, any news on when we got this merged and we can use it ? Thanks!

Hello, any news on when we got this merged ? Thanks! :)

When is this going to get merged?

I'd like to use this too. Any update on when it will be merged?

Having this functionality would be super-helpful. @ShaneHarvey: any chance you could update this PR so we could look at merging it again?

Hello,
I performed some ugly development in order for mongo-connector to support parent/child relationship,
routing and to fit also with oplog issue: https://github.com/mongodb-labs/mongo-connector/issues/446
I could make a PR with the code as it is actually and if you want, you could improve it.
It works for me.

I tested this case under es5.5.2,  not passed. :-(
2017-09-19 17:06:42,881 [CRITICAL] mongo_connector.oplog_manager:670 - Exception during collection dump
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/mongo_connector/oplog_manager.py", line 625, in do_dump
upsert_all(dm)
File "/usr/lib/python2.7/site-packages/mongo_connector/oplog_manager.py", line 611, in upsert_all
mapped_ns, long_ts)
File "/usr/lib/python2.7/site-packages/mongo_connector/util.py", line 46, in wrapped
reraise(new_type, exc_value, exc_tb)
File "/usr/lib/python2.7/site-packages/mongo_connector/util.py", line 35, in wrapped
return f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/mongo_connector/doc_managers/elastic2_doc_manager.py", line 367, in bulk_upsert
for ok, resp in responses:
File "/usr/lib/python2.7/site-packages/elasticsearch/helpers/init.py", line 163, in streaming_bulk
for result in _process_bulk_chunk(client, bulk_actions, raise_on_exception, raise_on_error, **kwargs):
File "/usr/lib/python2.7/site-packages/elasticsearch/helpers/init.py", line 135, in _process_bulk_chunk
raise BulkIndexError('%i document(s) failed to index.' % len(errors), errors)
OperationFailed: (u'3 document(s) failed to index.', [{u'index': {u'status': 400, u'_type': u'employee', u'_id': u'59c0d72823ad98799d437c25', u'error': {u'index_uuid': u'na', u'index': u'company', u'reason': u'routing is required for [company]/[employee]/[59c0d72823ad98799d437c25]', u'type': u'routing_missing_exception'}, u'_index': u'company'}}, {u'index': {u'status': 400, u'_type': u'employee', u'_id': u'59c0d72823ad98799d437c27', u'error': {u'index_uuid': u'na', u'index': u'company', u'reason': u'routing is required for [company]/[employee]/[59c0d72823ad98799d437c27]', u'type': u'routing_missing_exception'}, u'_index': u'company'}}, {u'index': {u'status': 400, u'_type': u'employee', u'_id': u'59c0d72823ad98799d437c29', u'error': {u'index_uuid': u'na', u'index': u'company', u'reason': u'routing is required for [company]/[employee]/[59c0d72823ad98799d437c29]', u'type': u'routing_missing_exception'}, u'_index': u'company'}}])
2017-09-19 17:06:42,883 [ERROR] mongo_connector.oplog_manager:678 - OplogThread: Failed during dump collection cannot recover! Collection(Database(MongoClient(host=[u'localhost:27018'], document_class=dict, tz_aware=False, connect=True, replicaset=u'rs'), u'local'), u'oplog.rs')
2017-09-19 17:06:43,444 [ERROR] mongo_connector.connector:398 - MongoConnector: OplogThread <OplogThread(Thread-3, started<PHONE_NUMBER>01120)> unexpectedly stopped! Shutting down
2017-09-19 17:06:43,445 [INFO] mongo_connector.connector:459 - MongoConnector: Stopping all OplogThreads

Please add me to the list of folk asking when this will be merged.  I need to link two huge collections and application side joins and nesting are out of the question.

hello~when will it be merged?

@eric-chao I have a similar problem. How did you solve it? Or is this branch not integrated into the main molecule, which is unable to use this function?
@ShaneHarvey
Does the current version have been supportedParent-child relationship Or does it support mongodb DBref?

Sadly, this PR has some non-trivial merge conflicts with the implementation. @ShaneHarvey if you're willing to resolve the merge conflicts and if you don't think the implementation is stable enough for a release, I'd like to get it out, as it sounds like there's some good demand for it.

I'm cleaning up some old issues highlighted by the new github dashboard UI and realized this is still open. Sorry for the huge delay here @jaraco (and everyone else waiting for this feature).
The problem with this PR is that it conflicts with the bulk/buffering work added in  https://github.com/yougov/elastic2-doc-manager/pull/15. Resolving the conflicts are definitely non-trivial. In order for this to be merged I think the buffering logic might need to be simplified to make parent-child lookup logic simpler. That said, I haven't worked on this project for quite a while and my knowledge of Elastic is also not up to date so there might be a solution that does not involve changing the bulk buffer logic.
For now I'm going to close this PR because I'm not planning to work on it. Anyone else is free to take over this work and open a new PR using the same ideas (as I did with #3).


Add Vehicle - UE measurements don't change regardless of scale in Blender

Hello,
I have been having issue with scaling with importing fbx model from Blender into Unreal Engine. The actual measurement doesn't seem to change despite whatever size (or scale?) of the vehicle. All the meshes and Armature use scale 1.0, and I only change the Scene scale. Please see two examples below:
In this example, I use 1.0 scale in Blender

Keeping everything the same as 1st example, I changed the scale to 0.01 in Blender

The numbers show in UE4 is the meter value in Blender. Checking other cars in Carla, I believe it's supposed to show cm in UE4? Due to this issue, I believe I have been getting spawn collision error.
Any pointer for what I did wrong is greatly appreciated. Thanks!

I resolved this issue. I decided to started from scratch. I set the scene unit to 0.01 scale before import anything. After that I import the Skeleton and the car model (supposedly in their true scale).
I think i messed up the scaling way too many times by keep changing the scene scaling with the models already in it. And changing scale of the skeleton and model itself.
So my recommend for those who face the same issue is:

Prepare your model separately with scale 1 at its true measurements in meter, and correct orientation for Unreal Engine (x-forward, z-up)  and save to fbx file.
Start a new blender environment > Set Scene unit to 0.01 scale
Import the General4WheeledVehicleSkeleton fbx file
Import the Vehicle fbx file prepare in step 1.
Work on the usual rigging and export.

I resolved this issue. I decided to started from scratch. I set the scene unit to 0.01 scale before import anything. After that I import the Skeleton and the car model (supposedly in their true scale).
I think i messed up the scaling way too many times by keep changing the scene scaling with the models already in it. And changing scale of the skeleton and model itself.
So my recommend for those who face the same issue is:

Prepare your model separately with scale 1 at its true measurements in meter, and correct orientation for Unreal Engine (x-forward, z-up)  and save to fbx file.
Start a new blender environment > Set Scene unit to 0.01 scale
Import the General4WheeledVehicleSkeleton fbx file
Import the Vehicle fbx file prepare in step 1.
Work on the usual rigging and export.

There still seems like some physics issue with the performance still.
Here is a sample clip. You can see the car is a bit "hovering" ?  and when the car brakes, the front sort of tips up.
https://user-images.githubusercontent.com/23693651/106399655-fe4d3500-63e7-11eb-8698-bf267da6981b.mp4
Here is what I have for the vehicle in PhysicsAsset

There still seems like some physics issue with the performance still.
Here is a sample clip. You can see the car is a bit "hovering" ?  and when the car brakes, the front sort of tips up.
https://user-images.githubusercontent.com/23693651/106399655-fe4d3500-63e7-11eb-8698-bf267da6981b.mp4
Here is what I have for the vehicle in PhysicsAsset

did you upscaled in blender and then started rigging, if you didnt thats causes this problem, i have read your text above with the scaling isuue and i was struggling aswell, the i used the ue4 addon for Blender to rig vehicles its works magic and fast process, the vehicle turns out perfect in carla, check continuebreak.com for the addon

@parth3153 I went through the same tutorial for get the rigging to work, I used the addon as well. But eventually just do manual rigging, well, just for the fun of it.
The scaling issue was a bit tricky. But because I need to work on several import iterations, I stick with the routine mentioned above to get it to work in every iteration now.


Generated CSharp Code contains leading digit 1 instead of operation name

Reproduction:

Open NSwagStudio
Point to this Swagger documentation
Tick "CSharp Client"
Generate Outputs

Behavior:
The resulting code is syntactically wrong. Line 2171 (2181 similar) and following read:
public System.Threading.Tasks.Task<SearchResult> 1Async(SearchRequest searchRequest)
{
    return 1Async(searchRequest, System.Threading.CancellationToken.None);
}

Note the syntactically wrong 1 at the beginning of the identifier.
Expected Behavior:
public System.Threading.Tasks.Task<SearchResult> SearchAsync(SearchRequest searchRequest)
{
    return SearchAsync(searchRequest, System.Threading.CancellationToken.None);
}

Same behavior can be reproduced using the API through .net itself:
SwaggerDocument document = await SwaggerDocument.FromUrlAsync("https://ps-reg-demo.chemaxon.com/RegistryCxn/rest/api/doc");
SwaggerToCSharpClientGeneratorSettings settings = new SwaggerToCSharpClientGeneratorSettings();
SwaggerToCSharpClientGenerator generator = new SwaggerToCSharpClientGenerator(document, settings);
string code = generator.GenerateFile();

Try using

This worked. However, I leave it up to you to decide if this is bug to fix or "as designed". Thanks for your response!

This is as designed - the default mode assumes that the operation ID is "controllerName_operationName" as generated by NSwag (Web API => Swagger).
In CSharp you can also implement an own OperationGenerationMode...

Which parts of a Swagger JSON file determine the method naming? I have an NSwag project where I can't change the Operation Generation Mode but I can change the input Swagger JSON file to produce valid output. Can I specify a manual name somewhere?


Https connection example doesn't work

I'm using the HttpsClient example authored by @Sukaibin11 . Board A7608E-H with latest firmware B08.
I think that
http.connectionKeepAlive();  // Currently, this is needed for HTTPS
Doesn't really provide https connection - so as not to confuse - this setting is necessary for the proper operation of https, but it is not sufficient to establish an https connection. For now, I use an external library with an appropriate certificate.
Response:

400 The plain HTTP request was sent to HTTPS port

400 Bad Request
The plain HTTP request was sent to HTTPS port
nginx/1.10.3 (Ubuntu)

It'd be great if we could have such feature.
Additionally - I am posting data to the server in a loop, with connectionKeepAlive, when i want to close the connection with http.stop, and then run http.connect(SERVER, SSL_PORT) again - in next iteration, I get an exception:
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.
Core  1 register dump:
PC      : 0x400d5659  PS      : 0x00060e30  A0      : 0x800d525e  A1      : 0x3ffb20e0
A2      : 0x3ffb9d0c  A3      : 0x3f4007e5  A4      : 0x00000000  A5      : 0x00000000
A6      : 0x00ff0000  A7      : 0xff000000  A8      : 0x800d5cd4  A9      : 0x3ffb20c0
A10     : 0x00000000  A11     : 0x3f40340d  A12     : 0x00000002  A13     : 0xffffffff
A14     : 0x00ff0000  A15     : 0xff000000  SAR     : 0x0000000a  EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000  LBEG    : 0x400864c1  LEND    : 0x400864d1  LCOUNT  : 0xfffffffd
Backtrace: 0x400d5656:0x3ffb20e0 0x400d525b:0x3ffb2100 0x400d4cd4:0x3ffb2120 0x400d27f6:0x3ffb2140 0x400d40a9:0x3ffb21b0 0x400d41d0:0x3ffb2270 0x400d6df9:0x3ffb2290
Decoded:
PC: 0x400d5651: stop_ssl_socket(sslclient_context*, char const*, char const*, char const*) at C:\XXX\Arduino\libraries\SSLClient\src\ssl_client.cpp line 339
EXCVADDR: 0x00000000
Decoding stack results
0x400d564e: stop_ssl_socket(sslclient_context*, char const*, char const*, char const*) at C:\XXX\Arduino\libraries\SSLClient\src\ssl_client.cpp line 336
0x400d5253: SSLClient::stop() at C:\XXX\Arduino\libraries\SSLClient\src\SSLClient.cpp line 69
0x400d4ccc: HttpClient::stop() at C:\XXX\Arduino\libraries\ArduinoHttpClient\src\HttpClient.cpp line 47
0x400d27f6: PostToFirebase(char const*, String const&, String const&, HttpClient*) at D:\XXX\sketch_jun14a/sketch_jun14a.ino line 387
0x400d40a9: gps_loop() at D:\XXX\sketch_jun14a/sketch_jun14a.ino line 307
0x400d41c8: loop() at D:\XXX\sketch_jun14a/sketch_jun14a.ino line 232
0x400d6df1: loopTask(void*) at C:\XXXi\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.9\cores\esp32\main.cpp line 50
What is a proper way to close the https connection with connectionKeepAlive defined before? Should we firstly disable it somehow to prevent such exceptions? What is exactly happening?

I have never used a third-party HTTPS library, and I recommend using the built-in HTTPS feature.
The general situation regarding assertions is that accessing the wrong address results in an exception.

@GabrielZre: i have a library for this board here that makes available the built-in http(s) features of the A7608.

Does someone have the example of HTTPS POST request with build-in https SIMCOM commands?
The example of https usage in docs is really stripped down, It doesn't work in my case, I am trying to find out why, maybe combining http library which I configure my apn, etc. to connect to network is conflicting...

@GabrielZre check my previous comment.

@gasagna Im looking something with AT Commands, supporting https.

@GabrielZre Look at that repository, please. It contains the answer to your question, but you need to do some work. I wrapped all the required AT commands to support HTTP with SSL/TLS. You can use the wrappers, or just study how the AT commands are called. If you turn on the debugging, it will output all the communication with the SIMCOM module.


Feature/preserve arb comments

In Flutter there are translations in arb files, which are mostly JSON files. But for comments, the keys starts with "@" at symbol, so this new option preserves the comments at the correct position. Example:
{
    "@common_dialog": "Common dialogs comments goes below",
    "common_dialogConfirmation_title": "Confirmation",
    "common_dialogConfirmation_yesButton_text": "Yes",
    "@common_label": "This is a comment, because it starts with @ at symbol",
    "common_label_back": "Back",
    "common_label_cancel": "Cancel",
    "common_label_close": "Close"
}

Thanks @WKnak for making it better 🙌 I'll add some UTs and lint fixes before publish. Nice work 🚀

Thanks for accepting the PR! Just for information, the demo has the UI option for sorting the ARB with "@"comments, but the /dist/jsonabc.js doesn't have it. When you have a little time, can you please upload the /dist/jsonabc.js too? Thanks again!

Thanks for pointing that out. I ran the build.


Broken link

Important link in blue at the top of the page goes to a 404 page:
https://www.poshtestgallery.com/packages/MicrosoftTeams

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

ID: b49821e2-bc94-5125-03e0-a31c650f48ca
Version Independent ID: 2c52cc4e-47a1-be0d-8860-1011adf061fd
Content: New-TeamChannel (MicrosoftTeamsPowerShell)
Content Source: teams/teams-ps/teams/New-TeamChannel.md
Service: teams-powershell
GitHub Login: @SerdarSoysal
Microsoft Alias: serdars

Thanks for reporting @JakeMoe


Acrobat Reader does not display values filled by HummusJs pdf-fill-form

I'm trying to figure out why Acrobat Reader doesn't display values filled with HummusJS and pdf-form-fill.js.  I can open the pdf in Chrome and see the filled field as expected but not when I open in Acrobat Reader.  Clicking in the field also does not get the value to display.
Using:

The code in this sample (HummusJSSamples/filling-form-values) latest commit (6261ead).  With one modification: .TD(0,4.5) added to writeAppearanceXObjectForText in pdf-form-fill.js to fix alignment as per #12.  But same issue even without that modification.
Adobe Acrobat Reader DC Version 2018.011.20063
Chrome Version 69.0.3497.100

Pdf with filled field (2.a. Family Name of Attorney)
g-28-out.pdf

Having same issue here.

Is it possible it's due to being an XFA form?   Ran across this:
https://stackoverflow.com/questions/24149361/form-field-values-set-with-pdfbox-not-visible-in-adobe-reader
I don't know yet if these government forms are XFA.

It is definitely one issue. This form is XFA, and therefore the XFA data must be edited in addition to the AcroForm data. This issue can be solved by adding an XFA editing implementation. i'll see how hard this is an might add it.
Another thing is that this document is encrypted and got extensions. it might be that this means that this document is only meant to be edited in acrobat manually and not filled automatically. that is - to do this one has to learn how to override the encryption and extension. which may be considered hacking, and in any case may be hard to learn how to do.
I'm gonna try to improve the form filling sample code, but it might just be that i won't be able to resolve this issue, especially if implementing XFA support wont be enough. I think it might not be enough...because if it was, then i think dropping XFA should have been enough...and i tried this and still the form didnt show up properly.
b.t.w you can see that chrome ignores the whole encrypt/XFA elements, cause it shows the text fine. especially if using the new options i'm providing here to let the code use a system font and some known graphic options:
https://github.com/galkahana/HummusJSSamples/tree/improve-form-filling

Outstanding.  Thanks for looking at this Gal.  Please let me know what I can do.

I'm also just started looking at a government's pdf.. And cant load data out of the form with hummus (quick test).
With this tool, I'm able to see some content of the pdf. My point is that the source from the tool might be helping you.

I merged improve-form-filling branch as i'm quite busy with other stuff, and it should be worthwhile to some of you.
The merge allows you to provide default text options (size, color, font) to use when filling text fields.
This should improve:

text positioning (for those of you for whom the text sits too low). This also solves Quad support (text alignment).
less chance that the text will not appear when not in focus. The provided font will be used to create the out-of-focus appearance, and there's no reliance on the embedded font (which possibly doesn't have the right glyphs, or just encoded in some sophisticated anner).

There's still XFA update to handle, and whatever encryption issues to solve, and this is just one font for the whole form...and doesn't allow to use multiple per what's required by the specific field, but using this thing should help more forms into the fold.
this - https://github.com/galkahana/HummusJSSamples/blob/master/filling-form-values/main_g28.js#L12 - shows an example. you provide an extra options structure and in it defaultTextOptions which value is text options, like what you'd provide to writeText (https://github.com/galkahana/HummusJS/wiki/Show-text)

k. slight progress here.
My solution from 7 days ago had an error, which meant that with the sample forms (and probably others), the default text options font was not correctly included in the form. so i fixed it.
now, if i remove the XFA form....acrobat complains, but THE FORM LOOKS GOOD. it doesn't if i keep the XFA.
so...there's room for optimism. if i can "fill" the XFA form with values, this might be a solution.
with this extra enthusiasm, i'll try to see if i can patch something quick for that...if anyone wants to help, please do.
Gal.

k. additional.
A simple prototype. just wrote the XML required as an XFA dataset with what i assume was the right values....outcome creates a good form with no complaints from Acrobat.
So it's now clear the only TODO is to update the XFA form values.
Things is XFA format is ~1500, has nothing to do with PDF.
So. i'll see if i can reverse engineer here so i don't have to read everything, otherwise...there's still a wait till i get some time to do this....unless someone wants to do this instead, ahem ahem. e.g. someone with an actual project, and not just doing this for exercise.
branch is here:
https://github.com/galkahana/HummusJSSamples/tree/forms/wip

Fantastic Gal :) Can you point me toward how I open the door to the XFA?  Remember that you're talking to a PDF neophyte.  I really know about next to nothing on PDFs but if you can point, I can start swinging.  Really appreciate your time and effort on this.

I totally get it Gal and I'm really sorry I triggered that.  I didn't understand that XFA wasn't part of PDF but I'm checking it out.  It's very clear that your contributions have helped many.  We all develop our technical niches but I can tell you that PDF seems to be one area that seems to be lacking active ongoing opensource contributions from those that really know how they work - which is why I was very glad to run across HummusJS.  But maybe now we're seeing why it's especially hard to keep those projects going.  I get it.


Package manager refactoring

remove retries from method arguments (too many args; they are generally most often not useful)
then add retries as packagemanager fields / options; then introduce callbacks for overriding this in tasks SyncTask.sync { packageManager.uploadRetry { /**/ } }
this is ok as of InstanceSync is constructed each time and could be constructed easily with different options separately for each call of method upload(), deploy() etc

implemented in #604


[WIP] common converter of stdin.

Please do not merge this PR yet [Work In Progress]
To employ common input for ARTED and GCEED parts, I moved a converting function of stdin from ARTED to outside of it.
Now, any input parameters can be written in any order in the input file, even for control parameter, cfunction.
This is just a preparation to share the input between the two codes.
ToDo: Implement Makefile build

Can one of the admins verify this patch?

add to whitelist

I haven't noticed for modified comment. I merge PR now.


Missing GetHashCode implementations

Equals is implemented in a variety of places without a corresponding implementation of GetHashCode.

Have this covered

@paul-mannino This still needs tests.

Tests are in pull request #69.


Add toggle button on the UI for list including elements in projects.

Description
This PR allows listing elements that are in projects when in the Default view.
Nowadays, Admins cannot list in the UI many relevant data, unless entering in each of the projects, which can be humanly not feasible considering 10s or 100s of projects.
For example, one Admin cannot list all VMs, SSH keys, affinity groups, volumes, not even events that happen in a project in order to track all the events.
The UI tabs that are considered for this proposed PR are:

'vm',
'vmgroup',
'ssh',
'affinitygroup',
'volume',
'snapshot',
'vmsnapshot',
'guestnetwork',
'vpc',
'securitygroups',
'publicip',
'vpncustomergateway',
'template',
'iso',
'event'

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[X] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[X] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
VMs

Events

How Has This Been Tested?

Build and run new UI
Log in with admin account
check tabs on default view
check tabs on a project
log with a "normal" user
ensure that the user can list only elements in his own project

@blueorangutan ui

@GabrielBrascher a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5790 (SL-JID-919)

@GabrielBrascher, thanks for the PR!
CLGTM, I'm just wondering if, when also listing elements that are in projects, users will be able to distinguish which project each resource belongs to.

Thanks for the review, @GutoVeronezi.
It is possible to check which project a VM is by getting into the respective VM UI tab.
For example, this is one of the VMs I had for this test:

@GabrielBrascher, understood.
Regarding to UX and in case of listing also project elements, I think we should add the project info into the list. Perhaps we should create an issue to address it in the future, as it will require more analysis and hard work.

LGTM - should this be on 4.16  @GabrielBrascher since it's a minor UI change and (some) backend APIs already supports listing with projectid=-1?
@GabrielBrascher suggestions:

maybe add an account column in user resources such as VM, volumes, networks etc (as those belonging to a project will list the name of the project as account?)
should this be a global switch on the top, besides the project selector dropdown? (or left of the translation button)

@blueorangutan ui

@GabrielBrascher a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5790 (SL-JID-953)

@blueorangutan ui

@rohityadavcloud a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5790 (SL-JID-984)

Verified changes. @GabrielBrascher Can you change the toggle button label to 'Projects' from 'All Projects'?

@sureshanaparti thanks for the testing and review.
Sure, I can change the label to just Projects.

@sureshanaparti I've added a commit addressing your review:
Change switch button name from 'All Projects' to just 'Projects'. e1a94a9

@GabrielBrascher a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5790 (SL-JID-1002)


Updated index.css

Updated and fixed hover effect .
closes the issue #389

@arghadipmanna101 sir have a look on this PR any issue let me know or I request you to merge it . Thanks


Create uped

@Darkware03 lib/domains/uped: 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.


[1.13] Add Ubuntu 16.10 "yakkety yak" debs

Ubuntu 16.10 was released https://wiki.ubuntu.com/YakketyYak/ReleaseSchedule, so we should add this to the list of supported versions for 1.13
Also should be added to the installation docs in the "vnext-engine" branch; https://github.com/docker/docker.github.io/blob/vnext-engine/engine/installation/linux/ubuntulinux.md
/cc @vieux @andrewhsu

Agreed.

I concur.

Following those steps, apt-cache policy docker-engine will return:
N: Unable to locate package docker-engine

@aadrian this is for docker 1.13, which has not yet been released. We do have a release candidate for docker 1.13 (see the "testing" repo); http://apt.dockerproject.org/repo/pool/testing/d/docker-engine/
And the easy way to install it is using curl -fsSL https://test.docker.com | sh
Keep in mind, that it's a release candidate, so should not be used for production, and that once 1.13 has been released, you need to switch to the "main" deb repository


Added Solution of 0041 First Missing Positive - Issue #52

This is the solution for issue #52
Runtime: 32 ms
Memory Usage: 14.1 MB

@vJechsmayr There has been some updates in Hacktoberfest so could you please follow these guidelines so that my PRs count?
thank you so much!
Update link


[Bug] Data Import Dialog -  Lists hint missing commas

In the Data Import dialog there is a hint for what lists are in the case of our cbexport/import tool.
the hint is missing commas between most of the values.

Fixed, will be available in the next release:


ASF ignores AutoRestart and shuts itself down after I edit ASF.json

Bug
Description
I run ASF as a systemd service. I've edited ASF.json while ASF was running and noticed the service had shutdown. I suppose this is a bug because I already have AutoRestart set to false.
Expected behavior
ASF to not shutdown.
Actual behavior
ASF shuts itself down.
Steps to reproduce

Set AutoRestart to false in ASF.json
Start ASF
Edit ASF.json and save it
OnCreatedConfigFile() will be triggered and ASF will shutdown

Full log.txt recorded during reproducing the problem
2018-04-18 19:30:05|dotnet-7933|INFO|ASF|InitASF() ASF V<IP_ADDRESS> (a90c95d4-11bb-4c49-8c76-a69e8119ba9b)
2018-04-18 19:30:05|dotnet-7933|INFO|ASF|Start() Starting IPC server on http://*:1111/...
2018-04-18 19:30:05|dotnet-7933|INFO|ASF|Start() IPC server ready!
2018-04-18 19:30:05|dotnet-7933|INFO|1|Start() Starting...
2018-04-18 19:30:15|dotnet-7933|INFO|1|Connect() Connecting...
2018-04-18 19:30:16|dotnet-7933|INFO|1|OnConnected() Connected to Steam!
2018-04-18 19:30:16|dotnet-7933|INFO|1|OnConnected() Logging in...
2018-04-18 19:30:16|dotnet-7933|INFO|1|OnLoggedOn() Successfully logged on!
2018-04-18 19:30:16|dotnet-7933|INFO|1|Init() Logging in to ISteamUserAuth...
2018-04-18 19:30:17|dotnet-7933|INFO|1|IsAnythingToFarm() Checking first badge page...
2018-04-18 19:30:19|dotnet-7933|INFO|1|Init() Success!
2018-04-18 19:30:20|dotnet-7933|INFO|ASF|OnCreatedConfigFile() Global config file has been changed!
2018-04-18 19:30:20|dotnet-7933|INFO|ASF|RestartOrExit() Exiting...
2018-04-18 19:30:22|dotnet-7933|INFO|1|StartFarming() We don't have anything to idle on this
2018-04-18 19:30:26|dotnet-7933|INFO|1|Stop() Stopping...
2018-04-18 19:30:26|dotnet-7933|INFO|1|OnDisconnected() Disconnected from Steam!

Global ASF.json config
{
  "AutoRestart": false,
  "BackgroundGCPeriod": 0,
  "Blacklist": [],
  "CommandPrefix": "!",
  "ConfirmationsLimiterDelay": 10,
  "ConnectionTimeout": 60,
  "CurrentCulture": "en-US",
  "Debug": false,
  "FarmingDelay": 15,
  "GiftsLimiterDelay": 1,
  "Headless": false,
  "IdleFarmingPeriod": 8,
  "InventoryLimiterDelay": 3,
  "IPC": true,
  "IPCPassword": <suppressed>,
  "IPCPrefixes": [ "http://*:1111/" ],
  "LoginLimiterDelay": 10,
  "MaxFarmingTime": 5,
  "MaxTradeHoldDuration": 15,
  "OptimizationMode": 0,
  "Statistics": false,
  "SteamOwnerID": <suppressed>,
  "SteamProtocols": 2,
  "UpdateChannel": 0,
  "UpdatePeriod": 0,
  "WebLimiterDelay": 200
}

Ah... After looking at the logic of RestartOrExit() I think this should be treated as a suggestion instead of a bug.
The suggestion is to not exit ASF after I edit ASF.json. I assume ASF reads ASF.json only once, stores everything in memory and never touches it again. Unless I'm missing something trivial here, I don't really see a reason to exit ASF when ASF.json is edited.
Thanks.

No need to look inside the source code, it's in plain sight on the wiki - https://github.com/JustArchi/ArchiSteamFarm/wiki/Configuration#auto-reload
This is not a bug, this is working as intended. Changing main ASF config triggers program restart due to loading new global config.

ASF ignores AutoRestart and shuts itself down after I edit ASF.json

And this is not a bug either if the above was unintended. AutoRestart explicitly states that it controls whether the program is permitted to restart, and if it's not, it'll shutdown with error code of 0 instead.
I don't see anything to fix here, neither to improve. If you do not wish ASF to restart/shutdown itself on config edit then do not edit its config (which a lot of programs explicitly forbid you from doing in the first place by holding write locks). If you want to have a playing ground for your configs and edits, then copy ASF.json to .ASF.json or other file that starts with a dot - ASF ignores dot files by default.

I'm yet to see a program that exits after an user edit a config. file...
Nonetheless, thanks for the answer.


Add grpc_service_method fields in CEL filter extension

Title: Add grpc_service_method fields in CEL filter extension
Description:

Attribute
Type
Description

request.grpc_service_method
string
gRPC service methods e.g. "unary" "bidi_streaming"

gRPC provides four kinds of service methods: unary, client_streaming, server_streaming, and bidi_streaming. Every method may have different strategies to handle.
For instance, we may filter out the streaming method while calculating the latency of requests in Wasm extension (the same strategy puts on the streaming may result in a vast latency that has no meaning, say, a 10m latency)
[optional Relevant Links:]
https://grpc.io/docs/what-is-grpc/core-concepts/#rpc-life-cycle

I don't think you can determine whether this is unary vs. streaming or even streaming type from wire-level gRPC. You most likely need to have service descriptors, which we don't currently have a way of feeding to the CEL evaluation. CC @kyessenov @markdroth

Yeah, gRPC method signature does not indicate whether it is streaming or not. At HTTP level, it's always just a single long request. I wonder if what you're looking for is per-frame hooks. grpc_states can emit individual gRPC frames that could be exposed for filters.

Correct.  gRPC does provide 4 different interfaces for these different types of calls, but those are really just API conveniences; under the hood, they are all the same at the wire protocol level.  In fact, even gRPC itself does not have this information down at the layer at which authz checks are done.

Thanks for the detailed explanation. I now use the data from grpc_stats to filter the gRPC method.


"flutter run" tells me it failed five times, but doesn't say why

The non-verbose output for bug https://github.com/flutter/flutter/issues/1950 is as follows:
ianh-macbookpro:story ianh$ flutter run
Starting lib/main.dart on iPhone 6s Plus...
An error was encountered processing the command (domain=FBSOpenApplicationErrorDomain, code=4):
The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 4.)
Error code 4 returned when attempting to run command: /usr/bin/xcrun simctl launch 5903498C-42ED-48E2-9FD1-11A0C8BD7F00 io.flutter.runner.Runner --enable-checked-mode
Error starting application on iPhone 6s Plus.
Unable to run application.

It should instead be:
ianh-macbookpro:story ianh$ flutter run
Starting lib/main.dart on iPhone 6s Plus...
Failed to start application because foo bar. To solve this problem, baz.

(For some value of "foo bar" and "baz".

Can you try this again after the recent updates to the tooling? We should no longer be hitting FBSOpenApplicationErrorDomain related. I am not able to reproduce this now.