There shouldn't just be one file that holds all of the models.

create a models folder, then move the Person and Email models into different files. Don't forget the init.py and create db instance!

can you provide me an example of how to do this ??

right now, the path to models.py is api/models.py. It may be more modular if we moved it so we would have this structure:

api/

models/
- __init__.py in which db is initialized here.
- Person.py
- Email.py

I should also be able to do from api.models import Person, Email and import the Person object

Got it. Thank you

can you provide me examples to run test cases on post methods with authorization? that would be lot of help to my project.

there’s multiple ways of doing authentication so I can’t give you a specific example. Look into the test client api though. http://flask.pocoo.org/docs/1.0/api/#test-client

On Aug 14, 2018, at 5:30 AM, yashg5<EMAIL_ADDRESS>wrote:
can you provide me examples to run test cases on post methods with authorization? that would be lot of help to my project.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

fixed


Building error

Hello! I'm seeing a problem with building the app on Next.js via Cloudflare Pages.
Build setting:
NODE_VERSION = 16
Build command: npx @cloudflare/next-on-pages --experimental-minify
My packages:
  "dependencies": {
    "@rainbow-me/rainbowkit": "^0.8.1",
    "classnames": "^2.3.2",
    "ethers": "^5.7.2",
    "next": "13.1.5",
    "normalize.css": "^8.0.1",
    "react": "18.2.0",
    "react-burger-menu": "^3.0.9",
    "react-dom": "18.2.0",
    "react-google-recaptcha": "^2.1.0",
    "react-router-dom": "^6.8.0",
    "react-toastify": "^9.1.1",
    "sass": "^1.57.1",
    "usehooks-ts": "^2.9.1",
    "wagmi": "^0.9.6",
    "web-vitals": "^3.1.1"
  },
  "devDependencies": {
    "@types/node": "^18.11.18",
    "@types/react": "^18.0.27",
    "@types/react-burger-menu": "^2.8.3",
    "@types/react-dom": "^18.0.10",
    "eslint": "^8.32.0",
    "eslint-config-next": "^13.1.5",
    "eslint-config-prettier": "^8.6.0",
    "eslint-plugin-prettier": "^4.2.1",
    "prettier": "^2.8.3",
    "typescript": "^4.9.4",
    "vercel": "^28.13.2"
  }

15:19:16.824 | > Successfully installed Yarn 1.22.19! Please open another terminal where the `yarn` command will now be available.
-- | --
15:19:17.194 | Installing NPM modules using Yarn version 1.22.19
15:19:17.625 | npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
15:19:17.625 | npm WARN config location in the cache, and they are managed by
15:19:17.626 | npm WARN config     [`cacache`](http://npm.im/cacache).
15:19:17.860 | yarn install v1.22.19
15:19:17.934 | [1/4] Resolving packages...
15:19:18.158 | [2/4] Fetching packages...
15:19:34.390 | error Command failed.
15:19:34.390 | Exit code: 128
15:19:34.390 | Command: git
15:19:34.390 | Arguments: ls-remote --tags --heads<EMAIL_ADDRESS>15:19:34.390 | Directory: /opt/buildhome/repo
15:19:34.391 | Output:
15:19:34.391 | Host key verification failed.
15:19:34.391 | fatal: Could not read from remote repository.
15:19:34.391 |
15:19:34.391 | Please make sure you have the correct access rights
15:19:34.391 | and the repository exists.
15:19:34.391 | info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
15:19:42.633 | Error during Yarn install
15:19:42.637 | Failed: build command exited with code: 1
15:19:43.557 | Failed: an internal error occurred

If I launch build command on my laptop, build is will be fine...

Ok, its fixed after adding yarn.lock to gitignore


Update cards

Mailing list card -> Getting help (a page will need to exist for this)
New to gem5? Start with the Learning gem5 documentation (link to learning gem5)
We want you to contribute to gem5! (Link to contributing)

Done


Document end parameter of Protocol::bytes_read

It's not clear how that argument is supposed to be used. In my program I'm repeatedly getting bytes_read calls with 0 as end, even though the server is not sending anything. The problem is probably with this code:
transport.input().consume(end);

but it's hard to tell without knowing what end is.

This is a number of bytes to be consumed (i.e the number of bytes that has been parsed and are not needed any more). Documented here. end variable presumably means the end of the current packet, but I'm not sure what the context of the code is.
Consuming zero bytes is noop.


introduce new breach of the 97 act error when the offence occurs afte…

…r 1997

Do no merge - messaging to be agreed


copy image  by context menu  that can`t work

https://github.com/nhn/tui.editor/blob/b312e153217c79ef341a5c7ac9fe16f4c9fda34e/apps/editor/src/js/importManager.js#L195
the field type of clipboardData contains ["text/html", "Files"]   when copy image by context menu  so the code should look like
：
if (blobItems && types && types.length >= 1 && inArray('Files', [].slice.call(types)) !== -1) { // do anything }
Shows a scene in which images are copied from the context menu：

@brett25 Thanks for reporting the issue. First, I checked that it works well when you edit it as you said. But maybe there's another reason for checking types.length === 1. I'll look at the history and fix it if there's no problem.


Add the ability to create profile groups

Description of the new feature/enhancement
I have multiple repos on my computer, and I'm creating a dedicated profile for each one - allowing me to distinguish the repo I'm working on by the tab's title and background color.
Since I have many repos, the new tab drop down is getting way too long - it would be amazing to be able to group them like I do in my browser's favorites

Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #1571 for more discussion.
/dup #1571


Variable $subscribe shoud not be overwritten

Affected Puppet, Ruby, OS and module versions/distributions

Puppet: 4.8.2
Ruby: 2.3.3
Distribution: Debian GNU/Linux 9.5 (stretch)
Module version: 2.2.2

How to reproduce (e.g Puppet code you use)
python::requirements { '/tmp/requirements.txt':
    virtualenv => $venv_directory,
    subscribe  => Vcsrepo[$app_directory],
    require    => Python::Pyvenv[$venv],
}

What are you seeing
I cannot make any of my instances of python::requirements  subscribe to other resources because inside of puppet-python requirements.pp the $subscribe variable (meta variable of puppet) is overwritten.
What behaviour did you expect instead
I'd expect to be able to subscribe to a resource. Renaming $subscribe inside requirements.pp to something else would probably be enough.
Because of that I had to keep stankevich-python instead of updating it to voxpupuli version.
Output log
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Cannot reassign variable '$subscribe' at /etc/puppet/modules/python/manifests/requirements.pp:134:16 at /etc/puppet/modules/profile/manifests/api.pp:151 on node 2950a0e0-flower.2950a0e0

We also are running into this issue. It's not just you. I am greatly saddened.

I've hit this too, I've fired through a PR to fix. Should be a trivial one I think.


Update GPU deployment to v0.5.0

Approved.
Tagged image is already there: https://hub.docker.com/r/intel/intel-gpu-resource-driver/tags
But please add some overview / description for them too: https://hub.docker.com/r/intel/intel-gpu-resource-driver

That we'll have to study how it's done, we don't push images by ourselves, there's automation in place that does that, and we have no write / edit access to Intel DockerHub repos.


work on progress

@mausamp we have merge conflict here

@poudelprakash dai this PR can be closed, the intended work of this PR has already been merged to 2024.


samba: 4.10.8 -> 4.10.10 - security

Motivation for this change
Addresses issue: https://github.com/NixOS/nixpkgs/issues/73682
Samba fixes overview for reference:
https://www.samba.org/samba/history/security.html
This should be also backported to 19.09.

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @aneeshusa @dtzWill

Can you send a backport PR? with git cherry-pick -x.

@grahamc: Will do.


Courses/grades information for instructors

When an instructor clicks on a student, display the student's past courses and grades in pop-up window. This is a request made by a Mathematics department professor.

wontfix


Multiple namespaces not working

You seem to be only able to use one namespace... it'd be nice if you could configure multiple.

Resolved by https://github.com/twigjs/twig.js/pull/568


Can't access admin on cloud9

I installed the app but can't access admin on cloud9
I'm getting:
Not Found (#404)
Page not found.

Need more details. Do you see any errors?

I executed the init command and selected dev as environment but still does not show the error, just not found.
thanks

Maybe there are some problems with files' owner or permissions. Try to apply correct permissions to your files:
chown -R www-data:www-data /var/www/site.com
chmod -R g+rw /var/www/site.com

Thank you!
This is my config in cloud9 for frontend:
<VirtualHost *:8080>
DocumentRoot /home/ubuntu/workspace/frontend/web
ServerName https://${C9_HOSTNAME}:443
LogLevel info

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

<Directory /home/ubuntu/workspace/frontend/web>
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
</Directory>

ServerName https://${C9_HOSTNAME}
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
What configuration should I make now?

When i change the documentroot to backend shows me the above image.

Just solved it by adding:
Alias /admin /home/ubuntu/workspace/backend/web             <Directory /home/ubuntu/workspace/backend/web>                 Options Indexes FollowSymLinks                 AllowOverride All                 Require all granted             </Directory>
to the apache config
Thanks, great yii2 app startup

The dashboard is shown but still when I try to access admin/page
shows me the frontend with Not Found (#404) error.

I left the apache config as defaults and its working now.


Browser timer throttling - expired refreshToken does not work to get the new accessToken

As mentioned in this issue: https://github.com/manfredsteyer/angular-oauth2-oidc/issues/1345
Due to "Throttling of Javascript timers in background" feature of the browser, the timer slows down when the browser tab is inactive.

This stops the token Auto fresh interval when tab is inactive
If user return to inactive tab, due to expired refresh token, id token and accessToken, call to following will fail

call to tokenRfresh endpoint of OP will fail as refreshToken is expired

library does not handle handle or throw exception in this scenario

Logout call will fail as it also need IdToken to be valid

Probable valid flow:
Option 1: library should check for refresh token expiry before making the refresh call and initiate the login flow
Option 2: If refresh token call returns an invalid grant (401) response, library should initiate the login flow.
Reference: https://stackoverflow.com/q/64836377/846536

Option 3: Use an interceptor that checks the access token validity before the request is sent.

@bkrajendra is there any progress with this issue ?
I have the same issue.. thanks


updated imports to reflect the org change of repo

updated imports to reflect the organization change of repo,
Closes #9

@ranakan19
could you update the go.mod as well?


Keyboard navigation sequence with tab is lost after moving grid items

Software version (please complete the following information):

Browser: chrome
Vue Version: 2.6.14
vue-grid-layout Version: 2.3.12

Describe the bug
Keyboard navigation with tab is performed in the order in which the elements are passed to the layout object.
Go to CodeSandbox Template.
To Reproduce
Steps to reproduce the behavior:

Go to CodeSandbox Template
Navigate with "tab" through the buttons
See error

Expected behavior
Keyboard navigation with tab must be performed in the order in which the element is displayed on the screen.

This is using react-grid-layout. Did you mean to post this in vue-grid-layout?

Yes. Same issue in vue-grid-layout

Can you provide a more specific Expected Behaviour and the Actual Behaviour so I can understand what's wrong? Granted, I am not the developer, but what I see in the code sandbox looks expected.

When I navigate with tab I expect the focus sequence shown in green numbers, but I get the focus shown in red numbers

I've tested this in Chrome using Vue 2.6.14 and vue-grid-layout 2.3.12 and I cannot reproduce. It is very likely a browser issue since you are not specifying tab indexes in your code, but since I cannot reproduce I cannot try adding tabindices to the grid layouts and see if that helps.

Could you send me a link to the sandbox where you reproduce the problem?

I was unable to reproduce is the problem. Can you link a sandbox where you can reproduce this in vue-grid-layout and not react-grid-layout?

https://codesandbox.io/s/vue-grid-layout-cy5qb1

move cards
navigate with tab

I still can't see the issue, even when comparing with Chrome in Windows vs Chrome on Mac. If you're experiencing the problem with both react and vue grid layout packages, then perhaps it's not a problem with either of these packages. Anyway, you can fix these by adding tabindexes to each grid box.


Documentation on exposing metrics to Prometheus

There are little usable documentation on how to expose metrics to Prometheus, or Rancher's implementation of Prometheus. I am trying to expose metrics made available via SpringBoot's actuator. I have customized the default endpoint of /metrics to /app/metrics. The output looks like this.
{
  "mem": 5526266,
  "mem.free": 1428302,
  "processors": 6,
  "instance.uptime": 13824893,
  "uptime": 14021880,
  "systemload.average": 0.07,
  "heap.committed": 3879744,
  "heap.init": 4194304,
  "heap.used": 2451441,
  "heap": 3879744,
  "nonheap.committed": 1742508,
  "nonheap.init": 2496,
  "nonheap.used": 1646522,
  "nonheap": 3391488,
  "threads.peak": 326,
  "threads.daemon": 215,
  "threads.totalStarted": 1997,
  "threads": 313,
  "classes": 191394,
  "classes.loaded": 191832,
  "classes.unloaded": 438,
  "gc.parnew.count": 140,
  "gc.parnew.time": 9321,
  "gc.concurrentmarksweep.count": 7,
  "gc.concurrentmarksweep.time": 2542,
  ".post.200{timing}": 5472,
  ".post.500{timing}": 411,
  ".post.500{gauge}": 411,
  ".post.200{gauge}": 5472,
  ".post.500{counter}": 8,
  ".post.200{counter}": 355
}

However, I could not get Rancher's Prometheus to scrape these metrics. I have enabled the annotation in the deployment field.cattle.io/workloadMetrics: '[{"path":"/app/metrics","port":8080,"schema":"HTTP"}]'. I can see that it created the ServiceMonitor  object, however none of these metrics show up in Prometheus. I also enabled cluster and project level Prometheus monitoring, which I do not understand the need for 2 deployment for nor is that clearly explained anywhere. Can anyone clarify how to do this correctly and what the need is for 2 set of Prometheus deployments?

Did you manage to get the metrics show up in Prometheus? @eroji I looks like your metrics output is not in the regular Prometheus format but JSON.


User-defined Markdown code segment invalidation

Issue Type: Bug
我在用户自定义选项中，给markdown的json文件添加了相关代码段，但是无法再 .md文件中使用， 为了防止意外，我又在java的JSON文件中复制了一份，发现Java文件里的可以起作用，可是md文件的就是识别不到代码段提示，重新安装了一遍也没用。
VS Code version: Code 1.33.1 (51b0b28134d51361cf996d2f0a1c698247aeabd8, 2019-04-11T08:22:55.268Z)
OS version: Darwin x64 17.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz (4 x 3100)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
8.00GB (0.16GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (14)

Extension
Author (truncated)
Version

markdown-toc
Ala
1.5.6

html-class-suggestions
And
1.0.7

vscode-standard-format
che
0.0.12

xml
Dot
2.4.0

vscode-html-css
ecm
0.2.0

php-intellisense
fel
2.3.10

vscode-language-pack-zh-hans
MS-
1.33.2

python
ms-
2019.3.6558

cpptools
ms-
0.22.1

debugger-for-chrome
msj
4.11.3

view-in-browser
qin
0.0.5

java
red
0.43.0

markdown-preview-enhanced
shd
0.3.13

html-css-class-completion
Zig
1.18.0

In the User customization option, I added the relevant code snippet to the markdown's JSON file, but I could no longer use it in the. md file, and to prevent accidents, I copied a copy of the Java file and found that the Java file could work, But the MD file is not recognized in the code snippet prompt, reinstalled again is useless.

How are you trying to trigger the snippets? Can you also please share the snippet file itself

Yes ,you get me, I am talking about the snippets, I can use the snippets through F1, but they don't appear when I type them.

It's the markdown.json  file, I tried to add the same thing in java.json， it can work in java file, so it must no the content syntax fault， can you tell me how to deal with it?

Markdown disables suggestions as you type by default. Can you trigger snippets manually using ctrl+space?
Also, set
  "[markdown]": {
    "editor.quickSuggestions": true
  }

to enable quick suggestions in markdown

Closing as likely fixed by setting editor.quickSuggestions


CLOUDSTACK-9436: Release network resources on expunge command

JIRA TICKET: https://issues.apache.org/jira/browse/CLOUDSTACK-9436
This PR replaces #1594
Due to error on test/integration/smoke/test_vpc_redundant.py it was found out that vm_network_map table should be less aggresive on vm stop

CI RESULTS
Tests Run: 85
  Skipped: 0
   Failed: 0
   Errors: 0
 Duration: 4h 01m 55s

Associated Uploads
/tmp/MarvinLogs/DeployDataCenter__Jul_21_2016_18_07_50_MC97F8:

dc_entries.obj
failed_plus_exceptions.txt
runinfo.txt

/tmp/MarvinLogs/test_network_WSK193:

failed_plus_exceptions.txt
results.txt
runinfo.txt

/tmp/MarvinLogs/test_vpc_routers_DAY6ZA:

failed_plus_exceptions.txt
results.txt
runinfo.txt

Uploads will be available until 2016-09-21 02:00:00 +0200 CEST
Comment created by upr comment.

Thank you for the fix @nvazquez, this is looking good.  I will get this one merged for the RC2 release...

That's great! Thanks @swill for your help!


Check dependencies between filegroups

Built on #6043

Doesn't seem quite ready yet :)

Last build was green. Trivial merge (after build regeneration).


Azure Image copy progress "hangs" at 99.99% for more than 30 minutes

When trying to use different regions for spawning KubeNow clusters in Azure, the image-create-azure.sh checks whether the kubenow image is available otherwise starts to copy it from the main azure "bucket". However the copy progress reach 99.99% and hangs for more than 30 minutes, resulting in a misleading feedback to the user. Would it actually be possible to show that the copying progress is still pending and not sort of "stuck"?
Cheers!
nooneknows@KubeNowAZ$ time kn apply
Using KubeNow version: 0.3.0
Login
CloudName    IsDefault    Name                         State    TenantId
-----------  -----------  ---------------------------  -------  ------------------------------------
AzureCloud   True         Microsoft Azure Sponsorship  Enabled  ac85e4d6-f3c3-46c5-8ef4-3b2a9394969e
Image is not present in this subscription - will create
Create resource-group (if not there already)
Location     Name
-----------  -----------------------------
northeurope  kubenow-images-rg-northeurope
Create storage account (if not there already)
CreationTime                      Kind     Location     Name                      PrimaryLocation    ProvisioningState    ResourceGroup                  StatusOfPrimary
--------------------------------  -------  -----------  ------------------------  -----------------  -------------------  -----------------------------  -----------------
2018-02-08T15:42:59.848486+00:00  Storage  northeurope  kubenow000aed9a78c199829  northeurope        Succeeded            kubenow-images-rg-northeurope  available
Create storage container (if not there already)
Created
---------
False
Get uri of files to copy
Start asynchronous file copy of image def file
Status
--------
pending
Start asynchronous file copy of VHD-file
Status
--------
pending
 / Image copy progress: 99.99%

Done copy image
Create image from imported vhd-file
Location    Name          ProvisioningState    ResourceGroup
----------  ------------  -------------------  ------------------------
northeurope      kubenow-v040  Succeeded            kubenow-images-rg-northeurope

Image created

....

real	37m59.823s
user	0m0.164s
sys	0m0.128s

IMO the situation described in the comment just happened https://github.com/kubenow/KubeNow/blob/master/bin/image-create-azure.sh#L141-L142. It would be good to move the out condition to the top of the loop (and use a while loop instead). Motivation for this can be found here: https://stackoverflow.com/questions/3922599/is-it-a-bad-practice-to-use-break-in-a-for-loop (loop is quite long, and it is hard to understand where it exits). Apart from this, if not too hard, the image size should not be hardcoded, but we should somehow query it at run time before entering the loop. Let me know what you guys think!

I think it is all about that when copying the file to a new region - it actually needs to copy 30GB data, and that takes very long time, and when copying within then it is only 3GB.
I have seen this before, will look into it and probably skip that hardcoded image-size condition. I think that when copying within region it takes 5 min and to a new > 30 min (because of size it needs to copy)

Then isn't it better to set it to the bigger size? From the user prospective is much better seeing it going very fast from 10-15% to 99%, rather than seeing it stuck on 99%.

Yes absolutely:-) But when I did work on it then it always did the last 90% instantly. Then once (or twice I noticed that it took a very long time - but I was too annoyed with Azure for digging into it:-) I guess I'm stuck with it... have to look at it ... buuuhhh

If only google and azure could learn from amazon and make users share the public images!

Either we get it reliable, or we remove the estimation, it's very confusing for the user otherwise.

There is little we can do about it, but I think that having the last 90 instantly is way better than seeing stuck on 99.99% for 30 minutes.

oops, closed by mistake 🙂

Also we could do it like we do for GCE: https://github.com/kubenow/KubeNow/blob/master/bin/image-create-gce.sh#L58

I think thats the way to go - write to the user that sometimes it takes 5 minutes even if the initial estimate is 50 minutes:-)

But also I will do another round of investigation of what is the actual cause.

write to the user that sometimes it takes 5 minutes even if the initial estimate is 50 minutes:-)

Not really getting you, but I am happy as long as it doesn't confuse me

The initial estimate will always be 30GB = 50 min. But most of the time the last 27GB will be copied in a sec, I don't think we can perdict when.

Isn't it better to give an upperbound estimate, rather than an optimistic one?

Yes but we say to the users that if they are lucky they only need to wait 5min, then they think - next time I will be lucky even if I have to wait a long time this time:-)

Nope, you are not getting me, I am saying that we should estimate 50 minutes, and then maybe if they are lucky with Azure it will take 5. This is my opinion better that saying come back in 5 minute, and then having users wait for 50 minutes (I would assume that the process failed in that case).

We will estimate 50 (but mention in parenthisis that it might take much shorter)

Yep, that works :-)


Support for right-click and hover in EasyClick

First off, great work!! There is no other implementation that comes this close to Vim emulation for Windows. You might want to enable Github Sponsors to let people show their appreciation :)
It would be nice to be able to right click on the target using EasyClick, similar to left click. There could also be an additional hover motion which would only move the pointer without any click.

Thank you! I would like to enable GitHub Sponsors.
Your suggestion is nice. I would try to implement Left Click, Middle Click, Right Click, and Hovering in EasyClick. The idea right now is that these default bindings are going to be combined with the base key. (e.g. Fa is right click, Fo is left click, etc.)

Thank you! I would like to enable GitHub Sponsors.
Your suggestion is nice. I would try to implement Left Click, Middle Click, Right Click, and Hovering in EasyClick. The idea right now is that these default bindings are going to be combined with the base key. (e.g. Fa is right click, Fo is left click, etc.)

I implemented four versions in EasyClick. You can try it at v3.1.0-beta.

I implemented four versions in EasyClick. You can try it at v3.1.0-beta.


Match flutter's text overflow behavior

Currently on the web, we do support text overflow, but not completely. There are edge cases that don't work as expected on the web today:

In multi-line text, the ellipsis should be shown at the first line that overflows, and subsequent lines shouldn't be rendered.
When maxLines is specified, the ellipsis should go at the last line (if it overflows).

Hi, is the overflow behaviour supported now? I am on Flutter 2.0.4 • channel stable and experiencing this issue on web projects.
Thanks

@YemaneZewdu would you mind upgrading to a newer version of Flutter? There've been some fixes to ellipsis in the last few months.

@mdebbar Thanks, I upgraded to the latest Flutter 2.2.0 • channel stable but still have the issue. Maybe it hasn't been covered yet. I was thinking there would be a PR or some other confirmation posted to this issue. Thanks.

@YemaneZewdu please take a look at this issue: https://github.com/flutter/flutter/issues/82639
If you are seeing a different issue, please file a new issue.


Inherited model definition won't get generated unless used in the API or explicitly mentioned

when attempting to inherit form a model not explicitly referenced by any other model explicitly used in the API, the model will not get generated in the definitions.
So for the following:
@ApiModel(parent = Parent.class)
public class Child extends Parent {
...
}

will only work for me if Parent is explicitly referenced somewhere in the exposed API.
to workaround it I would have to:
@ApiModel(parent = Parent.class)
public class Child extends Parent {
    private Parent dummyReference;
...
}

Or perhaps add a dummy API...

hi Roni-frantchi ,i have the same use case , where Child model schema does not contain parent model . Even after making a dummy reference of Parent in teh child class it does not work . Which swagger-core version i need to use to make it work ,is it swagger-core-1.5.8 or swagger-core-1.5.7?

@arpit8403 my PR here: #1741 fixed the issue for us.
We've been using our fork ever since -
I'm waiting for @webron, @frantuma, or @fehguy to approve it.


Bug 1751482: Don't send "revision-updated" event if no local changes

Determine if an "updated" event has caused differences in its changesets
by comparing against the previous diff's changesets.
Phabricator's DifferentialChangeset->hasSameEffectAs(...) function
compares the updated file's overall hash, which is great for most file
types (binary, image, etc).
However, for text files, we want to separate earlier-patch-changes from
current-patch-changes, and only send "revision-updated" emails for the
latter. We do this by comparing our two changesets, and only considering
them different if the "current-patch-line-changes" differ, ignoring
background changes to the file.

Actually, let me make one more change here: I'd like to ensure that commit message changes still trigger "revision-updated" emails.


nixos/test-driver: highlight driver log lines

Description of changes
There is a whole lot of noise in a NixOS test log due to journal,
commands, and test driver messages all being mixing together.
With this commit the test driver messages are highlighted so you don't
have to squint too much to see where a subtest starts and ends or what
was the last command being run.
Here's an excerpt from a highlighted log:

Things done

[x] Built test driver
[x] Run a couple of NixOS tests
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This is also a problem I share since I have a nixos test where I have loads of services enabled that all dump lots of logs
because my terminal theme is very different the I have a rough idea of the improvement, but it'd be great if you could add a before screenshot too.


Offering Help.

Hello.
I am a fairly popular ModPack Owner (Post Blast), a resigned Moderator for a M.C Community and former Tekkit/FTB administrator for the respective servers of that community (Crafter's Land).
I am offering to help in these areas for the I.C.B.M Development:

Wiki
New Ideas
Bug Tracking
Graphic Design
Maybe Models (still learning Blender).
GitHub Issue Responses.

I have fairly excellent English, powerful imagination and strong desire for success.
I also have 12-13 days off from 12th Grade, so I think i can be useful for you guys.
I was hoping that if you allow me to join your design/info part of the team I can help speed things up.
Also, I have a couple of ideas for you all:
A) New items for the crafting recipes (Ie. chipsets, guidance systems, wiring etc) [T = Tier]

T1/T2/T3 processors, T1/T2/T3 casing, T1/T2/T3 wiring, Inertial Guidance/GPS/GLONASS
Processors affect missile range, casing affects dud probability, Guidance = missile range/extra

B) New Model designs for Missiles:

I think that your current model for an I.C.B.M is too small. It should look longer and fatter.

Just google a minuteman III Missile or a Thor Missile.
Kinda what I was hoping for.

Your welcome to help,  these are community developed projects that anyone can contribute towards. However, let's start with wiki help first and then we can talk about new ideas later. Right now we want to polish and stabilize before we move on to new versions of Minecraft.
The wiki for ICBM is here https://github.com/BuiltBrokenModding/ICBM-Wiki
Its using a custom json driven system that will be used for both the site and in game handbooks. It's rather easy to edit, with pages using a similar format to HTML, see existing pages as examples.
Additional I have been avoiding tech progress through tiers in ICBM. As I feel this hindered gameplay in ICBM-Classic and in older ICBM versions. The new version is focused on mirroring real world building processes and logic. So a micro missile is not a tier 0 but rather just a small missile design for RPGs & turrets.
If you want to talk more we have a discord https://discord.gg/MDQ9DrN and teamspeak at buildbroken.com


Price like numbers not properly parsed

Describe the bug
Price like number not properly parsed.
To Reproduce
from json_repair import repair_json repair_json("{'price': [105,000.00']}")
Expected behavior
return "{'price': ['105,000.00']}" (or return "{'price': [105,000.00]}", format doesn't matter since a quote is loss)
Screenshots

Desktop (please complete the following information):

Version Python==3.9.18 json_repair==0.10.1

Thanks for reporting, I will release a fix now but be advised that in this case, due to the stray ' it will be fixed a bit weirdly:
{"price": ["105,000.00", "]}"]}

thanks, it resolves my case


[Docs]added a searching logo in "search calculator"

Category of documentation update
added a searching logo in "search calculator"

added like this

Describe the change you think might work
after added it's give good interface for user
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

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

hey I would like to commit changes in the site like

Can you please assign me the issue?
thank you.

Go ahead @shuhaki

i wants to work on it could you please assign to me

@Rakesh9100 Please assign this issue to me

Go ahead @Yuvraj960

@Rakesh9100 How's this?


Minimize the data probe by default

This should probably be done in the welcome module.

I think it should be at the opening of vesselview.
It seems counter intuitive for the user to have to pop it back up after opening each module.
I advise you to look in the defaultSetting.ini file (if I remember correctly). You can learn about what it does by looking at the main.cxx. (Also checkout Qt settings system).

Isn't adding: slicer.util.findChildren(text='Data Probe')[0].collapsed = True in the setup(self) of the WelcomeModule class sufficient (in Welcome.py) ? I've tested it, it works.
I don't really see where and how I could put that in the .ini file...

That could be the way to do it indeed.
On Thursday, February 5, 2015, Matthieu Heitz<EMAIL_ADDRESS>wrote:

Isn't adding: slicer.util.findChildren(text='Data Probe')[0].collapsed =
True in the setup(self) of the WelcomeModule class sufficient (in
Welcome.py) ? I've tested it, it works.
I don't really see where and how I could put that in the .ini file...
—
Reply to this email directly or view it on GitHub
https://github.com/KitwareMedical/VesselView/issues/60#issuecomment-72962955
.

--
Sent from Gmail Mobile


md Read Failures on U-Boot 2012.10

Looks like the regex in memcmds.py is expecting 16 characters in the ASCII text portion of the hex dump output.  (I believe newer versions pad up to a consistent line length)
    depthcharge.operation.OperationFailed:
        Failed to parse line: bff64d92: f7ff ffd5    ....

Resolved by a8aa306


[SPARK-46559][MLLIB] Wrap the export in the package name with backticks

What changes were proposed in this pull request?
This pr wrap the export in the package name with backticks due to  export will become keywords in Scala 3.
Why are the changes needed?
export will become keywords in Scala 3, Scala 2.13 compiler will check for relevant cases in the code, but it does not check for cases in the package name.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass GitHub Actions
Was this patch authored or co-authored using generative AI tooling?
No

cc @zhengruifeng This is a slightly ahead-of-time PR. I found that the modification did not break the mima check, so I fixed this issue on the fly. We can also wait until the Scala 2.13 compiler starts to throw errors or starts to support Scala 3 before fixing this issue.

also cc @WeichenXu123

Merged into master. Thanks @zhengruifeng @HyukjinKwon


Duplicated code is found in SubmitterMain.java and SchedulerConfig.java

Hi
There is a duplicated code in SubmitterMain.java and SchedulerConfig.java.
Is it necessary to add an new method named FileUtils.getPkgType(String topologyBinaryFile) in FileUtils?   If so, I'll send PR for this.

Sure - go for it.

resolved via #1599 and #1609

resolved via #1599 and #1609


Game: Add additional keyboard inputs for interactions with the game

Description

Adds additional key bindings for the following interactions:

Key Binding
Action

Space
Show the next line of dialogueTransition out the location notification

E
Enter and exit the Explore mode

V
Enter and exit the Move mode

T
Enter and exit the Talk mode

Numbers
Select dialogue topic under the Talk modeSelect location under the Move mode

UI changes to let the users know there are keyboard shortcuts available:

Underline the key bindings on the mode selection buttons

Number the options of locations and talk topics to their corresponding key

Update the Binding page in the main menu to display new key bindings

This closes issue #2676.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Code quality improvements

How to test

Test with existing story files.
Checklist

[x] I have tested this code
[ ] I have updated the documentation

Is this PR ready, or still draft?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 37.396%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5739

Relevant Lines:
14438

💛  - Coveralls

This PR is ready.


Refactoring "import" for spliting feature of checkNameAndID function

func checkNameAndID has two featrues to check and get.
It should be given only feature to check to func checkNameAndID.
https://github.com/tani-yu/dogleash/blob/a6f7155ac82c7a4082e96cda3cf914c5a943bfa6/cmd/monitor/import.go#L70-L77

#33 closed


No SmtpClient found in root

Using lettre 0.8
Rust version: 1.25 (stable)
I'm trying to follow through on some of the examples in the README, but I consistently get the (titled) error message from the compiler when trying to import SmtpClient from:
use lettre::SmtpClient;

master is currently incompatible with 0.8, you can use the example from the 0.8 branch https://github.com/lettre/lettre/tree/v0.8.x. I will also update the README in master to be compatible with latest stable instead.

Fixed in 319be260316ad7012cf106e5f4f9caaa6707f864.


Msw 113927979 dynamic character limit update

See https://github.com/cbitstech/social_networking/pull/113 for more notes.

Nice improvements! Merging.


Fix - Firefox rendering

Firefox loads the sliderTimes array in descending order while Chrome loads in ascending order.
This change sorts the array to ensure consistency across both Chrome and Firefox.
This fixes event positioning on the timeline as well as player and event positioning in the map playback.

 Thank you, mate, seriously, I have not had the time to check why Firefox wasn't playing nice.

I was surprised myself. Glad it was such a simple fix!

Brilliant, thanks for the contribution. I will push it with the next release.


Caml and Objective-Caml

Hi,
It would be really nice if you could and highlight for caml and ocaml to the official release (I have been using the package developed by someone until now but I prefer to have an official version)
Thanks

As per https://github.com/atom/atom/issues/13932#issuecomment-284279115 and https://github.com/atom/atom/issues/13932#issuecomment-284562845, this is unfortunately not something we can commit to at the moment.


License Question

I see the license is ISC in the package and was wondering if we could distribute a modified version of this with our open source product?

@graywolf336 Sorry I never spotted this when you filed it - yes, you can do whatever you like with it!


Lock when initializing template repo

It seems xUnit runs tests in parallel by default.
We now have multiple test class uses the fixture that initializes our template repo.
In one run, all the tests (I think) in 1 class failed.
In another run, a class with only 1 test failed (SimultaneousResetsDontResultIn404s) with the same reason.
I think this PR is the fix.

@hahn-kev maybe you want to take another look, because I deleted one of your tests.
I'm not sure why this didn't cause trouble sooner, but it's problematic to delete previous test files now, because the fixture is shared.

@hahn-kev did you look at the change? I changed when we delete them. I'm not sure how to write a test, but we still delete them.


Is it possible to index serialized entities rather then properties directly?

I couldn't find mention of it in the documentation, so I suspect the answer is "no" but I've also seen a few issues kicking around here talking about Serialization.
The particular use case I'm going for is something similar to how the FOSElasticaBundle can be configured, whereby we would pass our entities through the Serializer before it goes to Algolia.  This would be great because then we are using the same JSON representation in Algolia search results as what we would usually serve via our API, meaning no database interaction required and clients could even talk directly to Algolia with ease.
Thanks!

Hi @araines , sorry about the delay here.
Indeed today everything is kinda strongly coupled together making your approach hard to implement.
We will make sure the next version correctly introduces the right abstractions so that everyone can use their own implementations in the different layers.
I'm closing this for now as it will be solved in a new major release.

I flagged it with V3 label to be sure we don't miss anything.


Update package versions for sympy and scikit-learn

Modulus Pull Request
Description
Updates package versions for sympy and scikit-learn to fix build issues
Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.
[x] The CHANGELOG.md is up to date with these changes.
[ ] An issue is linked to this pull request.

Dependencies

/blossom-ci


Fixes for broken links in AI docs

Replaced link placeholders with links to final docs + minor simplification in tokens document (comment in "Files Changed" tab).

Internal previews

📄 File
🔗 Preview link

docs/ai/conceptual/understanding-openai-functions.md
Understand OpenAI function calling

docs/ai/conceptual/understanding-tokens.md
"Understanding tokens"

Missing Links in the "Related content" section on the article "Use Redis for memory storage with the Semantic Kernel SDK"

Source Article: https://review.learn.microsoft.com/en-us/dotnet/ai/how-to/use-redis-for-memory?branch=new-conceptual-ai

Missing Links in the "Related content" section on the article "How generative AI and LLMs work"

Source: https://review.learn.microsoft.com/en-us/dotnet/ai/conceptual/how-genai-and-llms-work?branch=new-conceptual-ai


Sub 1% traits

Hello there,
With the current naming schema of traits (1-XXX.png), etc. Is it possible to generate a  < 1% trait - for example a 0.5% chance would be (05-XXX.png). Based on my testing the results I saw did not indicate that the 0 was taken into consideration, and the program saw this as a 5% trait.
Thanks!

Hello!!
The actual number system works! Maybe we miss explained in the guide and we are sorry for that!
The naming schema of NUMBER-XXX.png goes as following:

NUMBER is the number of times that that item should appear in the collection when you have a sample of (SUM of all NUMBERS in that trait)

In the guide we say that is good set the sum up to 100 so you can have a percentage. You can set the sum up to whatever you want!
When you set the sum up to 100 thats means that the item should appear NUMBER times in 100 NFTs created.
The recommended way atm is setting the sum up to the number of NFTs and finally the NUMBER will mean that should appear that NUMBER times in the entire NFT collection, in that way you will have sub 1 rarity!
Lmk if this helps! I will leave this open so you can update me 🫂

ok that makes a lot more sense! I was basing this solely off percentages.
I appreciate the swift response :)

Yeah is a better way that it was working always.
So I will drop an example to show that will work.
Imagine you have an 10000 NFT collection and you have your eyes attribute with 5 items as following.

10-Laser.png
90-Rainbow.png
1000-VR_headset.png
3900-blue_eyes.png
5000-confusion.png

The sum of all items is 10000 and each item should appear 10, 90, 1000, 3900 and 5000 times in your 10k collection (is random so you will have more or less). So imagine that the items appear that number of times and the final percentage of each items goes as follow:

0.1% ((10*100)/10000)
0.9% ((90*100)/10000)
10% ((1000*100)/10000)
39% ((3900*100)/10000)
50% ((5000*100)/10000)

We hope this example works for everyone else with this issue! Cheers and good luck💎❤🫂


New line feeds not copied

on a windows 2012 server 64-bit server when I use the demo at http://zeroclipboard.org/ and enter multiple lines,e g.
Line1
Line2
Line3
and I click Copy to Clipboard....
then I start notepad and paste I end up with this data:
Line1LIne2Line3

Duplicate of #595. Already fixed in the current master branch but not yet released.


fix min max on zero-sized ndarray

Description
Calling min or max operator on zero-sized ndarray will return invalid value:
a = mx.nd.zeros((5, 0))
a.min()  # or a.max()
# result
# [-3.4028235e+38]
# <NDArray 1 @cpu(0)>

In numpy, the same situation will trigger ValueError, this PR replicates this behavior by throwing MXNetError.
Edit:
This error will only be triggered in numpy mode:
mx.set_np_compat(True)
a = mx.nd.zeros((5, 0))
a.min()  # or a.max()

Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

It's so easy to trigger the flaky test in julia.

An unrelated custom operator error happens in CI, I'll create another PR to address it.


Qgis model review unattended

Description
Hi,
It appears no one is reviewing or approving QGIS Models on the site.   https://plugins.qgis.org/models/?order_by=-upload_date&&is_gallery=true
I have 3 models waiting to be approved since March the 10th (17 days agos) and the models are still not available to the public.  I tried emailing twice on the developers list but I still can't reach anyone.  I also tried sending an email to the site developer ItOpen, but I still have no response.
Can someone help?
Thanks you very much
Nicolas Cadieux
Page URL:

@NicolasCadieux, is this issue report still valid?

@NicolasCadieux, is this issue report still valid?

I think it is good to close (https://lists.osgeo.org/pipermail/qgis-developer/2023-April/065690.html)


Theme fixes and enhancements

Full DarkMode support for TaskDialog
Credits to https://github.com/SFTRS/DarkTaskDialog

Transit from PhShow(Error|Warning|Information) to PhShow(Error|Warning|Information)2.
ExtendedServices: MessageBox to TaskDialog transit.

Public PhThemeWindowDrawButton: support tristate checkbox, radio, multiline label.

Apply DarkMode_Explorer theme for all checkboxes (even for ListView checks), radio and buttons.

Fix artefacts on GroupBox and Static picture controls when window moving back from off-screen.

TreeNew:  significantly improve visibility of selected item.

ExtListVew: fix text readability for hot and selected colored items.

Fix drawing of disabled ListView in dark theme Hide ListVIew on Graph settings page instead of disabling.

Fix multiline edit artifacts when typing, fix scrollbar.

Fix dark theme for new choose dialog.

Fix dark ListView header in unsupported system dialogs (skip superclass drawing).

Better ListView theme (DarkMode_ItemsView and OpenNcThemeData hook for scrollbars).

Add borders to TabControl header and body, selected tab slightly enlarged (behaves like default MS white theme).

Add separators for StatusBar parts for better readability.

SysLink theme support.

Security page CHECKLIST_ACLUI checks theme support and other improvements.

Add new theme options: EnableThemeAnimation (default 1), EnableThemeNativeButtons (default 0).

Advanced options: menu Reset added (support multiple selection).
Highlighting and Graph colors: menu - Reset added.

All changes highlighted on video:
https://github.com/user-attachments/assets/211387c4-b26f-4822-b3ff-5b0c5ad4e9b1
https://github.com/user-attachments/assets/28c94cf2-eb1e-495a-bbe6-a734f5394a70
https://github.com/user-attachments/assets/38c12dee-bf5d-4d01-8c97-b258b45b2f71
https://github.com/user-attachments/assets/ba8a69f3-08cb-4cda-90a5-3bf2b5821394

@DartVanya
If you already on the UI for dark mode - can you fix the dialogs for network plugin too? There are dialogs like Ping and traceroute, that look weitd...

dialogs like Ping and traceroute

Yes, it already fixed. See after.mp4 near the end.


API Gateway issue

Hi,
The API Gateway keeps failing...

It appears that it isn't able to discover the Consul service.
Any ideas what the issue is?
Thanks,
Jamie

I think there could be a couple of issues.
Here https://github.com/madslundt/NetCoreMicroservicesSample#consul you mention that the API Gateway uses Consul, though in the appsettings.json there is no Consul options.
I also noticed that there is no configure method, there is no app.UseConsul().

Thank you for reporting this.
I'm looking to replace the api gateway with something that also integrates better with Swagger

Anything in particular that you are looking at so far?

Normally I'd go with a fully managed API gateway on AWS, Azure, etc.
Right now I'm looking at Kong and Tyk

Not sure if you're looking for others opinions, but I for sure would prefer Ocelot as it is completely free and you can implement anything with it rather than using paid plugins .etc

You are absolutely right.
I started looking into Kong and Tyk and realized they offer a community edition (free) and a premium version (paid).
I'll look into improving the Api gateway with Ocelot.


Can't create resources for node bots

Describe the bug
Azure can't find the directory when trying to create resources for node bots
Version
Version:  2.0.0-nightly.239895.e3e1b3e
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0
Browser

[x] Electron distribution
[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[x] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

create a blank node bot template
go to the publishing screen
create a new profile

Expected behavior
Azure directories should be selectable
Screenshots

Additional context
Probably related to #7343

Copying this note from the other issue here:
As one more weird thing it seems like this issue is related to a cached state. Once you see this error it prevents you from provisioning any new resources. However if you close and reopen composer it seemingly unblocks itself?

One extra note, it seems like this only occurs when the bot is a function bot. web apps seem to be fine.

@GeoffCoxMSFT can you investigate and determine if this is the same issue as #7343, and if not, then let's understand what the issue is.  would like to get this one in

Shiproom - @Virtual-Josh we're not able to repo.  can you repro?  if so, can you reach out to @GeoffCoxMSFT

I worked with Geoff yesterday and it appears the problem is once Composer expires your login credentials due to inactivity it doesn't subsequently reprompt you to login again. I was able to repro that twice yesterday with Geoff. I'll copy this message over to the other ticket since it's very likely these are dupe tickets.

I am pretty confident this is a dupe of #7343, so will close this.  If we discover different we can re-open.


Support Range header with a suffix-range

Description
This allows reading the last N bytes, per RFC 9110 section 14.1.1. Example from the RFC:

The final 500 bytes (byte offsets 9500-9999, inclusive):

 bytes=-500

Tasks

[x] I have signed the CLA.
[x] I have written tests and verified that they fail without my change.

@electrum
Thanks for making me aware that the range header handling is flawed right now.
While looking into your changes and writing integration tests, I noticed that the Spring Framework includes HttpRange which correctly handles all cases.
Instead of merging your PR fixing our own code, I decided to get rid of our custom Range implementation altogether and to just use Spring's HttpRange.
Don't hesitate to open an issue or PR if you notice anything else!

Nice, I’m not familiar with Spring, so I didn’t know about that class. I’m just happy to have this fixed. Thanks


Wrong profile url returns empty profile object

You can see that the profile url return from the aut response is wrong and has an index in it and shoul dbe /profile.json not /0/profile.json

and because of this I am fetching the profile file a second time after the userLoadData just to get the full name and the profile picture.
also some this assume the user already has a username while many don't and just have an address
https://github.com/blockstack/blockstack.js/blob/30175c820c3e24fa3223a332304b690d7c1b408f/src/auth/authVerification.js
Thank you :)

as @kantai said he thinks the bug is... The profile URL for logins where the user doesn't have an ID is wrong (looks like the old path with an index profile URL)...

Thanks for raising this issue @meteorplus --- I moved this over here: https://github.com/blockstack/blockstack-browser/issues/1228, as this is more likely an issue with blockstack-browser, as opposed to blockstack.js


[move prover] add specs to VASP

Motivation
This PR adds specifications to VASP.move. Verification is turned off because we need to yet implement Signature(issue #4666 ). I have also added assertions asserting that a VASP cannot be a ChildVASP and ParentVASP at the same time.
Have you read the Contributing Guidelines on pull requests?
Yes.
Test Plan
cargo test

@bors-libra r=DavidLDill

:pushpin: Commit 9e8d49b has been approved by DavidLDill

:hourglass: Testing commit 9e8d49b808de086be2f5546d6353745405551858 with merge f6490a8b53df3bb5290f3c499171fbbf6a881877...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: DavidLDill
Pushing f6490a8b53df3bb5290f3c499171fbbf6a881877 to master...


[HELP] how to disable context for certain filetype and enable for other?

Hi,
I have a use case wehre I would like to disable treesitter-context but enable for all others, is it possible to do so?

It is not, but we could add a feature to do so, when we find time. PR welcome as well.

just open a pull requests: https://github.com/nvim-treesitter/nvim-treesitter-context/pull/175

I would also benefit from this feature, as I found an issue where the nvim-treesitter-context crashes for certain filetypes, and would like to automatically turn it off rather than manually turning it off each time.

I think you can do something like this:
vim.treesitter.query.set("lua", "context", "")

to disable for certain languages

@tjdevries that's pretty good! I'm in the opposite camp though, I only want this to be enabled for one or two languages and disabled on all others. I could defer the plug-in just for that one or two file types:
{
    "nvim-treesitter/nvim-treesitter-context",
    dependencies = {"nvim-treesitter/nvim-treesitter"},
    ft = "file_type_i_want_it_on",
},

but the moment I visit the filetype(s) which I don't want it for, it will apply there too. I'm getting around it by querying all parsers in a loop and disabling them with vim.treesitter.query.set(name, "context", "") but a more robust solution would be nice.

@lewis6991 Can you share a sample on_attach function for disabling this plugin for markdown files only?

        on_attach = function()
          return vim.bo.filetype ~= 'markdown'
        end


Plonky3 Keccak

Adapted from Plonky3 Keccak. Uses prover functions for all witness generation. Inputs and outputs are both in 16-bit limbs, so works for BabyBear and small fields.
For quick iteration, currently the operation is preimage[0], preimage[1], ..., preimage[99] -> output[0], output[1], ..., output[99]. Will change to only take an input pointer and an output pointer in another PR.
Two things to note:

Main machine needs to be degree 64 or more, so that Keccak block can run at least twice (24 rows per block), or the machine is detected as an VM and weird bugs happen.
For some reason, when calling the Keccak submachine twice or more in the main machine, witgen marks existing value as Incomplete and generates a weird bug.

Ready for a final review :)
Then will decide on whether to remove Plonky3 code comments + rename variables.

Nice, impressive work!
I went through the constraints and it's pretty clear that this is a direct port of Plonky3's implementation. The only thing that is ore complicated in our code is that they use multi-dimensional arrays, but you used only flat arrays. I think we can change that? I think it would help with readability, do you agree?
I also checked that the recent bug fixes of Plonky3/Plonky3#409 are included in this port.
I haven't yet checked the prover functions and would be curious to see if we really need all of them or if at least some of the steps can be figured out by the solver. But it seems like the test is not running through ATM, so I'll wait for that to be fixed to have a closer look.

Discussed with Chris on the possibility of using nested arrays to generate column. Currently experiencing some bugs when nested array interact with prover functions in witgen, but we'll see.

All should be fixed. I'm opening up two issues, one for the nested column syntax and another for the witgen bug from instantiating the submachine one than once.

Awesome! Looks good to me!
Two things until this can be merged from my side:

Move the test to test_data/std, because it is testing a machine from the standard library.
Add a test to pipeline/tests/powdr_std.rs, so it's actually run in the CI! I think this should add a #[ignore = "Too slow"], but it should still be picked up by one of the test_slow jobs.

Both done :)

Identified additional CI bug when running the test with BabyBear field. It error out with field modulus overflow error in witgen stage, so need additional debug efforts.


tour: [default code run: process took too long]

Context: https://tour.golang.org/basics/8
The default code in basics/8 returns
package main

import "fmt"

var c, python, java bool

func main() {
	var i int
	fmt.Println(i, c, python, java)
}

But after I add return upon the close bracket, it returns the right output.

I can confirm the bug, I think is a cache issues, the same code returns t he same error on t he playground too.
I thought that these issues were supposed to be solved by https://github.com/golang/go/issues/26926

It was a caching issue but it's now solved, closing.


Add 'woff2' format into @font-face

There is 'woff2' format file in builds/fonts directory, but it's not imported in @font-face in feathericon.css , .min.css , .scss .
So that I added it and made it imported.

@superruuuun Please make the issue and visualize your probrems, then relate to this pull request.

@featherplain
I'm so sorry not to relate the issue.
I did that and I would be appreciated if you check the issue.


Fix race in appliance test cleanup

(fixes #1328)

@cket, ready for review.

Ready for review, @cket.


Various additions and corrections for window

These are a collection of changes I made while exploring the accuracy of our window implementation.

Implement the BarProp interface and the window attributes that use it.

Implement the Screen interface used for window.screen, which was previously just an object with two properties instead of the six attributes it actually contains. Tested in cssom-view-window-screen-interface.html and Screen-pixelDepth-Screen-colorDepth001.html.

Implement window.devicePixelRatio with the default value 1.

Implement window.status which exists for historical reasons.

Expose the External interface.

It looks like the addition of status is causing XHR test failures on Node v6 due to some vm stuff. We should add needs-node8 to those tests.

Updated to address feedback. I suppose we'll have to decide on a final getter vs prototype-approach later on.

It looks like the addition of status is causing XHR test failures on Node v6 due to some vm stuff. We should add needs-node8 to those tests.

Since window.status isn't that important, I've decided place it behind a comment with a note until we stop supporting Node v6. After all, if it causes issues in a test there is a risk that it could break real uses too.


New macros

As mentioned here, it seems some people needs a named! macro accepting parameters.
So here I propose to add the version I wrote in one of my project.
I copy the code here:
/// Makes a function from a parser combination with arguments.
macro_rules! named_args {
    (pub $func_name:ident ( $( $arg:ident : $typ:ty ),* ) < $return_type:ty > , $submac:ident!( $($args:tt)* ) ) => {
        pub fn $func_name(input: &[u8], $( $arg : $typ ),*) -> IResult<&[u8], $return_type> {
            $submac!(input, $($args)*)
        }
    };
    (pub $func_name:ident < 'a > ( $( $arg:ident : $typ:ty ),* ) < $return_type:ty > , $submac:ident!( $($args:tt)* ) ) => {
        pub fn $func_name<'a>(input: &'a [u8], $( $arg : $typ ),*) -> IResult<&'a [u8], $return_type> {
            $submac!(input, $($args)*)
        }
    };
    ($func_name:ident ( $( $arg:ident : $typ:ty ),* ) < $return_type:ty > , $submac:ident!( $($args:tt)* ) ) => {
        fn $func_name(input: &[u8], $( $arg : $typ ),*) -> IResult<&[u8], $return_type> {
            $submac!(input, $($args)*)
        }
    };
    ($func_name:ident < 'a > ( $( $arg:ident : $typ:ty ),* ) < $return_type:ty > , $submac:ident!( $($args:tt)* ) ) => {
        fn $func_name<'a>(input: &'a [u8], $( $arg : $typ ),*) -> IResult<&'a [u8], $return_type> {
            $submac!(input, $($args)*)
        }
    };
}

Here is an example usage.
There are also other macros in this file, like foreach! that may be useful to other people.
Thanks to add the macros you think might benefit to nom users.

could you make a PR to add named_args!? I'll release a 2.1 early next week, and I'd want that parser in :)


Remove unneeded Chunks/SyntaxTreeNodes for conditional attributes.

Today when we have attributes such as: <input class="@className" /> we generate an extra chunk generators/syntax tree nodes to indicate that there's no prefix before @className. We can imply that there's no prefix by not having the generator, no need to generate it.

Is this important? Closing for now.


Formatting is very slow for deeply nested callbacks

Deeply nested callbacks seem to slow performance greatly. A file like this takes 2+s to format on my machine and only a couple more layers are needed for a format to seemingly never complete.
let a = () => {
  b(() => {
    c(() => {
      d(() => {
        e(() => {
          f(() => {
            g(() => {
              h(() => {
                i(() => {
                  j(() => {
                    k(() => {
                      l(() => {
                        ()
                      })
                    })
                  })
                })
              })
            })
          })
        })
      })
    })
  })
}

I am pretty sure this is an issue on the printing side. I get syntax errors and type errors immediately so the parser doesn't appear to have any problem with code like this.
Additionally, adding more logic in deeper layers leads to pretty large increases. So having one additional line in the inner-most callback slows things down much more than one layer up (which is better than two layers up). This seems to be a ~linear increase based on which layer you're in. While adding layers seems to be quadratic.

There's an issue for that already. Looking.

https://github.com/rescript-lang/syntax/issues/261

Out of curiosity, what kind of code is this? machine generated? (still going to fix the underlying problem regardless of the code)

We saw this with deeply nested promises with custom resolution logic. It was handwritten - I think two levels less deep but lots more logic in it. ~7s to format ~400 lines.


Resource exhausted ERROR

while training with Tensorflow GPU  i am getting resource exhausted error

PC specs
Intel core i7 7700HQ @ 3.4 GHz
8 GB SODIMM DDR 4 RAM
GTX 1050 4GB(NETBOOK)

What is the command that you used for training ?

if it's not problem in path to files, you can try add batch_size=32 or 16 or even 4 (by default its 64) to model.fit() . Neural networks are really heavy for gpu memory, so 16 worked for me, problem is, it may cause some acc and loss issues on later epochs, but without this can't run at all, so i'm curious does it affects a lot, I mean, will model be okay with such size, or its bad idea.

how to decrease the batch size in model.fit() for version .03


Replace the InOrderCounter in the ATS with something more sensible

Inside of CommandPalette.cpp's filtering function lives a counter whose sole purpose is to guarantee a stable sort when the WeightedCommands are thrown into the priority queue. This definitely should be replaced with something more pleasing.

@leonMSFT - I guess this one can be closed as weighted command exists no more.

Oh, wow yea it totally can. Must've missed this one!


Error in extractor/youtube.py line 1057, in _decrypt_signature

This issue is likely to be a duplicate of issues https://github.com/rg3/youtube-dl/issues/11910, https://github.com/rg3/youtube-dl/issues/11909 and https://github.com/rg3/youtube-dl/issues/11906. I open this one for the sake of completeness and because the piece of software you make is great so I hope you'll have enough test case :-)
System settings
$ youtube-dl --version
2017.01.29
$ uname -a
Darwin [private] 16.3.0 Darwin Kernel Version 16.3.0: Thu Nov 17 20:23:58 PST 2016; root:xnu-3789.31.2~1/RELEASE_X86_64 x86_64
$ brew info youtube-dl
youtube-dl: stable 2017.01.29 (bottled), HEAD
Download YouTube videos from the command-line
https://rg3.github.io/youtube-dl/
/usr/local/Cellar/youtube-dl/2016.09.24 (10 files, 1.6M)
  Poured from bottle on 2016-09-25 at 11:51:14
/usr/local/Cellar/youtube-dl/2016.10.02 (11 files, 1.6M)
  Poured from bottle on 2016-10-02 at 21:37:47
/usr/local/Cellar/youtube-dl/2016.10.12 (11 files, 1.6M)
  Poured from bottle on 2016-10-13 at 10:44:35
/usr/local/Cellar/youtube-dl/2016.10.19 (11 files, 1.6M)
  Poured from bottle on 2016-10-20 at 20:31:45
/usr/local/Cellar/youtube-dl/2<IP_ADDRESS> (11 files, 1.6M)
  Poured from bottle on 2016-11-10 at 13:58:31
/usr/local/Cellar/youtube-dl/2016.11.27 (11 files, 1.6M)
  Poured from bottle on 2016-11-30 at 11:02:36
/usr/local/Cellar/youtube-dl/2016.12.01 (11 files, 1.6M)
  Poured from bottle on 2016-12-02 at 15:40:36
/usr/local/Cellar/youtube-dl/2016.12.12 (11 files, 1.6M)
  Poured from bottle on 2016-12-14 at 11:11:59
/usr/local/Cellar/youtube-dl/2016.12.22 (11 files, 1.7M)
  Poured from bottle on 2016-12-28 at 12:04:52
/usr/local/Cellar/youtube-dl/2017.01.05 (11 files, 1.7M)
  Poured from bottle on 2017-01-05 at 12:05:57
/usr/local/Cellar/youtube-dl/2017.01.10 (11 files, 1.7M)
  Poured from bottle on 2017-01-12 at 10:35:48
/usr/local/Cellar/youtube-dl/2017.01.14 (11 files, 1.7M)
  Poured from bottle on 2017-01-14 at 12:56:04
/usr/local/Cellar/youtube-dl/2017.01.16 (11 files, 1.7M)
  Poured from bottle on 2017-01-18 at 17:37:54
/usr/local/Cellar/youtube-dl/2017.01.29 (11 files, 1.7M) *
  Poured from bottle on 2017-01-31 at 14:07:28
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/youtube-dl.rb
==> Dependencies
Optional: rtmpdump ✘
==> Options
--with-rtmpdump
	Build with rtmpdump support
--HEAD
	Install HEAD version
==> Caveats
To use post-processing options, `brew install ffmpeg` or `brew install libav`.

Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completion has been installed to:
  /usr/local/share/zsh/site-functions

Stacktrace
$ youtube-dl --verbose https://www.youtube.com/watch\?v\=Dst0iYsEyKI
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.youtube.com/watch?v=Dst0iYsEyKI']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.01.29
[debug] Python version 2.7.13 - Darwin-16.3.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.2.2, ffprobe 3.2.2
[debug] Proxy map: {}
[youtube] Dst0iYsEyKI: Downloading webpage
[youtube] Dst0iYsEyKI: Downloading video info webpage
[youtube] Dst0iYsEyKI: Extracting video information
[youtube] {43} signature length 42.43, html5 player en_US-vflV3n15C
[youtube] Dst0iYsEyKI: Downloading player /yts/jsbin/player-en_US-vflV3n15C/base.js
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1057, in _decrypt_signature
    video_id, player_url, s
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 971, in _extract_signature_function
    errnote='Download of %s failed' % player_url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in _download_webpage
    res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 436, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 416, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2001, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 421, in open
    protocol = req.get_type()
  File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 283, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: /yts/jsbin/player-en_US-vflV3n15C/base.js
 (caused by ValueError(u'unknown url type: /yts/jsbin/player-en_US-vflV3n15C/base.js',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1057, in _decrypt_signature
    video_id, player_url, s
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 971, in _extract_signature_function
    errnote='Download of %s failed' % player_url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in _download_webpage
    res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 436, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 416, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2001, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 421, in open
    protocol = req.get_type()
  File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 283, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: /yts/jsbin/player-en_US-vflV3n15C/base.js
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 694, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 369, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1646, in _real_extract
    encrypted_sig, video_id, player_url, age_gate)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1067, in _decrypt_signature
    'Signature extraction failed: ' + tb, cause=e)
ExtractorError: Signature extraction failed: Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1057, in _decrypt_signature
    video_id, player_url, s
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 971, in _extract_signature_function
    errnote='Download of %s failed' % player_url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in _download_webpage
    res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 436, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 416, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2001, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 421, in open
    protocol = req.get_type()
  File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 283, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: /yts/jsbin/player-en_US-vflV3n15C/base.js
 (caused by ValueError(u'unknown url type: /yts/jsbin/player-en_US-vflV3n15C/base.js',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Duplicate of #11890. A fix is already here: #11892 but it is waiting for merge.


[google maps] Which API Key should we get for Google Maps Flutter plugin?

On the Google Maps Flutter project page  https://pub.dev/packages/google_maps_flutter it mentions to get an API Key. Which one?

Steps to Reproduce

...
...
...

Logs

@giorgio79
'Maps SDK for Android' or 'Maps SDK for iOS' if you need simply map for mobile.
https://medium.com/flutter/google-maps-and-flutter-cfb330f9a245 may be useful


Signature of apply_sparse_mask method in MultiheadAttention

🐛 Bug
Additional context

In MultiheadAttention module, apply_sparse_mask method signature
https://github.com/pytorch/fairseq/blob/master/fairseq/modules/multihead_attention.py#L445
is invalid (but it still works). It is written like a function, not a class method.
I suggest fixing the signature from
def apply_sparse_mask(attn_weights, ...

to
def apply_sparse_mask(self, attn_weights, ...

and the line https://github.com/pytorch/fairseq/blob/master/fairseq/modules/multihead_attention.py#L320 from
attn_weights = MultiheadAttention.apply_sparse_mask(...)

to
attn_weights = self.apply_sparse_mask(...)

Why am I suggesting using an instance method instead of a class- or staticmethod?
I noticed that SparseMultiHeadAttention redefines this apply_sparse_mask method https://github.com/pytorch/fairseq/blob/master/fairseq/modules/sparse_multihead_attention.py#L101.
So it seems that def apply_sparse_mask(self, ...) signature would be more appropriate to use in MultiheadAttention.
P.S.
It is not quite a bug, but it is something not quite right.
P.P.S.
If the idea is OK, I could make a pullrequest.

Nice catch!  Definitely agree with your proposed fix, feel free to submit a PR, thanks!

Ok! Here https://github.com/pytorch/fairseq/pull/2587
but for some reason the tests did not run after submitting the pull request...

I think it might be because there was a lint error that got merged somehow.  It should be fixed now if you want to rebase.

:balloon: :smiley:


failure with custom model

I'm getting the following exception when I try to run the fx app with a custom model and label txt file:
2017-09-14 22:36:04.863769: W tensorflow/core/framework/op_kernel.cc:1152] Invalid argument: computed output size would be negative
I think that's a problem with tensorflow's Java API, but just thought I'd check to see if anyone else has seen it here.

Hello Ian,
The code will need to be adjusted in order to support a new image! You need to adjust the input tensor, it was made for a specific model only. If you were able to run with your customer would you please share the code with us and how you did it?
Thanks.


Add html elements to built-in serialisers

Summary
See #3230

Test plan
N/A

Codecov Report

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

@@           Coverage Diff           @@
##           master    #3356   +/-   ##
=======================================
  Coverage   64.93%   64.93%
=======================================
  Files         176      176
  Lines        6514     6514
  Branches        4        4
=======================================
  Hits         4230     4230
  Misses       2283     2283
  Partials        1        1

Continue to review full report at Codecov.

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

@thymikee Added 😄

I couldn't merge this one so I took it and pushed it to master. Thanks @SimenB. Man, Jest 20 is going to be so awesome.


Sync transfers a lot more data than file sizes?

Hello,
I am using rclone v1.33 with the crypt feature on amazonclouddrive.
Running on raspberry Pi 3 with raspian.
I started a rclone sync of one directory containing 10 big files (from 5M to 80G), together about 170GB. My upstream speed is just 10Mbit/s, so I know it will take longer. But it is running for days now and it should be already finished. One file is left and still being uploaded (the big 80G file).
The curious thing is that rclone gives me the status every minute like:
`Transferred:   433.574 GBytes (1.105 MBytes/s)
Errors:                 0
Checks:                 2
Transferred:            7
Elapsed time:  111h38m9.9s
Transferring:

                      Zenbook_home.tar.xz: 58% done. avg: 1125.8, cur: 1133.1 kByte/s. ETA: 8h51m2s

`
The speed looks okay, but why Transferred:   433.574 GBytes ?
The file to upload are just 170GB. What is this "Transferred" value telling me?
Armin

What has probably happened is that some files have needed to be uploaded again.  You can see this in the log - use -v for more info.
There is a problem with uploading very large files to ACD - I suggest you try this beta: http://pub.rclone.org/v1.33-66-g2e20a0f-acd-timeoutβ/ which has a fix designed to work around exactly that problem.

been getting this alot with ~10GB files, will be trying the beta next time need to sync some large files.

Confirmed, the upload is restarted from the beginning at some point due to an error. But acd-timeout beta doesn't help. The problem stays. -v gives me this after some time:
`
Upload error detected but didn't finish upload: Post https://content-eu.drive.amazonaws.com/cdproxy/nodes?suppress=deduplication: write tcp <IP_ADDRESS>:41572-><IP_ADDRESS>:443: write: connection reset by peer
pacer: Rate limited, sleeping for 772.702441ms (1 consecutive low level retries)
pacer: low level retry 1/1 (error Post https://content-eu.drive.amazonaws.com/cdproxy/nodes?suppress=deduplication: write tcp <IP_ADDRESS>:41572-><IP_ADDRESS>:443: write: connection reset by peer)
Received error: Post https://content-eu.drive.amazonaws.com/cdproxy/nodes?suppress=deduplication: write tcp <IP_ADDRESS>:41572-><IP_ADDRESS>:443: write: connection reset by peer - low level retry 1/10
`

I have the same issues too. Files appear to upload complete at 100% but would restart from the beginning.

Is the issue not that Amazon only supports files upto 50GB so it would keep getting restarted and never uploaded?
https://forums.developer.amazon.com/questions/22038/support-for-chunked-transfer-encoding.html
https://github.com/ncw/rclone/issues/215

@Stonedestroyer  You can't upload files bigger than 50GB - there is a bit in the docs about it with a workaround: http://rclone.org/amazonclouddrive/#limitations


Use dignified.js

This repo also has a travis file and awaiting activation. Thanks!
Ref dignifiedquire/dignified.js#1
NOTE: This repo has an error on browser build process. Looks to be related to the CBOR module.
Module build failed: TypeError: path must be a string```

The build still goes through and passes web tests.

Sorry @nginnever I didn't see this when I started working on #11. Closing it in favor of that

no worries, thanks!


Finaliza observer

📝 Description
Add a brief description.
💣 Is this a breaking change (Yes/No):

[ ] Yes
[x] No

🚧 How to migrate?
Don't need.
📝 Additional Information
lol

teste

These changes do not meet our expectations. So we will close this. You can modify it on the branch of your fork.


unit tests

Title
Also made everything in Program.cs public

I have no idea why the last test is not working


Multiple Wcf Endpoints

The solution needs multiple WCF endpoints to truly show an example of a flexible and generic proxy implementation. The proxy itself needs to evolve also to accomodate this change.

Added PersonService & took it to use in the Program.cs context

Two services taken to use in ASP.NET Core App


Fix Makefile in development folder

The Makefile contains an erroneous code in make write-os-ubuntu, where the if file location has been set incorrectly.

Closeed by #354


docker build error

ERROR: error during connect: in the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/_ping": open //./pipe/docker_engine: The system cannot find the file specified.

Possibly your docker isn't running. Make sure if the Docker Service and Docker Desktop itself are running.
If that doesn't work, try changing the daemon type by running this command below in Powershell as Administrator:
& 'C:\Program Files\Docker\Docker\DockerCli.exe' -SwitchDaemon

No response for 3 weeks after @fernandosmace comments. I am closing the issue, feel free to respond back if you still have a problem.


ci/cd question

Is there a CI/CD pipeline for this project that runs continuously? How does pylibmc keep up with the changes that are happening in memcached? Any new versions planned?

See https://github.com/lericson/pylibmc/issues/272.

We plan to keep track of changes by whatever means libmemcached does. Any particular changes you refer to?


Make edit channel call _loadChannels when necessary

...instead of trying to look up both the chat and team store. That turned out to be
too complicated.

r? @keybase/react-hackers

@chrisnojima you mentioned a "find rpc" on https://github.com/keybase/client/pull/11891 -- is there a lighter weight RPC that I could use instead of _loadChannel?

I'll merge this now to get to a working state and do the FindConversation change in a future PR

I think it should. Why not?

There are some lines that won't be hit by storyshots (e.g. anything with action()) but I guess that's a minor thing.

I could eventually have a typed version of action if we cared (very low priority). I think the storybook needs to be typed as it's broken a lot


data: project addition by [slayerrr12 ] #issue_number 491

Related Issue
https://github.com/priyankarpal/ProjectsHut/issues/491
Description
adding a unique Discord bot project exclusively assigned to me. This bot will have advanced moderation, entertaining commands, and efficient server meta-data extraction. Some features will be powered by OpenAI's API.
also an ai voice bot along with chatbot like feature powered by openai
Screenshots

@priyankarpal pls review this


Feature idea: Add a new molecule command to perform check (dry run)

Supporting --check mode for Ansible roles isn't trivial; you have to make sure any tasks that register variables are read-only and marked with always_run: true. Personally I'm a big fan of leveraging check mode, but I think the difficulty of testing it makes many folks writing Ansible roles leave it by the wayside. Molecule can help with that.
As low-hanging fruit during edits for #110, adding an additional (optional) stage for the test functionality would be great:
  test:
    # sequence of commands to run when performing `molecule test`
    sequence:
      - destroy
      - syntax-check
      - create
      - converge
      - idempotence
      - check
      - verify
      - destroy

Comments welcome.

:+1:

Implemented in #201.

@retr0h The --check and --syntax-check arguments to ansible-playbook are distinct—looks like #201 adds the --syntax-check functionality as molecule check. That's fine, but it's not the same thing as --check, which performs a dry-run of the playbook.

Opening

@conorsch I think I'm going to need more details on this.  I'm not entirely sure how it would be helpful.
If we are to add check into the test sequence.  Where would it go?  It doesn't make sense to run it after converge, since nothing would then change.
Since change always returns success, I don't see how we would test for this.  I can implement the changed subcommand, but not add it to the test sequence.  People can then do what they wish with it?

If we are to add check into the test sequence. Where would it go? It doesn't make sense to run it after converge, since nothing would then change.

Adding after converge actually does make sense, although it's not intuitive. Many roles use a command/register pragma to store a dynamic variable, then inspect that var in a subsequent task as part of conditional logic. By default, Ansible skips command tasks, because it can't know the severity of side-effects, so the subsequent tasks inspecting the var will fail in check mode. Having Molecule run a check mode after converge would be very useful to catch errors like this.
It's technically possible to support dry-runs of a first-time role run with Ansible, but I don't see many role authors striving for it. For example, get_url tasks will be skipped by default, and then any tasks referencing a file downloaded by get_url will fail, since the file doesn't exist. A reasonable order for running --check mode seems to be:
      - destroy
      - syntax
      - create
      - converge
      - idempotence
      - check
      - verify

If you run check before converge, I'd wager that most Ansible roles would fail, since folks simply don't plan for that use case.

Thanks for this, and to anyone finding this in the future, you can add it to your sequence in molecule.yml with:
scenario:
  name: default
  test_sequence:
    - lint
    - destroy
    - dependency
    - syntax
    - create
    - prepare
    - converge
    - idempotence
    # Added --check run test.
    - check
    - side_effect
    - verify
    - destroy


Slight Modification required in class ReposLoadStateViewHolder

There is a correction required in Step 10 Displaying the loading state in a footer,
Inside class ReposLoadStateViewHolder, the function bind() needs to be revisited.
The line binding.errorMsg.isVisible = loadState !is LoadState.Loading should be updated to binding.errorMsg.isVisible = loadState is LoadState.Error
Here errorMsg view should only be enabled when the LoadState is LoadState.Error
Please revisit and correct accordingly

Fixed! Thanks for reporting


why the fragment descriptor is stored in a csv file?

It's not consistent with other descriptors.

Which files are you talking about?

https://github.com/rdkit/rdkit/blob/79735d91d218ab34b419f67e6ab00c10e6326aac/rdkit/Chem/Fragments.py#L20
the descriptor was saved  a FragmentDescriptors.csv .

Apparently the answer is that it is not a csv file.  It is actually similar to the other files except for the extension.  It should be named ".txt" but that is a pretty low priority :)


Varnish version

Would be nice if you could generate also a varnish version of the blacklist.
Here is my gist:
https://gist.github.com/jithujose/402565c82cbc75e94f005f50fd03c674

Hi @jithujose, I've added a Varnish file as you suggested. Could you check if it works as supposed? Thanks for your contribution!!

It works.


templates: Mark all void tags as self-closing

This reverses the policy that was set, but incompletely enforced, by commit 951514dd7dd2fafb67e9e9c6930d31b9295741c0. The self-closing tag syntax is clearer, more consistent, simpler to parse, compatible with XML, preferred by Prettier, and (most importantly now) required by FormatJS.
Cc @showell

Merged, thanks @andersk!  Obviously, we could have tried to contribute a FormatJS patch here, but it does seem simpler to flip our convention.

That FormatJS patch would definitely be rejected. The JSX extension in react-intl is based on a neutral XML model where the HTML void tags are not syntactically special and there’s no reason you can’t have
contents
.


Attributes for dropDownList prompt

It's possible to add attributes to a dropDownList's option tags using the 'options' element in $options, e.g.:
$form->field($model, 'foo')->dropDownList(['value1' => 'One', 'value2' => 'Two'], [
    'options' => [
        'value1' => ['disabled' => true],
        'value2' => ['class' => 'bar']
    ],
    'prompt' => 'please choose',
])

But it's not possible to add attributes to the option tag generated by 'prompt'. I'd like to do this:
$form->field($model, 'foo')->dropDownList(['value1' => 'One', 'value2' => 'Two'], [
    'prompt' => 'please choose',
    'promptOptions' => [
        'class' => 'drop-down-prompt'
    ]
])

How about this syntax?
'prompt' => ['label' => 'Please Choose', 'class' => 'drop-down-prompt', 'value' => '-1'];
completely backwards compatible and won't add any new variables

@Faryshta, you seem to be right on this. How about a PR?

mjmm


Using a remote file as your connection string

Is there any ways to have a litedb database connection be a remote file? i'm migrating a project from SQLServer to liteDB so I can store complex objects and one thing I do want to keep is the ability to have the databse remain in the cloud and not have to manually sync a local database file between my dev pc and my server.
Is there a way to setup some sort of remote file (FTP? SMB?) so I can ensure my database remains synced?

Would LOVE to see a solution for this too!


Roll Flutter Engine from ea1e53a4e810 to 5ed60f383f1a (1 revision)

https://github.com/flutter/engine/compare/ea1e53a4e810...5ed60f383f1a
2024-07-19<EMAIL_ADDRESS>Don't leak binary messenger in tests (flutter/engine#53985)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Game can´t start with the 1.18.2 version

Apparent incompatibility issue but I have not found any kind of culprit, so decided to post here for help.
Image of game message with error:

Crash log:
crash-2023-01-11_16.36.07-fml.txt

Duplicate of #747


Add unit tests for soltix.ast.ASTLiteral

Hi,
I've analysed your code base and noticed that soltix.ast.ASTLiteral in the soltix module is not fully tested.
I've written some tests that cover this class with the help of Diffblue Cover.
Hopefully, these tests should help you detect any regressions caused by future code changes. If you would find it useful to have additional tests written for this repository, I would be more than happy to look at other particular classes that you consider important.

Hi Thomas,
thanks for your merge request!
Your changes test for some properties that are not desirable, e.g. the class is not intended to store arbitrary strings such as "foo" when representing integer number literals. This raises the issue that these AST classes don't do a lot of input validation, since they receive input from a solc AST JSON dump which is expected to be well-formed.
We previously tested these AST classes by reading the solc parsing output for some input smart contract into our internal representation, writing that representation back to a Solidity code output file, and ensuring that the same AST representation is produced when reprocessing that code with solc - again, this depends on much correct solc behavior.
Overall, in the near term I think there will be more merit in enabling this complete AST testing routine and applying it to large real-world test suites instead of unit-testing all of the AST classes. This is also desirable as we start experimenting with interpretation on existing smart contracts.
Thanks again for your contribution.


Mill is stuck on windows with no output

I've just downloaded the latest version 0.4.2 of mill on my Windows 10 machine. I followed the instructions to run it but there is no visual output and it seems stuck, no visual output, no interaction, nothing, just a blinking screen. Expectated result: any form of output, a version number, an error.
To troubleshoot I checked what command is run and I tried to run directly:
java -DMILL_CLASSPATH=mill-0.4.2 -DMILL_VERSION=0.4.2 -Djna.nosys=true -cp mill-0.4.2 mill.main.client.MillClientMain

but the result is the same, all stuck.
I performed these tests:

Windows 10, java version Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
Cygwin, same java executable as above
Windows Subsystem for linux, java version Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)

All with the same result, no output, program stuck
As additional test I also tried to run an older version and I picked randomly version 0.3.3 but same result

Can you please test with the additional -i option and report the result?
mill -i your.target

I'm now getting inconsistent behaviour. lt started to work on WSL using -i, then it started to work under windows without -i and it now works on Cygwin too, using -i.
The documentation says to use the -i option on WSL but doesn't say the criterias when the flag is useful. A clarification would be useful.
My ultimate goal is to use it from VSCode through the metals plugins and there still doesn't work, no output and endless waiting. Is there any form of log I can enable or check?

I can confirm the same happens in 0.5.7 under WSL 1. It seems to be related to using exec in the launch script, as seemingly the WSL's implementation of exec is buggy. Under WSL 2 (where exec uses a native Linux kernel call) it works without any issues.
Anyway, calling with -i seems to actually fix it, so maybe that's worth including in some doc.

@krotton Thanks for the feedback.
@ColOfAbRiX I guess, you have to open an issue in the metals plugin project or ask in their support channel if you need help with that issue.

Related: #781

@ColOfAbRiX @krotton can you try with latest Mill? E.g. "0.6.1-121-3f10a4-assembly"
Note that pipe still complains with "Failed to connect to server" on end..

Works on Windows, WSL and in GitBash too now!
https://github.com/com-lihaoyi/mill/pull/1230


Implement new option that allows forcing full segment request

Implementing feature from the issue https://github.com/google/shaka-player/issues/2556#issuecomment-627435317

it's ready for the next round

Thanks for your contribution!


[Gardening] Fix license headers in concurrency source files

Fixes the quadruple slashes on some of the license headers, and adds one where missing.

@swift-ci Please smoke test and merge


Add native support for the "stop_point" property in route points.

This commit adds native support for the "stop_point" property for
swri_route_util::RoutePoint.  This property defaults to false when it
is not explicitly set to true in the route point.

Tested on vehicle