Support cargo install --all

There seems to be no easy way currently to install all binaries from all crates in a given workspace. Instead, cargo install has to be called for all of them separately. It would be nice if cargo install supported a --all flag to recurse into all crates of the workspace.
Does this seem to make sense?

Makes sense to me!
I got scared that you might have meant cargo install --all as "install all binaries from crates.io please" but I like this interpretation better :)

I got scared that you might have meant cargo install --all as "install all binaries from crates.io please"

That one sounds like... a nice Easter egg? ;)

Maybe it could be called cargo install --all-workspace ?

I suggested --all for consistency with cargo build. But unfortunately, cargo install is already working somewhat differently than build, test etc. (e.g., it doesn't take --package but instead takes --path).

I second this! Would be really nice to have the --all feature! :+1:

I'm working on this, PR will be filed in a few minutes.

For some workspaces, it makes sense to install from only one specific package. For example:
cargo install --git https://github.com/habitat-sh/habitat --package hab --tag 0.58.0

In fact, I tried to run this exact command just a moment ago, which is what led me here.
@matthiasbeyer Would it be feasible to include this functionality in the same PR or should I open a separate issue?

I'm on a sabbatical and cannot contribute code right now, so I suppose opening a new PR would be the way to go.

Hi from the Nushell team!
We ship Nu with a set of plugins, and we're having to work around not having this feature using some (admittedly a little gross) hackery.  We'd love to see this happen.
Happy to help implement it, if it helps!

It might be helpful to spell out the exact desired behavior.  Something along these lines:
Support the normal package selection flags (-p, -all, --workspace, --exclude) when used with the --path flag.  Passing a bare arg would be the same as -p.  This may cause some complexities since -p is a pkgspec, and install args are names only, what are the possible problems here?  What is the behavior with --git? cargo install inherently does not have a workspace-oriented view with --git, so it may introduce some complexities with it.  Should --git just not support those flags?   Should it be an error for registry sources?
Implementation may be tricky because install is inherently unaware of workspaces at the high level.  It may require some redesign of how it is implemented, which may not be easy.

Any update on this thread? It would be good to have something like this cargo install --package xx working.

Any update on this thread? It would be good to have something like this cargo install --package xx working.

I don't think a special flag like --all should be needed. cargo build knows what to build without --all, why should cargo install --path . need it?
On top of that, there is workspace.default-members: https://doc.rust-lang.org/cargo/reference/workspaces.html#the-default-members-field
The documentation is unclear what operations it should apply to. It doesn't apply to cargo install apparently, which might be a bug.

Any plans for this issue? I think it would make a lot of sense to have this something like cargo install --manifest-path . (or --package)


Move _bulk endpoint under elastic

Now that we have a root path for the elasticsearch API, I suggest moving _bulk there too.

Great point

@trinity-1686a can you have a look at this?


How to disable NAT(Network Address Translation) strategy in flannel?

Question
How to disable NAT(Network Address Translation) strategy in flannel?
Description
I want to send IP packets to k8s' nodes outside of flannel's network. My packet is not TCP or UDP packets but IP packets, so the port mapping strategy is not suitable for me. I have to disable NAT in flannel, which API can I use?

I think it can be implemented by docker's custom iptables rules.


Which version of edge is used in validation tests?

Sometimes browser adds new features in next version. Developers can use beta or canary version of Edge to develop these new features in extensions. But when publishing to Partner Center, the extension need to pass validation tests.
My question is which version of edge is used in validation tests?
If it only use current stable version of Edge, the extension may fail to pass tests because it depends on features in next stable version.
On Chrome, developers can set a "minimum_chrome_version" field in manifest.json, e.g. "minimum_chrome_version": "102". And can submit the extension to Chrome Web Store before next stable version release.

our engineering is currently looking into this. We'll update you with the details soon.

Our moderation team uses the current stable version of Edge or min version mentioned by the developer in the certification notes, while submitting the extension for review. Allowing developers to develop new features based on the upcoming updates to be released in next stable version that are already in canary version of Microsoft Edge


Passacaglia

@jaredjj3 I will now give support to print and make additional changes to make sure that passacaglia looks fine. We will see what comes out of this experiment. :)

Sounds good, let me know if you run into any blockers.

It looks promising. Wishing you the best of luck! :)

Vexml is now adapted to the vexflow PR above (I found one VexFlow bug with I pushed today). Passacaglia is now looking good! Once https://github.com/0xfe/vexflow/pull/1409 is merged I will make a PR.

@rvilarl it looks great! Would you elaborate on how https://github.com/0xfe/vexflow/pull/1409 affects this library?

Hi @jaredjj3 with this library and the first used case that we have "Check compliance to the Innoficial MusicXML Test Suite"
On the way gaps (missing noteheads https://github.com/0xfe/vexflow/pull/1401), desing problems  and bugs in VexFlow are made evident and I am trying to resolve them in parallel.
https://github.com/0xfe/vexflow/pull/1409 is resolving a design problem and a bug:

without this PR voices can not move between staves, which is indeed a valid use case. system in VexFlow is not allowing that and I had to avoid its usage in the current state of this library. Once https://github.com/0xfe/vexflow/pull/1409 is merged I will make a PR using systemwhich reduces the complexity in this library.
I also discussed with Aaron on how to use system with autowidth in https://github.com/0xfe/vexflow/issues/1411. I have extended the interface of System with get/setX & get/setY to simplify this use case. Doing that I discovered a bug, system was not providing the recalculated width on its bounding box when autowidth was used.

(@0xfe @ronyeh @AaronDavidNewman @mscuthbert @schmidTU  this might be of your interest)

@jaredjj3 I still did not get the PR in vexflow through :(

@rvilarl does it make sense to shelve for now, or does this work block what you wanted to do next?

@jaredjj3 I am trying to progress with small chunks, if I get stuck again, I will choose a next item. I wan to get his compatibility check done to the end :)


to-one association is generated when 'UNIQUE' set on a composite key(with multiple columns)

Hi,
It seems a bug to create to-one association when a composite key is unique,
i.e.
When the composite key in user_role(user_id, role_id) is UNIQUE, a to-one association will be generated on both User and UserRole
user(id)
user_role(id, user_id, role_id)
role(id)

And I can fix this by omit the UNIQUE composite keys and still generate to-many associations for them(line number 134):
// bdb/drivers/mysql.go
120 func (m *MySQLDriver) Columns(schema, tableName string) ([]bdb.Column, error) {
121     var columns []bdb.Column
122
123     rows, err := m.dbConn.Query(`
124     select
125     c.column_name,
126     if(c.data_type = 'enum', c.column_type, c.data_type),
127     if(extra = 'auto_increment','auto_increment', c.column_default),
128     c.is_nullable = 'YES',
129         exists (
130             select c.column_name
131             from information_schema.table_constraints tc
132             inner join information_schema.key_column_usage kcu
133                 on tc.constraint_name = kcu.constraint_name and tc.table_name = kcu.table_name and tc.table_schema = kcu.table_schema
+ 134                      and kcu.ORDINAL_POSITION = 1 and kcu.constraint_name = CONCAT('fk_', kcu.table_name, '_', kcu.column_name)
135             where c.column_name = kcu.column_name and tc.table_name = c.table_name and
136                 (tc.constraint_type = 'PRIMARY KEY' or tc.constraint_type = 'UNIQUE')
137         ) as is_unique
138     from information_schema.columns as c
139     where table_name = ? and table_schema = ?;
140     `, tableName, schema)

Do you think this is a feasible fix? I'd like to submit a PR for it

I'm actually a bit confused about what's going on here because I don't know what the indexes/constraints/keys are on your user_role table.
Is it possible to do a
show create table user;

I had to edit my above comment, it was incomplete. Also: If you don't want to share your table structure, omit any of the columns that aren't necessary (everything except primary and foreign keys).

Hi, @aarondl
Thanks for asking, and sorry for the late reponse, I just made an example with 3 tables:
In t2, there is a unique key combined with t1_id and t3_id, and I expect a many-to-many relationship between t1 and t2,
CREATE TABLE `t1` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 't1.id',
  `name` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1000 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

CREATE TABLE `t2` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `t1_id` bigint(20) NOT NULL,
  `t3_id` bigint(20) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `t1_id` (`t1_id`,`t3_id`),
  KEY `fk_t2_t3_id` (`t3_id`),
  CONSTRAINT `fk_t2_t1_id` FOREIGN KEY (`t1_id`) REFERENCES `t1` (`id`) ON UPDATE CASCADE,
  CONSTRAINT `fk_t2_t3_id` FOREIGN KEY (`t3_id`) REFERENCES `t3` (`id`) ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2000 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

CREATE TABLE `t3` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 't3.id',
  `name` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3000 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

Attached is the generated orm:
models.zip
What I expect is in T1, association to T2 should be a Many-To-Many association.

So, finally got a chance to look into this in depth. It appears that the constraint finding mechanism is indeed wrong. I think the proper fix is change make it such that a unique constraint only changes a relationship into a one-to-one if the foreign key is the only key in the constraint. Which essentially means that the column count in the constraint affecting the key is 1.
What do you think about this logic?

@aarondl Yeah, it works! Thank you!
And I made a PR, trying to fix it
https://github.com/vattle/sqlboiler/pull/82
Schema for testing:
CREATE TABLE `country` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3000 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

CREATE TABLE `user` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1000 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

CREATE TABLE `user_role` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `user_id` bigint(20) NOT NULL,
  `role_id` bigint(20) DEFAULT NULL,
  `country_id` bigint(20) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_id` (`user_id`,`role_id`),
  KEY `fk_role_id` (`role_id`),
  KEY `fk_country_id` (`country_id`),
  CONSTRAINT `fk_user_id` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON UPDATE CASCADE,
  CONSTRAINT `fk_role_id` FOREIGN KEY (`role_id`) REFERENCES `role` (`id`) ON UPDATE CASCADE,
  CONSTRAINT `fk_country_id` FOREIGN KEY (`country_id`) REFERENCES `country` (`id`) ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2000 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

CREATE TABLE `role` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3000 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

@yangyuqian Is it possible you could test out the dev branch of sqlboiler right now to see if your issue is fixed there?

Oops, didn't mean "right now". Also if it looks good, we'll do a release of sqlboiler :)

@aarondl I've tested against my schema, it's working on dev branch, thank you


Send / Receive messages

Hello!
Are there in this wrapper methods to read and send messages?

Hi there,
Not at the current time. Feel free to send a pull request, that would be much appreciated.

@tranhungt I did some poking, and it looks like sending messages can be solved using the OAuth token. I've put together a simple solution, and it needs some tinkering.
I think this ticket could be re-opened for sending messages. Getting the inbox may be a little more hacky though.

@xmclark Sounds good. Thanks for your interest in tinkering. :)

We now have support for receiving/sending messages. Thanks to @xmclark.
This ticket will now be closed.


Add support for Sense+ filter and Aware sensors

Hi,
Currently trying to setup Sense+ filter and Aware sensors for HA, but kept getting error 'wifi_status' and fail
2024-01-01 13:32:07.471 DEBUG (MainThread) [blueair_api.util_http] response status: 200
2024-01-01 13:32:07.473 DEBUG (MainThread) [blueair_api.util_http] response raw: [{"userId":99963,"uuid":"2503466FF88007A2","scope":"device","name":"auto_mode_dependency","currentValue":"pm","defaultValue":"pm"},{"userId":434707,"uuid":"2503466FF88007A2","scope":"device","name":"brightness","currentValue":"4","defaultValue":"0"},{"userId":434707,"uuid":"2503466FF88007A2","scope":"device","name":"child_lock","currentValue":"0","defaultValue":"0"},{"userId":99963,"uuid":"2503466FF88007A2","scope":"device","name":"dealerCountry","currentValue":"","defaultValue":""},{"userId":99963,"uuid":"2503466FF88007A2","scope":"device","name":"dealerName","currentValue":"","defaultValue":""},{"userId":434707,"uuid":"2503466FF88007A2","scope":"device","name":"fan_speed","currentValue":"1","defaultValue":"0"},{"userId":434707,"uuid":"2503466FF88007A2","scope":"device","name":"fan_usage","currentValue":"0;0;0;0;0;51840","defaultValue":""},{"userId":434707,"uuid":"2503466FF88007A2","scope":"device","name":"filterType","currentValue":"row","defaultValue":"row"},{"userId":99963,"uuid":"2503466FF88007A2","scope":"device","name":"filter_status","currentValue":"OK","defaultValue":""},{"userId":434707,"uuid":"2503466FF88007A2","scope":"device","name":"mode","currentValue":"auto","defaultValue":"auto"},{"userId":99963,"uuid":"2503466FF88007A2","scope":"device","name":"model","currentValue":"Blueair Sense+","defaultValue":"Blueair Sense+"},{"userId":99963,"uuid":"2503466FF88007A2","scope":"device","name":"purchaseDate","currentValue":"","defaultValue":""},{"userId":99963,"uuid":"2503466FF88007A2","scope":"device","name":"serial","currentValue":"","defaultValue":""}]
2024-01-01 13:32:07.473 DEBUG (MainThread) [blueair_api.device] result: {'auto_mode_dependency': 'pm', 'brightness': '4', 'child_lock': '0', 'dealerCountry': '', 'dealerName': '', 'fan_speed': '1', 'fan_usage': '0;0;0;0;0;51840', 'filterType': 'row', 'filter_status': 'OK', 'mode': 'auto', 'model': 'Blueair Sense+', 'purchaseDate': '', 'serial': ''}
2024-01-01 13:32:07.473 ERROR (MainThread) [custom_components.ha_blueair.blueair_data_update_coordinator] 'wifi_status'
2024-01-01 13:32:07.474 DEBUG (MainThread) [custom_components.ha_blueair.blueair_data_update_coordinator] Finished fetching ha_blueair-Sense+ data in 0.214 seconds (success: False)

I expect 1.8.5 will fix this

@dahlb Sense+ can now be added to HA, however Aware is still getting errors, this time 'filter_status'
Since Aware is a sensor only device and pairs with the filter only Sense, they can't be treated normal filters
2024-01-18 13:50:24.574 DEBUG (MainThread) [blueair_api.device] Requesting current attributes...
2024-01-18 13:50:24.574 DEBUG (MainThread) [blueair_api.util_http] sending https://api-us-east-1.blueair.io/v2/device/2C01466DB5D045F1/attributes/ requestheaders: {'X-API-KEY-TOKEN': 'eyJhbGciOiJIUzI1NiJ9.eyJncmFudGVlIjoiYmx1ZWFpciIsImlhdCI6MTQ1MzEyNTYzMiwidmFsaWRpdHkiOi0xLCJqdGkiOiJkNmY3OGE0Yi1iMWNkLTRkZDgtOTA2Yi1kN2JkNzM0MTQ2NzQiLCJwZXJtaXNzaW9ucyI6WyJhbGwiXSwicXVvdGEiOi0xLCJyYXRlTGltaXQiOi0xfQ.CJsfWVzFKKDDA6rWdh-hjVVVE9S3d6Hu9BzXG9htWFw', 'X-AUTH-TOKEN': 'eyJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6ImNocmlzQGJsdWVhaXIuY2xhaS50dyIsImp0aSI6IjhmMjk3NTY3LWVmMjUtNDE0NC1iNGI0LWM3ZmQyNzc1ZTQ4MCIsImV4cCI6MTczNzA5MzAxOTg4MSwiZXhwaXJhdGlvbkRhdGUiOjE3MzcwOTMwMTk4ODF9.GQuBXNMLhPIesdaojALHmKQRxktrLvGSrcYUI8zA1og'}
2024-01-18 13:50:24.806 DEBUG (MainThread) [blueair_api.util_http] response headers:<CIMultiDict('Content-Encoding': 'gzip', 'Content-Type': 'application/json;charset=UTF-8', 'Date': 'Thu, 18 Jan 2024 05:50:24 GMT', 'Server': 'nginx/1.12.1', 'Vary': 'Accept-Encoding,Accept-Encoding', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive')>
2024-01-18 13:50:24.806 DEBUG (MainThread) [blueair_api.util_http] response status: 200
2024-01-18 13:50:24.806 DEBUG (MainThread) [blueair_api.util_http] response raw: [{"userId":434707,"uuid":"2C01466DB5D045F1","scope":"device","name":"brightness","currentValue":"100","defaultValue":"100"},{"userId":434707,"uuid":"2C01466DB5D045F1","scope":"device","name":"child_lock","currentValue":"0","defaultValue":"0"},{"userId":99963,"uuid":"2C01466DB5D045F1","scope":"device","name":"dealerCountry","currentValue":"","defaultValue":""},{"userId":99963,"uuid":"2C01466DB5D045F1","scope":"device","name":"dealerName","currentValue":"","defaultValue":""},{"userId":434707,"uuid":"2C01466DB5D045F1","scope":"device","name":"fan_speed","currentValue":"0","defaultValue":"0"},{"userId":434707,"uuid":"2C01466DB5D045F1","scope":"device","name":"mode","currentValue":"manual","defaultValue":"manual"},{"userId":99963,"uuid":"2C01466DB5D045F1","scope":"device","name":"model","currentValue":"Blueair Aware","defaultValue":"Blueair Aware"},{"userId":99963,"uuid":"2C01466DB5D045F1","scope":"device","name":"purchaseDate","currentValue":"","defaultValue":""},{"userId":99963,"uuid":"2C01466DB5D045F1","scope":"device","name":"serial","currentValue":"","defaultValue":""}]
2024-01-18 13:50:24.806 DEBUG (MainThread) [blueair_api.device] result: {'brightness': '100', 'child_lock': '0', 'dealerCountry': '', 'dealerName': '', 'fan_speed': '0', 'mode': 'manual', 'model': 'Blueair Aware', 'purchaseDate': '', 'serial': ''}
2024-01-18 13:50:24.806 ERROR (MainThread) [custom_components.ha_blueair.blueair_data_update_coordinator] 'filter_status'
2024-01-18 13:50:24.808 DEBUG (MainThread) [custom_components.ha_blueair.blueair_data_update_coordinator] Finished fetching ha_blueair-Aware data in 0.234 seconds (success: False)

@dahlb Sense+ can now be added to HA, however Aware is still getting errors, this time 'filter_status'
Since Aware is a sensor only device and pairs with the filter only Sense, they can't be treated normal filters
2024-01-18 13:50:24.806 DEBUG (MainThread) [blueair_api.util_http] response headers:<CIMultiDict('Content-Encoding': 'gzip', 'Content-Type': 'application/json;charset=UTF-8', 'Date': 'Thu, 18 Jan 2024 05:50:24 GMT', 'Server': 'nginx/1.12.1', 'Vary': 'Accept-Encoding,Accept-Encoding', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive')>
2024-01-18 13:50:24.806 DEBUG (MainThread) [blueair_api.util_http] response status: 200
2024-01-18 13:50:24.806 DEBUG (MainThread) [blueair_api.util_http] response raw: [{"userId":434707,"uuid":"2C01466DB5D045F1","scope":"device","name":"brightness","currentValue":"100","defaultValue":"100"},{"userId":434707,"uuid":"2C01466DB5D045F1","scope":"device","name":"child_lock","currentValue":"0","defaultValue":"0"},{"userId":99963,"uuid":"2C01466DB5D045F1","scope":"device","name":"dealerCountry","currentValue":"","defaultValue":""},{"userId":99963,"uuid":"2C01466DB5D045F1","scope":"device","name":"dealerName","currentValue":"","defaultValue":""},{"userId":434707,"uuid":"2C01466DB5D045F1","scope":"device","name":"fan_speed","currentValue":"0","defaultValue":"0"},{"userId":434707,"uuid":"2C01466DB5D045F1","scope":"device","name":"mode","currentValue":"manual","defaultValue":"manual"},{"userId":99963,"uuid":"2C01466DB5D045F1","scope":"device","name":"model","currentValue":"Blueair Aware","defaultValue":"Blueair Aware"},{"userId":99963,"uuid":"2C01466DB5D045F1","scope":"device","name":"purchaseDate","currentValue":"","defaultValue":""},{"userId":99963,"uuid":"2C01466DB5D045F1","scope":"device","name":"serial","currentValue":"","defaultValue":""}]
2024-01-18 13:50:24.806 DEBUG (MainThread) [blueair_api.device] result: {'brightness': '100', 'child_lock': '0', 'dealerCountry': '', 'dealerName': '', 'fan_speed': '0', 'mode': 'manual', 'model': 'Blueair Aware', 'purchaseDate': '', 'serial': ''}
2024-01-18 13:50:24.806 ERROR (MainThread) [custom_components.ha_blueair.blueair_data_update_coordinator] 'filter_status'
2024-01-18 13:50:24.808 DEBUG (MainThread) [custom_components.ha_blueair.blueair_data_update_coordinator] Finished fetching ha_blueair-Aware data in 0.234 seconds (success: False)

I think this is fixed resolving as it is definitely stale


RFC: namespace parent for TypeNode

Problem
There is no native way to access the parent namespace for a macro.  When trying to modify the parent namespace I you can use string manipulation but it would be nice to have a more consistent way.
In Crystal you can currently use String manipulation.
class Foo
  class Bar
    macro inherited
      def {{<EMAIL_ADDRESS>        "here"
      end
    end
  end
end

class Baz < Foo::Bar
end

p Foo.baz

output:
% crystal tmp.cr
here

Ruby you can do this using Module#nesting
class Foo
  class Bar
    def self.inherited(base)
      Module.nesting[-1].class.define_method(base.to_s.downcase.to_sym) { puts "here" }
    end
  end
end

class Baz < Foo::Bar
end

puts Foo.baz

output:
% ruby tmp.rb
here

Solution
Have a TypeNode method that can access the nesting when using lifestyle hooks.  This could return the different levels of nesting that you can use in metaprogramming.
class Foo
  class Bar
    macro inherited
      def {{<EMAIL_ADDRESS>        "here"
      end
    end
  end
end

class Baz < Foo::Bar
end

puts Foo.baz

An alternate solution would be to define like TypeNode#path, which would allow you to accomplish something similar via Path#names.


Can't build the project : "No such image: docker.elastic.co/logstash/logstash-x-pack:6.0.1"

Hi,
The last commit : "d1a04609d91a9f5fe2e295adefbba271622ba759", seems to prevent me to build the project (trying the 6.0 branch,), when building the image, I get stuck at the step 5 of the docker build and get the error :
Step 5/20 : RUN curl -Lo - https://artifacts.elastic.co/downloads/logstash/logstash-6.0.1.tar.gz |     tar zxf - -C /usr/share &&     mv /usr/share/logstash-6.0.1 /usr/share/logstash &&     chown --recursive logstash:logstash /usr/share/logstash/ &&     ln -s /usr/share/logstash /opt/logstash
---> Running in 93508e5f494c
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   311  100   311    0     0    657      0 --:--:-- --:--:-- --:--:--   657
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The command '/bin/sh -c curl -Lo - https://artifacts.elastic.co/downloads/logstash/logstash-6.0.1.tar.gz |     tar zxf - -C /usr/share &&     mv /usr/share/logstash-6.0.1 /usr/share/logstash &&     chown --recursive logstash:logstash /usr/share/logstash/ &&     ln -s /usr/share/logstash /opt/logstash' returned a non-zero code: 2
Error response from daemon: No such image: docker.elastic.co/logstash/logstash-x-pack:6.0.1
make: *** [build] Error 1
I changed the definition of the version in the json. and it worked again.

Hi @qroussel
For technical reason, the version is bumped to a non-release version of logstash, that's why you have this error (logstash-6.0.1 is not released).
To build the project you can use ELASTIC_VERSION instead of updating the  version.json:
$ ELASTIC_VERSION=6.0.0 make


Add the ability to change Url

Source name
Multimanga
Source language
Russian
Describe your suggested feature
In settings like in HenChan
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I have updated the app to version 0.15.3.
[X] I will fill out all of the requested information in this form.

Sometimes it stops working on Russian territory


However, you are using a very complicated way of writing into the memory.
You are injecting a DLL by using the Script Extender. So you are doing an internal cheat already. You already have access to the process.
Instead of using WriteProcessMemory functions and trying to get the ProcessId first, you can just use the memcpy function to achieve the same thing.
It is used internally by the SFSE Common Lib when you use the safeWrite methods.
Feel free to have a look at: https://github.com/Tautellini/Starfield-WeaponFoV-SFSE-Plugin/blob/master/src/main.cpp
All you need to do is:
#include "sfse_common/Relocation.h"
#include "sfse_common/SafeWrite.h"

RelocAddr <uintptr_t*> weaponFoV = 0x79FD448;
safeWriteBuf(weaponFoV.getUIntPtr(), &newFoV, sizeof(float));

If you want, we may collaborate on this one, as I also plan to add functions to adjust the FoV for ADS Zoom and other things.

That sounds great. I'm still learning my way around Script extender, gane hacking and C++. I'm mostly experimenting, and unsure of the best way to accomplish most things. Especially with no commonlib yet. I'm just doing what I can to get things working.
Happy to collaborate on it and feel free to take whatever ive done and improve it, make it your own etc. I've credited you on the main page :)

I will still have to think about it. As I did go a different approach also in setting up the project. Im also not using VSCode but Visual Studio.
However, I feel like its not necessary to have the same solution two times, so I hided my upload on Nexusmods.
Appreciate it that you mentioned me on your Mod!
Do you plan on updating this mod regularily with new static adresses or pointers in case of Game Updates?
Because I could instead also just do a different Plugin just for ADS Zoom and other stuff, instead of both of us "competing".
However, you should really update your approach. Its a good thing to learn how to use the WriteProcessMemory functions, this way you also already know how to do external hacking. But some of your users have problems with the name of the executable for example. All of those issues will vanish, if you just take advantage of being internal already. :)

I understand take your time.
Part of my thinking was trying to make it more resilient to updates since no Commonlib/Address library are available yet. Was trying to see if getting the base address dynamically would prevent some updating.
I will be trying to keep the mod updated best I can. I encourage you to unhide your mod and to add the FOV weapon model features. I think more choices are better for everyone! You already improved on my mod
Im going to look at updating my mod to use internal mem hook instead. I already did start converting some of the hooks as you saw. I'll credit you for sure though.
 I look forward to seeing more of your work!

Maybe I have some half-knowledge about those stuff, but the address for the weapon FoV is a static address. So would it even be possible to automatically scan for it in case of a game update?
The base address would be handled by the fact that you are already internal. As soon as your DLL is injected, you have the address. So this would be fixed already, as soon as the Script Extender updates.
I feel like, you just have to find the Offset again, and then update them every time a new update hits the road. But might be that im wrong about that.

Oh yeah one thing to mention.
whenever the player enters and exits dialogue, the model fov changes. Thats why I went with relatively short sleep timer. 100ms instead of 1000. Its noticeable when u exit dialogue at anything more than 100ms
I dodnt really want to use a thread. I re'd the memory address if the sub routine that writes to the View model address but it wasnt working reliably for me when not exiting dialogue
I tried best of both worlds solution to basically say when the player draws a weapon set the fov and then start the thread as a backup. Of course when the weapon is holstwrwd no need to take up cycles with a thread.
Anyhow I hope you release your mod I thunk it will be awesome to have all those features in one mod.

Yeah I saw that, and I really liked that solution. It seems like a micro optimisation, but its still a much cleaner approach.
I feel like having a detached thread that would even update ever 100ms is not something that you really need to consider in terms of performance. If there are a lot of side effects that you need to handle, I would just ignore it to be honest.

Yes youre exactly right, I was trying to prevent waiting for the script extender to update haha. Silly I know but its so early I wasnt sure how quickly things might be updated.  So I thought the offset might even remain the same, or worst case I jist RE the static pointer :)
Im much more comfortable using commonlib. Im a bit lost without it honestly

I feel like this is not possible the way the SFSE is handling the plugin loading at the moment, because you need to explicitely set the Runtime Version that the Plugin is compatible with. Lets say the game updates, the Script Extender would fail to load and therefore not inject your plugin at all, right?

Yeah I saw that, and I really liked that solution. It seems like a micro optimisation, but its still a much cleaner approach.
I feel like having a detached thread that would even update every 100ms is not something that you really need to consider in terms of performance. If there are a lot of side effects that you need to handle, I would just ignore it to be honest.

you know I went back and forth on tit for an hour with my beta tester. I couldn't decide if just running a single static thread and being careful to prevent race conditions was better than detaching the thread. I decided ultimately since I was going to go ahead and set the fov when the weapon was drawn (and that seemed to be the way that made it most invisible to the player) that I may as well detach the thread also.

I feel like this is not possible the way the SFSE is handling the plugin loading at the moment, because you need to explicitely set the Runtime Version that the Plugin is compatible with. Lets say the game updates, the Script Extender would fail to load and therefore not inject your plugin at all, right?

 Lets say the game updates, the Script Extender would fail to load and therefore not inject your plugin at all, right?

 Its a complicated topic. Its the first time I ever worked with the Script Extender and its basically just reading code, because there is no documentation at all.
I initially also thought about going a kind of external approach to prevent any update measurements. But it just turned out, that this might not be worth it at all.

Without library like Clib I am making it up as I go.  Good news is I heard the baseline version of CLib is almost ready and should be released in a few days. Should make things easier. Still no documentation but at least lots of Classes, implementation etc. is exposed

already this is much better now. Thanks again
`#include "SFSE/Stub.h"
#include "RE.h"
#include "Settings.h"
#include "sfse_common/Relocation.h"
#include "sfse_common/SafeWrite.h"
static std::atomic g_weaponFOV(110.0f);
std::atomic shouldTerminateThread = false;
const RelocAddr<uintptr_t*> WeaponFOV_Offset = 0x79FD448;
void SetWeaponFOV(float fovValue) {
safeWriteBuf(WeaponFOV_Offset.getUIntPtr(), &fovValue, sizeof(float));
}
// Temporary solution until I can find a better way to hook the FOV weapon model or a proper game update
void WeaponFOVMonitor() {
while (!shouldTerminateThread) {
float currentFOV = reinterpret_cast<float>(WeaponFOV_Offset.getUIntPtr());
if (currentFOV != g_weaponFOV.load()) {
SetWeaponFOV(g_weaponFOV.load());
}
std::this_thread::sleep_for(std::chrono::milliseconds(100));
}
}
namespace Handler
{
struct WeaponDraw
{
static bool thunk(RE::Actor* a_actor)
{
const auto result = func(a_actor);
SetWeaponFOV(g_weaponFOV.load());
return result;
}
static inline std::add_pointer_t<decltype(thunk)> func;
};
struct WeaponSheathe
{
    static bool thunk(RE::Actor* a_actor)
    {
        const auto result = func(a_actor);
        SetWeaponFOV(g_weaponFOV.load());
        return result;
    }
    static inline std::add_pointer_t<decltype(thunk)> func;
};

void Install()
{
    SFSE::AllocTrampoline(28);
    stl::write_thunk_call<WeaponDraw>(0x025F726C);
    stl::write_thunk_call<WeaponSheathe>(0x025F73A3);
    INFO("Hooked WeaponDraw and WeaponSheathe");
}

}
namespace
{
void MessageCallback(SFSE::MessagingInterface::Message* a_msg) noexcept
{
if (a_msg->type == SFSE::MessagingInterface::kPostLoad) {
Handler::Install();
Settings::GetSingleton()->LoadSettings();
g_weaponFOV.store(Settings::GetSingleton()->weaponFOV);
}
}
}
DLLEXPORT constinit auto SFSEPlugin_Version =  noexcept {
SFSE::PluginVersionData data{};
data.PluginVersion(Plugin::Version);
data.PluginName(Plugin::NAME);
data.AuthorName(Plugin::AUTHOR);
data.UsesSigScanning(true);
data.HasNoStructUse(true);
data.CompatibleVersions({ RUNTIME_VERSION_1_7_23 });
return data;

}();
DLLEXPORT bool SFSEAPI SFSEPlugin_Load(SFSEInterface* a_sfse)
{
SFSE::Init(a_sfse);
DKUtil::Logger::Init(Plugin::NAME, std::to_string(Plugin::Version));
INFO("{} v{} loaded", Plugin::NAME, Plugin::Version);
SFSE::GetMessagingInterface()->RegisterListener(MessageCallback);
return true;
}`

one last thing I've found after swapping to internal. It's much slower to check the current fov now. Maybe because we were checking form the hook before and now we are getting prioritized in a different way. It doesn't make sense because internal should be faster but it def seems slower, by a lot. It could also be my code. I'll work on it and let you know what I find


Migrate check HWRPs to custom resource

Description
Migrates resources to Custom Resources from HWRPs
Issues Resolved
[List any existing issues this PR resolves]
Check List

[ ] All tests pass. See https://github.com/sous-chefs/grafana/blob/master/TESTING.md
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable

Until this PR is finished I expect tests to fail due to inheritance inside the HWRP resources.

You might want to add some descriptions to your resources but on the whole it looks great


Set culture from arguments?

We've got a generic localized record, where Current returns the localized value (using a fallback, if the wanted value is null) for a the current language:
public abstract record Localized<T>
{
    public required T De { get; set; }
    public T? Fr { get; set; }
    public T? It { get; set; }
    public T? En { get; set; }

    public T Current =>
        CultureInfo.CurrentCulture.TwoLetterISOLanguageName switch
        {
            "de" => De,
            "fr" => Fr ?? De,
            "it" => It ?? Fr ?? De,
            "en" => En ?? De,
            _ => De
        };
}

I've intended to use this with request localization, using the Accept-Language HTTP header, registered like this during startup:
app.UseRequestLocalization(options =>
{
    var supportedCultureInfos = supportedCultures.Select(culture => new CultureInfo(culture))
                                                 .ToList();

    options.SupportedCultures = supportedCultureInfos;
    options.SupportedUICultures = supportedCultureInfos;

    options.DefaultRequestCulture = new RequestCulture(supportedCultureInfos.First());

    // Only determine language according to the Accept-Language header
    options.RequestCultureProviders.Clear();
    options.RequestCultureProviders.Add(new AcceptLanguageHeaderRequestCultureProvider());
});

Our frontend guys wish to be able to specify the language using an argument. E.g.
products (culture: "fr") {
  description { current }
}

Where description.current should contain the french text (or fallback if it is null).
Ideally, this argument could be specified on all fields.
To achieve this, without having to modify the existing implementation, I'd like to set the culture like this:
Thread.CurrentThread.CurrentCulture = new CultureInfo(args.culture!);
Thread.CurrentThread.CurrentUICulture = new CultureInfo(args.culture!);

But where to do that best?

Use request localization with a custom culture provider?
Did I miss a possibility to specify such a behavior during the field creation?

Sorry I am rarely had to work with localization!
Thinking off the top of my head (i.e. none of these may be a good way). Does that Localized<T> work with EF? Or is this against data in memory?
You (maybe) could defined the description fields as below and modify the Localized<T> to take the argument.
schemaType.AddField("description",
    new {
        culture = "fr" // or some default
    },
    (t, args) => t.Description.Current(args.culture),
    "Get description in defined culture"
);

One way to get access to that argument in a way you can then set the thread is with a service field. But without knowing more about your set up I don't know how this will work or scale.
schemaType.AddField("description",
    new {
        culture = "fr" // or some default
    },
    "Get description in defined culture"
).Resolve<ILocalizedService>((t, args, service) => service.GetDescription(t.Description, args.culture));

You'd then have LocalizedService set the thread culture and call .Current and maybe set the thread culture back.
You could also use a custom directive. Then the GQL request would be like
products {
  description @culture(lang: "fr")
}

And you'd be able to set the thread culture in the directive.
I hope this helps you find a way.

Maybe I missed something but I don't think this fits what I'd like to do.
My issue is not really related to localization but rather that I'd like to perform an action after the graphql request has been deserialized but before the expression is executed (against EF in my case).
To illustrate what I'd imagine, I've added Action<TParams> setupAction parameter to ReplaceField:
 public Field ReplaceField<TParams, TReturn>(string name, TParams argTypes, Expression<Func<TBaseType, TParams, TReturn>> fieldSelection, Action<TParams> setupAction, string? description)
 {
   [...]
}

The setupAction is not used or forwarded for now, I wanted to check if a construct like this would make sense to you as well, before trying to figure this out.
to be used like this during field setup:
schema.ReplaceField("substances",
                    new
                    {
                        SearchTerm = (string?)null,
                        Culture = "de"
                    },
                    (ctx, args) => ctx.Substances
                                      .WhereWhen(SearchExpressions.SearchSubstances(args.SearchTerm!),
                                                 !string.IsNullOrWhiteSpace(args.SearchTerm) && args.SearchTerm.Length >= 3),
                    args =>
                    {
                        Thread.CurrentThread.CurrentCulture = new CultureInfo(args.Culture);
                        Thread.CurrentThread.CurrentUICulture = new CultureInfo(args.Culture);
                    },
                    "Returns a list of substances.")
      .UseSort((Substance substance) => new
               {
                   substance.Id,
                   substance.SubstanceNumber,
                   DescriptionDe = substance.Description.De
               },
               substance => substance.SubstanceNumber,
               SortDirection.ASC
      )
      .UseOffsetPaging(GraphQLConstants.Paging.DefaultPageSize, GraphQLConstants.Paging.MaxPageSize);

More likely I am not following exactly what you're asking :)
I'm not sure in your example how you want to use configureService as you don't use it in the second code sample. If you need to have access to a service within a field you can use the Resolve methods. Note they get executed after EF by default.
Regarding your comment about executing something after the request has been processed but before the execution, currently the only option is ExecutionOptions.BeforeExecuting. Here is the doc code
        ///
        /// Allows you to hook into just before an expression is executed and modify it to suit. Note that if
        /// ExecuteServiceFieldsSeparately is true, this will be called twice if your query includes fields with services.
        /// Second parameter bool isFinal == true if the expression is the final execution - this means
        ///  - ExecuteServiceFieldsSeparately = false, or
        ///  - The query does not reference any fields with services
        ///  - The query references fields with service and the first execution has completed (isFinal == false) and we are executing again to merge the service results
        ///

You'll see you do not have access to the arguments.

I do not need to modify the expression :)
Maybe an example will illustrate what I'm trying to achieve.
I've got a Product, having a description, being a LocalizedText
public class Product : BaseEntity
{
    public int ProductNumber { get; set; }

    public LocalizedText Description { get; set; } = LocalizedText.Default;
}

Where LocalizedText is
public record LocalizedText : Localized<string>
{
    public static LocalizedText Default => new() { De = "{default}" };
}

And Localized<T> is
public abstract record Localized<T>
{
    public required T De { get; set; }
    public T? Fr { get; set; }
    public T? It { get; set; }
    public T? En { get; set; }

    public T Current =>
        CultureInfo.CurrentCulture.TwoLetterISOLanguageName switch
        {
            "de" => De,
            "fr" => Fr ?? De,
            "it" => It ?? Fr ?? De,
            "en" => En ?? De,
            _ => De
        };
}

When querying this model with this GraphQL query
{
  products {
    totalItems
    items {
      id
      productNumber
      description {
        current
      }
    }
  }
}

The expression is translated and following SQL is executed:
SELECT TOP(@__p_0) [p].[Id], [p].[ProductNumber], CAST(0 AS bit), [p].[Description_De], [p].[Description_En], [p].[Description_Fr], [p].[Description_It], [p].[PeriodEnd], [p].[PeriodStart]
FROM [Products] AS [p]
ORDER BY [p].[ProductNumber]

Note that I request Current, which results in EF automagically querying the four languages it might be using.
The actual resolution of the value of Current is done in memory.
This is why I'd like to be able to set the culture of the thread, according to the graphql argument.

I'm not sure in your example how you want to use configureService as you don't use it in the second code sample.

I don't have a use case for this just yet, we can forget about this for now. Just thought it might come in handy to be able to access services for some scenarios.

Yeh ok. thanks for that. Make sense to me know.
Currently you do not have access to the arguments for that field on the BeforeExecuting callback. And if we made that change I'd need to think about what that means as args are per field, not per executing thread. you could have multiple args requesting different cultures.

Yep, I had the same thoughts when digging into this and doing some debugging. At first, I imagined having a scope like the request scope of asp.net, for a single request. Until I've figured we might have multiple fields in a single query (for now that's how we use our API), which would require having to reset the state after each field handling, which can't be done automatically and would require a setup/teardown.
With hindsight this doesn't sound like a good idea.


Android-Iconics

Android-Iconics doesn't work in AboutActivity :(
new LibsBuilder()
                .withActivityStyle(Libs.ActivityStyle.LIGHT_DARK_TOOLBAR)
                .withAboutIconShown(true)
                .withAboutVersionShown(true)
                .withAboutDescription("{faw-android} This is a small sample.
You can style this with html markup :D")
                .start(context);

{faw-android} shown like text, not icon. In other TextViews this alias work perfectly

@dexion good idea. I'll probably add the Iconics-core as dependency to the AboutLibraries, so this is also possible.

Good idea

Thanks for that! But now html markup is broken: at least  tag doesn't work (shown like regular text, not bold)

@dexion ok that's a problem with Android-Iconics if i apply the icon fonts, i will create new spans on the text. As the Html.fromText() already created the spans, i will overwrite them. That will be a more complex task. will look into it.

@dexion ok this issue is now also fixed in v5.3.6

Great! Thanks!


Number of inputs of Simulink SFunction

Hello guys,
I was using OpenFAST 3.0.0 and now I downloaded the sources and compiled the v. 3.2.0 with Intel compiler.
I updated the FAST files (I am currently working with the WP_VSP_WTurb model).
When I start the matlab run (that was working perfectly with v. 3.0.0) I got the following error:

OpenFAST
Copyright (C) 2022 National Renewable Energy Laboratory
Copyright (C) 2022 Envision Energy USA LTD
This program is licensed under Apache License Version 2.0 and comes with ABSOLUTELY NO WARRANTY.
See the "LICENSE" file distributed with this software for details.

OpenFAST-Unversioned from 08fffef240461a8334596179f1de462be43ad3e9
Compile Info:

Compiler: Intel(R) Fortran Compiler 1910
Architecture: 64 bit
Precision: single
OpenMP: No
Date: Jul 29 2022
Time: 20:06:02
Execution Info:
Date: 07/30/2022
Time: 07:55:33-0300

OpenFAST input file heading:
FAST Certification Test #13: WindPACT 1.5 MW Baseline with many DOFs with VS and VP and FF
turbulence.
Running ElastoDyn.
Nodal outputs section of ElastoDyn input file not found or improperly formatted.
Running AeroDyn.
AD15 Nodal Outputs: Nodal output section of AeroDyn input file not found or improperly formatted.
Skipping nodal outputs.
Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil
(airfoil has likely has constant polars). (node 1, blade 1)
Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil
(airfoil has likely has constant polars). (node 2, blade 1)
Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil
(airfoil has likely has constant polars). (node 1, blade 2)
Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil
(airfoil has likely has constant polars). (node 2, blade 2)
Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil
(airfoil has likely has constant polars). (node 1, blade 3)
Warning: Turning off Unsteady Aerodynamics because UA parameters are not included in airfoil
(airfoil has likely has constant polars). (node 2, blade 3)
Running InflowWind.
Reading a 13x13 grid (80 m wide, 44.288 m to 124.29 m above ground) with a characteristic wind
speed of 14 m/s.

Processed 13115 time steps of 20-Hz full-field data (655.7 seconds).

Running ServoDyn.
FAST_InitializeAll:SrvD_Init:ValidatePrimaryData:Pitch angles are not commanded from Simulink
model.
ValidatePrimaryData:Airfoil control is not commanded from Simulink model.
ValidatePrimaryData:Cable control is not commanded from Simulink model.
OpenFAST completed.
Error using test13_fast_v10_paper_ipc (line 52)
Error due to multiple causes.
Caused by:
Error using test13_fast_v10_paper_ipc (line 52)
Error in port widths or dimensions. Output port 1 of
'test13_fast_v10_rmrac_ipc/FAST Nonlinear Wind Turbine/Mux1' is a one
dimensional vector with 8 elements.
Error using test13_fast_v10_paper_ipc (line 52)
Error in port widths or dimensions. Input port 1 of
'test13_fast_v10_rmrac_ipc/FAST Nonlinear Wind Turbine/S-Function' is a one
dimensional vector with 51 elements.
It happens that the SFunction is expecting a 51 elements vector but I use only eight, which is according to the documentation at:
https://raf-openfast.readthedocs.io/en/docs-fast8readme/source/user/openfast/simulink.html
What did I forget?
Thanks
Ricardo

If a add a zeros(43, 1) to the FAST_Sfunction, the simulation starts and soon I got the following:

Dear @eletroinf,
Regarding the switch from 8 to 51 channels in the OpenFAST v3.1 S-Function for Simulink, see: https://github.com/OpenFAST/openfast/discussions/1163 and https://github.com/OpenFAST/openfast/pull/1176.
Regarding the forrtl error, I'm not sure.  Are you implying that you get that 4 s into a 650-s simulation?
Best regards.

Hello @jjonkman, thank you for helping me.
I'll see your links. Regarding to the error, my simulation runs until the 4s and then it shows the error of the picture I uploaded.
Closing the picture closes Matlab+Simulink (crash).

The error message indicates that it is trying to access a file called fort.86 that doesn't exist. Did you happen to add a print statement to the code before building it (like write(86,*) someVar)? It could also be an error in OpenFAST with file I/O. What files are getting written at that time? Are there any files that are being opened to read?
Also, please note that v3.2.0 modified the S-Function interface with the OpenFAST dll, but the source code has a problem so it doesn't build. To fix it, you should apply these changes: https://github.com/OpenFAST/openfast/pull/1180/files. I think there is going to be a v3.2.1 soon with this bug fix, but I don't see it there, yet.

Did you happen to add a print statement to the code before building it (like write(86,*) someVar)?
No, I just downloaded the openfast code as a zip file (as I did before in many other versions), unzip it, open the FAST.sln in Visual Studio, set the correct matlab path (because I use the 2018b version) and compiled it. No errors and all the output files were generated. After, I run the Matlab script to generate the S-Function, that worked perfectly.

Okay, so after looking at your screen output closer, it looks like you are running commit 08fffef (the latest commit on main), which is a few commits past the v3.2.0 tag. This has the commit I was mentioning earlier, so that should be okay.
It looks like unit 86 is hard-coded for the pitch.ipt file used in Craig Hansen's user-defined pitch-controller. Are you using PCMode=3: user-defined from routine PitchCntrl?

Thank you @bjonkman and all people that keep this great work.
The problem was that I updated my files with the new ones and I missed PCmode = 3 while my pitch control is made from Simulink. So now, correcting this, the simulation is working.
I can't open the examples in the Simulink folder because they were edited with a newer Matlab version - and I'm using 2018b.
I put a zeros(43, 1) vector in addition to my 8 inputs, I hope that it's the correct way to do this.
Thank you for the help.


remove right panel in the report tab

The report figures were constrained by the existence of right panel. Need to remove

Just looked at the code. The report doesn't have a right panel but seems to be constrained by the main (center) panel, which has consistent dimension throughout all UI tabs. Solution might be to create a conditional statement within the mainPanl() (~line 163) for the report dimensions.

@clnsmth, i can work on this. i'm thinking we probably only need the right panel for the plot and interactive plot tabs. does that sound ok?

@sheilasaia Yes, that was what we discuss: keeping the right panel for the plot and interactive plot tabs only.  I haven't had time looking into it. If you want to give it a try, please go ahead.

After looking into this, I made the main panel a little wider and the right panel a little narrower but think it's going to be tough for us to completely remove the right panel from the non-plot-related tabs without really changing how the shiny app UI code is written (i.e., using fluidPage(fluidRow(column(...))) rather than the current fluidPage(sidebarPanel(width = X,...)). There might be a third way but I am worried it won't scale well for different monitor sizes. I was able to constrain the data table so it doesn't look like the exception; it now fits the same dimensions as the rest of the main panel tabs and the user can scroll left and right to see the rest of the variables. Would be happy to discuss this more with you all at our next meeting, @lkuiucsb @clnsmth @atn38!

@sheilasaia, could you revert the development branch back to the state before you merged this work, and keep the work in a separate branch for folks to review and discuss?

@clnsmth, sure! sorry about that!

I hope that worked....

@clnsmth if you could give me any specifics about how it was showing up on your computer that would be helpful.

Taking a stab at this via branch fix_77.
I'm gonna try two approaches:

a rather significant change: using navbarPage() instead of fluidPage() as the top-level layout grid. See this Shiny grid layout guide for the difference.
wrapping the sidebarPanel inside the mainPanel. Right now they are level with each other.

At fix77b, I'll try full screen width report/plot/interactive-plot tabs and move the controls to the top or bottom of the report/plot area.

A prototype of the "full screen width" version is now available at fix_77b.

Hey folks we have 2 options for fixing this issue and would like to know which you prefer:
1.) Remove only the right panel (currently empty space) of report tab to extend the report width by the width of the right panel (branch "fix_77").
2.) Move the left and right panels to the top so the report and plot areas are maximized to the full width of the screen (branch fix_77b).
If you'd like to test out in your R Studio environment:

Open the R Studio "datapie.Rproj"
Open the terminal (Tools > Terminal > Move focus to terminal)
At the terminal enter "git pull origin branchname"
At the terminal enter "git checkout branchname"
In the Console enter "devtools::load_all(".")"
In the Console enter "datapie_shiny()"

NOTE: Please ignore the "Interactive Plot" tab for now and focus on the layout.

Preview of Option 2:

I really like this layout!

I also really like the stacked layout instead of the side-to-side.

Alright folks, we're going with the larger plot/report option (branch fix_77b), but should try to incorporate a smaller rendering of the plot when setting parameters so the user can see how it changes (i.e. @jhp7e's suggestion for collapsible controls).

branch fix_77b has been merged into the development branch.
Additional features that were implemented:

Removal of the static plot  tab Maintaining both static and interactive plot tabs is superfluous, especially in light of the substantial performance gains provided by adopting the plotly library.
Adoption of the plotly library Adopting this library as the sole plotting library for the "Plot" tab dramatically reduces processing time and provides many exciting interactive plotting features that cannot be met by ggplot2 or by wrapping ggplot2 objects with plotly::ggplotly(). Albeit, some cool ggplot2 features were lost but this was for the sake of improved performance.
Reduced plotting controls Many of the plotting controls were obsoleted by the new interactive plotting features and therefore removed. Many plotting controls were removed due to a lack of support within plotly or because of the large effort required to support these amenities in a plotly only interface. Note, loss of these controls doesn't compromise the project's scope.
Updated Help tab Required by the changes
Increased limit of file uploads Local file upload size was increased to 5 GB.
Reformatted and annotated datapie_shiny() Formatting and comments were a mess. Now at least they are a consistent mess  : )


23.05: Segfault

Builds correct, but does not run on 23.05 release
Fatal error 11: Segmentation fault
Backtrace:
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x524ae8]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x41f47d]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x41f97f]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x522d18]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x522d9c]
/nix/store/yaz7pyf0ah88g2v505l38n0f3wg2vzdj-glibc-2.37-8/lib/libc.so.6(+0x38d60)[0x7ff01d052d60]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x442a49]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x44e08a]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x44f058]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x44f26b]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x452f56]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x45421c]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x456635]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x45d580]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x45dec0]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x45f2a2]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x45f3f3]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x45f3f3]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x45f2a2]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x45f3f3]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x460c48]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x4611fe]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x47cdc3]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x48142b]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x587f7c]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x4410c9]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x46b6d1]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x51538c]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x518103]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x519dae]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x587eef]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x50a086]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x587e53]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x50a021]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x50d674]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x50d9a4]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x42773e]
/nix/store/yaz7pyf0ah88g2v505l38n0f3wg2vzdj-glibc-2.37-8/lib/libc.so.6(+0x23ace)[0x7ff01d03dace]
/nix/store/yaz7pyf0ah88g2v505l38n0f3wg2vzdj-glibc-2.37-8/lib/libc.so.6(__libc_start_main+0x89)[0x7ff01d03db89]
/nix/store/5ki35l4mqvjm83q4rghq8p50m3lb6nzw-emacs-28.2/bin/emacs[0x427eb5]
fish: Job 1, 'emacs' terminated by signal SIGSEGV (Address boundary error)

nix-doom-emacs.inputs.nixpkgs.follows = "22.11"; allows emacs -nw to work

@Skarlett nix-doom-emacs nixpkgs follows unstable. If you set it to follow 23.05 does that work? I've set it up in my own flake.nix such that nixpkgs points to nixos-23.05 branch of nixpkgs, and nix-doom-emacs follows "nixpkgs" as
  inputs = {
    nixpkgsUnstable.url = "github:NixOS/nixpkgs";
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
    ...
    nix-doom-emacs = {
      url = "github:nix-community/nix-doom-emacs/588ccf37fa9eb9d2ec787b91c989dcd6892983e9";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };

I am getting a similar segfault, also on 23.05, thoush emacs -nw works for me without any modifications.
I'm not using flakes, but have tried to similarly use pkgs = [unstable]
  doom-emacs = pkgs.callPackage (builtins.fetchTarball {
    url = https://github.com/nix-community/nix-doom-emacs/archive/master.tar.gz;
  }) {
    pkgs = import <nixos-unstable> { config = { allowUnfree = true; }; };
    doomPrivateDir = ./doom.d;  # Directory containing your config.el init.el
                                # and packages.el files
  };

But the segfault remains.


fix: enable input into autoOpenDisabled date picker on mobile (#3165)

Backport https://github.com/vaadin/web-components/pull/3165 for V14

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


Local Host API not working in flutter but working in postman - Response.status code not printing any value in flutter

Response.status code not printing any value
import 'dart:convert';

import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: HomePage(),
    );
  }
}

//Creating a class user to store the data;
class User {
  final int id;
  final int userId;
  final String title;
  final String body;

  User({
    this.id,
    this.userId,
    this.title,
    this.body,
  });
}

class HomePage extends StatefulWidget {
  @override
  _HomePageState createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
//Applying get request.

  Future<List<User>> getRequest() async {
    //replace your restFull API here.

    String url = "http://localhost:8089/api/employees";

    print(url);

    final response = await http.get(url);

    print(response.statusCode);

    var responseData = json.decode(response.body);

    //Creating a list to store input data;
    List<User> users = [];
    for (var singleUser in responseData) {
      User user = User(
          id: singleUser["id"],
          userId: singleUser["userId"],
          title: singleUser["title"],
          body: singleUser["body"]);

      //Adding user to the list.
      users.add(user);
    }
    return users;
  }

  @override
  Widget build(BuildContext context) {
    return SafeArea(
      child: Scaffold(
        appBar: AppBar(
          title: Text("Http Get Request."),
          leading: Icon(
            Icons.get_app,
          ),
        ),
        body: Container(
          padding: EdgeInsets.all(16.0),
          child: FutureBuilder(
            future: getRequest(),
            builder: (BuildContext ctx, AsyncSnapshot snapshot) {
              if (snapshot.data == null) {
                return Container(
                  child: Center(
                    child: CircularProgressIndicator(),
                  ),
                );
              } else {
                return ListView.builder(
                  itemCount: snapshot.data.length,
                  itemBuilder: (ctx, index) => ListTile(
                    title: Text(snapshot.data[index].title),
                    subtitle: Text(snapshot.data[index].body),
                    contentPadding: EdgeInsets.only(bottom: 20.0),
                  ),
                );
              }
            },
          ),
        ),
      ),
    );
  }
}

Hi @mdsheriff304
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


thrift: 0.15.0 -> 0.16.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/thrift/versions.
meta.description for thrift is: "Library for scalable cross-language services"
meta.homepage for thrift is: "https://thrift.apache.org/"
meta.changelog for thrift is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/iycvpxizshms016fhs4jvxhxk2q8airv-thrift-0.16.0/bin/thrift had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 0.16.0 with grep in /nix/store/iycvpxizshms016fhs4jvxhxk2q8airv-thrift-0.16.0
found 0.16.0 in filename of file in /nix/store/iycvpxizshms016fhs4jvxhxk2q8airv-thrift-0.16.0

Rebuild report (if merged into master) (click to expand)

77 total rebuild path(s)

40 package rebuild(s)

40 x86_64-linux rebuild(s)
37 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
arrow-cpp
gnss-sdr
gnuradio
gnuradio3_8
gnuradio3_8Packages.ais
gnuradio3_8Packages.gnuradio
gnuradio3_8Packages.grnet
gnuradio3_8Packages.limesdr
gnuradio3_8Packages.osmosdr
gnuradio3_8Packages.rds
gnuradio3_9
gnuradio3_9Packages.gnuradio
gnuradioPackages.gnuradio
parquet-tools
python310Packages.datafusion
python310Packages.datasets
python310Packages.google-cloud-bigquery
python310Packages.ibis-framework
python310Packages.pyarrow
python310Packages.snowflake-connector-python
python310Packages.snowflake-sqlalchemy
python310Packages.tokenizers
python310Packages.transformers
python39Packages.apache-beam
python39Packages.datafusion
python39Packages.datasets
python39Packages.google-cloud-bigquery
python39Packages.ibis-framework
python39Packages.intake
python39Packages.intake-parquet
python39Packages.pyarrow
python39Packages.snowflake-connector-python
python39Packages.snowflake-sqlalchemy
python39Packages.spacy-transformers
python39Packages.tensorflow-datasets
python39Packages.tokenizers
python39Packages.transformers
qradiolink
streamlit
thrift

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/iycvpxizshms016fhs4jvxhxk2q8airv-thrift-0.16.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A thrift https://github.com/r-ryantm/nixpkgs/archive/e0feb90507d5dc91bc24a88fd64f33136ae9f35a.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/iycvpxizshms016fhs4jvxhxk2q8airv-thrift-0.16.0
ls -la /nix/store/iycvpxizshms016fhs4jvxhxk2q8airv-thrift-0.16.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @bjornfor for testing.

nixpkgs-review reveals no new failures on macos 10.15 (many many existing failures though)

Also builds, nixos aarch64.


Feature Request: Allow secret refs as env's

It would be great if we could use secrets to populate env's.
- name: SECRET_PASSWORD
        valueFrom:
          secretKeyRef:
            name: mysecret
            key: password

Was thinking we could add 2 new functions to the Container kind. While also editing the ->setEnv() function to allow for a valueFrom key to be set.
I tried the following, but it does not work yet...
  /**
     * Add an env variable by using a secret reference to the container.
     *
     * @param  string  $name
     * @param  string  $refName
     * @param  string  $refKey
     * @return $this
     */
    public function addSecretKeyRef(string $name, string $refName, string $refKey)
    {
        return $this->addToAttribute('env', [
            'name' => $name,
            'valueFrom' => [
                'secretKeyRef' => [
                    'name' => $refName,
                    'key' => $refKey
                ]
            ]
        ]);
    }

Any Ideas/suggestions?
p.s. Great work on the package overall !
Kubernetes References:
https://kubernetes.io/docs/concepts/configuration/secret/#using-secrets-as-environment-variables
https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#envvarsource-v1-core

This seems well done overall. Perhaps this would be needed for ConfigMaps as well:
env:
  - name: game
    valueFrom:
      configMapKeyRef:
        name: game-demo      # The ConfigMap this value comes from.
        key: player_initial_lives # The key to fetch.

Also, Field Refs, which I've used recently and they do a great job to get the current pod details directly into the pod:
env:
  - name: MY_POD_IP
    valueFrom:
      fieldRef:
        fieldPath: status.podIP

The secrets seem the most obvious and used one, we can catch up with CM and fieldrefs afterward.


tests(conf) use test_conf explicitly when starting kong in multi-thre…

Related with #2802
This is a difficult to replicate issue, possibly involving some race condition, so I'm not 100% sure that this will fix it. But after adding these changes (basically making it explicit that we're on a test env, and also using start_kong instead of kong_exec(... start ...)) I would not replicate the error any more.

This PR does not make sense, I have to rethink how/why it happens. For now I am closing this


feat: improve error logging

Improvement
While using your package I encountered an error with the metadata validation:

Metadata validation failed!

As it was not enough relevant for me, I had to log res.data.result.ErrorMessage for a better understanding.
I think it could help others not to throw your own error message but instead throw or include the real error returned from a request 😉

As a side note, the error I had was :

ERROR ITMS-3000: "Line 7 column 51: character content of element "file_name" invalid; must be a string matching the regular expression "[^/: ]+" at XPath /package/software_assets/asset/data_file/file_name"

And in fact my binary path contains spaces : "/platforms/ios/build/device/app - DEV.ipa".
Do you have any idea why it's happening whereas it's working fine with altool ?
Thanks!

I totally agree, better error reporting is something I also had planned to implement.

As for the error, it might be that altool does some automatic sanitation on the input file path. Should be possible to implement something similar.

Both of these issues should now be solved. Will go live with the next update. 😄

Well done 🎉
Thanks !


Queued videos not autoplaying if tab isn't focused in Chrome

Steps to reproduce

Add some videos to the queue (like this, or this) then play the first video.
Now if you don't want to wait just skip to 5-10 seconds before the end of the video and switch your tab so that the Essentialyoutube tab isn't focused.
If you look at the Essentialyoutube tab, it's name changes, because the next video loads, however it doesn't start playing automatically.

Browser information

User agent : Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36
Browser version: Google Chrome Version 51.0.2704.106 m (64-bit)

"If you look at the Essentialyoutube tab, it's name changes, because the next video loads, however it doesn't start playing automatically."
go on youtube, right click on a video and open it in a new tab, if the tab is not focused the video is not playing - thats a general chrome problem ;)

I guessed as much, because I've seen it also happen in youtube, but wasn't sure and decided to open the issue. Feel free to close the issue :)

go on youtube, right click on a video and open it in a new tab, if the tab is not focused the video is not playing - thats a general chrome problem ;)

Oh, I was not even aware of that! I'm closing the issue then, as there is nothing to be done on our side. Feel free to open another issue if you have a solution or workaround.


Creating class libraries in .NET Core

Hi,
By using the (CLI) command dotnet new -t lib, I've got a skeleton code for a class library, and that's really nice. However, I really don't know how to let another project consume the library that I've created. I've tested to create NuGet package, (CLI) command dotnet pack, and edit NuGet.config file to add a local repository. But it didn't work for me. I've been searching for some documentation to help me, but found very little (but nothing has helped me).
It would be fantastic to get my class libraries to show up in Visual Studio Code when I'm authoring the project.json file, but I've not been successful. I really don't know where to turn, so I drop my comments to this forum.
I'm working on Ubuntu 16.04, using Visual Studio Code as my editor.
Kind Regards,
Jan

Could you describe what did you do and how did it fail?

Hi,
First step was to create skeleton code, via dotnet new -t lib. This creates a class library project template, with a default file name Library.cs (my directory, folder, name is mylib) In this case, I'm trying to understand the tool chain, so next step is simply to build the artifact via dotnet restore and dotnet build.
The produced artifact is default configured for netstandard1.6.
Now I have an (class library) assembly in the output directory (folder) at bin/Debug/netstandard1.6/mylib.dll.
This is very nice! But then I want to use my assembly in another project, and it is unclear to me how to do that, so I guessed that maybe the assembly must be packaged into a NuGet package.
To do this, I run the dotnet pack command. This produces a NuGet package mylib.1.0.0.nupkg. Next step is to publish the package (from a local repository), so I created a local directory (in my case I did that at .nuget/mypackages/, I'm testing this in Ubuntu 16.04).
To make NuGet aware of my repository, I edited the NuGet.config file:
< configuration >
< packageSources >
< add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
< add key="local" value="~/.nuget/mypackages/" />
< /packageSources >
< /configuration >
And then copied mylib.1.0.0.nupkg to .nuget/mypackages/.
I have no idea if I'm doing this right. I've tested to modify the repository path to a canonical path, or to have a simple path (mypackages) (a simple path is relative to the NuGet root - according to NuGet documentation). But I simply can't use my class library from any project, when I reference the package.
And it does not show up in Visual Studio Code when I edit the project.json file.
I need some guidance in how to make class library assemblies available to .NET Core projects, and if it's possible to make it available in the Visual Studio Code.
In short, it fails because I can not use my class libraries in my .NET Core projects.

Hi @jan-johansson-mr,
I haven't tried it with creating a NuGet package the way you are trying to do it. I was able to get it working without it by creating this folder structure:
ProjectRoot
|__ src
__| app
______| Program.cs
______| project.json
__| library
______| Library.cs
______| project.json

Run dotnet new -t lib in the library folder and dotnet new in the app folder.

Update the contents of the apps project.json to reference the library by adding this to the dependencies:

"library":{       "version":"1.0.0",       "target":"project"     }

Update the Program.cs to call something in the library

Run dotnet restore from the library folder.

Run dotnet restore from the app folder.

Run dotnet run from the app folder.

You should see the result of whatever method you called in the library.

Let me know if this worked or didn't work for you.

Hi Peter,
Thanks for your description, it does indeed work!
I want to use assembly (or assemblies) (dll) in my projects. I've not found any clear way to do that (it's easy in VS). However, by following what I wrote earlier today, it does actually work (using dll)! As you know, there is no NuGet utility on native Linux, but as far as I understand it dotnet restore does some lifting with the NuGet repository. I found out that once the NuGet.config file points to my local repository (where I put the generated NuGet files from dotnet pack command), then dotnet restore creates the needed directory structure under ~/.nuget/package directory (folder) and pushes the package(s) there.
Once this is done, it works quite well with both Visual Studio Code, and dotnet CLI.
The only thing that doesn't work that well is intellisense in the project.json file. But once the package is referenced in the dependencies "section", with the correct version (no help from intellisense though), it works quite well.
I'm sure more support will come from tooling soon, but until then, it's a little bit of manual labor to get it to work... :-)

Yeah, I look forward to the next rev of the tooling. I hope a lot of things will get easier.


Use get_requires_for_build_wheel for metadata prep.

This is required by the PEP-517 spec.
Fixes #2125

N.B.: The "Fix CI" 9120ee0 commit is off for review in #2128.

My god. Ok, the test failure is real. The xmlsec==1.3.13 uses both PEP-518 build system requires and setuptools setup_requires. The setuptools PEP-517 build backend answers ["wheel"] + setup_requires to any query for get_requires_for_build_wheel and this leads to duplicate requirements here. Pip has no issues because it installs build requirements in 2 seperate pip install steps. The 1st for the build system requires, and the second for the get_requires_for_build_wheel list. Not sure what to do yet.


Application - Accessibility/Usability - Submit Button Location

User Story
As a student, I need the submit button to be available at the end of the form flow so I can tab and submit.
Acceptance Criteria

[ ] Add the Save draft (if visible)/Submit application buttons to the bottom right of the "Confirm Submission" tab of the application.

Context:

These issues were uncovered through accessibility audit via CITZ ( 1.3.2 Submit Button- Student- Accessibility Fixes - Level A - Meaningful Sequence ) & again on the usability testing
Detailed Spreadsheet for Student s inserted inline and also attached here: 2024_Student Application_Audit.xlsx

Updated ticket to make it more cohesive between the accessibility and useability feedback.

Confirmed with @CarlyCotton that Save Draft button at bottom is only required on the last page, unlike the Save Draft button on the top.


Getting this error when using parameters: Warning: WARNING: The configuration value of bicep.use_binary_from_path has been set to 'false'.

Initially I passed all parameters inline, all was fine. After I added a .bicepparam file & supplied that for the parameters parameter of the action, I get this warning:
Warning: WARNING: The configuration value of bicep.use_binary_from_path has been set to 'false'.

Works fine:
      - name: deploy
        uses: azure/arm-deploy@v2
        id: deploy
        with:
          subscriptionId: ${{ vars.AZURE_SUBSCRIPTION }}
          resourceGroupName: ${{ vars.AZURE_RG }}
          template: ./infrastructure/main.bicep
          scope: resourcegroup
          parameters: 'param1=PARAM1 param2=PARAM2'
          failOnStdErr: false

Warning occurs with:
      - name: deploy
        uses: azure/arm-deploy@v2
        id: deploy
        with:
          subscriptionId: ${{ vars.AZURE_SUBSCRIPTION }}
          resourceGroupName: ${{ vars.AZURE_RG }}
          template: ./infrastructure/main.bicep
          scope: resourcegroup
          parameters: './infrastructure/main.bicepparam'
          failOnStdErr: false

@judyanndixon this would have been good if this also didn't happen...


remove Sidekiq.server? check from schedule loader

Starting with 7.0, Sidekiq can be run in embedded mode where Sidekiq.server? returns false
Reference: https://www.mikeperham.com/2022/10/27/sidekiq-7.0-embedding/

hey @oozzal 👋🏼
Do you think this will work well or cause any problem under Sidekiq 6? We still support both versions:
https://github.com/sidekiq-cron/sidekiq-cron/blob/78eb493adbfeb908861ec9b3a76e5e7a01adf339/.github/workflows/ci.yml#L12

@sandip-mane are you agree with this changes?

@markets YES, should not cause any issues as we use Sidekiq's config.on(:startup) callback hence it is run only when Sidekiq boots.
I have just verified this change with Sidekiq 6.5 and 7.1 and it worked as expected. Also verified it in embedded mode, and it works fine that way as well(similar to running multiple sidekiq processes).
This is a non-critical change though, only applies when people run sidekiq in embedded mode(rare)

@oozzal thank you for the addition.


bootstrap_options[:user_data] has a default on windows

Should fix #330 and and updates #325  #327

bootstrap_options[:user_data] is blank by default, so if we don't check for windows, we don't pull in the default windows user_data

This will need a spec to validate that a windows instance starting up without a user_data bootstrap_options gets a defaulted value

This was fixed in https://github.com/chef/chef-provisioning-aws/pull/400


Nested ObservableCollection crashes when removing item

Describe the bug
When removing an item in a nested ObservableCollection, tha app crashes with System.ArgumentOutOfRangeException: 'This collection cannot work with indices larger than Int32.MaxValue - 1 (0x7FFFFFFF - 1). (Parameter 'index')'
I attached a small example that reproduces the bug
Example.zip
the example consists of 2 ItemsView, one represents the headers and the second represents the details of the selected header.
Steps to reproduce the bug

Click on Add Header
Select Header 0
Click on Add Detail
Click on Add Detail again
Select Detail 1
Click on Remove Detail
Select Detail 0
Click on Remove Detail
App crashes

https://github.com/user-attachments/assets/e4df17e2-9260-4336-bfb6-1a04c1cd54e8
Expected behavior
App does not crash when an item is removed
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.5.5: 1.5.240627000
Windows version
Windows 11 (22H2): Build 22621, Windows 10 (20H2): Build 19042
Additional context
No response

This was closed as duplicate of an internal bug. Reactivating and connecting to that bug.


Grace's feature request for form QC purposes

Rename interviewdate variable as chr_{form}_date variable
cc @gracejacobs

Closed via all commits on December 28 starting with https://github.com/AMP-SCZ/utility/commit/1599e5eb28c1f4559c701310ee703e737f6621b5


Problem with SetWindowsHookEx (user32.dll)

Hello. I am trying to handle keystrokes on Windows.
var ffi = require('ffi'),
    ref = require('ref');

function call(nCode, wParam, lParam){
    console.log(lParam);
    return user32.CallNextHookEx(nCode, wParam, lParam);
}

var intPtr = ref.refType('int');
var funcPtr = ffi.Callback(intPtr, ['int', intPtr, intPtr], call);

var user32 = new ffi.Library('user32', {
    'SetWindowsHookExW': [intPtr, ['int', 'pointer', intPtr, 'int']],
    'CallNextHookEx': [intPtr, ['int', intPtr ,intPtr]],
    'UnhookWindowsHookEx': ['bool', [intPtr]],
});

var hook = user32.SetWindowsHookExW(13, funcPtr, ref.NULL, 0);

The hook was successfully set, but the callback hasn't been called and keyboard input was lagging while process was running.
When I send keystokes from my application in same thread
user32.keybd_event(0x41, 0, 0, 0);
user32.keybd_event(0x41, 0, 2, 0);

call runs.
When I send those keystrokes from another thread, call doesn't run.
Could you please explain me what should I do to fix this problem?
Thanks.

@ldp-n Did you figure it out?

Yes. I realized that I had to use GetMessage

@ntlvs can i see full code?
im a new
thank you

@ntlvs can i see full code?
im a new
thank you


feat(*): added plugin-logger

@all-contributors please add @kyranet for code

@all-contributors please add @vladfrangu for review

@all-contributors please add @vladfrangu for review


Implement view binding

I would like to implement view binding in your whole project.
Could you assign me this under hacktoberfest?

All the best @CH1NRU5T

Can You Please Assign to me


How to get the vocab file for custom dataset?

How to generate the vocab file for the custom dataset?

You should generate the vocab by yourself.


[Feature request] Search filename or filehash through URL

Hi @strontic,
Thanks a lot for your project, very useful for security investigation! ❤
Is it possible to search file with filename or filehash, directly through the URL?
Something like:

https://strontic.github.io/xcyclopedia/search.html?q=[filename.extension]
https://strontic.github.io/xcyclopedia/search.html?q=[filehash]

The idea is to take advantage of the functionality 'Custom search engine' on Firefox and Google Chrome, and finally add your project into https://github.com/wikijm/Awesome-Custom-Search-Engines
Regards,
WikiJM

Hi WikiJM!
Thanks for your feature request! The xCyclopedia website does have a built-in search feature that uses client-side Google Search. However, as you've pointed out, it doesn't have a custom search that's accessible from URL parameters (yet).
As a work-around, you can use the following Google Search URL to search xCyclopedia for a particular MD5 or Filename:
https://www.google.com/search?q=site%3Astrontic.github.io+inurl%3A[insert-MD5-or-filename-here]

(note: don't include the square brackets)

However Google (and Bing) don't always index every page -- it's usually above 95% coverage though (out of the existing 15k pages).
So for a more proper solution, your request will be worked on to see if there's a straightforward way to implement, within the constraints of GitHub.io hosting.
Have you implemented a custom search engine (with custom URL parameters), within GitHub.io (GitHub pages)? If so, any tips would be appreciated!
Thanks again!

🎁 Greetings and Merry Christmas 🎄
Great idea to use Google Dork for searching into your project!
Understood for the gap between the data available on the search engines.
The workaround is working fine for my need, you'll see an upgrasde of my repo soon 😉
Sadly, I didn't implemented such custom search engine within GitHub.io.
Not sure if it will work with .json and .csv file that are into .zip files.

Glad that works for you! Google dorking for the win. :)

Glad that works for you! Google dorking for the win. :)


Silent package installation during python setup.py install

Iris installs cycler, toolz, and cython during python setup.py install, non of which is listed as Iris requirement.
https://travis-ci.org/tv3141/iris/jobs/453714575#L4937
There is no trace of this in the log files, as the installation is run in quiet mode:
python setup.py install --quiet
https://github.com/SciTools/iris/blob/master/.travis.yml#L118

@tv3141 These packages are all dependencies pulled in by the primary package dependencies of iris i.e., iris requires dask, but dask then pulls in toolz as one of its dependencies e.t.c.


add weights hdf5 file for notebook  U-Net_3D_ZeroCostDL4Mic

Hello,
This feature request is not strictly to the git repository. I was wondering if there is a possiblity to add somewhere a weights_best.hdf5 file corresponding to the U-Net_3D_ZeroCostDL4Mic notebook. That way one could at least use those weights to start training from there instead of doing it from scratch.
Thanks
Jorge

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."

Hello @jazberna1,
The Zenodo link you shared is from the application itself, the ZeroCostDL4Mic notebook, which you can find here at the BioImage Model Zoo.
The idea behind the applications in the BioImage Model Zoo is to be agnostic of any dataset. Instead, the weights you are suggesting are included as models in the BioImage Model Zoo. Some of those models are obtained after using some of the ZeroCostDL4Mic notebooks, but the idea is that different trained models (and weights) can be obtained from different datasets, even though they were obtained using the same notebook.
In your case, with the U-Net_3D_ZeroCostDL4Mic notebook, the model that you could use is the one trained on Cell Segmentation from Membrane Staining for Plant Tissues in the BioImage Model Zoo. The link to the model card is not currently working, but you can check its Zenodo website: https://zenodo.org/records/5888237.
At this moment, you can only find that model at the BioImage Model Zoo, so if you train a new model or fine-tune the existing model, please contribute to the BioImage Model Zoo and share it with the community 🤗.
Let me know what you think about this approach that we are currently following—any ideas are welcome!
Thanks,
Iván

Hello Iván,
Thanks a lot for the feedback and the clarification. Yes, I understand now that the idea is to use the same model (notebook) on different datasets and share them on BioImage Model Zoo, right? I'll do so.
Thanks too for pointing me to the Cell Segmentation from Membrane Staining for Plant Tissues, I coudn't find it myself.
Iván , I'm closing this ticket as everything is clarified now.
Tahnks!!
Jorge


feat: Add Ses lambda event support to Parser utility #213

Codecov Report

Merging #214 (8305fb3) into develop (66edf65) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop     #214   +/-   ##
========================================
  Coverage    99.88%   99.88%
========================================
  Files           69       70    +1
  Lines         2547     2600   +53
  Branches       109      109
========================================
+ Hits          2544     2597   +53
  Misses           3        3

Impacted Files
Coverage Δ

...bda_powertools/utilities/parser/models/__init__.py
100.00% <100.00%> (ø)

...s_lambda_powertools/utilities/parser/models/ses.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


fix(plugin-webpack): Keep original HTML attributes on script tags

Changes
Basically, it keeps any HTML attribute on script tags that are processed by this plugin. plugin-webpack was picking the JSEntries from snowpack and replacing their script tags with a new one, with the files produced by webpack. With that, previous attributes like defer or async were not being respected.
This plugin fixes that. The only attribute that is ignored is the type attribute, given that script tags processed by this plugin are really not a module anymore.
Testing
Unfortunately, tests are being skipped and are even commented out given an issue with fs. I dealt with this back in November and the tests were producing an expected snapshot.
Manual testing seems to work and all HTML attributes not named type are preserved.
Docs
Don't really know what to do add here. I think this is a bug, as it's striping out vital attributes from script tags, so if docs need updating let me know.

Got it, that makes sense. Appreciate the fix!

Got it, that makes sense. Appreciate the fix!

And agreed that we should get these tests back up and running. Would love any help if you're interested.

And agreed that we should get these tests back up and running. Would love any help if you're interested.

I'll take a look. Thanks for merging!

I'll take a look. Thanks for merging!


ITE: drivers/i2c: Enable I2C interrupt after completing configuration

Fix the flow of I2C enable interrupt. We should enable the interrupt
after I2C configuration is completed to avoid pending interrupts and
cause errors irq.
Test port:
i2c_ite_it8xxx2: i2c0
i2c_ite_enhance: i2c4
Test:
tests\drivers\i2c\i2c_api --> pass
Signed-off-by: Tim Lin<EMAIL_ADDRESS>

@keith-zephyr, @jackrosenthal, @teburd could you review this PR? Thanks!


update packages

:white_check_mark: Build TheIdServer 8.0.0-fix-dependencies1-0329 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/24ae0a401b by @invalid-email-address)


Large blank behind some short articles in the display box

When the length of the article is relatively long, the article page is very long, which will lead to a large blank behind some short articles, affecting the reading experience. I want to know how to modify the CSS file so that the height of the display box can be controlled within the appropriate range?

Hi @Hometown2020 Can you show me a screenshot of what you mean? I'm not sure I understand.

Hi, the problem is just like this. You can see that there are a lot of blanks left behind the two articles on the left.

Those blocks are meant to expand to the content. If you manually shorten them, you'll cut off the content. I think you'd be better off using a description field to control what is displayed there. Check out this page: https://gohugo.io/content-management/summaries/#readout

OK. I have solved the problem. Thank you for your help!

Great!


YCSB HBaseclient does not compile with HBase-2.0

Based on a discussion today raising this issue so that it can act as a placeholder. I can submit a patch too.
The HBase-2.0 removes some of the deprcated API like KV.getValue(), kv.getRow() and the Result.raw() APIs.  We can modify the client code accordingly so that it compiles with HBase-2.0 and anyway it would work with HBase-1.0 also.
{code}

                       Bytes.toString(kv.getQualifier()),

                       new ByteArrayByteIterator(kv.getValue()));

                       Bytes.toString(kv.getQualifierArray(), kv.getQualifierOffset(), kv.getQualifierLength()),

                       new ByteArrayByteIterator(kv.getValueArray(), kv.getValueOffset(), kv.getValueLength()));

{code}

sounds like we should break the 0.94 binding out into a different module so this can go into the hbase-10 binding.

Updated #392 to remove the use of KeyValue in favor of Cell; it compiles without any deprecation warnings against HBase 1.1.1 as of 95e98d9604117685c2a41f09449d6d6e68228e3d.

@ramkrish86: Could you try again with latest master?

Thanks for fixing this.  Will see if I can give a try on the latest checkin.


Bluetooth: Mesh: Unable used with ext adv on native_posix

I use the main branch based on ext_adv In the mesh PTS test under native_posix, it was found that the test failed at all.
[00:00:07.830,000]  bt_hci_core: hci_le_meta_event: subevent 0x0d
[00:00:07.830,000]  bt_scan: bt_hci_le_adv_ext_report: Adv number of reports 1
[00:00:07.830,000]  bt_scan: le_adv_recv: 22:44:7A:94:5E:EF (random) event 0, len 29, rssi -76 dBm
[00:00:07.830,000]  bt_keys: bt_keys_find_irk: 22:44:7A:94:5E:EF (random)
[00:00:07.830,000]  bt_hci_core: hci_rx_thread: calling fifo_get_wait
[00:00:07.840,000]  bt_mesh_pb_adv: prov_retransmit:
There is a certain probability that the test fails. I see the system log has stopped.

Steps to do:
Add below config to tests/bluetooth/tester/overlay-native.conf
CONFIG_BT_BUF_CMD_TX_SIZE=255
CONFIG_BT_BUF_EVT_RX_SIZE=255
CONFIG_BT_BUF_EVT_DISCARDABLE_SIZE=255
CONFIG_BT_BUF_ACL_TX_SIZE=251
CONFIG_BT_BUF_ACL_RX_SIZE=251
CONFIG_BT_EXT_ADV=y
CONFIG_BT_MESH_ADV_EXT=y
CONFIG_BT_LOG_LEVEL_DBG=y
CONFIG_BT_DEBUG_LOG=y
CONFIG_LOG_BACKEND_NATIVE_POSIX=y

west build -b native_posix zephyr/tests/bluetooth/tester/ -DOVERLAY_CONFIG=overlay-native.conf
python3 ./autoptsclient-zephyr.py "C:\Users\DELL\Desktop\zblue3.0\zblue-3.0\zblue_3.0.pqw6" /home/lingao/zephyrproject/build/zephyr/zephyr.exe -i <IP_ADDRESS> -l <IP_ADDRESS> --hci 1 -c MESH/NODE/PROV/BV-07-C

One of the fixes:https://github.com/zephyrproject-rtos/zephyr/pull/43253

Link https://github.com/zephyrproject-rtos/zephyr/issues/43246

@LingaoM is this a duplicate of #43246?

@LingaoM is this a duplicate of #43246?

No, this problem is currently caused by at least two reasons.

@PavelVPV could you try to reproduce this locally?

@PavelVPV did you get to investigate the reasons why HCI Commands did not go through causing the k_sem_take timeout assertion?

@cvinayak No, I didn't

@PavelVPV When you get a chance to work on this, please enable the HCI Debug logs on the host side to get the HCI opcode that is waiting.

Closing since this is not reproducible. Could be the same issue as #43246 if reproduced.


fix(Pagination/Slider): fix unknownProp warnings

The props were being passed on the HTML elements which did not support
those attributes
Fixes #179

👍  @eddiemonge - good to go once merge conflicts resolved

Updated

Bluemix toolchain: Delivery Pipeline deployed carbon-components-react to Bluemix Design System, including commit 241a15e00daa60858cdab9a440d23eb24fa473a0


[FLINK-9555]Support table api in scala shell

What is the purpose of the change
make table api available in scala shell so that user can experience table api in interactive way.
Brief change log

add flink-table dependency to flink-scala-shell module.
The scala shell provides a BatchTableEnvironment and a StreamTableEnvironment initially when starting

Verifying this change
This change is already covered by existing tests
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no) yes
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)  no
The serializers: (yes / no / don't know) no
The runtime per-record code paths (performance sensitive): (yes / no / don't know) no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know) no
The S3 file system connector: (yes / no / don't know) no

Documentation

Does this pull request introduce a new feature? (yes / no) yes
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)  not documented

Thanks @shuiqiangchen , I left a few comments. And agree with @sunjincheng121 , we need to add test

Hi All, Thank you for your attention! I have pushed new codes according to your suggestions. Looking forward to your guidance.

@shuiqiangchen Travis is failed, could you check that ? Thanks

@shuiqiangchen Travis is failed, could you check that ? Thanks

Thanks! It's the matter of checkStyle. I have fixed it.

Hi all, I have updated some codes following your suggestions. Please review it in your convenience.

Thanks for the update！ @shuiqiangchen
Merging...