suggestion for a library that uses connection strings for MSSQL?

I'm on a mac so the MS-built SQL driver won't work. Can you suggest a library that I can use to run queries against an MS SQL db with AD authentication? I've spent 20 minutes looking around and I don't see any options yet.

Additionally, it looks like https://www.npmjs.com/package/msnodesql is the next best choice but it's 3 years old and appears to be dormant/dead. Is that right?
I'm sorta surprised by how immature SQL is in node.js.

You should be able to connect with this config:
var config = {
    user: '...',
    password: '...',
    domain: '...', // <-- this is impotant
    server: 'localhost',
    database: '...'
}

Keep in mind that NTLM (domain auth) implementation is experimental.


Boto3 put_multipart AttributeError

Found a bug here which wasn't caught before the merge of #2149:
Traceback (most recent call last):
  File "/home/user/venv/local/lib/python2.7/dist-packages/luigi/worker.py", line 203, in run
    new_deps = self._run_get_new_deps()
  File "/home/user/venv/local/lib/python2.7/dist-packages/luigi/worker.py", line 140, in _run_get_new_deps
    task_gen = self.task.run()
  File "/home/user/project/etl/base_task.py", line 192, in run
    self.client.put(self.src_fn, self.dst_fn)
  File "/home/user/venv/local/lib/python2.7/dist-packages/luigi/contrib/s3.py", line 252, in put
    self.put_multipart(local_path, destination_s3_path, **kwargs)
  File "/home/user/venv/local/lib/python2.7/dist-packages/luigi/contrib/s3.py", line 287, in put_multipart
    transfer_config = boto3.s3.transfer.TransferConfig(
AttributeError: 'module' object has no attribute 's3'

@ouanixi , do you have insight into what should be? (i haven't looked into it deeply, yet)
I'm using boto3==1.7.4

@dlstadther does copy() work for you ? That failing line of code is present in both put_multipart and copy

@dlstadther I cannot reproduce the error sorry !! Here's what I tried:
1- run the nonhdfs2.7 tests by making sure boto3 is pinned to 1.7.4 in tox file and things passed fine.
2- setup a quick project by pip installing luigi from the repo (to make sure I'm using what's on master) and ran a quick task that was using S3Client's put_multipart() and again things worked just fine!!! Python version used is 3.6.4 with boto3===1.7.4
!!!!!!

Things learned:

don't submit a bug report at the end of the work-day (you won't be thinking clearly)
don't get carried away with copy/paste

The issue was 100% my fault. Output was a LocalTarget instead of a S3Target.
Sorry for the fire drill!

@dlstadther haha I've done a lot worse :)


Auto-update yoga to v3.0.0

New version of yoga detected (package version: nil, last github version: v3.0.0)

Some ci stl doesn't support c++20 std::bit_cast.


Fixed case_insensitive=True hopefully

I don't think rearranging the param order when you explicitly define them matters...

didnt pull from server side.


Missing license

Please add a license statement and include a LICENSE file in the repo.
This is a dependency of naabu and naabu is available in the Fedora Package Collection. To provide an update to the latest naabu release tfdmax needs to in the Package Collection too and to do that a license is required.
Thanks

Hi @fabaff,
Thank you for pointing this out, we just added it here https://github.com/projectdiscovery/fdmax/commit/5240e7961ba00ff79248d950fe1035a693f415ea

@bauthard, thank you.


Cannot read split of undefined, and trailing bytes

I have the following package versions:
{
    "redis": "2.0.1",
    "socket.io": "1.3.7",
    "socket.io-emitter": "0.2.0",
    "socket.io-redis": "0.1.4",
}

My redis version is 2.8.21.
When I instantiate socket.io-redis with return_buffers set to true for the clients, I get the following error:
channel.split("#") <!-- cannot read split of undefined
If I monkey patch the code in index.js for socket.io-redis so that the channel is a string, I get a trailing bytes error. Additionally, when I downgrade redis to 1.0.0, I get a trailing bytes error.
I can deal with downgrading redis to 1.0.0. However, no permutation of socket.io-redis, socket.io-emitter, and redis seems to ever solve the trailing bytes error. This is a very critical issue for me. Is there an initiative to fix it in the very near future?

Yes there is already fix for it, but is not tagged, so there is no package for it on npmjs. https://github.com/socketio/socket.io-redis/issues/73#issuecomment-158613469 there is some workaround for it.


CI workflow to manually delete caches

Description
The GH Actions UI offers a way to list and manually delete cache entries. There's no UI solution for BuildJet, but we can use a custom workflow to manually delete entries. I'm not yet sure if listing cache entries if possible, for now the cache entry key to delete must be copy-pasted from logs.

Must be rebased once https://github.com/Sovereign-Labs/sovereign-sdk/pull/1061 is merged.


Move ConVar change callback to AddConVar

@Nak2 I'm not sure if you're aware but currently there is a major FPS drain that is fixed with this.

This is still an issue - framerate will drop from 300 to 30 in about 10 minutes on my machine. Applying this patch has fixed the problem

Pretty sure he's working on Stormfox 2 and doesn't maintain this anymore.

Probably still a good idea to merge this in and push it out to workshop given that this addon is used by quite a few people

You should contact Nak directly, don't know if he even checks here anymore


test deadline protection and convenience methods

they strike me a bad middle ground.

Fair, and I agree the current state needs edits. I wanted to get something quick up before I got sucked back into other things and I thought you might have some ideas given you wrote these tests 😅 . We can keep iterating if its headed the right direction.


Can I access the docker registry API? How about the authentication?

Is there any facility to help me access the docker registry API with existing account? Thanks.

Could you please elaborate your question?

I want to use the manifest API of Harbor to get the docker image detail information, but I found the information is not enough. The docker registry manifest API can provide more information such as history field. Can Harbor return that information? If not, can I access the docker registry directly to get that information and can harbor help me to generate the Bearer token for me? I found the API of service/token but not sure it can provide that token.  Thank you.

@ywk253100 I think we can update the API to contain more info.

Great. Is there any temporary solution for that?

You can write script to get token according to this doc:
https://github.com/docker/distribution/blob/master/docs/spec/auth/token.md
This is indeed how docker client works.

Thanks @reasonerjt After check the code, I found harbor convert the docker registry manifest return result to RepoItem object and filter some information. It will be great if harbor return all the result directly.

OK, I will update it.

The manifest in branch new-ui-with-sync-image contains more informations, and it will be merged into master soon.

@ywk253100 does UI display the new informations?

The new manifest API which will return complete manifests has been merged into branch dev by #622 .


There is no way to identify the primary workspace, making it appear essentially random

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

Version Number: 9.0.60-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @quinthar
Slack conversation (hyperlinked to channel name): ts_external_expensify_retain
Action Performed:
Prerequisite: User have multiple workspaces

Go to staging.new.expensify.com
Click Settings > Workspaces

Expected Result:
Add some indicator in the workspace list as to which is primary
Add some ability to make a given workspace primary
Actual Result:
There's no way to know which workspace is primary, nor control it, so it's essentially random.
Workaround:
Unknown
Platforms:

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

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

Screenshots/Videos

Add any screenshot/video evidence

View all open jobs on GitHub

Extending @dannymcclain's mock to add in the rest of the things asked in the Slack thread:

Tooltip on badge hover for extra clarification:
cc @jamesdeanexpensify for copy 👀 on the tooltip
cc @Expensify/design

Looks great to me!

Lovely, thanks @dubielzyk-expensify!

Looks good!

Assigned, thank you!

@Krishna2323 I was under the impression no BE changes were required for this

update the default policy in NewDot

@Krishna2323, are you saying we need to add a new endpoint UpdateActivePolicy?
What would be returned?

Ah gotcha, so we just need the API call for setting the NVP? I can make a BE issue

BE issue created here - https://github.com/Expensify/Expensify/issues/452492
I may be able to knock this one out today
cc @Krishna2323

Hey @Krishna2323 I was looking into it and it seems like we could use the SetNameValuePair command here, can you take a look at that option before I go further? I can still push a PR if not

@Krishna2323 why would we set the ActivePolicyID as a boolean?

Oh 🤦 lol we're adding string. haha yes you can send a string to this command


Frontend submits null value for state

Steps to reproduces

Navigate to add-patient/?facility=XYZ
Add a value for all fields and leave patient as "- Select -"

Submit the form

EXCEPTION
Event time | 2/8/2021, 8:22:43 AM (Local time) |
-- | -- | --
Message | Variable 'state' has coerced Null value for NonNull type 'String!' |
Exception type | graphql.execution.NonNullableValueCoercedAsNullException
View exception details

I don't know if it's the same bug but we noticed null appearing on the address and fixed it in #671.

Fixed in https://github.com/CDCgov/prime-simplereport/commit/862ed0061606621004f71d392009f1adea576e26


Clarification on intermediate certificates placement

It's not clear where intermediate certificates should be placed on AppGW v2.
Customers ask for possible options:

A bundle with root certificate + intermediate certificate(s) can be used on the AppGW httpbackendsettings while server uses the server certificate
The intermediate certificate(s) can be used on the AppGW httpbackendsettings while server uses the server certificate
The root certificate(s) is installed on the AppGW httpbackendsettings while server uses the bundle with intermediate certificate(s) + server certificate

Only the option 3 is valid at the moment

@sevelho : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@v-shils : Thanks for your contribution! The author(s) have been notified to review your proposed change.


add threshold for simulate Application level Latency

add threshold for simulate Application level Latency that can generate

TCP Window Full

TCP ZeroWindow

With this commit, start the recv append a -L flag
ttcp -r -l 512 -L

which this will cause the recv receive speed around 0.15 MB per seconds, so the trans side should also send a little size data, like 5MB, 10MB, eg:
ttcp -n 10 -t <IP>

This most likely will simulate TCP Window Full, TCP ZeroWindow, TCP Retransmission, and TCP Dup Ack in wireshark reports.


Converter looses the conditions bound with dashboard filter and pre-defined values.

Description
Converter transforms query
sum by (pod) (jvm_memory_used_bytes{namespace="$namespace", job="$app", area="heap", pod=~"$pod"})
to
SELECT (average(jvm_memory_used_bytes) * cardinality(jvm_memory_used_bytes)) FROM Metric WHERE (area = 'heap') SINCE 60 MINUTES AGO UNTIL NOW FACET pod LIMIT 100 TIMESERIES 30000
where "namespace" and "pod" are described as dashboard filters and "application" defined in dashboards "variables" as a static value.
Steps to Reproduce
Expected Behavior
It would be great if dashboard converts with all filters and predefined values that are used in queries in dashboard elements.
Relevant Logs / Console output
Your Environment
Additional context

This is related to: https://github.com/newrelic-experimental/nr-grafana-migration/issues/3
New Relic currently does not have a filter/variable system available, so it's not possible to reproduce this behavior as long as that's not available.


Runtime Thread view switches to page 1 every few seconds

It looks like when the thread data are refreshed the page counter resets back to 1:
Peek 2024-06-25 10-34.webm

@mmelko Could you have a look?


Improve documentation and tutorials on non-trivial mutations

EdgeQL allows non-trivial mutations: nested INSERT and UPDATE and insert-or-update-or-select via UNLESS CONFLICT.  The tutorial/cheatsheet documentation level is currently very skimpy with respect to the examples those.

@vpetrovykh Please also check out how easy edgedb covers those and maybe we can suggest Dave to change some hings if necessary. https://edgedb-staging.vercel.app/easy-edgedb


Popover data-placement doesn't work as expected in Safari

OS: OS X Yosemite
Safari Version: Version 10.1.1 (10603.2.5)
The popover does not show up in Safari if I specify data-placement to anything except "right". When it's set to "right", the popover only show up at the top left corner of the web page, which is not correct.
    if ($.fn && $.fn.popover) {
      hide_popovers();
      var popover = $("#crosswalk_arrow_"+direction).data('bs.popover');
      popover.options.content = "testing"
      popover.options.placement = "right"
      $("#crosswalk_arrow_"+direction).popover('show');
      $(".popover").one('mouseenter', function() {
        window.clearTimeout(popover_timer);
        $(".popover").one('mouseleave', function() {
          popover_timer = setTimeout(hide_popovers, 400);
        }.bind(this))
      }.bind(this))
      window.clearTimeout(popover_timer);
    }

    var hide_popovers = function(){
      d3.selectAll("text.direction_name").each(function(d) {$("#direction_name_"+d.code).popover('hide')})
      d3.selectAll("path.crosswalk_arrow").each(function(d) {$("#crosswalk_arrow_"+d.enter_code).popover('hide')})
    }

The tooltip show up properly in both chrome and firefox except Safari.

Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case via JS Bin or CodePen and report back with your link, Bootstrap version, and specific browser and OS details.

Hey there!
We're automatically closing this issue since the original poster (or another commenter) hasn't yet responded to the question or request made to them 14 days ago. We therefore assume that the user has lost interest or resolved the problem on their own. Closed issues that remain inactive for a long period may get automatically locked.
Don't worry though; if this is in error, let us know with a comment and we'll be happy to reopen the issue.
Thanks!
(Please note that this is an automated comment.)


Fix small typo in English dataConsent.tpl

Questions
Answers

Description?
Change wording

Type?
bug fix

BC breaks?
no

Deprecations?
no

Fixed ticket?
N/A

Sponsor company
PS

How to test?
Check help text in Consent checkbox customization

Result:

Thank you @florine2623 !


SSL doesn't work until I do c_rehash

I'm running rhasspy 2.5.10 running in docker, and I have it, and a Home Assistant install, behind an nginx reverse proxy to handle SSL. I've found that SSL won't work after a clean boot which means any HA intents won't trigger. Actually, SSL won't work to any domain, even https://www.google.com, tested by running curl https://google.com which gives
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

After some digging (including running update-ca-certificates I finally stumbled onto c_rehash. For some reason, I have to run c_rehash on the rhasspy docker image (i.e., after getting a shell with docker exec rhasspy -it /bin/bash) to get any sort of SSL connection to work. After doing this, everything seems to work just fine.
Is this normal behaviour? Is this something expected? Or just a quirk of my install perhaps?

Hi there, is this still an issue on 2.5.11?

Since 2.5.11, my intents to HA (over SSL with lets encrypt certs) have been working, but I just tested and curl https://google.com does still give the error until I run c_rehash. I can't explain that oddity.


README not updated for 5.3 release

This is a question for @madoublet and @joebordes .
When 5.3 was released, the README was not bumped to reflect the new version number.  So, when people land on the main github repo page it shows that the current version is 5.2.
I've update the README with the correct information, in this commit: 93298e2b7369c801087761679c85e68d08b3dd09
However, I'm unsure of the process you want me to follow for getting that change into the master branch.  I would approach it by checking out the master branch, typing git cherry-pick 93298e2b7369c801087761679c85e68d08b3dd09 and then committing and pushing the change up to master.
Is it OK if I do that, or do you prefer that I take a different approach / not update it?
If you haven't told me otherwise by 15 March, I'll proceed as proposed above.

I am fine with your approach.

I am fine with your approach.

Done.  Thanks for the fast reply, Matt.


cymysql.err.InternalError: (1043, 'Bad handshake')

django == 3.0.5
django-cymysql == 3.0.0
cymysql == 0.9.14
mysql == 5.7.23
Traceback (most recent call last):
File "/home/linux/py3env/lib/python3.7/site-packages/django/db/backends/base/base.py", line 220, in ensure_connection
self.connect()
File "/home/linux/py3env/lib/python3.7/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/linux/py3env/lib/python3.7/site-packages/django/db/backends/base/base.py", line 197, in connect
self.connection = self.get_new_connection(conn_params)
File "/home/linux/py3env/lib/python3.7/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/linux/py3env/lib/python3.7/site-packages/mysql_cymysql/base.py", line 232, in get_new_connection
return Database.connect(**conn_params)
File "/home/linux/py3env/lib/python3.7/site-packages/cymysql/init.py", line 84, in Connect
return Connection(*args, **kwargs)
File "cymysql/connections.py", line 248, in cymysql.connections.Connection.init
File "cymysql/connections.py", line 414, in cymysql.connections.Connection._connect
File "cymysql/connections.py", line 500, in cymysql.connections.Connection._request_authentication
File "cymysql/connections.py", line 419, in cymysql.connections.Connection.read_packet
File "cymysql/packet.pyx", line 65, in cymysql.packet.MysqlPacket.init
File "cymysql/err.py", line 149, in cymysql.err.raise_mysql_exception
File "cymysql/err.py", line 144, in cymysql.err._check_mysql_exception
cymysql.err.InternalError: (1043, 'Bad handshake')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/linux/py3env/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/home/linux/py3env/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/home/linux/py3env/lib/python3.7/site-packages/django/utils/autoreload.py", line 53, in wrapper
fn(*args, **kwargs)
File "/home/linux/py3env/lib/python3.7/site-packages/django/core/management/commands/runserver.py", line 120, in inner_run
self.check_migrations()
File "/home/linux/py3env/lib/python3.7/site-packages/django/core/management/base.py", line 458, in check_migrations
executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
File "/home/linux/py3env/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in init
self.loader = MigrationLoader(self.connection)
File "/home/linux/py3env/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in init
self.build_graph()
File "/home/linux/py3env/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
self.applied_migrations = recorder.applied_migrations()
File "/home/linux/py3env/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 76, in applied_migrations
if self.has_table():
File "/home/linux/py3env/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
File "/home/linux/py3env/lib/python3.7/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/linux/py3env/lib/python3.7/site-packages/django/db/backends/base/base.py", line 260, in cursor
return self._cursor()
File "/home/linux/py3env/lib/python3.7/site-packages/django/db/backends/base/base.py", line 236, in _cursor
self.ensure_connection()
File "/home/linux/py3env/lib/python3.7/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/linux/py3env/lib/python3.7/site-packages/django/db/backends/base/base.py", line 220, in ensure_connection
self.connect()
File "/home/linux/py3env/lib/python3.7/site-packages/django/db/utils.py", line 90, in exit
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/home/linux/py3env/lib/python3.7/site-packages/django/db/backends/base/base.py", line 220, in ensure_connection
self.connect()
File "/home/linux/py3env/lib/python3.7/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/linux/py3env/lib/python3.7/site-packages/django/db/backends/base/base.py", line 197, in connect
self.connection = self.get_new_connection(conn_params)
File "/home/linux/py3env/lib/python3.7/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/linux/py3env/lib/python3.7/site-packages/mysql_cymysql/base.py", line 232, in get_new_connection
return Database.connect(**conn_params)
File "/home/linux/py3env/lib/python3.7/site-packages/cymysql/init.py", line 84, in Connect
return Connection(*args, **kwargs)
File "cymysql/connections.py", line 248, in cymysql.connections.Connection.init
File "cymysql/connections.py", line 414, in cymysql.connections.Connection._connect
File "cymysql/connections.py", line 500, in cymysql.connections.Connection._request_authentication
File "cymysql/connections.py", line 419, in cymysql.connections.Connection.read_packet
File "cymysql/packet.pyx", line 65, in cymysql.packet.MysqlPacket.init
File "cymysql/err.py", line 149, in cymysql.err.raise_mysql_exception
File "cymysql/err.py", line 144, in cymysql.err._check_mysql_exception
django.db.utils.InternalError: (1043, 'Bad handshake')

I don't know why, but

Write pure cymysql example code (not django and django-cymysql)
Test with mysql command

anyone can help me fix this problem?

I don't know why, but

Write pure cymysql example code (not django and django-cymysql)
Test with mysql command

1、have any example code, Test cymsql connect （use ssl）

there is my code
"options": {
"ssl": {
"ca": "",
"cert": "",
"key": ""
}
}

"options": {           "ssl": {                "ca": "",                "cert": "",                "key": ""      } }

seems

seems

seems what?

seems
"options": { "ssh" : True }

are you sure?
System check identified no issues (0 silenced). Exception in thread django-main-thread: Traceback (most recent call last):   File "/home/linux/py3env/lib/python3.7/threading.py", line 917, in _bootstrap_inner     self.run()   File "/home/linux/py3env/lib/python3.7/threading.py", line 865, in run     self._target(*self._args, **self._kwargs)   File "/home/linux/py3env/lib/python3.7/site-packages/django/utils/autoreload.py", line 53, in wrapper     fn(*args, **kwargs)   File "/home/linux/py3env/lib/python3.7/site-packages/django/core/management/commands/runserver.py", line 120, in inner_run     self.check_migrations()   File "/home/linux/py3env/lib/python3.7/site-packages/django/core/management/base.py", line 458, in check_migrations     executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])   File "/home/linux/py3env/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in __init__     self.loader = MigrationLoader(self.connection)   File "/home/linux/py3env/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in __init__     self.build_graph()   File "/home/linux/py3env/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph     self.applied_migrations = recorder.applied_migrations()   File "/home/linux/py3env/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 76, in applied_migrations     if self.has_table():   File "/home/linux/py3env/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table     return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())   File "/home/linux/py3env/lib/python3.7/site-packages/django/utils/asyncio.py", line 26, in inner     return func(*args, **kwargs)   File "/home/linux/py3env/lib/python3.7/site-packages/django/db/backends/base/base.py", line 260, in cursor     return self._cursor()   File "/home/linux/py3env/lib/python3.7/site-packages/django/db/backends/base/base.py", line 236, in _cursor     self.ensure_connection()   File "/home/linux/py3env/lib/python3.7/site-packages/django/utils/asyncio.py", line 26, in inner     return func(*args, **kwargs)   File "/home/linux/py3env/lib/python3.7/site-packages/django/db/backends/base/base.py", line 220, in ensure_connection     self.connect()   File "/home/linux/py3env/lib/python3.7/site-packages/django/utils/asyncio.py", line 26, in inner     return func(*args, **kwargs)   File "/home/linux/py3env/lib/python3.7/site-packages/django/db/backends/base/base.py", line 197, in connect     self.connection = self.get_new_connection(conn_params)   File "/home/linux/py3env/lib/python3.7/site-packages/django/utils/asyncio.py", line 26, in inner     return func(*args, **kwargs)   File "/home/linux/py3env/lib/python3.7/site-packages/mysql_cymysql/base.py", line 232, in get_new_connection     return Database.connect(**conn_params)   File "/home/linux/py3env/lib/python3.7/site-packages/cymysql/__init__.py", line 84, in Connect     return Connection(*args, **kwargs)   File "cymysql/connections.py", line 121, in cymysql.connections.Connection.__init__ TypeError: __init__() got an unexpected keyword argument 'ssh'

Oh, Sorry
"options": {"ssl": Ture}

ssh -> ssl

ssl

`
Traceback (most recent call last):
File "/home/linux/py3env/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/home/linux/py3env/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/home/linux/py3env/lib/python3.7/site-packages/django/utils/autoreload.py", line 53, in wrapper
fn(*args, **kwargs)
File "/home/linux/py3env/lib/python3.7/site-packages/django/core/management/commands/runserver.py", line 120, in inner_run
self.check_migrations()
File "/home/linux/py3env/lib/python3.7/site-packages/django/core/management/base.py", line 458, in check_migrations
executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
File "/home/linux/py3env/lib/python3.7/site-packages/django/db/migrations/executor.py", line 18, in init
self.loader = MigrationLoader(self.connection)
File "/home/linux/py3env/lib/python3.7/site-packages/django/db/migrations/loader.py", line 49, in init
self.build_graph()
File "/home/linux/py3env/lib/python3.7/site-packages/django/db/migrations/loader.py", line 212, in build_graph
self.applied_migrations = recorder.applied_migrations()
File "/home/linux/py3env/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 76, in applied_migrations
if self.has_table():
File "/home/linux/py3env/lib/python3.7/site-packages/django/db/migrations/recorder.py", line 56, in has_table
return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
File "/home/linux/py3env/lib/python3.7/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/linux/py3env/lib/python3.7/site-packages/django/db/backends/base/base.py", line 260, in cursor
return self._cursor()
File "/home/linux/py3env/lib/python3.7/site-packages/django/db/backends/base/base.py", line 236, in _cursor
self.ensure_connection()
File "/home/linux/py3env/lib/python3.7/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/linux/py3env/lib/python3.7/site-packages/django/db/backends/base/base.py", line 220, in ensure_connection
self.connect()
File "/home/linux/py3env/lib/python3.7/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/linux/py3env/lib/python3.7/site-packages/django/db/backends/base/base.py", line 197, in connect
self.connection = self.get_new_connection(conn_params)
File "/home/linux/py3env/lib/python3.7/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/home/linux/py3env/lib/python3.7/site-packages/mysql_cymysql/base.py", line 232, in get_new_connection
return Database.connect(**conn_params)
File "/home/linux/py3env/lib/python3.7/site-packages/cymysql/init.py", line 84, in Connect
return Connection(*args, **kwargs)
File "cymysql/connections.py", line 160, in cymysql.connections.Connection.init
TypeError: argument of type 'bool' is not iterable
`

Sorry, I'm not sure about the SSL connection thing.
The settings for ssl should be the same as PyMySQL in the original fork.
https://github.com/PyMySQL/PyMySQL/issues/430
Here's what you might find helpful.

in fact, i just use cymysql. i got seem error
conn = cymysql.connect(     host='xxx',     user='xxxx',     passwd='xxxxx'     db='xxxxx',     ssl={"ca": "ca path", "cert": "cert path", "key": "key path"} ) cur = conn.cursor()
but i do not useing ssl, i want work!


Bug Idk

People can make unlimited accounts without any kind of verification even though i've disabled signups

https://github.com/NorthDevelopment/NorthClient/blob/main/routes/auth/email.js
Its because, there is no such option for email auth. The password generator is only for Discord Oauth2.


bug report: the model training process may not work properly

First of all, thanking you for your valueable work and for providing the code. When I try to reproduce the experimental results of E-Fedsup in Table 1 in the paper, the training process of the model dose not seem to work as expected. The performance of the model is stable at 1% accuracy, while the loss value keeps oscillating. The final performance did not behave as demonstrated in the paper.  Could you help me to tell the cause of this result? Or tell me how to reproduce the experimental results of Table 1 in the paper. Thank you for your reply.
The trainning command I use:
python main.py --shard_per_user 10 --dataset cifar100 --label_smoothing 0.0 \
                          --gpu 0 --frac 0.1 --local_ep 5 --momentum 0.9 \
                          --inplace_distill False --num_arch_training 1 \
                          --drop_connect 0.0 --dropout 0.0 --results_save "vanilla" \
                          --diri "False" --config-file config/efficient_fedsup.yml

The config file efficient_fedsup.yml has not been modified.
part of the training results are shown in the figure below:

Thank you for having interests on our work! First of all, this is my first time to see such behavior
but, one thing we can expect is from the momentum scale I guess!
How about decreasing the momentum value to 0.5 or 0.1?


[tests-only] tests to demonstrate issue #720

fix the description in the expected failures files why apiShareManagementBasicToShares/deleteShareFromShares.feature:43 & :44 fail
extend the bug-demonstration scenario to make sure it fails if #720 get fixed

https://drone.owncloud.com/owncloud/ocis/776/15/7
  @issue-ocis-720 @issue-ocis-721
  Scenario Outline: delete a share                                                                  # /drone/src/ocis/tests/acceptance/features/apiOcisSpecific/apiShareManagementBasic-deleteShare.feature:6
    Given user "Alice" has been created with default attributes and without skeleton files          # FeatureContext::userHasBeenCreatedWithDefaultAttributesAndWithoutSkeletonFiles()
    And user "Alice" has uploaded file with content "ownCloud test text file 0" to "/textfile0.txt" # FeatureContext::userHasUploadedAFileWithContentTo()
    And user "Brian" has been created with default attributes and without skeleton files            # FeatureContext::userHasBeenCreatedWithDefaultAttributesAndWithoutSkeletonFiles()
    And using OCS API version "<ocs_api_version>"                                                   # FeatureContext::usingOcsApiVersion()
    And user "Alice" has shared file "textfile0.txt" with user "Brian"                              # FeatureContext::userHasSharedFileWithUserUsingTheSharingApi()
    And user "Brian" has accepted share "/textfile0.txt" offered by user "Alice"                    # FeatureContext::userHasReactedToShareOfferedBy()
    When user "Alice" deletes the last share using the sharing API                                  # FeatureContext::userDeletesLastShareUsingTheSharingApi()
    Then the OCS status code should be "<ocs_status_code>"                                          # OCSContext::theOCSStatusCodeShouldBe()
    And the HTTP status code should be "200"                                                        # FeatureContext::thenTheHTTPStatusCodeShouldBe()
    And as "Brian" file "/Shares/textfile0.txt" should exist                                        # FeatureContext::asFileOrFolderShouldExist()

    Examples:
      | ocs_api_version | ocs_status_code |
      | 1               | 100             |
        file '/Shares/textfile0.txt' expected to exist for user Brian but not found
        Failed asserting that false is true.
      | 2               | 200             |
        file '/Shares/textfile0.txt' expected to exist for user Brian but not found
        Failed asserting that false is true.

The bug-demo is failing to demo the bug.

need to retest locally on OCIS storage

on ocis-storage the etag is not quoted, that's why the test-code does not "see" the file


clippy: Fix lint about TryFrom & TryInto

The 2021 prelude includes TryFrom and TryInto [1]. And recently the nigtlhy channel started linting for this duplicated imports and emitting warnings. This removes the redundant imports.
1: https://doc.rust-lang.org/core/prelude/rust_2021/index.html

Here is an example warning:
warning: the item `TryInto` is imported redundantly
   --> examples/src/lamport/signature.rs:8:26
    |
8   | use std::{cmp::Ordering, convert::TryInto};
    |                          ^^^^^^^^^^^^^^^^
    |
   ::: /Users/hack/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/prelude/mod.rs:129:13
    |
129 |     pub use core::prelude::rust_2021::*;
    |             ------------------------ the item `TryInto` is already defined here
    |
    = note: `#[warn(unused_imports)]` on by default

The CI failure is related, in the sense the warnings seem to have started with the same change for TryFrom and TryInto. However, those require additional changes from std/no_std support, and I will fix in a follow up.

Closing this as these changes were also included in #250.


[discussion] scratch token UX

Its easy to overlook the scratch token if presented after enrolling 2FA. I find it to subtle presented and easy to miss.
A modal/popover or something more “in ya face” might be better to not forget to store that key, since its important. Even the opportunity to block users to proceed without having at least stored it to the clipboard, might be an option here.

I commented on the linked PR (#14129 ), just now noticed this issue, sorry.
I was arguing against using modal popup windows, especially for things so essential as e.g. 2FA tokens or app tokens.
While I am completely on the on side for highlighting the prominent information on the page, I am not convinced using a popup window is the best way to go about it.
Might be a personal distaste of modals (I find them distracting) and I am sure there is another way to more gently grab users attention. This blocking, kind of hijacking-my-screen nature of modals is what I don't like, probably.
And finally just an absolutely off the record anti-opinion - if one still manages to overlook the token and chooses to close the window instead of looking further, it can still be rather easily regenerated and nothing happens.

I commented on the linked PR (#14129 ), just now noticed this issue, sorry.
I was arguing against using modal popup windows, especially for things so essential as e.g. 2FA tokens or app tokens.
While I am completely on the on side for highlighting the prominent information on the page, I am not convinced using a popup window is the best way to go about it.
Might be a personal distaste of modals (I find them distracting) and I am sure there is another way to more gently grab users attention. This blocking, kind of hijacking-my-screen nature of modals is what I don't like, probably.
And finally just an absolutely off the record anti-opinion - if one still manages to overlook the token and chooses to close the window instead of looking further, it can still be rather easily regenerated and nothing happens.


Private Link not supported clarification

[Enter feedback here]
At the moment Private link is not supported on HCI but the page does not say this
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 2fa8defc-fa38-dfc2-a0bc-18a2051eb3f6
Version Independent ID: 933382fc-a6c7-d0e3-da99-0759750cef64
Content: Use Azure Private Link to securely connect servers to Azure Arc - Azure Arc
Content Source: articles/azure-arc/servers/private-link-security.md
Service: azure-arc
Sub-service: azure-arc-servers
GitHub Login: @johnmarco
Microsoft Alias: johnmarc

@BrandonSardi Thanks for your comment! We will review and provide an update as appropriate.

Hello @BrandonSardi. Thank you for your patience with this issue. It has been outstanding for some time, so it has been moved to our backlog and will now be closed. We will investigate it and make any appropriate documentation changes as resources allow.

#please-close


Get PaymentObject in ReturnURL

Hello sir,
Are you aware of how to recieve payment object after payment succeeded and user is returned to ReturnUrl. I see that Client.ParseMessage expects a Post request, but I recieve a Get Request without any query parameters so it is not possible to identify from which payment user has landed on ReturnUrl.

Hi, sorry I missed your question.
Have you set the notifications URL in settings?
https://yookassa.ru/my/merchant/integration/http-notifications

Feel free to reopen if you have more questions.


tests/docker-scripts broken on docker v25

docker --version
Docker version 25.0.3, build 4debf41

Docker Compose version v2.24.6

npm run e2e:docker

><EMAIL_ADDRESS>e2e:docker
> ./tests/docker-scripts/run.sh web-ui-tests

service "web-ui-tests" can't be used with `extends` as it declare `depends_on`
service "web-ui-tests" can't be used with `extends` as it declare `depends_on`

npm run e2e:update-ci-snapshots

><EMAIL_ADDRESS>e2e:update-ci-snapshots
> ./tests/docker-scripts/run.sh web-ui-update-snapshots

service "web-ui-tests" can't be used with `extends` as it declare `depends_on`
service "web-ui-tests" can't be used with `extends` as it declare `depends_on`

Looks like there was a change in docker compose v2.24.6 that breaks our e2e scripts - https://github.com/docker/compose/issues/11544

Should be fixed in docker compose v2.24.7

Latest docker desktop includes docker compose v2.24.6. Can use this as a temporary fix until docker desktop with updated compose is published:

services:
  dhc-server:
    image: ghcr.io/deephaven/server:${DHC_VERSION:-edge}
    pull_policy: always
    volumes:
      - ./data:/data
    expose:
      - 10000
    environment:
      - START_OPTS=-Xmx4g -DAuthHandlers=io.deephaven.auth.AnonymousAuthenticationHandler -Ddeephaven.console.type=python -Ddeephaven.application.dir=./data/app.d

  web-ui-tests: &web-ui-tests
    build:
      context: ../../
      dockerfile: ./tests/docker-scripts/Dockerfile
    ipc: host
    environment:
      - VITE_PROXY_URL=http://dhc-server:10000
    ports:
      - 9323:9323
    volumes:
      - ../../tests:/work/tests
      - ../../test-results:/work/test-results
      - ../../playwright-report:/work/playwright-report
    entrypoint: 'npm run e2e -- --config=playwright-ci.config.ts'
    depends_on:
      dhc-server:
        condition: service_healthy

  web-ui-update-snapshots:
    <<: *web-ui-tests
    entrypoint: 'npm run e2e:update-snapshots -- --config=playwright-ci.config.ts'


[BUG] Purple screen caused by gpu-next

Describe the bug
i play a video that download from youtube (webp) and not play smooth on my device with HW and HW+ so i change too SW and get a smooth playback
but after a while (around 15 min) video get purple (audio play in background) it solve if i close and reopen video or switch to HW or HW+ (not smooth playback)
To Reproduce
Steps to reproduce the behavior:

download this video fullHD 60fps webp
play that
on SW mode
after a while it get purple screen

Expected behavior
SW not show purple color
Crash logs
crash not happen but how can acsses to log without crash?
Screenshots
it is mpvkt in float

Additional info (please complete the following information):

Android version:  13
App Version: Release v0.1.5

Additional context
after first purple screen reopen video this bug happen again much sooner (4,5 min playtime)
any specific config needed to know?
try hardware decoding is on
use gpu-next is on
Debanding is on GPU
Use YUV420P pixel format is off

It's a known issue caused by gpu-next.
You should disable it.

ref https://github.com/mpv-player/mpv/issues/12708


Add -mmskiptlsverify option to skip TLS certificate checks on mmserver.

This is a rework of sarlalian pull request #118.
See https://github.com/42wim/matterircd/pull/118 for original PR that was not mergeable.

Thanks!


Fine-tuning the recogniser on a bigger image.

Heyy!
I'm trying to finetune the recogniser, but with a different input shape of (500, 100). I cropped all my images to this shape for uniformity, because some contain a very long line of text of up to 70 letters, while some are quite shorter with about 4-15 letters.
If I choose to do exactly what is in the docs but changing my alphabets, that is this:
recognizer = keras_ocr.recognition.Recognizer(alphabet=alphabet)
recognizer.compile()

Then I get this error when I start training:
UnknownError: 2 root error(s) found.
  (0) Unknown:  AssertionError: A sentence is longer than this model can predict.
Traceback (most recent call last):

  File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/ops/script_ops.py", line 249, in __call__
    ret = func(*args)

  File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/autograph/impl/api.py", line 645, in wrapper
    return func(*args, **kwargs)

  File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/data/ops/dataset_ops.py", line 892, in generator_py_func
    values = next(generator_state.get_iterator(iterator_id))

  File "/usr/local/lib/python3.7/dist-packages/keras/engine/data_adapter.py", line 822, in wrapped_generator
    for data in generator_fn():

  File "/usr/local/lib/python3.7/dist-packages/keras_ocr/recognition.py", line 378, in get_batch_generator
    for sentence in sentences), 'A sentence is longer than this model can predict.'

AssertionError: A sentence is longer than this model can predict.

I'm assuming it's because the length of my images/labels differs from what the pretrained weights expect. So, I tried this:
recognizer = keras_ocr.recognition.Recognizer(
    alphabet=alphabet,
    build_params={**keras_ocr.recognition.DEFAULT_BUILD_PARAMS, 'width':500, 'height':100, 'stn': False},
)

recognizer.compile()

Then I get this error message, right after running the cell:
Provided alphabet does not match pretrained alphabet. Using backbone weights only.
Looking for /root/.keras-ocr/crnn_kurapan_notop.h5
Downloading /root/.keras-ocr/crnn_kurapan_notop.h5
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-6-3137b7304f8c> in <module>()
      2 recognizer = keras_ocr.recognition.Recognizer(
      3     alphabet=alphabet,
----> 4     build_params={**keras_ocr.recognition.DEFAULT_BUILD_PARAMS, 'width':500, 'height':100, 'stn': False},
      5 )
      6

2 frames
/usr/local/lib/python3.7/dist-packages/keras_ocr/recognition.py in __init__(self, alphabet, weights, build_params)
    337                     tools.download_and_verify(url=weights_dict['weights']['notop']['url'],
    338                                               filename=weights_dict['weights']['notop']['filename'],
--> 339                                               sha256=weights_dict['weights']['notop']['sha256']))
    340
    341     def get_batch_generator(self, image_generator, batch_size=8, lowercase=False):

/usr/local/lib/python3.7/dist-packages/keras/engine/training.py in load_weights(self, filepath, by_name, skip_mismatch, options)
   2359               f, self.layers, skip_mismatch=skip_mismatch)
   2360         else:
-> 2361           hdf5_format.load_weights_from_hdf5_group(f, self.layers)
2362
   2363     # Perform any layer defined finalization of the layer state.

/usr/local/lib/python3.7/dist-packages/keras/saving/hdf5_format.py in load_weights_from_hdf5_group(f, layers)
    689                      'containing ' + str(len(layer_names)) +
    690                      ' layers into a model with ' + str(len(filtered_layers)) +
--> 691                      ' layers.')
    692
    693   # We batch weight value assignments in a single backend call

ValueError: You are trying to load a weight file containing 16 layers into a model with 15 layers.

Is there a way I can tweak the model architecture to accept my input shape? Or is there a way to resize to (200, 31) right within the architecture?
I wouldn't want to train by setting the weights to None, even though that seems to be the only thing working for me.
Thanks!

Hey @sharonibejih, It doesn't work for me, even with the weights set to None. Did you find a solution?

@bilalltf @sharonibejih Have either of you found a solution to this issue?


When/How Are Reference Assembly folders created (part 2)

Further to my issue #1346, No this does NOT resolve my issue.
I have .NET Framework 4.8 installed on my computer. The Reference Assemblies folder is not created for 4.7.2. When/how does it get created. If 4.7.2 was NOT installed then per the page, the installer would have installed it so what is missing?
How do I get this folder and its contents created?
Per this article How to: Determine which .NET Framework versions are installed the image below indicates 4.8 is installed.

As for PowerShell I believe 5.1 is the current version.

If you have .NET framework 4.8 installed, the probing path should be adjusted accordingly. Version 4.8 has not been tested for the particular topic, so if you come across any issues, please use your usual support channel. Thanks.

Would love to but 4.8 does not have a folder in reference assemblies.

So again, how/when does this folder get created?  What part of the installation is failing?  4.8 was install as part of Windows Updates (as would have be 4.7.2, likely or as part of the BC installation).


Update workable badges / icons

Update workable badges / icons
Since the upstream changes have changed paramters (example, we use
'label' instead of 'name'), I've updated bootc for it to work.
Depends on: https://github.com/containers/podman-desktop/pull/5557
Signed-off-by: Charlie Drage<EMAIL_ADDRESS>

@deboer-tim suggestions on colours? Right now it's bright green.

@deboer-tim suggestions on colours? Right now it's bright green.

I don't think we have any official colors yet, so for now I'd just tone it down a bit. e.g. use one of our palette colors, or pick one of the Tailwind defaults that looks nice: https://tailwindcss.com/docs/customizing-colors#default-color-palette

🚀


Python library for fetchData

It'd be nice to also publish to pip something similar to what we did with the npm library here.
Just fetch the latest changes into dictionaries/lists that you can use in Python
See here for reference
https://github.com/opensource-observer/oss-directory/blob/main/src/fetchData.ts

Curious if instead of generating a library for each language, you could package the data into a CSV (after each commit with GitHub actions) and publish it somewhere (GitHub, S3, IPFS, ...) so it is curlable / downloadable.
Then in Python, getting the data could be pd.read_csv(oso.io/directory.csv) or something like that.

Yes! That's a great idea. I'm curious if you have any suggestions for how to encode the nested project schema?
https://github.com/opensource-observer/oss-directory/blob/main/src/resources/schema/project.json
Would you just create the equivalent relational tables to flatten it?

https://pypi.org/project/oss-directory/


Model different text representations

Proposal: Model UTF8 text as "pretty" as possible—it should be nice to look at, and contain as much UTF8 magik as possible. This would be contained in the txt feature. Then we implement a transcription feature (trans) to facilitate ease of search. The | symbol can be implemented as you say. But also other letters will be transcribed differently, so as to make them easily type-able. E.g. ḥ could become something like x in the transcription.
Originally posted by @codykingham in https://github.com/CambridgeSemiticsLab/nena_corpus/issues/5#issuecomment-502072345

If we want to create different text representations, then we should decide on sensible conventions. The problem is that with the texts from Urmi and Barwar, we have already 58 different symbols (not even counting accented vowels), including all regular latin characters. So to find an equivalent like x for ḥ for every character would be a challenge -- the only way I see would be using digraphs. Any ideas?

Transcription conventions draft added: https://github.com/CambridgeSemiticsLab/nena_corpus/commit/f502f93673402decc6cac96d2e2a9169c3468316
UTF-8 text representation added: https://github.com/CambridgeSemiticsLab/nena_corpus/commit/34b5a6597920f28e2133c382e1c3a1e8af50a7ab


[Pods] DCOS-9895: Have Pod and task tables use up available space before truncating

With this PR less important columns in the pod's instances table will be hidden on the smaller screens as we do for the regular app tasks table. In addition to that I introduced min-/max-width to make use of the empty space as stated in the ticket.

Can you make sure there is always enough space for reasonable value ranges for all the columns? Unfortunately the current implementation of expanding table does not properly handle full row heights and if a value wraps to the next line we have problems. For example:

Can you make sure there is always enough space for reasonable value ranges for all the columns? Unfortunately the current implementation of expanding table does not properly handle full row heights and if a value wraps to the next line we have problems. For example:

@wavesoft interesting, for me 128 doesn't break the line

Ok, couldn't reproduce the bug I reported. Could be a stale CSS.
Looks good! Excellent work! 💯  😄

@nLight NICE!
Separate issue: Do we know why the vertical alignment of Host/Port is off? In your screen shots it looks to be a couple pixels higher than the other columns.


Fixed flask clone url

Signed-off-by: fbrettnich<EMAIL_ADDRESS>

Learn Build status updates of commit d98745c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/python/tutorial-containerize-deploy-python-web-app-azure-02.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@diberry
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@diberry ping

#sign-off


Why do you use IList instead of List?

https://github.com/HenryGeorgist/fda-model/blob/d3430f62953874f88937882cafd7a1c8eaa3e7b8/paireddata/IPairedData.cs#L7

IList is the interface reference. Anything that implements IList could be used in this situation...


Swift3.2

This is for swift4.0.
Could you make swift3.2 version??

I f I want to use page menu on swift3.2 project, what should I do??


Install-Package Azure or AzureRM errors on Windows 10

Hello, I hope I'm in the right place. I'm attempting to install the latest Azure PowerTools and getting this error:

The same happens for Install-Module AzureRM -Force (I'm unsure the difference).
How can I get it to install?
$PSVersionTable
Name                           Value
----                           -----
PSVersion                      5.1.14393.693
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.693
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

@eanders-MS
Please ensure that you have installed the latest Windows updates on your machine. Alternatively, the latest version of PowerShellGet can be installed from PSGallery using the steps mentioned here.
After installing the latest version, open a new PS Console and try to install the AzureRM module with -Verbose -Debug switch parameters. Please provide debug output if your are unable to install it.

This issue got fixed in the latest version of PowerShellGet.


output size of 1×1 conv in GoogLeNetBN is different in chainer example and CNTK.

In GoogLeNetBN of Chainer example, the output size of of 1×1 conv in  Inc4c and inc4d is the following.
self.inc4c = L.InceptionBN(None, 128, 128, 160, 128, 160, 'avg', 128)
self.inc4d = L.InceptionBN(None, 64, 128, 192, 160, 192, 'avg', 128)

However, in CNTK output suze of the same layers is as follows.
(https://github.com/Microsoft/CNTK/blob/5f359c769997e594b171ec3254067bda9c8cc22e/Examples/Image/Classification/GoogLeNet/BN-Inception/BrainScript/BN-Inception.bs#L30-L33)
# 14 x 14 x 576
inception4c = InceptionWithAvgPoolLayer{160, 128, 160, 128, 160, 128, bnScale, bnTimeConst}(inception4b)
# 14 x 14 x 576
inception4d = InceptionWithAvgPoolLayer{96, 128, 192, 160, 192, 128, bnScale, bnTimeConst}(inception4c)

The same definitions as CNTK are used here as well.(https://github.com/lim0606/caffe-googlenet-bn/blob/d19caf526b7d8cad873ff91ba4cea602eadd58b3/deploy.prototxt#L1621)
I think that Chainer example should also define the same way as CNKT.
That is useful for training model.

Fixed via #4121.


bigquery: Add support for parsing SELECT AS VALUE and SELECT AS STRUCT

Closes #1126

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

-3 of 53 (94.34%)  changed or added relevant lines in 9 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 87.697%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tests/sqlparser_bigquery.rs
10
11
90.91%

src/parser/mod.rs
7
9
77.78%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
19688

Relevant Lines:
22450

💛  - Coveralls


package is focused on jupyter notebooks

I'd like to be able to install and use this package without any jupyter/ipython support. This for running the model on a server where these packages are unnecessary.
This would probably require these changes:

[x] Split the GLM class into one without visualizations (Core? or something like that) and one with (equal in functionality with current class.)

This may require creating two modules, so that the core module doesn't import any of the bokeh etc dependencies.
Also, the core module shouldn't ever read/write files to disk. It should only read data passed in from memory. File access is a separate concern.

[ ] Define an extras_require section in the setup file, allowing to install with jupyter dependencies or not.

Separations of concerns is a good idea.  I think the easiest thing to do is to strip out the UI methods and then throw them into a new class that inherits from the core GLMUtility class.  The UI methods are:
view, lift_chart, head_to_head, create_comparisons, view_comparisons, clear_comparisons, get_comparisons, get_comparisons_count, give_comparisons, static_view, create_lift, view_lifts, clear_lifts, get_lifts, get_lifts_count, give_lifts.
In order to not break existing code, I think I'll have GLMUtilityBase as the core and will put that in a separate module and then will make GLMUtility with the UI dependencies.

I've separated the package into two.  You should be able to access the core from /GLMUtility/Base/Base.py
Not well-versed in extra_require, but at least the core does not have any references to bokeh or ipywidgets

Here's all you need to do to get the extra_require to work.
diff --git a/setup.py b/setup.py
index 75ef10a..b1b2117 100644
--- a/setup.py
+++ b/setup.py
@@ -19,12 +19,14 @@ setuptools.setup(
         'Operating System :: OS Independent',
     ],
     install_requires=[
-        'bokeh',
-        'ipywidgets',
         'numpy',
         'pandas',
         'pyyaml',
         'scipy',
         'statsmodels',
     ],
+    extra_requires=[
+        'bokeh',
+        'ipywidgets',
+    ]
 )

Marking as closed.  If I missed something, let me know.


Error when installing

I tried installing this script but ran into an issue, not sure what to do.
I am running on a non-root user with no sudo access.
user@server ~ $ pip3 --version
pip 10.0.0 from /home/user/.local/lib64/python3.4/site-packages/pip (python 3.4)

user@server ~ $ python3 --version
Python 3.6.5

user@server ~ $ pip3 install --user wsaccel
Collecting wsaccel
  Downloading https://files.pythonhosted.org/packages/52/46/9ef0744b434ac723ae3aeddcb92ab29af14f8912f53f47590b5a0db0b9d6/wsaccel-0.6.2.tar.gz
Building wheels for collected packages: wsaccel
  Running setup.py bdist_wheel for wsaccel ... done
  Stored in directory: /home/user/.cache/pip/wheels/6c/30/e8/1ea54bc1e5bcf3ec2c5c91d393b02d2fb89121544e46645209
Successfully built wsaccel
Installing collected packages: wsaccel
Successfully installed wsaccel-0.6.2

user@server ~ $ rm -r src/
rm: remove write-protected regular file 'src/bw-plex/.git/objects/pack/pack-1812660c18bf9c4d17849b8ba7fb56365616b62e.pack'? y
rm: remove write-protected regular file 'src/bw-plex/.git/objects/pack/pack-1812660c18bf9c4d17849b8ba7fb56365616b62e.idx'? y

user@server ~ $ pip3 install -e git+https://github.com/Hellowlol/bw_plex.git#egg=bw_plex
Obtaining bw_plex from git+https://github.com/Hellowlol/bw_plex.git#egg=bw_plex
  Updating ./src/bw-plex clone
Collecting librosa (from bw_plex)
Collecting plexapi>=3.0.6 (from bw_plex)
Requirement already satisfied: joblib in ./.local/lib64/python3.4/site-packages (from bw_plex) (0.11)
Requirement already satisfied: numpy in ./.local/lib64/python3.4/site-packages (from bw_plex) (1.14.2)
Collecting docopt (from bw_plex)
Collecting click (from bw_plex)
  Using cached https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl
Requirement already satisfied: scipy in ./.local/lib64/python3.4/site-packages (from bw_plex) (1.0.1)
Collecting matplotlib (from bw_plex)
  Using cached https://files.pythonhosted.org/packages/c0/a1/fc0ab025db6c6189b377da66cb0fc281c6ad68021820ef7663d85e177b8d/matplotlib-2.2.2-cp34-cp34m-manylinux1_x86_64.whl
Collecting psutil (from bw_plex)
Collecting profilehooks (from bw_plex)
  Using cached https://files.pythonhosted.org/packages/b6/b2/d2dfe3bab029df73991a3ba244d94c24d4a96e2fa2aabe6bca85fcc67304/profilehooks-1.10.0-py2.py3-none-any.whl
Collecting sqlalchemy (from bw_plex)
Collecting configobj (from bw_plex)
Collecting youtube-dl (from bw_plex)
  Using cached https://files.pythonhosted.org/packages/38/98/759cc271d2cda665671a835689b3fb5c5dcd6a3a3cdaf81164dd270cb263/youtube_dl-2018.4.16-py2.py3-none-any.whl
Collecting beautifulsoup4 (from bw_plex)
  Using cached https://files.pythonhosted.org/packages/9e/d4/10f46e5cfac773e22707237bfcd51bbffeaf0a576b0a847ec7ab15bd7ace/beautifulsoup4-4.6.0-py3-none-any.whl
Collecting html5lib (from bw_plex)
  Using cached https://files.pythonhosted.org/packages/a5/62/bbd2be0e7943ec8504b517e62bab011b4946e1258842bc159e5dfde15b96/html5lib-1.0.1-py2.py3-none-any.whl
Collecting opencv-contrib-python (from bw_plex)
  Using cached https://files.pythonhosted.org/packages/5e/01/d482c01255bd2f742637bc83a93384d17bb595e5065b43e7665414850897/opencv_contrib_python-<IP_ADDRESS>-cp34-cp34m-manylinux1_x86_64.whl
Collecting pytesseract (from bw_plex)
Collecting pocketsphinx (from bw_plex)
  Using cached https://files.pythonhosted.org/packages/93/5f/a968e5d53d25e32deb78c3e169fd8612ecf53cc76e32cb40e19be35696af/pocketsphinx-0.1.3.tar.bz2
Collecting SpeechRecognition (from bw_plex)
  Using cached https://files.pythonhosted.org/packages/26/e1/7f5678cd94ec1234269d23756dbdaa4c8cfaed973412f88ae8adf7893a50/SpeechRecognition-3.8.1-py2.py3-none-any.whl
Collecting tablib (from bw_plex)
Requirement already satisfied: decorator>=3.0.0 in ./.local/lib64/python3.4/site-packages (from librosa->bw_plex) (4.3.0)
Collecting resampy>=0.2.0 (from librosa->bw_plex)
Requirement already satisfied: audioread>=2.0.0 in ./.local/lib64/python3.4/site-packages (from librosa->bw_plex) (2.1.5)
Requirement already satisfied: scikit-learn!=0.19.0,>=0.14.0 in ./.local/lib64/python3.4/site-packages (from librosa->bw_plex) (0.19.1)
Requirement already satisfied: six>=1.3 in ./.local/lib64/python3.4/site-packages (from librosa->bw_plex) (1.11.0)
Collecting requests (from plexapi>=3.0.6->bw_plex)
  Using cached https://files.pythonhosted.org/packages/49/df/50aa1999ab9bde74656c2919d9c0c085fd2b3775fd3eca826012bef76d8c/requests-2.18.4-py2.py3-none-any.whl
Collecting tqdm (from plexapi>=3.0.6->bw_plex)
  Using cached https://files.pythonhosted.org/packages/78/bc/de067ab2d700b91717dc5459d86a1877e2df31abfb90ab01a5a5a5ce30b4/tqdm-4.23.0-py2.py3-none-any.whl
Collecting websocket-client (from plexapi>=3.0.6->bw_plex)
  Using cached https://files.pythonhosted.org/packages/9d/fb/f51a03e232e00d6c504dfe815aed090c894ba3f8d3f7fd9612f3e227bf24/websocket_client-0.47.0-py2.py3-none-any.whl
Collecting pytz (from matplotlib->bw_plex)
  Using cached https://files.pythonhosted.org/packages/dc/83/15f7833b70d3e067ca91467ca245bae0f6fe56ddc7451aa0dc5606b120f2/pytz-2018.4-py2.py3-none-any.whl
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 (from matplotlib->bw_plex)
  Using cached https://files.pythonhosted.org/packages/6a/8a/718fd7d3458f9fab8e67186b00abdd345b639976bc7fb3ae722e1b026a50/pyparsing-2.2.0-py2.py3-none-any.whl
Collecting python-dateutil>=2.1 (from matplotlib->bw_plex)
  Using cached https://files.pythonhosted.org/packages/0c/57/19f3a65bcf6d5be570ee8c35a5398496e10a0ddcbc95393b2d17f86aaaf8/python_dateutil-2.7.2-py2.py3-none-any.whl
Collecting cycler>=0.10 (from matplotlib->bw_plex)
  Using cached https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl
Collecting kiwisolver>=1.0.1 (from matplotlib->bw_plex)
  Using cached https://files.pythonhosted.org/packages/12/51/019f130533d1561c07a5e9877bed100bafca9864a52eaddc0db1d40da0b8/kiwisolver-1.0.1-cp34-cp34m-manylinux1_x86_64.whl
Collecting webencodings (from html5lib->bw_plex)
  Using cached https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl
Collecting Pillow (from pytesseract->bw_plex)
  Using cached https://files.pythonhosted.org/packages/c6/c1/dfd3b4d0ddd92cf2ef6bb2b0786649b29fb7e1dd560c00f5ac0383aa7023/Pillow-5.1.0-cp34-cp34m-manylinux1_x86_64.whl
Collecting xlwt (from tablib->bw_plex)
  Using cached https://files.pythonhosted.org/packages/44/48/def306413b25c3d01753603b1a222a011b8621aed27cd7f89cbc27e6b0f4/xlwt-1.3.0-py2.py3-none-any.whl
Collecting odfpy (from tablib->bw_plex)
Requirement already satisfied: pyyaml in ./.local/lib64/python3.4/site-packages (from tablib->bw_plex) (3.12)
Collecting unicodecsv (from tablib->bw_plex)
Collecting openpyxl (from tablib->bw_plex)
Collecting xlrd (from tablib->bw_plex)
  Using cached https://files.pythonhosted.org/packages/07/e6/e95c4eec6221bfd8528bcc4ea252a850bffcc4be88ebc367e23a1a84b0bb/xlrd-1.1.0-py2.py3-none-any.whl
Collecting numba>=0.32 (from resampy>=0.2.0->librosa->bw_plex)
Collecting chardet<3.1.0,>=3.0.2 (from requests->plexapi>=3.0.6->bw_plex)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting urllib3<1.23,>=1.21.1 (from requests->plexapi>=3.0.6->bw_plex)
  Using cached https://files.pythonhosted.org/packages/63/cb/6965947c13a94236f6d4b8223e21beb4d576dc72e8130bd7880f600839b8/urllib3-1.22-py2.py3-none-any.whl
Collecting idna<2.7,>=2.5 (from requests->plexapi>=3.0.6->bw_plex)
  Using cached https://files.pythonhosted.org/packages/27/cc/6dd9a3869f15c2edfab863b992838277279ce92663d334df9ecf5106f5c6/idna-2.6-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests->plexapi>=3.0.6->bw_plex)
  Using cached https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl
Requirement already satisfied: setuptools in ./.local/lib64/python3.4/site-packages (from kiwisolver>=1.0.1->matplotlib->bw_plex) (39.0.1)
Collecting et-xmlfile (from openpyxl->tablib->bw_plex)
Collecting jdcal (from openpyxl->tablib->bw_plex)
  Using cached https://files.pythonhosted.org/packages/a0/38/dcf83532480f25284f3ef13f8ed63e03c58a65c9d3ba2a6a894ed9497207/jdcal-1.4-py2.py3-none-any.whl
Collecting llvmlite>=0.22.0.dev0 (from numba>=0.32->resampy>=0.2.0->librosa->bw_plex)
  Using cached https://files.pythonhosted.org/packages/b4/f4/ddc252b83257bbf3922e47c5042a2e28e68bd36146a932adda3010c48377/llvmlite-0.22.0.tar.gz
Building wheels for collected packages: pocketsphinx, llvmlite
  Running setup.py bdist_wheel for pocketsphinx ... error
  Complete output from command /usr/lib/python-exec/python3.4/python3 -u -c "import setuptools, tokenize;__file__='/home/user/tmp/pip-install-oxraeg71/pocketsphinx/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /home/user/tmp/pip-wheel-bsi9_3h1 --python-tag cp34:
  running bdist_wheel
  running build_ext
  building 'sphinxbase._ad' extension
  swigging swig/sphinxbase/ad.i to swig/sphinxbase/ad_wrap.c
  swig -python -modern -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/android -Ideps/sphinxbase/swig -outdir sphinxbase -o swig/sphinxbase/ad_wrap.c swig/sphinxbase/ad.i
  creating build
  creating build/temp.linux-x86_64-3.4
  creating build/temp.linux-x86_64-3.4/swig
  creating build/temp.linux-x86_64-3.4/swig/sphinxbase
  creating build/temp.linux-x86_64-3.4/deps
  creating build/temp.linux-x86_64-3.4/deps/sphinxbase
  creating build/temp.linux-x86_64-3.4/deps/sphinxbase/src
  creating build/temp.linux-x86_64-3.4/deps/sphinxbase/src/libsphinxad
  x86_64-pc-linux-gnu-gcc -pthread -fPIC -DSPHINXBASE_EXPORTS -DPOCKETSPHINX_EXPORTS -DSPHINX_DLL -DHAVE_CONFIG_H -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/android -I/usr/include/python3.4m -c swig/sphinxbase/ad_wrap.c -o build/temp.linux-x86_64-3.4/swig/sphinxbase/ad_wrap.o -Wno-unused-label -Wno-strict-prototypes -Wno-parentheses -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-result -Wno-sign-compare -Wno-misleading-indentation
  x86_64-pc-linux-gnu-gcc -pthread -fPIC -DSPHINXBASE_EXPORTS -DPOCKETSPHINX_EXPORTS -DSPHINX_DLL -DHAVE_CONFIG_H -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/android -I/usr/include/python3.4m -c deps/sphinxbase/src/libsphinxad/ad_pulse.c -o build/temp.linux-x86_64-3.4/deps/sphinxbase/src/libsphinxad/ad_pulse.o -Wno-unused-label -Wno-strict-prototypes -Wno-parentheses -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-result -Wno-sign-compare -Wno-misleading-indentation
  deps/sphinxbase/src/libsphinxad/ad_pulse.c:44:10: fatal error: pulse/pulseaudio.h: No such file or directory
   #include <pulse/pulseaudio.h>
            ^~~~~~~~~~~~~~~~~~~~
  compilation terminated.
  error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1

  ----------------------------------------
  Failed building wheel for pocketsphinx
  Running setup.py clean for pocketsphinx
  Running setup.py bdist_wheel for llvmlite ... error
  Complete output from command /usr/lib/python-exec/python3.4/python3 -u -c "import setuptools, tokenize;__file__='/home/user/tmp/pip-install-oxraeg71/llvmlite/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /home/user/tmp/pip-wheel-jwxnwxkd --python-tag cp34:
  running bdist_wheel
  /usr/lib/python-exec/python3.4/python3 /home/user/tmp/pip-install-oxraeg71/llvmlite/ffi/build.py
  LLVM version... Traceback (most recent call last):
    File "/home/user/tmp/pip-install-oxraeg71/llvmlite/ffi/build.py", line 91, in main_posix
      out = subprocess.check_output([llvm_config, '--version'])
    File "/usr/lib64/python3.4/subprocess.py", line 604, in check_output
      with Popen(*popenargs, stdout=PIPE, **kwargs) as process:
    File "/usr/lib64/python3.4/subprocess.py", line 856, in __init__
      restore_signals, start_new_session)
    File "/usr/lib64/python3.4/subprocess.py", line 1464, in _execute_child
      raise child_exception_type(errno_num, err_msg)
  FileNotFoundError: [Errno 2] No such file or directory: 'llvm-config'

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/home/user/tmp/pip-install-oxraeg71/llvmlite/ffi/build.py", line 141, in <module>
      main()
    File "/home/user/tmp/pip-install-oxraeg71/llvmlite/ffi/build.py", line 131, in main
      main_posix('linux', '.so')
    File "/home/user/tmp/pip-install-oxraeg71/llvmlite/ffi/build.py", line 94, in main_posix
      "to the path for llvm-config" % (llvm_config,))
  RuntimeError: llvm-config failed executing, please point LLVM_CONFIG to the path for llvm-config
  error: command '/usr/lib/python-exec/python3.4/python3' failed with exit status 1

  ----------------------------------------
  Failed building wheel for llvmlite
  Running setup.py clean for llvmlite
Failed to build pocketsphinx llvmlite
Installing collected packages: llvmlite, numba, resampy, librosa, chardet, urllib3, idna, certifi, requests, tqdm, websocket-client, plexapi, docopt, click, pytz, pyparsing, python-dateutil, cycler, kiwisolver, matplotlib, psutil, profilehooks, sqlalchemy, configobj, youtube-dl, beautifulsoup4, webencodings, html5lib, opencv-contrib-python, Pillow, pytesseract, pocketsphinx, SpeechRecognition, xlwt, odfpy, unicodecsv, et-xmlfile, jdcal, openpyxl, xlrd, tablib, bw-plex
  Running setup.py install for llvmlite ... error
    Complete output from command /usr/lib/python-exec/python3.4/python3 -u -c "import setuptools, tokenize;__file__='/home/user/tmp/pip-install-oxraeg71/llvmlite/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /home/user/tmp/pip-record-8l2fmyvi/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    got version from file /home/user/tmp/pip-install-oxraeg71/llvmlite/llvmlite/_version.py {'version': '0.22.0', 'full': '46b4b5e288f3a175332ad68d8c3745c63fbb5701'}
    running build_ext
    /usr/lib/python-exec/python3.4/python3 /home/user/tmp/pip-install-oxraeg71/llvmlite/ffi/build.py
    LLVM version... Traceback (most recent call last):
      File "/home/user/tmp/pip-install-oxraeg71/llvmlite/ffi/build.py", line 91, in main_posix
        out = subprocess.check_output([llvm_config, '--version'])
      File "/usr/lib64/python3.4/subprocess.py", line 604, in check_output
        with Popen(*popenargs, stdout=PIPE, **kwargs) as process:
      File "/usr/lib64/python3.4/subprocess.py", line 856, in __init__
        restore_signals, start_new_session)
      File "/usr/lib64/python3.4/subprocess.py", line 1464, in _execute_child
        raise child_exception_type(errno_num, err_msg)
    FileNotFoundError: [Errno 2] No such file or directory: 'llvm-config'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/home/user/tmp/pip-install-oxraeg71/llvmlite/ffi/build.py", line 141, in <module>
        main()
      File "/home/user/tmp/pip-install-oxraeg71/llvmlite/ffi/build.py", line 131, in main
        main_posix('linux', '.so')
      File "/home/user/tmp/pip-install-oxraeg71/llvmlite/ffi/build.py", line 94, in main_posix
        "to the path for llvm-config" % (llvm_config,))
    RuntimeError: llvm-config failed executing, please point LLVM_CONFIG to the path for llvm-config
    error: command '/usr/lib/python-exec/python3.4/python3' failed with exit status 1

    ----------------------------------------
Command "/usr/lib/python-exec/python3.4/python3 -u -c "import setuptools, tokenize;__file__='/home/user/tmp/pip-install-oxraeg71/llvmlite/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /home/user/tmp/pip-record-8l2fmyvi/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /home/user/tmp/pip-install-oxraeg71/llvmlite

Try to install swig. This needs to be in your systems path :)

Sorry about that, when I first made the post I didn't see the swig command not found error, so I installed it locally in my users bin folder and the command ended up working. I updated the original post not long after making it but I guess you saw an email of the old log. The error I see now in the original post is
x86_64-pc-linux-gnu-gcc -pthread -fPIC -DSPHINXBASE_EXPORTS -DPOCKETSPHINX_EXPORTS -DSPHINX_DLL -DHAVE_CONFIG_H -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/android -I/usr/include/python3.4m -c deps/sphinxbase/src/libsphinxad/ad_pulse.c -o build/temp.linux-x86_64-3.4/deps/sphinxbase/src/libsphinxad/ad_pulse.o -Wno-unused-label -Wno-strict-prototypes -Wno-parentheses -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-result -Wno-sign-compare -Wno-misleading-indentation
  deps/sphinxbase/src/libsphinxad/ad_pulse.c:44:10: fatal error: pulse/pulseaudio.h: No such file or directory
   #include <pulse/pulseaudio.h>
            ^~~~~~~~~~~~~~~~~~~~
  compilation terminated.
  error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1

  ----------------------------------------
  Failed building wheel for pocketsphinx

Looks like I'm missing pulseaudio although since I'm on a non-root user I can't easily use a package manager to install.

I think I was able to install pulseaudio locally but I am running into an issue with running the script still. I had ran into a similar issue with duplicity but was able to fix that with a variable they had set in their setup.py called --librsync-dir= which I was able to point to my home folder for it to use that instead of the /usr/local I believe, that fixed the issue for me
With attempting to run the script now I get
    x86_64-pc-linux-gnu-gcc -pthread -fPIC -DSPHINXBASE_EXPORTS -DPOCKETSPHINX_EXPORTS -DSPHINX_DLL -DHAVE_CONFIG_H -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/android -I/usr/include/python3.6m -c swig/sphinxbase/ad_wrap.c -o build/temp.linux-x86_64-3.6/swig/sphinxbase/ad_wrap.o -Wno-unused-label -Wno-strict-prototypes -Wno-parentheses -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-result -Wno-sign-compare -Wno-misleading-indentation
    x86_64-pc-linux-gnu-gcc -pthread -fPIC -DSPHINXBASE_EXPORTS -DPOCKETSPHINX_EXPORTS -DSPHINX_DLL -DHAVE_CONFIG_H -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/android -I/usr/include/python3.6m -c deps/sphinxbase/src/libsphinxad/ad_pulse.c -o build/temp.linux-x86_64-3.6/deps/sphinxbase/src/libsphinxad/ad_pulse.o -Wno-unused-label -Wno-strict-prototypes -Wno-parentheses -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-result -Wno-sign-compare -Wno-misleading-indentation
    deps/sphinxbase/src/libsphinxad/ad_pulse.c:44:10: fatal error: pulse/pulseaudio.h: No such file or directory
     #include <pulse/pulseaudio.h>
              ^~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1

But in my /home/user/include/pulse folder I see pulseaudio.h but it is not using this home folder path to locate it.
Here is a link to duplicity's implementation https://github.com/henrysher/duplicity/blob/master/setup.py#L39

I’m a windows user so I have no idea how to fix this. You should try stack overflow.

You prob fixed this already, but if anyone has this issue on Ubuntu, you have to install libpulse-dev to make it recognize pulse/pulseaudio.h.
sudo apt-get install libpulse-dev should work.

I am unable to install packages globally, but yeah that would fix the issue. Although I am unable to specify the path to look for libpulse, I'd like it to look in my $home folder as the root.

oh, was that the issue. I already has solve this for travis. You might want to take a look at that file.

I have created that dockerfile you can use to run bw_plex


Error: Too many private routes

I am getting too many private routes: 21 sometimes when I try and create an invoice

This node has 250+ channels, so I suspect that is the issue. Also, it seems here in this commit this may have been addressed: https://github.com/LN-Zap/zap-iOS/commit/a2e9538cb44b36796394f96c4d89fdfa7f6fd631#diff-c362da488d2ab9169badbfdad7459469L116

this error comes directly from lnd. lnd limits invoices to not contain more than 20 route hints, but seems to add more than that regardless:
(https://github.com/lightningnetwork/lnd/blob/aa1cd04dbf07a9195d5ada752f383988d8d01fa7/zpay32/invoice.go#L509)

maybe add an issue to the lnd github

Ok, closing


Japanese Translate

Hi, there.
This software is awesome, so I'd like to translate README.md into Japanese so that more Japanese developers can use it.
Do you mind if I do that?

Sure, that sounds great!

Thanks!! I'll do that.


command 'extension.relativePath' not found

osx version: 10.13.6 (17G65)
vscode version: 1.33.0 (1.33.0)
Relative Path vertion: 1.4.0
I worked for minutes in vscode and relativePath was fine always. but after a little of time, vscode show message command 'extension.relativePath' not found when press shift command H.
I try reinstall relative or restart vscode, it happened always. i losted the nice plugin.
help me.

nobody help me . -_-

i resolved it.
command 'extension.relativePath' not found when current editor file path is absolute path. close the file, and open it relative your project folder. extenstion worked well after then.


proc_open workaround

Hi there, I am on shared hosting, and I do not have access to proc_open. I am using phpVMS 7, and this is the error I get:
The Process class relies on proc_open, which is not available on your PHP installation.
Could I bypass these dependencies somehow?
Thanks!

Hey, what were you doing when you got this error?

I had just installed it, and had opened up my site to set it up

Can you attach the logs in storage/logs?

laravel-2019-12-05 (1).log
Here it is

Is that the only file? I see a bunch of database errors. Did a env.php and config.php get created?

No

There are no other files in 'storage/logs' apart from '.gitignore'

Ok so an env.php and config.php didn't get created?

Here is a screenshot if it helps of the error

No

Interesting... which version is this? That error page looks pretty old.

How do I check?

Ah in VERSION it says this: 7.0.0+191119.a335ed

Interesting... which version is this? That error page looks pretty old.

Ok, I reinstalled it, I still get the same error. the version is: 7.0.0+191119.a335ed
Here is the error log:
laravel-2019-12-05 (2).log

All I did was download the ZIP file, upload to my website, and extracted it.

Which zip file? Dev or one of the beta versions?

One of the beta versions: beta 2

Ok, lemme dig into it and see what's going on.

Who's your host?

Ok thank you. My host is heliohost.org

Ive asked heliohost whether they can add proc_open however they have said no due to security reasons. Any way around this?

I'm trying to figure out where proc_open is even being used

It looks like it's something in Laravel itself:
https://github.com/laravel/framework/issues/30054

Ah i see. Should I use phpVMS 5, then, as it is not built on the Laravel framework?

Not yet, lets try this workaround someone put

Ok, could you show me how to do it? I'm slightly confused

Ok, what do I do with that?

Do I add a file named flare.php?

Do you know how to work with git? You can checkout the branch, or, grab this file:
https://raw.githubusercontent.com/nabeelio/phpvms/a63e4d4e4480a302eccb7f53e5602d8af13731d9/config/flare.php
Place it in the config directory. You might have to delete everything in the bootstrap/cache folder if it doesn't do anything.

Ok thanks, except now, I have this error:
Illuminate\Database\QueryException SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) (SQL: select type, valuefromsettingswhereid = general_theme) http://ifhub.heliohost.org/phpvms/

Delete the env.php and config.php files and then try reinstalling. I think something else went wrong during the installer.

ok

Sorry, where are the env.php and the config.php files?

And its definitely for this error, right?

They'd be in the root of the install

Ok thank you I'll try again

And all I need to do is upload the files to my public_html folder and open up the website to run the installer? I dont need to setup any databases or anything?

You need to configure the database, like create it, and create the credentials. You'll need those when you run the installer.
http://docs.phpvms.net/setup/installation

Ok thank you. I'll let you know if I run into any other issues

Still getting this error!
Any help is (again) appreciated

When you start the installer, it should prompt you to enter your database credentials. If you enter them and click test, does that work?

I added a screenshot to the installer docs page on the MySQL Database Wizard in cPanel that you need to use.

No that is what I get when I start the installer, it hasnt even asked my to enter database credentials yet!

No that is what I get when I start the installer, it hasnt even asked my to enter database credentials yet!

(as in I haven't seen the installer yet, I have just opened the website, and this is what I get)

Dont worry, it works great with the latest dev release. Thanks for the help!


Could you please share with me the parameters of your VGG11 model trained on CIFAR-10? I would really appreciate it!

Could you please share with me the parameters of your VGG11 model trained on CIFAR-10?I need to use it for experiments, but my hardware is somewhat outdated, making training a bit troublesome. Thanks again!

Hi! Thanks for your attention!
I have shared them on this page: https://github.com/SunnyHaze/CIFAR10-VGG-Pytorch/releases/tag/v0.0.1
You can download these checkpoints and initialize the model respectively.

I hope this helps you. If you have further questions, feel free to reach out!


HSEARCH-2570 & HSEARCH-2571 Upgrade maven plugins to support Java 8 code

https://hibernate.atlassian.net/browse/HSEARCH-2570
https://hibernate.atlassian.net/browse/HSEARCH-2571
Needed for my implementation of HSEARCH-2561 in particular; the current checkstyle simply rejects any Java 8 constructs.

Actually it seems some plugin upgrades are required to support Java 8 code. Investigating.

@Sanne It works, at last... Here's a proof, a build based on this PR that also adds some lambdas: https://travis-ci.org/yrodiere/hibernate-search/builds/197313903
Please note that I also had to fix HSEARCH-2571, which involves many maven plugin upgrades. I didn't test the release scripts. I'm not sure whether it's possible to run those in an isolated environment... ?

TODO: when this will be merged, see https://github.com/yrodiere/hibernate-search/commit/a62a9e2e31edbb31f83ee3b893afb43b19659c42#commitcomment-20699212

interesting, building this branch crashes my JVM.. good luck debugging that :D

 A fatal error has been detected by the Java Runtime Environment:

  SIGSEGV (0xb) at pc=0x00007f216dd86b84, pid=32512, tid=0x00007f216eaf7700

 JRE version: OpenJDK Runtime Environment (8.0_92-b14) (build 1.8.0_92-b14)
 Java VM: OpenJDK 64-Bit Server VM (25.92-b14 mixed mode linux-amd64 compressed oops)
 Problematic frame:
 C  [libc.so.6+0x90b84]  __memcpy_sse2_unaligned_erms+0x1a4

 Core dump written. Default location: /home/sanne/workspaces/hibernate/hibernate-search-root/core or core.32512

 An error report file with more information is saved as:
 /home/sanne/workspaces/hibernate/hibernate-search-root/hs_err_pid32512.log

regarding the release scripts: yes I'm quite sure something will break there, but since we plan to release a CR and have no strict deadline we can cross fingers.
I think we can in theory test the process, by having Jenkins not push to the repository its changes (nor tags), and then delete the directory from sourceforge. Not sure about the documentation.
I'd say let's just cross fingers.

@Sanne It doesn't crash mine... I'm using a slightly more recent version of the JDK, though (u101). The newest is u121, by the way.
I'm trying u92 right now. Could you please try the most recent JDK, and if it still fails provide the error report file? Thanks.

@Sanne Works for me even with 1.8.0_92-b14 with the exact same architecture... Are you able to reproduce it consistently?

"almost consistently": approximately 50% chance it triggered, last night on my workstation.. Switching hardware now to rule out deeper issues.. not that I have much choice, I need to be in the office today, so laptop it is.

Ok, I'm running the build on 1.8.0_92-b14 in a loop. I'll keep you updated.

whoa, same failure on the laptop. That starts to look like unlikely to be related to hardware issues..
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f6d7728b711, pid=11965, tid=0x00007f6d77f42700
#
# JRE version: OpenJDK Runtime Environment (8.0_92-b14) (build 1.8.0_92-b14)
# Java VM: OpenJDK 64-Bit Server VM (25.92-b14 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libc.so.6+0x14f711]  __memmove_avx_unaligned_erms+0x211
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/sanne/workspaces/hibernate/hibernate-search-root/hs_err_pid11965.log

whoa, same failure on the laptop.

Still nothing on mine :/
Nothing of interest in /home/sanne/workspaces/hibernate/hibernate-search-root/hs_err_pid11965.log?

merged, thanks!


Updated md to new article author for yammer docset

This is based on Joanne Hendrickson's comment found in PR #719

@JoanneHendrickson - PR has been copy edited and is ready for final review.
Thank you.
cc: @kenwith

@JoanneHendrickson - I would like to follow on this. Can you please merge this PR for the yammer author metadata update?
@kenwith @CrystalThomasMS - Would you be able to help in merging this PR?
Thank you.


Work around ziglang/zig #17882

As discussed on Discord with @mattnite, working around (suspected) Zig 0.11.0 bug https://github.com/ziglang/zig/issues/17882 in microzig.
(Issue #154 created to revert this in the next Zig release that fixes this.)

I guess we can close this as we're on 0.13 now?


Jhotchkiss uk patch 1

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

Hi there, i'm afraid these were mistakes (as i'm learning Git) and i didnt intend these to go to the Microsoft Repo, but thought i was just merging back into my own master (i.e. the forked version) please feel free to delete this. i'll try not to do this again.


Add --delete flag to update context command

When updating the current context, the '--delete' flag will indicate users want to remove the key/value pair from the current context file.
Fix: #407 fn update context should support deleting context entries

@riconnon Thanks for creating #437 👍
I have fixed the issue with 'point 2' we now check if 'value' is empty and error.

Could we add tests for --delete and the new empty value error?


refactor!: Stop vendoring deps

BREAKING CHANGE:  dependencies will not be vendored dependent users must provide requirements

:tada: This PR is included in version 3.0.0-beta.1 :tada:
The release is available on:

v3.0.0-beta.1
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.0.0 :tada:
The release is available on:

v3.0.0
GitHub release

Your semantic-release bot :package::rocket:


Adds ability to specify a tag prefix. Fixes #28

Please Add this feature.
BTW: The CI check is here on pending but in travis ist is marked as completed ???

Yeah, I think the CI sync bugged out :smile:


Eternally loading Flutter

Launching lib/main.dart on Linux in debug mode...
✓ Built build/linux/x64/debug/bundle/handlebar

When i follow the example and its documentation, flutter never gets past the "built" and never shows the window. It just hangs there forever.

I’m sorry, but I can’t seem to reproduce this issue. I’ve tested it on both Ubuntu and EndeavourOS, both the operating systems and flutter were up to date.
Just to confirm, there are no error messages, correct? Also, could you try building the app in release mode.
flutter run --release


If analytics server is not running, do not attempt to load data

If analytics server is not running (which we can check from core server profile), do not attempt to load data from analytics.  Give an informative message telling so

Fixed with https://github.com/wso2/carbon-device-mgt/pull/832, https://github.com/wso2/carbon-device-mgt/pull/837


Create apidocs.verida.io

Create autobuild from old data store library, in package.json
deploy

@nick-verida Is this a dupe of #70 ?


To Reproduce
Needs investigation on when and why, is it also valid for other MO's?
Expected behavior
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context

It may be related to when Admin-state is set to enabled already in the Satellite provisioning UI?


WIP: Fix HW breakpoints and remove caching of breakpoints in CoreStatus

I've removed breakpoint caching from CoreStatus, and added a new trait CoreInterface::get_hw_breakpoints
The new trait has an implementation for m4.rs, and a default todo!() implementation for the other architectures.
If you are OK with this new implementation, then we should extend implementation and testing to the other architectures.

Thanks, I will make those small corrections. I was holding off on the other architectures until we have alignment with the m4 approach. I will proceed with those now, but fair warning, I have no experience with those, nor do I have the ability to test, so I might need some help.

Is there anything blocking the implementation for the other architectures? That has to be done before we can merge the PR.

Hi @Tiwalun. I've now added implementations of get_hw_breakpoints for M0 and M33. Can you recommend someone I can tag to do the same for RISV?

cc @Disasm

Hi @Disasm,
Are you open to helping me finish this PR by doing the riscv implementation?

cc @Disasm

Sorry, I don't have time and knowledge to help with this at the moment.

@Tiwalun ... I've implemented this for all architectures now, but am only able to test against m4.rs with 'FPB Version 2'.  Thanks for pointing me at the riscv docs - it turned out to be a lot cleaner than I expected. Let me know if you think I am checking too many conditions to evaluate if a hw_breakpoint is to be returned as valid.

I have discovered some other RISCV issues while trying to test these changes, which prevent me from testing this PR. It might take some time until I'm able to look at this, unfortunately.

I have discovered some other RISCV issues while trying to test these changes, which prevent me from testing this PR. It might take some time until I'm able to look at this, unfortunately.

@Tiwalun ... can we consider promoting the Cortex changes, and open an Issue against the untested (or other issues you discovered) parts of for RISCV. Having those Cortex fixes in the debugger makes a huge improvement to the VSCode debug experience, and I think we will discover more improvements once these are in production.

If you fix the conflict in the changelog I can merge this :) Sorry, took me too long :/

This still needs a merge/rebase with master :)


Gcloud Build fails when using a Procfile with custom command names

Describe the bug
Hello, I am building an app containing several workers for Cloud Run Jobs.
I followed the steps in the documentation and had a look at some of the examples but could not find a precise answer for the behaviour I am facing.
I am trying to issue the following command:
gcloud builds submit --pack image=gcr.io/my-project-id/uploader
I have a Procfile that looks like the following:
workeruploadprofiles: npx tsx src/data-pipeline/uploadProfilesToS3.ts
workeruploadjobs: npx tsx src/data-pipeline/uploadAirtableToS3.ts

When I build I expect my app build to succeed. It does not. It fails with the following error:
Step #1: ERROR: failed to build: executing lifecycle: failed with status code: 51

If I replace the content of my Procfile with just:
worker: npx tsx src/data-pipeline/uploadProfilesToS3.ts

It fails again.
The only way I can get the build to succeed is by setting the following:
web: npx tsx src/data-pipeline/uploadProfilesToS3.ts

This is not only weird (I dont need to open a port, this is not a server).
The documentation is not quite clear imo about web being mandatory in the Procfile.
Why is web mandatory? Is it normal behaviour?
Additional context
How are you using GCP buildpacks?

[x] pack and the gcr.io/buildpacks/builder
[ ] Cloud Functions
[x] Cloud Run
[ ] Cloud Build
[ ] App Engine Standard
[ ] App Engine Flex

What language is your project primarily written in?
Node.js

Just verified that this suggested workaround will work until a proper fix is rolled out,


change refund delay to match the system contract

daobet-cli was prompting for a refund before the unstaking period completed
it should match the value on
https://github.com/DaoCasino/DAOBET.contracts/blob/24c85779041b13e3ae23387cf522c9c2f8adb2a4/contracts/eosio.system/src/delegate_bandwidth.cpp#L29

Hello!
Thank you a lot for PR. Please change target branch to develop (now it's master). Then we will merge it. All features are included to project according this flow.


Enrich -all commands outputs

Hi!
Currently when you want to run any *-all command Terragrunt prints outputs and when some problem/change occurs, you need to study whole log of all modules - it's quite problematic in my case for example, because i have about 15 components and output is very big and messy.
Additionally apply/destroy when some components fails print message like
Hit multiple errors:
exit status 1
exit status 1
exit status 1

So what do you think about improvements like:

Better error messages - pass context to error handler to at least print which module failed with error - and in result print better multiple error output
Better plan messages - similar idea to errors - pass context and show which modules are changed at the end of log
Create log-file/component for faster navigation between plan/error logs

I'm not sure if I'm able to implement it - I'm not into Go, but i can try ;P

Completely agree. PR(s) to improve this functionality are very welcome 👍
I'm going to close this issue as a duplicate of https://github.com/gruntwork-io/terragrunt/issues/78, https://github.com/gruntwork-io/terragrunt/issues/80, and https://github.com/gruntwork-io/terragrunt/issues/74, all of which came earlier.


setup daily build of rakudo with enough modules to run doc.

See http://irclog.perlgeek.de/perl6/2016-08-02#i_12957335  for discussion.
Goal is to cut down on travis build times, and this could be shared with other Perl 6 projects doing travis testing.

I'd go about this by setting up an automated docker build for every commit to rakudo and package the modules inside the container. It would help for the docs and just be nice to have in general. Travis has docker built in so other projects could run their tests against the image.

Is this still relevant? Has the automated build been set up?

If the goal is to cut down travis build, we are using pre-built binaries from Whateverable. Allow me to close this as no longer relevant.

These builds don't come with precomped modules though, and that could potentially save ≈22% of the test time (more than 3 minutes). You decide if that's significant enough or not.

Is there a list of the needed modules?

@nxadm yes, see this: https://travis-ci.org/perl6/doc/builds/353746161#L1490

There's #1765 which, for the time being, is in my own branch...