Make interface to write_i2c_block_data more robust and cleanup some docs

I got some code that was intended for the Raspberry Pi running on the pico tonight for the BME280 sensor, and I used this library to supply the smbus module that was being requested.   The library though was passing in an int in a list to the method write_i2c_block_data which currently doesn't handle that case.  I feel this refactor handles a multitude of cases more than the current logic and have opened this PR to suggest the change.

Just to inform that used your update in my PR.
I added the 16-bit memory address read/write support.
https://github.com/geoffklee/micropython-smbus/pull/6

Thanks very much for this, I'm not sure how I missed it. I have now merged @karelv's request which includes your work, so I will close this PR - really appreciate your contribution.


Rename SnowflakeConnector 'schema' to 'schema_name'

Description
Might be nice to rename the schema arg in the SnowflakeConnector block.
 snowflake_connector = SnowflakeConnector(
        database="db_name",
        warehouse="warehouse_name",
        schema="schema_name",
        credentials=snowflake_credentials
    )

Current behavior
Accessing snowflake_connector.database works great; snowflake_connector.schema accesses the block class method called schema(). I need to use snowflake_connector.schema_ to access the desired attribute.
Desired behavior
Calling snowflake_connector.snowflake_schema or snowflake_connector.schema_name would be preferred.

Thanks for the issue! I agree that this is a rough edge right now for the SnowflakeConnector block, but renaming the schema_ attribute would be a breaking change, so we may want to consider alternative options in the interim. @ahuang11 and I will discuss and see what our options are.


add info sub-command

I see a lot of opportunities to improve it already but i think it is a great addtion already as it prints the vpkgs and the cachedir.

Should we make a simple test for it?


Remove rook jar and test auto upgrade

Remove rook jar to force upgrading to latest and check entire publish flow

/jira open task


(kitty) Upgrade for Kitty

Hello,
The Kitty package is pretty old (0.74), the last version is <IP_ADDRESS>.
An upgrade is possible ?
Thank you.

Looks like there have been an up stream change that prevents the update, I'll take a look at what is going on.

hmm, looks like they are now only providing the portable executable through fosshub now, which we unfortunately can not use.
There is a zip package that may be possible to be used instead, but I have not looked far enough into it to see if it is a viable option yet.

It can be done by unpacking latest releases zip file:

There are some changes:

gensfc.exe is gone
There are now 2 cygwin files.

So I think we should just pack everything into choco package as before.

There is also a zip file in the github releases https://github.com/cyd01/KiTTY/releases/tag/v<IP_ADDRESS>

Hi there, I'd appreciate having an up-to-date version of kitty on chocolatey. Is there anything one can do to help update this package?

@d-Rickyy-b You could submit a PR with a fix for the issues outlined above?

It should be possible to embed the Kitty installer directly in the package - see https://docs.chocolatey.org/en-us/community-repository/moderation/package-validator/rules/cpmr0028, option 2.

Just submitted a PR for it.

Hi @AdmiringWorm
Are you able to merge my PR?
Thanks


[Core] Disable Copy/Paste for some components

Hello,
I would like to know if you would be interested in disabling copy/paste for some components. (like toolbars, leftnavs, ...).
Currently on phone it gives a bad UX because you it activates the text selection bar.

for now I use the following CSS (that works under Android)
*:not(input):not(textarea) {
  -webkit-user-select: none;
}

-webkit-user-select: none also works for iOS - I use it liberally in my app - but the pseudo-class is a problem for inline css.

what about making a HOC to disable copy paste?
It seems that AppBar and NavBar will need it most of the time and it's unwanted for most of the others components, even more when mixing web and mobile support.
Not sure we can find a clear rules about what need it and what dont.
what do you think?

I don't think that it should be the default behavior.
You often need to apply the user-select: none on nested components.
I see at least two options:

provide a property for this use case, like disableSelect.
provide a customization style property to apply the style directly.

what about making a HOC to disable copy paste?

How would you implement this HOC?

For the HOC I was thinking to allow it to change the style.
I guess it should be default for touch devices only.
Addin one property to each component seems overkill.
Maybe setting that in the theme would be better.

We have been disabling the selection on some components of the v1-beta branch with userSelect: 'none',.


Create Typography component

💡 Description
The Typography component is one of the few most widely used components we will need initially.
Development of this component entails:

[x] Add the appropriate CSS classes to wds that codify our Typography styles defined in Figma
[x] Add the appropriate component to wds-react that consume the CSS from wds to render the component. The component should address variants (e.g. Heading, Body, etc.) and breakpoints (e.g. 'sm', 'md', etc.)

⚔ Parent Epic / Related Tickets
No response

Eddie will complete the ticket.

Status: Refactoring needed to wds and wds-react styling to use this component. Need to extend styles from wds in wds-react repo.

progress on that.

Good progress on that. Families remain to be added.

@eddiesarevalo is making changes to the props.

WDS pull request https://github.com/NASA-PDS/wds/pull/24
WDS-React pull request https://github.com/NASA-PDS/wds-react/pull/25

Waiting for review by @anilnatha


does not proxy port on linux

I'm using Ubuntu 13.10 as a development machine with Ruby on Rails. I ran the invoker setup and appear to have everything setup correctly.
Example config file:
[qlp]
directory = /home/mark/dev/qlp
command = bundle exec rails s -p $PORT
I can start the process and verify it works. However, it will ONLY respond if I explicitly add the port to the url. (must do http://qlp.dev:9001). It does not respond without the port being added.
I checked the /etc/rinetd.conf file and it looks like it should be proxying the port.

Same problem here unfortunately :(

i will re-check this issue on ubuntu, and update this thread, thanks.

@iffyuva sorry scratch me from that list, I thought I was affected, turns out I had a subtle typo in the .dev URL. Error reporting may be improved tehre but definitely my fault.

Is there any update on this. I'm having the same issue on Ubuntu 14.04.3 with RVM and zsh.

Can anyone try this with latest master and let me know? However, latest master will not work on Ubuntu 14.04 because now Invoker only supports Linux distributions that use systemd.

I've found what caused my issue. It was related to prax and his firewall iptables nat rules. If someone has the same issue just do
iptables -t nat -L -n -v

to preview the rules. If there are any redirections on ports 80(http) and 443(https) then do this command to clean your rules
iptables -t nat -F

After this you could use invoker http .dev domains.
Anyway @gnufied  I'm using 1.4.1 version of invoker on Ubuntu 14.04.3 and it works fine. Can you guys at least make a special branch for Ubuntu 14.04 users when you update the gem to a version that uses systemd?

Just wanted to add here that I'm experiencing similar issues on Sierra 10.12.5 . I understand this might be different because it's not Unix specific.
Can not access via myapp.dev, I must specify the port, https://myapp.dev:9000.
cat ~/.invoker/config
---
:http_port: 23403
:https_port: 23404
:tld: dev
:dns_port: 23400

telnet <IP_ADDRESS> 23403
Trying <IP_ADDRESS>...
Connected to localhost.
Escape character is '^]'.

I'm curious if anyone knew any other things I could check out. I'd love to contribute to this repo.

I still have this issue as well on Ubuntu 16.x
I would love to help contribute to this fix.


Bootloader locks up when OTA is set but no OTA partition is present.

Environment

Development Kit:      [ODROID-GO]
Kit version (v1]
Core (if using chip or module): [ESP32-Wrover]
IDF version f198339ec09e90666150672884535802304d23ec
Development Env:		[Make]
Operating System:		[|Ubuntu]
Power Supply:         [USB|Battery]

Problem Description
When a project is flashed that has an OTA partition and that OTA is set as active, flashing a new project that does not have an OTA partition causes the bootloader to hang.
Expected Behavior
If an OTA partition is expected, but not present, the factory partition should be used instead.
Actual Behavior
Bootloader hangs.  The flash must be erased to restore operation.
Steps to repropduce

Create a project with an OTA partition.
Perform an OTA.
Flash (make flash) a project that does not have an OTA partition.
Observe inability to boot.

Code to reproduce this issue
Debug Logs
I (29) boot: ESP-IDF v3.1-beta1-42-gd5c0610 2nd stage bootloader
I (29) boot: compile time 20:29:57
I (31) boot: Enabling RNG early entropy source...
I (35) qio_mode: Enabling QIO for flash chip GD
I (40) boot: SPI Speed      : 80MHz
I (44) boot: SPI Mode       : QIO
I (48) boot: SPI Flash Size : 16MB
I (52) boot: Partition Table:
I (56) boot: ## Label            Usage          Type ST Offset   Length
I (63) boot:  0 nvs              WiFi data        01 02 00009000 00004000
I (70) boot:  1 otadata          OTA data         01 00 0000d000 00002000
I (78) boot:  2 phy_init         RF data          01 01 0000f000 00001000
I (85) boot:  3 firmware         factory app      00 00 00010000 000f0000
I (93) boot: End of partition table

Other items if possible

[ ] sdkconfig file (attach the sdkconfig file from your project folder)
[ ] elf file in the build folder (note this may contain all the code details and symbols of your project.)
[ ] coredump (This provides stacks of tasks.)

Also note that "GPIO triggers factory reset" is not able to recover from this condition.

The new project has an otadata partition in its partition table?

Hi @OtherCrashOverride !
I reproduced your issue. When you change partition table you need to do a command make erase_flash.
Regarding why booting not starting from the factory: here has an error of division on zero (https://github.com/espressif/esp-idf/blob/master/components/bootloader_support/src/bootloader_utility.c#L253) because you remove ota_x and remain an ota_data partition (bs->app_count = 0).
We will fix this.


Added my "Fake a Phone Call" article

Added my "Fake a Phone Call from Wear OS Smartwatches using Xamarin,  Azure Functions, and Twilio" article

Thanks a lot @jlooper 😁


Fixes CI test failure(Xcode 9.0, Swift 4.0).

New Pull Request Checklist

[x] I have read and understood the CONTRIBUTING guide

[x] I have read the Documentation

[x] I have searched for a similar pull request in the project and found none

[x] I have updated this branch with the latest master to avoid conflicts (via merge from master or rebase)

[x] I have added the required tests to prove the fix/feature I am adding

[x] I have updated the documentation (if necesarry)

[x] I have run the tests and they pass

[x] I have run the lint and it passes (pod lib lint)

This merge request fixes CI test failure.
Pull Request Description
I mainly fixed pod lib lint error/warning and travis CI test failure.
Now all tests should pass with Xcode 9.0 and Swift 4.0.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@11bcfd9). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master     #895   +/-   ##
=========================================
  Coverage          ?   21.22%
=========================================
  Files             ?       18
  Lines             ?     2638
  Branches          ?      283
=========================================
  Hits              ?      560
  Misses            ?     2038
  Partials          ?       40

Impacted Files
Coverage Δ

Classes/DDOSLogger.m
0% <0%> (ø)

Classes/DDFileLogger.m
0% <0%> (ø)

Classes/DDTTYLogger.m
10.23% <0%> (ø)

Classes/Extensions/DDDispatchQueueLogFormatter.m
0% <0%> (ø)

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 11bcfd9...9df551b. Read the comment docs.

OK. CI test turns green😁

OK. CI test passed again.

Thanks!

👍

This must be at least a minor release (3.4.0). I've updated the readme requirements and backwards compatibility with the iOS 5 and OS X 10.7 removal.

@bpoplauschi @rivera-ernesto
Thanks for your checking.


native method removed from asio use native_handle

via/comms/connection.hpp:476:66: error: ‘asio::ip::tcp::socket’ has no member named ‘native’
use native_handle. The method 'native' was deprecated earlier and removed in later versions of asio.

Thanks you for bringing it to my attention, I've put the fix in the develop branch for now.
BTW which compiler did you use and which version of boost?
GCC didn't even emit a warning on 1.57, let alone an error...

I used the asio from https://github.com/chriskohlhoff/asio.
Boost 1_58_0
g++-4.9.
Thanks for fixing it.
On Sat, Jun 20, 2015 at 5:23 PM, Ken Barker<EMAIL_ADDRESS>wrote:

Thanks you for bringing it to my attention, I've put the fix in the
develop branch for now.
BTW which compiler did you use and which version of boost?
GCC didn't even emit a warning on 1.57, let alone an error...
—
Reply to this email directly or view it on GitHub
https://github.com/kenba/via-httplib/issues/3#issuecomment-113718724.

--
Joseph Chakravarti Mariadassou
http://thesundayprogrammer.com

The modification has not been ported to asio_only branch which is where it won't compile

I've now ported the mod to the asio_only branch.
However, please be aware that I'm not planning to maintain the asio_only branch since the asio library itself still depends upon boost...

Thanks.
"asio library itself still depends upon boost"
I got the impression that Chris Kohlhoff was moving towards C++ standards.


HttpToHttp2ConnectionHandlerTest increase setup timeout

Motivation:
The 2 second timeout to bootstrap the test can timeout on the build servers. We should increase the timeout so it is less likely under powered or over worked machines are less likely to generate false failures.
Modifications:

HttpToHttp2ConnectionHandlerTest setup timeout changed from 2 to 5 seconds

Result:
Less false build failures.

@Scottmitch ship it

4.1 (4639d56)


Remove tables compat

Codecov Report

Merging #53 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #53   +/-   ##
=======================================
  Coverage   94.78%   94.78%
=======================================
  Files          22       22
  Lines         805      805
=======================================
  Hits          763      763
  Misses         42       42

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 0850ad0...db3c33f. Read the comment docs.


Add PUNKS comics

Website: https://punkscomic.com/
Etherscan: https://etherscan.io/token/0x5ab21Ec0bfa0B29545230395e3Adaca7d552C948
Twitter: https://twitter.com/punkscomic?lang=en

Hi @brennanfife - thanks for your contribution - your SVG logo has ~ 250kb - the regular logo should be around 1kB, is there any chance that you will upload a smaller one?

@xrn Can we try this?

Hi @brennanfife - the current icon looks much better but something Is wrong with PR - in changes I should see only new token together with icon and at this moment there is 25 files

Not sure why the rebase caused this... Regardless, created a fresh PR: https://github.com/MetaMask/contract-metadata/pull/898


Filter systems by creator name

Filter systems by creator name or have a checkbox to toggle between "showing all systems" and "only my systems".

Looking forward to this useful feature!

Note that this is a duplicate of https://github.com/neulab/explainaboard_web/issues/193, so I'll close the old issue.


Fix a bug and typing in torch/model.py

I'm going to make this changes a lot smaller now we have more people, to prevent nasty merges.

Sorry, hang loose while I fix this silly error.

Closing this until I get it going again, sorry!


WriteAsJsonAsync dosen't writes when instance is JObject

When writing any JObject as a HttpResponseData, the response shows keys however the values are presented as empty array.

 var response = req.CreateResponse();
JObject message = new JObject();
message.Add("Error", "messager");
await response.WriteAsJsonAsync(instance: message, statusCode: HttpStatusCode.Forbidden);
return response;

The response looks like this

{
    "Error": []
}

It responses okay when instance is of type JsonObject

@yugyesh Functions dotnet isolated uses System.Text.Json - JObject is from Newtonsoft.Json, so it is not serializable by STJ. You need to either use JsonObject as you already discovered, or you can configure WorkerOptions.Serializer to be a Newtonsoft.Json converter. However, this will have far reaching impact and change all serialization to Newtonsoft.Json. STJ is the recommended serializer and is replacing Newtonsoft all over, so I recommend going with the JsonObject route.


Base image not working on windows

This is really cool! So great to see this working :) Do you also have issues to start this container in Windows? It works perfectly in Linux.
Originally posted by @stebo85 in https://github.com/NeuroDesk/neuromachine/issues/8#issuecomment-899118004

@stebo85 Should be fixed now a669cec51f27a41dc842fa0880ecd050f8d5c1dc
It's already fixed on the vnm branch


renderSectionContent is cutting text

Hi there,
i have following method for renderSectionContent

const AccordionDetailsText = styled.Text`
  color: #4a4a4a;
  line-height: 20px;
  font-size: 14px;
  padding-bottom: 40px;
`

const renderSectionContent = (section: any) => {
    return (
      <AccordionDetailsText>
        {section.content}
      </AccordionDetailsText>
    )
  }

now everytime i collapse and open the react-native-collapsible/Accordion Section, Text is cut off and the overflow is hidden. Usually when opening it first time, it looks as expected. Closing and Opening each element leads to text cut off.
Has this happened to anyone also?
Cheers,
Patrick

@patrick-tresp
I fix this problem
renderContent={renderContent}
const renderContent = (content: MyItem): ReactElement => {   return <Text style={styles.description}>{content.description}</Text>; };
description: {     fontSize: 14,     lineHeight: 20,     paddingBottom: 8,     paddingLeft: 12,     paddingRight: 12,     width: width - 60 - 24 // I add this line    }
Check width of your content and width of accordion

+1

I've had a similar problem when modifying the content while using the Simulator + Fast Refresh. The issue is that the content container's size is only calculated on open, not when the content changes (related issue here https://github.com/oblador/react-native-collapsible/issues/420). To fix it, I just collapse the accordion item and then open it again.

Actually, that's probably not the same issue - in the OP's case, perhaps wrap the content component in a <View>, rather than it just being a <Text> component


how to add sub menu to sub menu in px-app-nav

Submit an Issue
Hi,
Thanks for helping us improve the Predix UI platform by submitting an issue.
Before you begin, please check the list of existing issues to avoid submitting a duplicate issue.
To help us solve this issue as fast as possible, please fill out the following sections:
Expected behavior and actual behavior:
Steps to reproduce the problem:
Environment (component version number, Browser (including version), operating system, hardware, etc):
Screenshots (optional, but very helpful):
Code examples help us better understand the issue - follow the appropriate codepen for the component by going to https://predix-ui.com, finding the component in question, and clicking on the pencil icon under the demo.
    Once you've created your code example, you can save it under a new url.
    Please note that you should NOT use the same methods for production as the ones used in codepen - these methods are not production ready.

Hi,
First of all, I am sorry to ask you here this question again here, I can see similar question at: http://forum.predix.io/questions/18025/is-it-possible-to-have-subitems-on-the-subitems-of.html . You are closed here, but the same thing I can see in above url that we cannot add subitems to subitems in Predix app-nav. Please let me know which one is correct, and if we can add subitems or sub menu to another subitems/sub menu, how can I add ? Please provide me any example of it.
Thanks.

As Greg said on the forums, you can only have one level of nested items.


Further exclusions (still working on it)

Looked through the refs of what we have (some look really interesting!!!), I've added more things to exclude.

Wow, I just found OpenAlex (https://openalex.org/), an FANTASTIC tool for searching literature. Includes a great R package called openalexR. And it searches things SO FAST! I was having problems with Zenodo, because they updated some things and are moving over to different type of API. So it broke some of my code. But this solves all of our issues. So I removed the pubmed, arxiv, medrxiv, zenodo functions, because Open Alex searches them and so much more.


Unable to build on android

I am getting this error while loading js bundle
Unable to resolve module streamfrom/Users/shubhnik/repos/rides_project/node_modules/cheerio-without-node-native/node_modules/parse5/lib/parser/parser_stream.js: Module stream does not exist in the Haste module map
Versions:
"react-native-link-preview": "^1.4.0",
"react-native": "0.56.0",
What could I be doing wrong? Let me know if more information is needed.

My team ran into the issue, I wouldn't count on this getting resolved any time soon. This project is no longer maintained unfortunately. Developers are giving up on a project that gets +1.4k weekly npm downloads :(
We're just going to take their advice and request link preview data on our backend.

I'm the sole mantainer of the project, unfortunately I don't have enough time to maintain the project that is why I'm looking for someone to takeover, but more importantly I realized what a security nightmare this can potentially be, that is why I'm discouraging its use, I created it years ago when I was not so experienced.
In any case, I'll try to take a look at the issue, all I did in the latest version was to bump the dependencies versions to avoid critical security issues, but as stated, a server side solution would be the recommended way to go.

and just FYI 1.4k monthly downloads is not that much, a single project with CI generates hundreds of monthly builds.

Done, fixed, version 1.4.1 should work.
Kinda pissed off on complains on a free open source project, feel free to send a PR next time.

@ospfranco yeah I totally understand your concern, though I wasn't pissed off, was just trying to get suggestions coz this issue wasn't listed here so I thought there might be some mistake from my side.
Also, what are the security nightmares associated with this project?
Thanks for releasing the fix 👍.

look, CORS is there for a reason, pulling data from random websites into your app is a security concern, there are malicious sites and 0-days out there which nobody knows of, by having a random request to a random site without any pre-flight checks, anything can be downloaded into the device.

Ohhk, thanks for the explanation @ospfranco . I am currently doing some proof of concept, will move this to the server once we are building the app properly.
Can you provide some suggestions for alternatives to cheerio-without-node-native, since this package is deprecated? Thanks.

regular cheerio should work, there was also other html parsing frameworks out there, most of them should be fine.


Install error

Trying to install linter-clang and/or autocomplete-clang results in very similar install errors.
It seems like the clang-flags package is causing this issue in both cases.
My System:
OS: Arch Linux 64 bit
Atom version 0.176.0.r91.gb02d0e3-1
Clang Version: 3.5.1
GCC Version: 4.9.2
My system default compiler is GCC.

Upgrading pathwatcher to version 3.0.1 solved the install problem for me.
I do not know if this fixes the problem because both plugins wont work and there are warnings containing Error: Cannot find module '../build/Release/pathwatcher.node' in the console.
I never wrote a plugin for atom and I always installed plugins from the GUI so it is possible that I did something wrong.

+1

+1

+1

I merged the pathwatcher patch, thank you. Closing the issue, as I assume the patch was sufficient, let me know if not.

I still get the same error:
><EMAIL_ADDRESS>install /private/var/folders/mm/y444qqwd0kn52fycyz6nsph40000gn/T/apm-install-dir-11519-62713-wqibdu/node_modules/autocomplete-clang/node_modules/clang-flags/node_modules/pathwatcher/node_modules/runas
> node-gyp rebuild

  CXX(target) Release/obj.target/runas/src/main.o

In file included from ../src/main.cc:1:
../../nan/nan.h:623:19: error: no type named 'ExternalAsciiStringResource' in 'v8::String'; did you mean 'ExternalStringResource'?
      v8::String::ExternalAsciiStringResource *resource) {
      ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
                  ExternalStringResource
/Users/gnzlbg/.atom/.node-gyp/.node-gyp/0.21.0/deps/v8/include/v8.h:1936:19: note: 'ExternalStringResource' declared here
  class V8_EXPORT ExternalStringResource
                  ^
In file included from ../src/main.cc:1:
../../nan/nan.h:622:36: error: redefinition of 'NanNew'
  NAN_INLINE v8::Local<v8::String> NanNew(
                                   ^
../../nan/nan.h:617:36: note: previous definition is here
  NAN_INLINE v8::Local<v8::String> NanNew(
                                   ^
../../nan/nan.h:1993:12: error: no member named 'IsExternalAscii' in 'v8::String'; did you mean 'IsExternal'?
  if (str->IsExternalAscii()) {
           ^~~~~~~~~~~~~~~
           IsExternal
/Users/gnzlbg/.atom/.node-gyp/.node-gyp/0.21.0/deps/v8/include/v8.h:1900:8: note: 'IsExternal' declared here
  bool IsExternal() const;
       ^
In file included from ../src/main.cc:1:
../../nan/nan.h:1994:23: error: no type named 'ExternalAsciiStringResource' in 'v8::String'; did you mean 'ExternalStringResource'?
    const v8::String::ExternalAsciiStringResource* ext;
          ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
                      ExternalStringResource
/Users/gnzlbg/.atom/.node-gyp/.node-gyp/0.21.0/deps/v8/include/v8.h:1936:19: note: 'ExternalStringResource' declared here
  class V8_EXPORT ExternalStringResource
                  ^
In file included from ../src/main.cc:1:
../../nan/nan.h:1995:16: error: no member named 'GetExternalAsciiStringResource' in 'v8::String'
    ext = str->GetExternalAsciiStringResource();
          ~~~  ^
../../nan/nan.h:1996:11: error: assigning to 'const char *' from incompatible type 'const uint16_t *' (aka 'const unsigned short *')
    *data = ext->data();
          ^ ~~~~~~~~~~~
6 errors generated.
make: *** [Release/obj.target/runas/src/main.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/gnzlbg/Downloads/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Darwin 14.1.0
gyp ERR! command "node" "/Users/gnzlbg/Downloads/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /private/var/folders/mm/y444qqwd0kn52fycyz6nsph40000gn/T/apm-install-dir-11519-62713-wqibdu/node_modules/autocomplete-clang/node_modules/clang-flags/node_modules/pathwatcher/node_modules/runas
gyp ERR! node -v v0.10.35
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Darwin 14.1.0
npm ERR! argv "/Users/gnzlbg/Downloads/Atom.app/Contents/Resources/app/apm/bin/node" "/Users/gnzlbg/Downloads/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/gnzlbg/Downloads/Atom.app/Contents/Resources/app/apm/.apmrc" "--userconfig" "/Users/gnzlbg/.atom/.apmrc" "install" "/private/var/folders/mm/y444qqwd0kn52fycyz6nsph40000gn/T/d-11519-62713-unkbjt/package.tgz" "--target=0.21.0" "--arch=x64"
npm ERR! node v0.10.35
npm ERR! npm  v2.3.0
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the runas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls runas
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /private/var/folders/mm/y444qqwd0kn52fycyz6nsph40000gn/T/apm-install-dir-11519-62713-wqibdu/npm-debug.log

I'm having the same issue :/

Also having this issue

I think the workaround for this is to merge Kev/clang-flags with wanderer2/clang-flags (which is specified in clang wait I complete)
The wanderer2 repo is a bit out of date wrt to the Kev repo.
I'm still new to apm and node.js,  but I believe this gets me past the build error. I still need to test the actual plugin to see if it works.

Well, I've confirmed that this fix works:
~/atom-test/autocomplete-clang$ git diff
diff --git a/package.json b/package.json
index 8c0ca5e..bfa5314 100644
--- a/package.json
+++ b/package.json
@@ -12,6 +12,6 @@
   "dependencies": {
     "atom-space-pen-views": "^0.20.0",
     "underscore-plus": "1.x",
-    "clang-flags": "git://github.com/wanderer2/clang-flags.git"
+    "clang-flags": "git://github.com/KarateSnowMachine/clang-flags.git"
   }
 }

After doing an apm link, I can see the package is installed and I see a menu item for it. However I'm still not getting any completions and I'm not sure how to debug that further. That's another topic though.

Installing works for me too.

Is there anything in the KarateSnowMachine repo that isn't in wanderer2 or my repos? Also, does it work if you directly reference my repo by git, instead of either of the forks or my old release?
I'm still trying to work out the optimal thing to do here (not helped by a lack of time, I admit) is.

@Kev: The only difference is the pathwatcher version dependency: https://github.com/KarateSnowMachine/clang-flags/compare/wanderer2:master...master

Thanks. And that patch is on my master already, I believe, so (other than compdb stuff probably not working properly), pointing the clang-flags dependency for autocomplete-clang directly at my repo instead of the fork should presumably allow it to install?  And I could merge the pending PR from wanderer2 to get compdb working (together with extending it slightly so it'll pull in defines too). I'll go ahead with this plan unless anyone shouts that it's a bad idea.

I just noticed the forks diverged slightly and tried to do a blind merge, so I'm not sure exactly what the implications of that merge were.
I didn't try to point it straight at your repo, but it seems like that might work too. What's also interesting is the developer of autocomplete-clang also has a fork of clang-flags but he doesn't point autocomplete-clang at it.

I deleted my fork as this problem appears to have been solved upstream in autocomplete-clang. I think it's likely safe to close this issue now.
Thanks for taking a look at this.

I think I've now merged in all the changes to my branch as well.
Thanks to everyone who's looked at this.


Does it support Dataframe as input?

The estimator I am trying to fit accepts a pandas data frame as input in the fit method, using the column labels, however when using the SuperLearner, the data is converted to a numpy.ndarray when passing to the estimator's fit method, is there a way to preserve the column label data?

Yes, if you set array_check=0 the ensemble will not perform any checks on the input so the DataFrame will be passed to the estimator. As long as the DataFrame supports array indexing (e.g. X[start:stop] it should work fine.
One caveat is that you can't use backend='multiprocessing', since this requires memmapping an nd.array.
In the next release array_checks will be removed so this issue will not arise.

Thanks for your help, but an error occurs even if array_check=0, it still uses ndarray
...........................................................................
/Users/anaconda3/lib/python3.6/site-packages/mlens/parallel/_base_functions.py in slice_array(x=      Age  Race  Rating    Publ...1667            8  37694
[3000 rows x 6 columns], y=      Res_Final_Position
0                      ...2999                   0
[3000 rows x 1 columns], idx=None, r=0)
170             x = x[slice(idx[0] - r, idx[1] - r)]
171             y = y[slice(idx[0] - r, idx[1] - r)] if y is not None else y
172
173     # Cast as ndarray to avoid passing memmaps to estimators
174     if y is not None:
--> 175         y = y.view(type=np.ndarray)
y =       Res_Final_Position
0                      ...2999                   0
[3000 rows x 1 columns]
y.view = undefined
176     if not issparse(x):
177         x = x.view(type=np.ndarray)
178
179     return x, y
...........................................................................
/Users/anaconda3/lib/python3.6/site-packages/pandas/core/generic.py in getattr(self=      Final
0                      ...2999                   0
[3000 rows x 1 columns], name='view')
4371                 name in self._accessors):
4372             return object.getattribute(self, name)
4373         else:
4374             if self._info_axis._can_hold_identifiers_and_holds_name(name):
4375                 return self[name]
-> 4376             return object.getattribute(self, name)
self =       Res_Final_Position
0                      ...2999                   0
[3000 rows x 1 columns]
name = 'view'
4377
4378     def setattr(self, name, value):
4379         """After regular attribute access, try setting the name
4380         This allows simpler access to columns for interactive use.
AttributeError: 'DataFrame' object has no attribute 'view'

Aha! The offending line is a legacy from v0.1 when we only did multiproc. I've pushed a mmap branch that solves this by only casting to ndarray if the data is a mmap. I ran a simple test and a DataFrame as input passes through the ensemble now.
This works as long as 'threading' is used as the backend. For multiprocessing, things are thornier since we use memmapping. Fixing that may be a while, if at all, but i'm guessing you're ok with 'threading'?
Btw, to install the necessary update, do
pip uninstall mlens;
git clone https://github.com/flennerhag/mlens; cd mlens;
git fetch; git checkout mmap;
pip install .

This will uninstall the version you currently have and install the mmap branch of the bleeding edge build (to be 0.2.4). Let me know if you run into any more problems!

btw in the bleeding edge version array_checks has been deprecated so you can ignore it.

Thanks for the help, when I tried passing in a DataFrame to it, it ran into a index error, I tried the simple example from the getting started page and simply use pd.DataFrame(X) and pd.DataFrame(y) to change the type and the [start:stop] format for indexing that DataFrame works
/Users/anaconda3/lib/python3.6/site-packages/mlens/parallel/_base_functions.py in slice_array(x=       0    1    2    3
0    6.8  3.2  5.9  2.3
...1
149  5.2  2.7  3.9  1.4
[150 rows x 4 columns], y=     0
0    2
1    2
2    2
3    1
4    1
5    2...6  0
147  2
148  0
149  1
[150 rows x 1 columns], idx=array([ 75,  76,  77,  78,  79,  80,  81,  82,  ...40, 141, 142, 143, 144, 145, 146, 147, 148, 149]), r=0)
151             if len(idx[0]) > 1:
152                 # Advanced indexing is required. This will trigger a copy
153                 # of the slice in question to be made
154                 simple_slice = False
155                 idx = np.hstack([np.arange(t0 - r, t1 - r) for t0, t1 in idx])
--> 156                 x = x[idx]

Sorry for the delay, the issue's been fixed. Turns out using simple slicing (X[:i]) on a dataframe slices the columns, as opposed to the rows.
You should be able to run with dataframes both as X and y now.

In master branch as of #101.

if y is a DataFrame then the input to the scorer should be a DataFrame since we do no data type conversion on the input. The prediction will be in whatever format the estimator produces, presumably a numpy array.

It seems that this still does not function. It looks like an index issue. There are some index calls not using [] instead of .loc[].


Bind compatibility GDExtension methods removed in #88418

Reproducible in 4.3dev6
System Information: Godot v4.3.dev (6118592c6) - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3090 (NVIDIA; <IP_ADDRESS>13) - Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz (16 Threads)

These functions were likely not used, but we must ensure they are still bound to ensure API stability.
Without this PR, rust addons give this error:
ERROR: Panic msg:
  Failed to load class method GDExtension::open_library (hash 852856452).
  Make sure gdext and Godot are compatible: https://godot-rust.github.io/book/gdext/advanced/compatibility.html

GDExtension::open_library() with hash 852856452 needs to be re-added as a bind_compatibility_method.

We removed these methods without providing compatibility in PR https://github.com/godotengine/godot/pull/88418, because there is no way to use them correctly.
If we do need to add them back for compatibility, then we should make them do nothing (and in the case of open_library() return an error). These methods never should have been bound, and using them will lead to problems.

In the godot-rust bindings, I explicitly removed these 3 functions. That way, even when using it with older API levels (4.1 or 4.2), it's not possible to accidentally use them.

Right, but I have gdextension dlls that are probably not using the latest version of the bindings and work fine on Godot 4.2. Even if we remove them from the latest rust bindings, this is still technically a compat break since dlls have to be rebuilt.

Right, but I have gdextension dlls that are probably not using the latest version of the bindings and work fine on Godot 4.2. Even if we remove them from the latest rust bindings, this is still technically a compat break since dlls have to be rebuilt.

As I wrote on RocketChat, I think there are some misunderstandings.
First, what we try to achieve with compatibility on godot-rust side is that you can develop against API level 4.1 and still use the extension in Godot 4.2 and 4.3. This is the case on latest master.
If we encounter bugs, it can unfortunately happen that binary compatibility is affected. Not just the example here with 3 GDExtension methods, but in some cases we fixed soundness issues regarding how data was passed over FFI. So there are benefits to remaining up-to-date either way. Especially since we spend a lot of effort in maintaining compatibility with older Godot versions -- you can even still use 4.0 if you like -- so you're not missing out on compatibility when updating.
The second and much more important point: godot-rust has supported lazy loading of function pointers for more than half a year. So it explicitly offers different trade-offs depending on the extension's needs. This is documented on the main API docs page.
TLDR: like all software, godot-rust is improved over time and it is advised to remain reasonably up-to-date. We can't be responsible for bugs fixed in the past because recompiling DLL is a problem. Furthermore, you can enable lazy loading if that fits your workflow better.

Note that my above comment merely clarifies the situation around godot-rust.
The core discussion here -- breaking API changes in the presence of severe bugs -- can be quite nuanced.
Some thoughts:

A "no breaking changes ever" policy would need alternative ways from discouraging the usage of certain functions -- documentation, error messages, etc.
Such a policy can actively hide incorrect usage of the GDExtension API. If the usage no longer compiles, it forces the user to correct things, instead of possibly worse alternatives (logic errors or even UB).
Obviously, removal should never be done lightly. Certainly not in "we now have a better API for this" cases. Imo only in "there's no way to use the previous correctly, at all".

Discussed at the GDExtension meeting, and even though we decided not add compatibility methods for these, this PR is good and there would be no harm in merging this. However, this isn't a policy change in favor of never breaking compatibility ever.

Thanks!


Pc Keeps Restarting

that render broke my Computer...  Someone ask the Creator Of the VHS to Fix This issue!!!!!!!! @JargeZ

i did use my feet to unplug my computer
oopse
Jenny Wakeman 2003
@JargeZ

what

yea i did

That giant character too big compared to actual comment text + issue is cringe itself.

issue is not cringe

if you said issue is cringe... than you are getting a ban form Github
stop saying issue is cringe...   ok?


Storage Sync Server Endpoint return type error

While I get a storage sync server endpoint, it returns "volumeFreeSpacePercent" in string, which is inconsistent with its swagger definition "Integer".

Error in GO SDK raised:
storagesync.ServerEndpointsClient#Get: Failure responding to request: StatusCode=200 -- Original Error: Error occurred unmarshalling JSON - Error = 'json: cannot unmarshal string into Go struct field ServerEndpointProperties.volumeFreeSpacePercent of type int32' JSON = '{"properties":{"serverLocalPath":"D:\data","cloudTiering":"Off","volumeFreeSpacePercent":"20","tierFilesOlderThanDays":null,"friendlyName":"winhost01","serverResourceId":"/subscriptions/{{subscriptionid}}/resourceGroups/acctestRG-200225191725704435/providers/microsoft.storagesync/storageSyncServices/acctest-storagesync-200225191725704435/registeredServers/132ba94d-3990-4f3e-aa99-944a6844f5be","provisioningState":"Succeeded","lastWorkflowId":"storageSyncServices/acctest-storagesync-200225191725704435/workflows/484879cd-e948-4d84-ad67-1983f3c906c2","lastOperationName":"ICreateServerEndpointWorkflow","syncStatus":{"downloadHealth":null,"uploadHealth":null,"combinedHealth":null,"syncActivity":null,"totalPersistentFilesNotSyncingCount":null,"lastUpdatedTimestamp":null,"uploadStatus":null,"downloadStatus":null,"uploadActivity":null,"downloadActivity":null,"offlineDataTransferStatus":null},"offlineDataTransfer":"Off","offlineDataTransferStorageAccountResourceId":null,"offlineDataTransferStorageAccountTenantId":null,"offlineDataTransferShareName":null,"cloudTieringStatus":null,"recallStatus":null},"id":"/subscriptions/85b3dbca-5974-4067-9669-67a141095a76/resourceGroups/acctestRG-200225191725704435/providers/microsoft.storagesync/storageSyncServices/acctest-storagesync-200225191725704435/syncGroups/acctest-StorageSyncGroup-200225191725704435/serverEndpoints/acctest-SEP-200225191725704435","name":"acctest-SEP-200225191725704435","type":"microsoft.storagesync/storageSyncServices/syncGroups/serverEndpoints"}'

I have used a later version '2020-03-01 ' which doesn't include this error.


mesa: default to 23.0.1

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

I'm not so sure about the libgbm output splitting actually, but I thought it better discuss here: https://github.com/NixOS/nixpkgs/pull/219534#issuecomment-1484087897

The automatic rm line would be easier to maintain than a patch, as we'll now need to support multiple versions simultaneously.  But not a big deal.

The patch applies to both and I'm hoping to get the Mesa people to backport it to oldstable as well.

The patch applies to both and I'm hoping to get the Mesa people to backport it to oldstable as well.

The patch applies to both and I'm hoping to get the Mesa people to backport it to oldstable as well.

(github was now slow etc. for me as well)
Them backporting it only makes it harder for us, because it seems unlikely that everything is released synchronously.

I see nothing preventing this:

Rebuilding the world with an overlay that sets mesa = final.mesa_23; does result in a working desktop

Until now we've missed that mesa 23 won't build on darwin:
https://hydra.nixos.org/job/nixpkgs/trunk/mesa_23_0_1.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/mesa_23_0_1.aarch64-darwin

Hold on why is it even building DRI

https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21859 ugh.

Uh, so I don't know... perhaps default darwin to mesa_22 for now as we keep it anyway?

I agree.


Make inference test for chlo.broadcast_select_reify less brittle

In llvm/llvm-project#74438, the folder for shape.shape_of is changed to a canonicalizer. This means that constant shapes no longer get folded automatically (--canonicalize must be used). This will cause a test failure when we do the next LLVM integrate, because the broadcast_select_reify test expects the shape.shape_of operation to be folded into shape.const_shape. The test also expects the constant shape value to be the rightmost arg of the shape.broadcast operation, which will not be the case if canonicalization is not applied.
Additional context:

The old folder for shape.shape_of returned its input shape as a tensor attribute, so it would automatically get materialized to a shape.const_shape op.
The new canonicalizer does the materialization explicitly.
BroadcastOp is Commutative and ConstShape is ConstantLike, so if shape.shape_of is folded to shape.const_shape, the resulting value becomes the rightmost argument to shape.broadcast. Indeed, according to the docs constant arguments of commutative ops are shifted to the right, and this is implemented here.

This was superseded by https://github.com/openxla/stablehlo/pull/1880.


Addition of billing state, cgst rate, sgst rate in the config file of invoice module

Describe the task
Required to update config file available in invoice module with following fields
billing-state - Haryana
cgst-rate - 9%
sgst-rate - 9%
Expected behavior
Config file should contain entry of  the fields as mentioned in task description
References
Specify any reference material / links

The rate for gst and billing state is available in the config file


how to use c++ interface to show the image in the monitor？

i have a coral dev board. i want to show the detected result in my monitor. How can i use c++ interface to show the image in the monitor？

@dinghuawen I recommend you look into external cpp libraries for showing images like gstreamer c++ with autovideo sink or xvimagesink or ximagesink. Otherwise, you should looks into general linux tools for displaying images on linux systems.

@dinghuawen , the answer strongly depends on what the rest of your app wants to do. Are you showing single images ? Are you streaming video with overlays ?
For video consider gstreamer with video/image sinks as Namburger suggested.
If you want to just have a graphical application, the devboard comes with Wayland (an X clone) which can support simple X windows or more sophisticated frameworks like Qt. Here's a minimal Qt app:
Simple hello world app:
#include <QApplication>
#include <QPushButton>
int main(int argc, char **argv) {
 QApplication app (argc, argv);
 QPushButton button ("Hello world !");
 button.show();
 return app.exec();
}

CMakeLists.txt for building:
cmake_minimum_required(VERSION 3.1.0)
project(helloworld)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
if(CMAKE_VERSION VERSION_LESS "3.7.0")
    set(CMAKE_INCLUDE_CURRENT_DIR ON)
endif()
find_package(Qt5 COMPONENTS Widgets REQUIRED)
add_executable(helloworld main.cc )
target_link_libraries(helloworld Qt5::Widgets)

To run do:
sudo apt install qtbase5-dev qtwayland5
cmake ./
make
./hello_world -platform wayland

Hi @mtyka, @Namburger
Thank you for the responses. I solved the problem according to your  suggestions


Use "merger" for fetch&sort tuples on router

Before this patch we used hand-crafted heap to sort tuples on
router. This patch removes it and changes to "merger" module
written in C.
"Merger" is available since Tarantool 2.2. Later "tuple-merger"
was introduced it's a version that is compatible with some
Tarantool 1.10 versions. In fact support several Tarantool
versions is quite complex task. Some msgpack helpers is not
avaliable in Tarantool 1.10 to solve this problem small
compatibility lawer is implemented.
Also "tuple-keydef" doesn't support collation_id options and it's
not so for built-in "key_def" module. We need to normalize index
parts and change "collation_id" to "collation" when create
"key_def" instance.
For versions where merger is not supported/available yet
(before 1.10.8 and before 2.3.3) we use previous approach with
lua-implemented heap.
Closes #33

https://github.com/tarantool/crud/tree/perf-test
Before patch:
SELECT
Fibers count - 200
Connection count - 10
Timeout  - 30.000000
Requests - 102824
Errors - 0
RPS - 3427.466667

After patch:
SELECT
Fibers count - 200
Connection count - 10
Timeout  - 30.000000
Requests - 168745
Errors - 0
RPS - 5624.833333
Ok

Hi! Thanks for your patch. Could you please rebase on master branch and fix conflicts?


Not including all referenced assemblies

This issue might actually not be a vim-fsharp problem, but be better addressed to the FSAutocomplete project (I'm not sure if I am refering to the project correctly).
Anyways, here is what I am experiencing.
I have a *.fsproj file generated by Xamarin Studio. When I open one of the files in my project (a Xamarin Android project) it doesn't have references to the Mono.Android assemblies and thus marks all of the lines referencing classes from these assemblies as errors. When I turn on debugging, and look at the logs, the Mono.Android assemblies are not included in the references section although they are in the *.fsproj file. I will include the contents of my *.fsproj and the log2.txt debugging output.
Is there something else that I need to do in order for the Mono.Android assembly to correctly be referenced or is this a bug when parsing the *.fsproj file?
Thanks for a great plugin! The intergration with fsi and everything else has been fantastic besides this little hiccup.
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{F2A71F9B-5D33-465A-A702-920D77279786}</ProjectTypeGuids>
    <ProjectGuid>{65105FBD-4138-4E51-B579-7E7327F1E80B}</ProjectGuid>
    <OutputType>Library</OutputType>
    <RootNamespace>Gravity</RootNamespace>
    <MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
    <MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
    <AndroidResgenClass>Resource</AndroidResgenClass>
    <AndroidResgenFile>Resources\Resource.designer.fs</AndroidResgenFile>
    <AndroidApplication>True</AndroidApplication>
    <AndroidUseLatestPlatformSdk>False</AndroidUseLatestPlatformSdk>
    <AssemblyName>Gravity</AssemblyName>
    <AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
    <TargetFrameworkVersion>v4.4</TargetFrameworkVersion>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug</OutputPath>
    <DefineConstants>DEBUG</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <AndroidLinkMode>None</AndroidLinkMode>
    <ConsolePause>false</ConsolePause>
    <PlatformTarget>
    </PlatformTarget>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugSymbols>false</DebugSymbols>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release</OutputPath>
    <ErrorReport>prompt</ErrorReport>
    <GenerateTailCalls>true</GenerateTailCalls>
    <AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
    <ConsolePause>false</ConsolePause>
    <PlatformTarget>
    </PlatformTarget>
    <DefineConstants>
    </DefineConstants>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Xml" />
    <Reference Include="System.Core" />
    <Reference Include="mscorlib" />
    <Reference Include="FSharp.Core" />
    <Reference Include="Mono.Android" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Resources\Resource.designer.fs" />
    <Compile Include="Properties\AssemblyInfo.fs" />
    <Compile Include="SensorRecorderService.fs" />
    <Compile Include="AutoStart.fs" />
    <Compile Include="MainActivity.fs" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Resources\AboutResources.txt" />
    <None Include="Properties\AndroidManifest.xml" />
  </ItemGroup>
  <ItemGroup>
    <AndroidResource Include="Resources\layout\Main.axml" />
    <AndroidResource Include="Resources\values\Strings.xml" />
    <AndroidResource Include="Resources\drawable\Icon.png" />
  </ItemGroup>
  <ItemGroup>
    <AndroidAsset Include="Assets\AboutAssets.txt" />
  </ItemGroup>
  <Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.FSharp.targets" />
</Project>

::work read: {"Kind":"error","Data":"Unknown command or wrong arguments"}
::work read: {"Kind":"project","Data":{"Project":"/Users/scott/rbl/Gravity/Gravity.fsproj","Files":["/Users/scott/rbl/Gravity/Resources/Resource.designer.fs","/Users/scott/rbl/Gravity/Properties/AssemblyInfo.fs","/Users/scott/rbl/Gravity/SensorRecorderService.fs","/Users/scott/rbl/Gravity/AutoStart.fs","/Users/scott/rbl/Gravity/MainActivity.fs"],"Output":"/Users/scott/rbl/Gravity/bin/Debug/Gravity.dll","References":["/Library/Frameworks/Mono.framework/Versions/4.0.4/lib/mono/4.5/FSharp.Core.dll"],"Framework":"v4.4"}}
::work read: {"Kind":"info","Data":"Background parsing started"}
::work read: {"Kind":"info","Data":"Background parsing started"}
::work read: {"Kind":"info","Data":"Background parsing started"}
::work read: {"Kind":"errors","Data":[{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":5,"EndLine":5,"StartColumn":6,"EndColumn":13,"Severity":"Error","Message":"The namespace or module 'Android' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":6,"EndLine":6,"StartColumn":6,"EndColumn":13,"Severity":"Error","Message":"The namespace or module 'Android' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":7,"EndLine":7,"StartColumn":6,"EndColumn":13,"Severity":"Error","Message":"The namespace or module 'Android' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":8,"EndLine":8,"StartColumn":6,"EndColumn":13,"Severity":"Error","Message":"The namespace or module 'Android' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":18,"EndLine":18,"StartColumn":15,"EndColumn":33,"Severity":"Error","Message":"The type 'IServiceConnection' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":17,"EndLine":17,"StartColumn":13,"EndColumn":17,"Severity":"Error","Message":"The namespace or module 'Java' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":18,"EndLine":18,"StartColumn":15,"EndColumn":33,"Severity":"Error","Message":"The type 'obj' is not an interface type","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":18,"EndLine":18,"StartColumn":15,"EndColumn":33,"Severity":"Error","Message":"The type 'IServiceConnection' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":17,"EndLine":17,"StartColumn":13,"EndColumn":17,"Severity":"Error","Message":"The namespace or module 'Java' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":18,"EndLine":18,"StartColumn":15,"EndColumn":33,"Severity":"Error","Message":"The type 'IServiceConnection' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":18,"EndLine":18,"StartColumn":15,"EndColumn":33,"Severity":"Error","Message":"This type is not an interface type","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":19,"EndLine":19,"StartColumn":21,"EndColumn":39,"Severity":"Error","Message":"No abstract or interface member was found that corresponds to this override","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":19,"EndLine":19,"StartColumn":46,"EndColumn":59,"Severity":"Error","Message":"The type 'ComponentName' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":19,"EndLine":19,"StartColumn":69,"EndColumn":76,"Severity":"Error","Message":"The type 'IBinder' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":23,"EndLine":23,"StartColumn":21,"EndColumn":42,"Severity":"Error","Message":"No abstract or interface member was found that corresponds to this override","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":23,"EndLine":23,"StartColumn":49,"EndColumn":62,"Severity":"Error","Message":"The type 'ComponentName' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":17,"EndLine":17,"StartColumn":13,"EndColumn":17,"Severity":"Error","Message":"The namespace or module 'Java' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":27,"EndLine":27,"StartColumn":3,"EndColumn":11,"Severity":"Error","Message":"The type 'Activity' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":29,"EndLine":29,"StartColumn":13,"EndColumn":21,"Severity":"Error","Message":"The type 'Activity' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":29,"EndLine":29,"StartColumn":13,"EndColumn":21,"Severity":"Error","Message":"The type 'Activity' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":37,"EndLine":37,"StartColumn":19,"EndColumn":27,"Severity":"Error","Message":"No abstract or interface member was found that corresponds to this override","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":29,"EndLine":29,"StartColumn":13,"EndColumn":21,"Severity":"Error","Message":"The type 'Activity' is not defined","Subcategory":"typecheck"}]}
::work read: {"Kind":"errors","Data":[{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":5,"EndLine":5,"StartColumn":6,"EndColumn":13,"Severity":"Error","Message":"The namespace or module 'Android' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":6,"EndLine":6,"StartColumn":6,"EndColumn":13,"Severity":"Error","Message":"The namespace or module 'Android' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":7,"EndLine":7,"StartColumn":6,"EndColumn":13,"Severity":"Error","Message":"The namespace or module 'Android' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":8,"EndLine":8,"StartColumn":6,"EndColumn":13,"Severity":"Error","Message":"The namespace or module 'Android' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":18,"EndLine":18,"StartColumn":15,"EndColumn":33,"Severity":"Error","Message":"The type 'IServiceConnection' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":17,"EndLine":17,"StartColumn":13,"EndColumn":17,"Severity":"Error","Message":"The namespace or module 'Java' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":18,"EndLine":18,"StartColumn":15,"EndColumn":33,"Severity":"Error","Message":"The type 'obj' is not an interface type","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":18,"EndLine":18,"StartColumn":15,"EndColumn":33,"Severity":"Error","Message":"The type 'IServiceConnection' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":17,"EndLine":17,"StartColumn":13,"EndColumn":17,"Severity":"Error","Message":"The namespace or module 'Java' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":18,"EndLine":18,"StartColumn":15,"EndColumn":33,"Severity":"Error","Message":"The type 'IServiceConnection' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":18,"EndLine":18,"StartColumn":15,"EndColumn":33,"Severity":"Error","Message":"This type is not an interface type","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":19,"EndLine":19,"StartColumn":21,"EndColumn":39,"Severity":"Error","Message":"No abstract or interface member was found that corresponds to this override","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":19,"EndLine":19,"StartColumn":46,"EndColumn":59,"Severity":"Error","Message":"The type 'ComponentName' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":19,"EndLine":19,"StartColumn":69,"EndColumn":76,"Severity":"Error","Message":"The type 'IBinder' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":23,"EndLine":23,"StartColumn":21,"EndColumn":42,"Severity":"Error","Message":"No abstract or interface member was found that corresponds to this override","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":23,"EndLine":23,"StartColumn":49,"EndColumn":62,"Severity":"Error","Message":"The type 'ComponentName' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":17,"EndLine":17,"StartColumn":13,"EndColumn":17,"Severity":"Error","Message":"The namespace or module 'Java' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":27,"EndLine":27,"StartColumn":3,"EndColumn":11,"Severity":"Error","Message":"The type 'Activity' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":29,"EndLine":29,"StartColumn":13,"EndColumn":21,"Severity":"Error","Message":"The type 'Activity' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":29,"EndLine":29,"StartColumn":13,"EndColumn":21,"Severity":"Error","Message":"The type 'Activity' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":37,"EndLine":37,"StartColumn":19,"EndColumn":27,"Severity":"Error","Message":"No abstract or interface member was found that corresponds to this override","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":29,"EndLine":29,"StartColumn":13,"EndColumn":21,"Severity":"Error","Message":"The type 'Activity' is not defined","Subcategory":"typecheck"}]}
::work read: {"Kind":"errors","Data":[{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":5,"EndLine":5,"StartColumn":6,"EndColumn":13,"Severity":"Error","Message":"The namespace or module 'Android' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":6,"EndLine":6,"StartColumn":6,"EndColumn":13,"Severity":"Error","Message":"The namespace or module 'Android' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":7,"EndLine":7,"StartColumn":6,"EndColumn":13,"Severity":"Error","Message":"The namespace or module 'Android' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":8,"EndLine":8,"StartColumn":6,"EndColumn":13,"Severity":"Error","Message":"The namespace or module 'Android' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":18,"EndLine":18,"StartColumn":15,"EndColumn":33,"Severity":"Error","Message":"The type 'IServiceConnection' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":17,"EndLine":17,"StartColumn":13,"EndColumn":17,"Severity":"Error","Message":"The namespace or module 'Java' is not defined","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":18,"EndLine":18,"StartColumn":15,"EndColumn":33,"Severity":"Error","Message":"The type 'obj' is not an interface type","Subcategory":"typecheck"},{"FileName":"/Users/scott/rbl/Gravity/MainActivity.fs","StartLine":18,"EndLine":18,"StartColumn":15,"EndColumn":33,"Severity":"Error","Message":"The type 'IServiceConnection' is not defined","Subcategory":"typechec

Hi @scizo! Which version of fsautocomplete is bundled with vim-fsharp these days? fsautocomplete --version should tell you.

Hi @rneatherway,
Currently we bundle version 0.23.0
https://github.com/fsharp/vim-fsharp/blob/master/Makefile#L11

Thanks, so Android should be supported, although I haven't tested it myself. @scizo, bearing in mind that I haven't used Mono.Android myself, what is the easiest way to reproduce? Do I need to install anything other than the standard Xamarin Mono installation, perhaps plus Xamarin Studio?

@rneatherway I am not sure if there is a more minimal way to reproduce it, but I installed all of the mono components through the Xamarin Studio installer (https://xamarin.com/download). Although I did avoid the registration by using homebrew on mac. After it was downloaded I used Xamarin Studio to generate the standard Android application as follows. File > New > Solution. I then selected the Android App option with the language set to F#.

The next screen had three optional target platforms. I selected the top one, Modern Development, but I don't believe that would make a difference, but just in case.
After the project was created, open the MainActivity.fs file in vim should demonstrate the problem.
If that is too much, I can try and generate a standalone reproduction of the problem, but I hope that makes it possible for you to reproduce.
Thanks!

Can you explain a bit about what you mean when you say you skipped registration using Homebrew? Also, just to check, does autocomplete work in Xamarin Studio for this project?

When I say that I skipped registration using Homebrew I mean I was able to download the installer with out filling in the registration form on the download page by running brew cask install xamarin-studio from the command line. Once Xamarin Studio was installed though, I did register for an account so that I was able to browse the Xamarin Component Store though.
Autocomplete does work from Xamarin Studio for the project.

I don't know if I should mention my problem here or open a new issue. It seems that in a minimal project (created either in Visual Studio or in Projekt) some of the modules in System are not found by fsautocomplete (I tried System.Diagnostics.Process), and error messages are emitted in Vim with vim-fsharp. MSBuild and fsc, on the other hand, compile it just fine. I have reported this issue in fsautocomplete: https://github.com/fsharp/FsAutoComplete/issues/72.

@scizo: I'm sorry, I haven't had time to test this. If you have time, the easiest way to find out what the problem is as follows:

Clone https://github.com/fsharp/FsAutoComplete/
Change https://github.com/fsharp/FsAutoComplete/blob/master/FsAutoComplete/CompilerServiceInterface.fs#L141 to let p = FSharpProjectFileInfo.Parse(file, enableLogging=true) and add printfn "%s" p.LogOutput on the next line.
Compile and run fsautocomplete.exe from the project directory, and then type `project ".fsproj"

Let me know what the output is.

fsac issue 72 referenced above has been closed. @yever do you need me to keep this issue open?

@kjnilsson, sorry for my disappearance.
This issue can be closed, as far as I'm concerned. I've just tested a project created in monodevelop and finally got autocompletion for System.Diagnostics.Process. If there still is a problem with project files created by Visual Studio, it should be treated in a separate issue.

ok thanks - no worries. :)


[Improvement][Common] Read file with UTF-8

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
You can find the code in org.apache.dolphinscheduler.common.utils.FileUtils
https://github.com/apache/dolphinscheduler/blob/69a153c5f5c9d91b4eececbcfbf9e2fb407f89c4/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/FileUtils.java#L234-L254
The output.toString() method will use the system' default charset to deserialize the byte to string.
This may cause a problem if we use UTF-8 to write a string to a file and use this method to read the file in some environments.
related issue #6273, fix FileUtilsTest#testWriteContent2File
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi, you can assign this issue to me and I will fix it. @dailidong


SceneForm's ShapeFactory methods are missing

The ShapeFactory class is there, but the 3 important static methods are not on it.
Here's all I see in Visual Studio:

However the doc shows 3 static methods:
https://developers.google.com/ar/reference/java/sceneform/reference/com/google/ar/sceneform/rendering/ShapeFactory

I think the bindings for the 3 Make methods are failing because they need a reference to Vector3 that is part of the Sceneform.Base library.  The Rendering library does not currently contain a reference to Base.
I managed to fix this by copying over just the rendering project and adding the reference via nuget pacakge.
Also need to add
<remove-node path="/api/package[@name='com.google.ar.sceneform.rendering']/class[@name='Renderable.Builder']/method[@name='getRenderableRegistry' and count(parameter)=0]" />
to the end of the Transforms\Metadata.xml  file in Rendering library project to strip out the abstract class definition.

Would love some community help here if anyone's interested in a PR :)

@CodeGenie1  I have added these changes as part of the 1.9.0 update


Unchecked runtime.lasterror: Could not establish connection. Receiving end does not exist

Please advise on how-to fix this issue. Thank you.
The issue occurs in code provided by:
Microsoft Edge Documentation - Extensions (Chromium) - Doc Date: 05/08/2020.
Getting Started Tutorial: "Dynamically Insert NASA Picture Below The Page Body Tag Using Content Scripts". - "NASA Picture of the day viewer - Part 2".
*** BEGIN ERROR ***
Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
Context
extension://aaliggndnkipnpgpnglkgaejjjmngheo/popup/popup.html
Stack Trace
popup/popup.html:0 (anonymous function)
*** END ERROR ***
Steps to Duplicate Error:

Download extension code included in tutorial.
Load extension into Edge Chromium Browser: "Version 83.0.478.56 (Official build) (64-bit)".
Click extension icon to display popup dialog.
Click "Display" button on the popup dialog to send message to Edge tab. ERROR OCCURS HERE IN STEP 4
Review error details by viewing Edge extensions page and clicking the "Errors" link on "NASA Picture of the day viewer <IP_ADDRESS>".

Okay, so now the issue no longer appears to be a problem. Not exactly sure why. I did notice that Edge Chromium Browser updated to: Version 83.0.478.58 (Official build) (64-bit). After that I removed this extension and rebooted my PC. After that, the extension appears to be working. In any case, I'm closing the issue. Thank you.


Prerequisites for AKS Node Version Upgrade activity

AKS node version upgrade activity...want to know what is the prerequisite need to follow?

Hi ,
please follow the link it may help you
https://docs.microsoft.com/bs-latn-ba/azure/aks/node-updates-kured?view=azure-java-stable


🍒[5.7][Distributed] Guard ID synthesis from happening multiple times

Description: Avoid synthesising the ID property many times in case of multi module builds.
Risk: Low
Review by: @DougGregor @kavon
Testing: Verified using sample app; unit tests
Original PR: https://github.com/apple/swift/pull/42577
Radar: rdar://92162535

@swift-ci please test

32bit watch issue;
this did pass full tests on https://github.com/apple/swift/pull/42579 which is weird since also tests the 32bit watch

Not everything included in main has been cherry-picked to 5.7 so it might be something missing.

Yeah there's quite a few ~5 PRs waiting on 5.7, main and the other 5.7 branch have way more.
So I'm thinking this is likely fixed since on 5.7-04182022 things seem good.
I'll re-run this once more stuff has landed.

@swift-ci please test

nice catch!


typings: Add the release.raw_version property

Change-type: minor
Depends-on: https://github.com/balena-io/open-balena-api/pull/815
Depends-on: https://github.com/balena-io/balena-api/pull/3398
Signed-off-by: Thodoris Greasidis<EMAIL_ADDRESS>
Resolves: #
HQ:
See:
Depends-on:
Change-type: major|minor|patch

Contributor checklist

[ ] Includes tests
[ ] Includes typings
[ ] Includes updated documentation
[ ] Includes updated build output

@balena-ci I self-certify!


Added method to get related to model tags as array.

This is pretty same method as getTagNames(). The only difference - array will be returned.
Usage example:
<?php foreach ($model->tagNamesArray as $tag) : ?>
    <?= Html::a($tag, ['/tag/' . $tag]) ?>
<?php endforeach ?>

@a-komarev Hi, this is planned, but with different implementation.

@a-komarev TaggableBehavior::tagNamesAsArray (still think around name) boolean flag.

I thought about this name too :} This name is better for real. Renamed it in PR.

@a-komarev I mean other things. Fixed this differently. Look at https://github.com/creocoder/yii2-taggable/commit/3cf6a69e527f2c4444afa4e105bb626169ee5181 and new README.md

@creocoder code is much cleaner and unified now. Thanks a lot!

@a-komarev Now you can global and local control of TaggableBehavior::getTagNames() returning value. Which can be interested in scenarios when tagNames property should be always array.

Yes and if you need to have string value you can always call:
$model->getTagNames(false)
Great solution.


Not seeing Subscriber received logs when following Quickstart: Publish and Subscribe (.net) guid

Ask your question here
I just finished following the guide for Quickstart Pub/Sub(.net) and everything appears to be working fine but I don't see logs for the order-processor.
When I run dapr run --app-id order-processor --resources-path ../../../components --app-port 7005 -- dotnet run from pub_sub/csharp/sdk/order-processor I see the following

== APP == info: Microsoft.Hosting.Lifetime[14]
== APP ==       Now listening on: http://localhost:7002
== APP == info: Microsoft.Hosting.Lifetime[0]
== APP ==       Application started. Press Ctrl+C to shut down.
== APP == info: Microsoft.Hosting.Lifetime[0]
== APP ==       Hosting environment: Development
== APP == info: Microsoft.Hosting.Lifetime[0]
== APP ==       Content root path: C:\Users\IzakS\source\repos\dapr\quickstarts\pub_sub\csharp\sdk\order-processor\

And when I run dapr run --app-id checkout --resources-path ../../../components -- dotnet run from pub_sub/csharp/sdk/checkout I see

== APP == Published data: Order { OrderId = 1 }
== APP == Published data: Order { OrderId = 2 }
== APP == Published data: Order { OrderId = 3 }
== APP == Published data: Order { OrderId = 4 }
== APP == Published data: Order { OrderId = 5 }
== APP == Published data: Order { OrderId = 6 }
== APP == Published data: Order { OrderId = 7 }
== APP == Published data: Order { OrderId = 8 }
== APP == Published data: Order { OrderId = 9 }
== APP == Published data: Order { OrderId = 10 }

But I don't see any of the == APP == Subscriber received: Order { OrderId = x } logs.
Though if make a HTTP request via Invoke-WebReques like so
Invoke-WebRequest -URI http://localhost:7002/orders -Method POST -Headers @{'Content-Type' = 'application/json'} -Body '{"orderid": "1"}'

I do see the == APP == Subscriber received : Order { OrderId = 1 } log
Does anyone know what could be causing this behavior? Not sure what I am doing wrong
I running Windows 11

CLI version: 1.10.0
Runtime version: 1.10.7

Not sure why but running dapr run --app-id order-processor --resources-path ../../../components --app-port 7002 -- dotnet run
with app-port = 7002, not 7005 fixes the issue. I don't have the knowledge to explain why


The app crashes when i start sending message to zoho.

the error comes from salesIq_mobilisten_sdk
E/AndroidRuntime( 7322): java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.zoho.livechat.android.models.SalesIQChat.getVisitid()' on a null object reference
E/AndroidRuntime( 7322): 	at com.zoho.livechat.android.utils.LiveChatUtil.getVisitorChatObject(LiveChatUtil.java:2511)
E/AndroidRuntime( 7322): 	at com.zoho.livechat.android.utils.LiveChatUtil$2.run(LiveChatUtil.java:2696)
E/AndroidRuntime( 7322): 	at android.os.Handler.handleCallback(Handler.java:942)
E/AndroidRuntime( 7322): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 7322): 	at android.os.Looper.loopOnce(Looper.java:201)
E/AndroidRuntime( 7322): 	at android.os.Looper.loop(Looper.java:288)
E/AndroidRuntime( 7322): 	at android.app.ActivityThread.main(ActivityThread.java:7872)
E/AndroidRuntime( 7322): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 7322): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
E/AndroidRuntime( 7322): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
I/Process ( 7322): Sending signal. PID: 7322 SIG: 9
Lost connection to device.
Exited (sigterm)

Hi @abdelrahmanhegazy1 ,
We apologize for the inconvenience caused. We'll look into this crash and update you. Meanwhile, please confirm that this crash is happening in the latest version of the SDK.
Please write to us at<EMAIL_ADDRESS>along with your portal details and chat ID so we can investigate this crash further.
Regards,
Bhahirathan M,
Zoho SalesIQ.

Hi @abdelrahmanhegazy1 ,
We apologize for the inconvenience caused. We'll look into this crash and update you. Meanwhile, please confirm that this crash is happening in the latest version of the SDK.
Please write to us at<EMAIL_ADDRESS>along with your portal details and chat ID so we can investigate this crash further.
Regards, Bhahirathan M, Zoho SalesIQ.

yes the crash happened in the latest version of the SDK. specifically in Android Platform. i didn't get the chat id because it crash when the message sent to zoho.

is there any update?

hi @bhahirathan-mb-11956 is there any update
my app crash when i start send message in zoho
E/AndroidRuntime(13096): 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
E/AndroidRuntime(13096): 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
E/AndroidRuntime(13096): 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
E/AndroidRuntime(13096): 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
E/AndroidRuntime(13096): 	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@927fc5d, Dispatchers.IO]
I/Process (13096): Sending signal. PID: 13096 SIG: 9
Lost connection to device.

Hi @Zubairpv
We apologize for the inconvenience. As mentioned before, we are actively working to fix the app crash issue. As an update, it is currently in the testing phase and will be available soon. I'll keep you posted on the same regarding the updates.

Hi @abdelrahmanhegazy1 and @Zubairpv ,
Thank you for your patience. We have fixed this issue.
We recommend you update to the latest version 6.1.0, and verify. Please feel free to write back to us at<EMAIL_ADDRESS>in case of any issues.
Regards,
Bhahirathan M,
Zoho SalesIQ.


 Either using the HTML5 Notifications API or like StackOverflow/Github does with an alert containing the number of unread notifications and direct links to where they appear.

Done


Using CodeBERT for code based semantic search / clustering

Hi,
I am interested in using CodeBERT for semantic text similarity / clustering on code but my results are rather poor. Here is my process:
Download the data:
mkdir data data/codesearch
cd data/codesearch
gdown https://drive.google.com/uc?id=1xgSR34XO8xXZg4cZScDYj2eGerBE9iGo
unzip codesearch_data.zip
rm codesearch_data.zip

Grab some examples to embed:
from pathlib import Path

max_instances = 8

valid = Path("data/codesearch/train_valid/python/valid.txt").read_text().split("\n")
code = [ex.split("<CODESPLIT>")[-1] for ex in valid][:max_instances]

Embed the examples
import torch
from transformers import RobertaTokenizer, RobertaConfig, RobertaModel

# Load the model
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
tokenizer = RobertaTokenizer.from_pretrained("microsoft/codebert-base")
model = RobertaModel.from_pretrained("microsoft/codebert-base")
model = model.to(device)

# Prepare the inputs
inputs = tokenizer(
    code, padding=True, truncation=True, return_tensors="pt"
)

# Embed the inputs
for name, tensor in inputs.items():
    inputs[name] = tensor.to(model.device)
sequence_output, _ = model(**inputs, output_hidden_states=False)
embeddings = sequence_output[:, 0, :]

Then I arbitrarily cosine the first inputs embedding with the rest of the inputs embeddings:
from torch.nn import CosineSimilarity

# Perform a cosine based semantic similarity search, using the first function as query
sim = CosineSimilarity(dim=-1)
cosine = sim(embeddings[0], embeddings[1:])
scores, indices = cosine.topk(5)

print(f"Scores: {scores.tolist()}")
print()
print(f"Query:\n---\n{code[0]}")
print()
topk = '\n'.join([code[i] for i in indices])
print(f"Top K:\n---\n{topk}")

The output:
Scores: [0.9909096360206604, 0.9864522218704224, 0.9837372899055481, 0.9776582717895508, 0.9704807996749878]

Query:
---
def start_transaction ( self , sort , address , price = None , data = None , caller = None , value = 0 , gas = 2300 ) : assert self . _pending_transaction is None , "Already started tx" self . _pending_transaction = PendingTransaction ( sort , address , price , data , caller , value , gas )

Top K:
---
def remove_node ( self , id ) : if self . has_key ( id ) : n = self [ id ] self . nodes . remove ( n ) del self [ id ] # Remove all edges involving id and all links to it. for e in list ( self . edges ) : if n in ( e . node1 , e . node2 ) : if n in e . node1 . links : e . node1 . links . remove ( n ) if n in e . node2 . links : e . node2 . links . remove ( n ) self . edges . remove ( e )
def find_essential_genes ( model , threshold = None , processes = None ) : if threshold is None : threshold = model . slim_optimize ( error_value = None ) * 1E-02 deletions = single_gene_deletion ( model , method = 'fba' , processes = processes ) essential = deletions . loc [ deletions [ 'growth' ] . isna ( ) | ( deletions [ 'growth' ] < threshold ) , : ] . index return { model . genes . get_by_id ( g ) for ids in essential for g in ids }
async def play_now ( self , requester : int , track : dict ) : self . add_next ( requester , track ) await self . play ( ignore_shuffle = True )
def _handleAuth ( fn ) : @ functools . wraps ( fn ) def wrapped ( * args , * * kwargs ) : # auth, , authenticate users, internal from yotta . lib import auth # if yotta is being run noninteractively, then we never retry, but we # do call auth.authorizeUser, so that a login URL can be displayed: interactive = globalconf . get ( 'interactive' ) try : return fn ( * args , * * kwargs ) except requests . exceptions . HTTPError as e : if e . response . status_code == requests . codes . unauthorized : #pylint: disable=no-member logger . debug ( '%s unauthorised' , fn ) # any provider is sufficient for registry auth auth . authorizeUser ( provider = None , interactive = interactive ) if interactive : logger . debug ( 'retrying after authentication...' ) return fn ( * args , * * kwargs ) raise return wrapped
def write_log ( log_path , data , allow_append = True ) : append = os . path . isfile ( log_path ) islist = isinstance ( data , list ) if append and not allow_append : raise Exception ( 'Appending has been disabled' ' and file %s exists' % log_path ) if not ( islist or isinstance ( data , Args ) ) : raise Exception ( 'Can only write Args objects or dictionary' ' lists to log file.' ) specs = data if islist else data . specs if not all ( isinstance ( el , dict ) for el in specs ) : raise Exception ( 'List elements must be dictionaries.' ) log_file = open ( log_path , 'r+' ) if append else open ( log_path , 'w' ) start = int ( log_file . readlines ( ) [ - 1 ] . split ( ) [ 0 ] ) + 1 if append else 0 ascending_indices = range ( start , start + len ( data ) ) log_str = '\n' . join ( [ '%d %s' % ( tid , json . dumps ( el ) ) for ( tid , el ) in zip ( ascending_indices , specs ) ] ) log_file . write ( "\n" + log_str if append else log_str ) log_file . close ( )

Notice that the cosine is very high for the top-5 examples, which is unexpected as these examples are chosen randomly. Manually inspecting them, they don't appear to be very relevant to the query.
My questions:

Am I doing something wrong?
Is there a better way to do semantic similarity searching/clustering with CodeBERT? Here I am following the canonical pipeline for sentence embeddings.
One possible source of error is the tokenization. Am I supposed to use the CodeBERT tokenizer on code, or just text?

Hi @JohnGiorgi ,
CodeBERT is pretrained with masked language model objective and replaced token detection objective. We should finetune CodeBERT to support downstream tasks, while you directly use CodeBERT for semantic text similarity / clustering  without finetuning.
We release a new pipeline for Clone Detection task, which is similar to your task. Please refer to the website.

I see. So https://huggingface.co/microsoft/codebert-base has not been fine-tuned on code search or a related task.
I followed the link but I don't see a pretrained model. Is there a pretrained model available for this pipeline so I do not have to fine-tune it myself? If not, are there plans to release it? It would be great to have a CodeBERT fine-tuned for search on https://huggingface.co/models!

Sorry, we don't have this plan at the moment. You can use the released pipeline  to finetune CodeBERT yourself. It won't take you too much time.

Thanks a lot. Did you fine-tune the model on 2 GPUs in the documentation here? I just want to make sure we are using the same effective batch size.

Sorry, I can not answer your questions because I am not very clear about the details.
You can submit an issue to this repository.

Thanks a lot.
I just have two more questions:

Did you fine-tune the model on 2 GPUs in the documentation here? I just want to make sure we are using the same effective batch size.
Is there a list of programming languages that are in the POJ-104 dataset? I looked at the paper but I can't find it mentioned.

Yes, we fine-tune model on 2 GPU2
POJ-104 dataset contain C++/C programming language

Hi @JohnGiorgi  I am trying to detect if two codes are similar by using the cosine similarity very much similar to what you mentioned earlier. Would like to know if you were able to fine-tine the model and could you share the approach you took.
Thanks a lot

Hi @shaileshj2803, I didn't end up pursuing this, so I don't have any advice beyond what is in this thread!

@shaileshj2803 and @JohnGiorgi I am trying to do semantic code search based on cosine similarity. Curious to know what you ended up with doing? Have you used CodeBERT at all for this purpose or have taken an alternative approach?

@shaileshj2803 and @JohnGiorgi I am trying to do semantic code search based on cosine similarity. Curious to know what you ended up with doing? Have you used CodeBERT at all for this purpose or have taken an alternative approach?

Hi, nashid. I suggest that you can follow this readme https://github.com/microsoft/CodeBERT/tree/master/UniXcoder#2-similarity-between-code-and-nl.

@guoday thanks for suggesting the link. However, please note for my case I only have two code snippet without natural language.
So natural language like docstring is not present in my case.
Will UniXcoder would still be effective in my case?

If you carefully readme the readme, you will know UniXcoder don't need natural language.


Project stuck in Archiving mode

Steps

Go to a project you have admin access to on production
Go to the settings tab for the project
Enable/Configure the all external add-ons: S3, Box, Dataverse, Dropbox, Github, Google Drive, figshare, Mendeley, and Zotero.
Also, enable the external link and enter a forwarding url
Go to the registrations tab
Go through the steps to make an embargoed registration using the "Replication Recipe (Brand et al, 2013): Pre-registration" template

Expected
I would expect the registration to be successful.  Or if not, send the user an email informing of the problem
Actual
The registration gets stuck in the archiving state and the user does not receive any emails. I registered one other project that had almost exactly all the same add-ons with the exception of Zotero and an external link and that registration went through in only a couple of minutes. For some reason, this registration got stuck:

Additionally, this project does not even appear in my project organizer as a registration that is currently being Archived. To my knowledge, there is usually an [Archiving] tag in the project organizer for registrations for which archiving is not complete:

BUT it does show up as a template option in the Create a Project widget:

So maybe the project organizer is pulling from the wrong place? That, or the Create a Project widget is prematurely pulling from the registration list?

Tagging @sloria. Maybe we should run the script? @samchrisinger as well

Have we had other successful Registrations on Production @caileyfitz ?

@lbanner Yes, I registered one other project that had almost exactly all the same add-ons with the exception of Zotero and an external link and that registration went through in only a couple of minutes. For some reason, only this registration got stuck.

Two other projects with a combination of these add-ons also registered successfully.

@GaryKriebel @lbanner I think this was resolved in PR #3742

Yes -- resolved -- Closing, and thank you.


Use dict comprehensions instead of list comprehensions

It's much more idiomatic and possible since we don't support Python 2.6.
It's also slightly faster.

Good finding!


"Part URI cannot start with two forward slashes " occurs when v4 to v5

It scratches my head over these days.
"Part URI cannot start with two forward slashes " always occurs When I update litedb from v4.1.4 to v5.0.1 through nuget package cosole or GUI.
It still fails even if I uninstall litedb v4.1.4 before upgradation.
VS environment is VS2013
.net framework is v4.6
windows8.1 OS

Hi @GitOffice, can you paste your snippet code with stacktrace error message?

PM> install-package litedb
install-package : Part URI cannot start with two forward slashes.
At line:1 char:1

install-package litedb

  + CategoryInfo          : NotSpecified: (:) [Install-Package], ArgumentException
  + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

When I type "install-package litedb" and hit Enter,  "Downloading LiteDB 5.0.1" appears in VS status bar. After a few minutes, the error message is listed above.

Try "Install-Package LiteDB" with same capitalize as registered in nuget

Is it maybe the reason for Internet Service Provider in China ?


Update Create Table

Hello,
Without that we have
Current selection does not contain a unique column. Grid edit, checkbox, Edit, Copy and Delete features are not available.
in phpMyAdmin
Hope it helps
Marius

Hi,
Thank you for reporting, but you can't set a primary key on id_shop, as if you have more than one language on your shop, you will get primary_key restriction error
Best regards.


VM2968:1 Uncaught (in promise) SyntaxError: Unexpected token � in JSON at position 0

hi there
starting using Nuxt 2.15.x I started getting this:
Uncaught (in promise) SyntaxError: Unexpected token � in JSON at position 0
at JSON.parse ()
at bindStorage (index.js:39)
at index.js:92
at Array.forEach ()
at _callee$ (index.js:91)
at tryCatch (runtime.js:63)
at Generator.invoke [as _invoke] (runtime.js:293)
at Generator.next (runtime.js:118)
at asyncGeneratorStep (_index.mjs:3)
at _next (_index.mjs:25)
Thanks
I'll try to debug the code. Note: on all upgraded projects happens the same

the issue disappeared with nuxt updates

@rubystarashe @nelsonlarocca I am facing the same issue with Nuxt 2.15.8.
Uncaught (in promise) SyntaxError: Unexpected token j in JSON at position 0
Any ideas on how to debug?
Thank you!


Poll cluster add

Hello,
I was just wondering what is the "config" object passed to "poolCluster.add(config)"
Can we pass a pool object like this ?
{
	connectionLimit : 100,
	host     : ip,
	port	 : port,
	user     : user,
	password : password,
	database : database
}

Hi @jchapelle, the README is still lacking a lot from this feature, as when the feature was contributed, it didn't come along with very many docs. The poolCluster.add API accepts a pool config object (https://github.com/felixge/node-mysql#pool-options). Your example is exactly correct.

Many thanks
On Tue, May 31, 2016 at 5:28 AM, Douglas Wilson<EMAIL_ADDRESS>wrote:

Closed #1432 https://github.com/felixge/node-mysql/issues/1432 via
5ad2e24
https://github.com/felixge/node-mysql/commit/5ad2e2426913ba27eedffc20ba183022aa18a56e
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/felixge/node-mysql/issues/1432#event-676484334, or mute
the thread
https://github.com/notifications/unsubscribe/AF4GXd_Jh9jkiH6x-6OetQS0-Qr9WqgQks5qG6rbgaJpZM4Ip7-A
.

--
Jean Chapelle


Assistant V2: Models for configuration of Agent

Actually still draft! ⚠
Will ping on Slack when ready
This PR introduces new models for AssistantV2
front/lib/models/assistant/agent.ts

AssistantAgentConfiguration
AssistantAgentGenerationConfiguration

front/lib/models/assistant/actions/retrieval.ts

AssistantAgentRetrievalConfiguration
AssistantAgentDatasourceConfiguration

NITS renaming

Renaming in Timeframe
Renaming of "message" by "generation" on an Agent configuration: we configure an action and a generation.

How is this not breaking?? https://github.com/dust-tt/dust/blob/main/front/lib/api/assistant/actions/retrieval.ts

(as per IRL: branch not rebased)


Take starknet-compile versions into account

Should get the version of starknet-compile when compiling, and store this in the cache so that updating the compiler causes all contracts to get recompiled.

Done in 1.0.3


Ftrack api connection fix

Changes

updated custom ftrack session with new timeout attribute
ftrack server waits until event hub is connected

Note

this may fix this issue:

Exception in thread Thread-1:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 926, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\iLLiCiT\PycharmProjects\pype3\.venv\lib\site-packages\ftrack_api\event\hub.py", line 243, in connect
    self._notify_server_about_subscriber(subscriber)
  File "C:\Users\iLLiCiT\PycharmProjects\pype3\.venv\lib\site-packages\ftrack_api\event\hub.py", line 497, in _notify_server_about_subscriber
    callback=functools.partial(self._on_subscribed, subscriber)
  File "C:\Users\iLLiCiT\PycharmProjects\pype3\.venv\lib\site-packages\ftrack_api\event\hub.py", line 656, in _publish
    'Cannot publish event asynchronously as not connected to '
ftrack_api.exception.EventHubConnectionError: Cannot publish event asynchronously as not connected to server.

maybe can fix https://github.com/pypeclub/pype/issues/1247 but can't test as it happened to me only twice

It helped me with this problem:


Issue/upgrade jquery

Added bootstrap 4.1, jquery 3.3.1 and jQueryUI 1.12 files

 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.:x: niranjankala sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

We need someone to look at the changes and test them.

The current development branch has missing CSS files for the admin section and it is making debug process little hard.

@niranjankala I wanted to leverage the work you did here to support bootstrap 4 but it looks like popper.js was not included (necessary for some bootstrap 4 behaviors). Was that addresses elsewhere?